@performant-software/core-data 2.1.0-beta.5 → 2.1.0-beta.6
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.cjs100.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs110.js.map +1 -1
- package/dist/index.cjs111.js +1 -1
- package/dist/index.cjs111.js.map +1 -1
- package/dist/index.cjs112.js +1 -1
- package/dist/index.cjs112.js.map +1 -1
- package/dist/index.cjs113.js +1 -1
- package/dist/index.cjs113.js.map +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs114.js.map +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs115.js.map +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs116.js.map +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs158.js.map +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs159.js.map +1 -1
- package/dist/index.cjs160.js +1 -1
- 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 +1 -1
- package/dist/index.cjs162.js.map +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs163.js.map +1 -1
- package/dist/index.cjs164.js +1 -1
- 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 -1
- 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.cjs173.js +1 -1
- package/dist/index.cjs173.js.map +1 -1
- package/dist/index.cjs174.js +1 -1
- package/dist/index.cjs174.js.map +1 -1
- package/dist/index.cjs175.js +1 -1
- package/dist/index.cjs175.js.map +1 -1
- package/dist/index.cjs176.js +1 -1
- package/dist/index.cjs176.js.map +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs177.js.map +1 -1
- package/dist/index.cjs178.js +1 -1
- package/dist/index.cjs178.js.map +1 -1
- package/dist/index.cjs179.js +1 -1
- package/dist/index.cjs179.js.map +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs180.js.map +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs181.js.map +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs182.js.map +1 -1
- package/dist/index.cjs183.js +1 -1
- package/dist/index.cjs183.js.map +1 -1
- package/dist/index.cjs184.js +1 -1
- package/dist/index.cjs184.js.map +1 -1
- package/dist/index.cjs185.js +1 -1
- package/dist/index.cjs185.js.map +1 -1
- package/dist/index.cjs186.js +1 -1
- package/dist/index.cjs186.js.map +1 -1
- package/dist/index.cjs187.js +1 -1
- package/dist/index.cjs187.js.map +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs188.js.map +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs189.js.map +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -13
- package/dist/index.cjs206.js.map +1 -1
- package/dist/index.cjs207.js +1 -1
- package/dist/index.cjs207.js.map +1 -1
- package/dist/index.cjs208.js +13 -1
- package/dist/index.cjs208.js.map +1 -1
- package/dist/index.cjs209.js +1 -1
- package/dist/index.cjs209.js.map +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs210.js.map +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs211.js.map +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs212.js.map +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs213.js.map +1 -1
- package/dist/index.cjs214.js +1 -1
- package/dist/index.cjs214.js.map +1 -1
- package/dist/index.cjs215.js +1 -1
- package/dist/index.cjs215.js.map +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs216.js.map +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs217.js.map +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs218.js.map +1 -1
- package/dist/index.cjs219.js +1 -1
- package/dist/index.cjs219.js.map +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs230.js +1 -1
- package/dist/index.cjs230.js.map +1 -1
- package/dist/index.cjs231.js +1 -1
- package/dist/index.cjs231.js.map +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs232.js.map +1 -1
- package/dist/index.cjs233.js +1 -1
- package/dist/index.cjs233.js.map +1 -1
- package/dist/index.cjs234.js +1 -1
- package/dist/index.cjs234.js.map +1 -1
- package/dist/index.cjs235.js +1 -1
- package/dist/index.cjs235.js.map +1 -1
- package/dist/index.cjs236.js +1 -1
- package/dist/index.cjs236.js.map +1 -1
- package/dist/index.cjs237.js +1 -1
- package/dist/index.cjs237.js.map +1 -1
- package/dist/index.cjs238.js +1 -1
- package/dist/index.cjs238.js.map +1 -1
- package/dist/index.cjs239.js +1 -1
- package/dist/index.cjs239.js.map +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs240.js.map +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs241.js.map +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs242.js.map +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs243.js.map +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs244.js.map +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs245.js.map +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs246.js.map +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs247.js.map +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs248.js.map +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs249.js.map +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs250.js.map +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs251.js.map +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs252.js.map +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs253.js.map +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs254.js.map +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs255.js.map +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs256.js.map +1 -1
- package/dist/index.cjs257.js +1 -1
- package/dist/index.cjs257.js.map +1 -1
- package/dist/index.cjs258.js +1 -1
- package/dist/index.cjs258.js.map +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs259.js.map +1 -1
- package/dist/index.cjs26.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs260.js.map +1 -1
- package/dist/index.cjs261.js +1 -1
- package/dist/index.cjs261.js.map +1 -1
- package/dist/index.cjs262.js +6 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +6 -1
- package/dist/index.cjs263.js.map +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs264.js.map +1 -1
- package/dist/index.cjs265.js +1 -6
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -6
- package/dist/index.cjs266.js.map +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs267.js.map +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs268.js.map +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs269.js.map +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs270.js +1 -1
- package/dist/index.cjs270.js.map +1 -1
- package/dist/index.cjs271.js +1 -1
- package/dist/index.cjs271.js.map +1 -1
- package/dist/index.cjs272.js +1 -1
- package/dist/index.cjs272.js.map +1 -1
- package/dist/index.cjs273.js +1 -1
- package/dist/index.cjs273.js.map +1 -1
- package/dist/index.cjs274.js +1 -1
- package/dist/index.cjs274.js.map +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs275.js.map +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs276.js.map +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs277.js.map +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs278.js.map +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs282.js +1 -6
- package/dist/index.cjs282.js.map +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs283.js.map +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs284.js.map +1 -1
- package/dist/index.cjs285.js +6 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs287.js.map +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs288.js.map +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs289.js.map +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs290.js.map +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs291.js.map +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs292.js.map +1 -1
- package/dist/index.cjs293.js +1 -1
- package/dist/index.cjs293.js.map +1 -1
- package/dist/index.cjs294.js +1 -2
- package/dist/index.cjs294.js.map +1 -1
- package/dist/index.cjs295.js +1 -4
- package/dist/index.cjs295.js.map +1 -1
- package/dist/index.cjs296.js +1 -2
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +2 -1
- package/dist/index.cjs297.js.map +1 -1
- package/dist/index.cjs298.js +4 -1
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +2 -2
- 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 +2 -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.cjs309.js +1 -1
- package/dist/index.cjs309.js.map +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs311.js +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 -1
- package/dist/index.cjs314.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.cjs32.js +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +1 -1
- package/dist/index.cjs321.js.map +1 -1
- package/dist/index.cjs322.js +1 -1
- package/dist/index.cjs322.js.map +1 -1
- package/dist/index.cjs323.js +1 -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 +1 -1
- package/dist/index.cjs326.js.map +1 -1
- package/dist/index.cjs327.js +1 -1
- package/dist/index.cjs327.js.map +1 -1
- package/dist/index.cjs328.js +1 -1
- 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.cjs33.js +1 -1
- package/dist/index.cjs330.js +1 -4
- package/dist/index.cjs330.js.map +1 -1
- package/dist/index.cjs331.js +1 -1
- 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.cjs35.js +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 +4 -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.cjs36.js +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 -2
- 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 +2 -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.cjs37.js +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.cjs378.js +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs38.js +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 +5 -1
- package/dist/index.cjs384.js.map +1 -1
- package/dist/index.cjs385.js +1 -5
- 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 -1
- package/dist/index.cjs387.js.map +1 -1
- package/dist/index.cjs388.js +12 -1
- package/dist/index.cjs388.js.map +1 -1
- package/dist/index.cjs389.js +1 -12
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs39.js +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 -1
- 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.cjs40.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs400.js.map +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs401.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs403.js +1 -1
- package/dist/index.cjs403.js.map +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +1 -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 +1 -1
- package/dist/index.cjs409.js.map +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs410.js +1 -1
- 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 -1
- 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 +1 -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.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.cjs43.js +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs430.js.map +1 -1
- package/dist/index.cjs431.js +1 -2
- 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 +2 -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 -2
- 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 +2 -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.cjs44.js +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs440.js.map +1 -1
- package/dist/index.cjs441.js +1 -38
- package/dist/index.cjs441.js.map +1 -1
- package/dist/index.cjs442.js +38 -1
- package/dist/index.cjs442.js.map +1 -1
- package/dist/index.cjs443.js +1 -1
- package/dist/index.cjs443.js.map +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs444.js.map +1 -1
- package/dist/index.cjs445.js +1 -1
- package/dist/index.cjs445.js.map +1 -1
- package/dist/index.cjs446.js +1 -1
- package/dist/index.cjs446.js.map +1 -1
- package/dist/index.cjs447.js +1 -1
- package/dist/index.cjs447.js.map +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs448.js.map +1 -1
- package/dist/index.cjs449.js +1 -1
- package/dist/index.cjs449.js.map +1 -1
- package/dist/index.cjs45.js +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.cjs454.js +1 -1
- package/dist/index.cjs454.js.map +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs457.js.map +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs458.js.map +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs463.js +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs468.js +1 -1
- package/dist/index.cjs470.js +1 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.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.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs48.js +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs482.js +1 -7
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +7 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.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.cjs49.js +1 -1
- package/dist/index.cjs499.js +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs500.js +1 -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.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.cjs509.js +1 -1
- package/dist/index.cjs509.js.map +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs510.js +1 -1
- package/dist/index.cjs510.js.map +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs511.js.map +1 -1
- package/dist/index.cjs512.js +1 -1
- package/dist/index.cjs512.js.map +1 -1
- package/dist/index.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs52.js +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs53.js +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs61.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs65.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs69.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs87.js +1 -1
- package/dist/index.cjs90.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es103.js +4 -4
- package/dist/index.es106.js +3 -3
- package/dist/index.es108.js +1 -1
- package/dist/index.es110.js +1556 -55
- package/dist/index.es110.js.map +1 -1
- package/dist/index.es111.js +33 -7
- package/dist/index.es111.js.map +1 -1
- package/dist/index.es112.js +3 -1558
- package/dist/index.es112.js.map +1 -1
- package/dist/index.es113.js +14 -33
- package/dist/index.es113.js.map +1 -1
- package/dist/index.es114.js +15 -4
- package/dist/index.es114.js.map +1 -1
- package/dist/index.es115.js +56 -12
- package/dist/index.es115.js.map +1 -1
- package/dist/index.es116.js +6 -14
- package/dist/index.es116.js.map +1 -1
- package/dist/index.es118.js +8 -8
- package/dist/index.es122.js +1 -1
- package/dist/index.es123.js +18 -18
- package/dist/index.es134.js +3 -3
- package/dist/index.es135.js +1 -1
- package/dist/index.es137.js +2 -2
- package/dist/index.es143.js +1 -1
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +2 -2
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +4 -4
- package/dist/index.es150.js +2 -2
- package/dist/index.es151.js +6 -6
- package/dist/index.es152.js +2 -2
- package/dist/index.es153.js +1 -1
- package/dist/index.es156.js +2 -2
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +118 -273
- package/dist/index.es158.js.map +1 -1
- package/dist/index.es159.js +105 -14
- package/dist/index.es159.js.map +1 -1
- package/dist/index.es160.js +273 -19
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es161.js +14 -4
- package/dist/index.es161.js.map +1 -1
- package/dist/index.es162.js +18 -3
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js +3 -2
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js +3 -4
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es165.js +1 -1
- package/dist/index.es165.js.map +1 -1
- package/dist/index.es166.js +5 -3
- package/dist/index.es166.js.map +1 -1
- package/dist/index.es167.js +4 -3
- package/dist/index.es167.js.map +1 -1
- package/dist/index.es168.js +3 -3
- package/dist/index.es168.js.map +1 -1
- package/dist/index.es169.js +3 -3
- package/dist/index.es169.js.map +1 -1
- package/dist/index.es170.js +3 -3
- package/dist/index.es170.js.map +1 -1
- package/dist/index.es171.js +3 -3
- package/dist/index.es171.js.map +1 -1
- package/dist/index.es172.js +3 -3
- package/dist/index.es172.js.map +1 -1
- package/dist/index.es173.js +3 -10
- package/dist/index.es173.js.map +1 -1
- package/dist/index.es174.js +3 -4
- package/dist/index.es174.js.map +1 -1
- package/dist/index.es175.js +9 -5
- package/dist/index.es175.js.map +1 -1
- package/dist/index.es176.js +4 -6
- package/dist/index.es176.js.map +1 -1
- package/dist/index.es177.js +5 -9
- package/dist/index.es177.js.map +1 -1
- package/dist/index.es178.js +5 -11
- package/dist/index.es178.js.map +1 -1
- package/dist/index.es179.js +9 -12
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es180.js +11 -85
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +13 -3
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +85 -14
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +3 -12
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +14 -6
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +11 -6
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +5 -5
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +6 -7
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +6 -3
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +8 -4
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +3 -3
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +4 -7
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +4 -7
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +6 -3
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +6 -7
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +3 -12
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +7 -10
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +12 -3
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +10 -5
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +3 -2
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +4 -6
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +2 -7
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +6 -6
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +7 -8
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +7 -3
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +9 -4
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +3 -57
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +4 -14
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +57 -5
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +13 -5
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +5 -8
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +5 -16
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +8 -13
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +16 -4
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +13 -5
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +4 -8
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +3 -4
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +6 -4
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +6 -8
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +7 -3
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +9 -3
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +3 -11
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +3 -5
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +11 -4
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +5 -9
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +4 -6
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +8 -16
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +5 -11
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +17 -3
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +12 -3
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +3 -9
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +3 -7
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +8 -12
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +6 -12
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +12 -6
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +12 -5
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +6 -5
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +5 -16
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +5 -16
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +16 -4
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +16 -16
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +4 -22
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +17 -6
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +23 -5
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +5 -5
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +5 -5
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +6 -12
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +5 -6
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +11 -4
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +5 -4
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +3 -3
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +3 -3
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es252.js +4 -4
- package/dist/index.es252.js.map +1 -1
- package/dist/index.es253.js +4 -4
- package/dist/index.es253.js.map +1 -1
- package/dist/index.es254.js +4 -12
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +4 -14
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +12 -8
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +14 -6
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +8 -6
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +6 -8
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es26.js +1 -1
- package/dist/index.es260.js +6 -117
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +8 -105
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +39 -27
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +17 -28
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +28 -5
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +27 -38
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +5 -18
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +4 -6
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +8 -4
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +6 -7
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es27.js +1 -1
- package/dist/index.es270.js +11 -7
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +9 -260
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +7 -85
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +14 -339
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +263 -12
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +83 -45
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +339 -4
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +12 -4
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +47 -4
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es280.js +2 -2
- package/dist/index.es281.js +2 -2
- package/dist/index.es282.js +2 -43
- package/dist/index.es282.js.map +1 -1
- package/dist/index.es283.js +2 -13
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +2 -349
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +39 -220
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +10 -36
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +348 -7
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +221 -38
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +36 -16
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es29.js +2 -2
- package/dist/index.es290.js +6 -18
- package/dist/index.es290.js.map +1 -1
- package/dist/index.es291.js +39 -8
- package/dist/index.es291.js.map +1 -1
- package/dist/index.es292.js +16 -14
- package/dist/index.es292.js.map +1 -1
- package/dist/index.es293.js +16 -20
- package/dist/index.es293.js.map +1 -1
- package/dist/index.es294.js +8 -131
- package/dist/index.es294.js.map +1 -1
- package/dist/index.es295.js +15 -18
- package/dist/index.es295.js.map +1 -1
- package/dist/index.es296.js +23 -18
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +129 -15
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +18 -33
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +18 -217
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +19 -11
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +33 -8
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +217 -4
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +6 -12
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +45 -2
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +12 -321
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +7 -2
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +18 -2
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es309.js +320 -13
- package/dist/index.es309.js.map +1 -1
- package/dist/index.es31.js +1 -1
- package/dist/index.es310.js +2 -2
- package/dist/index.es311.js +2 -2
- package/dist/index.es312.js +2 -48
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +14 -37
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +2 -43
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es316.js +47 -15
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +38 -2
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +42 -15
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +2 -16
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es32.js +1 -1
- package/dist/index.es320.js +14 -16
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +2 -20
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +16 -2
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +14 -43
- package/dist/index.es323.js.map +1 -1
- package/dist/index.es324.js +17 -12
- package/dist/index.es324.js.map +1 -1
- package/dist/index.es325.js +19 -6
- package/dist/index.es325.js.map +1 -1
- package/dist/index.es326.js +2 -18
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +8 -5
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +5 -3
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +4 -24
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es33.js +2 -2
- package/dist/index.es330.js +3 -107
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +3 -16
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +8 -9
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +20 -6
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +21 -4
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +14 -4
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +17 -3
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +6 -3
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +8 -8
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +6 -21
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +20 -20
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +8 -12
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +9 -17
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +4 -6
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +10 -8
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +8 -6
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +21 -20
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +10 -8
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +19 -9
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +4 -4
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es35.js +2 -2
- package/dist/index.es350.js +17 -10
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +11 -8
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +3 -22
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +4 -11
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +9 -18
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +5 -4
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +3 -18
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +23 -11
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +106 -3
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +15 -4
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es36.js +2 -2
- package/dist/index.es360.js +149 -218
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +104 -2
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +16 -355
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +227 -4
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +2 -38
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +354 -49
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +2 -62
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +33 -56
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +51 -73
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es369.js +61 -49
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es37.js +2 -2
- package/dist/index.es370.js +54 -82
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +73 -2
- package/dist/index.es371.js.map +1 -1
- package/dist/index.es372.js +52 -4
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es373.js +89 -2
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es375.js +2 -2
- package/dist/index.es376.js +2 -2
- package/dist/index.es377.js +2 -2
- package/dist/index.es378.js +2 -2
- package/dist/index.es379.js +2 -2
- package/dist/index.es38.js +1 -1
- package/dist/index.es380.js +2 -22
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +8 -2
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +4 -8
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +4 -4
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es384.js +161 -4
- package/dist/index.es384.js.map +1 -1
- package/dist/index.es385.js +5 -161
- package/dist/index.es385.js.map +1 -1
- package/dist/index.es386.js +2 -5
- package/dist/index.es386.js.map +1 -1
- package/dist/index.es387.js +88 -2
- package/dist/index.es387.js.map +1 -1
- package/dist/index.es388.js +185 -79
- package/dist/index.es388.js.map +1 -1
- package/dist/index.es389.js +82 -188
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es39.js +1 -1
- package/dist/index.es390.js +13 -88
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +318 -12
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +58 -317
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +6 -156
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +2 -104
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +2 -17
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +22 -2
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +2 -96
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +86 -265
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es399.js +227 -81
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es40.js +2 -2
- package/dist/index.es400.js +81 -120
- package/dist/index.es400.js.map +1 -1
- package/dist/index.es401.js +119 -82
- package/dist/index.es401.js.map +1 -1
- package/dist/index.es402.js +73 -70
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +75 -80
- package/dist/index.es403.js.map +1 -1
- package/dist/index.es404.js +79 -74
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +75 -64
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +51 -51
- package/dist/index.es406.js.map +1 -1
- package/dist/index.es407.js +33 -33
- package/dist/index.es407.js.map +1 -1
- package/dist/index.es408.js +55 -55
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +68 -76
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es41.js +2 -2
- package/dist/index.es410.js +72 -78
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +74 -71
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +121 -26
- package/dist/index.es412.js.map +1 -1
- package/dist/index.es413.js +33 -2
- package/dist/index.es413.js.map +1 -1
- package/dist/index.es414.js +2 -21
- package/dist/index.es414.js.map +1 -1
- package/dist/index.es415.js +21 -2
- package/dist/index.es415.js.map +1 -1
- package/dist/index.es416.js +2 -43
- package/dist/index.es416.js.map +1 -1
- package/dist/index.es417.js +26 -26
- package/dist/index.es417.js.map +1 -1
- package/dist/index.es418.js +29 -29
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +23 -23
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es420.js +29 -29
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +21 -21
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +29 -29
- package/dist/index.es422.js.map +1 -1
- package/dist/index.es423.js +30 -30
- package/dist/index.es423.js.map +1 -1
- package/dist/index.es424.js +21 -22
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es425.js +36 -33
- package/dist/index.es425.js.map +1 -1
- package/dist/index.es426.js +41 -2
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +2 -2
- package/dist/index.es428.js +2 -12
- package/dist/index.es428.js.map +1 -1
- package/dist/index.es429.js +2 -34
- package/dist/index.es429.js.map +1 -1
- package/dist/index.es43.js +2 -2
- package/dist/index.es430.js +10 -19
- package/dist/index.es430.js.map +1 -1
- package/dist/index.es431.js +32 -10
- package/dist/index.es431.js.map +1 -1
- package/dist/index.es432.js +21 -2
- package/dist/index.es432.js.map +1 -1
- package/dist/index.es433.js +10 -12
- package/dist/index.es433.js.map +1 -1
- package/dist/index.es434.js +2 -12
- package/dist/index.es434.js.map +1 -1
- package/dist/index.es435.js +10 -8
- package/dist/index.es435.js.map +1 -1
- package/dist/index.es436.js +12 -2
- package/dist/index.es436.js.map +1 -1
- package/dist/index.es437.js +10 -58
- package/dist/index.es437.js.map +1 -1
- package/dist/index.es438.js +2 -6
- package/dist/index.es438.js.map +1 -1
- package/dist/index.es439.js +3 -65
- package/dist/index.es439.js.map +1 -1
- package/dist/index.es44.js +2 -2
- package/dist/index.es440.js +5 -6
- package/dist/index.es440.js.map +1 -1
- package/dist/index.es441.js +8 -55
- package/dist/index.es441.js.map +1 -1
- package/dist/index.es442.js +54 -8
- package/dist/index.es442.js.map +1 -1
- package/dist/index.es443.js +9 -14
- package/dist/index.es443.js.map +1 -1
- package/dist/index.es444.js +14 -60
- package/dist/index.es444.js.map +1 -1
- package/dist/index.es445.js +60 -8
- package/dist/index.es445.js.map +1 -1
- package/dist/index.es446.js +65 -3
- package/dist/index.es446.js.map +1 -1
- package/dist/index.es447.js +6 -5
- package/dist/index.es447.js.map +1 -1
- package/dist/index.es448.js +120 -8
- package/dist/index.es448.js.map +1 -1
- package/dist/index.es449.js +5 -8
- package/dist/index.es449.js.map +1 -1
- package/dist/index.es45.js +2 -2
- package/dist/index.es450.js +8 -50
- package/dist/index.es450.js.map +1 -1
- package/dist/index.es451.js +8 -4
- package/dist/index.es451.js.map +1 -1
- package/dist/index.es452.js +50 -4
- package/dist/index.es452.js.map +1 -1
- package/dist/index.es453.js +2 -2
- package/dist/index.es454.js +3 -146
- package/dist/index.es454.js.map +1 -1
- package/dist/index.es455.js +2 -2
- package/dist/index.es456.js +2 -2
- package/dist/index.es457.js +2 -2
- package/dist/index.es457.js.map +1 -1
- package/dist/index.es458.js +146 -3
- package/dist/index.es458.js.map +1 -1
- package/dist/index.es459.js +2 -109
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es46.js +1 -1
- package/dist/index.es460.js +109 -2
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +5 -2
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +2 -2
- package/dist/index.es463.js +2 -2
- package/dist/index.es464.js +2 -2
- package/dist/index.es466.js +2 -2
- package/dist/index.es467.js +2 -2
- package/dist/index.es468.js +2 -2
- package/dist/index.es469.js +2 -2
- package/dist/index.es470.js +2 -118
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +2 -3
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +2 -2
- package/dist/index.es473.js +2 -151
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +151 -2
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +2 -6
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +6 -2
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +2 -148
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +148 -2
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +2 -138
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es48.js +1 -1
- package/dist/index.es480.js +138 -2
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es482.js +2 -225
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +179 -88
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +48 -43
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +67 -72
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +51 -46
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +42 -48
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +135 -2
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +2 -2
- package/dist/index.es49.js +4 -4
- package/dist/index.es490.js +2 -2
- package/dist/index.es493.js +2 -2
- package/dist/index.es494.js +2 -2
- package/dist/index.es495.js +2 -2
- package/dist/index.es496.js +2 -2
- package/dist/index.es498.js +2 -2
- package/dist/index.es499.js +2 -131
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es50.js +5 -5
- package/dist/index.es500.js +45 -42
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +128 -2
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +2 -2
- package/dist/index.es503.js +14 -2
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +2 -14
- package/dist/index.es504.js.map +1 -1
- package/dist/index.es505.js +2 -2
- package/dist/index.es506.js +2 -2
- package/dist/index.es508.js +2 -2
- package/dist/index.es509.js +2 -5
- package/dist/index.es509.js.map +1 -1
- package/dist/index.es51.js +5 -5
- package/dist/index.es510.js +8 -3
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +13 -22
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +3 -8
- package/dist/index.es512.js.map +1 -1
- package/dist/index.es513.js +22 -13
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +2 -2
- package/dist/index.es518.js +2 -2
- package/dist/index.es519.js +30 -2
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es52.js +1 -1
- package/dist/index.es520.js +2 -2
- package/dist/index.es522.js +2 -2
- package/dist/index.es524.js +2 -2
- package/dist/index.es526.js +2 -2
- package/dist/index.es527.js +2 -30
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es53.js +3 -3
- package/dist/index.es531.js +11 -21
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +26 -11
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +4 -27
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +22 -4
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es54.js +4 -4
- package/dist/index.es55.js +2 -2
- package/dist/index.es56.js +2 -2
- package/dist/index.es61.js +4 -4
- package/dist/index.es62.js +2 -2
- package/dist/index.es63.js +2 -2
- package/dist/index.es65.js +1 -1
- package/dist/index.es66.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es69.js +1 -1
- package/dist/index.es70.js +1 -1
- package/dist/index.es71.js +1 -1
- package/dist/index.es74.js +4 -4
- package/dist/index.es82.js +1 -1
- package/dist/index.es83.js +1 -1
- package/dist/index.es84.js +2 -2
- package/dist/index.es85.js +1 -1
- package/dist/index.es87.js +1 -1
- package/dist/index.es90.js +3 -3
- package/dist/index.es94.js +1 -1
- package/dist/index.es97.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.cjs100.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs78.js"),e=require("react"),h=require("./index.cjs79.js"),k=require("./index.cjs80.js"),E=require("./index.cjs81.js"),C=require("./index.cjs88.js"),R=require("./index.cjs134.js"),G=require("./index.cjs83.js"),w=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index.cjs78.js"),e=require("react"),h=require("./index.cjs79.js"),k=require("./index.cjs80.js"),E=require("./index.cjs81.js"),C=require("./index.cjs88.js"),R=require("./index.cjs134.js"),G=require("./index.cjs83.js"),w=require("./index.cjs116.js"),A=require("./index.cjs135.js"),I=require("./index.cjs136.js"),x="Radio",[D,g]=E.createContextScope(x),[F,W]=D(x),O=e.forwardRef((a,v)=>{const{__scopeRadio:t,name:l,checked:r=!1,required:c,disabled:n,value:i="on",onCheck:s,...p}=a,[f,d]=e.useState(null),u=k.useComposedRefs(v,b=>d(b)),o=e.useRef(!1),$=f?!!f.closest("form"):!0;return e.createElement(F,{scope:t,checked:r,disabled:n},e.createElement(C.Primitive.button,m({type:"button",role:"radio","aria-checked":r,"data-state":L(r),"data-disabled":n?"":void 0,disabled:n,value:i},p,{ref:u,onClick:h.composeEventHandlers(a.onClick,b=>{r||s==null||s(),$&&(o.current=b.isPropagationStopped(),o.current||b.stopPropagation())})})),$&&e.createElement(V,{control:f,bubbles:!o.current,name:l,value:i,checked:r,required:c,disabled:n,style:{transform:"translateX(-100%)"}}))}),V=a=>{const{control:v,checked:t,bubbles:l=!0,...r}=a,c=e.useRef(null),n=I.usePrevious(t),i=A.useSize(v);return e.useEffect(()=>{const s=c.current,p=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(p,"checked").set;if(n!==t&&d){const u=new Event("click",{bubbles:l});d.call(s,t),s.dispatchEvent(u)}},[n,t,l]),e.createElement("input",m({type:"radio","aria-hidden":!0,defaultChecked:t},r,{tabIndex:-1,ref:c,style:{...a.style,...i,position:"absolute",pointerEvents:"none",opacity:0,margin:0}}))};function L(a){return a?"checked":"unchecked"}const M=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],q="RadioGroup",[K,H]=E.createContextScope(q,[R.createRovingFocusGroupScope,g]),y=R.createRovingFocusGroupScope(),B=g(),[N,T]=K(q),S=e.forwardRef((a,v)=>{const{__scopeRadioGroup:t,name:l,defaultValue:r,value:c,required:n=!1,disabled:i=!1,orientation:s,dir:p,loop:f=!0,onValueChange:d,...u}=a,o=y(t),$=w.useDirection(p),[b,_]=G.useControllableState({prop:c,defaultProp:r,onChange:d});return e.createElement(N,{scope:t,name:l,required:n,disabled:i,value:b,onValueChange:_},e.createElement(R.Root,m({asChild:!0},o,{orientation:s,dir:$,loop:f}),e.createElement(C.Primitive.div,m({role:"radiogroup","aria-required":n,"aria-orientation":s,"data-disabled":i?"":void 0,dir:$},u,{ref:v}))))}),U="RadioGroupItem",P=e.forwardRef((a,v)=>{const{__scopeRadioGroup:t,disabled:l,...r}=a,c=T(U,t),n=c.disabled||l,i=y(t),s=B(t),p=e.useRef(null),f=k.useComposedRefs(v,p),d=c.value===r.value,u=e.useRef(!1);return e.useEffect(()=>{const o=b=>{M.includes(b.key)&&(u.current=!0)},$=()=>u.current=!1;return document.addEventListener("keydown",o),document.addEventListener("keyup",$),()=>{document.removeEventListener("keydown",o),document.removeEventListener("keyup",$)}},[]),e.createElement(R.Item,m({asChild:!0},i,{focusable:!n,active:d}),e.createElement(O,m({disabled:n,required:c.required,checked:d},s,r,{name:c.name,ref:f,onCheck:()=>c.onValueChange(r.value),onKeyDown:h.composeEventHandlers(o=>{o.key==="Enter"&&o.preventDefault()}),onFocus:h.composeEventHandlers(r.onFocus,()=>{var o;u.current&&((o=p.current)===null||o===void 0||o.click())})})))}),j=S,z=P;exports.Item=z;exports.RadioGroup=S;exports.RadioGroupItem=P;exports.Root=j;exports.createRadioGroupScope=H;
|
|
2
2
|
//# sourceMappingURL=index.cjs100.js.map
|
package/dist/index.cjs103.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("./index.cjs78.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs138.js"),T=require("./index.cjs79.js"),Ve=require("./index.cjs110.js"),k=require("./index.cjs80.js"),Be=require("./index.cjs81.js"),qe=require("./index.cjs111.js"),We=require("./index.cjs84.js"),Fe=require("./index.cjs89.js"),Ke=require("./index.cjs85.js"),he=require("./index.cjs82.js"),ne=require("./index.cjs137.js"),Ue=require("./index.cjs86.js"),H=require("./index.cjs88.js"),Ge=require("./index.cjs92.js"),ze=require("./index.cjs115.js"),we=require("./index.cjs83.js"),K=require("./index.cjs114.js"),je=require("./index.cjs136.js"),Ye=require("./index.cjs139.js"),Xe=require("./index.cjs91.js"),Ze=require("./index.cjs90.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.cjs78.js"),e=require("react"),Pe=require("react-dom"),xe=require("./index.cjs138.js"),T=require("./index.cjs79.js"),Ve=require("./index.cjs115.js"),k=require("./index.cjs80.js"),Be=require("./index.cjs81.js"),qe=require("./index.cjs116.js"),We=require("./index.cjs84.js"),Fe=require("./index.cjs89.js"),Ke=require("./index.cjs85.js"),he=require("./index.cjs82.js"),ne=require("./index.cjs137.js"),Ue=require("./index.cjs86.js"),H=require("./index.cjs88.js"),Ge=require("./index.cjs92.js"),ze=require("./index.cjs113.js"),we=require("./index.cjs83.js"),K=require("./index.cjs112.js"),je=require("./index.cjs136.js"),Ye=require("./index.cjs139.js"),Xe=require("./index.cjs91.js"),Ze=require("./index.cjs90.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.cjs103.js.map
|
package/dist/index.cjs106.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs267.js"),u=require("./index.cjs268.js"),a=require("./index.cjs269.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.cjs106.js.map
|
package/dist/index.cjs108.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs303.js");function r(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,e(t,o)}module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs108.js.map
|
package/dist/index.cjs110.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react"),v=require("./index.cjs81.js"),m=require("./index.cjs80.js"),p=require("./index.cjs92.js");function _(s){const u=s+"CollectionProvider",[C,R]=v.createContextScope(u),[M,d]=C(u,{collectionRef:{current:null},itemMap:new Map}),S=n=>{const{scope:e,children:l}=n,o=t.useRef(null),c=t.useRef(new Map).current;return t.createElement(M,{scope:e,itemMap:c,collectionRef:o},l)},x=s+"CollectionSlot",I=t.forwardRef((n,e)=>{const{scope:l,children:o}=n,c=d(x,l),r=m.useComposedRefs(e,c.collectionRef);return t.createElement(p.Slot,{ref:r},o)}),E=s+"CollectionItemSlot",f="data-radix-collection-item",A=t.forwardRef((n,e)=>{const{scope:l,children:o,...c}=n,r=t.useRef(null),a=m.useComposedRefs(e,r),i=d(E,l);return t.useEffect(()=>(i.itemMap.set(r,{ref:r,...c}),()=>void i.itemMap.delete(r))),t.createElement(p.Slot,{[f]:"",ref:a},o)});function T(n){const e=d(s+"CollectionConsumer",n);return t.useCallback(()=>{const o=e.collectionRef.current;if(!o)return[];const c=Array.from(o.querySelectorAll(`[${f}]`));return Array.from(e.itemMap.values()).sort((i,O)=>c.indexOf(i.ref.current)-c.indexOf(O.ref.current))},[e.collectionRef,e.itemMap])}return[{Provider:S,Slot:I,ItemSlot:A},T,R]}exports.createCollection=_;
|
|
1
|
+
"use strict";const ue={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,e){console&&console[r]&&console[r].apply(console,e)}};class U{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||ue,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,s,i){return i&&!this.debug?null:(typeof e[0]=="string"&&(e[0]=`${s}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new U(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new U(this.logger,e)}}var N=new U;class J{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(s=>{this.observers[s]||(this.observers[s]=new Map);const i=this.observers[s].get(t)||0;this.observers[s].set(t,i+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,s=new Array(t>1?t-1:0),i=1;i<t;i++)s[i-1]=arguments[i];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(a=>{let[o,l]=a;for(let f=0;f<l;f++)o(...s)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(a=>{let[o,l]=a;for(let f=0;f<l;f++)o.apply(o,[e,...s])})}}function F(){let r,e;const t=new Promise((s,i)=>{r=s,e=i});return t.resolve=r,t.reject=e,t}function Z(r){return r==null?"":""+r}function fe(r,e,t){r.forEach(s=>{e[s]&&(t[s]=e[s])})}const ge=/###/g;function I(r,e,t){function s(o){return o&&o.indexOf("###")>-1?o.replace(ge,"."):o}function i(){return!r||typeof r=="string"}const n=typeof e!="string"?e:e.split(".");let a=0;for(;a<n.length-1;){if(i())return{};const o=s(n[a]);!r[o]&&t&&(r[o]=new t),Object.prototype.hasOwnProperty.call(r,o)?r=r[o]:r={},++a}return i()?{}:{obj:r,k:s(n[a])}}function X(r,e,t){const{obj:s,k:i}=I(r,e,Object);if(s!==void 0||e.length===1){s[i]=t;return}let n=e[e.length-1],a=e.slice(0,e.length-1),o=I(r,a,Object);for(;o.obj===void 0&&a.length;)n=`${a[a.length-1]}.${n}`,a=a.slice(0,a.length-1),o=I(r,a,Object),o&&o.obj&&typeof o.obj[`${o.k}.${n}`]<"u"&&(o.obj=void 0);o.obj[`${o.k}.${n}`]=t}function he(r,e,t,s){const{obj:i,k:n}=I(r,e,Object);i[n]=i[n]||[],s&&(i[n]=i[n].concat(t)),s||i[n].push(t)}function M(r,e){const{obj:t,k:s}=I(r,e);if(t)return t[s]}function ce(r,e,t){const s=M(r,t);return s!==void 0?s:M(e,t)}function ne(r,e,t){for(const s in e)s!=="__proto__"&&s!=="constructor"&&(s in r?typeof r[s]=="string"||r[s]instanceof String||typeof e[s]=="string"||e[s]instanceof String?t&&(r[s]=e[s]):ne(r[s],e[s],t):r[s]=e[s]);return r}function P(r){return r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}var pe={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};function de(r){return typeof r=="string"?r.replace(/[&<>"'\/]/g,e=>pe[e]):r}class me{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}const ve=[" ",",","?","!",";"],be=new me(20);function ye(r,e,t){e=e||"",t=t||"";const s=ve.filter(a=>e.indexOf(a)<0&&t.indexOf(a)<0);if(s.length===0)return!0;const i=be.getRegExp(`(${s.map(a=>a==="?"?"\\?":a).join("|")})`);let n=!i.test(r);if(!n){const a=r.indexOf(t);a>0&&!i.test(r.substring(0,a))&&(n=!0)}return n}function W(r,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[e])return r[e];const s=e.split(t);let i=r;for(let n=0;n<s.length;){if(!i||typeof i!="object")return;let a,o="";for(let l=n;l<s.length;++l)if(l!==n&&(o+=t),o+=s[l],a=i[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&l<s.length-1)continue;n+=l-n+1;break}i=a}return i}function H(r){return r&&r.indexOf("_")>0?r.replace("_","-"):r}class q extends J{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const n=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure;let o;e.indexOf(".")>-1?o=e.split("."):(o=[e,t],s&&(Array.isArray(s)?o.push(...s):typeof s=="string"&&n?o.push(...s.split(n)):o.push(s)));const l=M(this.data,o);return!l&&!t&&!s&&e.indexOf(".")>-1&&(e=o[0],t=o[1],s=o.slice(2).join(".")),l||!a||typeof s!="string"?l:W(this.data&&this.data[e]&&this.data[e][t],s,n)}addResource(e,t,s,i){let n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let o=[e,t];s&&(o=o.concat(a?s.split(a):s)),e.indexOf(".")>-1&&(o=e.split("."),i=t,t=o[1]),this.addNamespaces(t),X(this.data,o,i),n.silent||this.emit("added",e,t,s,i)}addResources(e,t,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const n in s)(typeof s[n]=="string"||Object.prototype.toString.apply(s[n])==="[object Array]")&&this.addResource(e,t,n,s[n],{silent:!0});i.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,i,n){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1},o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),i=s,s=t,t=o[1]),this.addNamespaces(t);let l=M(this.data,o)||{};i?ne(l,s,n):l={...l,...s},X(this.data,o,l),a.silent||this.emit("added",e,t,s)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.options.compatibilityAPI==="v1"?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(i=>t[i]&&Object.keys(t[i]).length>0)}toJSON(){return this.data}}var ae={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,e,t,s,i){return r.forEach(n=>{this.processors[n]&&(e=this.processors[n].process(e,t,s,i))}),e}};const _={};class z extends J{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),fe(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=N.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const s=this.resolve(e,t);return s&&s.res!==void 0}extractFromKey(e,t){let s=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const i=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let n=t.ns||this.options.defaultNS||[];const a=s&&e.indexOf(s)>-1,o=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!ye(e,s,i);if(a&&!o){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:n};const f=e.split(s);(s!==i||s===i&&this.options.ns.indexOf(f[0])>-1)&&(n=f.shift()),e=f.join(i)}return typeof n=="string"&&(n=[n]),{key:e,namespaces:n}}translate(e,t,s){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const i=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:a,namespaces:o}=this.extractFromKey(e[e.length-1],t),l=o[o.length-1],f=t.lng||this.language,g=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(g){const v=t.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${v}${a}`,usedKey:a,exactUsedKey:a,usedLng:f,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${v}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:f,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:a}const h=this.resolve(e,t);let u=h&&h.res;const p=h&&h.usedKey||a,c=h&&h.exactUsedKey||a,d=Object.prototype.toString.apply(u),m=["[object Number]","[object Function]","[object RegExp]"],S=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,y=!this.i18nFormat||this.i18nFormat.handleAsObject;if(y&&u&&(typeof u!="string"&&typeof u!="boolean"&&typeof u!="number")&&m.indexOf(d)<0&&!(typeof S=="string"&&d==="[object Array]")){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const v=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,u,{...t,ns:o}):`key '${a} (${this.language})' returned an object instead of string.`;return i?(h.res=v,h.usedParams=this.getUsedParamsDetails(t),h):v}if(n){const v=d==="[object Array]",L=v?[]:{},w=v?c:p;for(const x in u)if(Object.prototype.hasOwnProperty.call(u,x)){const T=`${w}${n}${x}`;L[x]=this.translate(T,{...t,joinArrays:!1,ns:o}),L[x]===T&&(L[x]=u[x])}u=L}}else if(y&&typeof S=="string"&&d==="[object Array]")u=u.join(S),u&&(u=this.extendTranslation(u,e,t,s));else{let v=!1,L=!1;const w=t.count!==void 0&&typeof t.count!="string",x=z.hasDefaultValue(t),T=w?this.pluralResolver.getSuffix(f,t.count,t):"",oe=t.ordinal&&w?this.pluralResolver.getSuffix(f,t.count,{ordinal:!1}):"",Q=w&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),$=Q&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${T}`]||t[`defaultValue${oe}`]||t.defaultValue;!this.isValidLookup(u)&&x&&(v=!0,u=$),this.isValidLookup(u)||(L=!0,u=a);const le=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&L?void 0:u,k=x&&$!==u&&this.options.updateMissing;if(L||v||k){if(this.logger.log(k?"updateKey":"missingKey",f,l,a,k?$:u),n){const O=this.resolve(a,{...t,keySeparator:!1});O&&O.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let j=[];const V=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&V&&V[0])for(let O=0;O<V.length;O++)j.push(V[O]);else this.options.saveMissingTo==="all"?j=this.languageUtils.toResolveHierarchy(t.lng||this.language):j.push(t.lng||this.language);const Y=(O,R,E)=>{const G=x&&E!==u?E:le;this.options.missingKeyHandler?this.options.missingKeyHandler(O,l,R,G,k,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(O,l,R,G,k,t),this.emit("missingKey",O,l,R,u)};this.options.saveMissing&&(this.options.saveMissingPlurals&&w?j.forEach(O=>{const R=this.pluralResolver.getSuffixes(O,t);Q&&t[`defaultValue${this.options.pluralSeparator}zero`]&&R.indexOf(`${this.options.pluralSeparator}zero`)<0&&R.push(`${this.options.pluralSeparator}zero`),R.forEach(E=>{Y([O],a+E,t[`defaultValue${E}`]||$)})}):Y(j,a,$))}u=this.extendTranslation(u,e,t,h,s),L&&u===a&&this.options.appendNamespaceToMissingKey&&(u=`${l}:${a}`),(L||v)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?u=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,v?u:void 0):u=this.options.parseMissingKeyHandler(u))}return i?(h.res=u,h.usedParams=this.getUsedParamsDetails(t),h):u}extendTranslation(e,t,s,i,n){var a=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const f=typeof e=="string"&&(s&&s.interpolation&&s.interpolation.skipOnVariables!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let g;if(f){const u=e.match(this.interpolator.nestingRegexp);g=u&&u.length}let h=s.replace&&typeof s.replace!="string"?s.replace:s;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,s.lng||this.language,s),f){const u=e.match(this.interpolator.nestingRegexp),p=u&&u.length;g<p&&(s.nest=!1)}!s.lng&&this.options.compatibilityAPI!=="v1"&&i&&i.res&&(s.lng=i.usedLng),s.nest!==!1&&(e=this.interpolator.nest(e,function(){for(var u=arguments.length,p=new Array(u),c=0;c<u;c++)p[c]=arguments[c];return n&&n[0]===p[0]&&!s.context?(a.logger.warn(`It seems you are nesting recursively key: ${p[0]} in key: ${t[0]}`),null):a.translate(...p,t)},s)),s.interpolation&&this.interpolator.reset()}const o=s.postProcess||this.options.postProcess,l=typeof o=="string"?[o]:o;return e!=null&&l&&l.length&&s.applyPostProcessor!==!1&&(e=ae.handle(l,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(s)},...s}:s,this)),e}resolve(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s,i,n,a,o;return typeof e=="string"&&(e=[e]),e.forEach(l=>{if(this.isValidLookup(s))return;const f=this.extractFromKey(l,t),g=f.key;i=g;let h=f.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const u=t.count!==void 0&&typeof t.count!="string",p=u&&!t.ordinal&&t.count===0&&this.pluralResolver.shouldUseIntlApi(),c=t.context!==void 0&&(typeof t.context=="string"||typeof t.context=="number")&&t.context!=="",d=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);h.forEach(m=>{this.isValidLookup(s)||(o=m,!_[`${d[0]}-${m}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(_[`${d[0]}-${m}`]=!0,this.logger.warn(`key "${i}" for languages "${d.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),d.forEach(S=>{if(this.isValidLookup(s))return;a=S;const y=[g];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(y,g,S,m,t);else{let v;u&&(v=this.pluralResolver.getSuffix(S,t.count,t));const L=`${this.options.pluralSeparator}zero`,w=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(y.push(g+v),t.ordinal&&v.indexOf(w)===0&&y.push(g+v.replace(w,this.options.pluralSeparator)),p&&y.push(g+L)),c){const x=`${g}${this.options.contextSeparator}${t.context}`;y.push(x),u&&(y.push(x+v),t.ordinal&&v.indexOf(w)===0&&y.push(x+v.replace(w,this.options.pluralSeparator)),p&&y.push(x+L))}}let D;for(;D=y.pop();)this.isValidLookup(s)||(n=D,s=this.getResource(S,m,D,t))}))})}),{res:s,usedKey:i,exactUsedKey:n,usedLng:a,usedNS:o}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,s,i):this.resourceStore.getResource(e,t,s,i)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],s=e.replace&&typeof e.replace!="string";let i=s?e.replace:e;if(s&&typeof e.count<"u"&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!s){i={...i};for(const n of t)delete i[n]}return i}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&e[s]!==void 0)return!0;return!1}}function B(r){return r.charAt(0).toUpperCase()+r.slice(1)}class ee{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=N.create("languageUtils")}getScriptPartFromCode(e){if(e=H(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=H(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(typeof e=="string"&&e.indexOf("-")>-1){const t=["hans","hant","latn","cyrl","cans","mong","arab"];let s=e.split("-");return this.options.lowerCaseLng?s=s.map(i=>i.toLowerCase()):s.length===2?(s[0]=s[0].toLowerCase(),s[1]=s[1].toUpperCase(),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=B(s[1].toLowerCase()))):s.length===3&&(s[0]=s[0].toLowerCase(),s[1].length===2&&(s[1]=s[1].toUpperCase()),s[0]!=="sgn"&&s[2].length===2&&(s[2]=s[2].toUpperCase()),t.indexOf(s[1].toLowerCase())>-1&&(s[1]=B(s[1].toLowerCase())),t.indexOf(s[2].toLowerCase())>-1&&(s[2]=B(s[2].toLowerCase()))),s.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(s=>{if(t)return;const i=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(i))&&(t=i)}),!t&&this.options.supportedLngs&&e.forEach(s=>{if(t)return;const i=this.getLanguagePartFromCode(s);if(this.isSupportedCode(i))return t=i;t=this.options.supportedLngs.find(n=>{if(n===i)return n;if(!(n.indexOf("-")<0&&i.indexOf("-")<0)&&n.indexOf(i)===0)return n})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),typeof e=="string"&&(e=[e]),Object.prototype.toString.apply(e)==="[object Array]")return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],n=a=>{a&&(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return typeof e=="string"&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&n(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&n(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&n(this.getLanguagePartFromCode(e))):typeof e=="string"&&n(this.formatLanguageCode(e)),s.forEach(a=>{i.indexOf(a)<0&&n(this.formatLanguageCode(a))}),i}}let xe=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],Se={1:function(r){return+(r>1)},2:function(r){return+(r!=1)},3:function(r){return 0},4:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},5:function(r){return r==0?0:r==1?1:r==2?2:r%100>=3&&r%100<=10?3:r%100>=11?4:5},6:function(r){return r==1?0:r>=2&&r<=4?1:2},7:function(r){return r==1?0:r%10>=2&&r%10<=4&&(r%100<10||r%100>=20)?1:2},8:function(r){return r==1?0:r==2?1:r!=8&&r!=11?2:3},9:function(r){return+(r>=2)},10:function(r){return r==1?0:r==2?1:r<7?2:r<11?3:4},11:function(r){return r==1||r==11?0:r==2||r==12?1:r>2&&r<20?2:3},12:function(r){return+(r%10!=1||r%100==11)},13:function(r){return+(r!==0)},14:function(r){return r==1?0:r==2?1:r==3?2:3},15:function(r){return r%10==1&&r%100!=11?0:r%10>=2&&(r%100<10||r%100>=20)?1:2},16:function(r){return r%10==1&&r%100!=11?0:r!==0?1:2},17:function(r){return r==1||r%10==1&&r%100!=11?0:1},18:function(r){return r==0?0:r==1?1:2},19:function(r){return r==1?0:r==0||r%100>1&&r%100<11?1:r%100>10&&r%100<20?2:3},20:function(r){return r==1?0:r==0||r%100>0&&r%100<20?1:2},21:function(r){return r%100==1?1:r%100==2?2:r%100==3||r%100==4?3:0},22:function(r){return r==1?0:r==2?1:(r<0||r>10)&&r%10==0?2:3}};const Le=["v1","v2","v3"],Oe=["v4"],te={zero:0,one:1,two:2,few:3,many:4,other:5};function we(){const r={};return xe.forEach(e=>{e.lngs.forEach(t=>{r[t]={numbers:e.nr,plurals:Se[e.fc]}})}),r}class Ne{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=N.create("pluralResolver"),(!this.options.compatibilityJSON||Oe.includes(this.options.compatibilityJSON))&&(typeof Intl>"u"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=we()}addRule(e,t){this.rules[e]=t}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(H(e==="dev"?"en":e),{type:t.ordinal?"ordinal":"cardinal"})}catch{return}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(e,t);return this.shouldUseIntlApi()?s&&s.resolvedOptions().pluralCategories.length>1:s&&s.numbers.length>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,s).map(i=>`${t}${i}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const s=this.getRule(e,t);return s?this.shouldUseIntlApi()?s.resolvedOptions().pluralCategories.sort((i,n)=>te[i]-te[n]).map(i=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${i}`):s.numbers.map(i=>this.getSuffix(e,i,t)):[]}getSuffix(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const i=this.getRule(e,s);return i?this.shouldUseIntlApi()?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${i.select(t)}`:this.getSuffixRetroCompatible(i,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){const s=e.noAbs?e.plurals(t):e.plurals(Math.abs(t));let i=e.numbers[s];this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1&&(i===2?i="plural":i===1&&(i=""));const n=()=>this.options.prepend&&i.toString()?this.options.prepend+i.toString():i.toString();return this.options.compatibilityJSON==="v1"?i===1?"":typeof i=="number"?`_plural_${i.toString()}`:n():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&e.numbers.length===2&&e.numbers[0]===1?n():this.options.prepend&&s.toString()?this.options.prepend+s.toString():s.toString()}shouldUseIntlApi(){return!Le.includes(this.options.compatibilityJSON)}}function se(r,e,t){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,n=ce(r,e,t);return!n&&i&&typeof t=="string"&&(n=W(r,t,s),n===void 0&&(n=W(e,t,s))),n}class Re{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=N.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(t=>t),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const t=e.interpolation;this.escape=t.escape!==void 0?t.escape:de,this.escapeValue=t.escapeValue!==void 0?t.escapeValue:!0,this.useRawValueToEscape=t.useRawValueToEscape!==void 0?t.useRawValueToEscape:!1,this.prefix=t.prefix?P(t.prefix):t.prefixEscaped||"{{",this.suffix=t.suffix?P(t.suffix):t.suffixEscaped||"}}",this.formatSeparator=t.formatSeparator?t.formatSeparator:t.formatSeparator||",",this.unescapePrefix=t.unescapeSuffix?"":t.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":t.unescapeSuffix||"",this.nestingPrefix=t.nestingPrefix?P(t.nestingPrefix):t.nestingPrefixEscaped||P("$t("),this.nestingSuffix=t.nestingSuffix?P(t.nestingSuffix):t.nestingSuffixEscaped||P(")"),this.nestingOptionsSeparator=t.nestingOptionsSeparator?t.nestingOptionsSeparator:t.nestingOptionsSeparator||",",this.maxReplaces=t.maxReplaces?t.maxReplaces:1e3,this.alwaysFormat=t.alwaysFormat!==void 0?t.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,s)=>t&&t.source===s?(t.lastIndex=0,t):new RegExp(s,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,s,i){let n,a,o;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(c){return c.replace(/\$/g,"$$$$")}const g=c=>{if(c.indexOf(this.formatSeparator)<0){const y=se(t,l,c,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(y,void 0,s,{...i,...t,interpolationkey:c}):y}const d=c.split(this.formatSeparator),m=d.shift().trim(),S=d.join(this.formatSeparator).trim();return this.format(se(t,l,m,this.options.keySeparator,this.options.ignoreJSONStructure),S,s,{...i,...t,interpolationkey:m})};this.resetRegExp();const h=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,u=i&&i.interpolation&&i.interpolation.skipOnVariables!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:c=>f(c)},{regex:this.regexp,safeValue:c=>this.escapeValue?f(this.escape(c)):f(c)}].forEach(c=>{for(o=0;n=c.regex.exec(e);){const d=n[1].trim();if(a=g(d),a===void 0)if(typeof h=="function"){const S=h(e,n,i);a=typeof S=="string"?S:""}else if(i&&Object.prototype.hasOwnProperty.call(i,d))a="";else if(u){a=n[0];continue}else this.logger.warn(`missed to pass in variable ${d} for interpolating ${e}`),a="";else typeof a!="string"&&!this.useRawValueToEscape&&(a=Z(a));const m=c.safeValue(a);if(e=e.replace(n[0],m),u?(c.regex.lastIndex+=a.length,c.regex.lastIndex-=n[0].length):c.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),e}nest(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,n,a;function o(l,f){const g=this.nestingOptionsSeparator;if(l.indexOf(g)<0)return l;const h=l.split(new RegExp(`${g}[ ]*{`));let u=`{${h[1]}`;l=h[0],u=this.interpolate(u,a);const p=u.match(/'/g),c=u.match(/"/g);(p&&p.length%2===0&&!c||c.length%2!==0)&&(u=u.replace(/'/g,'"'));try{a=JSON.parse(u),f&&(a={...f,...a})}catch(d){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,d),`${l}${g}${u}`}return delete a.defaultValue,l}for(;i=this.nestingRegexp.exec(e);){let l=[];a={...s},a=a.replace&&typeof a.replace!="string"?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let f=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){const g=i[1].split(this.formatSeparator).map(h=>h.trim());i[1]=g.shift(),l=g,f=!0}if(n=t(o.call(this,i[1].trim(),a),a),n&&i[0]===e&&typeof n!="string")return n;typeof n!="string"&&(n=Z(n)),n||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${e}`),n=""),f&&(n=l.reduce((g,h)=>this.format(g,h,s.lng,{...s,interpolationkey:i[1].trim()}),n.trim())),e=e.replace(i[0],n),this.regexp.lastIndex=0}return e}}function Pe(r){let e=r.toLowerCase().trim();const t={};if(r.indexOf("(")>-1){const s=r.split("(");e=s[0].toLowerCase().trim();const i=s[1].substring(0,s[1].length-1);e==="currency"&&i.indexOf(":")<0?t.currency||(t.currency=i.trim()):e==="relativetime"&&i.indexOf(":")<0?t.range||(t.range=i.trim()):i.split(";").forEach(a=>{if(!a)return;const[o,...l]=a.split(":"),f=l.join(":").trim().replace(/^'+|'+$/g,"");t[o.trim()]||(t[o.trim()]=f),f==="false"&&(t[o.trim()]=!1),f==="true"&&(t[o.trim()]=!0),isNaN(f)||(t[o.trim()]=parseInt(f,10))})}return{formatName:e,formatOptions:t}}function C(r){const e={};return function(s,i,n){const a=i+JSON.stringify(n);let o=e[a];return o||(o=r(H(i),n),e[a]=o),o(s)}}class Ce{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=N.create("formatter"),this.options=e,this.formats={number:C((t,s)=>{const i=new Intl.NumberFormat(t,{...s});return n=>i.format(n)}),currency:C((t,s)=>{const i=new Intl.NumberFormat(t,{...s,style:"currency"});return n=>i.format(n)}),datetime:C((t,s)=>{const i=new Intl.DateTimeFormat(t,{...s});return n=>i.format(n)}),relativetime:C((t,s)=>{const i=new Intl.RelativeTimeFormat(t,{...s});return n=>i.format(n,s.range||"day")}),list:C((t,s)=>{const i=new Intl.ListFormat(t,{...s});return n=>i.format(n)})},this.init(e)}init(e){const s=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=s.formatSeparator?s.formatSeparator:s.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=C(t)}format(e,t,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return t.split(this.formatSeparator).reduce((o,l)=>{const{formatName:f,formatOptions:g}=Pe(l);if(this.formats[f]){let h=o;try{const u=i&&i.formatParams&&i.formatParams[i.interpolationkey]||{},p=u.locale||u.lng||i.locale||i.lng||s;h=this.formats[f](o,p,{...g,...i,...u})}catch(u){this.logger.warn(u)}return h}else this.logger.warn(`there was no format function for ${f}`);return o},e)}}function $e(r,e){r.pending[e]!==void 0&&(delete r.pending[e],r.pendingCount--)}class ke extends J{constructor(e,t,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=i,this.logger=N.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(s,i.backend,i)}queueLoad(e,t,s,i){const n={},a={},o={},l={};return e.forEach(f=>{let g=!0;t.forEach(h=>{const u=`${f}|${h}`;!s.reload&&this.store.hasResourceBundle(f,h)?this.state[u]=2:this.state[u]<0||(this.state[u]===1?a[u]===void 0&&(a[u]=!0):(this.state[u]=1,g=!1,a[u]===void 0&&(a[u]=!0),n[u]===void 0&&(n[u]=!0),l[h]===void 0&&(l[h]=!0)))}),g||(o[f]=!0)}),(Object.keys(n).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(n),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(e,t,s){const i=e.split("|"),n=i[0],a=i[1];t&&this.emit("failedLoading",n,a,t),s&&this.store.addResourceBundle(n,a,s),this.state[e]=t?-1:2;const o={};this.queue.forEach(l=>{he(l.loaded,[n],a),$e(l,e),t&&l.errors.push(t),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(f=>{o[f]||(o[f]={});const g=l.loaded[f];g.length&&g.forEach(h=>{o[f][h]===void 0&&(o[f][h]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(e,t,s){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:s,tried:i,wait:n,callback:a});return}this.readingCalls++;const o=(f,g)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(f&&g&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,e,t,s,i+1,n*2,a)},n);return}a(f,g)},l=this.backend[s].bind(this.backend);if(l.length===2){try{const f=l(e,t);f&&typeof f.then=="function"?f.then(g=>o(null,g)).catch(o):o(null,f)}catch(f){o(f)}return}return l(e,t,o)}prepareLoading(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();typeof e=="string"&&(e=this.languageUtils.toResolveHierarchy(e)),typeof t=="string"&&(t=[t]);const n=this.queueLoad(e,t,s,i);if(!n.toLoad.length)return n.pending.length||i(),null;n.toLoad.forEach(a=>{this.loadOne(a)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=e.split("|"),i=s[0],n=s[1];this.read(i,n,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${t}loading namespace ${n} for language ${i} failed`,a),!a&&o&&this.logger.log(`${t}loaded namespace ${n} for language ${i}`,o),this.loaded(e,a,o)})}saveMissing(e,t,s,i,n){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t)){this.logger.warn(`did not save key "${s}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(s==null||s==="")){if(this.backend&&this.backend.create){const l={...a,isUpdate:n},f=this.backend.create.bind(this.backend);if(f.length<6)try{let g;f.length===5?g=f(e,t,s,i,l):g=f(e,t,s,i),g&&typeof g.then=="function"?g.then(h=>o(null,h)).catch(o):o(null,g)}catch(g){o(g)}else f(e,t,s,i,o,l)}!e||!e[0]||this.store.addResource(e[0],t,s,i)}}}function ie(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(e){let t={};if(typeof e[1]=="object"&&(t=e[1]),typeof e[1]=="string"&&(t.defaultValue=e[1]),typeof e[2]=="string"&&(t.tDescription=e[2]),typeof e[2]=="object"||typeof e[3]=="object"){const s=e[3]||e[2];Object.keys(s).forEach(i=>{t[i]=s[i]})}return t},interpolation:{escapeValue:!0,format:r=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function re(r){return typeof r.ns=="string"&&(r.ns=[r.ns]),typeof r.fallbackLng=="string"&&(r.fallbackLng=[r.fallbackLng]),typeof r.fallbackNS=="string"&&(r.fallbackNS=[r.fallbackNS]),r.supportedLngs&&r.supportedLngs.indexOf("cimode")<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),r}function K(){}function je(r){Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(t=>{typeof r[t]=="function"&&(r[t]=r[t].bind(r))})}class A extends J{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=re(e),this.services={},this.logger=N,this.modules={external:[]},je(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=arguments.length>1?arguments[1]:void 0;typeof t=="function"&&(s=t,t={}),!t.defaultNS&&t.defaultNS!==!1&&t.ns&&(typeof t.ns=="string"?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const i=ie();this.options={...i,...this.options,...re(t)},this.options.compatibilityAPI!=="v1"&&(this.options.interpolation={...i.interpolation,...this.options.interpolation}),t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);function n(g){return g?typeof g=="function"?new g:g:null}if(!this.options.isClone){this.modules.logger?N.init(n(this.modules.logger),this.options):N.init(null,this.options);let g;this.modules.formatter?g=this.modules.formatter:typeof Intl<"u"&&(g=Ce);const h=new ee(this.options);this.store=new q(this.options.resources,this.options);const u=this.services;u.logger=N,u.resourceStore=this.store,u.languageUtils=h,u.pluralResolver=new Ne(h,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),g&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(u.formatter=n(g),u.formatter.init(u,this.options),this.options.interpolation.format=u.formatter.format.bind(u.formatter)),u.interpolator=new Re(this.options),u.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},u.backendConnector=new ke(n(this.modules.backend),u.resourceStore,u,this.options),u.backendConnector.on("*",function(p){for(var c=arguments.length,d=new Array(c>1?c-1:0),m=1;m<c;m++)d[m-1]=arguments[m];e.emit(p,...d)}),this.modules.languageDetector&&(u.languageDetector=n(this.modules.languageDetector),u.languageDetector.init&&u.languageDetector.init(u,this.options.detection,this.options)),this.modules.i18nFormat&&(u.i18nFormat=n(this.modules.i18nFormat),u.i18nFormat.init&&u.i18nFormat.init(this)),this.translator=new z(this.services,this.options),this.translator.on("*",function(p){for(var c=arguments.length,d=new Array(c>1?c-1:0),m=1;m<c;m++)d[m-1]=arguments[m];e.emit(p,...d)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,s||(s=K),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const g=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);g.length>0&&g[0]!=="dev"&&(this.options.lng=g[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(g=>{this[g]=function(){return e.store[g](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(g=>{this[g]=function(){return e.store[g](...arguments),e}});const l=F(),f=()=>{const g=(h,u)=>{this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(u),s(h,u)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return g(null,this.t.bind(this));this.changeLanguage(this.options.lng,g)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),l}loadResources(e){let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:K;const i=typeof e=="string"?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&i.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const n=[],a=o=>{if(!o||o==="cimode")return;this.services.languageUtils.toResolveHierarchy(o).forEach(f=>{f!=="cimode"&&n.indexOf(f)<0&&n.push(f)})};i?a(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>a(l)),this.options.preload&&this.options.preload.forEach(o=>a(o)),this.services.backendConnector.load(n,this.options.ns,o=>{!o&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(o)})}else s(null)}reloadResources(e,t,s){const i=F();return e||(e=this.languages),t||(t=this.options.ns),s||(s=K),this.services.backendConnector.reload(e,t,n=>{i.resolve(),s(n)}),i}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&ae.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t<this.languages.length;t++){const s=this.languages[t];if(!(["cimode","dev"].indexOf(s)>-1)&&this.store.hasLanguageSomeTranslations(s)){this.resolvedLanguage=s;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const i=F();this.emit("languageChanging",e);const n=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,f)=>{f?(n(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,i.resolve(function(){return s.t(...arguments)}),t&&t(l,function(){return s.t(...arguments)})},o=l=>{!e&&!l&&this.services.languageDetector&&(l=[]);const f=typeof l=="string"?l:this.services.languageUtils.getBestMatchFromCodes(l);f&&(this.language||n(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(f)),this.loadResources(f,g=>{a(g,f)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(e),i}getFixedT(e,t,s){var i=this;const n=function(a,o){let l;if(typeof o!="object"){for(var f=arguments.length,g=new Array(f>2?f-2:0),h=2;h<f;h++)g[h-2]=arguments[h];l=i.options.overloadTranslationOptionHandler([a,o].concat(g))}else l={...o};l.lng=l.lng||n.lng,l.lngs=l.lngs||n.lngs,l.ns=l.ns||n.ns,l.keyPrefix=l.keyPrefix||s||n.keyPrefix;const u=i.options.keySeparator||".";let p;return l.keyPrefix&&Array.isArray(a)?p=a.map(c=>`${l.keyPrefix}${u}${c}`):p=l.keyPrefix?`${l.keyPrefix}${u}${a}`:a,i.t(p,l)};return typeof e=="string"?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=s,n}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const s=t.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,n=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const a=(o,l)=>{const f=this.services.backendConnector.state[`${o}|${l}`];return f===-1||f===2};if(t.precheck){const o=t.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(s,e)&&(!i||a(n,e)))}loadNamespaces(e,t){const s=F();return this.options.ns?(typeof e=="string"&&(e=[e]),e.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{s.resolve(),t&&t(i)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=F();typeof e=="string"&&(e=[e]);const i=this.options.preload||[],n=e.filter(a=>i.indexOf(a)<0);return n.length?(this.options.preload=i.concat(n),this.loadResources(a=>{s.resolve(),t&&t(a)}),s):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],s=this.services&&this.services.languageUtils||new ee(ie());return t.indexOf(s.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new A(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:K;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const i={...this.options,...e,isClone:!0},n=new A(i);return(e.debug!==void 0||e.prefix!==void 0)&&(n.logger=n.logger.clone(e)),["store","services","language"].forEach(o=>{n[o]=this[o]}),n.services={...this.services},n.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},s&&(n.store=new q(this.store.data,i),n.services.resourceStore=n.store),n.translator=new z(n.services,i),n.translator.on("*",function(o){for(var l=arguments.length,f=new Array(l>1?l-1:0),g=1;g<l;g++)f[g-1]=arguments[g];n.emit(o,...f)}),n.init(i,t),n.translator.options=i,n.translator.backendConnector.services.utils={hasLoadedNamespace:n.hasLoadedNamespace.bind(n)},n}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const b=A.createInstance();b.createInstance=A.createInstance;b.createInstance;b.dir;b.init;b.loadResources;b.reloadResources;b.use;b.changeLanguage;b.getFixedT;b.t;b.exists;b.setDefaultNamespace;b.hasLoadedNamespace;b.loadNamespaces;b.loadLanguages;module.exports=b;
|
|
2
2
|
//# sourceMappingURL=index.cjs110.js.map
|