@performant-software/core-data 2.2.5-beta.1 → 2.2.5-beta.3
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.cjs101.js +1 -1
- package/dist/index.cjs102.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs141.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs150.js.map +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs151.js.map +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs152.js.map +1 -1
- package/dist/index.cjs153.js +6 -1
- package/dist/index.cjs153.js.map +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs154.js.map +1 -1
- package/dist/index.cjs155.js +2 -1
- package/dist/index.cjs155.js.map +1 -1
- package/dist/index.cjs156.js +3 -1
- package/dist/index.cjs156.js.map +1 -1
- package/dist/index.cjs157.js +1 -6
- package/dist/index.cjs157.js.map +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs158.js.map +1 -1
- package/dist/index.cjs159.js +8 -2
- package/dist/index.cjs159.js.map +1 -1
- package/dist/index.cjs160.js +13 -3
- package/dist/index.cjs160.js.map +1 -1
- package/dist/index.cjs161.js +1 -1
- package/dist/index.cjs161.js.map +1 -1
- package/dist/index.cjs162.js +17 -1
- package/dist/index.cjs162.js.map +1 -1
- package/dist/index.cjs163.js +1 -8
- package/dist/index.cjs163.js.map +1 -1
- package/dist/index.cjs164.js +1 -13
- package/dist/index.cjs164.js.map +1 -1
- package/dist/index.cjs165.js +1 -1
- package/dist/index.cjs165.js.map +1 -1
- package/dist/index.cjs166.js +1 -17
- package/dist/index.cjs166.js.map +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs167.js.map +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs168.js.map +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs169.js.map +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs170.js.map +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs171.js.map +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs172.js.map +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs295.js.map +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs297.js.map +1 -1
- package/dist/index.cjs298.js +1 -6
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +1 -6
- package/dist/index.cjs299.js.map +1 -1
- package/dist/index.cjs300.js +1 -1
- package/dist/index.cjs300.js.map +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs301.js.map +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs302.js.map +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs303.js.map +1 -1
- package/dist/index.cjs304.js +1 -1
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs309.js +6 -1
- package/dist/index.cjs309.js.map +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs310.js.map +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs311.js.map +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +1 -6
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +2 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +4 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs323.js +2 -1
- package/dist/index.cjs323.js.map +1 -1
- package/dist/index.cjs324.js +1 -1
- package/dist/index.cjs324.js.map +1 -1
- package/dist/index.cjs325.js +1 -1
- package/dist/index.cjs325.js.map +1 -1
- package/dist/index.cjs326.js +2 -2
- package/dist/index.cjs326.js.map +1 -1
- package/dist/index.cjs327.js +6 -4
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +6 -2
- package/dist/index.cjs328.js.map +1 -1
- package/dist/index.cjs329.js +1 -1
- package/dist/index.cjs329.js.map +1 -1
- package/dist/index.cjs330.js +1 -1
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -2
- package/dist/index.cjs331.js.map +1 -1
- package/dist/index.cjs332.js +1 -1
- package/dist/index.cjs332.js.map +1 -1
- package/dist/index.cjs333.js +1 -1
- package/dist/index.cjs333.js.map +1 -1
- package/dist/index.cjs334.js +1 -1
- package/dist/index.cjs334.js.map +1 -1
- package/dist/index.cjs335.js +1 -1
- package/dist/index.cjs335.js.map +1 -1
- package/dist/index.cjs336.js +1 -1
- package/dist/index.cjs336.js.map +1 -1
- package/dist/index.cjs337.js +1 -1
- package/dist/index.cjs337.js.map +1 -1
- package/dist/index.cjs338.js +1 -1
- package/dist/index.cjs338.js.map +1 -1
- package/dist/index.cjs339.js +1 -1
- package/dist/index.cjs339.js.map +1 -1
- package/dist/index.cjs340.js +1 -1
- package/dist/index.cjs340.js.map +1 -1
- package/dist/index.cjs341.js +1 -1
- package/dist/index.cjs341.js.map +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs342.js.map +1 -1
- package/dist/index.cjs343.js +1 -1
- package/dist/index.cjs343.js.map +1 -1
- package/dist/index.cjs344.js +1 -1
- package/dist/index.cjs344.js.map +1 -1
- package/dist/index.cjs345.js +1 -1
- package/dist/index.cjs345.js.map +1 -1
- package/dist/index.cjs346.js +1 -1
- package/dist/index.cjs346.js.map +1 -1
- package/dist/index.cjs347.js +1 -1
- package/dist/index.cjs347.js.map +1 -1
- package/dist/index.cjs348.js +1 -1
- package/dist/index.cjs348.js.map +1 -1
- package/dist/index.cjs349.js +1 -1
- package/dist/index.cjs349.js.map +1 -1
- package/dist/index.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs351.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs354.js.map +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs355.js.map +1 -1
- package/dist/index.cjs356.js +1 -1
- package/dist/index.cjs356.js.map +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs366.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs369.js +1 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs371.js.map +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs372.js.map +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs376.js.map +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs381.js.map +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs383.js +1 -1
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs384.js +1 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs385.js.map +1 -1
- package/dist/index.cjs386.js +1 -1
- package/dist/index.cjs386.js.map +1 -1
- package/dist/index.cjs387.js +1 -4
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +2 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs390.js.map +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +1 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs393.js +1 -2
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +1 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +1 -1
- package/dist/index.cjs398.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +5 -1
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs406.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs407.js.map +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs408.js.map +1 -1
- package/dist/index.cjs409.js +12 -1
- package/dist/index.cjs409.js.map +1 -1
- package/dist/index.cjs410.js +1 -5
- package/dist/index.cjs410.js.map +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs412.js.map +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs413.js.map +1 -1
- package/dist/index.cjs414.js +1 -12
- package/dist/index.cjs414.js.map +1 -1
- package/dist/index.cjs415.js +1 -1
- package/dist/index.cjs415.js.map +1 -1
- package/dist/index.cjs416.js +4 -1
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs422.js.map +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs423.js.map +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs424.js.map +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs425.js.map +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs427.js.map +1 -1
- package/dist/index.cjs428.js +1 -1
- package/dist/index.cjs428.js.map +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs429.js.map +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -1
- package/dist/index.cjs431.js.map +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs432.js.map +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs433.js.map +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs434.js.map +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs435.js.map +1 -1
- package/dist/index.cjs436.js +1 -1
- package/dist/index.cjs436.js.map +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs437.js.map +1 -1
- package/dist/index.cjs438.js +1 -1
- package/dist/index.cjs438.js.map +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs439.js.map +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +1 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs450.js +1 -1
- package/dist/index.cjs450.js.map +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs451.js.map +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs452.js.map +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs453.js.map +1 -1
- package/dist/index.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs455.js +2 -1
- package/dist/index.cjs455.js.map +1 -1
- package/dist/index.cjs456.js +1 -1
- package/dist/index.cjs456.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +2 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -2
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -2
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs469.js.map +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -38
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -1
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs490.js +1 -1
- package/dist/index.cjs491.js +1 -1
- package/dist/index.cjs492.js +1 -1
- package/dist/index.cjs496.js +1 -1
- package/dist/index.cjs497.js +1 -1
- package/dist/index.cjs498.js +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs500.js +38 -1
- package/dist/index.cjs500.js.map +1 -1
- package/dist/index.cjs501.js +1 -1
- package/dist/index.cjs501.js.map +1 -1
- package/dist/index.cjs502.js +1 -1
- package/dist/index.cjs502.js.map +1 -1
- package/dist/index.cjs503.js +1 -1
- package/dist/index.cjs503.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs504.js.map +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs509.js +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +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.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs546.js +1 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs551.js +1 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs554.js +1 -1
- package/dist/index.cjs556.js +1 -1
- package/dist/index.cjs557.js +1 -1
- package/dist/index.cjs557.js.map +1 -1
- package/dist/index.cjs558.js +1 -1
- package/dist/index.cjs558.js.map +1 -1
- package/dist/index.cjs559.js +1 -1
- package/dist/index.cjs559.js.map +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs560.js.map +1 -1
- package/dist/index.cjs561.js +1 -1
- package/dist/index.cjs561.js.map +1 -1
- package/dist/index.cjs562.js +1 -1
- package/dist/index.cjs562.js.map +1 -1
- package/dist/index.cjs563.js +1 -1
- package/dist/index.cjs563.js.map +1 -1
- package/dist/index.cjs564.js +1 -1
- package/dist/index.cjs564.js.map +1 -1
- package/dist/index.cjs565.js +1 -1
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs566.js.map +1 -1
- package/dist/index.cjs567.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs569.js +1 -1
- package/dist/index.cjs569.js.map +1 -1
- package/dist/index.cjs570.js +1 -1
- package/dist/index.cjs570.js.map +1 -1
- package/dist/index.cjs571.js +1 -1
- package/dist/index.cjs571.js.map +1 -1
- package/dist/index.cjs572.js +1 -1
- package/dist/index.cjs572.js.map +1 -1
- package/dist/index.cjs573.js +1 -1
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs579.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs580.js +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs591.js +1 -1
- package/dist/index.cjs592.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs91.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es101.js +1 -1
- package/dist/index.es102.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es107.js +1 -1
- package/dist/index.es108.js +4 -4
- package/dist/index.es120.js +1 -1
- package/dist/index.es125.js +3 -3
- package/dist/index.es128.js +3 -3
- package/dist/index.es133.js +9 -9
- package/dist/index.es136.js +4 -4
- package/dist/index.es138.js +2 -2
- package/dist/index.es139.js +2 -2
- package/dist/index.es141.js +3 -3
- package/dist/index.es150.js +27 -5
- package/dist/index.es150.js.map +1 -1
- package/dist/index.es151.js +75 -7
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es152.js +5 -24
- package/dist/index.es152.js.map +1 -1
- package/dist/index.es153.js +16 -14
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es154.js +69 -26
- package/dist/index.es154.js.map +1 -1
- package/dist/index.es155.js +70 -75
- package/dist/index.es155.js.map +1 -1
- package/dist/index.es156.js +70 -5
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es157.js +2 -17
- package/dist/index.es157.js.map +1 -1
- package/dist/index.es158.js +2 -71
- package/dist/index.es158.js.map +1 -1
- package/dist/index.es159.js +90 -67
- package/dist/index.es159.js.map +1 -1
- package/dist/index.es160.js +84 -69
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es161.js +42 -2
- package/dist/index.es161.js.map +1 -1
- package/dist/index.es162.js +68 -2
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js +2 -91
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js +1625 -77
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es165.js +31 -38
- package/dist/index.es165.js.map +1 -1
- package/dist/index.es166.js +257 -59
- package/dist/index.es166.js.map +1 -1
- package/dist/index.es167.js +4 -2
- package/dist/index.es167.js.map +1 -1
- package/dist/index.es168.js +21 -1634
- package/dist/index.es168.js.map +1 -1
- package/dist/index.es169.js +14 -34
- package/dist/index.es169.js.map +1 -1
- package/dist/index.es170.js +4 -264
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js +4 -3
- package/dist/index.es171.js.map +1 -1
- package/dist/index.es172.js +24 -20
- package/dist/index.es172.js.map +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es193.js +1 -1
- package/dist/index.es194.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es202.js +3 -3
- package/dist/index.es203.js +1 -1
- package/dist/index.es204.js +2 -2
- package/dist/index.es205.js +1 -1
- package/dist/index.es210.js +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es216.js +2 -2
- package/dist/index.es217.js +2 -2
- package/dist/index.es218.js +1 -1
- package/dist/index.es222.js +2 -2
- package/dist/index.es225.js +1 -1
- package/dist/index.es229.js +1 -1
- package/dist/index.es232.js +1 -1
- package/dist/index.es240.js +1 -1
- package/dist/index.es241.js +1 -1
- package/dist/index.es242.js +1 -1
- package/dist/index.es243.js +2 -2
- package/dist/index.es244.js +1 -1
- package/dist/index.es245.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es248.js +2 -2
- package/dist/index.es249.js +2 -2
- package/dist/index.es250.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es252.js +1 -1
- package/dist/index.es253.js +1 -1
- package/dist/index.es254.js +2 -2
- package/dist/index.es255.js +2 -2
- package/dist/index.es256.js +1 -1
- package/dist/index.es259.js +2 -2
- package/dist/index.es260.js +2 -2
- package/dist/index.es262.js +2 -2
- package/dist/index.es263.js +1 -1
- package/dist/index.es264.js +2 -2
- package/dist/index.es265.js +1 -1
- package/dist/index.es266.js +2 -2
- package/dist/index.es267.js +1 -1
- package/dist/index.es268.js +1 -1
- package/dist/index.es269.js +1 -1
- package/dist/index.es275.js +1 -1
- package/dist/index.es276.js +2 -2
- package/dist/index.es277.js +1 -1
- package/dist/index.es278.js +1 -1
- package/dist/index.es279.js +1 -1
- package/dist/index.es283.js +1 -1
- package/dist/index.es284.js +1 -1
- package/dist/index.es285.js +1 -1
- package/dist/index.es286.js +1 -1
- package/dist/index.es287.js +2 -2
- package/dist/index.es288.js +1 -1
- package/dist/index.es289.js +5 -5
- package/dist/index.es290.js +2 -2
- package/dist/index.es291.js +6 -6
- package/dist/index.es292.js +2 -2
- package/dist/index.es295.js +3 -27
- package/dist/index.es295.js.map +1 -1
- package/dist/index.es296.js +8 -29
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +7 -5
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +260 -39
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +85 -20
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +339 -6
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +12 -10
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +47 -9
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +2 -261
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +4 -85
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +4 -339
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +4 -12
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +4 -47
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es308.js +2 -2
- package/dist/index.es309.js +43 -2
- package/dist/index.es309.js.map +1 -1
- package/dist/index.es310.js +13 -2
- package/dist/index.es310.js.map +1 -1
- package/dist/index.es311.js +349 -2
- package/dist/index.es311.js.map +1 -1
- package/dist/index.es312.js +224 -2
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +39 -2
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +7 -42
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +38 -10
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +15 -345
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +16 -220
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +8 -37
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +16 -7
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es320.js +21 -38
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +130 -16
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +18 -18
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +18 -9
- package/dist/index.es323.js.map +1 -1
- package/dist/index.es324.js +15 -13
- package/dist/index.es324.js.map +1 -1
- package/dist/index.es325.js +30 -19
- package/dist/index.es325.js.map +1 -1
- package/dist/index.es326.js +209 -124
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +40 -20
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +17 -18
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +27 -18
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +27 -33
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +5 -218
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +2 -6
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +321 -9
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +2 -11
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +2 -10
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +2 -5
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +15 -12
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +2 -8
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +2 -5
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +48 -4
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +38 -3
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +43 -3
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +2 -9
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +15 -21
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +2 -22
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +15 -13
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +15 -16
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +17 -5
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +19 -8
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es350.js +2 -7
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +11 -22
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +9 -9
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +5 -9
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +12 -4
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +7 -10
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +4 -8
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +4 -23
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +3 -12
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +3 -19
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +8 -3
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +20 -16
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +20 -10
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +13 -3
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +16 -4
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +6 -2
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +8 -321
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +7 -2
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +22 -2
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +10 -2
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es370.js +9 -15
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +4 -2
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +11 -2
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es373.js +8 -47
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +22 -37
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +10 -41
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +19 -2
- package/dist/index.es376.js.map +1 -1
- package/dist/index.es377.js +4 -16
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +18 -2
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +11 -15
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es380.js +3 -15
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +4 -17
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +9 -19
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +6 -2
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es384.js +227 -7
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es385.js +2 -3
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +355 -23
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +2 -107
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +36 -14
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +53 -227
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +62 -2
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +55 -350
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +73 -2
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +52 -40
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +89 -51
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +2 -62
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +2 -61
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +2 -73
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +4 -52
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es399.js +2 -89
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es400.js +2 -2
- package/dist/index.es401.js +2 -2
- package/dist/index.es402.js +8 -2
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +4 -2
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +4 -2
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +161 -2
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +5 -2
- package/dist/index.es406.js.map +1 -1
- package/dist/index.es407.js +2 -8
- package/dist/index.es407.js.map +1 -1
- package/dist/index.es408.js +88 -4
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +194 -4
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es410.js +81 -154
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +12 -4
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +319 -2
- package/dist/index.es412.js.map +1 -1
- package/dist/index.es413.js +5 -88
- package/dist/index.es413.js.map +1 -1
- package/dist/index.es414.js +3 -194
- package/dist/index.es414.js.map +1 -1
- package/dist/index.es415.js +22 -86
- package/dist/index.es415.js.map +1 -1
- package/dist/index.es416.js +107 -13
- package/dist/index.es416.js.map +1 -1
- package/dist/index.es417.js +14 -317
- package/dist/index.es417.js.map +1 -1
- package/dist/index.es418.js +2 -156
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +21 -103
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es420.js +2 -17
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +2 -7
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +96 -3
- package/dist/index.es422.js.map +1 -1
- package/dist/index.es423.js +273 -6
- package/dist/index.es423.js.map +1 -1
- package/dist/index.es424.js +127 -4
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es425.js +168 -2
- package/dist/index.es425.js.map +1 -1
- package/dist/index.es426.js +131 -2
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +125 -19
- package/dist/index.es427.js.map +1 -1
- package/dist/index.es428.js +133 -2
- package/dist/index.es428.js.map +1 -1
- package/dist/index.es429.js +119 -87
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es430.js +71 -229
- package/dist/index.es430.js.map +1 -1
- package/dist/index.es431.js +55 -67
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +71 -122
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +63 -77
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +79 -82
- package/dist/index.es434.js.map +1 -1
- package/dist/index.es435.js +72 -74
- package/dist/index.es435.js.map +1 -1
- package/dist/index.es436.js +61 -61
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es437.js +26 -110
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +2 -117
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es439.js +15 -111
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es440.js +2 -117
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +37 -119
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +35 -123
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +37 -122
- package/dist/index.es443.js.map +1 -1
- package/dist/index.es444.js +38 -28
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +43 -2
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +39 -17
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +43 -2
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +16 -16
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +31 -30
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es450.js +32 -34
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +2 -43
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +11 -42
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +32 -41
- package/dist/index.es453.js.map +1 -1
- package/dist/index.es454.js +19 -41
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +11 -42
- package/dist/index.es455.js.map +1 -1
- package/dist/index.es456.js +2 -44
- package/dist/index.es456.js.map +1 -1
- package/dist/index.es457.js +2 -41
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +2 -2
- package/dist/index.es459.js +8 -6
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +10 -32
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +10 -19
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +2 -12
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +156 -2
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +104 -2
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +16 -13
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +3 -12
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +7 -11
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +6 -2
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es469.js +7 -2
- package/dist/index.es469.js.map +1 -1
- package/dist/index.es470.js +143 -63
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +2 -55
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +8 -11
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +8 -16
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +50 -62
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +4 -8
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +4 -8
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +4 -50
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +2 -2
- package/dist/index.es479.js +2 -2
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +109 -2
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +3 -146
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +151 -2
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +2 -2
- package/dist/index.es484.js +6 -2
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +2 -118
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +147 -8
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +2 -14
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +131 -102
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +2 -3
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es490.js +2 -2
- package/dist/index.es491.js +2 -2
- package/dist/index.es492.js +2 -2
- package/dist/index.es494.js +2 -2
- package/dist/index.es496.js +2 -2
- package/dist/index.es497.js +2 -2
- package/dist/index.es499.js +2 -2
- package/dist/index.es500.js +55 -2
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +9 -2
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +12 -149
- package/dist/index.es502.js.map +1 -1
- package/dist/index.es503.js +60 -2
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +64 -5
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es507.js +4 -4
- package/dist/index.es508.js +3 -3
- package/dist/index.es509.js +3 -3
- package/dist/index.es510.js +3 -3
- package/dist/index.es511.js +3 -3
- package/dist/index.es512.js +3 -3
- package/dist/index.es521.js +2 -2
- package/dist/index.es522.js +2 -148
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +2 -2
- package/dist/index.es524.js +131 -2
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +128 -2
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +2 -131
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +2 -128
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +2 -2
- package/dist/index.es529.js +12 -136
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +2 -2
- package/dist/index.es531.js +2 -2
- package/dist/index.es533.js +2 -14
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +118 -2
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +3 -2
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +9 -2
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +14 -2
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +87 -6
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +108 -23
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es540.js +4 -87
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +2 -108
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +2 -2
- package/dist/index.es543.js +30 -2
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +2 -2
- package/dist/index.es546.js +4 -2
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +23 -2
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es548.js +2 -2
- package/dist/index.es549.js +2 -2
- package/dist/index.es55.js +1 -1
- package/dist/index.es550.js +2 -2
- package/dist/index.es551.js +2 -30
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +2 -2
- package/dist/index.es553.js +2 -2
- package/dist/index.es554.js +2 -2
- package/dist/index.es555.js +2 -2
- package/dist/index.es556.js +2 -2
- package/dist/index.es557.js +44 -22
- package/dist/index.es557.js.map +1 -1
- package/dist/index.es558.js +45 -15
- package/dist/index.es558.js.map +1 -1
- package/dist/index.es559.js +2 -28
- package/dist/index.es559.js.map +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es560.js +2 -5
- package/dist/index.es560.js.map +1 -1
- package/dist/index.es561.js +2 -45
- package/dist/index.es561.js.map +1 -1
- package/dist/index.es562.js +118 -44
- package/dist/index.es562.js.map +1 -1
- package/dist/index.es563.js +11 -2
- package/dist/index.es563.js.map +1 -1
- package/dist/index.es564.js +79 -2
- package/dist/index.es564.js.map +1 -1
- package/dist/index.es565.js +72 -2
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +66 -111
- package/dist/index.es566.js.map +1 -1
- package/dist/index.es567.js +12 -10
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +52 -73
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es569.js +6 -71
- package/dist/index.es569.js.map +1 -1
- package/dist/index.es570.js +6 -71
- package/dist/index.es570.js.map +1 -1
- package/dist/index.es571.js +8 -12
- package/dist/index.es571.js.map +1 -1
- package/dist/index.es572.js +11 -57
- package/dist/index.es572.js.map +1 -1
- package/dist/index.es573.js +23 -7
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js +13 -7
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +27 -8
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +5 -12
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es579.js +1 -1
- package/dist/index.es58.js +2 -2
- package/dist/index.es580.js +1 -1
- package/dist/index.es581.js +4 -4
- package/dist/index.es582.js +1 -1
- package/dist/index.es583.js +1 -1
- package/dist/index.es586.js +2 -2
- package/dist/index.es587.js +2 -2
- package/dist/index.es589.js +1 -1
- package/dist/index.es59.js +2 -2
- package/dist/index.es591.js +1 -1
- package/dist/index.es592.js +1 -1
- package/dist/index.es60.js +2 -2
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +2 -2
- package/dist/index.es64.js +2 -2
- package/dist/index.es66.js +1 -1
- package/dist/index.es67.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es72.js +2 -2
- package/dist/index.es73.js +3 -3
- package/dist/index.es74.js +1 -1
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es81.js +1 -1
- package/dist/index.es82.js +1 -1
- package/dist/index.es83.js +1 -1
- package/dist/index.es86.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es90.js +1 -1
- package/dist/index.es91.js +1 -1
- package/dist/index.es94.js +3 -3
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +3 -3
package/dist/index.cjs101.js
CHANGED
package/dist/index.cjs102.js
CHANGED
package/dist/index.cjs103.js
CHANGED
package/dist/index.cjs104.js
CHANGED
package/dist/index.cjs107.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const R=require("./index.
|
|
1
|
+
"use strict";const R=require("./index.cjs150.js"),q=require("./index.cjs282.js"),k=require("./index.cjs283.js"),S=require("./index.cjs284.js"),P=require("./index.cjs285.js"),V=require("./index.cjs286.js"),D=require("./index.cjs287.js"),b=require("./index.cjs288.js"),E=require("./index.cjs289.js"),I=require("./index.cjs290.js"),$=require("./index.cjs291.js"),j=require("./index.cjs292.js");(function(l){var d=k.interopRequireDefaultExports;Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var c=d(S.__require()),h=d(P.__require()),_=d(V.__require()),C=d(D.__require()),T=b.__require(),y=E.__require(),w=I.__require(),g=$.__require(),m=j.__require(),F=function(){function f(t){var r=this;(0,_.default)(this,f),this.updateConfiguration(t),this.searchClient={clearCache:function(){return r.clearCache()},search:function(s){return r.searchTypesenseAndAdapt(s)},searchForFacetValues:function(s){return r.searchTypesenseForFacetValuesAndAdapt(s)}}}return(0,C.default)(f,[{key:"searchTypesenseAndAdapt",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u=this,n,p;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._adaptAndPerformTypesenseRequest(s);case 3:return n=e.sent,p=n.results.map(function(o,v){u._validateTypesenseResult(o);var A=new g.SearchResponseAdapter(o,s[v],u.configuration,n.results);return A.adapt()}),e.abrupt("return",{results:p});case 8:throw e.prev=8,e.t0=e.catch(0),console.error(e.t0),e.t0;case 12:case"end":return e.stop()}},a,this,[[0,8]])}));function r(a){return t.apply(this,arguments)}return r}()},{key:"searchTypesenseForFacetValuesAndAdapt",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u=this,n,p;return c.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this._adaptAndPerformTypesenseRequest(s);case 3:return n=e.sent,p=n.results.map(function(o,v){u._validateTypesenseResult(o);var A=new m.FacetSearchResponseAdapter(o,s[v],u.configuration);return A.adapt()}),e.abrupt("return",p);case 8:throw e.prev=8,e.t0=e.catch(0),console.error(e.t0),e.t0;case 12:case"end":return e.stop()}},a,this,[[0,8]])}));function r(a){return t.apply(this,arguments)}return r}()},{key:"_adaptAndPerformTypesenseRequest",value:function(){var t=(0,h.default)(c.default.mark(function a(s){var u,n;return c.default.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:return u=new w.SearchRequestAdapter(s,this.typesenseClient,this.configuration),i.next=3,u.request();case 3:return n=i.sent,i.abrupt("return",n);case 5:case"end":return i.stop()}},a,this)}));function r(a){return t.apply(this,arguments)}return r}()},{key:"clearCache",value:function(){return this.typesenseClient=new y.SearchClient(this.configuration.server),this.searchClient}},{key:"updateConfiguration",value:function(r){return this.configuration=new T.Configuration(r),this.configuration.validate(),this.typesenseClient=new y.SearchClient(this.configuration.server),!0}},{key:"_validateTypesenseResult",value:function(r){if(r.error)throw new Error("".concat(r.code," - ").concat(r.error));if(!r.hits&&!r.grouped_hits)throw new Error("Did not find any hits. ".concat(r.code," - ").concat(r.error))}}]),f}();l.default=F})(q.__exports);const G=R.getDefaultExportFromCjs(q.__exports);module.exports=G;
|
|
2
2
|
//# sourceMappingURL=index.cjs107.js.map
|
package/dist/index.cjs108.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const P=require("./index.
|
|
1
|
+
"use strict";const P=require("./index.cjs351.js"),d=require("./index.cjs352.js"),B=require("./index.cjs353.js"),W=require("./index.cjs354.js");function f(i){"@babel/helpers - typeof";return f=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(i)}function $(i,e){if(!(i instanceof e))throw new TypeError("Cannot call a class as a function")}function k(i,e){for(var o=0;o<e.length;o++){var t=e[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(i,E(t.key),t)}}function N(i,e,o){return e&&k(i.prototype,e),o&&k(i,o),Object.defineProperty(i,"prototype",{writable:!1}),i}function n(i,e,o){return e=E(e),e in i?Object.defineProperty(i,e,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[e]=o,i}function E(i){var e=H(i,"string");return f(e)==="symbol"?e:String(e)}function H(i,e){if(f(i)!=="object"||i===null)return i;var o=i[Symbol.toPrimitive];if(o!==void 0){var t=o.call(i,e||"default");if(f(t)!=="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}var q=function(e){e&&(window.document.title=e)},M=function(){function i(e){var o=this,t=e.windowTitle,r=e.writeDelay,s=r===void 0?400:r,l=e.createURL,u=e.parseURL,p=e.getLocation,v=e.start,y=e.dispose,m=e.push,h=e.cleanUrlOnDispose;$(this,i),n(this,"$$type","ais.browser"),n(this,"windowTitle",void 0),n(this,"writeDelay",void 0),n(this,"_createURL",void 0),n(this,"parseURL",void 0),n(this,"getLocation",void 0),n(this,"writeTimer",void 0),n(this,"_onPopState",void 0),n(this,"inPopState",!1),n(this,"isDisposed",!1),n(this,"latestAcknowledgedHistory",0),n(this,"_start",void 0),n(this,"_dispose",void 0),n(this,"_push",void 0),n(this,"_cleanUrlOnDispose",void 0),this.windowTitle=t,this.writeTimer=void 0,this.writeDelay=s,this._createURL=l,this.parseURL=u,this.getLocation=p,this._start=v,this._dispose=y,this._push=m,this._cleanUrlOnDispose=typeof h>"u"?!0:h,process.env.NODE_ENV==="development"&&typeof h>"u"&&console.info(`Starting from the next major version, InstantSearch will not clean up the URL from active refinements when it is disposed.
|
|
2
2
|
|
|
3
3
|
We recommend setting \`cleanUrlOnDispose\` to false to adopt this change today.
|
|
4
4
|
To stay with the current behaviour and remove this warning, set the option to true.
|
package/dist/index.cjs120.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index.cjs112.js"),o=require("react"),y=require("./index.cjs113.js"),w=require("./index.cjs117.js"),q=require("./index.cjs114.js"),T=require("./index.cjs146.js"),U=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("./index.cjs112.js"),o=require("react"),y=require("./index.cjs113.js"),w=require("./index.cjs117.js"),q=require("./index.cjs114.js"),T=require("./index.cjs146.js"),U=require("./index.cjs169.js"),O="dismissableLayer.update",_="dismissableLayer.pointerDownOutside",H="dismissableLayer.focusOutside";let g;const z=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),A=o.forwardRef((s,t)=>{var u;const{disableOutsidePointerEvents:r=!1,onEscapeKeyDown:n,onPointerDownOutside:c,onFocusOutside:v,onInteractOutside:d,onDismiss:l,...b}=s,i=o.useContext(z),[a,x]=o.useState(null),f=(u=a==null?void 0:a.ownerDocument)!==null&&u!==void 0?u:globalThis==null?void 0:globalThis.document,[,R]=o.useState({}),F=q.useComposedRefs(t,e=>x(e)),$=Array.from(i.layers),[I]=[...i.layersWithOutsidePointerEventsDisabled].slice(-1),S=$.indexOf(I),p=a?$.indexOf(a):-1,W=i.layersWithOutsidePointerEventsDisabled.size>0,D=p>=S,B=N(e=>{const E=e.target,m=[...i.branches].some(h=>h.contains(E));!D||m||(c==null||c(e),d==null||d(e),e.defaultPrevented||l==null||l())},f),P=K(e=>{const E=e.target;[...i.branches].some(h=>h.contains(E))||(v==null||v(e),d==null||d(e),e.defaultPrevented||l==null||l())},f);return U.useEscapeKeydown(e=>{p===i.layers.size-1&&(n==null||n(e),!e.defaultPrevented&&l&&(e.preventDefault(),l()))},f),o.useEffect(()=>{if(a)return r&&(i.layersWithOutsidePointerEventsDisabled.size===0&&(g=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),i.layersWithOutsidePointerEventsDisabled.add(a)),i.layers.add(a),C(),()=>{r&&i.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=g)}},[a,f,r,i]),o.useEffect(()=>()=>{a&&(i.layers.delete(a),i.layersWithOutsidePointerEventsDisabled.delete(a),C())},[a,i]),o.useEffect(()=>{const e=()=>R({});return document.addEventListener(O,e),()=>document.removeEventListener(O,e)},[]),o.createElement(w.Primitive.div,k({},b,{ref:F,style:{pointerEvents:W?D?"auto":"none":void 0,...s.style},onFocusCapture:y.composeEventHandlers(s.onFocusCapture,P.onFocusCapture),onBlurCapture:y.composeEventHandlers(s.onBlurCapture,P.onBlurCapture),onPointerDownCapture:y.composeEventHandlers(s.onPointerDownCapture,B.onPointerDownCapture)}))});function N(s,t=globalThis==null?void 0:globalThis.document){const u=T.useCallbackRef(s),r=o.useRef(!1),n=o.useRef(()=>{});return o.useEffect(()=>{const c=d=>{if(d.target&&!r.current){let b=function(){L(_,u,l,{discrete:!0})};const l={originalEvent:d};d.pointerType==="touch"?(t.removeEventListener("click",n.current),n.current=b,t.addEventListener("click",n.current,{once:!0})):b()}else t.removeEventListener("click",n.current);r.current=!1},v=window.setTimeout(()=>{t.addEventListener("pointerdown",c)},0);return()=>{window.clearTimeout(v),t.removeEventListener("pointerdown",c),t.removeEventListener("click",n.current)}},[t,u]),{onPointerDownCapture:()=>r.current=!0}}function K(s,t=globalThis==null?void 0:globalThis.document){const u=T.useCallbackRef(s),r=o.useRef(!1);return o.useEffect(()=>{const n=c=>{c.target&&!r.current&&L(H,u,{originalEvent:c},{discrete:!1})};return t.addEventListener("focusin",n),()=>t.removeEventListener("focusin",n)},[t,u]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function C(){const s=new CustomEvent(O);document.dispatchEvent(s)}function L(s,t,u,{discrete:r}){const n=u.originalEvent.target,c=new CustomEvent(s,{bubbles:!1,cancelable:!0,detail:u});t&&n.addEventListener(s,t,{once:!0}),r?w.dispatchDiscreteCustomEvent(n,c):n.dispatchEvent(c)}exports.DismissableLayer=A;
|
|
2
2
|
//# sourceMappingURL=index.cjs120.js.map
|
package/dist/index.cjs125.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const a=require("./index.
|
|
1
|
+
"use strict";const a=require("./index.cjs329.js"),l=require("react"),s=require("./index.cjs330.js"),i=require("./index.cjs331.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;const f=n;module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs125.js.map
|
package/dist/index.cjs128.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var j=Object.defineProperty;var X=(t,e,i)=>e in t?j(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var l=(t,e,i)=>(X(t,typeof e!="symbol"?e+"":e,i),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs168.js"),u=require("./index.cjs169.js"),f=require("./index.cjs170.js"),U="@iiif/IMPORT_ENTITIES",C="@iiif/MODIFY_ENTITY_FIELD",b="@iiif/REORDER_ENTITY_FIELD",q="@iiif/ADD_REFERENCE",N="@iiif/REMOVE_REFERENCE",F=u.createAction(U)(),$=u.createAction(C)(),J=u.createAction(b)(),W=u.createAction(q)(),Z=u.createAction(N)(),K={importEntities:F,modifyEntityField:$,reorderEntityField:J,addReference:W,removeReference:Z},v="@iiif/ADD_MAPPING",w="@iiif/ADD_MAPPINGS",ee=u.createAction(v)(),te=u.createAction(w)(),P="@iiif/SET_META_VALUE",k="@iiif/SET_META_VALUE_DYNAMIC",L="@iiif/UNSET_META_VALUE",ie=u.createAction(P)(),re=u.createAction(k)(),se=u.createAction(L)(),M={setMetaValue:ie,setMetaValueDynamic:re,unsetMetaValue:se},g="RESOURCE_ERROR",Q="RESOURCE_LOADING",A="RESOURCE_READY",V="@iiif/REQUEST_RESOURCE",B="@iiif/REQUEST_ERROR",x="@iiif/REQUEST_MISMATCH",Y="@iiif/REQUEST_COMPLETE",z="@iiif/REQUEST_OFFLINE_RESOURCE",oe=u.createAction(V)(),H=u.createAction(B)(),ne=u.createAction(x)(),ae=u.createAction(Y)();u.createAction(z)();const _="@iiif/BATCH",G="@iiif/BATCH_IMPORT",m=u.createAction(_)();u.createAction(G)();const ue=(t,e)=>{const{entities:i,resource:r,mapping:s}=h.normalize(e);if(r.id===void 0)return[H({id:t,message:"ID is not defined in resource."})];const o=[F({entities:i}),te({mapping:s})];return r.id!==t&&(o.push(ee({id:t,type:r.type})),o.push(ne({requestId:t,actualId:r.id}))),o.push(ae({id:t})),o},O=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function de(t,e){return!!(t===e||O(t)&&O(e))}function I(t,e){if(!Array.isArray(t)||!Array.isArray(e))return t===e;if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(!de(t[i],e[i]))return!1;return!0}function R(t,e){const i=t.iiif.requests[e],r=t.iiif.mapping[e];if(!(!r||!t.iiif.entities[r][i.resourceUri]))return t.iiif.entities[r][i.resourceUri]}function D(t,e,{waitTimeout:i=30}={}){return async(r,s)=>{const o=t.getState(),n=o.iiif.requests[r];if(n)switch(n.loadingState){case g:break;case Q:{let a,c=!1;try{const d=await Promise.race([new Promise((y,p)=>{c||(a=t.subscribe(()=>{const E=t.getState();if(E.iiif.requests[r].loadingState===g){p();return}if(E.iiif.requests[r].loadingState===A){const T=R(E,r);T?y(T):p()}}))}),new Promise((y,p)=>setTimeout(()=>{c=!0,p()},i*60))]);if(a&&a(),d)return d}catch{a&&a();break}break}case A:{const a=R(o,r);if(a)return a;break}}t.dispatch(oe({id:r}));try{const a=await e(r,s);!a.id&&!a["@id"]&&(a["@type"]&&(a["@id"]=r),a.id=r);const c=ue(r,a);return t.dispatch(m({actions:c})),R(t.getState(),r)}catch(a){throw t.dispatch(H({id:r,message:a.toString()})),a}}}function ce(){return{Collection:{},Manifest:{},Canvas:{},AnnotationPage:{},AnnotationCollection:{},Annotation:{},ContentResource:{},Range:{},Service:{},Selector:{},Agent:{}}}const le=(t={},e)=>{switch(e.type){case v:return{...t,[e.payload.id]:e.payload.type};case w:return{...t,...e.payload.mapping};default:return t}};function S(t,e,i,r){return!(!t[i]||!t[i][e]||!t[i][e][r]||!Array.isArray(t[i][e][r]))}function ye(t,e){const i={},r=[];for(const[s,o]of Object.entries(t||{})){r.push(s);const n=(e||{})[s];if(!n||n.length===0){i[s]=o;continue}i[s]=n}for(const[s,o]of Object.entries(e||{}))r.indexOf(s)===-1&&(i[s]=o);return i}const fe=(t=ce(),e)=>{var i;switch(e.type){case C:{if(!t[e.payload.type]||!t[e.payload.type][e.payload.id])return t;const r=t[e.payload.type][e.payload.id];return typeof r=="string"?t:{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:e.payload.value}}}}case b:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id];if(typeof r=="string")return t;const s=Array.from(r[e.payload.key]),[o]=s.splice(e.payload.startIndex,1);return s.splice(e.payload.endIndex,0,o),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case U:{const r=Object.keys(e.payload.entities),s={...t};for(const o of r){const n=e.payload.entities[o],a={...t[o]||{}};let c=!1;const d=Object.keys(n||{})||[];if(n&&d){for(const y of d)c=!0,a[y]=t[o][y]?ye(t[o][y],n[y]):n[y];c&&(s[o]=a)}}return s}case q:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]);return s.splice(e.payload.index||s.length+1,0,e.payload.reference),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case N:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]),o=e.payload.index||s.findIndex(n=>n&&n.id===e.payload.reference.id);return o===-1||((i=s[o])==null?void 0:i.id)!==e.payload.reference.id?t:(s.splice(o,1),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}})}default:return t}},pe=(t={},e)=>{switch(e.type){case V:case z:return{...t,[e.payload.id]:{requestUri:e.payload.id,loadingState:Q,uriMismatch:!1,resourceUri:e.payload.id}};case x:return{...t,[e.payload.requestId]:{...t[e.payload.requestId]||{},uriMismatch:!0,resourceUri:e.payload.actualId},[e.payload.actualId]:{requestUri:e.payload.requestId,loadingState:t[e.payload.requestId].loadingState,uriMismatch:!0,resourceUri:e.payload.actualId}};case B:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:g,error:e.payload.message}};case Y:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:A,error:void 0}}}return t},he=(t={},e)=>{const{id:i,updateValue:r,value:s,meta:o,key:n}=e&&e.payload||{};switch(e.type){case P:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:s}}};case k:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:t[i]&&t[i][o]?r(t[i][o][n]):r(void 0)}}};case L:return t[i]&&t[i][o]&&t[i][o][n]?{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:void 0}}}:t;default:return t}};function Ee(t){return(e,i)=>i&&i.type===_?i.payload.actions.reduce(t,e):i&&i.type===G?i.payload.state:t(e,i)}const Re=f.combineReducers({mapping:le,entities:fe,requests:pe,meta:he}),Se=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||f.compose;function ge(t={}){const{enableDevtools:e=!0,iiifStoreName:i="iiif",defaultState:r={},extraMiddleware:s=[],customReducers:o={}}=t,n=f.combineReducers({[i]:Re,...o});return f.createStore(Ee(n),r,e?Se(f.applyMiddleware(...s)):f.compose(f.applyMiddleware(...s)))}function Ae(t){return{all:t=t||new Map,on:function(e,i){var r=t.get(e);r?r.push(i):t.set(e,[i])},off:function(e,i){var r=t.get(e);r&&(i?r.splice(r.indexOf(i)>>>0,1):t.set(e,[]))},emit:function(e,i){var r=t.get(e);r&&r.slice().map(function(s){s(i)}),(r=t.get("*"))&&r.slice().map(function(s){s(e,i)})}}}class me{constructor(e,i){l(this,"options");l(this,"store");l(this,"emitter");l(this,"isBatching",!1);l(this,"batchQueue",[]);l(this,"remoteFetcher");l(this,"staticFetcher");l(this,"defaultFetcher",e=>fetch(e).then(i=>i.json()));l(this,"middleware",e=>i=>r=>{if(r.type===_){for(const n of r.payload.actions)this.emitter.emit(n.type,{realAction:n,state:e.getState()});const o=i(r);for(const n of r.payload.actions)this.emitter.emit(`after:${r.type}`,{action:r,state:o});return o}this.emitter.emit(r.type,{action:r,state:e.getState()});const s=i(r);return this.emitter.emit(`after:${r.type}`,{action:r,state:s}),s});this.options=Object.assign({reducers:{},middleware:[],defaultState:{},customFetcher:this.defaultFetcher,enableDevtools:!0},e||{}),this.store=i||ge({customReducers:this.options.reducers,extraMiddleware:[...this.options.middleware,this.middleware],defaultState:this.options.defaultState,enableDevtools:this.options.enableDevtools}),this.emitter=Ae(),this.remoteFetcher=D(this.store,this.options.customFetcher),this.staticFetcher=D(this.store,(r,s)=>s)}batch(e){this.isBatching=!0;try{e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}async asyncBatch(e){this.isBatching=!0;try{await e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}modifyEntityField(e,i,r){this.dispatch(K.modifyEntityField({id:e.id,type:e.type,key:i,value:r}))}dispatch(e){this.isBatching?this.batchQueue.push(e):this.store.dispatch(e)}serialize(e,i){return h.serialize(this.getState().iiif,e,i)}toPresentation2(e){return this.serialize(e,h.serializeConfigPresentation2)}toPresentation3(e){return this.serialize(e,h.serializeConfigPresentation3)}hydrate(e,i){return this.get(e,i,{skipSelfReturn:!1})}get(e,i,r={}){typeof i!="string"&&(r=i||{},i=void 0);const{skipSelfReturn:s=!0}=r||{};if(Array.isArray(e))return e.map(d=>this.get(d,r));const o=this.getState();if(typeof e=="string"){const d=i||o.iiif.mapping[e];if(!d)return s?null:{id:e,type:"unknown"};e={id:e,type:d}}const n=i||e.type,a=e.id,c=o.iiif.entities[n];if(!c){const d=o.iiif.requests[a];return d&&d.resourceUri!==a?this.get(d.resourceUri,r):s?null:e}return c[e.id]||(s?null:e)}select(e){return e(this.getState())}getStore(){return this.store}getState(){return this.store.getState()}loadManifest(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}loadCollection(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}load(e,i){const r=typeof e=="string"?e:e.id;return i?this.staticFetcher(r,i):this.remoteFetcher(r)}areInputsEqual(e,i){return I(e,i)}subscribe(e,i,r){typeof r>"u"&&(typeof i>"u"||i===!1||i===!0)&&(r=i,i=e,e=o=>o);let s=r?null:e(this.store.getState());return r||i(s,this),this.store.subscribe(()=>{const o=this.store.getState(),n=e(o);s!==n&&!I(s,n)&&i(n,this),s=n})}async ensureLoaded(e){const i=typeof e=="string"?e:e.id;this.requestStatus(i)||await this.load(i)}requestStatus(e){return this.select(i=>i.iiif.requests[e])}getResourceMeta(e,i){const r=this.getState().iiif.meta[e];if(r)return i?r[i]:r}setMetaValue([e,i,r],s){this.dispatch(typeof s=="function"?M.setMetaValueDynamic({id:e,meta:i,key:r,updateValue:s}):M.setMetaValue({id:e,meta:i,key:r,value:s}))}}exports.Vault=me;
|
|
1
|
+
"use strict";var j=Object.defineProperty;var X=(t,e,i)=>e in t?j(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var l=(t,e,i)=>(X(t,typeof e!="symbol"?e+"":e,i),i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs164.js"),u=require("./index.cjs165.js"),f=require("./index.cjs166.js"),U="@iiif/IMPORT_ENTITIES",C="@iiif/MODIFY_ENTITY_FIELD",b="@iiif/REORDER_ENTITY_FIELD",q="@iiif/ADD_REFERENCE",N="@iiif/REMOVE_REFERENCE",F=u.createAction(U)(),$=u.createAction(C)(),J=u.createAction(b)(),W=u.createAction(q)(),Z=u.createAction(N)(),K={importEntities:F,modifyEntityField:$,reorderEntityField:J,addReference:W,removeReference:Z},v="@iiif/ADD_MAPPING",w="@iiif/ADD_MAPPINGS",ee=u.createAction(v)(),te=u.createAction(w)(),P="@iiif/SET_META_VALUE",k="@iiif/SET_META_VALUE_DYNAMIC",L="@iiif/UNSET_META_VALUE",ie=u.createAction(P)(),re=u.createAction(k)(),se=u.createAction(L)(),M={setMetaValue:ie,setMetaValueDynamic:re,unsetMetaValue:se},g="RESOURCE_ERROR",Q="RESOURCE_LOADING",A="RESOURCE_READY",V="@iiif/REQUEST_RESOURCE",B="@iiif/REQUEST_ERROR",x="@iiif/REQUEST_MISMATCH",Y="@iiif/REQUEST_COMPLETE",z="@iiif/REQUEST_OFFLINE_RESOURCE",oe=u.createAction(V)(),H=u.createAction(B)(),ne=u.createAction(x)(),ae=u.createAction(Y)();u.createAction(z)();const _="@iiif/BATCH",G="@iiif/BATCH_IMPORT",m=u.createAction(_)();u.createAction(G)();const ue=(t,e)=>{const{entities:i,resource:r,mapping:s}=h.normalize(e);if(r.id===void 0)return[H({id:t,message:"ID is not defined in resource."})];const o=[F({entities:i}),te({mapping:s})];return r.id!==t&&(o.push(ee({id:t,type:r.type})),o.push(ne({requestId:t,actualId:r.id}))),o.push(ae({id:t})),o},O=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function de(t,e){return!!(t===e||O(t)&&O(e))}function I(t,e){if(!Array.isArray(t)||!Array.isArray(e))return t===e;if(t.length!==e.length)return!1;for(let i=0;i<t.length;i++)if(!de(t[i],e[i]))return!1;return!0}function R(t,e){const i=t.iiif.requests[e],r=t.iiif.mapping[e];if(!(!r||!t.iiif.entities[r][i.resourceUri]))return t.iiif.entities[r][i.resourceUri]}function D(t,e,{waitTimeout:i=30}={}){return async(r,s)=>{const o=t.getState(),n=o.iiif.requests[r];if(n)switch(n.loadingState){case g:break;case Q:{let a,c=!1;try{const d=await Promise.race([new Promise((y,p)=>{c||(a=t.subscribe(()=>{const E=t.getState();if(E.iiif.requests[r].loadingState===g){p();return}if(E.iiif.requests[r].loadingState===A){const T=R(E,r);T?y(T):p()}}))}),new Promise((y,p)=>setTimeout(()=>{c=!0,p()},i*60))]);if(a&&a(),d)return d}catch{a&&a();break}break}case A:{const a=R(o,r);if(a)return a;break}}t.dispatch(oe({id:r}));try{const a=await e(r,s);!a.id&&!a["@id"]&&(a["@type"]&&(a["@id"]=r),a.id=r);const c=ue(r,a);return t.dispatch(m({actions:c})),R(t.getState(),r)}catch(a){throw t.dispatch(H({id:r,message:a.toString()})),a}}}function ce(){return{Collection:{},Manifest:{},Canvas:{},AnnotationPage:{},AnnotationCollection:{},Annotation:{},ContentResource:{},Range:{},Service:{},Selector:{},Agent:{}}}const le=(t={},e)=>{switch(e.type){case v:return{...t,[e.payload.id]:e.payload.type};case w:return{...t,...e.payload.mapping};default:return t}};function S(t,e,i,r){return!(!t[i]||!t[i][e]||!t[i][e][r]||!Array.isArray(t[i][e][r]))}function ye(t,e){const i={},r=[];for(const[s,o]of Object.entries(t||{})){r.push(s);const n=(e||{})[s];if(!n||n.length===0){i[s]=o;continue}i[s]=n}for(const[s,o]of Object.entries(e||{}))r.indexOf(s)===-1&&(i[s]=o);return i}const fe=(t=ce(),e)=>{var i;switch(e.type){case C:{if(!t[e.payload.type]||!t[e.payload.type][e.payload.id])return t;const r=t[e.payload.type][e.payload.id];return typeof r=="string"?t:{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:e.payload.value}}}}case b:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id];if(typeof r=="string")return t;const s=Array.from(r[e.payload.key]),[o]=s.splice(e.payload.startIndex,1);return s.splice(e.payload.endIndex,0,o),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case U:{const r=Object.keys(e.payload.entities),s={...t};for(const o of r){const n=e.payload.entities[o],a={...t[o]||{}};let c=!1;const d=Object.keys(n||{})||[];if(n&&d){for(const y of d)c=!0,a[y]=t[o][y]?ye(t[o][y],n[y]):n[y];c&&(s[o]=a)}}return s}case q:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]);return s.splice(e.payload.index||s.length+1,0,e.payload.reference),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}}}case N:{if(!S(t,e.payload.id,e.payload.type,e.payload.key))return t;const r=t[e.payload.type][e.payload.id],s=Array.from(r[e.payload.key]),o=e.payload.index||s.findIndex(n=>n&&n.id===e.payload.reference.id);return o===-1||((i=s[o])==null?void 0:i.id)!==e.payload.reference.id?t:(s.splice(o,1),{...t,[e.payload.type]:{...t[e.payload.type],[e.payload.id]:{...r,[e.payload.key]:s}}})}default:return t}},pe=(t={},e)=>{switch(e.type){case V:case z:return{...t,[e.payload.id]:{requestUri:e.payload.id,loadingState:Q,uriMismatch:!1,resourceUri:e.payload.id}};case x:return{...t,[e.payload.requestId]:{...t[e.payload.requestId]||{},uriMismatch:!0,resourceUri:e.payload.actualId},[e.payload.actualId]:{requestUri:e.payload.requestId,loadingState:t[e.payload.requestId].loadingState,uriMismatch:!0,resourceUri:e.payload.actualId}};case B:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:g,error:e.payload.message}};case Y:return{...t,[e.payload.id]:{...t[e.payload.id]||{},loadingState:A,error:void 0}}}return t},he=(t={},e)=>{const{id:i,updateValue:r,value:s,meta:o,key:n}=e&&e.payload||{};switch(e.type){case P:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:s}}};case k:return{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:t[i]&&t[i][o]?r(t[i][o][n]):r(void 0)}}};case L:return t[i]&&t[i][o]&&t[i][o][n]?{...t,[i]:{...t[i]||{},[o]:{...t[i]?t[i][o]||{}:{},[n]:void 0}}}:t;default:return t}};function Ee(t){return(e,i)=>i&&i.type===_?i.payload.actions.reduce(t,e):i&&i.type===G?i.payload.state:t(e,i)}const Re=f.combineReducers({mapping:le,entities:fe,requests:pe,meta:he}),Se=typeof window<"u"&&window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__||f.compose;function ge(t={}){const{enableDevtools:e=!0,iiifStoreName:i="iiif",defaultState:r={},extraMiddleware:s=[],customReducers:o={}}=t,n=f.combineReducers({[i]:Re,...o});return f.createStore(Ee(n),r,e?Se(f.applyMiddleware(...s)):f.compose(f.applyMiddleware(...s)))}function Ae(t){return{all:t=t||new Map,on:function(e,i){var r=t.get(e);r?r.push(i):t.set(e,[i])},off:function(e,i){var r=t.get(e);r&&(i?r.splice(r.indexOf(i)>>>0,1):t.set(e,[]))},emit:function(e,i){var r=t.get(e);r&&r.slice().map(function(s){s(i)}),(r=t.get("*"))&&r.slice().map(function(s){s(e,i)})}}}class me{constructor(e,i){l(this,"options");l(this,"store");l(this,"emitter");l(this,"isBatching",!1);l(this,"batchQueue",[]);l(this,"remoteFetcher");l(this,"staticFetcher");l(this,"defaultFetcher",e=>fetch(e).then(i=>i.json()));l(this,"middleware",e=>i=>r=>{if(r.type===_){for(const n of r.payload.actions)this.emitter.emit(n.type,{realAction:n,state:e.getState()});const o=i(r);for(const n of r.payload.actions)this.emitter.emit(`after:${r.type}`,{action:r,state:o});return o}this.emitter.emit(r.type,{action:r,state:e.getState()});const s=i(r);return this.emitter.emit(`after:${r.type}`,{action:r,state:s}),s});this.options=Object.assign({reducers:{},middleware:[],defaultState:{},customFetcher:this.defaultFetcher,enableDevtools:!0},e||{}),this.store=i||ge({customReducers:this.options.reducers,extraMiddleware:[...this.options.middleware,this.middleware],defaultState:this.options.defaultState,enableDevtools:this.options.enableDevtools}),this.emitter=Ae(),this.remoteFetcher=D(this.store,this.options.customFetcher),this.staticFetcher=D(this.store,(r,s)=>s)}batch(e){this.isBatching=!0;try{e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}async asyncBatch(e){this.isBatching=!0;try{await e(this),this.store.dispatch(m({actions:this.batchQueue}))}catch(i){throw this.batchQueue=[],this.isBatching=!1,i}this.batchQueue=[],this.isBatching=!1}modifyEntityField(e,i,r){this.dispatch(K.modifyEntityField({id:e.id,type:e.type,key:i,value:r}))}dispatch(e){this.isBatching?this.batchQueue.push(e):this.store.dispatch(e)}serialize(e,i){return h.serialize(this.getState().iiif,e,i)}toPresentation2(e){return this.serialize(e,h.serializeConfigPresentation2)}toPresentation3(e){return this.serialize(e,h.serializeConfigPresentation3)}hydrate(e,i){return this.get(e,i,{skipSelfReturn:!1})}get(e,i,r={}){typeof i!="string"&&(r=i||{},i=void 0);const{skipSelfReturn:s=!0}=r||{};if(Array.isArray(e))return e.map(d=>this.get(d,r));const o=this.getState();if(typeof e=="string"){const d=i||o.iiif.mapping[e];if(!d)return s?null:{id:e,type:"unknown"};e={id:e,type:d}}const n=i||e.type,a=e.id,c=o.iiif.entities[n];if(!c){const d=o.iiif.requests[a];return d&&d.resourceUri!==a?this.get(d.resourceUri,r):s?null:e}return c[e.id]||(s?null:e)}select(e){return e(this.getState())}getStore(){return this.store}getState(){return this.store.getState()}loadManifest(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}loadCollection(e,i){const r=typeof e=="string"?e:e.id;return this.load(r,i)}load(e,i){const r=typeof e=="string"?e:e.id;return i?this.staticFetcher(r,i):this.remoteFetcher(r)}areInputsEqual(e,i){return I(e,i)}subscribe(e,i,r){typeof r>"u"&&(typeof i>"u"||i===!1||i===!0)&&(r=i,i=e,e=o=>o);let s=r?null:e(this.store.getState());return r||i(s,this),this.store.subscribe(()=>{const o=this.store.getState(),n=e(o);s!==n&&!I(s,n)&&i(n,this),s=n})}async ensureLoaded(e){const i=typeof e=="string"?e:e.id;this.requestStatus(i)||await this.load(i)}requestStatus(e){return this.select(i=>i.iiif.requests[e])}getResourceMeta(e,i){const r=this.getState().iiif.meta[e];if(r)return i?r[i]:r}setMetaValue([e,i,r],s){this.dispatch(typeof s=="function"?M.setMetaValueDynamic({id:e,meta:i,key:r,updateValue:s}):M.setMetaValue({id:e,meta:i,key:r,value:s}))}}exports.Vault=me;
|
|
2
2
|
//# sourceMappingURL=index.cjs128.js.map
|
package/dist/index.cjs133.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const Q=require("./index.
|
|
1
|
+
"use strict";const Q=require("./index.cjs150.js");require("./index.cjs151.js");const ee=require("./index.cjs152.js");require("./index.cjs153.js");const te=require("./index.cjs154.js"),re=require("./index.cjs155.js"),ne=require("./index.cjs156.js"),se=require("./index.cjs157.js"),ie=require("./index.cjs158.js"),oe=se.__exports,W=ee.escapeStringRegexp,{isPlainObject:le}=ie.__exports,V=te.cjs,ae=re.parseSrcsetExports,{parse:ce}=ne.postcss_1,de=["img","audio","video","picture","svg","object","map","iframe","embed"],fe=["script","style"];function O(d,t){d&&Object.keys(d).forEach(function(w){t(d[w],w)})}function y(d,t){return{}.hasOwnProperty.call(d,t)}function Z(d,t){const w=[];return O(d,function(l){t(l)&&w.push(l)}),w}function ue(d){for(const t in d)if(y(d,t))return!1;return!0}function pe(d){return d.map(function(t){if(!t.url)throw new Error("URL missing");return t.url+(t.w?` ${t.w}w`:"")+(t.h?` ${t.h}h`:"")+(t.d?` ${t.d}x`:"")}).join(", ")}var ge=H;const he=/^[^\0\t\n\f\r /<=>]+$/;function H(d,t,w){if(d==null)return"";typeof d=="number"&&(d=d.toString());let l="",m="";function R(e,n){const r=this;this.tag=e,this.attribs=n||{},this.tagPosition=l.length,this.text="",this.mediaChildren=[],this.updateParentNodeText=function(){if(u.length){const s=u[u.length-1];s.text+=r.text}},this.updateParentNodeMediaChildren=function(){u.length&&de.includes(this.tag)&&u[u.length-1].mediaChildren.push(this.tag)}}t=Object.assign({},H.defaults,t),t.parser=Object.assign({},me,t.parser);const P=function(e){return t.allowedTags===!1||(t.allowedTags||[]).indexOf(e)>-1};fe.forEach(function(e){P(e)&&!t.allowVulnerableTags&&console.warn(`
|
|
2
2
|
|
|
3
3
|
⚠️ Your \`allowedTags\` option includes, \`${e}\`, which is inherently
|
|
4
4
|
vulnerable to XSS attacks. Please remove it from \`allowedTags\`.
|
package/dist/index.cjs136.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.cjs159.js"),r=require("./index.cjs160.js"),t=require("./index.cjs161.js"),s=require("./index.cjs162.js"),o=e.parser.parse,n=r.compiler.compile,c=t.segmenter.segment,i=s.hls;var l={parse:o,compile:n,segment:c,hls:i};exports.nodeWebvtt=l;
|
|
2
2
|
//# sourceMappingURL=index.cjs136.js.map
|
package/dist/index.cjs138.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs112.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs171.js"),T=require("./index.cjs113.js"),Ve=require("./index.cjs144.js"),k=require("./index.cjs114.js"),Be=require("./index.cjs115.js"),qe=require("./index.cjs145.js"),We=require("./index.cjs120.js"),Fe=require("./index.cjs124.js"),Ke=require("./index.cjs121.js"),he=require("./index.cjs119.js"),ne=require("./index.cjs147.js"),Ue=require("./index.cjs122.js"),H=require("./index.cjs117.js"),Ge=require("./index.cjs127.js"),ze=require("./index.cjs146.js"),we=require("./index.cjs116.js"),K=require("./index.cjs149.js"),je=require("./index.cjs142.js"),Ye=require("./index.cjs172.js"),Xe=require("./index.cjs126.js"),Ze=require("./index.cjs125.js"),Je=[" ","Enter","ArrowUp","ArrowDown"],Qe=[" ","Enter"],le="Select",[ae,ie,et]=Ve.createCollection(le),[Q,tt]=Be.createContextScope(le,[et,ne.createPopperScope]),$e=ne.createPopperScope(),[ot,z]=Q(le),[nt,ct]=Q(le),Ie=n=>{const{__scopeSelect:d,children:t,open:l,defaultOpen:s,onOpenChange:u,value:c,defaultValue:o,onValueChange:r,dir:a,name:v,autoComplete:E,disabled:P,required:b}=n,p=$e(d),[g,x]=e.useState(null),[m,i]=e.useState(null),[h,ee]=e.useState(!1),D=qe.useDirection(a),[te=!1,_]=we.useControllableState({prop:l,defaultProp:s,onChange:u}),[O,U]=we.useControllableState({prop:c,defaultProp:o,onChange:r}),Y=e.useRef(null),G=g?!!g.closest("form"):!0,[L,q]=e.useState(new Set),W=Array.from(L).map(I=>I.props.value).join(";");return e.createElement(ne.Root,p,e.createElement(ot,{required:b,scope:d,trigger:g,onTriggerChange:x,valueNode:m,onValueNodeChange:i,valueNodeHasChildren:h,onValueNodeHasChildrenChange:ee,contentId:he.useId(),value:O,onValueChange:U,open:te,onOpenChange:_,dir:D,triggerPointerDownPosRef:Y,disabled:P},e.createElement(ae.Provider,{scope:d},e.createElement(nt,{scope:n.__scopeSelect,onNativeOptionAdd:e.useCallback(I=>{q(A=>new Set(A).add(I))},[]),onNativeOptionRemove:e.useCallback(I=>{q(A=>{const V=new Set(A);return V.delete(I),V})},[])},t)),G?e.createElement(Le,{key:W,"aria-hidden":!0,required:b,tabIndex:-1,name:v,autoComplete:E,value:O,onChange:I=>U(I.target.value),disabled:P},O===void 0?e.createElement("option",{value:""}):null,Array.from(L)):null))},rt="SelectTrigger",Te=e.forwardRef((n,d)=>{const{__scopeSelect:t,disabled:l=!1,...s}=n,u=$e(t),c=z(rt,t),o=c.disabled||l,r=k.useComposedRefs(d,c.onTriggerChange),a=ie(t),[v,E,P]=Ae(p=>{const g=a().filter(i=>!i.disabled),x=g.find(i=>i.value===c.value),m=ke(g,p,x);m!==void 0&&c.onValueChange(m.value)}),b=()=>{o||(c.onOpenChange(!0),P())};return e.createElement(ne.Anchor,y({asChild:!0},u),e.createElement(H.Primitive.button,y({type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":He(c.value)?"":void 0},s,{ref:r,onClick:T.composeEventHandlers(s.onClick,p=>{p.currentTarget.focus()}),onPointerDown:T.composeEventHandlers(s.onPointerDown,p=>{const g=p.target;g.hasPointerCapture(p.pointerId)&&g.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&(b(),c.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)},p.preventDefault())}),onKeyDown:T.composeEventHandlers(s.onKeyDown,p=>{const g=v.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&E(p.key),!(g&&p.key===" ")&&Je.includes(p.key)&&(b(),p.preventDefault())})})))}),st="SelectValue",lt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,children:u,placeholder:c="",...o}=n,r=z(st,t),{onValueNodeHasChildrenChange:a}=r,v=u!==void 0,E=k.useComposedRefs(d,r.onValueNodeChange);return K.useLayoutEffect(()=>{a(v)},[a,v]),e.createElement(H.Primitive.span,y({},o,{ref:E,style:{pointerEvents:"none"}}),He(r.value)?e.createElement(e.Fragment,null,c):u)}),at=e.forwardRef((n,d)=>{const{__scopeSelect:t,children:l,...s}=n;return e.createElement(H.Primitive.span,y({"aria-hidden":!0},s,{ref:d}),l||"▼")}),it=n=>e.createElement(Ue.Portal,y({asChild:!0},n)),J="SelectContent",_e=e.forwardRef((n,d)=>{const t=z(J,n.__scopeSelect),[l,s]=e.useState();if(K.useLayoutEffect(()=>{s(new DocumentFragment)},[]),!t.open){const u=l;return u?Pe.createPortal(e.createElement(Re,{scope:n.__scopeSelect},e.createElement(ae.Slot,{scope:n.__scopeSelect},e.createElement("div",null,n.children))),u):null}return e.createElement(dt,y({},n,{ref:d}))}),B=10,[Re,j]=Q(J),dt=e.forwardRef((n,d)=>{const{__scopeSelect:t,position:l="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:u,onPointerDownOutside:c,side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x,...m}=n,i=z(J,t),[h,ee]=e.useState(null),[D,te]=e.useState(null),_=k.useComposedRefs(d,f=>ee(f)),[O,U]=e.useState(null),[Y,G]=e.useState(null),L=ie(t),[q,W]=e.useState(!1),I=e.useRef(!1);e.useEffect(()=>{if(h)return Xe.hideOthers(h)},[h]),Fe.useFocusGuards();const A=e.useCallback(f=>{const[w,...R]=L().map(S=>S.ref.current),[C]=R.slice(-1),$=document.activeElement;for(const S of f)if(S===$||(S==null||S.scrollIntoView({block:"nearest"}),S===w&&D&&(D.scrollTop=0),S===C&&D&&(D.scrollTop=D.scrollHeight),S==null||S.focus(),document.activeElement!==$))return},[L,D]),V=e.useCallback(()=>A([O,h]),[A,O,h]);e.useEffect(()=>{q&&V()},[q,V]);const{onOpenChange:X,triggerPointerDownPosRef:F}=i;e.useEffect(()=>{if(h){let f={x:0,y:0};const w=C=>{var $,S,N,M;f={x:Math.abs(Math.round(C.pageX)-(($=(S=F.current)===null||S===void 0?void 0:S.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(C.pageY)-((N=(M=F.current)===null||M===void 0?void 0:M.y)!==null&&N!==void 0?N:0))}},R=C=>{f.x<=10&&f.y<=10?C.preventDefault():h.contains(C.target)||X(!1),document.removeEventListener("pointermove",w),F.current=null};return F.current!==null&&(document.addEventListener("pointermove",w),document.addEventListener("pointerup",R,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",R,{capture:!0})}}},[h,X,F]),e.useEffect(()=>{const f=()=>X(!1);return window.addEventListener("blur",f),window.addEventListener("resize",f),()=>{window.removeEventListener("blur",f),window.removeEventListener("resize",f)}},[X]);const[de,ce]=Ae(f=>{const w=L().filter($=>!$.disabled),R=w.find($=>$.ref.current===document.activeElement),C=ke(w,f,R);C&&setTimeout(()=>C.ref.current.focus())}),ue=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&(U(f),C&&(I.current=!0))},[i.value]),fe=e.useCallback(()=>h==null?void 0:h.focus(),[h]),Z=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&G(f)},[i.value]),re=l==="popper"?Ce:ut,oe=re===Ce?{side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x}:{};return e.createElement(Re,{scope:t,content:h,viewport:D,onViewportChange:te,itemRefCallback:ue,selectedItem:O,onItemLeave:fe,itemTextRefCallback:Z,focusSelectedItem:V,selectedItemText:Y,position:l,isPositioned:q,searchRef:de},e.createElement(Ze,{as:Ge.Slot,allowPinchZoom:!0},e.createElement(Ke.FocusScope,{asChild:!0,trapped:i.open,onMountAutoFocus:f=>{f.preventDefault()},onUnmountAutoFocus:T.composeEventHandlers(s,f=>{var w;(w=i.trigger)===null||w===void 0||w.focus({preventScroll:!0}),f.preventDefault()})},e.createElement(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f=>f.preventDefault(),onDismiss:()=>i.onOpenChange(!1)},e.createElement(re,y({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:f=>f.preventDefault()},m,oe,{onPlaced:()=>W(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...m.style},onKeyDown:T.composeEventHandlers(m.onKeyDown,f=>{const w=f.ctrlKey||f.altKey||f.metaKey;if(f.key==="Tab"&&f.preventDefault(),!w&&f.key.length===1&&ce(f.key),["ArrowUp","ArrowDown","Home","End"].includes(f.key)){let C=L().filter($=>!$.disabled).map($=>$.ref.current);if(["ArrowUp","End"].includes(f.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(f.key)){const $=f.target,S=C.indexOf($);C=C.slice(S+1)}setTimeout(()=>A(C)),f.preventDefault()}})}))))))}),ut=e.forwardRef((n,d)=>{const{__scopeSelect:t,onPlaced:l,...s}=n,u=z(J,t),c=j(J,t),[o,r]=e.useState(null),[a,v]=e.useState(null),E=k.useComposedRefs(d,_=>v(_)),P=ie(t),b=e.useRef(!1),p=e.useRef(!0),{viewport:g,selectedItem:x,selectedItemText:m,focusSelectedItem:i}=c,h=e.useCallback(()=>{if(u.trigger&&u.valueNode&&o&&a&&g&&x&&m){const _=u.trigger.getBoundingClientRect(),O=a.getBoundingClientRect(),U=u.valueNode.getBoundingClientRect(),Y=m.getBoundingClientRect();if(u.dir!=="rtl"){const $=Y.left-O.left,S=U.left-$,N=_.left-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.left=ve+"px"}else{const $=O.right-Y.right,S=window.innerWidth-U.right-$,N=window.innerWidth-_.right-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.right=ve+"px"}const G=P(),L=window.innerHeight-B*2,q=g.scrollHeight,W=window.getComputedStyle(a),I=parseInt(W.borderTopWidth,10),A=parseInt(W.paddingTop,10),V=parseInt(W.borderBottomWidth,10),X=parseInt(W.paddingBottom,10),F=I+A+q+X+V,de=Math.min(x.offsetHeight*5,F),ce=window.getComputedStyle(g),ue=parseInt(ce.paddingTop,10),fe=parseInt(ce.paddingBottom,10),Z=_.top+_.height/2-B,re=L-Z,oe=x.offsetHeight/2,f=x.offsetTop+oe,w=I+A+f,R=F-w;if(w<=Z){const $=x===G[G.length-1].ref.current;o.style.bottom="0px";const S=a.clientHeight-g.offsetTop-g.offsetHeight,N=Math.max(re,oe+($?fe:0)+S+V),M=w+N;o.style.height=M+"px"}else{const $=x===G[0].ref.current;o.style.top="0px";const N=Math.max(Z,I+g.offsetTop+($?ue:0)+oe)+R;o.style.height=N+"px",g.scrollTop=w-Z+g.offsetTop}o.style.margin=`${B}px 0`,o.style.minHeight=de+"px",o.style.maxHeight=L+"px",l==null||l(),requestAnimationFrame(()=>b.current=!0)}},[P,u.trigger,u.valueNode,o,a,g,x,m,u.dir,l]);K.useLayoutEffect(()=>h(),[h]);const[ee,D]=e.useState();K.useLayoutEffect(()=>{a&&D(window.getComputedStyle(a).zIndex)},[a]);const te=e.useCallback(_=>{_&&p.current===!0&&(h(),i==null||i(),p.current=!1)},[h,i]);return e.createElement(ft,{scope:t,contentWrapper:o,shouldExpandOnScrollRef:b,onScrollButtonChange:te},e.createElement("div",{ref:r,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:ee}},e.createElement(H.Primitive.div,y({},s,{ref:E,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}}))))}),Ce=e.forwardRef((n,d)=>{const{__scopeSelect:t,align:l="start",collisionPadding:s=B,...u}=n,c=$e(t);return e.createElement(ne.Content,y({},c,u,{ref:d,align:l,collisionPadding:s,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[ft,Se]=Q(J,{}),Ee="SelectViewport",pt=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=j(Ee,t),u=Se(Ee,t),c=k.useComposedRefs(d,s.onViewportChange),o=e.useRef(0);return e.createElement(e.Fragment,null,e.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),e.createElement(ae.Slot,{scope:t},e.createElement(H.Primitive.div,y({"data-radix-select-viewport":"",role:"presentation"},l,{ref:c,style:{position:"relative",flex:1,overflow:"auto",...l.style},onScroll:T.composeEventHandlers(l.onScroll,r=>{const a=r.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:E}=u;if(E!=null&&E.current&&v){const P=Math.abs(o.current-a.scrollTop);if(P>0){const b=window.innerHeight-B*2,p=parseFloat(v.style.minHeight),g=parseFloat(v.style.height),x=Math.max(p,g);if(x<b){const m=x+P,i=Math.min(b,m),h=m-i;v.style.height=i+"px",v.style.bottom==="0px"&&(a.scrollTop=h>0?h:0,v.style.justifyContent="flex-end")}}}o.current=a.scrollTop})}))))}),mt="SelectGroup",[vt,gt]=Q(mt),ht=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=he.useId();return e.createElement(vt,{scope:t,id:s},e.createElement(H.Primitive.div,y({role:"group","aria-labelledby":s},l,{ref:d})))}),$t="SelectLabel",Oe=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=gt($t,t);return e.createElement(H.Primitive.div,y({id:s.id},l,{ref:d}))}),ge="SelectItem",[St,De]=Q(ge),Ne=e.forwardRef((n,d)=>{const{__scopeSelect:t,value:l,disabled:s=!1,textValue:u,...c}=n,o=z(ge,t),r=j(ge,t),a=o.value===l,[v,E]=e.useState(u??""),[P,b]=e.useState(!1),p=k.useComposedRefs(d,m=>{var i;return(i=r.itemRefCallback)===null||i===void 0?void 0:i.call(r,m,l,s)}),g=he.useId(),x=()=>{s||(o.onValueChange(l),o.onOpenChange(!1))};if(l==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return e.createElement(St,{scope:t,value:l,disabled:s,textId:g,isSelected:a,onItemTextChange:e.useCallback(m=>{E(i=>{var h;return i||((h=m==null?void 0:m.textContent)!==null&&h!==void 0?h:"").trim()})},[])},e.createElement(ae.ItemSlot,{scope:t,value:l,disabled:s,textValue:v},e.createElement(H.Primitive.div,y({role:"option","aria-labelledby":g,"data-highlighted":P?"":void 0,"aria-selected":a&&P,"data-state":a?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1},c,{ref:p,onFocus:T.composeEventHandlers(c.onFocus,()=>b(!0)),onBlur:T.composeEventHandlers(c.onBlur,()=>b(!1)),onPointerUp:T.composeEventHandlers(c.onPointerUp,x),onPointerMove:T.composeEventHandlers(c.onPointerMove,m=>{if(s){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}else m.currentTarget.focus({preventScroll:!0})}),onPointerLeave:T.composeEventHandlers(c.onPointerLeave,m=>{if(m.currentTarget===document.activeElement){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}}),onKeyDown:T.composeEventHandlers(c.onKeyDown,m=>{var i;((i=r.searchRef)===null||i===void 0?void 0:i.current)!==""&&m.key===" "||(Qe.includes(m.key)&&x(),m.key===" "&&m.preventDefault())})}))))}),se="SelectItemText",xt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,...u}=n,c=z(se,t),o=j(se,t),r=De(se,t),a=ct(se,t),[v,E]=e.useState(null),P=k.useComposedRefs(d,m=>E(m),r.onItemTextChange,m=>{var i;return(i=o.itemTextRefCallback)===null||i===void 0?void 0:i.call(o,m,r.value,r.disabled)}),b=v==null?void 0:v.textContent,p=e.useMemo(()=>e.createElement("option",{key:r.value,value:r.value,disabled:r.disabled},b),[r.disabled,r.value,b]),{onNativeOptionAdd:g,onNativeOptionRemove:x}=a;return K.useLayoutEffect(()=>(g(p),()=>x(p)),[g,x,p]),e.createElement(e.Fragment,null,e.createElement(H.Primitive.span,y({id:r.textId},u,{ref:P})),r.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Pe.createPortal(u.children,c.valueNode):null)}),wt="SelectItemIndicator",Ct=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n;return De(wt,t).isSelected?e.createElement(H.Primitive.span,y({"aria-hidden":!0},l,{ref:d})):null}),be="SelectScrollUpButton",Et=e.forwardRef((n,d)=>{const t=j(be,n.__scopeSelect),l=Se(be,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollTop>0;u(a)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop-r.offsetHeight)}})):null}),ye="SelectScrollDownButton",bt=e.forwardRef((n,d)=>{const t=j(ye,n.__scopeSelect),l=Se(ye,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollHeight-o.clientHeight,v=Math.ceil(o.scrollTop)<a;u(v)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop+r.offsetHeight)}})):null}),Me=e.forwardRef((n,d)=>{const{__scopeSelect:t,onAutoScroll:l,...s}=n,u=j("SelectScrollButton",t),c=e.useRef(null),o=ie(t),r=e.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return e.useEffect(()=>()=>r(),[r]),K.useLayoutEffect(()=>{var a;const v=o().find(E=>E.ref.current===document.activeElement);v==null||(a=v.ref.current)===null||a===void 0||a.scrollIntoView({block:"nearest"})},[o]),e.createElement(H.Primitive.div,y({"aria-hidden":!0},s,{ref:d,style:{flexShrink:0,...s.style},onPointerDown:T.composeEventHandlers(s.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(l,50))}),onPointerMove:T.composeEventHandlers(s.onPointerMove,()=>{var a;(a=u.onItemLeave)===null||a===void 0||a.call(u),c.current===null&&(c.current=window.setInterval(l,50))}),onPointerLeave:T.composeEventHandlers(s.onPointerLeave,()=>{r()})}))});function He(n){return n===""||n===void 0}const Le=e.forwardRef((n,d)=>{const{value:t,...l}=n,s=e.useRef(null),u=k.useComposedRefs(d,s),c=je.usePrevious(t);return e.useEffect(()=>{const o=s.current,r=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(r,"value").set;if(c!==t&&v){const E=new Event("change",{bubbles:!0});v.call(o,t),o.dispatchEvent(E)}},[c,t]),e.createElement(Ye.VisuallyHidden,{asChild:!0},e.createElement("select",y({},l,{ref:u,defaultValue:t})))});Le.displayName="BubbleSelect";function Ae(n){const d=ze.useCallbackRef(n),t=e.useRef(""),l=e.useRef(0),s=e.useCallback(c=>{const o=t.current+c;d(o),function r(a){t.current=a,window.clearTimeout(l.current),a!==""&&(l.current=window.setTimeout(()=>r(""),1e3))}(o)},[d]),u=e.useCallback(()=>{t.current="",window.clearTimeout(l.current)},[]);return e.useEffect(()=>()=>window.clearTimeout(l.current),[]),[t,s,u]}function ke(n,d,t){const s=d.length>1&&Array.from(d).every(a=>a===d[0])?d[0]:d,u=t?n.indexOf(t):-1;let c=yt(n,Math.max(u,0));s.length===1&&(c=c.filter(a=>a!==t));const r=c.find(a=>a.textValue.toLowerCase().startsWith(s.toLowerCase()));return r!==t?r:void 0}function yt(n,d){return n.map((t,l)=>n[(d+l)%n.length])}const Pt=Ie,It=Te,Tt=_e,_t=Oe,Rt=Ne;exports.Content=Tt;exports.Item=Rt;exports.Label=_t;exports.Root=Pt;exports.Select=Ie;exports.SelectContent=_e;exports.SelectGroup=ht;exports.SelectIcon=at;exports.SelectItem=Ne;exports.SelectItemIndicator=Ct;exports.SelectItemText=xt;exports.SelectLabel=Oe;exports.SelectPortal=it;exports.SelectScrollDownButton=bt;exports.SelectScrollUpButton=Et;exports.SelectTrigger=Te;exports.SelectValue=lt;exports.SelectViewport=pt;exports.Trigger=It;exports.createSelectScope=tt;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs112.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs167.js"),T=require("./index.cjs113.js"),Ve=require("./index.cjs144.js"),k=require("./index.cjs114.js"),Be=require("./index.cjs115.js"),qe=require("./index.cjs145.js"),We=require("./index.cjs120.js"),Fe=require("./index.cjs124.js"),Ke=require("./index.cjs121.js"),he=require("./index.cjs119.js"),ne=require("./index.cjs147.js"),Ue=require("./index.cjs122.js"),H=require("./index.cjs117.js"),Ge=require("./index.cjs127.js"),ze=require("./index.cjs146.js"),we=require("./index.cjs116.js"),K=require("./index.cjs149.js"),je=require("./index.cjs142.js"),Ye=require("./index.cjs168.js"),Xe=require("./index.cjs126.js"),Ze=require("./index.cjs125.js"),Je=[" ","Enter","ArrowUp","ArrowDown"],Qe=[" ","Enter"],le="Select",[ae,ie,et]=Ve.createCollection(le),[Q,tt]=Be.createContextScope(le,[et,ne.createPopperScope]),$e=ne.createPopperScope(),[ot,z]=Q(le),[nt,ct]=Q(le),Ie=n=>{const{__scopeSelect:d,children:t,open:l,defaultOpen:s,onOpenChange:u,value:c,defaultValue:o,onValueChange:r,dir:a,name:v,autoComplete:E,disabled:P,required:b}=n,p=$e(d),[g,x]=e.useState(null),[m,i]=e.useState(null),[h,ee]=e.useState(!1),D=qe.useDirection(a),[te=!1,_]=we.useControllableState({prop:l,defaultProp:s,onChange:u}),[O,U]=we.useControllableState({prop:c,defaultProp:o,onChange:r}),Y=e.useRef(null),G=g?!!g.closest("form"):!0,[L,q]=e.useState(new Set),W=Array.from(L).map(I=>I.props.value).join(";");return e.createElement(ne.Root,p,e.createElement(ot,{required:b,scope:d,trigger:g,onTriggerChange:x,valueNode:m,onValueNodeChange:i,valueNodeHasChildren:h,onValueNodeHasChildrenChange:ee,contentId:he.useId(),value:O,onValueChange:U,open:te,onOpenChange:_,dir:D,triggerPointerDownPosRef:Y,disabled:P},e.createElement(ae.Provider,{scope:d},e.createElement(nt,{scope:n.__scopeSelect,onNativeOptionAdd:e.useCallback(I=>{q(A=>new Set(A).add(I))},[]),onNativeOptionRemove:e.useCallback(I=>{q(A=>{const V=new Set(A);return V.delete(I),V})},[])},t)),G?e.createElement(Le,{key:W,"aria-hidden":!0,required:b,tabIndex:-1,name:v,autoComplete:E,value:O,onChange:I=>U(I.target.value),disabled:P},O===void 0?e.createElement("option",{value:""}):null,Array.from(L)):null))},rt="SelectTrigger",Te=e.forwardRef((n,d)=>{const{__scopeSelect:t,disabled:l=!1,...s}=n,u=$e(t),c=z(rt,t),o=c.disabled||l,r=k.useComposedRefs(d,c.onTriggerChange),a=ie(t),[v,E,P]=Ae(p=>{const g=a().filter(i=>!i.disabled),x=g.find(i=>i.value===c.value),m=ke(g,p,x);m!==void 0&&c.onValueChange(m.value)}),b=()=>{o||(c.onOpenChange(!0),P())};return e.createElement(ne.Anchor,y({asChild:!0},u),e.createElement(H.Primitive.button,y({type:"button",role:"combobox","aria-controls":c.contentId,"aria-expanded":c.open,"aria-required":c.required,"aria-autocomplete":"none",dir:c.dir,"data-state":c.open?"open":"closed",disabled:o,"data-disabled":o?"":void 0,"data-placeholder":He(c.value)?"":void 0},s,{ref:r,onClick:T.composeEventHandlers(s.onClick,p=>{p.currentTarget.focus()}),onPointerDown:T.composeEventHandlers(s.onPointerDown,p=>{const g=p.target;g.hasPointerCapture(p.pointerId)&&g.releasePointerCapture(p.pointerId),p.button===0&&p.ctrlKey===!1&&(b(),c.triggerPointerDownPosRef.current={x:Math.round(p.pageX),y:Math.round(p.pageY)},p.preventDefault())}),onKeyDown:T.composeEventHandlers(s.onKeyDown,p=>{const g=v.current!=="";!(p.ctrlKey||p.altKey||p.metaKey)&&p.key.length===1&&E(p.key),!(g&&p.key===" ")&&Je.includes(p.key)&&(b(),p.preventDefault())})})))}),st="SelectValue",lt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,children:u,placeholder:c="",...o}=n,r=z(st,t),{onValueNodeHasChildrenChange:a}=r,v=u!==void 0,E=k.useComposedRefs(d,r.onValueNodeChange);return K.useLayoutEffect(()=>{a(v)},[a,v]),e.createElement(H.Primitive.span,y({},o,{ref:E,style:{pointerEvents:"none"}}),He(r.value)?e.createElement(e.Fragment,null,c):u)}),at=e.forwardRef((n,d)=>{const{__scopeSelect:t,children:l,...s}=n;return e.createElement(H.Primitive.span,y({"aria-hidden":!0},s,{ref:d}),l||"▼")}),it=n=>e.createElement(Ue.Portal,y({asChild:!0},n)),J="SelectContent",_e=e.forwardRef((n,d)=>{const t=z(J,n.__scopeSelect),[l,s]=e.useState();if(K.useLayoutEffect(()=>{s(new DocumentFragment)},[]),!t.open){const u=l;return u?Pe.createPortal(e.createElement(Re,{scope:n.__scopeSelect},e.createElement(ae.Slot,{scope:n.__scopeSelect},e.createElement("div",null,n.children))),u):null}return e.createElement(dt,y({},n,{ref:d}))}),B=10,[Re,j]=Q(J),dt=e.forwardRef((n,d)=>{const{__scopeSelect:t,position:l="item-aligned",onCloseAutoFocus:s,onEscapeKeyDown:u,onPointerDownOutside:c,side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x,...m}=n,i=z(J,t),[h,ee]=e.useState(null),[D,te]=e.useState(null),_=k.useComposedRefs(d,f=>ee(f)),[O,U]=e.useState(null),[Y,G]=e.useState(null),L=ie(t),[q,W]=e.useState(!1),I=e.useRef(!1);e.useEffect(()=>{if(h)return Xe.hideOthers(h)},[h]),Fe.useFocusGuards();const A=e.useCallback(f=>{const[w,...R]=L().map(S=>S.ref.current),[C]=R.slice(-1),$=document.activeElement;for(const S of f)if(S===$||(S==null||S.scrollIntoView({block:"nearest"}),S===w&&D&&(D.scrollTop=0),S===C&&D&&(D.scrollTop=D.scrollHeight),S==null||S.focus(),document.activeElement!==$))return},[L,D]),V=e.useCallback(()=>A([O,h]),[A,O,h]);e.useEffect(()=>{q&&V()},[q,V]);const{onOpenChange:X,triggerPointerDownPosRef:F}=i;e.useEffect(()=>{if(h){let f={x:0,y:0};const w=C=>{var $,S,N,M;f={x:Math.abs(Math.round(C.pageX)-(($=(S=F.current)===null||S===void 0?void 0:S.x)!==null&&$!==void 0?$:0)),y:Math.abs(Math.round(C.pageY)-((N=(M=F.current)===null||M===void 0?void 0:M.y)!==null&&N!==void 0?N:0))}},R=C=>{f.x<=10&&f.y<=10?C.preventDefault():h.contains(C.target)||X(!1),document.removeEventListener("pointermove",w),F.current=null};return F.current!==null&&(document.addEventListener("pointermove",w),document.addEventListener("pointerup",R,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",w),document.removeEventListener("pointerup",R,{capture:!0})}}},[h,X,F]),e.useEffect(()=>{const f=()=>X(!1);return window.addEventListener("blur",f),window.addEventListener("resize",f),()=>{window.removeEventListener("blur",f),window.removeEventListener("resize",f)}},[X]);const[de,ce]=Ae(f=>{const w=L().filter($=>!$.disabled),R=w.find($=>$.ref.current===document.activeElement),C=ke(w,f,R);C&&setTimeout(()=>C.ref.current.focus())}),ue=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&(U(f),C&&(I.current=!0))},[i.value]),fe=e.useCallback(()=>h==null?void 0:h.focus(),[h]),Z=e.useCallback((f,w,R)=>{const C=!I.current&&!R;(i.value!==void 0&&i.value===w||C)&&G(f)},[i.value]),re=l==="popper"?Ce:ut,oe=re===Ce?{side:o,sideOffset:r,align:a,alignOffset:v,arrowPadding:E,collisionBoundary:P,collisionPadding:b,sticky:p,hideWhenDetached:g,avoidCollisions:x}:{};return e.createElement(Re,{scope:t,content:h,viewport:D,onViewportChange:te,itemRefCallback:ue,selectedItem:O,onItemLeave:fe,itemTextRefCallback:Z,focusSelectedItem:V,selectedItemText:Y,position:l,isPositioned:q,searchRef:de},e.createElement(Ze,{as:Ge.Slot,allowPinchZoom:!0},e.createElement(Ke.FocusScope,{asChild:!0,trapped:i.open,onMountAutoFocus:f=>{f.preventDefault()},onUnmountAutoFocus:T.composeEventHandlers(s,f=>{var w;(w=i.trigger)===null||w===void 0||w.focus({preventScroll:!0}),f.preventDefault()})},e.createElement(We.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:u,onPointerDownOutside:c,onFocusOutside:f=>f.preventDefault(),onDismiss:()=>i.onOpenChange(!1)},e.createElement(re,y({role:"listbox",id:i.contentId,"data-state":i.open?"open":"closed",dir:i.dir,onContextMenu:f=>f.preventDefault()},m,oe,{onPlaced:()=>W(!0),ref:_,style:{display:"flex",flexDirection:"column",outline:"none",...m.style},onKeyDown:T.composeEventHandlers(m.onKeyDown,f=>{const w=f.ctrlKey||f.altKey||f.metaKey;if(f.key==="Tab"&&f.preventDefault(),!w&&f.key.length===1&&ce(f.key),["ArrowUp","ArrowDown","Home","End"].includes(f.key)){let C=L().filter($=>!$.disabled).map($=>$.ref.current);if(["ArrowUp","End"].includes(f.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(f.key)){const $=f.target,S=C.indexOf($);C=C.slice(S+1)}setTimeout(()=>A(C)),f.preventDefault()}})}))))))}),ut=e.forwardRef((n,d)=>{const{__scopeSelect:t,onPlaced:l,...s}=n,u=z(J,t),c=j(J,t),[o,r]=e.useState(null),[a,v]=e.useState(null),E=k.useComposedRefs(d,_=>v(_)),P=ie(t),b=e.useRef(!1),p=e.useRef(!0),{viewport:g,selectedItem:x,selectedItemText:m,focusSelectedItem:i}=c,h=e.useCallback(()=>{if(u.trigger&&u.valueNode&&o&&a&&g&&x&&m){const _=u.trigger.getBoundingClientRect(),O=a.getBoundingClientRect(),U=u.valueNode.getBoundingClientRect(),Y=m.getBoundingClientRect();if(u.dir!=="rtl"){const $=Y.left-O.left,S=U.left-$,N=_.left-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.left=ve+"px"}else{const $=O.right-Y.right,S=window.innerWidth-U.right-$,N=window.innerWidth-_.right-S,M=_.width+N,pe=Math.max(M,O.width),me=window.innerWidth-B,ve=xe.clamp(S,[B,me-pe]);o.style.minWidth=M+"px",o.style.right=ve+"px"}const G=P(),L=window.innerHeight-B*2,q=g.scrollHeight,W=window.getComputedStyle(a),I=parseInt(W.borderTopWidth,10),A=parseInt(W.paddingTop,10),V=parseInt(W.borderBottomWidth,10),X=parseInt(W.paddingBottom,10),F=I+A+q+X+V,de=Math.min(x.offsetHeight*5,F),ce=window.getComputedStyle(g),ue=parseInt(ce.paddingTop,10),fe=parseInt(ce.paddingBottom,10),Z=_.top+_.height/2-B,re=L-Z,oe=x.offsetHeight/2,f=x.offsetTop+oe,w=I+A+f,R=F-w;if(w<=Z){const $=x===G[G.length-1].ref.current;o.style.bottom="0px";const S=a.clientHeight-g.offsetTop-g.offsetHeight,N=Math.max(re,oe+($?fe:0)+S+V),M=w+N;o.style.height=M+"px"}else{const $=x===G[0].ref.current;o.style.top="0px";const N=Math.max(Z,I+g.offsetTop+($?ue:0)+oe)+R;o.style.height=N+"px",g.scrollTop=w-Z+g.offsetTop}o.style.margin=`${B}px 0`,o.style.minHeight=de+"px",o.style.maxHeight=L+"px",l==null||l(),requestAnimationFrame(()=>b.current=!0)}},[P,u.trigger,u.valueNode,o,a,g,x,m,u.dir,l]);K.useLayoutEffect(()=>h(),[h]);const[ee,D]=e.useState();K.useLayoutEffect(()=>{a&&D(window.getComputedStyle(a).zIndex)},[a]);const te=e.useCallback(_=>{_&&p.current===!0&&(h(),i==null||i(),p.current=!1)},[h,i]);return e.createElement(ft,{scope:t,contentWrapper:o,shouldExpandOnScrollRef:b,onScrollButtonChange:te},e.createElement("div",{ref:r,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:ee}},e.createElement(H.Primitive.div,y({},s,{ref:E,style:{boxSizing:"border-box",maxHeight:"100%",...s.style}}))))}),Ce=e.forwardRef((n,d)=>{const{__scopeSelect:t,align:l="start",collisionPadding:s=B,...u}=n,c=$e(t);return e.createElement(ne.Content,y({},c,u,{ref:d,align:l,collisionPadding:s,style:{boxSizing:"border-box",...u.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}}))}),[ft,Se]=Q(J,{}),Ee="SelectViewport",pt=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=j(Ee,t),u=Se(Ee,t),c=k.useComposedRefs(d,s.onViewportChange),o=e.useRef(0);return e.createElement(e.Fragment,null,e.createElement("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"}}),e.createElement(ae.Slot,{scope:t},e.createElement(H.Primitive.div,y({"data-radix-select-viewport":"",role:"presentation"},l,{ref:c,style:{position:"relative",flex:1,overflow:"auto",...l.style},onScroll:T.composeEventHandlers(l.onScroll,r=>{const a=r.currentTarget,{contentWrapper:v,shouldExpandOnScrollRef:E}=u;if(E!=null&&E.current&&v){const P=Math.abs(o.current-a.scrollTop);if(P>0){const b=window.innerHeight-B*2,p=parseFloat(v.style.minHeight),g=parseFloat(v.style.height),x=Math.max(p,g);if(x<b){const m=x+P,i=Math.min(b,m),h=m-i;v.style.height=i+"px",v.style.bottom==="0px"&&(a.scrollTop=h>0?h:0,v.style.justifyContent="flex-end")}}}o.current=a.scrollTop})}))))}),mt="SelectGroup",[vt,gt]=Q(mt),ht=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=he.useId();return e.createElement(vt,{scope:t,id:s},e.createElement(H.Primitive.div,y({role:"group","aria-labelledby":s},l,{ref:d})))}),$t="SelectLabel",Oe=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n,s=gt($t,t);return e.createElement(H.Primitive.div,y({id:s.id},l,{ref:d}))}),ge="SelectItem",[St,De]=Q(ge),Ne=e.forwardRef((n,d)=>{const{__scopeSelect:t,value:l,disabled:s=!1,textValue:u,...c}=n,o=z(ge,t),r=j(ge,t),a=o.value===l,[v,E]=e.useState(u??""),[P,b]=e.useState(!1),p=k.useComposedRefs(d,m=>{var i;return(i=r.itemRefCallback)===null||i===void 0?void 0:i.call(r,m,l,s)}),g=he.useId(),x=()=>{s||(o.onValueChange(l),o.onOpenChange(!1))};if(l==="")throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return e.createElement(St,{scope:t,value:l,disabled:s,textId:g,isSelected:a,onItemTextChange:e.useCallback(m=>{E(i=>{var h;return i||((h=m==null?void 0:m.textContent)!==null&&h!==void 0?h:"").trim()})},[])},e.createElement(ae.ItemSlot,{scope:t,value:l,disabled:s,textValue:v},e.createElement(H.Primitive.div,y({role:"option","aria-labelledby":g,"data-highlighted":P?"":void 0,"aria-selected":a&&P,"data-state":a?"checked":"unchecked","aria-disabled":s||void 0,"data-disabled":s?"":void 0,tabIndex:s?void 0:-1},c,{ref:p,onFocus:T.composeEventHandlers(c.onFocus,()=>b(!0)),onBlur:T.composeEventHandlers(c.onBlur,()=>b(!1)),onPointerUp:T.composeEventHandlers(c.onPointerUp,x),onPointerMove:T.composeEventHandlers(c.onPointerMove,m=>{if(s){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}else m.currentTarget.focus({preventScroll:!0})}),onPointerLeave:T.composeEventHandlers(c.onPointerLeave,m=>{if(m.currentTarget===document.activeElement){var i;(i=r.onItemLeave)===null||i===void 0||i.call(r)}}),onKeyDown:T.composeEventHandlers(c.onKeyDown,m=>{var i;((i=r.searchRef)===null||i===void 0?void 0:i.current)!==""&&m.key===" "||(Qe.includes(m.key)&&x(),m.key===" "&&m.preventDefault())})}))))}),se="SelectItemText",xt=e.forwardRef((n,d)=>{const{__scopeSelect:t,className:l,style:s,...u}=n,c=z(se,t),o=j(se,t),r=De(se,t),a=ct(se,t),[v,E]=e.useState(null),P=k.useComposedRefs(d,m=>E(m),r.onItemTextChange,m=>{var i;return(i=o.itemTextRefCallback)===null||i===void 0?void 0:i.call(o,m,r.value,r.disabled)}),b=v==null?void 0:v.textContent,p=e.useMemo(()=>e.createElement("option",{key:r.value,value:r.value,disabled:r.disabled},b),[r.disabled,r.value,b]),{onNativeOptionAdd:g,onNativeOptionRemove:x}=a;return K.useLayoutEffect(()=>(g(p),()=>x(p)),[g,x,p]),e.createElement(e.Fragment,null,e.createElement(H.Primitive.span,y({id:r.textId},u,{ref:P})),r.isSelected&&c.valueNode&&!c.valueNodeHasChildren?Pe.createPortal(u.children,c.valueNode):null)}),wt="SelectItemIndicator",Ct=e.forwardRef((n,d)=>{const{__scopeSelect:t,...l}=n;return De(wt,t).isSelected?e.createElement(H.Primitive.span,y({"aria-hidden":!0},l,{ref:d})):null}),be="SelectScrollUpButton",Et=e.forwardRef((n,d)=>{const t=j(be,n.__scopeSelect),l=Se(be,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollTop>0;u(a)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop-r.offsetHeight)}})):null}),ye="SelectScrollDownButton",bt=e.forwardRef((n,d)=>{const t=j(ye,n.__scopeSelect),l=Se(ye,n.__scopeSelect),[s,u]=e.useState(!1),c=k.useComposedRefs(d,l.onScrollButtonChange);return K.useLayoutEffect(()=>{if(t.viewport&&t.isPositioned){let r=function(){const a=o.scrollHeight-o.clientHeight,v=Math.ceil(o.scrollTop)<a;u(v)};const o=t.viewport;return r(),o.addEventListener("scroll",r),()=>o.removeEventListener("scroll",r)}},[t.viewport,t.isPositioned]),s?e.createElement(Me,y({},n,{ref:c,onAutoScroll:()=>{const{viewport:o,selectedItem:r}=t;o&&r&&(o.scrollTop=o.scrollTop+r.offsetHeight)}})):null}),Me=e.forwardRef((n,d)=>{const{__scopeSelect:t,onAutoScroll:l,...s}=n,u=j("SelectScrollButton",t),c=e.useRef(null),o=ie(t),r=e.useCallback(()=>{c.current!==null&&(window.clearInterval(c.current),c.current=null)},[]);return e.useEffect(()=>()=>r(),[r]),K.useLayoutEffect(()=>{var a;const v=o().find(E=>E.ref.current===document.activeElement);v==null||(a=v.ref.current)===null||a===void 0||a.scrollIntoView({block:"nearest"})},[o]),e.createElement(H.Primitive.div,y({"aria-hidden":!0},s,{ref:d,style:{flexShrink:0,...s.style},onPointerDown:T.composeEventHandlers(s.onPointerDown,()=>{c.current===null&&(c.current=window.setInterval(l,50))}),onPointerMove:T.composeEventHandlers(s.onPointerMove,()=>{var a;(a=u.onItemLeave)===null||a===void 0||a.call(u),c.current===null&&(c.current=window.setInterval(l,50))}),onPointerLeave:T.composeEventHandlers(s.onPointerLeave,()=>{r()})}))});function He(n){return n===""||n===void 0}const Le=e.forwardRef((n,d)=>{const{value:t,...l}=n,s=e.useRef(null),u=k.useComposedRefs(d,s),c=je.usePrevious(t);return e.useEffect(()=>{const o=s.current,r=window.HTMLSelectElement.prototype,v=Object.getOwnPropertyDescriptor(r,"value").set;if(c!==t&&v){const E=new Event("change",{bubbles:!0});v.call(o,t),o.dispatchEvent(E)}},[c,t]),e.createElement(Ye.VisuallyHidden,{asChild:!0},e.createElement("select",y({},l,{ref:u,defaultValue:t})))});Le.displayName="BubbleSelect";function Ae(n){const d=ze.useCallbackRef(n),t=e.useRef(""),l=e.useRef(0),s=e.useCallback(c=>{const o=t.current+c;d(o),function r(a){t.current=a,window.clearTimeout(l.current),a!==""&&(l.current=window.setTimeout(()=>r(""),1e3))}(o)},[d]),u=e.useCallback(()=>{t.current="",window.clearTimeout(l.current)},[]);return e.useEffect(()=>()=>window.clearTimeout(l.current),[]),[t,s,u]}function ke(n,d,t){const s=d.length>1&&Array.from(d).every(a=>a===d[0])?d[0]:d,u=t?n.indexOf(t):-1;let c=yt(n,Math.max(u,0));s.length===1&&(c=c.filter(a=>a!==t));const r=c.find(a=>a.textValue.toLowerCase().startsWith(s.toLowerCase()));return r!==t?r:void 0}function yt(n,d){return n.map((t,l)=>n[(d+l)%n.length])}const Pt=Ie,It=Te,Tt=_e,_t=Oe,Rt=Ne;exports.Content=Tt;exports.Item=Rt;exports.Label=_t;exports.Root=Pt;exports.Select=Ie;exports.SelectContent=_e;exports.SelectGroup=ht;exports.SelectIcon=at;exports.SelectItem=Ne;exports.SelectItemIndicator=Ct;exports.SelectItemText=xt;exports.SelectLabel=Oe;exports.SelectPortal=it;exports.SelectScrollDownButton=bt;exports.SelectScrollUpButton=Et;exports.SelectTrigger=Te;exports.SelectValue=lt;exports.SelectViewport=pt;exports.Trigger=It;exports.createSelectScope=tt;
|
|
2
2
|
//# sourceMappingURL=index.cjs138.js.map
|
package/dist/index.cjs139.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const _commonjsHelpers=require("./index.
|
|
1
|
+
"use strict";const _commonjsHelpers=require("./index.cjs150.js"),openseadragon=require("./index.cjs163.js");(function(module){//! openseadragon 2.4.2
|
|
2
2
|
//! Built on 2020-03-05
|
|
3
3
|
//! Git commit: v2.4.2-0-c450749
|
|
4
4
|
//! http://openseadragon.github.io
|
package/dist/index.cjs141.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs295.js"),u=require("./index.cjs296.js"),a=require("./index.cjs297.js");function d(n,e,t){if(c.randomUUID&&!e&&!n)return c.randomUUID();n=n||{};const r=n.random||(n.rng||u)();if(r[6]=r[6]&15|64,r[8]=r[8]&63|128,e){t=t||0;for(let i=0;i<16;++i)e[t+i]=r[i];return e}return a.unsafeStringify(r)}module.exports=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs141.js.map
|
package/dist/index.cjs150.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";function
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var u=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function l(e){if(e.__esModule)return e;var r=e.default;if(typeof r=="function"){var t=function o(){return this instanceof o?Reflect.construct(r,arguments,this.constructor):r.apply(this,arguments)};t.prototype=r.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t}exports.commonjsGlobal=u;exports.getAugmentedNamespace=l;exports.getDefaultExportFromCjs=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs150.js.map
|
package/dist/index.cjs150.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs150.js","sources":[
|
|
1
|
+
{"version":3,"file":"index.cjs150.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.cjs151.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const u=require("./index.cjs150.js"),H=require("./index.cjs157.js");require("./index.cjs298.js");require("./index.cjs299.js");require("./index.cjs300.js");require("./index.cjs301.js");require("./index.cjs302.js");const F=require("./index.cjs303.js"),i=require("./index.cjs304.js"),s=require("./index.cjs305.js"),b=require("./index.cjs306.js"),G=require("./index.cjs307.js");(function(n){var D=u.commonjsGlobal&&u.commonjsGlobal.__createBinding||(Object.create?function(e,r,t,a){a===void 0&&(a=t);var o=Object.getOwnPropertyDescriptor(r,t);(!o||("get"in o?!r.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,a,o)}:function(e,r,t,a){a===void 0&&(a=t),e[a]=r[t]}),j=u.commonjsGlobal&&u.commonjsGlobal.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),l=u.commonjsGlobal&&u.commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&D(r,e,t);return j(r,e),r},v=u.commonjsGlobal&&u.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(n,"__esModule",{value:!0}),n.DomUtils=n.parseFeed=n.getFeed=n.ElementType=n.Tokenizer=n.createDomStream=n.parseDOM=n.parseDocument=n.DefaultHandler=n.DomHandler=n.Parser=void 0;var c=s.__exports,O=s.__exports;Object.defineProperty(n,"Parser",{enumerable:!0,get:function(){return O.Parser}});var _=b.__exports,d=b.__exports;Object.defineProperty(n,"DomHandler",{enumerable:!0,get:function(){return d.DomHandler}}),Object.defineProperty(n,"DefaultHandler",{enumerable:!0,get:function(){return d.DomHandler}});function f(e,r){var t=new _.DomHandler(void 0,r);return new c.Parser(t,r).end(e),t.root}n.parseDocument=f;function m(e,r){return f(e,r).children}n.parseDOM=m;function P(e,r,t){var a=new _.DomHandler(e,r,t);return new c.Parser(a,r)}n.createDomStream=P;var g=G.__exports;Object.defineProperty(n,"Tokenizer",{enumerable:!0,get:function(){return v(g).default}}),n.ElementType=l(F.__exports);var p=i.__exports,y=i.__exports;Object.defineProperty(n,"getFeed",{enumerable:!0,get:function(){return y.getFeed}});var q={xmlMode:!0};function M(e,r){return r===void 0&&(r=q),(0,p.getFeed)(m(e,r))}n.parseFeed=M,n.DomUtils=l(i.__exports)})(H.__exports);
|
|
2
2
|
//# sourceMappingURL=index.cjs151.js.map
|
package/dist/index.cjs151.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs151.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.cjs151.js","sources":["../../../node_modules/htmlparser2/lib/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomUtils = exports.parseFeed = exports.getFeed = exports.ElementType = exports.Tokenizer = exports.createDomStream = exports.parseDOM = exports.parseDocument = exports.DefaultHandler = exports.DomHandler = exports.Parser = void 0;\nvar Parser_js_1 = require(\"./Parser.js\");\nvar Parser_js_2 = require(\"./Parser.js\");\nObject.defineProperty(exports, \"Parser\", { enumerable: true, get: function () { return Parser_js_2.Parser; } });\nvar domhandler_1 = require(\"domhandler\");\nvar domhandler_2 = require(\"domhandler\");\nObject.defineProperty(exports, \"DomHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Old name for DomHandler\nObject.defineProperty(exports, \"DefaultHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Helper methods\n/**\n * Parses the data, returns the resulting document.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM builder.\n */\nfunction parseDocument(data, options) {\n var handler = new domhandler_1.DomHandler(undefined, options);\n new Parser_js_1.Parser(handler, options).end(data);\n return handler.root;\n}\nexports.parseDocument = parseDocument;\n/**\n * Parses data, returns an array of the root nodes.\n *\n * Note that the root nodes still have a `Document` node as their parent.\n * Use `parseDocument` to get the `Document` node instead.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM builder.\n * @deprecated Use `parseDocument` instead.\n */\nfunction parseDOM(data, options) {\n return parseDocument(data, options).children;\n}\nexports.parseDOM = parseDOM;\n/**\n * Creates a parser instance, with an attached DOM handler.\n *\n * @param callback A callback that will be called once parsing has been completed.\n * @param options Optional options for the parser and DOM builder.\n * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.\n */\nfunction createDomStream(callback, options, elementCallback) {\n var handler = new domhandler_1.DomHandler(callback, options, elementCallback);\n return new Parser_js_1.Parser(handler, options);\n}\nexports.createDomStream = createDomStream;\nvar Tokenizer_js_1 = require(\"./Tokenizer.js\");\nObject.defineProperty(exports, \"Tokenizer\", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } });\n/*\n * All of the following exports exist for backwards-compatibility.\n * They should probably be removed eventually.\n */\nexports.ElementType = __importStar(require(\"domelementtype\"));\nvar domutils_1 = require(\"domutils\");\nvar domutils_2 = require(\"domutils\");\nObject.defineProperty(exports, \"getFeed\", { enumerable: true, get: function () { return domutils_2.getFeed; } });\nvar parseFeedDefaultOptions = { xmlMode: true };\n/**\n * Parse a feed.\n *\n * @param feed The feed that should be parsed, as a string.\n * @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`.\n */\nfunction parseFeed(feed, options) {\n if (options === void 0) { options = parseFeedDefaultOptions; }\n return (0, domutils_1.getFeed)(parseDOM(feed, options));\n}\nexports.parseFeed = parseFeed;\nexports.DomUtils = __importStar(require(\"domutils\"));\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","o","m","k","k2","desc","__setModuleDefault","v","__importStar","mod","result","__importDefault","exports","Parser_js_1","require$$0","Parser_js_2","domhandler_1","require$$1","domhandler_2","parseDocument","data","options","handler","parseDOM","createDomStream","callback","elementCallback","Tokenizer_js_1","require$$2","require$$3","domutils_1","require$$4","domutils_2","parseFeedDefaultOptions","parseFeed","feed"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs152.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var r=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")};exports.escapeStringRegexp=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs152.js.map
|
package/dist/index.cjs152.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs152.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs152.js","sources":["../../../node_modules/escape-string-regexp/index.js"],"sourcesContent":["'use strict';\n\nmodule.exports = string => {\n\tif (typeof string !== 'string') {\n\t\tthrow new TypeError('Expected a string');\n\t}\n\n\t// Escape characters with special meaning either inside or outside character sets.\n\t// Use a simple backslash escape when it’s always valid, and a \\unnnn escape when the simpler form would be disallowed by Unicode patterns’ stricter grammar.\n\treturn string\n\t\t.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&')\n\t\t.replace(/-/g, '\\\\x2d');\n};\n"],"names":["escapeStringRegexp","string"],"mappings":"oFAEAA,EAA2BC,GAAA,CACtB,GAAA,OAAOA,GAAW,SACf,MAAA,IAAI,UAAU,mBAAmB,EAKxC,OAAOA,EACL,QAAQ,sBAAuB,MAAM,EACrC,QAAQ,KAAM,OAAO,CACxB","x_google_ignoreList":[0]}
|
package/dist/index.cjs153.js
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";const o=require("./index.cjs158.js");Object.defineProperty(o.__exports,"__esModule",{value:!0});/*!
|
|
2
|
+
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
3
|
+
*
|
|
4
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
5
|
+
* Released under the MIT License.
|
|
6
|
+
*/function s(e){return Object.prototype.toString.call(e)==="[object Object]"}function i(e){var t,r;return s(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(s(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}o.__exports.isPlainObject=i;module.exports=o.__exports;
|
|
2
7
|
//# sourceMappingURL=index.cjs153.js.map
|
package/dist/index.cjs153.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs153.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index.cjs153.js","sources":["../../../node_modules/sanitize-html/node_modules/is-plain-object/dist/is-plain-object.js"],"sourcesContent":["'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n/*!\n * is-plain-object <https://github.com/jonschlinkert/is-plain-object>\n *\n * Copyright (c) 2014-2017, Jon Schlinkert.\n * Released under the MIT License.\n */\n\nfunction isObject(o) {\n return Object.prototype.toString.call(o) === '[object Object]';\n}\n\nfunction isPlainObject(o) {\n var ctor,prot;\n\n if (isObject(o) === false) return false;\n\n // If has modified constructor\n ctor = o.constructor;\n if (ctor === undefined) return true;\n\n // If has modified prototype\n prot = ctor.prototype;\n if (isObject(prot) === false) return false;\n\n // If constructor does not have an Object-specific method\n if (prot.hasOwnProperty('isPrototypeOf') === false) {\n return false;\n }\n\n // Most likely a plain Object\n return true;\n}\n\nexports.isPlainObject = isPlainObject;\n"],"names":["isPlainObject_1","isObject","o","isPlainObject","ctor","prot"],"mappings":"kDAEA,OAAO,eAAeA,EAAAA,UAAS,aAAc,CAAE,MAAO,GAAM,EAE5D;AAAA;AAAA;AAAA;AAAA;AAAA,GAOA,SAASC,EAASC,EAAG,CACnB,OAAO,OAAO,UAAU,SAAS,KAAKA,CAAC,IAAM,iBAC/C,CAEA,SAASC,EAAcD,EAAG,CACxB,IAAIE,EAAKC,EAEL,OAAAJ,EAASC,CAAC,IAAM,GAAc,IAGlCE,EAAOF,EAAE,YACLE,IAAS,OAAkB,IAG/BC,EAAOD,EAAK,UACR,EAAAH,EAASI,CAAI,IAAM,IAGnBA,EAAK,eAAe,eAAe,IAAM,KAM/C,CAEAL,EAAA,UAAA,cAAwBG","x_google_ignoreList":[0]}
|
package/dist/index.cjs154.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var b=function(r){return y(r)&&!o(r)};function y(e){return!!e&&typeof e=="object"}function o(e){var r=Object.prototype.toString.call(e);return r==="[object RegExp]"||r==="[object Date]"||j(e)}var s=typeof Symbol=="function"&&Symbol.for,O=s?Symbol.for("react.element"):60103;function j(e){return e.$$typeof===O}function m(e){return Array.isArray(e)?[]:{}}function u(e,r){return r.clone!==!1&&r.isMergeableObject(e)?a(m(e),e,r):e}function g(e,r,n){return e.concat(r).map(function(c){return u(c,n)})}function M(e,r){if(!r.customMerge)return a;var n=r.customMerge(e);return typeof n=="function"?n:a}function A(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(r){return Object.propertyIsEnumerable.call(e,r)}):[]}function f(e){return Object.keys(e).concat(A(e))}function l(e,r){try{return r in e}catch{return!1}}function E(e,r){return l(e,r)&&!(Object.hasOwnProperty.call(e,r)&&Object.propertyIsEnumerable.call(e,r))}function S(e,r,n){var c={};return n.isMergeableObject(e)&&f(e).forEach(function(t){c[t]=u(e[t],n)}),f(r).forEach(function(t){E(e,t)||(l(e,t)&&n.isMergeableObject(r[t])?c[t]=M(t,n)(e[t],r[t],n):c[t]=u(r[t],n))}),c}function a(e,r,n){n=n||{},n.arrayMerge=n.arrayMerge||g,n.isMergeableObject=n.isMergeableObject||b,n.cloneUnlessOtherwiseSpecified=u;var c=Array.isArray(r),t=Array.isArray(e),i=c===t;return i?c?n.arrayMerge(e,r,n):S(e,r,n):u(r,n)}a.all=function(r,n){if(!Array.isArray(r))throw new Error("first argument should be an array");return r.reduce(function(c,t){return a(c,t,n)},{})};var d=a,p=d;exports.cjs=p;
|
|
2
2
|
//# sourceMappingURL=index.cjs154.js.map
|
package/dist/index.cjs154.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs154.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs154.js","sources":["../../../node_modules/deepmerge/dist/cjs.js"],"sourcesContent":["'use strict';\n\nvar isMergeableObject = function isMergeableObject(value) {\n\treturn isNonNullObject(value)\n\t\t&& !isSpecial(value)\n};\n\nfunction isNonNullObject(value) {\n\treturn !!value && typeof value === 'object'\n}\n\nfunction isSpecial(value) {\n\tvar stringValue = Object.prototype.toString.call(value);\n\n\treturn stringValue === '[object RegExp]'\n\t\t|| stringValue === '[object Date]'\n\t\t|| isReactElement(value)\n}\n\n// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25\nvar canUseSymbol = typeof Symbol === 'function' && Symbol.for;\nvar REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7;\n\nfunction isReactElement(value) {\n\treturn value.$$typeof === REACT_ELEMENT_TYPE\n}\n\nfunction emptyTarget(val) {\n\treturn Array.isArray(val) ? [] : {}\n}\n\nfunction cloneUnlessOtherwiseSpecified(value, options) {\n\treturn (options.clone !== false && options.isMergeableObject(value))\n\t\t? deepmerge(emptyTarget(value), value, options)\n\t\t: value\n}\n\nfunction defaultArrayMerge(target, source, options) {\n\treturn target.concat(source).map(function(element) {\n\t\treturn cloneUnlessOtherwiseSpecified(element, options)\n\t})\n}\n\nfunction getMergeFunction(key, options) {\n\tif (!options.customMerge) {\n\t\treturn deepmerge\n\t}\n\tvar customMerge = options.customMerge(key);\n\treturn typeof customMerge === 'function' ? customMerge : deepmerge\n}\n\nfunction getEnumerableOwnPropertySymbols(target) {\n\treturn Object.getOwnPropertySymbols\n\t\t? Object.getOwnPropertySymbols(target).filter(function(symbol) {\n\t\t\treturn Object.propertyIsEnumerable.call(target, symbol)\n\t\t})\n\t\t: []\n}\n\nfunction getKeys(target) {\n\treturn Object.keys(target).concat(getEnumerableOwnPropertySymbols(target))\n}\n\nfunction propertyIsOnObject(object, property) {\n\ttry {\n\t\treturn property in object\n\t} catch(_) {\n\t\treturn false\n\t}\n}\n\n// Protects from prototype poisoning and unexpected merging up the prototype chain.\nfunction propertyIsUnsafe(target, key) {\n\treturn propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet,\n\t\t&& !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain,\n\t\t\t&& Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable.\n}\n\nfunction mergeObject(target, source, options) {\n\tvar destination = {};\n\tif (options.isMergeableObject(target)) {\n\t\tgetKeys(target).forEach(function(key) {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(target[key], options);\n\t\t});\n\t}\n\tgetKeys(source).forEach(function(key) {\n\t\tif (propertyIsUnsafe(target, key)) {\n\t\t\treturn\n\t\t}\n\n\t\tif (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {\n\t\t\tdestination[key] = getMergeFunction(key, options)(target[key], source[key], options);\n\t\t} else {\n\t\t\tdestination[key] = cloneUnlessOtherwiseSpecified(source[key], options);\n\t\t}\n\t});\n\treturn destination\n}\n\nfunction deepmerge(target, source, options) {\n\toptions = options || {};\n\toptions.arrayMerge = options.arrayMerge || defaultArrayMerge;\n\toptions.isMergeableObject = options.isMergeableObject || isMergeableObject;\n\t// cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()\n\t// implementations can use it. The caller may not replace it.\n\toptions.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;\n\n\tvar sourceIsArray = Array.isArray(source);\n\tvar targetIsArray = Array.isArray(target);\n\tvar sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;\n\n\tif (!sourceAndTargetTypesMatch) {\n\t\treturn cloneUnlessOtherwiseSpecified(source, options)\n\t} else if (sourceIsArray) {\n\t\treturn options.arrayMerge(target, source, options)\n\t} else {\n\t\treturn mergeObject(target, source, options)\n\t}\n}\n\ndeepmerge.all = function deepmergeAll(array, options) {\n\tif (!Array.isArray(array)) {\n\t\tthrow new Error('first argument should be an array')\n\t}\n\n\treturn array.reduce(function(prev, next) {\n\t\treturn deepmerge(prev, next, options)\n\t}, {})\n};\n\nvar deepmerge_1 = deepmerge;\n\nmodule.exports = deepmerge_1;\n"],"names":["isMergeableObject","value","isNonNullObject","isSpecial","stringValue","isReactElement","canUseSymbol","REACT_ELEMENT_TYPE","emptyTarget","val","cloneUnlessOtherwiseSpecified","options","deepmerge","defaultArrayMerge","target","source","element","getMergeFunction","key","customMerge","getEnumerableOwnPropertySymbols","symbol","getKeys","propertyIsOnObject","object","property","propertyIsUnsafe","mergeObject","destination","sourceIsArray","targetIsArray","sourceAndTargetTypesMatch","array","prev","next","deepmerge_1","cjs"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs155.js
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const F=require("./index.cjs150.js"),E=require("./index.cjs308.js");(function(w){(function(a,u){w.exports?w.exports=u():a.parseSrcset=u()})(F.commonjsGlobal,function(){return function(a){function u(r){return r===" "||r===" "||r===`
|
|
2
|
+
`||r==="\f"||r==="\r"}function v(r){var s,i=r.exec(a.substring(l));if(i)return s=i[0],l+=s.length,s}for(var L=a.length,j=/^[ \t\n\r\u000c]+/,I=/^[, \t\n\r\u000c]+/,N=/^[^ \t\n\r\u000c]+/,$=/[,]+$/,_=/^\d+$/,q=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,e,n,t,l=0,C=[];;){if(v(I),l>=L)return C;p=v(N),o=[],p.slice(-1)===","?(p=p.replace($,""),g()):D()}function D(){for(v(j),e="",n="in descriptor";;){if(t=a.charAt(l),n==="in descriptor")if(u(t))e&&(o.push(e),e="",n="after descriptor");else if(t===","){l+=1,e&&o.push(e),g();return}else if(t==="(")e=e+t,n="in parens";else if(t===""){e&&o.push(e),g();return}else e=e+t;else if(n==="in parens")if(t===")")e=e+t,n="in descriptor";else if(t===""){o.push(e),g();return}else e=e+t;else if(n==="after descriptor"&&!u(t))if(t===""){g();return}else n="in descriptor",l-=1;l+=1}}function g(){var r=!1,s,i,d,m,h={},c,S,f,x,b;for(m=0;m<o.length;m++)c=o[m],S=c[c.length-1],f=c.substring(0,c.length-1),x=parseInt(f,10),b=parseFloat(f),_.test(f)&&S==="w"?((s||i)&&(r=!0),x===0?r=!0:s=x):q.test(f)&&S==="x"?((s||i||d)&&(r=!0),b<0?r=!0:i=b):_.test(f)&&S==="h"?((d||i)&&(r=!0),x===0?r=!0:d=x):r=!0;r?console&&console.log&&console.log("Invalid srcset descriptor found in '"+a+"' at '"+c+"'."):(h.url=p,s&&(h.w=s),i&&(h.d=i),d&&(h.h=d),C.push(h))}}})})(E.__module);var O=E.__module.exports;exports.parseSrcsetExports=O;
|
|
2
3
|
//# sourceMappingURL=index.cjs155.js.map
|
package/dist/index.cjs155.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs155.js","sources":["../../../node_modules/htmlparser2/lib/index.js"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DomUtils = exports.parseFeed = exports.getFeed = exports.ElementType = exports.Tokenizer = exports.createDomStream = exports.parseDOM = exports.parseDocument = exports.DefaultHandler = exports.DomHandler = exports.Parser = void 0;\nvar Parser_js_1 = require(\"./Parser.js\");\nvar Parser_js_2 = require(\"./Parser.js\");\nObject.defineProperty(exports, \"Parser\", { enumerable: true, get: function () { return Parser_js_2.Parser; } });\nvar domhandler_1 = require(\"domhandler\");\nvar domhandler_2 = require(\"domhandler\");\nObject.defineProperty(exports, \"DomHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Old name for DomHandler\nObject.defineProperty(exports, \"DefaultHandler\", { enumerable: true, get: function () { return domhandler_2.DomHandler; } });\n// Helper methods\n/**\n * Parses the data, returns the resulting document.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM builder.\n */\nfunction parseDocument(data, options) {\n var handler = new domhandler_1.DomHandler(undefined, options);\n new Parser_js_1.Parser(handler, options).end(data);\n return handler.root;\n}\nexports.parseDocument = parseDocument;\n/**\n * Parses data, returns an array of the root nodes.\n *\n * Note that the root nodes still have a `Document` node as their parent.\n * Use `parseDocument` to get the `Document` node instead.\n *\n * @param data The data that should be parsed.\n * @param options Optional options for the parser and DOM builder.\n * @deprecated Use `parseDocument` instead.\n */\nfunction parseDOM(data, options) {\n return parseDocument(data, options).children;\n}\nexports.parseDOM = parseDOM;\n/**\n * Creates a parser instance, with an attached DOM handler.\n *\n * @param callback A callback that will be called once parsing has been completed.\n * @param options Optional options for the parser and DOM builder.\n * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM.\n */\nfunction createDomStream(callback, options, elementCallback) {\n var handler = new domhandler_1.DomHandler(callback, options, elementCallback);\n return new Parser_js_1.Parser(handler, options);\n}\nexports.createDomStream = createDomStream;\nvar Tokenizer_js_1 = require(\"./Tokenizer.js\");\nObject.defineProperty(exports, \"Tokenizer\", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } });\n/*\n * All of the following exports exist for backwards-compatibility.\n * They should probably be removed eventually.\n */\nexports.ElementType = __importStar(require(\"domelementtype\"));\nvar domutils_1 = require(\"domutils\");\nvar domutils_2 = require(\"domutils\");\nObject.defineProperty(exports, \"getFeed\", { enumerable: true, get: function () { return domutils_2.getFeed; } });\nvar parseFeedDefaultOptions = { xmlMode: true };\n/**\n * Parse a feed.\n *\n * @param feed The feed that should be parsed, as a string.\n * @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`.\n */\nfunction parseFeed(feed, options) {\n if (options === void 0) { options = parseFeedDefaultOptions; }\n return (0, domutils_1.getFeed)(parseDOM(feed, options));\n}\nexports.parseFeed = parseFeed;\nexports.DomUtils = __importStar(require(\"domutils\"));\n//# sourceMappingURL=index.js.map"],"names":["__createBinding","this","o","m","k","k2","desc","__setModuleDefault","v","__importStar","mod","result","__importDefault","exports","Parser_js_1","require$$0","Parser_js_2","domhandler_1","require$$1","domhandler_2","parseDocument","data","options","handler","parseDOM","createDomStream","callback","elementCallback","Tokenizer_js_1","require$$2","require$$3","domutils_1","require$$4","domutils_2","parseFeedDefaultOptions","parseFeed","feed"],"mappings":"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","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs155.js","sources":["../../../node_modules/parse-srcset/src/parse-srcset.js"],"sourcesContent":["/**\n * Srcset Parser\n *\n * By Alex Bell | MIT License\n *\n * JS Parser for the string value that appears in markup <img srcset=\"here\">\n *\n * @returns Array [{url: _, d: _, w: _, h:_}, ...]\n *\n * Based super duper closely on the reference algorithm at:\n * https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-srcset-attribute\n *\n * Most comments are copied in directly from the spec\n * (except for comments in parens).\n */\n\n(function (root, factory) {\n\tif (typeof define === 'function' && define.amd) {\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine([], factory);\n\t} else if (typeof module === 'object' && module.exports) {\n\t\t// Node. Does not work with strict CommonJS, but\n\t\t// only CommonJS-like environments that support module.exports,\n\t\t// like Node.\n\t\tmodule.exports = factory();\n\t} else {\n\t\t// Browser globals (root is window)\n\t\troot.parseSrcset = factory();\n\t}\n}(this, function () {\n\n\t// 1. Let input be the value passed to this algorithm.\n\treturn function (input) {\n\n\t\t// UTILITY FUNCTIONS\n\n\t\t// Manual is faster than RegEx\n\t\t// http://bjorn.tipling.com/state-and-regular-expressions-in-javascript\n\t\t// http://jsperf.com/whitespace-character/5\n\t\tfunction isSpace(c) {\n\t\t\treturn (c === \"\\u0020\" || // space\n\t\t\tc === \"\\u0009\" || // horizontal tab\n\t\t\tc === \"\\u000A\" || // new line\n\t\t\tc === \"\\u000C\" || // form feed\n\t\t\tc === \"\\u000D\"); // carriage return\n\t\t}\n\n\t\tfunction collectCharacters(regEx) {\n\t\t\tvar chars,\n\t\t\t\tmatch = regEx.exec(input.substring(pos));\n\t\t\tif (match) {\n\t\t\t\tchars = match[ 0 ];\n\t\t\t\tpos += chars.length;\n\t\t\t\treturn chars;\n\t\t\t}\n\t\t}\n\n\t\tvar inputLength = input.length,\n\n\t\t\t// (Don't use \\s, to avoid matching non-breaking space)\n\t\t\tregexLeadingSpaces = /^[ \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingCommasOrSpaces = /^[, \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingNotSpaces = /^[^ \\t\\n\\r\\u000c]+/,\n\t\t\tregexTrailingCommas = /[,]+$/,\n\t\t\tregexNonNegativeInteger = /^\\d+$/,\n\n\t\t\t// ( Positive or negative or unsigned integers or decimals, without or without exponents.\n\t\t\t// Must include at least one digit.\n\t\t\t// According to spec tests any decimal point must be followed by a digit.\n\t\t\t// No leading plus sign is allowed.)\n\t\t\t// https://html.spec.whatwg.org/multipage/infrastructure.html#valid-floating-point-number\n\t\t\tregexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,\n\n\t\t\turl,\n\t\t\tdescriptors,\n\t\t\tcurrentDescriptor,\n\t\t\tstate,\n\t\t\tc,\n\n\t\t\t// 2. Let position be a pointer into input, initially pointing at the start\n\t\t\t// of the string.\n\t\t\tpos = 0,\n\n\t\t\t// 3. Let candidates be an initially empty source set.\n\t\t\tcandidates = [];\n\n\t\t// 4. Splitting loop: Collect a sequence of characters that are space\n\t\t// characters or U+002C COMMA characters. If any U+002C COMMA characters\n\t\t// were collected, that is a parse error.\n\t\twhile (true) {\n\t\t\tcollectCharacters(regexLeadingCommasOrSpaces);\n\n\t\t\t// 5. If position is past the end of input, return candidates and abort these steps.\n\t\t\tif (pos >= inputLength) {\n\t\t\t\treturn candidates; // (we're done, this is the sole return path)\n\t\t\t}\n\n\t\t\t// 6. Collect a sequence of characters that are not space characters,\n\t\t\t// and let that be url.\n\t\t\turl = collectCharacters(regexLeadingNotSpaces);\n\n\t\t\t// 7. Let descriptors be a new empty list.\n\t\t\tdescriptors = [];\n\n\t\t\t// 8. If url ends with a U+002C COMMA character (,), follow these substeps:\n\t\t\t//\t\t(1). Remove all trailing U+002C COMMA characters from url. If this removed\n\t\t\t// more than one character, that is a parse error.\n\t\t\tif (url.slice(-1) === \",\") {\n\t\t\t\turl = url.replace(regexTrailingCommas, \"\");\n\t\t\t\t// (Jump ahead to step 9 to skip tokenization and just push the candidate).\n\t\t\t\tparseDescriptors();\n\n\t\t\t\t//\tOtherwise, follow these substeps:\n\t\t\t} else {\n\t\t\t\ttokenize();\n\t\t\t} // (close else of step 8)\n\n\t\t\t// 16. Return to the step labeled splitting loop.\n\t\t} // (Close of big while loop.)\n\n\t\t/**\n\t\t * Tokenizes descriptor properties prior to parsing\n\t\t * Returns undefined.\n\t\t */\n\t\tfunction tokenize() {\n\n\t\t\t// 8.1. Descriptor tokeniser: Skip whitespace\n\t\t\tcollectCharacters(regexLeadingSpaces);\n\n\t\t\t// 8.2. Let current descriptor be the empty string.\n\t\t\tcurrentDescriptor = \"\";\n\n\t\t\t// 8.3. Let state be in descriptor.\n\t\t\tstate = \"in descriptor\";\n\n\t\t\twhile (true) {\n\n\t\t\t\t// 8.4. Let c be the character at position.\n\t\t\t\tc = input.charAt(pos);\n\n\t\t\t\t// Do the following depending on the value of state.\n\t\t\t\t// For the purpose of this step, \"EOF\" is a special character representing\n\t\t\t\t// that position is past the end of input.\n\n\t\t\t\t// In descriptor\n\t\t\t\tif (state === \"in descriptor\") {\n\t\t\t\t\t// Do the following, depending on the value of c:\n\n\t\t\t\t\t// Space character\n\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t// descriptors and let current descriptor be the empty string.\n\t\t\t\t\t// Set state to after descriptor.\n\t\t\t\t\tif (isSpace(c)) {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t\tcurrentDescriptor = \"\";\n\t\t\t\t\t\t\tstate = \"after descriptor\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// U+002C COMMA (,)\n\t\t\t\t\t\t// Advance position to the next character in input. If current descriptor\n\t\t\t\t\t\t// is not empty, append current descriptor to descriptors. Jump to the step\n\t\t\t\t\t\t// labeled descriptor parser.\n\t\t\t\t\t} else if (c === \",\") {\n\t\t\t\t\t\tpos += 1;\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// U+0028 LEFT PARENTHESIS (()\n\t\t\t\t\t\t// Append c to current descriptor. Set state to in parens.\n\t\t\t\t\t} else if (c === \"\\u0028\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in parens\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t\t// descriptors. Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\t\t\t\t\t// (end \"in descriptor\"\n\n\t\t\t\t\t// In parens\n\t\t\t\t} else if (state === \"in parens\") {\n\n\t\t\t\t\t// U+0029 RIGHT PARENTHESIS ())\n\t\t\t\t\t// Append c to current descriptor. Set state to in descriptor.\n\t\t\t\t\tif (c === \")\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in descriptor\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// Append current descriptor to descriptors. Jump to the step labeled\n\t\t\t\t\t\t// descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\n\t\t\t\t\t// After descriptor\n\t\t\t\t} else if (state === \"after descriptor\") {\n\n\t\t\t\t\t// Do the following, depending on the value of c:\n\t\t\t\t\t// Space character: Stay in this state.\n\t\t\t\t\tif (isSpace(c)) {\n\n\t\t\t\t\t\t// EOF: Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Set state to in descriptor. Set position to the previous character in input.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate = \"in descriptor\";\n\t\t\t\t\t\tpos -= 1;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Advance position to the next character in input.\n\t\t\t\tpos += 1;\n\n\t\t\t\t// Repeat this step.\n\t\t\t} // (close while true loop)\n\t\t}\n\n\t\t/**\n\t\t * Adds descriptor properties to a candidate, pushes to the candidates array\n\t\t * @return undefined\n\t\t */\n\t\t// Declared outside of the while loop so that it's only created once.\n\t\tfunction parseDescriptors() {\n\n\t\t\t// 9. Descriptor parser: Let error be no.\n\t\t\tvar pError = false,\n\n\t\t\t\t// 10. Let width be absent.\n\t\t\t\t// 11. Let density be absent.\n\t\t\t\t// 12. Let future-compat-h be absent. (We're implementing it now as h)\n\t\t\t\tw, d, h, i,\n\t\t\t\tcandidate = {},\n\t\t\t\tdesc, lastChar, value, intVal, floatVal;\n\n\t\t\t// 13. For each descriptor in descriptors, run the appropriate set of steps\n\t\t\t// from the following list:\n\t\t\tfor (i = 0 ; i < descriptors.length; i++) {\n\t\t\t\tdesc = descriptors[ i ];\n\n\t\t\t\tlastChar = desc[ desc.length - 1 ];\n\t\t\t\tvalue = desc.substring(0, desc.length - 1);\n\t\t\t\tintVal = parseInt(value, 10);\n\t\t\t\tfloatVal = parseFloat(value);\n\n\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t// a U+0077 LATIN SMALL LETTER W character\n\t\t\t\tif (regexNonNegativeInteger.test(value) && (lastChar === \"w\")) {\n\n\t\t\t\t\t// If width and density are not both absent, then let error be yes.\n\t\t\t\t\tif (w || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes.\n\t\t\t\t\t// Otherwise, let width be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {w = intVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid floating-point number followed by\n\t\t\t\t\t// a U+0078 LATIN SMALL LETTER X character\n\t\t\t\t} else if (regexFloatingPoint.test(value) && (lastChar === \"x\")) {\n\n\t\t\t\t\t// If width, density and future-compat-h are not all absent, then let error\n\t\t\t\t\t// be yes.\n\t\t\t\t\tif (w || d || h) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing floating-point number values to the descriptor.\n\t\t\t\t\t// If the result is less than zero, let error be yes. Otherwise, let density\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (floatVal < 0) {pError = true;} else {d = floatVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t\t// a U+0068 LATIN SMALL LETTER H character\n\t\t\t\t} else if (regexNonNegativeInteger.test(value) && (lastChar === \"h\")) {\n\n\t\t\t\t\t// If height and density are not both absent, then let error be yes.\n\t\t\t\t\tif (h || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes. Otherwise, let future-compat-h\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {h = intVal;}\n\n\t\t\t\t\t// Anything else, Let error be yes.\n\t\t\t\t} else {pError = true;}\n\t\t\t} // (close step 13 for loop)\n\n\t\t\t// 15. If error is still no, then append a new image source to candidates whose\n\t\t\t// URL is url, associated with a width width if not absent and a pixel\n\t\t\t// density density if not absent. Otherwise, there is a parse error.\n\t\t\tif (!pError) {\n\t\t\t\tcandidate.url = url;\n\t\t\t\tif (w) { candidate.w = w;}\n\t\t\t\tif (d) { candidate.d = d;}\n\t\t\t\tif (h) { candidate.h = h;}\n\t\t\t\tcandidates.push(candidate);\n\t\t\t} else if (console && console.log) {\n\t\t\t\tconsole.log(\"Invalid srcset descriptor found in '\" +\n\t\t\t\t\tinput + \"' at '\" + desc + \"'.\");\n\t\t\t}\n\t\t} // (close parseDescriptors fn)\n\n\t}\n}));\n"],"names":["root","factory","module","this","input","isSpace","c","collectCharacters","regEx","chars","match","pos","inputLength","regexLeadingSpaces","regexLeadingCommasOrSpaces","regexLeadingNotSpaces","regexTrailingCommas","regexNonNegativeInteger","regexFloatingPoint","url","descriptors","currentDescriptor","state","candidates","parseDescriptors","tokenize","pError","w","d","h","i","candidate","desc","lastChar","value","intVal","floatVal"],"mappings":"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","x_google_ignoreList":[0]}
|
package/dist/index.cjs156.js
CHANGED
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const q=require("./index.cjs309.js"),y=require("./index.cjs310.js"),R=require("./index.cjs311.js"),S=require("./index.cjs312.js"),N=require("./index.cjs313.js"),h=require("./index.cjs314.js"),P=require("./index.cjs315.js"),v=require("./index.cjs316.js"),A=require("./index.cjs317.js"),C=require("./index.cjs318.js"),O=require("./index.cjs319.js"),_=require("./index.cjs320.js"),x=require("./index.cjs321.js"),D=require("./index.cjs322.js"),E=require("./index.cjs323.js"),J=require("./index.cjs324.js"),$=require("./index.cjs325.js"),b=require("./index.cjs326.js");let z=q.cssSyntaxError,u=y.declaration,L=R.lazyResult,W=S.container,i=N.processor,j=h.stringify_1,G=P.fromJSON_1,a=v.document,I=A.warning,p=C.comment,m=O.atRule,M=_.result,T=x.input,V=D.parse_1,k=E.list_1,f=J.rule,g=$.root,B=b.node;function e(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new i(t)}e.plugin=function(o,w){let l=!1;function r(...c){console&&console.warn&&!l&&(l=!0,console.warn(o+`: postcss.plugin was deprecated. Migration guide:
|
|
2
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(o+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
3
|
+
https://www.w3ctech.com/topic/2226`));let n=w(...c);return n.postcssPlugin=o,n.postcssVersion=new i().version,n}let s;return Object.defineProperty(r,"postcss",{get(){return s||(s=r()),s}}),r.process=function(c,n,d){return e([r(d)]).process(c,n)},r};e.stringify=j;e.parse=V;e.fromJSON=G;e.list=k;e.comment=t=>new p(t);e.atRule=t=>new m(t);e.decl=t=>new u(t);e.rule=t=>new f(t);e.root=t=>new g(t);e.document=t=>new a(t);e.CssSyntaxError=z;e.Declaration=u;e.Container=W;e.Processor=i;e.Document=a;e.Comment=p;e.Warning=I;e.AtRule=m;e.Result=M;e.Input=T;e.Rule=f;e.Root=g;e.Node=B;L.registerPostcss(e);var F=e;e.default=e;exports.postcss_1=F;
|
|
2
4
|
//# sourceMappingURL=index.cjs156.js.map
|
package/dist/index.cjs156.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs156.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs156.js","sources":["../../../node_modules/sanitize-html/node_modules/postcss/lib/postcss.js"],"sourcesContent":["'use strict'\n\nlet CssSyntaxError = require('./css-syntax-error')\nlet Declaration = require('./declaration')\nlet LazyResult = require('./lazy-result')\nlet Container = require('./container')\nlet Processor = require('./processor')\nlet stringify = require('./stringify')\nlet fromJSON = require('./fromJSON')\nlet Document = require('./document')\nlet Warning = require('./warning')\nlet Comment = require('./comment')\nlet AtRule = require('./at-rule')\nlet Result = require('./result.js')\nlet Input = require('./input')\nlet parse = require('./parse')\nlet list = require('./list')\nlet Rule = require('./rule')\nlet Root = require('./root')\nlet Node = require('./node')\n\nfunction postcss(...plugins) {\n if (plugins.length === 1 && Array.isArray(plugins[0])) {\n plugins = plugins[0]\n }\n return new Processor(plugins)\n}\n\npostcss.plugin = function plugin(name, initializer) {\n let warningPrinted = false\n function creator(...args) {\n // eslint-disable-next-line no-console\n if (console && console.warn && !warningPrinted) {\n warningPrinted = true\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': postcss.plugin was deprecated. Migration guide:\\n' +\n 'https://evilmartians.com/chronicles/postcss-8-plugin-migration'\n )\n if (process.env.LANG && process.env.LANG.startsWith('cn')) {\n /* c8 ignore next 7 */\n // eslint-disable-next-line no-console\n console.warn(\n name +\n ': 里面 postcss.plugin 被弃用. 迁移指南:\\n' +\n 'https://www.w3ctech.com/topic/2226'\n )\n }\n }\n let transformer = initializer(...args)\n transformer.postcssPlugin = name\n transformer.postcssVersion = new Processor().version\n return transformer\n }\n\n let cache\n Object.defineProperty(creator, 'postcss', {\n get() {\n if (!cache) cache = creator()\n return cache\n }\n })\n\n creator.process = function (css, processOpts, pluginOpts) {\n return postcss([creator(pluginOpts)]).process(css, processOpts)\n }\n\n return creator\n}\n\npostcss.stringify = stringify\npostcss.parse = parse\npostcss.fromJSON = fromJSON\npostcss.list = list\n\npostcss.comment = defaults => new Comment(defaults)\npostcss.atRule = defaults => new AtRule(defaults)\npostcss.decl = defaults => new Declaration(defaults)\npostcss.rule = defaults => new Rule(defaults)\npostcss.root = defaults => new Root(defaults)\npostcss.document = defaults => new Document(defaults)\n\npostcss.CssSyntaxError = CssSyntaxError\npostcss.Declaration = Declaration\npostcss.Container = Container\npostcss.Processor = Processor\npostcss.Document = Document\npostcss.Comment = Comment\npostcss.Warning = Warning\npostcss.AtRule = AtRule\npostcss.Result = Result\npostcss.Input = Input\npostcss.Rule = Rule\npostcss.Root = Root\npostcss.Node = Node\n\nLazyResult.registerPostcss(postcss)\n\nmodule.exports = postcss\npostcss.default = postcss\n"],"names":["CssSyntaxError","require$$0","Declaration","require$$1","LazyResult","require$$2","Container","require$$3","Processor","require$$4","stringify","require$$5","fromJSON","require$$6","Document","require$$7","Warning","require$$8","Comment","require$$9","AtRule","require$$10","Result","require$$11","Input","require$$12","parse","require$$13","list","require$$14","Rule","require$$15","Root","require$$16","Node","require$$17","postcss","plugins","name","initializer","warningPrinted","creator","args","transformer","cache","css","processOpts","pluginOpts","defaults","postcss_1"],"mappings":"ooBAEA,IAAIA,EAAiBC,EAAAA,eACjBC,EAAcC,EAAAA,YACdC,EAAaC,EAAAA,WACbC,EAAYC,EAAAA,UACZC,EAAYC,EAAAA,UACZC,EAAYC,EAAAA,YACZC,EAAWC,EAAAA,WACXC,EAAWC,EAAAA,SACXC,EAAUC,EAAAA,QACVC,EAAUC,EAAAA,QACVC,EAASC,EAAAA,OACTC,EAASC,EAAAA,OACTC,EAAQC,EAAAA,MACRC,EAAQC,EAAAA,QACRC,EAAOC,EAAAA,OACPC,EAAOC,EAAAA,KACPC,EAAOC,EAAAA,KACPC,EAAOC,EAAAA,KAEX,SAASC,KAAWC,EAAS,CACvB,OAAAA,EAAQ,SAAW,GAAK,MAAM,QAAQA,EAAQ,CAAC,CAAC,IAClDA,EAAUA,EAAQ,CAAC,GAEd,IAAI7B,EAAU6B,CAAO,CAC9B,CAEAD,EAAQ,OAAS,SAAgBE,EAAMC,EAAa,CAClD,IAAIC,EAAiB,GACrB,SAASC,KAAWC,EAAM,CAEpB,SAAW,QAAQ,MAAQ,CAACF,IACbA,EAAA,GAET,QAAA,KACNF,EACE;AAAA,+DAAA,EAGA,QAAQ,IAAI,MAAQ,QAAQ,IAAI,KAAK,WAAW,IAAI,GAG9C,QAAA,KACNA,EACE;AAAA,mCAAA,GAKJ,IAAAK,EAAcJ,EAAY,GAAGG,CAAI,EACrC,OAAAC,EAAY,cAAgBL,EAChBK,EAAA,eAAiB,IAAInC,EAAA,EAAY,QACtCmC,CACT,CAEI,IAAAC,EACG,cAAA,eAAeH,EAAS,UAAW,CACxC,KAAM,CACJ,OAAKG,IAAOA,EAAQH,EAAQ,GACrBG,CACT,CAAA,CACD,EAEDH,EAAQ,QAAU,SAAUI,EAAKC,EAAaC,EAAY,CACjD,OAAAX,EAAQ,CAACK,EAAQM,CAAU,CAAC,CAAC,EAAE,QAAQF,EAAKC,CAAW,CAAA,EAGzDL,CACT,EAEAL,EAAQ,UAAY1B,EACpB0B,EAAQ,MAAQV,EAChBU,EAAQ,SAAWxB,EACnBwB,EAAQ,KAAOR,EAEfQ,EAAQ,QAAUY,GAAY,IAAI9B,EAAQ8B,CAAQ,EAClDZ,EAAQ,OAASY,GAAY,IAAI5B,EAAO4B,CAAQ,EAChDZ,EAAQ,KAAOY,GAAY,IAAI9C,EAAY8C,CAAQ,EACnDZ,EAAQ,KAAOY,GAAY,IAAIlB,EAAKkB,CAAQ,EAC5CZ,EAAQ,KAAOY,GAAY,IAAIhB,EAAKgB,CAAQ,EAC5CZ,EAAQ,SAAWY,GAAY,IAAIlC,EAASkC,CAAQ,EAEpDZ,EAAQ,eAAiBpC,EACzBoC,EAAQ,YAAclC,EACtBkC,EAAQ,UAAY9B,EACpB8B,EAAQ,UAAY5B,EACpB4B,EAAQ,SAAWtB,EACnBsB,EAAQ,QAAUlB,EAClBkB,EAAQ,QAAUpB,EAClBoB,EAAQ,OAAShB,EACjBgB,EAAQ,OAASd,EACjBc,EAAQ,MAAQZ,EAChBY,EAAQ,KAAON,EACfM,EAAQ,KAAOJ,EACfI,EAAQ,KAAOF,EAEf9B,EAAW,gBAAgBgC,CAAO,MAElCa,EAAiBb,EACjBA,EAAQ,QAAUA","x_google_ignoreList":[0]}
|
package/dist/index.cjs157.js
CHANGED
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
5
|
-
* Released under the MIT License.
|
|
6
|
-
*/function s(e){return Object.prototype.toString.call(e)==="[object Object]"}function i(e){var t,r;return s(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(s(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}o.__exports.isPlainObject=i;module.exports=o.__exports;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};exports.__exports=e;
|
|
7
2
|
//# sourceMappingURL=index.cjs157.js.map
|