@anoki/fse-ui 2.3.0-36-SNAPSHOT12 → 2.3.0-36-SNAPSHOT13
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.cjs300.js +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs328.js +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs331.js +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs410.js +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs495.js +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +2 -0
- package/dist/index.cjs538.js.map +1 -0
- package/dist/index.cjs539.js +2 -0
- package/dist/index.cjs539.js.map +1 -0
- package/dist/index.cjs540.js +2 -0
- package/dist/index.cjs540.js.map +1 -0
- 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.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs548.js +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.cjs573.js → index.cjs562.js} +1 -1
- package/dist/{index.cjs573.js.map → index.cjs562.js.map} +1 -1
- package/dist/{index.cjs574.js → index.cjs563.js} +1 -1
- package/dist/index.cjs563.js.map +1 -0
- package/dist/{index.cjs575.js → index.cjs564.js} +1 -1
- package/dist/index.cjs564.js.map +1 -0
- package/dist/{index.cjs567.js → index.cjs568.js} +2 -2
- package/dist/{index.cjs567.js.map → index.cjs568.js.map} +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.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 -1
- package/dist/index.cjs581.js.map +1 -1
- package/dist/index.cjs582.js +1 -1
- 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 -1
- 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.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js.map +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.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs597.js.map +1 -1
- package/dist/index.cjs598.js.map +1 -1
- package/dist/index.cjs599.js +1 -1
- package/dist/index.cjs599.js.map +1 -1
- package/dist/index.cjs600.js.map +1 -1
- package/dist/index.cjs601.js.map +1 -1
- package/dist/index.cjs602.js +1 -1
- package/dist/index.cjs602.js.map +1 -1
- package/dist/index.cjs603.js.map +1 -1
- package/dist/index.cjs604.js.map +1 -1
- package/dist/index.cjs605.js +1 -1
- package/dist/index.cjs605.js.map +1 -1
- package/dist/index.cjs606.js.map +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs608.js +1 -1
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs609.js +1 -1
- package/dist/index.cjs609.js.map +1 -1
- package/dist/index.cjs610.js.map +1 -1
- package/dist/index.cjs611.js.map +1 -1
- package/dist/index.cjs612.js +1 -1
- package/dist/index.cjs612.js.map +1 -1
- package/dist/index.cjs613.js.map +1 -1
- package/dist/index.cjs614.js.map +1 -1
- package/dist/index.cjs615.js +1 -1
- package/dist/index.cjs615.js.map +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 +2 -0
- package/dist/index.cjs622.js.map +1 -0
- package/dist/{index.cjs624.js → index.cjs623.js} +1 -1
- package/dist/{index.cjs624.js.map → index.cjs623.js.map} +1 -1
- package/dist/index.cjs625.js +1 -1
- package/dist/index.cjs627.js +1 -1
- package/dist/index.cjs628.js +1 -1
- package/dist/index.cjs629.js +1 -1
- package/dist/index.cjs629.js.map +1 -1
- package/dist/index.cjs630.js +1 -1
- package/dist/index.cjs630.js.map +1 -1
- package/dist/index.cjs631.js +1 -1
- package/dist/index.cjs631.js.map +1 -1
- package/dist/index.cjs645.js +1 -1
- package/dist/index.cjs648.js +1 -1
- package/dist/index.cjs662.js +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.cjs669.js +1 -1
- package/dist/index.cjs670.js +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 -4
- 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 -1
- 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 +1 -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 +4 -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.cjs709.js +5 -1
- package/dist/index.cjs709.js.map +1 -1
- package/dist/index.cjs710.js +1 -38
- 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 -5
- 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 -1
- 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 +1 -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 +1 -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 +38 -1
- package/dist/index.cjs722.js.map +1 -1
- package/dist/index.cjs723.js +1 -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.cjs728.js +1 -1
- package/dist/index.cjs729.js +1 -1
- package/dist/index.cjs730.js +1 -1
- package/dist/index.cjs731.js +1 -1
- package/dist/index.cjs732.js +1 -1
- package/dist/index.cjs737.js +1 -1
- package/dist/index.cjs738.js +1 -1
- package/dist/index.cjs741.js +1 -1
- package/dist/index.cjs742.js +1 -1
- package/dist/index.cjs743.js +1 -1
- package/dist/index.cjs745.js +1 -1
- package/dist/index.cjs746.js +1 -1
- package/dist/index.cjs747.js +1 -1
- package/dist/index.cjs751.js +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.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 +2 -6
- 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 -12
- 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.cjs771.js +1 -1
- package/dist/index.cjs771.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.cjs776.js +1 -1
- package/dist/index.cjs776.js.map +1 -1
- package/dist/index.cjs777.js +1 -1
- package/dist/index.cjs777.js.map +1 -1
- package/dist/index.cjs778.js +6 -2
- 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 +12 -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.cjs783.js +1 -1
- package/dist/index.cjs783.js.map +1 -1
- package/dist/index.cjs784.js +1 -1
- package/dist/index.cjs784.js.map +1 -1
- package/dist/index.cjs785.js +1 -1
- package/dist/index.cjs786.js +1 -1
- package/dist/index.cjs786.js.map +1 -1
- package/dist/index.cjs788.js +1 -1
- package/dist/index.cjs788.js.map +1 -1
- package/dist/index.cjs790.js +1 -1
- package/dist/index.cjs790.js.map +1 -1
- package/dist/index.cjs795.js +1 -1
- package/dist/index.cjs795.js.map +1 -1
- package/dist/index.cjs797.js +1 -1
- package/dist/index.cjs797.js.map +1 -1
- package/dist/index.cjs798.js +1 -1
- package/dist/index.cjs798.js.map +1 -1
- package/dist/index.cjs799.js +1 -1
- package/dist/index.cjs799.js.map +1 -1
- package/dist/index.cjs800.js +1 -1
- package/dist/index.cjs800.js.map +1 -1
- package/dist/index.cjs801.js +1 -1
- package/dist/index.es300.js +2 -2
- package/dist/index.es301.js +2 -2
- package/dist/index.es302.js +2 -2
- package/dist/index.es328.js +1 -1
- package/dist/index.es330.js +1 -1
- package/dist/index.es331.js +1 -1
- package/dist/index.es332.js +1 -1
- package/dist/index.es344.js +4 -4
- package/dist/index.es354.js +14 -14
- package/dist/index.es380.js +8 -8
- package/dist/index.es396.js +1 -1
- package/dist/index.es403.js +1 -1
- package/dist/index.es404.js +1 -1
- package/dist/index.es410.js +1 -1
- package/dist/index.es411.js +1 -1
- package/dist/index.es419.js +1 -1
- package/dist/index.es421.js +1 -1
- package/dist/index.es423.js +1 -1
- package/dist/index.es424.js +1 -1
- package/dist/index.es433.js +7 -7
- package/dist/index.es441.js +1 -1
- package/dist/index.es463.js +6 -6
- package/dist/index.es464.js +2 -2
- package/dist/index.es488.js +3 -3
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es495.js +7 -7
- package/dist/index.es501.js +8 -8
- package/dist/index.es513.js +1 -1
- package/dist/index.es514.js +1 -1
- package/dist/index.es519.js +2 -2
- package/dist/index.es521.js +1 -1
- package/dist/index.es526.js +2 -70
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +6 -10
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +24 -49
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +61 -118
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +10 -134
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +52 -14
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +120 -64
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +133 -32
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +13 -14
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +69 -9
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +33 -49
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +13 -55
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +12 -0
- package/dist/index.es538.js.map +1 -0
- package/dist/index.es539.js +53 -0
- package/dist/index.es539.js.map +1 -0
- package/dist/index.es540.js +60 -0
- package/dist/index.es540.js.map +1 -0
- package/dist/index.es544.js +8 -2
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +24 -5
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es547.js +20 -73
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +2 -2
- package/dist/index.es549.js +53 -19
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +225 -2
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +73 -54
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +2 -225
- package/dist/index.es552.js.map +1 -1
- package/dist/{index.es573.js → index.es562.js} +1 -1
- package/dist/{index.es573.js.map → index.es562.js.map} +1 -1
- package/dist/{index.es574.js → index.es563.js} +1 -1
- package/dist/index.es563.js.map +1 -0
- package/dist/{index.es575.js → index.es564.js} +1 -1
- package/dist/index.es564.js.map +1 -0
- package/dist/{index.es567.js → index.es568.js} +14 -14
- package/dist/{index.es567.js.map → index.es568.js.map} +1 -1
- package/dist/index.es577.js +8 -182
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +182 -8
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es580.js +132 -3
- package/dist/index.es580.js.map +1 -1
- package/dist/index.es581.js +2 -11
- package/dist/index.es581.js.map +1 -1
- package/dist/index.es582.js +5 -11
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +13 -82
- package/dist/index.es583.js.map +1 -1
- package/dist/index.es584.js +6 -2
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +2 -2
- package/dist/index.es585.js.map +1 -1
- package/dist/index.es586.js +3 -11
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +3 -3
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +2 -2
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +2 -2
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es590.js.map +1 -1
- package/dist/index.es591.js +2 -2
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +2 -2
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +2 -2
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +2 -2
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +2 -2
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +2 -2
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +5 -5
- package/dist/index.es598.js.map +1 -1
- package/dist/index.es599.js +7 -3
- package/dist/index.es599.js.map +1 -1
- package/dist/index.es600.js +2 -2
- package/dist/index.es600.js.map +1 -1
- package/dist/index.es601.js +5 -5
- package/dist/index.es601.js.map +1 -1
- package/dist/index.es602.js +3 -7
- package/dist/index.es602.js.map +1 -1
- package/dist/index.es603.js +2 -2
- package/dist/index.es603.js.map +1 -1
- package/dist/index.es604.js +2 -2
- package/dist/index.es604.js.map +1 -1
- package/dist/index.es605.js +9 -4
- package/dist/index.es605.js.map +1 -1
- package/dist/index.es606.js.map +1 -1
- package/dist/index.es607.js +2 -2
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +4 -9
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es609.js +2 -2
- package/dist/index.es609.js.map +1 -1
- package/dist/index.es610.js +2 -2
- package/dist/index.es610.js.map +1 -1
- package/dist/index.es611.js +2 -2
- package/dist/index.es611.js.map +1 -1
- package/dist/index.es612.js +9 -3
- package/dist/index.es612.js.map +1 -1
- package/dist/index.es613.js +2 -2
- package/dist/index.es613.js.map +1 -1
- package/dist/index.es614.js +2 -2
- package/dist/index.es614.js.map +1 -1
- package/dist/index.es615.js +6 -9
- package/dist/index.es615.js.map +1 -1
- package/dist/index.es616.js +14 -3
- package/dist/index.es616.js.map +1 -1
- package/dist/index.es617.js +10 -5
- package/dist/index.es617.js.map +1 -1
- package/dist/index.es618.js +2 -9
- package/dist/index.es618.js.map +1 -1
- package/dist/index.es619.js +82 -16
- package/dist/index.es619.js.map +1 -1
- package/dist/index.es620.js +4 -11
- package/dist/index.es620.js.map +1 -1
- package/dist/index.es621.js +11 -2
- package/dist/index.es621.js.map +1 -1
- package/dist/index.es622.js +15 -0
- package/dist/index.es622.js.map +1 -0
- package/dist/{index.es624.js → index.es623.js} +1 -1
- package/dist/{index.es624.js.map → index.es623.js.map} +1 -1
- package/dist/index.es625.js +3 -3
- package/dist/index.es627.js +6 -6
- package/dist/index.es628.js +7 -7
- package/dist/index.es629.js +2 -25
- package/dist/index.es629.js.map +1 -1
- package/dist/index.es630.js +2 -29
- package/dist/index.es630.js.map +1 -1
- package/dist/index.es631.js +2 -5
- package/dist/index.es631.js.map +1 -1
- package/dist/index.es632.js +2 -2
- package/dist/index.es633.js +2 -2
- package/dist/index.es634.js +2 -2
- package/dist/index.es635.js +2 -2
- package/dist/index.es636.js +2 -2
- package/dist/index.es637.js +2 -2
- package/dist/index.es638.js +2 -2
- package/dist/index.es639.js +2 -2
- package/dist/index.es640.js +2 -2
- package/dist/index.es641.js +2 -2
- package/dist/index.es643.js +2 -2
- package/dist/index.es645.js +2 -2
- package/dist/index.es646.js +2 -2
- package/dist/index.es648.js +2 -2
- package/dist/index.es649.js +2 -2
- package/dist/index.es651.js +2 -2
- package/dist/index.es653.js +2 -2
- package/dist/index.es654.js +2 -2
- package/dist/index.es655.js +2 -2
- package/dist/index.es656.js +2 -2
- package/dist/index.es657.js +2 -2
- package/dist/index.es658.js +2 -2
- package/dist/index.es659.js +2 -2
- package/dist/index.es660.js +2 -2
- package/dist/index.es661.js +2 -2
- package/dist/index.es662.js +2 -2
- package/dist/index.es663.js +2 -2
- package/dist/index.es664.js +2 -2
- package/dist/index.es665.js +25 -2
- package/dist/index.es665.js.map +1 -1
- package/dist/index.es666.js +29 -2
- package/dist/index.es666.js.map +1 -1
- package/dist/index.es667.js +5 -2
- package/dist/index.es667.js.map +1 -1
- package/dist/index.es669.js +1 -1
- package/dist/index.es670.js +3 -3
- package/dist/index.es671.js +5 -5
- package/dist/index.es671.js.map +1 -1
- package/dist/index.es672.js +16 -3
- package/dist/index.es672.js.map +1 -1
- package/dist/index.es673.js +13 -24
- package/dist/index.es673.js.map +1 -1
- package/dist/index.es674.js +32 -109
- package/dist/index.es674.js.map +1 -1
- package/dist/index.es675.js +5 -16
- package/dist/index.es675.js.map +1 -1
- package/dist/index.es676.js +2 -5
- package/dist/index.es676.js.map +1 -1
- package/dist/index.es677.js +3 -16
- package/dist/index.es677.js.map +1 -1
- package/dist/index.es678.js +7 -13
- package/dist/index.es678.js.map +1 -1
- package/dist/index.es679.js +6 -36
- package/dist/index.es679.js.map +1 -1
- package/dist/index.es680.js +5 -5
- package/dist/index.es680.js.map +1 -1
- package/dist/index.es681.js +32 -2
- package/dist/index.es681.js.map +1 -1
- package/dist/index.es682.js +242 -3
- package/dist/index.es682.js.map +1 -1
- package/dist/index.es683.js +4 -7
- package/dist/index.es683.js.map +1 -1
- package/dist/index.es684.js +5 -6
- package/dist/index.es684.js.map +1 -1
- package/dist/index.es685.js +10 -5
- package/dist/index.es685.js.map +1 -1
- package/dist/index.es686.js +56 -32
- package/dist/index.es686.js.map +1 -1
- package/dist/index.es687.js +7 -241
- package/dist/index.es687.js.map +1 -1
- package/dist/index.es688.js +6 -4
- package/dist/index.es688.js.map +1 -1
- package/dist/index.es689.js +531 -4
- package/dist/index.es689.js.map +1 -1
- package/dist/index.es690.js +14 -10
- package/dist/index.es690.js.map +1 -1
- package/dist/index.es691.js +2 -56
- package/dist/index.es691.js.map +1 -1
- package/dist/index.es692.js +36 -7
- package/dist/index.es692.js.map +1 -1
- package/dist/index.es693.js +2 -6
- package/dist/index.es693.js.map +1 -1
- package/dist/index.es694.js +247 -507
- package/dist/index.es694.js.map +1 -1
- package/dist/index.es695.js +3 -14
- package/dist/index.es695.js.map +1 -1
- package/dist/index.es696.js +30 -2
- package/dist/index.es696.js.map +1 -1
- package/dist/index.es697.js +5 -37
- package/dist/index.es697.js.map +1 -1
- package/dist/index.es698.js +3 -2
- package/dist/index.es698.js.map +1 -1
- package/dist/index.es699.js +22 -270
- package/dist/index.es699.js.map +1 -1
- package/dist/index.es700.js +113 -3
- package/dist/index.es700.js.map +1 -1
- package/dist/index.es701.js +16 -30
- package/dist/index.es701.js.map +1 -1
- package/dist/index.es709.js +37 -62
- package/dist/index.es709.js.map +1 -1
- package/dist/index.es710.js +2 -69
- package/dist/index.es710.js.map +1 -1
- package/dist/index.es711.js +5 -9
- package/dist/index.es711.js.map +1 -1
- package/dist/index.es712.js +2 -14
- package/dist/index.es712.js.map +1 -1
- package/dist/index.es713.js +2 -66
- package/dist/index.es713.js.map +1 -1
- package/dist/index.es714.js +2 -40
- package/dist/index.es714.js.map +1 -1
- package/dist/index.es715.js +6 -2
- package/dist/index.es715.js.map +1 -1
- package/dist/index.es716.js +15 -4
- package/dist/index.es716.js.map +1 -1
- package/dist/index.es717.js +2 -6
- package/dist/index.es717.js.map +1 -1
- package/dist/index.es718.js +2 -16
- package/dist/index.es718.js.map +1 -1
- package/dist/index.es719.js +3 -2
- package/dist/index.es719.js.map +1 -1
- package/dist/index.es720.js +3 -2
- package/dist/index.es720.js.map +1 -1
- package/dist/index.es721.js +4 -2
- package/dist/index.es721.js.map +1 -1
- package/dist/index.es722.js +69 -2
- package/dist/index.es722.js.map +1 -1
- package/dist/index.es723.js +9 -2
- package/dist/index.es723.js.map +1 -1
- package/dist/index.es724.js +14 -3
- package/dist/index.es724.js.map +1 -1
- package/dist/index.es725.js +66 -3
- package/dist/index.es725.js.map +1 -1
- package/dist/index.es726.js +64 -3
- package/dist/index.es726.js.map +1 -1
- package/dist/index.es728.js +2 -2
- package/dist/index.es729.js +2 -2
- package/dist/index.es730.js +2 -2
- package/dist/index.es731.js +1 -1
- package/dist/index.es732.js +8 -8
- package/dist/index.es737.js +1 -1
- package/dist/index.es738.js +2 -2
- package/dist/index.es741.js +1 -1
- package/dist/index.es742.js +3 -3
- package/dist/index.es743.js +3 -3
- package/dist/index.es745.js +2 -2
- package/dist/index.es746.js +1 -1
- package/dist/index.es747.js +1 -1
- package/dist/index.es751.js +1 -1
- package/dist/index.es753.js +3 -529
- package/dist/index.es753.js.map +1 -1
- package/dist/index.es754.js +3 -126
- package/dist/index.es754.js.map +1 -1
- package/dist/index.es755.js +2 -134
- package/dist/index.es755.js.map +1 -1
- package/dist/index.es756.js +529 -3
- package/dist/index.es756.js.map +1 -1
- package/dist/index.es757.js +125 -22
- package/dist/index.es757.js.map +1 -1
- package/dist/index.es758.js +133 -3
- package/dist/index.es758.js.map +1 -1
- package/dist/index.es759.js +2 -3
- package/dist/index.es759.js.map +1 -1
- package/dist/index.es760.js +225 -2
- package/dist/index.es760.js.map +1 -1
- package/dist/index.es761.js +2 -6
- package/dist/index.es761.js.map +1 -1
- package/dist/index.es762.js +355 -9
- package/dist/index.es762.js.map +1 -1
- package/dist/index.es763.js +2 -4
- package/dist/index.es763.js.map +1 -1
- package/dist/index.es764.js +2 -90
- package/dist/index.es764.js.map +1 -1
- package/dist/index.es765.js +2 -18
- package/dist/index.es765.js.map +1 -1
- package/dist/index.es766.js +32 -178
- package/dist/index.es766.js.map +1 -1
- package/dist/index.es767.js +45 -9
- package/dist/index.es767.js.map +1 -1
- package/dist/index.es768.js +54 -189
- package/dist/index.es768.js.map +1 -1
- package/dist/index.es769.js +52 -311
- package/dist/index.es769.js.map +1 -1
- package/dist/index.es770.js +71 -90
- package/dist/index.es770.js.map +1 -1
- package/dist/index.es771.js +52 -2
- package/dist/index.es771.js.map +1 -1
- package/dist/index.es772.js +85 -220
- package/dist/index.es772.js.map +1 -1
- package/dist/index.es773.js +6 -2
- package/dist/index.es773.js.map +1 -1
- package/dist/index.es774.js +9 -355
- package/dist/index.es774.js.map +1 -1
- package/dist/index.es775.js +4 -2
- package/dist/index.es775.js.map +1 -1
- package/dist/index.es776.js +90 -2
- package/dist/index.es776.js.map +1 -1
- package/dist/index.es777.js +18 -2
- package/dist/index.es777.js.map +1 -1
- package/dist/index.es778.js +178 -32
- package/dist/index.es778.js.map +1 -1
- package/dist/index.es779.js +9 -45
- package/dist/index.es779.js.map +1 -1
- package/dist/index.es780.js +189 -54
- package/dist/index.es780.js.map +1 -1
- package/dist/index.es781.js +311 -52
- package/dist/index.es781.js.map +1 -1
- package/dist/index.es782.js +90 -71
- package/dist/index.es782.js.map +1 -1
- package/dist/index.es783.js +3 -51
- package/dist/index.es783.js.map +1 -1
- package/dist/index.es784.js +21 -88
- package/dist/index.es784.js.map +1 -1
- package/dist/index.es785.js +2 -2
- package/dist/index.es786.js +145 -2
- package/dist/index.es786.js.map +1 -1
- package/dist/index.es787.js +2 -2
- package/dist/index.es788.js +2 -112
- package/dist/index.es788.js.map +1 -1
- package/dist/index.es790.js +2 -145
- package/dist/index.es790.js.map +1 -1
- package/dist/index.es791.js +2 -2
- package/dist/index.es792.js +2 -2
- package/dist/index.es793.js +2 -2
- package/dist/index.es794.js +2 -2
- package/dist/index.es795.js +2 -2
- package/dist/index.es795.js.map +1 -1
- package/dist/index.es797.js +11 -2
- package/dist/index.es797.js.map +1 -1
- package/dist/index.es798.js +8 -8
- package/dist/index.es798.js.map +1 -1
- package/dist/index.es799.js +53 -10
- package/dist/index.es799.js.map +1 -1
- package/dist/index.es800.js +109 -51
- package/dist/index.es800.js.map +1 -1
- package/dist/index.es801.js +2 -2
- package/package.json +1 -1
- package/dist/index.cjs524.js +0 -2
- package/dist/index.cjs524.js.map +0 -1
- package/dist/index.cjs525.js +0 -2
- package/dist/index.cjs525.js.map +0 -1
- package/dist/index.cjs546.js +0 -2
- package/dist/index.cjs546.js.map +0 -1
- package/dist/index.cjs574.js.map +0 -1
- package/dist/index.cjs575.js.map +0 -1
- package/dist/index.cjs576.js +0 -2
- package/dist/index.cjs576.js.map +0 -1
- package/dist/index.es524.js +0 -10
- package/dist/index.es524.js.map +0 -1
- package/dist/index.es525.js +0 -30
- package/dist/index.es525.js.map +0 -1
- package/dist/index.es546.js +0 -28
- package/dist/index.es546.js.map +0 -1
- package/dist/index.es574.js.map +0 -1
- package/dist/index.es575.js.map +0 -1
- package/dist/index.es576.js +0 -136
- package/dist/index.es576.js.map +0 -1
- /package/dist/components/ui/{CreateReservationModal/CreateReservationModalContent/CreateReservationModalContent.css → ChangeProfileModal/ChangeProfileModalContent/ChangeProfileModalContent.css} +0 -0
- /package/dist/components/ui/{DoctorConfirmModal/DoctorConfirmModalContent/DoctorConfirmModalContent.css → ConsentModal/ConsentModalContent/ConsentModalContent.css} +0 -0
- /package/dist/components/ui/{CreateReservationModal/CreateReservationModalFooter/CreateReservationModalFooter.css → ConsentModal/ConsentModalFooter/ConsentModalFooter.css} +0 -0
package/dist/index.cjs726.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs726.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"index.cjs726.js","sources":["../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":"qHACA,SAASA,EAAKC,EAAG,CACb,OAAOA,CACX,CACA,SAASC,EAAkBC,EAAUC,EAAY,CACzCA,IAAe,SAAUA,EAAaJ,GAC1C,IAAIK,EAAS,CAAA,EACTC,EAAW,GACXC,EAAS,CACT,KAAM,UAAY,CACd,GAAID,EACA,MAAM,IAAI,MAAM,kGAAkG,EAEtH,OAAID,EAAO,OACAA,EAAOA,EAAO,OAAS,CAAC,EAE5BF,CACX,EACA,UAAW,SAAUK,EAAM,CACvB,IAAIC,EAAOL,EAAWI,EAAMF,CAAQ,EACpC,OAAAD,EAAO,KAAKI,CAAI,EACT,UAAY,CACfJ,EAASA,EAAO,OAAO,SAAUK,EAAG,CAAE,OAAOA,IAAMD,CAAM,CAAC,CAC9D,CACJ,EACA,iBAAkB,SAAUE,EAAI,CAE5B,IADAL,EAAW,GACJD,EAAO,QAAQ,CAClB,IAAIO,EAAMP,EACVA,EAAS,CAAA,EACTO,EAAI,QAAQD,CAAE,CAClB,CACAN,EAAS,CACL,KAAM,SAAUK,EAAG,CAAE,OAAOC,EAAGD,CAAC,CAAG,EACnC,OAAQ,UAAY,CAAE,OAAOL,CAAQ,CACrD,CACQ,EACA,aAAc,SAAUM,EAAI,CACxBL,EAAW,GACX,IAAIO,EAAe,CAAA,EACnB,GAAIR,EAAO,OAAQ,CACf,IAAIO,EAAMP,EACVA,EAAS,CAAA,EACTO,EAAI,QAAQD,CAAE,EACdE,EAAeR,CACnB,CACA,IAAIS,EAAe,UAAY,CAC3B,IAAIF,EAAMC,EACVA,EAAe,CAAA,EACfD,EAAI,QAAQD,CAAE,CAClB,EACII,EAAQ,UAAY,CAAE,OAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY,CAAG,EACvEC,EAAK,EACLV,EAAS,CACL,KAAM,SAAUK,EAAG,CACfG,EAAa,KAAKH,CAAC,EACnBK,EAAK,CACT,EACA,OAAQ,SAAUC,EAAQ,CACtB,OAAAH,EAAeA,EAAa,OAAOG,CAAM,EAClCX,CACX,CAChB,CACQ,CACR,EACI,OAAOE,CACX,CAMO,SAASU,EAAoBC,EAAS,CACrCA,IAAY,SAAUA,EAAU,CAAA,GACpC,IAAIX,EAASL,EAAkB,IAAI,EACnC,OAAAK,EAAO,QAAUY,EAAAA,SAAS,CAAE,MAAO,GAAM,IAAK,EAAK,EAAID,CAAO,EACvDX,CACX","x_google_ignoreList":[0]}
|
package/dist/index.cjs728.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("./index.cjs759.js"),N=require("./index.cjs730.js"),E=require("./index.cjs760.js");var T;function q(){if(T)return c.__exports;T=1;var k=c.__exports&&c.__exports.__createBinding||(Object.create?(function(s,t,e,i){i===void 0&&(i=e);var n=Object.getOwnPropertyDescriptor(t,e);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,n)}):(function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]})),O=c.__exports&&c.__exports.__setModuleDefault||(Object.create?(function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}):function(s,t){s.default=t}),I=c.__exports&&c.__exports.__importStar||function(s){if(s&&s.__esModule)return s;var t={};if(s!=null)for(var e in s)e!=="default"&&Object.prototype.hasOwnProperty.call(s,e)&&k(t,s,e);return O(t,s),t};Object.defineProperty(c.__exports,"__esModule",{value:!0}),c.__exports.Parser=void 0;var b=I(N.__require()),g=E.__require(),u=new Set(["input","option","optgroup","select","button","datalist","textarea"]),o=new Set(["p"]),_=new Set(["thead","tbody"]),m=new Set(["dd","dt"]),x=new Set(["rt","rp"]),z=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",o],["h1",o],["h2",o],["h3",o],["h4",o],["h5",o],["h6",o],["select",u],["input",u],["output",u],["button",u],["datalist",u],["textarea",u],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",m],["dt",m],["address",o],["article",o],["aside",o],["blockquote",o],["details",o],["div",o],["dl",o],["fieldset",o],["figcaption",o],["figure",o],["footer",o],["form",o],["header",o],["hr",o],["main",o],["nav",o],["ol",o],["pre",o],["section",o],["table",o],["ul",o],["rt",x],["rp",x],["tbody",_],["tfoot",_]]),P=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),w=new Set(["math","svg"]),y=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),M=/\s|\//,j=(function(){function s(t,e){e===void 0&&(e={});var i,n,r,h,a;this.options=e,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(i=e.lowerCaseTags)!==null&&i!==void 0?i:!e.xmlMode,this.lowerCaseAttributeNames=(n=e.lowerCaseAttributeNames)!==null&&n!==void 0?n:!e.xmlMode,this.tokenizer=new((r=e.Tokenizer)!==null&&r!==void 0?r:b.default)(this.options,this),(a=(h=this.cbs).onparserinit)===null||a===void 0||a.call(h,this)}return s.prototype.ontext=function(t,e){var i,n,r=this.getSlice(t,e);this.endIndex=e-1,(n=(i=this.cbs).ontext)===null||n===void 0||n.call(i,r),this.startIndex=e},s.prototype.ontextentity=function(t){var e,i,n=this.tokenizer.getSectionStart();this.endIndex=n-1,(i=(e=this.cbs).ontext)===null||i===void 0||i.call(e,(0,g.fromCodePoint)(t)),this.startIndex=n},s.prototype.isVoidElement=function(t){return!this.options.xmlMode&&P.has(t)},s.prototype.onopentagname=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)},s.prototype.emitOpenTag=function(t){var e,i,n,r;this.openTagStart=this.startIndex,this.tagname=t;var h=!this.options.xmlMode&&z.get(t);if(h)for(;this.stack.length>0&&h.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();(i=(e=this.cbs).onclosetag)===null||i===void 0||i.call(e,a,!0)}this.isVoidElement(t)||(this.stack.push(t),w.has(t)?this.foreignContext.push(!0):y.has(t)&&this.foreignContext.push(!1)),(r=(n=this.cbs).onopentagname)===null||r===void 0||r.call(n,t),this.cbs.onopentag&&(this.attribs={})},s.prototype.endOpenTag=function(t){var e,i;this.startIndex=this.openTagStart,this.attribs&&((i=(e=this.cbs).onopentag)===null||i===void 0||i.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},s.prototype.onopentagend=function(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1},s.prototype.onclosetag=function(t,e){var i,n,r,h,a,f;this.endIndex=e;var l=this.getSlice(t,e);if(this.lowerCaseTagNames&&(l=l.toLowerCase()),(w.has(l)||y.has(l))&&this.foreignContext.pop(),this.isVoidElement(l))!this.options.xmlMode&&l==="br"&&((n=(i=this.cbs).onopentagname)===null||n===void 0||n.call(i,"br"),(h=(r=this.cbs).onopentag)===null||h===void 0||h.call(r,"br",{},!0),(f=(a=this.cbs).onclosetag)===null||f===void 0||f.call(a,"br",!1));else{var d=this.stack.lastIndexOf(l);if(d!==-1)if(this.cbs.onclosetag)for(var p=this.stack.length-d;p--;)this.cbs.onclosetag(this.stack.pop(),p!==0);else this.stack.length=d;else!this.options.xmlMode&&l==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1},s.prototype.onselfclosingtag=function(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)},s.prototype.closeCurrentTag=function(t){var e,i,n=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===n&&((i=(e=this.cbs).onclosetag)===null||i===void 0||i.call(e,n,!t),this.stack.pop())},s.prototype.onattribname=function(t,e){this.startIndex=t;var i=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i},s.prototype.onattribdata=function(t,e){this.attribvalue+=this.getSlice(t,e)},s.prototype.onattribentity=function(t){this.attribvalue+=(0,g.fromCodePoint)(t)},s.prototype.onattribend=function(t,e){var i,n;this.endIndex=e,(n=(i=this.cbs).onattribute)===null||n===void 0||n.call(i,this.attribname,this.attribvalue,t===b.QuoteType.Double?'"':t===b.QuoteType.Single?"'":t===b.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},s.prototype.getInstructionName=function(t){var e=t.search(M),i=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i},s.prototype.ondeclaration=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(i);this.cbs.onprocessinginstruction("!".concat(n),"!".concat(i))}this.startIndex=e+1},s.prototype.onprocessinginstruction=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){var n=this.getInstructionName(i);this.cbs.onprocessinginstruction("?".concat(n),"?".concat(i))}this.startIndex=e+1},s.prototype.oncomment=function(t,e,i){var n,r,h,a;this.endIndex=e,(r=(n=this.cbs).oncomment)===null||r===void 0||r.call(n,this.getSlice(t,e-i)),(a=(h=this.cbs).oncommentend)===null||a===void 0||a.call(h),this.startIndex=e+1},s.prototype.oncdata=function(t,e,i){var n,r,h,a,f,l,d,p,S,v;this.endIndex=e;var C=this.getSlice(t,e-i);this.options.xmlMode||this.options.recognizeCDATA?((r=(n=this.cbs).oncdatastart)===null||r===void 0||r.call(n),(a=(h=this.cbs).ontext)===null||a===void 0||a.call(h,C),(l=(f=this.cbs).oncdataend)===null||l===void 0||l.call(f)):((p=(d=this.cbs).oncomment)===null||p===void 0||p.call(d,"[CDATA[".concat(C,"]]")),(v=(S=this.cbs).oncommentend)===null||v===void 0||v.call(S)),this.startIndex=e+1},s.prototype.onend=function(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var i=this.stack.length;i>0;this.cbs.onclosetag(this.stack[--i],!0));}(e=(t=this.cbs).onend)===null||e===void 0||e.call(t)},s.prototype.reset=function(){var t,e,i,n;(e=(t=this.cbs).onreset)===null||e===void 0||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(n=(i=this.cbs).onparserinit)===null||n===void 0||n.call(i,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},s.prototype.parseComplete=function(t){this.reset(),this.end(t)},s.prototype.getSlice=function(t,e){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var i=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,e-this.bufferOffset);return i},s.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},s.prototype.write=function(t){var e,i;if(this.ended){(i=(e=this.cbs).onerror)===null||i===void 0||i.call(e,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)},s.prototype.end=function(t){var e,i;if(this.ended){(i=(e=this.cbs).onerror)===null||i===void 0||i.call(e,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()},s.prototype.pause=function(){this.tokenizer.pause()},s.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},s.prototype.parseChunk=function(t){this.write(t)},s.prototype.done=function(t){this.end(t)},s})();return c.__exports.Parser=j,c.__exports}exports.__require=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs728.js.map
|
package/dist/index.cjs729.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./index.cjs761.js"),_=require("./index.cjs731.js"),h=require("./index.cjs762.js");var p;function y(){return p||(p=1,(function(d){var c=s.__exports&&s.__exports.__createBinding||(Object.create?(function(i,t,e,n){n===void 0&&(n=e);var o=Object.getOwnPropertyDescriptor(t,e);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(i,n,o)}):(function(i,t,e,n){n===void 0&&(n=e),i[n]=t[e]})),f=s.__exports&&s.__exports.__exportStar||function(i,t){for(var e in i)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&c(t,i,e)};Object.defineProperty(d,"__esModule",{value:!0}),d.DomHandler=void 0;var a=_.__require(),r=h.__require();f(h.__require(),d);var l={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},u=(function(){function i(t,e,n){this.dom=[],this.root=new r.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof e=="function"&&(n=e,e=l),typeof t=="object"&&(e=t,t=void 0),this.callback=t??null,this.options=e??l,this.elementCB=n??null}return i.prototype.onparserinit=function(t){this.parser=t},i.prototype.onreset=function(){this.dom=[],this.root=new r.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},i.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},i.prototype.onerror=function(t){this.handleCallback(t)},i.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},i.prototype.onopentag=function(t,e){var n=this.options.xmlMode?a.ElementType.Tag:void 0,o=new r.Element(t,e,void 0,n);this.addNode(o),this.tagStack.push(o)},i.prototype.ontext=function(t){var e=this.lastNode;if(e&&e.type===a.ElementType.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{var n=new r.Text(t);this.addNode(n),this.lastNode=n}},i.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===a.ElementType.Comment){this.lastNode.data+=t;return}var e=new r.Comment(t);this.addNode(e),this.lastNode=e},i.prototype.oncommentend=function(){this.lastNode=null},i.prototype.oncdatastart=function(){var t=new r.Text(""),e=new r.CDATA([t]);this.addNode(e),t.parent=e,this.lastNode=t},i.prototype.oncdataend=function(){this.lastNode=null},i.prototype.onprocessinginstruction=function(t,e){var n=new r.ProcessingInstruction(t,e);this.addNode(n)},i.prototype.handleCallback=function(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t},i.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null},i})();d.DomHandler=u,d.default=u})(s.__exports)),s.__exports}exports.__require=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs729.js.map
|
package/dist/index.cjs730.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs775.js"),g=require("./index.cjs772.js");var p;function N(){return p||(p=1,(function(c){Object.defineProperty(c,"__esModule",{value:!0}),c.QuoteType=void 0;var h=g.__require(),s;(function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"})(s||(s={}));var i;(function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.SpecialStartSequence=23]="SpecialStartSequence",t[t.InSpecialTag=24]="InSpecialTag",t[t.BeforeEntity=25]="BeforeEntity",t[t.BeforeNumericEntity=26]="BeforeNumericEntity",t[t.InNamedEntity=27]="InNamedEntity",t[t.InNumericEntity=28]="InNumericEntity",t[t.InHexEntity=29]="InHexEntity"})(i||(i={}));function o(t){return t===s.Space||t===s.NewLine||t===s.Tab||t===s.FormFeed||t===s.CarriageReturn}function l(t){return t===s.Slash||t===s.Gt||o(t)}function x(t){return t>=s.Zero&&t<=s.Nine}function d(t){return t>=s.LowerA&&t<=s.LowerZ||t>=s.UpperA&&t<=s.UpperZ}function I(t){return t>=s.UpperA&&t<=s.UpperF||t>=s.LowerA&&t<=s.LowerF}var u;(function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"})(u=c.QuoteType||(c.QuoteType={}));var a={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},y=(function(){function t(e,n){var r=e.xmlMode,f=r===void 0?!1:r,b=e.decodeEntities,S=b===void 0?!0:b;this.cbs=n,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=S,this.entityTrie=f?h.xmlDecodeTree:h.htmlDecodeTree}return t.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},t.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},t.prototype.end=function(){this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},t.prototype.getIndex=function(){return this.index},t.prototype.getSectionStart=function(){return this.sectionStart},t.prototype.stateText=function(e){e===s.Lt||!this.decodeEntities&&this.fastForwardTo(s.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity)},t.prototype.stateSpecialStartSequence=function(e){var n=this.sequenceIndex===this.currentSequence.length,r=n?l(e):(e|32)===this.currentSequence[this.sequenceIndex];if(!r)this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},t.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===s.Gt||o(e)){var n=this.index-this.currentSequence.length;if(this.sectionStart<n){var r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===a.TitleEnd?this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(s.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===s.Lt)},t.prototype.stateCDATASequence=function(e){e===a.Cdata[this.sequenceIndex]?++this.sequenceIndex===a.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=a.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},t.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},t.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},t.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):d(e)},t.prototype.startSpecial=function(e,n){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=n,this.state=i.SpecialStartSequence},t.prototype.stateBeforeTagName=function(e){if(e===s.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===s.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var n=e|32;this.sectionStart=this.index,!this.xmlMode&&n===a.TitleEnd[2]?this.startSpecial(a.TitleEnd,3):this.state=!this.xmlMode&&n===a.ScriptEnd[2]?i.BeforeSpecialS:i.InTagName}else e===s.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},t.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===s.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},t.prototype.stateInClosingTagName=function(e){(e===s.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},t.prototype.stateAfterClosingTagName=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeAttributeName=function(e){e===s.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===s.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateInSelfClosingTag=function(e){e===s.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateInAttributeName=function(e){(e===s.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},t.prototype.stateAfterAttributeName=function(e){e===s.Eq?this.state=i.BeforeAttributeValue:e===s.Slash||e===s.Gt?(this.cbs.onattribend(u.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(u.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateBeforeAttributeValue=function(e){e===s.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===s.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},t.prototype.handleInAttributeValue=function(e,n){e===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===s.DoubleQuote?u.Double:u.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,s.DoubleQuote)},t.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,s.SingleQuote)},t.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===s.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateBeforeDeclaration=function(e){e===s.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===s.Dash?i.BeforeComment:i.InDeclaration},t.prototype.stateInDeclaration=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateInProcessingInstruction=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeComment=function(e){e===s.Dash?(this.state=i.InCommentLike,this.currentSequence=a.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},t.prototype.stateInSpecialComment=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeSpecialS=function(e){var n=e|32;n===a.ScriptEnd[3]?this.startSpecial(a.ScriptEnd,4):n===a.StyleEnd[3]?this.startSpecial(a.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},t.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===s.Number?this.state=i.BeforeNumericEntity:e===s.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},t.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,h.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var n=this.trieCurrent&h.BinTrieFlags.VALUE_LENGTH;if(n){var r=(n>>14)-1;if(!this.allowLegacyEntity()&&e!==s.Semi)this.trieIndex+=r;else{var f=this.index-this.entityExcess+1;f>this.sectionStart&&this.emitPartial(this.sectionStart,f),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,r===0&&this.emitNamedEntity()}}},t.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var e=(this.entityTrie[this.entityResult]&h.BinTrieFlags.VALUE_LENGTH)>>14;switch(e){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~h.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},t.prototype.stateBeforeNumericEntity=function(e){(e|32)===s.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},t.prototype.emitNumericEntity=function(e){var n=this.index-this.entityExcess-1,r=n+2+ +(this.state===i.InHexEntity);r!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,h.replaceCodePoint)(this.entityResult))),this.state=this.baseState},t.prototype.stateInNumericEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*10+(e-s.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.stateInHexEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*16+(e-s.Zero),this.entityExcess++):I(e)?(this.entityResult=this.entityResult*16+((e|32)-s.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},t.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===i.InAttributeValueDq||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},t.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},t.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:{this.stateText(e);break}case i.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case i.InSpecialTag:{this.stateInSpecialTag(e);break}case i.CDATASequence:{this.stateCDATASequence(e);break}case i.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case i.InAttributeName:{this.stateInAttributeName(e);break}case i.InCommentLike:{this.stateInCommentLike(e);break}case i.InSpecialComment:{this.stateInSpecialComment(e);break}case i.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case i.InTagName:{this.stateInTagName(e);break}case i.InClosingTagName:{this.stateInClosingTagName(e);break}case i.BeforeTagName:{this.stateBeforeTagName(e);break}case i.AfterAttributeName:{this.stateAfterAttributeName(e);break}case i.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case i.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case i.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case i.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case i.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case i.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case i.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case i.InDeclaration:{this.stateInDeclaration(e);break}case i.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case i.BeforeComment:{this.stateBeforeComment(e);break}case i.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case i.InNamedEntity:{this.stateInNamedEntity(e);break}case i.BeforeEntity:{this.stateBeforeEntity(e);break}case i.InHexEntity:{this.stateInHexEntity(e);break}case i.InNumericEntity:{this.stateInNumericEntity(e);break}default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},t.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},t.prototype.emitPartial=function(e,n){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,n):this.cbs.ontext(e,n)},t.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},t})();c.default=y})(m.__exports)),m.__exports}exports.__require=N;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs763.js"),g=require("./index.cjs760.js");var p;function N(){return p||(p=1,(function(c){Object.defineProperty(c,"__esModule",{value:!0}),c.QuoteType=void 0;var h=g.__require(),s;(function(t){t[t.Tab=9]="Tab",t[t.NewLine=10]="NewLine",t[t.FormFeed=12]="FormFeed",t[t.CarriageReturn=13]="CarriageReturn",t[t.Space=32]="Space",t[t.ExclamationMark=33]="ExclamationMark",t[t.Number=35]="Number",t[t.Amp=38]="Amp",t[t.SingleQuote=39]="SingleQuote",t[t.DoubleQuote=34]="DoubleQuote",t[t.Dash=45]="Dash",t[t.Slash=47]="Slash",t[t.Zero=48]="Zero",t[t.Nine=57]="Nine",t[t.Semi=59]="Semi",t[t.Lt=60]="Lt",t[t.Eq=61]="Eq",t[t.Gt=62]="Gt",t[t.Questionmark=63]="Questionmark",t[t.UpperA=65]="UpperA",t[t.LowerA=97]="LowerA",t[t.UpperF=70]="UpperF",t[t.LowerF=102]="LowerF",t[t.UpperZ=90]="UpperZ",t[t.LowerZ=122]="LowerZ",t[t.LowerX=120]="LowerX",t[t.OpeningSquareBracket=91]="OpeningSquareBracket"})(s||(s={}));var i;(function(t){t[t.Text=1]="Text",t[t.BeforeTagName=2]="BeforeTagName",t[t.InTagName=3]="InTagName",t[t.InSelfClosingTag=4]="InSelfClosingTag",t[t.BeforeClosingTagName=5]="BeforeClosingTagName",t[t.InClosingTagName=6]="InClosingTagName",t[t.AfterClosingTagName=7]="AfterClosingTagName",t[t.BeforeAttributeName=8]="BeforeAttributeName",t[t.InAttributeName=9]="InAttributeName",t[t.AfterAttributeName=10]="AfterAttributeName",t[t.BeforeAttributeValue=11]="BeforeAttributeValue",t[t.InAttributeValueDq=12]="InAttributeValueDq",t[t.InAttributeValueSq=13]="InAttributeValueSq",t[t.InAttributeValueNq=14]="InAttributeValueNq",t[t.BeforeDeclaration=15]="BeforeDeclaration",t[t.InDeclaration=16]="InDeclaration",t[t.InProcessingInstruction=17]="InProcessingInstruction",t[t.BeforeComment=18]="BeforeComment",t[t.CDATASequence=19]="CDATASequence",t[t.InSpecialComment=20]="InSpecialComment",t[t.InCommentLike=21]="InCommentLike",t[t.BeforeSpecialS=22]="BeforeSpecialS",t[t.SpecialStartSequence=23]="SpecialStartSequence",t[t.InSpecialTag=24]="InSpecialTag",t[t.BeforeEntity=25]="BeforeEntity",t[t.BeforeNumericEntity=26]="BeforeNumericEntity",t[t.InNamedEntity=27]="InNamedEntity",t[t.InNumericEntity=28]="InNumericEntity",t[t.InHexEntity=29]="InHexEntity"})(i||(i={}));function o(t){return t===s.Space||t===s.NewLine||t===s.Tab||t===s.FormFeed||t===s.CarriageReturn}function l(t){return t===s.Slash||t===s.Gt||o(t)}function x(t){return t>=s.Zero&&t<=s.Nine}function d(t){return t>=s.LowerA&&t<=s.LowerZ||t>=s.UpperA&&t<=s.UpperZ}function I(t){return t>=s.UpperA&&t<=s.UpperF||t>=s.LowerA&&t<=s.LowerF}var u;(function(t){t[t.NoValue=0]="NoValue",t[t.Unquoted=1]="Unquoted",t[t.Single=2]="Single",t[t.Double=3]="Double"})(u=c.QuoteType||(c.QuoteType={}));var a={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101])},y=(function(){function t(e,n){var r=e.xmlMode,f=r===void 0?!1:r,b=e.decodeEntities,S=b===void 0?!0:b;this.cbs=n,this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.isSpecial=!1,this.running=!0,this.offset=0,this.currentSequence=void 0,this.sequenceIndex=0,this.trieIndex=0,this.trieCurrent=0,this.entityResult=0,this.entityExcess=0,this.xmlMode=f,this.decodeEntities=S,this.entityTrie=f?h.xmlDecodeTree:h.htmlDecodeTree}return t.prototype.reset=function(){this.state=i.Text,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=i.Text,this.currentSequence=void 0,this.running=!0,this.offset=0},t.prototype.write=function(e){this.offset+=this.buffer.length,this.buffer=e,this.parse()},t.prototype.end=function(){this.running&&this.finish()},t.prototype.pause=function(){this.running=!1},t.prototype.resume=function(){this.running=!0,this.index<this.buffer.length+this.offset&&this.parse()},t.prototype.getIndex=function(){return this.index},t.prototype.getSectionStart=function(){return this.sectionStart},t.prototype.stateText=function(e){e===s.Lt||!this.decodeEntities&&this.fastForwardTo(s.Lt)?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=i.BeforeTagName,this.sectionStart=this.index):this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity)},t.prototype.stateSpecialStartSequence=function(e){var n=this.sequenceIndex===this.currentSequence.length,r=n?l(e):(e|32)===this.currentSequence[this.sequenceIndex];if(!r)this.isSpecial=!1;else if(!n){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=i.InTagName,this.stateInTagName(e)},t.prototype.stateInSpecialTag=function(e){if(this.sequenceIndex===this.currentSequence.length){if(e===s.Gt||o(e)){var n=this.index-this.currentSequence.length;if(this.sectionStart<n){var r=this.index;this.index=n,this.cbs.ontext(this.sectionStart,n),this.index=r}this.isSpecial=!1,this.sectionStart=n+2,this.stateInClosingTagName(e);return}this.sequenceIndex=0}(e|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===a.TitleEnd?this.decodeEntities&&e===s.Amp&&(this.state=i.BeforeEntity):this.fastForwardTo(s.Lt)&&(this.sequenceIndex=1):this.sequenceIndex=+(e===s.Lt)},t.prototype.stateCDATASequence=function(e){e===a.Cdata[this.sequenceIndex]?++this.sequenceIndex===a.Cdata.length&&(this.state=i.InCommentLike,this.currentSequence=a.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=i.InDeclaration,this.stateInDeclaration(e))},t.prototype.fastForwardTo=function(e){for(;++this.index<this.buffer.length+this.offset;)if(this.buffer.charCodeAt(this.index-this.offset)===e)return!0;return this.index=this.buffer.length+this.offset-1,!1},t.prototype.stateInCommentLike=function(e){e===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index,2):this.cbs.oncomment(this.sectionStart,this.index,2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=i.Text):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):e!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)},t.prototype.isTagStartChar=function(e){return this.xmlMode?!l(e):d(e)},t.prototype.startSpecial=function(e,n){this.isSpecial=!0,this.currentSequence=e,this.sequenceIndex=n,this.state=i.SpecialStartSequence},t.prototype.stateBeforeTagName=function(e){if(e===s.ExclamationMark)this.state=i.BeforeDeclaration,this.sectionStart=this.index+1;else if(e===s.Questionmark)this.state=i.InProcessingInstruction,this.sectionStart=this.index+1;else if(this.isTagStartChar(e)){var n=e|32;this.sectionStart=this.index,!this.xmlMode&&n===a.TitleEnd[2]?this.startSpecial(a.TitleEnd,3):this.state=!this.xmlMode&&n===a.ScriptEnd[2]?i.BeforeSpecialS:i.InTagName}else e===s.Slash?this.state=i.BeforeClosingTagName:(this.state=i.Text,this.stateText(e))},t.prototype.stateInTagName=function(e){l(e)&&(this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateBeforeClosingTagName=function(e){o(e)||(e===s.Gt?this.state=i.Text:(this.state=this.isTagStartChar(e)?i.InClosingTagName:i.InSpecialComment,this.sectionStart=this.index))},t.prototype.stateInClosingTagName=function(e){(e===s.Gt||o(e))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterClosingTagName,this.stateAfterClosingTagName(e))},t.prototype.stateAfterClosingTagName=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeAttributeName=function(e){e===s.Gt?(this.cbs.onopentagend(this.index),this.isSpecial?(this.state=i.InSpecialTag,this.sequenceIndex=0):this.state=i.Text,this.baseState=this.state,this.sectionStart=this.index+1):e===s.Slash?this.state=i.InSelfClosingTag:o(e)||(this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateInSelfClosingTag=function(e){e===s.Gt?(this.cbs.onselfclosingtag(this.index),this.state=i.Text,this.baseState=i.Text,this.sectionStart=this.index+1,this.isSpecial=!1):o(e)||(this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e))},t.prototype.stateInAttributeName=function(e){(e===s.Eq||l(e))&&(this.cbs.onattribname(this.sectionStart,this.index),this.sectionStart=-1,this.state=i.AfterAttributeName,this.stateAfterAttributeName(e))},t.prototype.stateAfterAttributeName=function(e){e===s.Eq?this.state=i.BeforeAttributeValue:e===s.Slash||e===s.Gt?(this.cbs.onattribend(u.NoValue,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):o(e)||(this.cbs.onattribend(u.NoValue,this.index),this.state=i.InAttributeName,this.sectionStart=this.index)},t.prototype.stateBeforeAttributeValue=function(e){e===s.DoubleQuote?(this.state=i.InAttributeValueDq,this.sectionStart=this.index+1):e===s.SingleQuote?(this.state=i.InAttributeValueSq,this.sectionStart=this.index+1):o(e)||(this.sectionStart=this.index,this.state=i.InAttributeValueNq,this.stateInAttributeValueNoQuotes(e))},t.prototype.handleInAttributeValue=function(e,n){e===n||!this.decodeEntities&&this.fastForwardTo(n)?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(n===s.DoubleQuote?u.Double:u.Single,this.index),this.state=i.BeforeAttributeName):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateInAttributeValueDoubleQuotes=function(e){this.handleInAttributeValue(e,s.DoubleQuote)},t.prototype.stateInAttributeValueSingleQuotes=function(e){this.handleInAttributeValue(e,s.SingleQuote)},t.prototype.stateInAttributeValueNoQuotes=function(e){o(e)||e===s.Gt?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(u.Unquoted,this.index),this.state=i.BeforeAttributeName,this.stateBeforeAttributeName(e)):this.decodeEntities&&e===s.Amp&&(this.baseState=this.state,this.state=i.BeforeEntity)},t.prototype.stateBeforeDeclaration=function(e){e===s.OpeningSquareBracket?(this.state=i.CDATASequence,this.sequenceIndex=0):this.state=e===s.Dash?i.BeforeComment:i.InDeclaration},t.prototype.stateInDeclaration=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.ondeclaration(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateInProcessingInstruction=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeComment=function(e){e===s.Dash?(this.state=i.InCommentLike,this.currentSequence=a.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=i.InDeclaration},t.prototype.stateInSpecialComment=function(e){(e===s.Gt||this.fastForwardTo(s.Gt))&&(this.cbs.oncomment(this.sectionStart,this.index,0),this.state=i.Text,this.sectionStart=this.index+1)},t.prototype.stateBeforeSpecialS=function(e){var n=e|32;n===a.ScriptEnd[3]?this.startSpecial(a.ScriptEnd,4):n===a.StyleEnd[3]?this.startSpecial(a.StyleEnd,4):(this.state=i.InTagName,this.stateInTagName(e))},t.prototype.stateBeforeEntity=function(e){this.entityExcess=1,this.entityResult=0,e===s.Number?this.state=i.BeforeNumericEntity:e===s.Amp||(this.trieIndex=0,this.trieCurrent=this.entityTrie[0],this.state=i.InNamedEntity,this.stateInNamedEntity(e))},t.prototype.stateInNamedEntity=function(e){if(this.entityExcess+=1,this.trieIndex=(0,h.determineBranch)(this.entityTrie,this.trieCurrent,this.trieIndex+1,e),this.trieIndex<0){this.emitNamedEntity(),this.index--;return}this.trieCurrent=this.entityTrie[this.trieIndex];var n=this.trieCurrent&h.BinTrieFlags.VALUE_LENGTH;if(n){var r=(n>>14)-1;if(!this.allowLegacyEntity()&&e!==s.Semi)this.trieIndex+=r;else{var f=this.index-this.entityExcess+1;f>this.sectionStart&&this.emitPartial(this.sectionStart,f),this.entityResult=this.trieIndex,this.trieIndex+=r,this.entityExcess=0,this.sectionStart=this.index+1,r===0&&this.emitNamedEntity()}}},t.prototype.emitNamedEntity=function(){if(this.state=this.baseState,this.entityResult!==0){var e=(this.entityTrie[this.entityResult]&h.BinTrieFlags.VALUE_LENGTH)>>14;switch(e){case 1:{this.emitCodePoint(this.entityTrie[this.entityResult]&~h.BinTrieFlags.VALUE_LENGTH);break}case 2:{this.emitCodePoint(this.entityTrie[this.entityResult+1]);break}case 3:this.emitCodePoint(this.entityTrie[this.entityResult+1]),this.emitCodePoint(this.entityTrie[this.entityResult+2])}}},t.prototype.stateBeforeNumericEntity=function(e){(e|32)===s.LowerX?(this.entityExcess++,this.state=i.InHexEntity):(this.state=i.InNumericEntity,this.stateInNumericEntity(e))},t.prototype.emitNumericEntity=function(e){var n=this.index-this.entityExcess-1,r=n+2+ +(this.state===i.InHexEntity);r!==this.index&&(n>this.sectionStart&&this.emitPartial(this.sectionStart,n),this.sectionStart=this.index+Number(e),this.emitCodePoint((0,h.replaceCodePoint)(this.entityResult))),this.state=this.baseState},t.prototype.stateInNumericEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*10+(e-s.Zero),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.stateInHexEntity=function(e){e===s.Semi?this.emitNumericEntity(!0):x(e)?(this.entityResult=this.entityResult*16+(e-s.Zero),this.entityExcess++):I(e)?(this.entityResult=this.entityResult*16+((e|32)-s.LowerA+10),this.entityExcess++):(this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state=this.baseState,this.index--)},t.prototype.allowLegacyEntity=function(){return!this.xmlMode&&(this.baseState===i.Text||this.baseState===i.InSpecialTag)},t.prototype.cleanup=function(){this.running&&this.sectionStart!==this.index&&(this.state===i.Text||this.state===i.InSpecialTag&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===i.InAttributeValueDq||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueNq)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))},t.prototype.shouldContinue=function(){return this.index<this.buffer.length+this.offset&&this.running},t.prototype.parse=function(){for(;this.shouldContinue();){var e=this.buffer.charCodeAt(this.index-this.offset);switch(this.state){case i.Text:{this.stateText(e);break}case i.SpecialStartSequence:{this.stateSpecialStartSequence(e);break}case i.InSpecialTag:{this.stateInSpecialTag(e);break}case i.CDATASequence:{this.stateCDATASequence(e);break}case i.InAttributeValueDq:{this.stateInAttributeValueDoubleQuotes(e);break}case i.InAttributeName:{this.stateInAttributeName(e);break}case i.InCommentLike:{this.stateInCommentLike(e);break}case i.InSpecialComment:{this.stateInSpecialComment(e);break}case i.BeforeAttributeName:{this.stateBeforeAttributeName(e);break}case i.InTagName:{this.stateInTagName(e);break}case i.InClosingTagName:{this.stateInClosingTagName(e);break}case i.BeforeTagName:{this.stateBeforeTagName(e);break}case i.AfterAttributeName:{this.stateAfterAttributeName(e);break}case i.InAttributeValueSq:{this.stateInAttributeValueSingleQuotes(e);break}case i.BeforeAttributeValue:{this.stateBeforeAttributeValue(e);break}case i.BeforeClosingTagName:{this.stateBeforeClosingTagName(e);break}case i.AfterClosingTagName:{this.stateAfterClosingTagName(e);break}case i.BeforeSpecialS:{this.stateBeforeSpecialS(e);break}case i.InAttributeValueNq:{this.stateInAttributeValueNoQuotes(e);break}case i.InSelfClosingTag:{this.stateInSelfClosingTag(e);break}case i.InDeclaration:{this.stateInDeclaration(e);break}case i.BeforeDeclaration:{this.stateBeforeDeclaration(e);break}case i.BeforeComment:{this.stateBeforeComment(e);break}case i.InProcessingInstruction:{this.stateInProcessingInstruction(e);break}case i.InNamedEntity:{this.stateInNamedEntity(e);break}case i.BeforeEntity:{this.stateBeforeEntity(e);break}case i.InHexEntity:{this.stateInHexEntity(e);break}case i.InNumericEntity:{this.stateInNumericEntity(e);break}default:this.stateBeforeNumericEntity(e)}this.index++}this.cleanup()},t.prototype.finish=function(){this.state===i.InNamedEntity&&this.emitNamedEntity(),this.sectionStart<this.index&&this.handleTrailingData(),this.cbs.onend()},t.prototype.handleTrailingData=function(){var e=this.buffer.length+this.offset;this.state===i.InCommentLike?this.currentSequence===a.CdataEnd?this.cbs.oncdata(this.sectionStart,e,0):this.cbs.oncomment(this.sectionStart,e,0):this.state===i.InNumericEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InHexEntity&&this.allowLegacyEntity()?this.emitNumericEntity(!1):this.state===i.InTagName||this.state===i.BeforeAttributeName||this.state===i.BeforeAttributeValue||this.state===i.AfterAttributeName||this.state===i.InAttributeName||this.state===i.InAttributeValueSq||this.state===i.InAttributeValueDq||this.state===i.InAttributeValueNq||this.state===i.InClosingTagName||this.cbs.ontext(this.sectionStart,e)},t.prototype.emitPartial=function(e,n){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribdata(e,n):this.cbs.ontext(e,n)},t.prototype.emitCodePoint=function(e){this.baseState!==i.Text&&this.baseState!==i.InSpecialTag?this.cbs.onattribentity(e):this.cbs.ontextentity(e)},t})();c.default=y})(m.__exports)),m.__exports}exports.__require=N;
|
|
2
2
|
//# sourceMappingURL=index.cjs730.js.map
|
package/dist/index.cjs731.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index.cjs764.js");var a;function u(){return a||(a=1,(function(i){Object.defineProperty(i,"__esModule",{value:!0}),i.Doctype=i.CDATA=i.Tag=i.Style=i.Script=i.Comment=i.Directive=i.Text=i.Root=i.isTag=i.ElementType=void 0;var t;(function(c){c.Root="root",c.Text="text",c.Directive="directive",c.Comment="comment",c.Script="script",c.Style="style",c.Tag="tag",c.CDATA="cdata",c.Doctype="doctype"})(t=i.ElementType||(i.ElementType={}));function n(c){return c.type===t.Tag||c.type===t.Script||c.type===t.Style}i.isTag=n,i.Root=t.Root,i.Text=t.Text,i.Directive=t.Directive,i.Comment=t.Comment,i.Script=t.Script,i.Style=t.Style,i.Tag=t.Tag,i.CDATA=t.CDATA,i.Doctype=t.Doctype})(e.__exports)),e.__exports}exports.__require=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs731.js.map
|
package/dist/index.cjs732.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs765.js"),d=require("./index.cjs766.js"),l=require("./index.cjs767.js"),s=require("./index.cjs768.js"),b=require("./index.cjs769.js"),q=require("./index.cjs770.js"),g=require("./index.cjs771.js"),m=require("./index.cjs772.js"),y=require("./index.cjs729.js");var a;function O(){return a||(a=1,(function(e){var f=u.__exports&&u.__exports.__createBinding||(Object.create?(function(_,n,r,t){t===void 0&&(t=r);var o=Object.getOwnPropertyDescriptor(n,r);(!o||("get"in o?!n.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return n[r]}}),Object.defineProperty(_,t,o)}):(function(_,n,r,t){t===void 0&&(t=r),_[t]=n[r]})),i=u.__exports&&u.__exports.__exportStar||function(_,n){for(var r in _)r!=="default"&&!Object.prototype.hasOwnProperty.call(n,r)&&f(n,_,r)};Object.defineProperty(e,"__esModule",{value:!0}),e.hasChildren=e.isDocument=e.isComment=e.isText=e.isCDATA=e.isTag=void 0,i(d.__require(),e),i(l.__require(),e),i(s.__require(),e),i(b.__require(),e),i(q.__require(),e),i(g.__require(),e),i(m.__require(),e);var c=y.__require();Object.defineProperty(e,"isTag",{enumerable:!0,get:function(){return c.isTag}}),Object.defineProperty(e,"isCDATA",{enumerable:!0,get:function(){return c.isCDATA}}),Object.defineProperty(e,"isText",{enumerable:!0,get:function(){return c.isText}}),Object.defineProperty(e,"isComment",{enumerable:!0,get:function(){return c.isComment}}),Object.defineProperty(e,"isDocument",{enumerable:!0,get:function(){return c.isDocument}}),Object.defineProperty(e,"hasChildren",{enumerable:!0,get:function(){return c.hasChildren}})})(u.__exports)),u.__exports}exports.__require=O;
|
|
2
2
|
//# sourceMappingURL=index.cjs732.js.map
|
package/dist/index.cjs737.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index.cjs736.js"),P=require("./index.cjs739.js"),D=require("./index.cjs745.js"),q=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index.cjs736.js"),P=require("./index.cjs739.js"),D=require("./index.cjs745.js"),q=require("./index.cjs773.js");var y,v;function E(){if(v)return y;v=1;let h=k.__require(),p=P.__require(),R=D.__require(),{isClean:x,my:d}=q.__require(),l,m,O,a;function w(s){return s.map(e=>(e.nodes&&(e.nodes=w(e.nodes)),delete e.source,e))}function g(s){if(s[x]=!1,s.proxyOf.nodes)for(let e of s.proxyOf.nodes)g(e)}class f extends R{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let i of r)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,i;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],i=e(this.proxyOf.nodes[r],r),i!==!1);)this.indexes[t]+=1;return delete this.indexes[t],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(i=>typeof i=="function"?(n,o)=>i(n.toProxy(),o):i)):t==="every"||t==="some"?r=>e[t]((i,...n)=>r(i.toProxy(),...n)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),i=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of i)this.proxyOf.nodes.splice(r+1,0,o);let n;for(let o in this.indexes)n=this.indexes[o],r<n&&(this.indexes[o]=n+i.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),i=r===0?"prepend":!1,n=this.normalize(t,this.proxyOf.nodes[r],i).reverse();r=this.index(e);for(let u of n)this.proxyOf.nodes.splice(r,0,u);let o;for(let u in this.indexes)o=this.indexes[u],r<=o&&(this.indexes[u]=o+n.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=w(m(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new p(e)]}else if(e.selector||e.selectors)e=[new a(e)];else if(e.name)e=[new l(e)];else if(e.text)e=[new h(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[d]||f.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[x]&&g(i),i.raws||(i.raws={}),typeof i.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(i.raws.before=t.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let i of r)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(i=>{t.props&&!t.props.includes(i.prop)||t.fast&&!i.value.includes(t.fast)||(i.value=i.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let i;try{i=e(t,r)}catch(n){throw t.addToError(n)}return i!==!1&&t.walk&&(i=t.walk(e)),i})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,i)}):this.walk((r,i)=>{if(r.type==="atrule"&&r.name===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="atrule")return t(r,i)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,i)}):this.walk((r,i)=>{if(r.type==="decl"&&r.prop===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="decl")return t(r,i)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,i)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,i)}):this.walk((r,i)=>{if(r.type==="rule"&&r.selector===e)return t(r,i)}):(t=e,this.walk((r,i)=>{if(r.type==="rule")return t(r,i)}))}}return f.registerParse=s=>{m=s},f.registerRule=s=>{a=s},f.registerAtRule=s=>{l=s},f.registerRoot=s=>{O=s},y=f,f.default=f,f.rebuild=s=>{s.type==="atrule"?Object.setPrototypeOf(s,l.prototype):s.type==="rule"?Object.setPrototypeOf(s,a.prototype):s.type==="decl"?Object.setPrototypeOf(s,p.prototype):s.type==="comment"?Object.setPrototypeOf(s,h.prototype):s.type==="root"&&Object.setPrototypeOf(s,O.prototype),s[d]=!0,s.nodes&&s.nodes.forEach(e=>{f.rebuild(e)})},y}exports.__require=E;
|
|
2
2
|
//# sourceMappingURL=index.cjs737.js.map
|
package/dist/index.cjs738.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.cjs774.js"),q=require("./index.cjs775.js");var d,S;function v(){if(S)return d;S=1;let g=_.__require(),m=q;class h extends Error{constructor(t,n,i,r,l,a){super(t),this.name="CssSyntaxError",this.reason=t,l&&(this.file=l),r&&(this.source=r),a&&(this.plugin=a),typeof n<"u"&&typeof i<"u"&&(typeof n=="number"?(this.line=n,this.column=i):(this.line=n.line,this.column=n.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,h)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let n=this.source;t==null&&(t=g.isColorSupported);let i=e=>e,r=e=>e,l=e=>e;if(t){let{bold:e,gray:c,red:o}=g.createColors(!0);r=s=>e(o(s)),i=s=>c(s),m&&(l=s=>m(s))}let a=n.split(/\r?\n/),f=Math.max(this.line-3,0),p=Math.min(this.line+2,a.length),y=String(p).length;return a.slice(f,p).map((e,c)=>{let o=f+1+c,s=" "+(" "+o).slice(-y)+" | ";if(o===this.line){if(e.length>160){let u=20,b=Math.max(0,this.column-u),C=Math.max(this.column+u,this.endColumn+u),E=e.slice(b,C),M=i(s.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,u-1)).replace(/[^\t]/g," ");return r(">")+i(s)+l(E)+`
|
|
2
2
|
`+M+r("^")}let x=i(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return r(">")+i(s)+l(e)+`
|
|
3
3
|
`+x+r("^")}return" "+i(s)+l(e)}).join(`
|
|
4
4
|
`)}toString(){let t=this.showSourceCode();return t&&(t=`
|
package/dist/index.cjs741.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs735.js"),y=require("./index.cjs736.js"),w=require("./index.cjs739.js"),S=require("./index.cjs742.js"),v=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const d=require("./index.cjs735.js"),y=require("./index.cjs736.js"),w=require("./index.cjs739.js"),S=require("./index.cjs742.js"),v=require("./index.cjs776.js"),O=require("./index.cjs749.js"),R=require("./index.cjs750.js");var n,p;function J(){if(p)return n;p=1;let _=d.__require(),a=y.__require(),s=w.__require(),c=S.__require(),f=v.__require(),q=O.__require(),m=R.__require();function u(o,i){if(Array.isArray(o))return o.map(r=>u(r));let{inputs:l,...e}=o;if(l){i=[];for(let r of l){let t={...r,__proto__:c.prototype};t.map&&(t.map={...t.map,__proto__:f.prototype}),i.push(t)}}if(e.nodes&&(e.nodes=o.nodes.map(r=>u(r,i))),e.source){let{inputId:r,...t}=e.source;e.source=t,r!=null&&(e.source.input=i[r])}if(e.type==="root")return new q(e);if(e.type==="decl")return new s(e);if(e.type==="rule")return new m(e);if(e.type==="comment")return new a(e);if(e.type==="atrule")return new _(e);throw new Error("Unknown node type: "+o.type)}return n=u,u.default=u,n}exports.__require=J;
|
|
2
2
|
//# sourceMappingURL=index.cjs741.js.map
|
package/dist/index.cjs742.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const A=require("./index.cjs777.js"),g=require("./index.cjs775.js"),P=require("./index.cjs738.js"),R=require("./index.cjs776.js");var v,_;function E(){if(_)return v;_=1;let{nanoid:F}=A.__require(),{isAbsolute:S,resolve:x}=g,{SourceMapConsumer:q,SourceMapGenerator:O}=g,{fileURLToPath:w,pathToFileURL:d}=g,y=P.__require(),T=R.__require(),C=g,b=Symbol("lineToIndexCache"),M=!!(q&&O),I=!!(x&&S);function L(a){if(a[b])return a[b];let i=a.css.split(`
|
|
2
2
|
`),e=new Array(i.length),t=0;for(let n=0,o=i.length;n<o;n++)e[n]=t,t+=i[n].length+1;return a[b]=e,e}class p{get from(){return this.file||this.id}constructor(i,e={}){if(i===null||typeof i>"u"||typeof i=="object"&&!i.toString)throw new Error(`PostCSS received ${i} instead of CSS string`);if(this.css=i.toString(),this.css[0]==="\uFEFF"||this.css[0]===""?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,e.document&&(this.document=e.document.toString()),e.from&&(!I||/^\w+:\/\//.test(e.from)||S(e.from)?this.file=e.from:this.file=x(e.from)),I&&M){let t=new T(this.css,e);if(t.text){this.map=t;let n=t.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+F(6)+">"),this.map&&(this.map.file=this.from)}error(i,e,t,n={}){let o,r,f,s,u;if(e&&typeof e=="object"){let h=e,m=t;if(typeof h.offset=="number"){s=h.offset;let c=this.fromOffset(s);e=c.line,t=c.col}else e=h.line,t=h.column,s=this.fromLineAndColumn(e,t);if(typeof m.offset=="number"){f=m.offset;let c=this.fromOffset(f);r=c.line,o=c.col}else r=m.line,o=m.column,f=this.fromLineAndColumn(m.line,m.column)}else if(t)s=this.fromLineAndColumn(e,t);else{s=e;let h=this.fromOffset(s);e=h.line,t=h.col}let l=this.origin(e,t,r,o);return l?u=new y(i,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,n.plugin):u=new y(i,r===void 0?e:{column:t,line:e},r===void 0?t:{column:o,line:r},this.css,this.file,n.plugin),u.input={column:t,endColumn:o,endLine:r,endOffset:f,line:e,offset:s,source:this.css},this.file&&(d&&(u.input.url=d(this.file).toString()),u.input.file=this.file),u}fromLineAndColumn(i,e){return L(this)[i-1]+e-1}fromOffset(i){let e=L(this),t=e[e.length-1],n=0;if(i>=t)n=e.length-1;else{let o=e.length-2,r;for(;n<o;)if(r=n+(o-n>>1),i<e[r])o=r-1;else if(i>=e[r+1])n=r+1;else{n=r;break}}return{col:i-e[n]+1,line:n+1}}mapResolve(i){return/^\w+:\/\//.test(i)?i:x(this.map.consumer().sourceRoot||this.map.root||".",i)}origin(i,e,t,n){if(!this.map)return!1;let o=this.map.consumer(),r=o.originalPositionFor({column:e,line:i});if(!r.source)return!1;let f;typeof t=="number"&&(f=o.originalPositionFor({column:n,line:t}));let s;S(r.source)?s=d(r.source):s=new URL(r.source,this.map.consumer().sourceRoot||d(this.map.mapFile));let u={column:r.column,endColumn:f&&f.column,endLine:f&&f.line,line:r.line,url:s.toString()};if(s.protocol==="file:")if(w)u.file=w(s);else throw new Error("file: protocol is not available in this PostCSS build");let l=o.sourceContentFor(r.source);return l&&(u.source=l),u}toJSON(){let i={};for(let e of["hasBOM","css","file","id"])this[e]!=null&&(i[e]=this[e]);return this.map&&(i.map={...this.map},i.map.consumerCache&&(i.map.consumerCache=void 0)),i}}return v=p,p.default=p,C&&C.registerInput&&C.registerInput(p),v}exports.__require=E;
|
|
3
3
|
//# sourceMappingURL=index.cjs742.js.map
|
package/dist/index.cjs743.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("./index.cjs737.js"),A=require("./index.cjs740.js"),D=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const L=require("./index.cjs737.js"),A=require("./index.cjs740.js"),D=require("./index.cjs778.js"),T=require("./index.cjs746.js"),V=require("./index.cjs748.js"),k=require("./index.cjs749.js"),N=require("./index.cjs751.js"),j=require("./index.cjs773.js"),z=require("./index.cjs779.js");var g,v;function $(){if(v)return g;v=1;let E=L.__require(),x=A.__require(),S=D.__require(),P=T.__require(),m=V.__require(),R=k.__require(),_=N.__require(),{isClean:l,my:O}=j.__require(),q=z.__require();const I={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},b={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},C={Once:!0,postcssPlugin:!0,prepare:!0},a=0;function c(n){return typeof n=="object"&&typeof n.then=="function"}function d(n){let e=!1,t=I[n.type];return n.type==="decl"?e=n.prop.toLowerCase():n.type==="atrule"&&(e=n.name.toLowerCase()),e&&n.append?[t,t+"-"+e,a,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:n.append?[t,a,t+"Exit"]:[t,t+"Exit"]}function w(n){let e;return n.type==="document"?e=["Document",a,"DocumentExit"]:n.type==="root"?e=["Root",a,"RootExit"]:e=d(n),{eventIndex:0,events:e,iterator:0,node:n,visitorIndex:0,visitors:[]}}function p(n){return n[l]=!1,n.nodes&&n.nodes.forEach(e=>p(e)),n}let y={};class h{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){this.stringified=!1,this.processed=!1;let s;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))s=p(t);else if(t instanceof h||t instanceof m)s=p(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let i=P;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{s=i(t,r)}catch(o){this.processed=!0,this.error=o}s&&!s[O]&&E.rebuild(s)}this.result=new m(e,s,r),this.helpers={...y,postcss:y,result:this.result},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=r.postcssPlugin,e.setMessage();else if(r.postcssVersion&&process.env.NODE_ENV!=="production"){let s=r.postcssPlugin,i=r.postcssVersion,o=this.result.processor.version,u=i.split("."),f=o.split(".");(u[0]!==f[0]||parseInt(u[1])>parseInt(f[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+s+" uses "+i+". Perhaps this is the source of the error below.")}}catch(s){console&&console.error&&console.error(s)}return e}prepareVisitors(){this.listeners={};let e=(t,r,s)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,s])};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!b[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!C[r])if(typeof t[r]=="object")for(let s in t[r])s==="*"?e(t,r,t[r][s]):e(t,r+"-"+s.toLowerCase(),t[r][s]);else typeof t[r]=="function"&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(c(r))try{await r}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];){e[l]=!0;let t=[w(e)];for(;t.length>0;){let r=this.visitTick(t);if(c(r))try{await r}catch(s){let i=t[t.length-1].node;throw this.handleError(s,i)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let s=e.nodes.map(i=>r(i,this.helpers));await Promise.all(s)}else await r(e,this.helpers)}catch(s){throw this.handleError(s)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return c(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=_;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new S(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(c(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[l];)e[l]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return process.env.NODE_ENV!=="production"&&("from"in this.opts||q("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,s]of e){this.result.lastPlugin=r;let i;try{i=s(t,this.helpers)}catch(o){throw this.handleError(o,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(c(i))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&t.visitorIndex<s.length){let[o,u]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=o;try{return u(r.toProxy(),this.helpers)}catch(f){throw this.handleError(f,r)}}if(t.iterator!==0){let o=t.iterator,u;for(;u=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!u[l]){u[l]=!0,e.push(w(u));return}t.iterator=0,delete r.indexes[o]}let i=t.events;for(;t.eventIndex<i.length;){let o=i[t.eventIndex];if(t.eventIndex+=1,o===a){r.nodes&&r.nodes.length&&(r[l]=!0,t.iterator=r.getIterator());return}else if(this.listeners[o]){t.visitors=this.listeners[o];return}}e.pop()}walkSync(e){e[l]=!0;let t=d(e);for(let r of t)if(r===a)e.nodes&&e.each(s=>{s[l]||this.walkSync(s)});else{let s=this.listeners[r];if(s&&this.visitSync(s,e.toProxy()))return}}warnings(){return this.sync().warnings()}}return h.registerPostcss=n=>{y=n},g=h,h.default=h,R.registerLazyResult(h),x.registerLazyResult(h),g}exports.__require=$;
|
|
2
2
|
//# sourceMappingURL=index.cjs743.js.map
|
package/dist/index.cjs745.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.cjs738.js"),O=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("./index.cjs738.js"),O=require("./index.cjs780.js"),S=require("./index.cjs751.js"),b=require("./index.cjs773.js");var d,m;function I(){if(m)return d;m=1;let y=g.__require(),p=O.__require(),x=S.__require(),{isClean:c,my:w}=b.__require();function a(u,e){let t=new u.constructor;for(let n in u){if(!Object.prototype.hasOwnProperty.call(u,n)||n==="proxyCache")continue;let i=u[n],r=typeof i;n==="parent"&&r==="object"?e&&(t[n]=e):n==="source"?t[n]=i:Array.isArray(i)?t[n]=i.map(s=>a(s,t)):(r==="object"&&i!==null&&(i=a(i)),t[n]=i)}return t}function l(u,e){if(e&&typeof e.offset<"u")return e.offset;let t=1,n=1,i=0;for(let r=0;r<u.length;r++){if(n===e.line&&t===e.column){i=r;break}u[r]===`
|
|
2
2
|
`?(t=1,n+=1):t+=1}return i}class h{get proxyOf(){return this}constructor(e={}){this.raws={},this[c]=!1,this[w]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let n of e[t])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=a(this);for(let n in e)t[n]=e[n];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:n,start:i}=this.rangeBy(t);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},t)}return new y(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,n){return e[t]===n||(e[t]=n,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markClean(){this[c]=!0}markDirty(){if(this[c]){this[c]=!1;let e=this;for(;e=e.parent;)e[c]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,r=n.slice(l(n,this.source.start),l(n,this.source.end)).indexOf(e.word);r!==-1&&(t=this.positionInside(r))}return t}positionInside(e){let t=this.source.start.column,n=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,r=l(i,this.source.start),s=r+e;for(let o=r;o<s;o++)i[o]===`
|
|
3
3
|
`?(t=1,n+=1):t+=1;return{column:t,line:n,offset:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,n={column:this.source.start.column,line:this.source.start.line,offset:l(t,this.source.start)},i=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:l(t,this.source.end)+1}:{column:n.column+1,line:n.line,offset:n.offset+1};if(e.word){let s=t.slice(l(t,this.source.start),l(t,this.source.end)).indexOf(e.word);s!==-1&&(n=this.positionInside(s),i=this.positionInside(s+e.word.length))}else e.start?n={column:e.start.column,line:e.start.line,offset:l(t,e.start)}:e.index&&(n=this.positionInside(e.index)),e.end?i={column:e.end.column,line:e.end.line,offset:l(t,e.end)}:typeof e.endIndex=="number"?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<n.line||i.line===n.line&&i.column<=n.column)&&(i={column:n.column+1,line:n.line,offset:n.offset+1}),{end:i,start:n}}raw(e,t){return new p().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(t,i),t=i):this.parent.insertBefore(t,i);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let n={},i=t==null;t=t||new Map;let r=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let o=this[s];if(Array.isArray(o))n[s]=o.map(f=>typeof f=="object"&&f.toJSON?f.toJSON(null,t):f);else if(typeof o=="object"&&o.toJSON)n[s]=o.toJSON(null,t);else if(s==="source"){if(o==null)continue;let f=t.get(o.input);f==null&&(f=r,t.set(o.input,r),r++),n[s]={end:o.end,inputId:f,start:o.start}}else n[s]=o}return i&&(n.inputs=[...t.keys()].map(s=>s.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=x){e.stringify&&(e=e.stringify);let t="";return e(this,n=>{t+=n}),t}warn(e,t,n={}){let i={node:this};for(let r in n)i[r]=n[r];return e.warn(t,i)}}return d=h,h.default=h,d}exports.__require=I;
|
|
4
4
|
//# sourceMappingURL=index.cjs745.js.map
|
package/dist/index.cjs746.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs737.js"),d=require("./index.cjs742.js"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs737.js"),d=require("./index.cjs742.js"),f=require("./index.cjs781.js");var t,i;function l(){if(i)return t;i=1;let n=h.__require(),o=d.__require(),u=f.__require();function s(p,e){let c=new o(p,e),a=new u(c);try{a.parse()}catch(r){throw process.env.NODE_ENV!=="production"&&r.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?r.message+=`
|
|
2
2
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?r.message+=`
|
|
3
3
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(r.message+=`
|
|
4
4
|
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),r}return a.root}return t=s,s.default=s,n.registerParse(s),t}exports.__require=l;
|
package/dist/index.cjs747.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs740.js"),p=require("./index.cjs743.js"),f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs740.js"),p=require("./index.cjs743.js"),f=require("./index.cjs782.js"),g=require("./index.cjs749.js");var o,i;function h(){if(i)return o;i=1;let n=a.__require(),u=p.__require(),l=f.__require(),c=g.__require();class t{constructor(s=[]){this.version="8.5.8",this.plugins=this.normalize(s)}normalize(s){let r=[];for(let e of s)if(e.postcss===!0?e=e():e.postcss&&(e=e.postcss),typeof e=="object"&&Array.isArray(e.plugins))r=r.concat(e.plugins);else if(typeof e=="object"&&e.postcssPlugin)r.push(e);else if(typeof e=="function")r.push(e);else if(typeof e=="object"&&(e.parse||e.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(e+" is not a PostCSS plugin");return r}process(s,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new l(this,s,r):new u(this,s,r)}use(s){return this.plugins=this.plugins.concat(this.normalize([s])),this}}return o=t,t.default=t,c.registerProcessor(t),n.registerProcessor(t),o}exports.__require=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs747.js.map
|
package/dist/index.cjs751.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const f=require("./index.cjs780.js");var i,e;function s(){if(e)return i;e=1;let t=f.__require();function r(n,u){new t(u).stringify(n)}return i=r,r.default=r,i}exports.__require=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs751.js.map
|
package/dist/index.cjs753.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"});function n(t,[e,a]){return Math.min(a,Math.max(e,t))}exports.clamp=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs753.js.map
|
package/dist/index.cjs753.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs753.js","sources":["../node_modules/@floating-ui/core/dist/floating-ui.core.mjs"],"sourcesContent":["import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n let {\n reference,\n floating\n } = _ref;\n const sideAxis = getSideAxis(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const alignLength = getAxisLength(alignmentAxis);\n const side = getSide(placement);\n const isVertical = sideAxis === 'y';\n const commonX = reference.x + reference.width / 2 - floating.width / 2;\n const commonY = reference.y + reference.height / 2 - floating.height / 2;\n const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n let coords;\n switch (side) {\n case 'top':\n coords = {\n x: commonX,\n y: reference.y - floating.height\n };\n break;\n case 'bottom':\n coords = {\n x: commonX,\n y: reference.y + reference.height\n };\n break;\n case 'right':\n coords = {\n x: reference.x + reference.width,\n y: commonY\n };\n break;\n case 'left':\n coords = {\n x: reference.x - floating.width,\n y: commonY\n };\n break;\n default:\n coords = {\n x: reference.x,\n y: reference.y\n };\n }\n switch (getAlignment(placement)) {\n case 'start':\n coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n case 'end':\n coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n break;\n }\n return coords;\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n var _await$platform$isEle;\n if (options === void 0) {\n options = {};\n }\n const {\n x,\n y,\n platform,\n rects,\n elements,\n strategy\n } = state;\n const {\n boundary = 'clippingAncestors',\n rootBoundary = 'viewport',\n elementContext = 'floating',\n altBoundary = false,\n padding = 0\n } = evaluate(options, state);\n const paddingObject = getPaddingObject(padding);\n const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n const element = elements[altBoundary ? altContext : elementContext];\n const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n boundary,\n rootBoundary,\n strategy\n }));\n const rect = elementContext === 'floating' ? {\n x,\n y,\n width: rects.floating.width,\n height: rects.floating.height\n } : rects.reference;\n const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n x: 1,\n y: 1\n } : {\n x: 1,\n y: 1\n };\n const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n elements,\n rect,\n offsetParent,\n strategy\n }) : rect);\n return {\n top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n };\n}\n\n// Maximum number of resets that can occur before bailing to avoid infinite reset loops.\nconst MAX_RESET_COUNT = 50;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n const {\n placement = 'bottom',\n strategy = 'absolute',\n middleware = [],\n platform\n } = config;\n const platformWithDetectOverflow = platform.detectOverflow ? platform : {\n ...platform,\n detectOverflow\n };\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n let rects = await platform.getElementRects({\n reference,\n floating,\n strategy\n });\n let {\n x,\n y\n } = computeCoordsFromPlacement(rects, placement, rtl);\n let statefulPlacement = placement;\n let resetCount = 0;\n const middlewareData = {};\n for (let i = 0; i < middleware.length; i++) {\n const currentMiddleware = middleware[i];\n if (!currentMiddleware) {\n continue;\n }\n const {\n name,\n fn\n } = currentMiddleware;\n const {\n x: nextX,\n y: nextY,\n data,\n reset\n } = await fn({\n x,\n y,\n initialPlacement: placement,\n placement: statefulPlacement,\n strategy,\n middlewareData,\n rects,\n platform: platformWithDetectOverflow,\n elements: {\n reference,\n floating\n }\n });\n x = nextX != null ? nextX : x;\n y = nextY != null ? nextY : y;\n middlewareData[name] = {\n ...middlewareData[name],\n ...data\n };\n if (reset && resetCount < MAX_RESET_COUNT) {\n resetCount++;\n if (typeof reset === 'object') {\n if (reset.placement) {\n statefulPlacement = reset.placement;\n }\n if (reset.rects) {\n rects = reset.rects === true ? await platform.getElementRects({\n reference,\n floating,\n strategy\n }) : reset.rects;\n }\n ({\n x,\n y\n } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n }\n i = -1;\n }\n }\n return {\n x,\n y,\n placement: statefulPlacement,\n strategy,\n middlewareData\n };\n};\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n name: 'arrow',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n platform,\n elements,\n middlewareData\n } = state;\n // Since `element` is required, we don't Partial<> the type.\n const {\n element,\n padding = 0\n } = evaluate(options, state) || {};\n if (element == null) {\n return {};\n }\n const paddingObject = getPaddingObject(padding);\n const coords = {\n x,\n y\n };\n const axis = getAlignmentAxis(placement);\n const length = getAxisLength(axis);\n const arrowDimensions = await platform.getDimensions(element);\n const isYAxis = axis === 'y';\n const minProp = isYAxis ? 'top' : 'left';\n const maxProp = isYAxis ? 'bottom' : 'right';\n const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n const startDiff = coords[axis] - rects.reference[axis];\n const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n // DOM platform can return `window` as the `offsetParent`.\n if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n clientSize = elements.floating[clientProp] || rects.floating[length];\n }\n const centerToReference = endDiff / 2 - startDiff / 2;\n\n // If the padding is large enough that it causes the arrow to no longer be\n // centered, modify the padding so that it is centered.\n const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n // Make sure the arrow doesn't overflow the floating element if the center\n // point is outside the floating element's bounds.\n const min$1 = minPadding;\n const max = clientSize - arrowDimensions[length] - maxPadding;\n const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n const offset = clamp(min$1, center, max);\n\n // If the reference is small enough that the arrow's padding causes it to\n // to point to nothing for an aligned placement, adjust the offset of the\n // floating element itself. To ensure `shift()` continues to take action,\n // a single reset is performed when this is true.\n const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n return {\n [axis]: coords[axis] + alignmentOffset,\n data: {\n [axis]: offset,\n centerOffset: center - offset - alignmentOffset,\n ...(shouldAddOffset && {\n alignmentOffset\n })\n },\n reset: shouldAddOffset\n };\n }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n return allowedPlacementsSortedByAlignment.filter(placement => {\n if (alignment) {\n return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n }\n return true;\n });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'autoPlacement',\n options,\n async fn(state) {\n var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n const {\n rects,\n middlewareData,\n placement,\n platform,\n elements\n } = state;\n const {\n crossAxis = false,\n alignment,\n allowedPlacements = placements,\n autoAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n const currentPlacement = placements$1[currentIndex];\n if (currentPlacement == null) {\n return {};\n }\n const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n // Make `computeCoords` start from the right place.\n if (placement !== currentPlacement) {\n return {\n reset: {\n placement: placements$1[0]\n }\n };\n }\n const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n placement: currentPlacement,\n overflows: currentOverflows\n }];\n const nextPlacement = placements$1[currentIndex + 1];\n\n // There are more placements to check.\n if (nextPlacement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n const placementsSortedByMostSpace = allOverflows.map(d => {\n const alignment = getAlignment(d.placement);\n return [d.placement, alignment && crossAxis ?\n // Check along the mainAxis and main crossAxis side.\n d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n // Check only the mainAxis.\n d.overflows[0], d.overflows];\n }).sort((a, b) => a[1] - b[1]);\n const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n // Aligned placements should not check their opposite crossAxis\n // side.\n getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n if (resetPlacement !== placement) {\n return {\n data: {\n index: currentIndex + 1,\n overflows: allOverflows\n },\n reset: {\n placement: resetPlacement\n }\n };\n }\n return {};\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'flip',\n options,\n async fn(state) {\n var _middlewareData$arrow, _middlewareData$flip;\n const {\n placement,\n middlewareData,\n rects,\n initialPlacement,\n platform,\n elements\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true,\n fallbackPlacements: specifiedFallbackPlacements,\n fallbackStrategy = 'bestFit',\n fallbackAxisSideDirection = 'none',\n flipAlignment = true,\n ...detectOverflowOptions\n } = evaluate(options, state);\n\n // If a reset by the arrow was caused due to an alignment offset being\n // added, we should skip any logic now since `flip()` has already done its\n // work.\n // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n const side = getSide(placement);\n const initialSideAxis = getSideAxis(initialPlacement);\n const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n }\n const placements = [initialPlacement, ...fallbackPlacements];\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const overflows = [];\n let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n if (checkMainAxis) {\n overflows.push(overflow[side]);\n }\n if (checkCrossAxis) {\n const sides = getAlignmentSides(placement, rects, rtl);\n overflows.push(overflow[sides[0]], overflow[sides[1]]);\n }\n overflowsData = [...overflowsData, {\n placement,\n overflows\n }];\n\n // One or more sides is overflowing.\n if (!overflows.every(side => side <= 0)) {\n var _middlewareData$flip2, _overflowsData$filter;\n const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n const nextPlacement = placements[nextIndex];\n if (nextPlacement) {\n const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;\n if (!ignoreCrossAxisOverflow ||\n // We leave the current main axis only if every placement on that axis\n // overflows the main axis.\n overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {\n // Try next placement and re-run the lifecycle.\n return {\n data: {\n index: nextIndex,\n overflows: overflowsData\n },\n reset: {\n placement: nextPlacement\n }\n };\n }\n }\n\n // First, find the candidates that fit on the mainAxis side of overflow,\n // then find the placement that fits the best on the main crossAxis side.\n let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n // Otherwise fallback.\n if (!resetPlacement) {\n switch (fallbackStrategy) {\n case 'bestFit':\n {\n var _overflowsData$filter2;\n const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n if (hasFallbackAxisSideDirection) {\n const currentSideAxis = getSideAxis(d.placement);\n return currentSideAxis === initialSideAxis ||\n // Create a bias to the `y` side axis due to horizontal\n // reading directions favoring greater width.\n currentSideAxis === 'y';\n }\n return true;\n }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n if (placement) {\n resetPlacement = placement;\n }\n break;\n }\n case 'initialPlacement':\n resetPlacement = initialPlacement;\n break;\n }\n }\n if (placement !== resetPlacement) {\n return {\n reset: {\n placement: resetPlacement\n }\n };\n }\n }\n return {};\n }\n };\n};\n\nfunction getSideOffsets(overflow, rect) {\n return {\n top: overflow.top - rect.height,\n right: overflow.right - rect.width,\n bottom: overflow.bottom - rect.height,\n left: overflow.left - rect.width\n };\n}\nfunction isAnySideFullyClipped(overflow) {\n return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'hide',\n options,\n async fn(state) {\n const {\n rects,\n platform\n } = state;\n const {\n strategy = 'referenceHidden',\n ...detectOverflowOptions\n } = evaluate(options, state);\n switch (strategy) {\n case 'referenceHidden':\n {\n const overflow = await platform.detectOverflow(state, {\n ...detectOverflowOptions,\n elementContext: 'reference'\n });\n const offsets = getSideOffsets(overflow, rects.reference);\n return {\n data: {\n referenceHiddenOffsets: offsets,\n referenceHidden: isAnySideFullyClipped(offsets)\n }\n };\n }\n case 'escaped':\n {\n const overflow = await platform.detectOverflow(state, {\n ...detectOverflowOptions,\n altBoundary: true\n });\n const offsets = getSideOffsets(overflow, rects.floating);\n return {\n data: {\n escapedOffsets: offsets,\n escaped: isAnySideFullyClipped(offsets)\n }\n };\n }\n default:\n {\n return {};\n }\n }\n }\n };\n};\n\nfunction getBoundingRect(rects) {\n const minX = min(...rects.map(rect => rect.left));\n const minY = min(...rects.map(rect => rect.top));\n const maxX = max(...rects.map(rect => rect.right));\n const maxY = max(...rects.map(rect => rect.bottom));\n return {\n x: minX,\n y: minY,\n width: maxX - minX,\n height: maxY - minY\n };\n}\nfunction getRectsByLine(rects) {\n const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n const groups = [];\n let prevRect = null;\n for (let i = 0; i < sortedRects.length; i++) {\n const rect = sortedRects[i];\n if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n groups.push([rect]);\n } else {\n groups[groups.length - 1].push(rect);\n }\n prevRect = rect;\n }\n return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'inline',\n options,\n async fn(state) {\n const {\n placement,\n elements,\n rects,\n platform,\n strategy\n } = state;\n // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n // ClientRect's bounds, despite the event listener being triggered. A\n // padding of 2 seems to handle this issue.\n const {\n padding = 2,\n x,\n y\n } = evaluate(options, state);\n const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n const clientRects = getRectsByLine(nativeClientRects);\n const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n const paddingObject = getPaddingObject(padding);\n function getBoundingClientRect() {\n // There are two rects and they are disjoined.\n if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n // Find the first rect in which the point is fully inside.\n return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n }\n\n // There are 2 or more connected rects.\n if (clientRects.length >= 2) {\n if (getSideAxis(placement) === 'y') {\n const firstRect = clientRects[0];\n const lastRect = clientRects[clientRects.length - 1];\n const isTop = getSide(placement) === 'top';\n const top = firstRect.top;\n const bottom = lastRect.bottom;\n const left = isTop ? firstRect.left : lastRect.left;\n const right = isTop ? firstRect.right : lastRect.right;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n const isLeftSide = getSide(placement) === 'left';\n const maxRight = max(...clientRects.map(rect => rect.right));\n const minLeft = min(...clientRects.map(rect => rect.left));\n const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n const top = measureRects[0].top;\n const bottom = measureRects[measureRects.length - 1].bottom;\n const left = minLeft;\n const right = maxRight;\n const width = right - left;\n const height = bottom - top;\n return {\n top,\n bottom,\n left,\n right,\n width,\n height,\n x: left,\n y: top\n };\n }\n return fallback;\n }\n const resetRects = await platform.getElementRects({\n reference: {\n getBoundingClientRect\n },\n floating: elements.floating,\n strategy\n });\n if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n return {\n reset: {\n rects: resetRects\n }\n };\n }\n return {};\n }\n };\n};\n\nconst originSides = /*#__PURE__*/new Set(['left', 'top']);\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n const {\n placement,\n platform,\n elements\n } = state;\n const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isVertical = getSideAxis(placement) === 'y';\n const mainAxisMulti = originSides.has(side) ? -1 : 1;\n const crossAxisMulti = rtl && isVertical ? -1 : 1;\n const rawValue = evaluate(options, state);\n\n // eslint-disable-next-line prefer-const\n let {\n mainAxis,\n crossAxis,\n alignmentAxis\n } = typeof rawValue === 'number' ? {\n mainAxis: rawValue,\n crossAxis: 0,\n alignmentAxis: null\n } : {\n mainAxis: rawValue.mainAxis || 0,\n crossAxis: rawValue.crossAxis || 0,\n alignmentAxis: rawValue.alignmentAxis\n };\n if (alignment && typeof alignmentAxis === 'number') {\n crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n }\n return isVertical ? {\n x: crossAxis * crossAxisMulti,\n y: mainAxis * mainAxisMulti\n } : {\n x: mainAxis * mainAxisMulti,\n y: crossAxis * crossAxisMulti\n };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n if (options === void 0) {\n options = 0;\n }\n return {\n name: 'offset',\n options,\n async fn(state) {\n var _middlewareData$offse, _middlewareData$arrow;\n const {\n x,\n y,\n placement,\n middlewareData\n } = state;\n const diffCoords = await convertValueToCoords(state, options);\n\n // If the placement is the same and the arrow caused an alignment offset\n // then we don't need to change the positioning coordinates.\n if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n return {};\n }\n return {\n x: x + diffCoords.x,\n y: y + diffCoords.y,\n data: {\n ...diffCoords,\n placement\n }\n };\n }\n };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'shift',\n options,\n async fn(state) {\n const {\n x,\n y,\n placement,\n platform\n } = state;\n const {\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = false,\n limiter = {\n fn: _ref => {\n let {\n x,\n y\n } = _ref;\n return {\n x,\n y\n };\n }\n },\n ...detectOverflowOptions\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const crossAxis = getSideAxis(getSide(placement));\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n if (checkMainAxis) {\n const minSide = mainAxis === 'y' ? 'top' : 'left';\n const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n const min = mainAxisCoord + overflow[minSide];\n const max = mainAxisCoord - overflow[maxSide];\n mainAxisCoord = clamp(min, mainAxisCoord, max);\n }\n if (checkCrossAxis) {\n const minSide = crossAxis === 'y' ? 'top' : 'left';\n const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n const min = crossAxisCoord + overflow[minSide];\n const max = crossAxisCoord - overflow[maxSide];\n crossAxisCoord = clamp(min, crossAxisCoord, max);\n }\n const limitedCoords = limiter.fn({\n ...state,\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n });\n return {\n ...limitedCoords,\n data: {\n x: limitedCoords.x - x,\n y: limitedCoords.y - y,\n enabled: {\n [mainAxis]: checkMainAxis,\n [crossAxis]: checkCrossAxis\n }\n }\n };\n }\n };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n options,\n fn(state) {\n const {\n x,\n y,\n placement,\n rects,\n middlewareData\n } = state;\n const {\n offset = 0,\n mainAxis: checkMainAxis = true,\n crossAxis: checkCrossAxis = true\n } = evaluate(options, state);\n const coords = {\n x,\n y\n };\n const crossAxis = getSideAxis(placement);\n const mainAxis = getOppositeAxis(crossAxis);\n let mainAxisCoord = coords[mainAxis];\n let crossAxisCoord = coords[crossAxis];\n const rawOffset = evaluate(offset, state);\n const computedOffset = typeof rawOffset === 'number' ? {\n mainAxis: rawOffset,\n crossAxis: 0\n } : {\n mainAxis: 0,\n crossAxis: 0,\n ...rawOffset\n };\n if (checkMainAxis) {\n const len = mainAxis === 'y' ? 'height' : 'width';\n const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n if (mainAxisCoord < limitMin) {\n mainAxisCoord = limitMin;\n } else if (mainAxisCoord > limitMax) {\n mainAxisCoord = limitMax;\n }\n }\n if (checkCrossAxis) {\n var _middlewareData$offse, _middlewareData$offse2;\n const len = mainAxis === 'y' ? 'width' : 'height';\n const isOriginSide = originSides.has(getSide(placement));\n const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n if (crossAxisCoord < limitMin) {\n crossAxisCoord = limitMin;\n } else if (crossAxisCoord > limitMax) {\n crossAxisCoord = limitMax;\n }\n }\n return {\n [mainAxis]: mainAxisCoord,\n [crossAxis]: crossAxisCoord\n };\n }\n };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n if (options === void 0) {\n options = {};\n }\n return {\n name: 'size',\n options,\n async fn(state) {\n var _state$middlewareData, _state$middlewareData2;\n const {\n placement,\n rects,\n platform,\n elements\n } = state;\n const {\n apply = () => {},\n ...detectOverflowOptions\n } = evaluate(options, state);\n const overflow = await platform.detectOverflow(state, detectOverflowOptions);\n const side = getSide(placement);\n const alignment = getAlignment(placement);\n const isYAxis = getSideAxis(placement) === 'y';\n const {\n width,\n height\n } = rects.floating;\n let heightSide;\n let widthSide;\n if (side === 'top' || side === 'bottom') {\n heightSide = side;\n widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n } else {\n widthSide = side;\n heightSide = alignment === 'end' ? 'top' : 'bottom';\n }\n const maximumClippingHeight = height - overflow.top - overflow.bottom;\n const maximumClippingWidth = width - overflow.left - overflow.right;\n const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n const noShift = !state.middlewareData.shift;\n let availableHeight = overflowAvailableHeight;\n let availableWidth = overflowAvailableWidth;\n if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n availableWidth = maximumClippingWidth;\n }\n if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n availableHeight = maximumClippingHeight;\n }\n if (noShift && !alignment) {\n const xMin = max(overflow.left, 0);\n const xMax = max(overflow.right, 0);\n const yMin = max(overflow.top, 0);\n const yMax = max(overflow.bottom, 0);\n if (isYAxis) {\n availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n } else {\n availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n }\n }\n await apply({\n ...state,\n availableWidth,\n availableHeight\n });\n const nextDimensions = await platform.getDimensions(elements.floating);\n if (width !== nextDimensions.width || height !== nextDimensions.height) {\n return {\n reset: {\n rects: true\n }\n };\n }\n return {};\n }\n };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n"],"names":["computeCoordsFromPlacement","_ref","placement","rtl","reference","floating","sideAxis","getSideAxis","alignmentAxis","getAlignmentAxis","alignLength","getAxisLength","side","getSide","isVertical","commonX","commonY","commonAlign","coords","getAlignment","detectOverflow","state","options","_await$platform$isEle","x","y","platform","rects","elements","strategy","boundary","rootBoundary","elementContext","altBoundary","padding","evaluate","paddingObject","getPaddingObject","element","clippingClientRect","rectToClientRect","rect","offsetParent","offsetScale","elementClientRect","MAX_RESET_COUNT","computePosition","config","middleware","platformWithDetectOverflow","statefulPlacement","resetCount","middlewareData","i","currentMiddleware","name","fn","nextX","nextY","data","reset","arrow","axis","length","arrowDimensions","isYAxis","minProp","maxProp","clientProp","endDiff","startDiff","arrowOffsetParent","clientSize","centerToReference","largestPossiblePadding","minPadding","min","maxPadding","min$1","max","center","offset","clamp","shouldAddOffset","alignmentOffset","flip","_middlewareData$arrow","_middlewareData$flip","initialPlacement","checkMainAxis","checkCrossAxis","specifiedFallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment","detectOverflowOptions","initialSideAxis","isBasePlacement","fallbackPlacements","getOppositePlacement","getExpandedPlacements","hasFallbackAxisSideDirection","getOppositeAxisPlacements","placements","overflow","overflows","overflowsData","sides","getAlignmentSides","_middlewareData$flip2","_overflowsData$filter","nextIndex","nextPlacement","d","resetPlacement","a","b","_overflowsData$filter2","currentSideAxis","acc","getSideOffsets","isAnySideFullyClipped","hide","offsets","originSides","convertValueToCoords","alignment","mainAxisMulti","crossAxisMulti","rawValue","mainAxis","crossAxis","_middlewareData$offse","diffCoords","shift","limiter","getOppositeAxis","mainAxisCoord","crossAxisCoord","minSide","maxSide","limitedCoords","limitShift","rawOffset","computedOffset","len","limitMin","limitMax","_middlewareData$offse2","isOriginSide","size","_state$middlewareData","_state$middlewareData2","apply","width","height","heightSide","widthSide","maximumClippingHeight","maximumClippingWidth","overflowAvailableHeight","overflowAvailableWidth","noShift","availableHeight","availableWidth","xMin","xMax","yMin","yMax","nextDimensions"],"mappings":"qHAGA,SAASA,EAA2BC,EAAMC,EAAWC,EAAK,CACxD,GAAI,CACF,UAAAC,EACA,SAAAC,CACJ,EAAMJ,EACJ,MAAMK,EAAWC,EAAAA,YAAYL,CAAS,EAChCM,EAAgBC,EAAAA,iBAAiBP,CAAS,EAC1CQ,EAAcC,EAAAA,cAAcH,CAAa,EACzCI,EAAOC,EAAAA,QAAQX,CAAS,EACxBY,EAAaR,IAAa,IAC1BS,EAAUX,EAAU,EAAIA,EAAU,MAAQ,EAAIC,EAAS,MAAQ,EAC/DW,EAAUZ,EAAU,EAAIA,EAAU,OAAS,EAAIC,EAAS,OAAS,EACjEY,EAAcb,EAAUM,CAAW,EAAI,EAAIL,EAASK,CAAW,EAAI,EACzE,IAAIQ,EACJ,OAAQN,EAAI,CACV,IAAK,MACHM,EAAS,CACP,EAAGH,EACH,EAAGX,EAAU,EAAIC,EAAS,MAClC,EACM,MACF,IAAK,SACHa,EAAS,CACP,EAAGH,EACH,EAAGX,EAAU,EAAIA,EAAU,MACnC,EACM,MACF,IAAK,QACHc,EAAS,CACP,EAAGd,EAAU,EAAIA,EAAU,MAC3B,EAAGY,CACX,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AA,IAAIyB,EAAS,KAAM,CAAC,EAC3B8D,EAAOvF,EAAAA,IAAIyB,EAAS,MAAO,CAAC,EAC5B+D,EAAOxF,EAAAA,IAAIyB,EAAS,IAAK,CAAC,EAC1BgE,EAAOzF,EAAAA,IAAIyB,EAAS,OAAQ,CAAC,EAC/BvC,EACFmG,EAAiBV,EAAQ,GAAKW,IAAS,GAAKC,IAAS,EAAID,EAAOC,EAAOvF,EAAAA,IAAIyB,EAAS,KAAMA,EAAS,KAAK,GAExG2D,EAAkBR,EAAS,GAAKY,IAAS,GAAKC,IAAS,EAAID,EAAOC,EAAOzF,EAAAA,IAAIyB,EAAS,IAAKA,EAAS,MAAM,EAE9G,CACA,MAAMiD,EAAM,CACV,GAAGpI,EACH,eAAA+I,EACA,gBAAAD,CACR,CAAO,EACD,MAAMM,EAAiB,MAAM/I,EAAS,cAAcE,EAAS,QAAQ,EACrE,OAAI8H,IAAUe,EAAe,OAASd,IAAWc,EAAe,OACvD,CACL,MAAO,CACL,MAAO,EACnB,CACA,EAEa,CAAA,CACT,CACJ,CACA","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs753.js","sources":["../node_modules/@radix-ui/number/dist/index.mjs"],"sourcesContent":["// packages/core/number/src/number.ts\nfunction clamp(value, [min, max]) {\n return Math.min(max, Math.max(min, value));\n}\nexport {\n clamp\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["clamp","value","min","max"],"mappings":"gFACA,SAASA,EAAMC,EAAO,CAACC,EAAKC,CAAG,EAAG,CAChC,OAAO,KAAK,IAAIA,EAAK,KAAK,IAAID,EAAKD,CAAK,CAAC,CAC3C","x_google_ignoreList":[0]}
|
package/dist/index.cjs754.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=["gray","gold","bronze","brown","yellow","amber","orange","tomato","red","ruby","crimson","pink","plum","purple","violet","iris","indigo","blue","cyan","teal","jade","green","grass","lime","mint","sky"],o={color:{type:"enum",values:e,default:""}};exports.accentColorPropDef=o;exports.accentColors=e;
|
|
2
2
|
//# sourceMappingURL=index.cjs754.js.map
|