@performant-software/core-data 2.2.18-beta.6 → 2.2.18-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs101.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs110.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs122.js.map +1 -1
- package/dist/index.cjs123.js +1 -1
- package/dist/index.cjs123.js.map +1 -1
- package/dist/index.cjs124.js +1 -1
- package/dist/index.cjs124.js.map +1 -1
- package/dist/index.cjs125.js +1 -1
- package/dist/index.cjs125.js.map +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs126.js.map +1 -1
- package/dist/index.cjs127.js +1 -1
- package/dist/index.cjs127.js.map +1 -1
- package/dist/index.cjs128.js +1 -1
- package/dist/index.cjs128.js.map +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs129.js.map +1 -1
- package/dist/index.cjs130.js +1 -1
- package/dist/index.cjs130.js.map +1 -1
- package/dist/index.cjs131.js +1 -1
- package/dist/index.cjs131.js.map +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs132.js.map +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs133.js.map +1 -1
- package/dist/index.cjs134.js +1 -1
- package/dist/index.cjs134.js.map +1 -1
- package/dist/index.cjs135.js +8 -1
- package/dist/index.cjs135.js.map +1 -1
- package/dist/index.cjs136.js +26 -1
- package/dist/index.cjs136.js.map +1 -1
- package/dist/index.cjs137.js +1 -1
- package/dist/index.cjs137.js.map +1 -1
- package/dist/index.cjs138.js +1 -1
- package/dist/index.cjs138.js.map +1 -1
- package/dist/index.cjs139.js +1 -1
- package/dist/index.cjs139.js.map +1 -1
- package/dist/index.cjs140.js +1 -1
- package/dist/index.cjs140.js.map +1 -1
- package/dist/index.cjs141.js +7 -1
- package/dist/index.cjs141.js.map +1 -1
- package/dist/index.cjs142.js +1 -1
- package/dist/index.cjs142.js.map +1 -1
- package/dist/index.cjs143.js +1 -1
- package/dist/index.cjs143.js.map +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs144.js.map +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs145.js.map +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs146.js.map +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs147.js.map +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs148.js.map +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs149.js.map +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs150.js.map +1 -1
- package/dist/index.cjs151.js +1 -1
- package/dist/index.cjs151.js.map +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs152.js.map +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs153.js.map +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs154.js.map +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs155.js.map +1 -1
- package/dist/index.cjs156.js +1 -8
- package/dist/index.cjs156.js.map +1 -1
- package/dist/index.cjs157.js +1 -26
- package/dist/index.cjs157.js.map +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs158.js.map +1 -1
- package/dist/index.cjs159.js +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 -7
- 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.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs170.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs172.js +1 -1
- package/dist/index.cjs173.js +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 +6 -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 +2 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +3 -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 +8 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +13 -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 +17 -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 -1
- 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 +1 -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 -6
- 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 -2
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -3
- 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 -8
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -13
- 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 -17
- 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.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.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 +1 -1
- package/dist/index.cjs262.js.map +1 -1
- package/dist/index.cjs263.js +1 -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 -1
- package/dist/index.cjs265.js.map +1 -1
- package/dist/index.cjs266.js +1 -1
- 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.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.cjs279.js +1 -1
- package/dist/index.cjs279.js.map +1 -1
- package/dist/index.cjs280.js +1 -1
- package/dist/index.cjs280.js.map +1 -1
- package/dist/index.cjs281.js +1 -1
- package/dist/index.cjs281.js.map +1 -1
- package/dist/index.cjs282.js +1 -1
- 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 +1 -1
- package/dist/index.cjs285.js.map +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs286.js.map +1 -1
- package/dist/index.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.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 -1
- package/dist/index.cjs294.js.map +1 -1
- package/dist/index.cjs295.js +1 -1
- package/dist/index.cjs295.js.map +1 -1
- package/dist/index.cjs296.js +1 -1
- package/dist/index.cjs296.js.map +1 -1
- package/dist/index.cjs297.js +1 -1
- package/dist/index.cjs297.js.map +1 -1
- package/dist/index.cjs298.js +1 -1
- package/dist/index.cjs298.js.map +1 -1
- package/dist/index.cjs299.js +1 -1
- 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 +13 -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 -13
- package/dist/index.cjs304.js.map +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs305.js.map +1 -1
- package/dist/index.cjs306.js +1 -1
- package/dist/index.cjs306.js.map +1 -1
- package/dist/index.cjs307.js +1 -1
- package/dist/index.cjs307.js.map +1 -1
- package/dist/index.cjs308.js +1 -1
- package/dist/index.cjs308.js.map +1 -1
- package/dist/index.cjs309.js +1 -1
- package/dist/index.cjs309.js.map +1 -1
- package/dist/index.cjs310.js +1 -1
- package/dist/index.cjs310.js.map +1 -1
- package/dist/index.cjs311.js +1 -1
- package/dist/index.cjs311.js.map +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs312.js.map +1 -1
- package/dist/index.cjs313.js +1 -1
- package/dist/index.cjs313.js.map +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs314.js.map +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs315.js.map +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs316.js.map +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs317.js.map +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs318.js.map +1 -1
- package/dist/index.cjs319.js +1 -1
- package/dist/index.cjs319.js.map +1 -1
- package/dist/index.cjs320.js +1 -1
- package/dist/index.cjs320.js.map +1 -1
- package/dist/index.cjs321.js +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.cjs330.js +1 -1
- 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.cjs350.js +1 -1
- package/dist/index.cjs350.js.map +1 -1
- package/dist/index.cjs351.js +1 -1
- package/dist/index.cjs351.js.map +1 -1
- package/dist/index.cjs352.js +1 -1
- package/dist/index.cjs352.js.map +1 -1
- package/dist/index.cjs353.js +1 -1
- package/dist/index.cjs353.js.map +1 -1
- package/dist/index.cjs354.js +1 -1
- package/dist/index.cjs354.js.map +1 -1
- package/dist/index.cjs355.js +1 -1
- package/dist/index.cjs355.js.map +1 -1
- package/dist/index.cjs356.js +1 -1
- package/dist/index.cjs356.js.map +1 -1
- package/dist/index.cjs357.js +1 -1
- package/dist/index.cjs357.js.map +1 -1
- package/dist/index.cjs358.js +1 -1
- package/dist/index.cjs358.js.map +1 -1
- package/dist/index.cjs359.js +1 -1
- package/dist/index.cjs359.js.map +1 -1
- package/dist/index.cjs360.js +1 -1
- package/dist/index.cjs360.js.map +1 -1
- package/dist/index.cjs361.js +1 -1
- package/dist/index.cjs361.js.map +1 -1
- package/dist/index.cjs362.js +1 -1
- package/dist/index.cjs362.js.map +1 -1
- package/dist/index.cjs363.js +1 -1
- package/dist/index.cjs363.js.map +1 -1
- package/dist/index.cjs364.js +1 -1
- package/dist/index.cjs364.js.map +1 -1
- package/dist/index.cjs365.js +1 -1
- package/dist/index.cjs365.js.map +1 -1
- package/dist/index.cjs366.js +1 -1
- package/dist/index.cjs366.js.map +1 -1
- package/dist/index.cjs367.js +1 -1
- package/dist/index.cjs367.js.map +1 -1
- package/dist/index.cjs368.js +1 -1
- package/dist/index.cjs368.js.map +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs404.js +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs412.js +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs425.js +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs433.js +1 -1
- package/dist/index.cjs434.js +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs437.js +1 -1
- package/dist/index.cjs439.js +1 -1
- package/dist/index.cjs440.js +1 -1
- package/dist/index.cjs444.js +1 -1
- package/dist/index.cjs448.js +1 -1
- package/dist/index.cjs451.js +1 -1
- package/dist/index.cjs452.js +1 -1
- package/dist/index.cjs453.js +1 -1
- package/dist/index.cjs455.js +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs462.js +1 -1
- package/dist/index.cjs464.js +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs491.js.map +1 -1
- package/dist/index.cjs492.js.map +1 -1
- package/dist/index.cjs494.js +2 -2
- package/dist/index.cjs494.js.map +1 -1
- package/dist/index.cjs499.js.map +1 -1
- package/dist/index.cjs500.js.map +1 -1
- package/dist/index.cjs501.js +2 -2
- package/dist/index.cjs501.js.map +1 -1
- package/dist/index.cjs502.js +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.cjs505.js +1 -1
- package/dist/index.cjs507.js +1 -1
- package/dist/index.cjs507.js.map +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.cjs513.js +1 -1
- package/dist/index.cjs513.js.map +1 -1
- package/dist/index.cjs514.js +1 -1
- package/dist/index.cjs514.js.map +1 -1
- package/dist/index.cjs515.js +1 -1
- package/dist/index.cjs515.js.map +1 -1
- package/dist/index.cjs516.js +1 -2
- package/dist/index.cjs516.js.map +1 -1
- package/dist/index.cjs517.js +1 -1
- package/dist/index.cjs517.js.map +1 -1
- package/dist/index.cjs518.js +1 -1
- package/dist/index.cjs518.js.map +1 -1
- package/dist/index.cjs519.js +1 -1
- package/dist/index.cjs519.js.map +1 -1
- package/dist/index.cjs520.js +1 -1
- package/dist/index.cjs520.js.map +1 -1
- package/dist/index.cjs521.js +1 -1
- package/dist/index.cjs521.js.map +1 -1
- package/dist/index.cjs522.js +1 -1
- package/dist/index.cjs522.js.map +1 -1
- package/dist/index.cjs523.js +1 -1
- package/dist/index.cjs523.js.map +1 -1
- package/dist/index.cjs524.js +1 -1
- package/dist/index.cjs524.js.map +1 -1
- package/dist/index.cjs525.js +1 -1
- package/dist/index.cjs525.js.map +1 -1
- package/dist/index.cjs526.js +1 -1
- package/dist/index.cjs526.js.map +1 -1
- package/dist/index.cjs527.js +1 -1
- package/dist/index.cjs527.js.map +1 -1
- package/dist/index.cjs528.js +1 -1
- package/dist/index.cjs528.js.map +1 -1
- package/dist/index.cjs529.js +1 -1
- package/dist/index.cjs529.js.map +1 -1
- package/dist/index.cjs530.js +1 -1
- package/dist/index.cjs530.js.map +1 -1
- package/dist/index.cjs531.js +1 -1
- package/dist/index.cjs531.js.map +1 -1
- package/dist/index.cjs532.js +1 -1
- package/dist/index.cjs532.js.map +1 -1
- package/dist/index.cjs533.js +1 -1
- package/dist/index.cjs533.js.map +1 -1
- package/dist/index.cjs534.js +1 -1
- package/dist/index.cjs534.js.map +1 -1
- package/dist/index.cjs535.js +1 -1
- package/dist/index.cjs535.js.map +1 -1
- package/dist/index.cjs536.js +1 -1
- package/dist/index.cjs536.js.map +1 -1
- package/dist/index.cjs537.js +1 -1
- package/dist/index.cjs537.js.map +1 -1
- package/dist/index.cjs538.js +1 -1
- package/dist/index.cjs538.js.map +1 -1
- package/dist/index.cjs539.js +1 -1
- package/dist/index.cjs539.js.map +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs540.js.map +1 -1
- package/dist/index.cjs541.js +1 -1
- package/dist/index.cjs541.js.map +1 -1
- package/dist/index.cjs542.js +1 -1
- package/dist/index.cjs542.js.map +1 -1
- package/dist/index.cjs543.js +1 -1
- package/dist/index.cjs543.js.map +1 -1
- package/dist/index.cjs544.js +1 -1
- package/dist/index.cjs544.js.map +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs546.js +2 -1
- package/dist/index.cjs546.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs549.js +1 -1
- package/dist/index.cjs549.js.map +1 -1
- package/dist/index.cjs550.js +1 -1
- package/dist/index.cjs550.js.map +1 -1
- package/dist/index.cjs551.js +2 -1
- package/dist/index.cjs551.js.map +1 -1
- package/dist/index.cjs552.js +1 -2
- package/dist/index.cjs552.js.map +1 -1
- package/dist/index.cjs553.js +1 -1
- package/dist/index.cjs560.js +1 -1
- package/dist/index.cjs565.js +19 -19
- package/dist/index.cjs565.js.map +1 -1
- package/dist/index.cjs566.js +1 -1
- package/dist/index.cjs567.js.map +1 -1
- package/dist/index.cjs568.js +1 -1
- package/dist/index.cjs568.js.map +1 -1
- package/dist/index.cjs57.js +1 -1
- package/dist/index.cjs573.js +19 -19
- package/dist/index.cjs573.js.map +1 -1
- package/dist/index.cjs574.js.map +1 -1
- package/dist/index.cjs575.js +1 -1
- package/dist/index.cjs575.js.map +1 -1
- package/dist/index.cjs576.js +1 -1
- package/dist/index.cjs576.js.map +1 -1
- package/dist/index.cjs577.js +1 -1
- package/dist/index.cjs577.js.map +1 -1
- package/dist/index.cjs578.js +1 -1
- package/dist/index.cjs578.js.map +1 -1
- package/dist/index.cjs581.js +1 -1
- package/dist/index.cjs582.js +1 -1
- package/dist/index.cjs582.js.map +1 -1
- package/dist/index.cjs583.js +1 -1
- package/dist/index.cjs584.js +1 -1
- package/dist/index.cjs584.js.map +1 -1
- package/dist/index.cjs585.js +1 -1
- package/dist/index.cjs586.js +1 -1
- package/dist/index.cjs586.js.map +1 -1
- package/dist/index.cjs587.js +1 -1
- package/dist/index.cjs587.js.map +1 -1
- package/dist/index.cjs588.js +1 -1
- package/dist/index.cjs588.js.map +1 -1
- package/dist/index.cjs589.js +1 -1
- package/dist/index.cjs589.js.map +1 -1
- package/dist/index.cjs591.js +7 -1
- package/dist/index.cjs591.js.map +1 -1
- package/dist/index.cjs592.js +1 -7
- package/dist/index.cjs592.js.map +1 -1
- package/dist/index.cjs593.js +1 -1
- package/dist/index.cjs593.js.map +1 -1
- package/dist/index.cjs594.js +1 -1
- package/dist/index.cjs594.js.map +1 -1
- package/dist/index.cjs595.js +1 -1
- package/dist/index.cjs595.js.map +1 -1
- package/dist/index.cjs596.js +1 -1
- package/dist/index.cjs596.js.map +1 -1
- package/dist/index.cjs597.js +1 -1
- package/dist/index.cjs597.js.map +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs607.js +1 -1
- package/dist/index.cjs607.js.map +1 -1
- package/dist/index.cjs608.js +1 -1
- package/dist/index.cjs608.js.map +1 -1
- package/dist/index.cjs609.js +1 -1
- package/dist/index.cjs609.js.map +1 -1
- package/dist/index.cjs610.js +1 -1
- package/dist/index.cjs611.js +1 -1
- package/dist/index.cjs611.js.map +1 -1
- package/dist/index.cjs612.js +1 -1
- package/dist/index.cjs612.js.map +1 -1
- package/dist/index.cjs614.js +1 -1
- package/dist/index.cjs614.js.map +1 -1
- package/dist/index.cjs615.js +1 -1
- package/dist/index.cjs616.js +1 -1
- package/dist/index.cjs617.js +1 -1
- package/dist/index.cjs618.js +1 -1
- package/dist/index.cjs620.js +1 -1
- package/dist/index.cjs621.js +1 -1
- package/dist/index.cjs622.js +1 -1
- package/dist/index.cjs623.js +1 -1
- package/dist/index.cjs623.js.map +1 -1
- package/dist/index.cjs624.js +1 -1
- package/dist/index.cjs634.js +1 -1
- package/dist/index.cjs636.js +1 -1
- package/dist/index.cjs636.js.map +1 -1
- package/dist/index.cjs642.js +1 -1
- package/dist/index.cjs642.js.map +1 -1
- package/dist/index.cjs646.js +1 -1
- package/dist/index.cjs647.js +1 -1
- package/dist/index.cjs651.js +1 -1
- package/dist/index.cjs651.js.map +1 -1
- package/dist/index.cjs652.js +1 -1
- package/dist/index.cjs652.js.map +1 -1
- package/dist/index.cjs653.js +1 -1
- package/dist/index.cjs653.js.map +1 -1
- package/dist/index.cjs654.js +1 -1
- package/dist/index.cjs654.js.map +1 -1
- package/dist/index.cjs656.js.map +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs673.js +1 -1
- package/dist/index.cjs678.js +1 -1
- package/dist/index.cjs679.js +1 -1
- package/dist/index.cjs679.js.map +1 -1
- package/dist/index.cjs680.js +1 -1
- package/dist/index.cjs680.js.map +1 -1
- package/dist/index.cjs681.js +1 -1
- package/dist/index.cjs681.js.map +1 -1
- package/dist/index.cjs682.js +1 -2
- package/dist/index.cjs682.js.map +1 -1
- package/dist/index.cjs683.js +2 -1
- package/dist/index.cjs683.js.map +1 -1
- package/dist/index.cjs684.js +1 -1
- package/dist/index.cjs684.js.map +1 -1
- package/dist/index.cjs685.js +1 -1
- package/dist/index.cjs685.js.map +1 -1
- package/dist/index.cjs71.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs78.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs80.js +1 -1
- package/dist/index.cjs81.js +1 -1
- package/dist/index.cjs82.js +1 -1
- package/dist/index.cjs83.js +1 -1
- package/dist/index.cjs84.js +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs86.js +1 -1
- package/dist/index.cjs89.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.es101.js +8 -8
- package/dist/index.es106.js +4 -4
- package/dist/index.es107.js +10 -10
- package/dist/index.es110.js +2 -2
- package/dist/index.es117.js +12 -12
- package/dist/index.es122.js +10 -3
- package/dist/index.es122.js.map +1 -1
- package/dist/index.es123.js +5 -5
- package/dist/index.es123.js.map +1 -1
- package/dist/index.es124.js +11 -9
- package/dist/index.es124.js.map +1 -1
- package/dist/index.es125.js +72 -39
- package/dist/index.es125.js.map +1 -1
- package/dist/index.es126.js +32 -27
- package/dist/index.es126.js.map +1 -1
- package/dist/index.es127.js +41 -7
- package/dist/index.es127.js.map +1 -1
- package/dist/index.es128.js +487 -5
- package/dist/index.es128.js.map +1 -1
- package/dist/index.es129.js +15 -24
- package/dist/index.es129.js.map +1 -1
- package/dist/index.es130.js +505 -29
- package/dist/index.es130.js.map +1 -1
- package/dist/index.es131.js +102 -44
- package/dist/index.es131.js.map +1 -1
- package/dist/index.es132.js +86 -6
- package/dist/index.es132.js.map +1 -1
- package/dist/index.es133.js +375 -12
- package/dist/index.es133.js.map +1 -1
- package/dist/index.es134.js +121 -51
- package/dist/index.es134.js.map +1 -1
- package/dist/index.es135.js +671 -118
- package/dist/index.es135.js.map +1 -1
- package/dist/index.es136.js +16848 -10
- package/dist/index.es136.js.map +1 -1
- package/dist/index.es137.js +149 -217
- package/dist/index.es137.js.map +1 -1
- package/dist/index.es138.js +7 -64
- package/dist/index.es138.js.map +1 -1
- package/dist/index.es139.js +187 -31
- package/dist/index.es139.js.map +1 -1
- package/dist/index.es140.js +804 -40
- package/dist/index.es140.js.map +1 -1
- package/dist/index.es141.js +10069 -28
- package/dist/index.es141.js.map +1 -1
- package/dist/index.es142.js +96 -28
- package/dist/index.es142.js.map +1 -1
- package/dist/index.es143.js +16 -10
- package/dist/index.es143.js.map +1 -1
- package/dist/index.es144.js +3 -6
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es145.js +6 -13
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es146.js +10 -84
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es147.js +51 -33
- package/dist/index.es147.js.map +1 -1
- package/dist/index.es148.js +28 -40
- package/dist/index.es148.js.map +1 -1
- package/dist/index.es149.js +7 -487
- package/dist/index.es149.js.map +1 -1
- package/dist/index.es150.js +5 -15
- package/dist/index.es150.js.map +1 -1
- package/dist/index.es151.js +23 -503
- package/dist/index.es151.js.map +1 -1
- package/dist/index.es152.js +28 -104
- package/dist/index.es152.js.map +1 -1
- package/dist/index.es153.js +43 -83
- package/dist/index.es153.js.map +1 -1
- package/dist/index.es154.js +6 -374
- package/dist/index.es154.js.map +1 -1
- package/dist/index.es155.js +10 -121
- package/dist/index.es155.js.map +1 -1
- package/dist/index.es156.js +47 -672
- package/dist/index.es156.js.map +1 -1
- package/dist/index.es157.js +113 -16837
- package/dist/index.es157.js.map +1 -1
- package/dist/index.es158.js +10 -150
- package/dist/index.es158.js.map +1 -1
- package/dist/index.es159.js +219 -7
- package/dist/index.es159.js.map +1 -1
- package/dist/index.es160.js +60 -185
- package/dist/index.es160.js.map +1 -1
- package/dist/index.es161.js +32 -809
- package/dist/index.es161.js.map +1 -1
- package/dist/index.es162.js +44 -10069
- package/dist/index.es162.js.map +1 -1
- package/dist/index.es163.js +29 -97
- package/dist/index.es163.js.map +1 -1
- package/dist/index.es164.js +30 -17
- package/dist/index.es164.js.map +1 -1
- package/dist/index.es168.js +1 -1
- package/dist/index.es169.js +1 -1
- package/dist/index.es170.js +2 -2
- package/dist/index.es171.js +1 -1
- package/dist/index.es172.js +1 -1
- package/dist/index.es173.js +1 -1
- package/dist/index.es179.js +12 -9
- package/dist/index.es179.js.map +1 -1
- package/dist/index.es180.js +51 -4
- package/dist/index.es180.js.map +1 -1
- package/dist/index.es181.js +56 -44
- package/dist/index.es181.js.map +1 -1
- package/dist/index.es182.js +6 -10
- package/dist/index.es182.js.map +1 -1
- package/dist/index.es183.js +132 -10
- package/dist/index.es183.js.map +1 -1
- package/dist/index.es184.js +18 -4
- package/dist/index.es184.js.map +1 -1
- package/dist/index.es185.js +176 -170
- package/dist/index.es185.js.map +1 -1
- package/dist/index.es186.js +214 -19
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +12 -25
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +72 -375
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +189 -509
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es190.js +10 -14
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +4 -51
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +27 -57
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +75 -9
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +6 -134
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +15 -16
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +59 -174
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +64 -213
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +71 -12
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +2 -79
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es200.js +2 -197
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +91 -10
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +86 -4
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +41 -6
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +65 -9
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +2 -53
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +1621 -112
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +33 -13
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +251 -129
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +34 -10
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es210.js +10 -218
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +4 -14
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +21 -64
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +6 -32
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +9 -43
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +50 -27
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +124 -9
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +13 -26
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +144 -73
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +11 -6
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es220.js +217 -15
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +14 -71
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +63 -67
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +32 -70
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +46 -2
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +30 -2
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +10 -91
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +10 -85
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +4 -42
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +45 -67
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es230.js +11 -2
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +10 -1632
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +4 -35
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +166 -252
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +22 -35
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +23 -9
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +381 -3
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +516 -20
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +4 -6
- package/dist/index.es238.js.map +1 -1
- package/dist/index.es239.js +10 -4
- package/dist/index.es239.js.map +1 -1
- package/dist/index.es240.js +11 -24
- package/dist/index.es240.js.map +1 -1
- package/dist/index.es241.js +6 -4
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +4 -10
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es243.js +24 -11
- package/dist/index.es243.js.map +1 -1
- package/dist/index.es244.js +14 -10
- package/dist/index.es244.js.map +1 -1
- package/dist/index.es245.js +17 -12
- package/dist/index.es245.js.map +1 -1
- package/dist/index.es246.js +23 -4
- package/dist/index.es246.js.map +1 -1
- package/dist/index.es247.js +11 -22
- package/dist/index.es247.js.map +1 -1
- package/dist/index.es248.js +11 -24
- package/dist/index.es248.js.map +1 -1
- package/dist/index.es249.js +4 -15
- package/dist/index.es249.js.map +1 -1
- package/dist/index.es250.js +22 -17
- package/dist/index.es250.js.map +1 -1
- package/dist/index.es251.js +24 -22
- package/dist/index.es251.js.map +1 -1
- package/dist/index.es254.js +273 -118
- package/dist/index.es254.js.map +1 -1
- package/dist/index.es255.js +14 -105
- package/dist/index.es255.js.map +1 -1
- package/dist/index.es256.js +19 -273
- package/dist/index.es256.js.map +1 -1
- package/dist/index.es257.js +4 -14
- package/dist/index.es257.js.map +1 -1
- package/dist/index.es258.js +3 -18
- package/dist/index.es258.js.map +1 -1
- package/dist/index.es259.js +2 -3
- package/dist/index.es259.js.map +1 -1
- package/dist/index.es260.js +4 -3
- package/dist/index.es260.js.map +1 -1
- package/dist/index.es261.js +1 -1
- package/dist/index.es261.js.map +1 -1
- package/dist/index.es262.js +3 -5
- package/dist/index.es262.js.map +1 -1
- package/dist/index.es263.js +3 -4
- package/dist/index.es263.js.map +1 -1
- package/dist/index.es264.js +2 -2
- package/dist/index.es264.js.map +1 -1
- package/dist/index.es265.js +2 -2
- package/dist/index.es265.js.map +1 -1
- package/dist/index.es266.js +3 -3
- package/dist/index.es266.js.map +1 -1
- package/dist/index.es267.js +3 -3
- package/dist/index.es267.js.map +1 -1
- package/dist/index.es268.js +2 -2
- package/dist/index.es268.js.map +1 -1
- package/dist/index.es269.js +10 -3
- package/dist/index.es269.js.map +1 -1
- package/dist/index.es270.js +4 -3
- package/dist/index.es270.js.map +1 -1
- package/dist/index.es271.js +5 -9
- package/dist/index.es271.js.map +1 -1
- package/dist/index.es272.js +6 -4
- package/dist/index.es272.js.map +1 -1
- package/dist/index.es273.js +9 -5
- package/dist/index.es273.js.map +1 -1
- package/dist/index.es274.js +11 -5
- package/dist/index.es274.js.map +1 -1
- package/dist/index.es275.js +12 -9
- package/dist/index.es275.js.map +1 -1
- package/dist/index.es276.js +85 -11
- package/dist/index.es276.js.map +1 -1
- package/dist/index.es277.js +3 -13
- package/dist/index.es277.js.map +1 -1
- package/dist/index.es278.js +14 -85
- package/dist/index.es278.js.map +1 -1
- package/dist/index.es279.js +12 -3
- package/dist/index.es279.js.map +1 -1
- package/dist/index.es280.js +6 -14
- package/dist/index.es280.js.map +1 -1
- package/dist/index.es281.js +6 -11
- package/dist/index.es281.js.map +1 -1
- package/dist/index.es282.js +5 -5
- package/dist/index.es282.js.map +1 -1
- package/dist/index.es283.js +7 -6
- package/dist/index.es283.js.map +1 -1
- package/dist/index.es284.js +3 -6
- package/dist/index.es284.js.map +1 -1
- package/dist/index.es285.js +4 -8
- package/dist/index.es285.js.map +1 -1
- package/dist/index.es286.js +2 -2
- package/dist/index.es286.js.map +1 -1
- package/dist/index.es287.js +7 -4
- package/dist/index.es287.js.map +1 -1
- package/dist/index.es288.js +7 -4
- package/dist/index.es288.js.map +1 -1
- package/dist/index.es289.js +3 -6
- package/dist/index.es289.js.map +1 -1
- package/dist/index.es290.js +7 -6
- package/dist/index.es290.js.map +1 -1
- package/dist/index.es291.js +12 -3
- package/dist/index.es291.js.map +1 -1
- package/dist/index.es292.js +10 -7
- package/dist/index.es292.js.map +1 -1
- package/dist/index.es293.js +3 -12
- package/dist/index.es293.js.map +1 -1
- package/dist/index.es294.js +5 -10
- package/dist/index.es294.js.map +1 -1
- package/dist/index.es295.js +2 -3
- package/dist/index.es295.js.map +1 -1
- package/dist/index.es296.js +6 -4
- package/dist/index.es296.js.map +1 -1
- package/dist/index.es297.js +7 -2
- package/dist/index.es297.js.map +1 -1
- package/dist/index.es298.js +6 -6
- package/dist/index.es298.js.map +1 -1
- package/dist/index.es299.js +8 -7
- package/dist/index.es299.js.map +1 -1
- package/dist/index.es300.js +3 -7
- package/dist/index.es300.js.map +1 -1
- package/dist/index.es301.js +4 -9
- package/dist/index.es301.js.map +1 -1
- package/dist/index.es302.js +57 -3
- package/dist/index.es302.js.map +1 -1
- package/dist/index.es303.js +14 -4
- package/dist/index.es303.js.map +1 -1
- package/dist/index.es304.js +5 -57
- package/dist/index.es304.js.map +1 -1
- package/dist/index.es305.js +5 -13
- package/dist/index.es305.js.map +1 -1
- package/dist/index.es306.js +8 -5
- package/dist/index.es306.js.map +1 -1
- package/dist/index.es307.js +16 -5
- package/dist/index.es307.js.map +1 -1
- package/dist/index.es308.js +13 -8
- package/dist/index.es308.js.map +1 -1
- package/dist/index.es309.js +4 -16
- package/dist/index.es309.js.map +1 -1
- package/dist/index.es310.js +5 -13
- package/dist/index.es310.js.map +1 -1
- package/dist/index.es311.js +8 -4
- package/dist/index.es311.js.map +1 -1
- package/dist/index.es312.js +4 -3
- package/dist/index.es312.js.map +1 -1
- package/dist/index.es313.js +4 -6
- package/dist/index.es313.js.map +1 -1
- package/dist/index.es314.js +8 -6
- package/dist/index.es314.js.map +1 -1
- package/dist/index.es315.js +3 -7
- package/dist/index.es315.js.map +1 -1
- package/dist/index.es316.js +3 -9
- package/dist/index.es316.js.map +1 -1
- package/dist/index.es317.js +11 -3
- package/dist/index.es317.js.map +1 -1
- package/dist/index.es318.js +5 -3
- package/dist/index.es318.js.map +1 -1
- package/dist/index.es319.js +4 -11
- package/dist/index.es319.js.map +1 -1
- package/dist/index.es320.js +9 -5
- package/dist/index.es320.js.map +1 -1
- package/dist/index.es321.js +6 -4
- package/dist/index.es321.js.map +1 -1
- package/dist/index.es322.js +16 -8
- package/dist/index.es322.js.map +1 -1
- package/dist/index.es323.js +11 -5
- package/dist/index.es323.js.map +1 -1
- package/dist/index.es324.js +3 -17
- package/dist/index.es324.js.map +1 -1
- package/dist/index.es325.js +3 -12
- package/dist/index.es325.js.map +1 -1
- package/dist/index.es326.js +9 -3
- package/dist/index.es326.js.map +1 -1
- package/dist/index.es327.js +7 -3
- package/dist/index.es327.js.map +1 -1
- package/dist/index.es328.js +12 -8
- package/dist/index.es328.js.map +1 -1
- package/dist/index.es329.js +12 -6
- package/dist/index.es329.js.map +1 -1
- package/dist/index.es330.js +6 -12
- package/dist/index.es330.js.map +1 -1
- package/dist/index.es331.js +5 -12
- package/dist/index.es331.js.map +1 -1
- package/dist/index.es332.js +5 -6
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +16 -5
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +16 -5
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +4 -16
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +15 -15
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +22 -4
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +6 -17
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +5 -23
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +5 -5
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +5 -5
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +12 -6
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +6 -5
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +4 -11
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +4 -5
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +3 -3
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +3 -3
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +4 -4
- 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.es350.js +12 -4
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +14 -4
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +8 -12
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +6 -14
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +6 -8
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +8 -6
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +2 -7
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +11 -9
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +16 -2
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +32 -11
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +11 -15
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +17 -28
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +43 -10
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +41 -20
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +271 -38
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +243 -41
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +38 -269
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +116 -242
- package/dist/index.es367.js.map +1 -1
- package/dist/index.es368.js +105 -46
- package/dist/index.es368.js.map +1 -1
- package/dist/index.es372.js +1 -1
- package/dist/index.es373.js +1 -1
- package/dist/index.es376.js +1 -1
- package/dist/index.es404.js +2 -2
- package/dist/index.es405.js +2 -2
- package/dist/index.es406.js +2 -2
- package/dist/index.es407.js +2 -2
- package/dist/index.es412.js +1 -1
- package/dist/index.es419.js +1 -1
- package/dist/index.es420.js +1 -1
- package/dist/index.es422.js +1 -1
- package/dist/index.es425.js +1 -1
- package/dist/index.es430.js +1 -1
- package/dist/index.es432.js +1 -1
- package/dist/index.es433.js +5 -5
- package/dist/index.es434.js +1 -1
- package/dist/index.es435.js +1 -1
- package/dist/index.es437.js +1 -1
- package/dist/index.es439.js +1 -1
- package/dist/index.es440.js +1 -1
- package/dist/index.es444.js +1 -1
- package/dist/index.es448.js +2 -2
- package/dist/index.es451.js +18 -18
- package/dist/index.es452.js +6 -6
- package/dist/index.es453.js +12 -12
- package/dist/index.es455.js +5 -5
- package/dist/index.es457.js +1 -1
- package/dist/index.es458.js +5 -5
- package/dist/index.es459.js +1 -1
- package/dist/index.es460.js +1 -1
- package/dist/index.es462.js +1 -1
- package/dist/index.es464.js +1 -1
- package/dist/index.es466.js +1 -1
- package/dist/index.es481.js +1 -1
- package/dist/index.es491.js.map +1 -1
- package/dist/index.es492.js.map +1 -1
- package/dist/index.es494.js +70 -67
- package/dist/index.es494.js.map +1 -1
- package/dist/index.es499.js.map +1 -1
- package/dist/index.es500.js.map +1 -1
- package/dist/index.es501.js +67 -70
- package/dist/index.es501.js.map +1 -1
- package/dist/index.es502.js +2 -2
- package/dist/index.es503.js +6 -3
- package/dist/index.es503.js.map +1 -1
- package/dist/index.es504.js +1 -1
- package/dist/index.es505.js +1 -1
- package/dist/index.es507.js +3 -6
- package/dist/index.es507.js.map +1 -1
- package/dist/index.es510.js +22 -2
- package/dist/index.es510.js.map +1 -1
- package/dist/index.es511.js +2 -22
- package/dist/index.es511.js.map +1 -1
- package/dist/index.es512.js +2 -2
- package/dist/index.es513.js +95 -11
- package/dist/index.es513.js.map +1 -1
- package/dist/index.es514.js +269 -28
- package/dist/index.es514.js.map +1 -1
- package/dist/index.es515.js +126 -18
- package/dist/index.es515.js.map +1 -1
- package/dist/index.es516.js +166 -10
- package/dist/index.es516.js.map +1 -1
- package/dist/index.es517.js +131 -2
- package/dist/index.es517.js.map +1 -1
- package/dist/index.es518.js +119 -87
- package/dist/index.es518.js.map +1 -1
- package/dist/index.es519.js +85 -227
- package/dist/index.es519.js.map +1 -1
- package/dist/index.es520.js +72 -73
- package/dist/index.es520.js.map +1 -1
- package/dist/index.es521.js +69 -120
- package/dist/index.es521.js.map +1 -1
- package/dist/index.es522.js +53 -67
- package/dist/index.es522.js.map +1 -1
- package/dist/index.es523.js +64 -75
- package/dist/index.es523.js.map +1 -1
- package/dist/index.es524.js +68 -84
- package/dist/index.es524.js.map +1 -1
- package/dist/index.es525.js +77 -80
- package/dist/index.es525.js.map +1 -1
- package/dist/index.es526.js +80 -66
- package/dist/index.es526.js.map +1 -1
- package/dist/index.es527.js +54 -43
- package/dist/index.es527.js.map +1 -1
- package/dist/index.es528.js +26 -110
- package/dist/index.es528.js.map +1 -1
- package/dist/index.es529.js +2 -117
- package/dist/index.es529.js.map +1 -1
- package/dist/index.es530.js +15 -119
- package/dist/index.es530.js.map +1 -1
- package/dist/index.es531.js +2 -131
- package/dist/index.es531.js.map +1 -1
- package/dist/index.es532.js +37 -122
- package/dist/index.es532.js.map +1 -1
- package/dist/index.es533.js +35 -25
- package/dist/index.es533.js.map +1 -1
- package/dist/index.es534.js +43 -2
- package/dist/index.es534.js.map +1 -1
- package/dist/index.es535.js +39 -17
- package/dist/index.es535.js.map +1 -1
- package/dist/index.es536.js +43 -2
- package/dist/index.es536.js.map +1 -1
- package/dist/index.es537.js +29 -29
- package/dist/index.es537.js.map +1 -1
- package/dist/index.es538.js +31 -31
- package/dist/index.es538.js.map +1 -1
- package/dist/index.es539.js +35 -35
- package/dist/index.es539.js.map +1 -1
- package/dist/index.es540.js +26 -25
- package/dist/index.es540.js.map +1 -1
- package/dist/index.es541.js +25 -27
- package/dist/index.es541.js.map +1 -1
- package/dist/index.es542.js +2 -43
- package/dist/index.es542.js.map +1 -1
- package/dist/index.es543.js +11 -42
- package/dist/index.es543.js.map +1 -1
- package/dist/index.es544.js +32 -41
- package/dist/index.es544.js.map +1 -1
- package/dist/index.es545.js +19 -42
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es546.js +11 -40
- package/dist/index.es546.js.map +1 -1
- package/dist/index.es547.js +2 -2
- package/dist/index.es548.js +2 -2
- package/dist/index.es549.js +14 -2
- package/dist/index.es549.js.map +1 -1
- package/dist/index.es550.js +9 -11
- package/dist/index.es550.js.map +1 -1
- package/dist/index.es551.js +10 -10
- package/dist/index.es551.js.map +1 -1
- package/dist/index.es552.js +2 -12
- package/dist/index.es552.js.map +1 -1
- package/dist/index.es553.js +2 -2
- package/dist/index.es560.js +1 -1
- package/dist/index.es565.js +47 -33
- package/dist/index.es565.js.map +1 -1
- package/dist/index.es566.js +1 -1
- package/dist/index.es567.js.map +1 -1
- package/dist/index.es568.js +41 -41
- package/dist/index.es568.js.map +1 -1
- package/dist/index.es57.js +2 -2
- package/dist/index.es573.js +33 -47
- package/dist/index.es573.js.map +1 -1
- package/dist/index.es574.js.map +1 -1
- package/dist/index.es575.js +41 -41
- package/dist/index.es575.js.map +1 -1
- package/dist/index.es576.js +118 -9
- package/dist/index.es576.js.map +1 -1
- package/dist/index.es577.js +8 -13
- package/dist/index.es577.js.map +1 -1
- package/dist/index.es578.js +12 -116
- package/dist/index.es578.js.map +1 -1
- package/dist/index.es581.js +2 -2
- package/dist/index.es582.js +151 -2
- package/dist/index.es582.js.map +1 -1
- package/dist/index.es583.js +2 -2
- package/dist/index.es584.js +5 -13
- package/dist/index.es584.js.map +1 -1
- package/dist/index.es585.js +2 -2
- package/dist/index.es586.js +148 -2
- package/dist/index.es586.js.map +1 -1
- package/dist/index.es587.js +2 -151
- package/dist/index.es587.js.map +1 -1
- package/dist/index.es588.js +138 -2
- package/dist/index.es588.js.map +1 -1
- package/dist/index.es589.js +2 -6
- package/dist/index.es589.js.map +1 -1
- package/dist/index.es591.js +225 -2
- package/dist/index.es591.js.map +1 -1
- package/dist/index.es592.js +88 -179
- package/dist/index.es592.js.map +1 -1
- package/dist/index.es593.js +44 -49
- package/dist/index.es593.js.map +1 -1
- package/dist/index.es594.js +73 -68
- package/dist/index.es594.js.map +1 -1
- package/dist/index.es595.js +47 -52
- package/dist/index.es595.js.map +1 -1
- package/dist/index.es596.js +49 -43
- package/dist/index.es596.js.map +1 -1
- package/dist/index.es597.js +2 -135
- package/dist/index.es597.js.map +1 -1
- package/dist/index.es598.js +2 -2
- package/dist/index.es599.js +2 -2
- package/dist/index.es60.js +1 -1
- package/dist/index.es602.js +2 -2
- package/dist/index.es603.js +2 -2
- package/dist/index.es604.js +2 -2
- package/dist/index.es605.js +2 -2
- package/dist/index.es606.js +2 -2
- package/dist/index.es607.js +2 -148
- package/dist/index.es607.js.map +1 -1
- package/dist/index.es608.js +131 -2
- package/dist/index.es608.js.map +1 -1
- package/dist/index.es609.js +128 -2
- package/dist/index.es609.js.map +1 -1
- package/dist/index.es610.js +2 -2
- package/dist/index.es611.js +2 -131
- package/dist/index.es611.js.map +1 -1
- package/dist/index.es612.js +2 -128
- package/dist/index.es612.js.map +1 -1
- package/dist/index.es613.js +2 -2
- package/dist/index.es614.js +2 -138
- package/dist/index.es614.js.map +1 -1
- package/dist/index.es615.js +2 -2
- package/dist/index.es616.js +2 -2
- package/dist/index.es617.js +2 -2
- package/dist/index.es618.js +2 -2
- package/dist/index.es619.js +2 -2
- package/dist/index.es620.js +2 -2
- package/dist/index.es621.js +2 -2
- package/dist/index.es622.js +2 -2
- package/dist/index.es623.js +14 -2
- package/dist/index.es623.js.map +1 -1
- package/dist/index.es624.js +2 -2
- package/dist/index.es634.js +2 -2
- package/dist/index.es636.js +30 -2
- package/dist/index.es636.js.map +1 -1
- package/dist/index.es637.js +2 -2
- package/dist/index.es638.js +2 -2
- package/dist/index.es639.js +2 -2
- package/dist/index.es640.js +2 -2
- package/dist/index.es641.js +2 -2
- package/dist/index.es642.js +2 -30
- package/dist/index.es642.js.map +1 -1
- package/dist/index.es646.js +2 -2
- package/dist/index.es647.js +1 -1
- package/dist/index.es651.js +21 -11
- package/dist/index.es651.js.map +1 -1
- package/dist/index.es652.js +11 -26
- package/dist/index.es652.js.map +1 -1
- package/dist/index.es653.js +27 -4
- package/dist/index.es653.js.map +1 -1
- package/dist/index.es654.js +4 -22
- package/dist/index.es654.js.map +1 -1
- package/dist/index.es656.js.map +1 -1
- package/dist/index.es66.js +1 -1
- package/dist/index.es673.js +1 -1
- package/dist/index.es678.js +6 -6
- package/dist/index.es679.js +13 -16
- package/dist/index.es679.js.map +1 -1
- package/dist/index.es680.js +18 -39
- package/dist/index.es680.js.map +1 -1
- package/dist/index.es681.js +39 -12
- package/dist/index.es681.js.map +1 -1
- package/dist/index.es682.js +12 -37
- package/dist/index.es682.js.map +1 -1
- package/dist/index.es683.js +36 -38
- package/dist/index.es683.js.map +1 -1
- package/dist/index.es684.js +39 -12
- package/dist/index.es684.js.map +1 -1
- package/dist/index.es685.js +8 -11
- package/dist/index.es685.js.map +1 -1
- package/dist/index.es71.js +1 -1
- package/dist/index.es72.js +1 -1
- package/dist/index.es73.js +1 -1
- package/dist/index.es74.js +1 -1
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +2 -2
- package/dist/index.es78.js +2 -2
- package/dist/index.es79.js +4 -4
- package/dist/index.es80.js +1 -1
- package/dist/index.es81.js +2 -2
- package/dist/index.es82.js +3 -3
- package/dist/index.es83.js +2 -2
- package/dist/index.es84.js +1 -1
- package/dist/index.es85.js +10 -10
- package/dist/index.es86.js +11 -11
- package/dist/index.es89.js +14 -14
- package/dist/index.es93.js +8 -8
- package/dist/index.es97.js +14 -14
- package/package.json +3 -3
package/dist/index.cjs221.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("react"),d=require("react-dom"),f=require("./index.cjs223.js"),p=require("./index.cjs249.js"),m=require("./index.cjs55.js");function P(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const c=P(l);var b="Portal",i=c.forwardRef((e,r)=>{var a;const{container:t,...o}=e,[u,s]=c.useState(!1);p.useLayoutEffect(()=>s(!0),[]);const n=t||u&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return n?d.createPortal(m.jsxRuntimeExports.jsx(f.Primitive.div,{...o,ref:r}),n):null});i.displayName=b;exports.Portal=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs221.js.map
|
package/dist/index.cjs221.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs221.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs221.js","sources":["../node_modules/@radix-ui/react-portal/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/portal/src/Portal.tsx\nimport * as React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { Primitive } from \"@radix-ui/react-primitive\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\nimport { jsx } from \"react/jsx-runtime\";\nvar PORTAL_NAME = \"Portal\";\nvar Portal = React.forwardRef((props, forwardedRef) => {\n const { container: containerProp, ...portalProps } = props;\n const [mounted, setMounted] = React.useState(false);\n useLayoutEffect(() => setMounted(true), []);\n const container = containerProp || mounted && globalThis?.document?.body;\n return container ? ReactDOM.createPortal(/* @__PURE__ */ jsx(Primitive.div, { ...portalProps, ref: forwardedRef }), container) : null;\n});\nPortal.displayName = PORTAL_NAME;\nvar Root = Portal;\nexport {\n Portal,\n Root\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["PORTAL_NAME","Portal","React","props","forwardedRef","containerProp","portalProps","mounted","setMounted","useLayoutEffect","container","_a","ReactDOM","jsx","Primitive"],"mappings":"sfAQA,IAAIA,EAAc,SACdC,EAASC,EAAM,WAAW,CAACC,EAAOC,IAAiB,OACrD,KAAM,CAAE,UAAWC,EAAe,GAAGC,CAAW,EAAKH,EAC/C,CAACI,EAASC,CAAU,EAAIN,EAAM,SAAS,EAAK,EAClDO,EAAAA,gBAAgB,IAAMD,EAAW,EAAI,EAAG,CAAE,CAAA,EAC1C,MAAME,EAAYL,GAAiBE,KAAWI,EAAA,mCAAY,WAAZ,YAAAA,EAAsB,MACpE,OAAOD,EAAYE,EAAS,aAA6BC,EAAG,kBAAA,IAACC,EAAS,UAAC,IAAK,CAAE,GAAGR,EAAa,IAAKF,CAAY,CAAE,EAAGM,CAAS,EAAI,IACnI,CAAC,EACDT,EAAO,YAAcD","x_google_ignoreList":[0]}
|
package/dist/index.cjs222.js
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
`||r==="\f"||r==="\r"}function v(r){var s,i=r.exec(a.substring(l));if(i)return s=i[0],l+=s.length,s}for(var L=a.length,j=/^[ \t\n\r\u000c]+/,I=/^[, \t\n\r\u000c]+/,N=/^[^ \t\n\r\u000c]+/,$=/[,]+$/,_=/^\d+$/,q=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,p,o,e,n,t,l=0,C=[];;){if(v(I),l>=L)return C;p=v(N),o=[],p.slice(-1)===","?(p=p.replace($,""),g()):D()}function D(){for(v(j),e="",n="in descriptor";;){if(t=a.charAt(l),n==="in descriptor")if(u(t))e&&(o.push(e),e="",n="after descriptor");else if(t===","){l+=1,e&&o.push(e),g();return}else if(t==="(")e=e+t,n="in parens";else if(t===""){e&&o.push(e),g();return}else e=e+t;else if(n==="in parens")if(t===")")e=e+t,n="in descriptor";else if(t===""){o.push(e),g();return}else e=e+t;else if(n==="after descriptor"&&!u(t))if(t===""){g();return}else n="in descriptor",l-=1;l+=1}}function g(){var r=!1,s,i,d,m,h={},c,S,f,x,b;for(m=0;m<o.length;m++)c=o[m],S=c[c.length-1],f=c.substring(0,c.length-1),x=parseInt(f,10),b=parseFloat(f),_.test(f)&&S==="w"?((s||i)&&(r=!0),x===0?r=!0:s=x):q.test(f)&&S==="x"?((s||i||d)&&(r=!0),b<0?r=!0:i=b):_.test(f)&&S==="h"?((d||i)&&(r=!0),x===0?r=!0:d=x):r=!0;r?console&&console.log&&console.log("Invalid srcset descriptor found in '"+a+"' at '"+c+"'."):(h.url=p,s&&(h.w=s),i&&(h.d=i),d&&(h.h=d),C.push(h))}}})})(E.__module);var O=E.__module.exports;exports.parseSrcsetExports=O;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const M=require("react"),R=require("react-dom"),P=require("./index.cjs214.js"),g=require("./index.cjs249.js");function O(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,r.get?r:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const c=O(M),E=O(R);function S(e,n){return c.useReducer((t,r)=>n[t][r]??t,e)}var A=e=>{const{present:n,children:t}=e,r=T(n),i=typeof t=="function"?t({present:r.isPresent}):c.Children.only(t),s=P.useComposedRefs(r.ref,v(i));return typeof t=="function"||r.isPresent?c.cloneElement(i,{ref:s}):null};A.displayName="Presence";function T(e){const[n,t]=c.useState(),r=c.useRef({}),i=c.useRef(e),s=c.useRef("none"),l=e?"mounted":"unmounted",[N,a]=S(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return c.useEffect(()=>{const o=d(r.current);s.current=N==="mounted"?o:"none"},[N]),g.useLayoutEffect(()=>{const o=r.current,u=i.current;if(u!==e){const p=s.current,m=d(o);e?a("MOUNT"):m==="none"||(o==null?void 0:o.display)==="none"?a("UNMOUNT"):a(u&&p!==m?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,a]),g.useLayoutEffect(()=>{if(n){const o=f=>{const m=d(r.current).includes(f.animationName);f.target===n&&m&&E.flushSync(()=>a("ANIMATION_END"))},u=f=>{f.target===n&&(s.current=d(r.current))};return n.addEventListener("animationstart",u),n.addEventListener("animationcancel",o),n.addEventListener("animationend",o),()=>{n.removeEventListener("animationstart",u),n.removeEventListener("animationcancel",o),n.removeEventListener("animationend",o)}}else a("ANIMATION_END")},[n,a]),{isPresent:["mounted","unmountSuspended"].includes(N),ref:c.useCallback(o=>{o&&(r.current=getComputedStyle(o)),t(o)},[])}}function d(e){return(e==null?void 0:e.animationName)||"none"}function v(e){var r,i;let n=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,t=n&&"isReactWarning"in n&&n.isReactWarning;return t?e.ref:(n=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,t=n&&"isReactWarning"in n&&n.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Presence=A;
|
|
3
2
|
//# sourceMappingURL=index.cjs222.js.map
|
package/dist/index.cjs222.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs222.js","sources":["../../../node_modules/parse-srcset/src/parse-srcset.js"],"sourcesContent":["/**\n * Srcset Parser\n *\n * By Alex Bell | MIT License\n *\n * JS Parser for the string value that appears in markup <img srcset=\"here\">\n *\n * @returns Array [{url: _, d: _, w: _, h:_}, ...]\n *\n * Based super duper closely on the reference algorithm at:\n * https://html.spec.whatwg.org/multipage/embedded-content.html#parse-a-srcset-attribute\n *\n * Most comments are copied in directly from the spec\n * (except for comments in parens).\n */\n\n(function (root, factory) {\n\tif (typeof define === 'function' && define.amd) {\n\t\t// AMD. Register as an anonymous module.\n\t\tdefine([], factory);\n\t} else if (typeof module === 'object' && module.exports) {\n\t\t// Node. Does not work with strict CommonJS, but\n\t\t// only CommonJS-like environments that support module.exports,\n\t\t// like Node.\n\t\tmodule.exports = factory();\n\t} else {\n\t\t// Browser globals (root is window)\n\t\troot.parseSrcset = factory();\n\t}\n}(this, function () {\n\n\t// 1. Let input be the value passed to this algorithm.\n\treturn function (input) {\n\n\t\t// UTILITY FUNCTIONS\n\n\t\t// Manual is faster than RegEx\n\t\t// http://bjorn.tipling.com/state-and-regular-expressions-in-javascript\n\t\t// http://jsperf.com/whitespace-character/5\n\t\tfunction isSpace(c) {\n\t\t\treturn (c === \"\\u0020\" || // space\n\t\t\tc === \"\\u0009\" || // horizontal tab\n\t\t\tc === \"\\u000A\" || // new line\n\t\t\tc === \"\\u000C\" || // form feed\n\t\t\tc === \"\\u000D\"); // carriage return\n\t\t}\n\n\t\tfunction collectCharacters(regEx) {\n\t\t\tvar chars,\n\t\t\t\tmatch = regEx.exec(input.substring(pos));\n\t\t\tif (match) {\n\t\t\t\tchars = match[ 0 ];\n\t\t\t\tpos += chars.length;\n\t\t\t\treturn chars;\n\t\t\t}\n\t\t}\n\n\t\tvar inputLength = input.length,\n\n\t\t\t// (Don't use \\s, to avoid matching non-breaking space)\n\t\t\tregexLeadingSpaces = /^[ \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingCommasOrSpaces = /^[, \\t\\n\\r\\u000c]+/,\n\t\t\tregexLeadingNotSpaces = /^[^ \\t\\n\\r\\u000c]+/,\n\t\t\tregexTrailingCommas = /[,]+$/,\n\t\t\tregexNonNegativeInteger = /^\\d+$/,\n\n\t\t\t// ( Positive or negative or unsigned integers or decimals, without or without exponents.\n\t\t\t// Must include at least one digit.\n\t\t\t// According to spec tests any decimal point must be followed by a digit.\n\t\t\t// No leading plus sign is allowed.)\n\t\t\t// https://html.spec.whatwg.org/multipage/infrastructure.html#valid-floating-point-number\n\t\t\tregexFloatingPoint = /^-?(?:[0-9]+|[0-9]*\\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,\n\n\t\t\turl,\n\t\t\tdescriptors,\n\t\t\tcurrentDescriptor,\n\t\t\tstate,\n\t\t\tc,\n\n\t\t\t// 2. Let position be a pointer into input, initially pointing at the start\n\t\t\t// of the string.\n\t\t\tpos = 0,\n\n\t\t\t// 3. Let candidates be an initially empty source set.\n\t\t\tcandidates = [];\n\n\t\t// 4. Splitting loop: Collect a sequence of characters that are space\n\t\t// characters or U+002C COMMA characters. If any U+002C COMMA characters\n\t\t// were collected, that is a parse error.\n\t\twhile (true) {\n\t\t\tcollectCharacters(regexLeadingCommasOrSpaces);\n\n\t\t\t// 5. If position is past the end of input, return candidates and abort these steps.\n\t\t\tif (pos >= inputLength) {\n\t\t\t\treturn candidates; // (we're done, this is the sole return path)\n\t\t\t}\n\n\t\t\t// 6. Collect a sequence of characters that are not space characters,\n\t\t\t// and let that be url.\n\t\t\turl = collectCharacters(regexLeadingNotSpaces);\n\n\t\t\t// 7. Let descriptors be a new empty list.\n\t\t\tdescriptors = [];\n\n\t\t\t// 8. If url ends with a U+002C COMMA character (,), follow these substeps:\n\t\t\t//\t\t(1). Remove all trailing U+002C COMMA characters from url. If this removed\n\t\t\t// more than one character, that is a parse error.\n\t\t\tif (url.slice(-1) === \",\") {\n\t\t\t\turl = url.replace(regexTrailingCommas, \"\");\n\t\t\t\t// (Jump ahead to step 9 to skip tokenization and just push the candidate).\n\t\t\t\tparseDescriptors();\n\n\t\t\t\t//\tOtherwise, follow these substeps:\n\t\t\t} else {\n\t\t\t\ttokenize();\n\t\t\t} // (close else of step 8)\n\n\t\t\t// 16. Return to the step labeled splitting loop.\n\t\t} // (Close of big while loop.)\n\n\t\t/**\n\t\t * Tokenizes descriptor properties prior to parsing\n\t\t * Returns undefined.\n\t\t */\n\t\tfunction tokenize() {\n\n\t\t\t// 8.1. Descriptor tokeniser: Skip whitespace\n\t\t\tcollectCharacters(regexLeadingSpaces);\n\n\t\t\t// 8.2. Let current descriptor be the empty string.\n\t\t\tcurrentDescriptor = \"\";\n\n\t\t\t// 8.3. Let state be in descriptor.\n\t\t\tstate = \"in descriptor\";\n\n\t\t\twhile (true) {\n\n\t\t\t\t// 8.4. Let c be the character at position.\n\t\t\t\tc = input.charAt(pos);\n\n\t\t\t\t// Do the following depending on the value of state.\n\t\t\t\t// For the purpose of this step, \"EOF\" is a special character representing\n\t\t\t\t// that position is past the end of input.\n\n\t\t\t\t// In descriptor\n\t\t\t\tif (state === \"in descriptor\") {\n\t\t\t\t\t// Do the following, depending on the value of c:\n\n\t\t\t\t\t// Space character\n\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t// descriptors and let current descriptor be the empty string.\n\t\t\t\t\t// Set state to after descriptor.\n\t\t\t\t\tif (isSpace(c)) {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t\tcurrentDescriptor = \"\";\n\t\t\t\t\t\t\tstate = \"after descriptor\";\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// U+002C COMMA (,)\n\t\t\t\t\t\t// Advance position to the next character in input. If current descriptor\n\t\t\t\t\t\t// is not empty, append current descriptor to descriptors. Jump to the step\n\t\t\t\t\t\t// labeled descriptor parser.\n\t\t\t\t\t} else if (c === \",\") {\n\t\t\t\t\t\tpos += 1;\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// U+0028 LEFT PARENTHESIS (()\n\t\t\t\t\t\t// Append c to current descriptor. Set state to in parens.\n\t\t\t\t\t} else if (c === \"\\u0028\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in parens\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// If current descriptor is not empty, append current descriptor to\n\t\t\t\t\t\t// descriptors. Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tif (currentDescriptor) {\n\t\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\t}\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\t\t\t\t\t// (end \"in descriptor\"\n\n\t\t\t\t\t// In parens\n\t\t\t\t} else if (state === \"in parens\") {\n\n\t\t\t\t\t// U+0029 RIGHT PARENTHESIS ())\n\t\t\t\t\t// Append c to current descriptor. Set state to in descriptor.\n\t\t\t\t\tif (c === \")\") {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t\tstate = \"in descriptor\";\n\n\t\t\t\t\t\t// EOF\n\t\t\t\t\t\t// Append current descriptor to descriptors. Jump to the step labeled\n\t\t\t\t\t\t// descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tdescriptors.push(currentDescriptor);\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Append c to current descriptor.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tcurrentDescriptor = currentDescriptor + c;\n\t\t\t\t\t}\n\n\t\t\t\t\t// After descriptor\n\t\t\t\t} else if (state === \"after descriptor\") {\n\n\t\t\t\t\t// Do the following, depending on the value of c:\n\t\t\t\t\t// Space character: Stay in this state.\n\t\t\t\t\tif (isSpace(c)) {\n\n\t\t\t\t\t\t// EOF: Jump to the step labeled descriptor parser.\n\t\t\t\t\t} else if (c === \"\") {\n\t\t\t\t\t\tparseDescriptors();\n\t\t\t\t\t\treturn;\n\n\t\t\t\t\t\t// Anything else\n\t\t\t\t\t\t// Set state to in descriptor. Set position to the previous character in input.\n\t\t\t\t\t} else {\n\t\t\t\t\t\tstate = \"in descriptor\";\n\t\t\t\t\t\tpos -= 1;\n\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Advance position to the next character in input.\n\t\t\t\tpos += 1;\n\n\t\t\t\t// Repeat this step.\n\t\t\t} // (close while true loop)\n\t\t}\n\n\t\t/**\n\t\t * Adds descriptor properties to a candidate, pushes to the candidates array\n\t\t * @return undefined\n\t\t */\n\t\t// Declared outside of the while loop so that it's only created once.\n\t\tfunction parseDescriptors() {\n\n\t\t\t// 9. Descriptor parser: Let error be no.\n\t\t\tvar pError = false,\n\n\t\t\t\t// 10. Let width be absent.\n\t\t\t\t// 11. Let density be absent.\n\t\t\t\t// 12. Let future-compat-h be absent. (We're implementing it now as h)\n\t\t\t\tw, d, h, i,\n\t\t\t\tcandidate = {},\n\t\t\t\tdesc, lastChar, value, intVal, floatVal;\n\n\t\t\t// 13. For each descriptor in descriptors, run the appropriate set of steps\n\t\t\t// from the following list:\n\t\t\tfor (i = 0 ; i < descriptors.length; i++) {\n\t\t\t\tdesc = descriptors[ i ];\n\n\t\t\t\tlastChar = desc[ desc.length - 1 ];\n\t\t\t\tvalue = desc.substring(0, desc.length - 1);\n\t\t\t\tintVal = parseInt(value, 10);\n\t\t\t\tfloatVal = parseFloat(value);\n\n\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t// a U+0077 LATIN SMALL LETTER W character\n\t\t\t\tif (regexNonNegativeInteger.test(value) && (lastChar === \"w\")) {\n\n\t\t\t\t\t// If width and density are not both absent, then let error be yes.\n\t\t\t\t\tif (w || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes.\n\t\t\t\t\t// Otherwise, let width be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {w = intVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid floating-point number followed by\n\t\t\t\t\t// a U+0078 LATIN SMALL LETTER X character\n\t\t\t\t} else if (regexFloatingPoint.test(value) && (lastChar === \"x\")) {\n\n\t\t\t\t\t// If width, density and future-compat-h are not all absent, then let error\n\t\t\t\t\t// be yes.\n\t\t\t\t\tif (w || d || h) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing floating-point number values to the descriptor.\n\t\t\t\t\t// If the result is less than zero, let error be yes. Otherwise, let density\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (floatVal < 0) {pError = true;} else {d = floatVal;}\n\n\t\t\t\t\t// If the descriptor consists of a valid non-negative integer followed by\n\t\t\t\t\t// a U+0068 LATIN SMALL LETTER H character\n\t\t\t\t} else if (regexNonNegativeInteger.test(value) && (lastChar === \"h\")) {\n\n\t\t\t\t\t// If height and density are not both absent, then let error be yes.\n\t\t\t\t\tif (h || d) {pError = true;}\n\n\t\t\t\t\t// Apply the rules for parsing non-negative integers to the descriptor.\n\t\t\t\t\t// If the result is zero, let error be yes. Otherwise, let future-compat-h\n\t\t\t\t\t// be the result.\n\t\t\t\t\tif (intVal === 0) {pError = true;} else {h = intVal;}\n\n\t\t\t\t\t// Anything else, Let error be yes.\n\t\t\t\t} else {pError = true;}\n\t\t\t} // (close step 13 for loop)\n\n\t\t\t// 15. If error is still no, then append a new image source to candidates whose\n\t\t\t// URL is url, associated with a width width if not absent and a pixel\n\t\t\t// density density if not absent. Otherwise, there is a parse error.\n\t\t\tif (!pError) {\n\t\t\t\tcandidate.url = url;\n\t\t\t\tif (w) { candidate.w = w;}\n\t\t\t\tif (d) { candidate.d = d;}\n\t\t\t\tif (h) { candidate.h = h;}\n\t\t\t\tcandidates.push(candidate);\n\t\t\t} else if (console && console.log) {\n\t\t\t\tconsole.log(\"Invalid srcset descriptor found in '\" +\n\t\t\t\t\tinput + \"' at '\" + desc + \"'.\");\n\t\t\t}\n\t\t} // (close parseDescriptors fn)\n\n\t}\n}));\n"],"names":["root","factory","module","this","input","isSpace","c","collectCharacters","regEx","chars","match","pos","inputLength","regexLeadingSpaces","regexLeadingCommasOrSpaces","regexLeadingNotSpaces","regexTrailingCommas","regexNonNegativeInteger","regexFloatingPoint","url","descriptors","currentDescriptor","state","candidates","parseDescriptors","tokenize","pError","w","d","h","i","candidate","desc","lastChar","value","intVal","floatVal"],"mappings":"kKAgBC,SAAUA,EAAMC,EAAS,CAIgBC,EAAO,QAI/CA,EAAA,QAAiBD,IAGjBD,EAAK,YAAcC,GAErB,GAAEE,iBAAM,UAAY,CAGnB,OAAO,SAAUC,EAAO,CAOvB,SAASC,EAAQC,EAAG,CACnB,OAAQA,IAAM,KACdA,IAAM,KACNA,IAAM;AAAA,GACNA,IAAM,MACNA,IAAM,IACP,CAEA,SAASC,EAAkBC,EAAO,CACjC,IAAIC,EACHC,EAAQF,EAAM,KAAKJ,EAAM,UAAUO,CAAG,CAAC,EACxC,GAAID,EACH,OAAAD,EAAQC,EAAO,CAAE,EACjBC,GAAOF,EAAM,OACNA,CAET,CAkCA,QAhCIG,EAAcR,EAAM,OAGvBS,EAAqB,oBACrBC,EAA6B,qBAC7BC,EAAwB,qBACxBC,EAAsB,QACtBC,EAA0B,QAO1BC,EAAqB,oDAErBC,EACAC,EACAC,EACAC,EACAhB,EAIAK,EAAM,EAGNY,EAAa,CAAA,IAKD,CAIZ,GAHAhB,EAAkBO,CAA0B,EAGxCH,GAAOC,EACH,OAAAW,EAKRJ,EAAMZ,EAAkBQ,CAAqB,EAG7CK,EAAc,CAAA,EAKVD,EAAI,MAAM,EAAE,IAAM,KACfA,EAAAA,EAAI,QAAQH,EAAqB,EAAE,EAExBQ,KAIRC,GAIX,CAMA,SAASA,GAAW,CAWnB,IARAlB,EAAkBM,CAAkB,EAGhBQ,EAAA,GAGZC,EAAA,kBAEK,CAUZ,GAPIhB,EAAAF,EAAM,OAAOO,CAAG,EAOhBW,IAAU,gBAOT,GAAAjB,EAAQC,CAAC,EACRe,IACHD,EAAY,KAAKC,CAAiB,EACdA,EAAA,GACZC,EAAA,4BAOChB,IAAM,IAAK,CACdK,GAAA,EACHU,GACHD,EAAY,KAAKC,CAAiB,EAElBG,IACjB,MAAA,SAIUlB,IAAM,IAChBe,EAAoBA,EAAoBf,EAChCgB,EAAA,oBAKEhB,IAAM,GAAI,CAChBe,GACHD,EAAY,KAAKC,CAAiB,EAElBG,IACjB,MAAA,MAKAH,EAAoBA,EAAoBf,UAK/BgB,IAAU,YAIpB,GAAIhB,IAAM,IACTe,EAAoBA,EAAoBf,EAChCgB,EAAA,wBAKEhB,IAAM,GAAI,CACpBc,EAAY,KAAKC,CAAiB,EACjBG,IACjB,MAAA,MAKAH,EAAoBA,EAAoBf,UAI/BgB,IAAU,oBAIhB,CAAAjB,EAAQC,CAAC,EAGb,GAAWA,IAAM,GAAI,CACHkB,IACjB,MAAA,MAKQF,EAAA,gBACDX,GAAA,EAMFA,GAAA,CAGR,CACD,CAOA,SAASa,GAAmB,CAG3B,IAAIE,EAAS,GAKZC,EAAGC,EAAGC,EAAGC,EACTC,EAAY,CAAA,EACZC,EAAMC,EAAUC,EAAOC,EAAQC,EAIhC,IAAKN,EAAI,EAAIA,EAAIV,EAAY,OAAQU,IACpCE,EAAOZ,EAAaU,CAAE,EAEXG,EAAAD,EAAMA,EAAK,OAAS,CAAE,EACjCE,EAAQF,EAAK,UAAU,EAAGA,EAAK,OAAS,CAAC,EAChCG,EAAA,SAASD,EAAO,EAAE,EAC3BE,EAAW,WAAWF,CAAK,EAIvBjB,EAAwB,KAAKiB,CAAK,GAAMD,IAAa,MAGpDN,GAAKC,KAAaF,EAAA,IAKlBS,IAAW,EAAaT,EAAA,GAAiBC,EAAAQ,GAInCjB,EAAmB,KAAKgB,CAAK,GAAMD,IAAa,MAItDN,GAAKC,GAAKC,KAAaH,EAAA,IAKvBU,EAAW,EAAaV,EAAA,GAAiBE,EAAAQ,GAInCnB,EAAwB,KAAKiB,CAAK,GAAMD,IAAa,MAG3DJ,GAAKD,KAAaF,EAAA,IAKlBS,IAAW,EAAaT,EAAA,GAAiBG,EAAAM,GAG7BT,EAAA,GAMbA,EAMM,SAAW,QAAQ,KAC7B,QAAQ,IAAI,uCACXtB,EAAQ,SAAW4B,EAAO,IAAI,GAP/BD,EAAU,IAAMZ,EACZQ,IAAKI,EAAU,EAAIJ,GACnBC,IAAKG,EAAU,EAAIH,GACnBC,IAAKE,EAAU,EAAIF,GACvBN,EAAW,KAAKQ,CAAS,EAK3B,CAAA,CAGF,CAAC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.cjs222.js","sources":["../node_modules/@radix-ui/react-presence/dist/index.mjs"],"sourcesContent":["\"use client\";\n\n// packages/react/presence/src/Presence.tsx\nimport * as React2 from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport { useLayoutEffect } from \"@radix-ui/react-use-layout-effect\";\n\n// packages/react/presence/src/useStateMachine.tsx\nimport * as React from \"react\";\nfunction useStateMachine(initialState, machine) {\n return React.useReducer((state, event) => {\n const nextState = machine[state][event];\n return nextState ?? state;\n }, initialState);\n}\n\n// packages/react/presence/src/Presence.tsx\nvar Presence = (props) => {\n const { present, children } = props;\n const presence = usePresence(present);\n const child = typeof children === \"function\" ? children({ present: presence.isPresent }) : React2.Children.only(children);\n const ref = useComposedRefs(presence.ref, getElementRef(child));\n const forceMount = typeof children === \"function\";\n return forceMount || presence.isPresent ? React2.cloneElement(child, { ref }) : null;\n};\nPresence.displayName = \"Presence\";\nfunction usePresence(present) {\n const [node, setNode] = React2.useState();\n const stylesRef = React2.useRef({});\n const prevPresentRef = React2.useRef(present);\n const prevAnimationNameRef = React2.useRef(\"none\");\n const initialState = present ? \"mounted\" : \"unmounted\";\n const [state, send] = useStateMachine(initialState, {\n mounted: {\n UNMOUNT: \"unmounted\",\n ANIMATION_OUT: \"unmountSuspended\"\n },\n unmountSuspended: {\n MOUNT: \"mounted\",\n ANIMATION_END: \"unmounted\"\n },\n unmounted: {\n MOUNT: \"mounted\"\n }\n });\n React2.useEffect(() => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n prevAnimationNameRef.current = state === \"mounted\" ? currentAnimationName : \"none\";\n }, [state]);\n useLayoutEffect(() => {\n const styles = stylesRef.current;\n const wasPresent = prevPresentRef.current;\n const hasPresentChanged = wasPresent !== present;\n if (hasPresentChanged) {\n const prevAnimationName = prevAnimationNameRef.current;\n const currentAnimationName = getAnimationName(styles);\n if (present) {\n send(\"MOUNT\");\n } else if (currentAnimationName === \"none\" || styles?.display === \"none\") {\n send(\"UNMOUNT\");\n } else {\n const isAnimating = prevAnimationName !== currentAnimationName;\n if (wasPresent && isAnimating) {\n send(\"ANIMATION_OUT\");\n } else {\n send(\"UNMOUNT\");\n }\n }\n prevPresentRef.current = present;\n }\n }, [present, send]);\n useLayoutEffect(() => {\n if (node) {\n const handleAnimationEnd = (event) => {\n const currentAnimationName = getAnimationName(stylesRef.current);\n const isCurrentAnimation = currentAnimationName.includes(event.animationName);\n if (event.target === node && isCurrentAnimation) {\n ReactDOM.flushSync(() => send(\"ANIMATION_END\"));\n }\n };\n const handleAnimationStart = (event) => {\n if (event.target === node) {\n prevAnimationNameRef.current = getAnimationName(stylesRef.current);\n }\n };\n node.addEventListener(\"animationstart\", handleAnimationStart);\n node.addEventListener(\"animationcancel\", handleAnimationEnd);\n node.addEventListener(\"animationend\", handleAnimationEnd);\n return () => {\n node.removeEventListener(\"animationstart\", handleAnimationStart);\n node.removeEventListener(\"animationcancel\", handleAnimationEnd);\n node.removeEventListener(\"animationend\", handleAnimationEnd);\n };\n } else {\n send(\"ANIMATION_END\");\n }\n }, [node, send]);\n return {\n isPresent: [\"mounted\", \"unmountSuspended\"].includes(state),\n ref: React2.useCallback((node2) => {\n if (node2) stylesRef.current = getComputedStyle(node2);\n setNode(node2);\n }, [])\n };\n}\nfunction getAnimationName(styles) {\n return styles?.animationName || \"none\";\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Presence\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useStateMachine","initialState","machine","React","state","event","Presence","props","present","children","presence","usePresence","child","React2","ref","useComposedRefs","getElementRef","node","setNode","stylesRef","prevPresentRef","prevAnimationNameRef","send","currentAnimationName","getAnimationName","useLayoutEffect","styles","wasPresent","prevAnimationName","handleAnimationEnd","isCurrentAnimation","ReactDOM","handleAnimationStart","node2","element","getter","_a","mayWarn","_b"],"mappings":"+dAUA,SAASA,EAAgBC,EAAcC,EAAS,CAC9C,OAAOC,EAAM,WAAW,CAACC,EAAOC,IACZH,EAAQE,CAAK,EAAEC,CAAK,GAClBD,EACnBH,CAAY,CACjB,CAGG,IAACK,EAAYC,GAAU,CACxB,KAAM,CAAE,QAAAC,EAAS,SAAAC,CAAU,EAAGF,EACxBG,EAAWC,EAAYH,CAAO,EAC9BI,EAAQ,OAAOH,GAAa,WAAaA,EAAS,CAAE,QAASC,EAAS,SAAS,CAAE,EAAIG,EAAO,SAAS,KAAKJ,CAAQ,EAClHK,EAAMC,EAAAA,gBAAgBL,EAAS,IAAKM,EAAcJ,CAAK,CAAC,EAE9D,OADmB,OAAOH,GAAa,YAClBC,EAAS,UAAYG,EAAO,aAAaD,EAAO,CAAE,IAAAE,EAAK,EAAI,IAClF,EACAR,EAAS,YAAc,WACvB,SAASK,EAAYH,EAAS,CAC5B,KAAM,CAACS,EAAMC,CAAO,EAAIL,EAAO,SAAQ,EACjCM,EAAYN,EAAO,OAAO,CAAE,CAAA,EAC5BO,EAAiBP,EAAO,OAAOL,CAAO,EACtCa,EAAuBR,EAAO,OAAO,MAAM,EAC3CZ,EAAeO,EAAU,UAAY,YACrC,CAACJ,EAAOkB,CAAI,EAAItB,EAAgBC,EAAc,CAClD,QAAS,CACP,QAAS,YACT,cAAe,kBAChB,EACD,iBAAkB,CAChB,MAAO,UACP,cAAe,WAChB,EACD,UAAW,CACT,MAAO,SACR,CACL,CAAG,EACDY,OAAAA,EAAO,UAAU,IAAM,CACrB,MAAMU,EAAuBC,EAAiBL,EAAU,OAAO,EAC/DE,EAAqB,QAAUjB,IAAU,UAAYmB,EAAuB,MAChF,EAAK,CAACnB,CAAK,CAAC,EACVqB,EAAAA,gBAAgB,IAAM,CACpB,MAAMC,EAASP,EAAU,QACnBQ,EAAaP,EAAe,QAElC,GAD0BO,IAAenB,EAClB,CACrB,MAAMoB,EAAoBP,EAAqB,QACzCE,EAAuBC,EAAiBE,CAAM,EAChDlB,EACFc,EAAK,OAAO,EACHC,IAAyB,SAAUG,GAAA,YAAAA,EAAQ,WAAY,OAChEJ,EAAK,SAAS,EAIZA,EADEK,GADgBC,IAAsBL,EAEnC,gBAEA,SAFe,EAKxBH,EAAe,QAAUZ,CAC1B,CACL,EAAK,CAACA,EAASc,CAAI,CAAC,EAClBG,EAAAA,gBAAgB,IAAM,CACpB,GAAIR,EAAM,CACR,MAAMY,EAAsBxB,GAAU,CAEpC,MAAMyB,EADuBN,EAAiBL,EAAU,OAAO,EACf,SAASd,EAAM,aAAa,EACxEA,EAAM,SAAWY,GAAQa,GAC3BC,EAAS,UAAU,IAAMT,EAAK,eAAe,CAAC,CAExD,EACYU,EAAwB3B,GAAU,CAClCA,EAAM,SAAWY,IACnBI,EAAqB,QAAUG,EAAiBL,EAAU,OAAO,EAE3E,EACM,OAAAF,EAAK,iBAAiB,iBAAkBe,CAAoB,EAC5Df,EAAK,iBAAiB,kBAAmBY,CAAkB,EAC3DZ,EAAK,iBAAiB,eAAgBY,CAAkB,EACjD,IAAM,CACXZ,EAAK,oBAAoB,iBAAkBe,CAAoB,EAC/Df,EAAK,oBAAoB,kBAAmBY,CAAkB,EAC9DZ,EAAK,oBAAoB,eAAgBY,CAAkB,CACnE,CACA,MACMP,EAAK,eAAe,CAE1B,EAAK,CAACL,EAAMK,CAAI,CAAC,EACR,CACL,UAAW,CAAC,UAAW,kBAAkB,EAAE,SAASlB,CAAK,EACzD,IAAKS,EAAO,YAAaoB,GAAU,CAC7BA,IAAOd,EAAU,QAAU,iBAAiBc,CAAK,GACrDf,EAAQe,CAAK,CACd,EAAE,EAAE,CACT,CACA,CACA,SAAST,EAAiBE,EAAQ,CAChC,OAAOA,GAAA,YAAAA,EAAQ,gBAAiB,MAClC,CACA,SAASV,EAAckB,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
package/dist/index.cjs223.js
CHANGED
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(o+`: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
3
|
-
https://www.w3ctech.com/topic/2226`));let n=w(...c);return n.postcssPlugin=o,n.postcssVersion=new i().version,n}let s;return Object.defineProperty(r,"postcss",{get(){return s||(s=r()),s}}),r.process=function(c,n,d){return e([r(d)]).process(c,n)},r};e.stringify=j;e.parse=V;e.fromJSON=G;e.list=k;e.comment=t=>new p(t);e.atRule=t=>new m(t);e.decl=t=>new u(t);e.rule=t=>new f(t);e.root=t=>new g(t);e.document=t=>new a(t);e.CssSyntaxError=z;e.Declaration=u;e.Container=W;e.Processor=i;e.Document=a;e.Comment=p;e.Warning=I;e.AtRule=m;e.Result=M;e.Input=T;e.Rule=f;e.Root=g;e.Node=B;L.registerPostcss(e);var F=e;e.default=e;exports.postcss_1=F;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),l=require("react-dom"),f=require("./index.cjs224.js"),d=require("./index.cjs55.js");function n(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const i in e)if(i!=="default"){const r=Object.getOwnPropertyDescriptor(e,i);Object.defineProperty(t,i,r.get?r:{enumerable:!0,get:()=>e[i]})}}return t.default=e,Object.freeze(t)}const p=n(u),m=n(l);var v=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],b=v.reduce((e,t)=>{const i=p.forwardRef((r,o)=>{const{asChild:c,...s}=r,a=c?f.Slot:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),d.jsxRuntimeExports.jsx(a,{...s,ref:o})});return i.displayName=`Primitive.${t}`,{...e,[t]:i}},{});function y(e,t){e&&m.flushSync(()=>e.dispatchEvent(t))}exports.Primitive=b;exports.dispatchDiscreteCustomEvent=y;
|
|
4
2
|
//# sourceMappingURL=index.cjs223.js.map
|
package/dist/index.cjs223.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs223.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs223.js","sources":["../node_modules/@radix-ui/react-primitive/dist/index.mjs"],"sourcesContent":["// packages/react/primitive/src/Primitive.tsx\nimport * as React from \"react\";\nimport * as ReactDOM from \"react-dom\";\nimport { Slot } from \"@radix-ui/react-slot\";\nimport { jsx } from \"react/jsx-runtime\";\nvar NODES = [\n \"a\",\n \"button\",\n \"div\",\n \"form\",\n \"h2\",\n \"h3\",\n \"img\",\n \"input\",\n \"label\",\n \"li\",\n \"nav\",\n \"ol\",\n \"p\",\n \"span\",\n \"svg\",\n \"ul\"\n];\nvar Primitive = NODES.reduce((primitive, node) => {\n const Node = React.forwardRef((props, forwardedRef) => {\n const { asChild, ...primitiveProps } = props;\n const Comp = asChild ? Slot : node;\n if (typeof window !== \"undefined\") {\n window[Symbol.for(\"radix-ui\")] = true;\n }\n return /* @__PURE__ */ jsx(Comp, { ...primitiveProps, ref: forwardedRef });\n });\n Node.displayName = `Primitive.${node}`;\n return { ...primitive, [node]: Node };\n}, {});\nfunction dispatchDiscreteCustomEvent(target, event) {\n if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));\n}\nvar Root = Primitive;\nexport {\n Primitive,\n Root,\n dispatchDiscreteCustomEvent\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["NODES","Primitive","primitive","node","Node","React","props","forwardedRef","asChild","primitiveProps","Comp","Slot","jsx","dispatchDiscreteCustomEvent","target","event","ReactDOM"],"mappings":"8dAKA,IAAIA,EAAQ,CACV,IACA,SACA,MACA,OACA,KACA,KACA,MACA,QACA,QACA,KACA,MACA,KACA,IACA,OACA,MACA,IACF,EACIC,EAAYD,EAAM,OAAO,CAACE,EAAWC,IAAS,CAChD,MAAMC,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACrD,KAAM,CAAE,QAAAC,EAAS,GAAGC,CAAc,EAAKH,EACjCI,EAAOF,EAAUG,EAAI,KAAGR,EAC9B,OAAI,OAAO,OAAW,MACpB,OAAO,OAAO,IAAI,UAAU,CAAC,EAAI,IAEZS,EAAAA,kBAAAA,IAAIF,EAAM,CAAE,GAAGD,EAAgB,IAAKF,CAAY,CAAE,CAC7E,CAAG,EACD,OAAAH,EAAK,YAAc,aAAaD,CAAI,GAC7B,CAAE,GAAGD,EAAW,CAACC,CAAI,EAAGC,CAAI,CACrC,EAAG,EAAE,EACL,SAASS,EAA4BC,EAAQC,EAAO,CAC9CD,GAAQE,EAAS,UAAU,IAAMF,EAAO,cAAcC,CAAK,CAAC,CAClE","x_google_ignoreList":[0]}
|
package/dist/index.cjs224.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var e={};
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("./index.cjs214.js"),a=require("./index.cjs55.js");function j(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const l=j(m);var p=l.forwardRef((e,r)=>{const{children:t,...n}=e,o=l.Children.toArray(t),i=o.find(y);if(i){const s=i.props.children,c=o.map(f=>f===i?l.Children.count(s)>1?l.Children.only(null):l.isValidElement(s)?s.props.children:null:f);return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:l.isValidElement(s)?l.cloneElement(s,void 0,c):null})}return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:t})});p.displayName="Slot";var u=l.forwardRef((e,r)=>{const{children:t,...n}=e;if(l.isValidElement(t)){const o=R(t);return l.cloneElement(t,{...b(n,t.props),ref:r?g.composeRefs(r,o):o})}return l.Children.count(t)>1?l.Children.only(null):null});u.displayName="SlotClone";var d=({children:e})=>a.jsxRuntimeExports.jsx(a.jsxRuntimeExports.Fragment,{children:e});function y(e){return l.isValidElement(e)&&e.type===d}function b(e,r){const t={...r};for(const n in r){const o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...c)=>{i(...c),o(...c)}:o&&(t[n]=o):n==="style"?t[n]={...o,...i}:n==="className"&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}function R(e){var n,o;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Slot=p;exports.Slottable=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs224.js.map
|
package/dist/index.cjs224.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs224.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs224.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","mergeProps","composeRefs","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"gcAIG,IAACA,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,IAAI,CAAE,CACnL,CACD,OAAuBE,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAAC,CAAQ,CAAE,CACrF,CAAC,EACDJ,EAAK,YAAc,OACnB,IAAIa,EAAYZ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACxD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EACnC,GAAID,EAAM,eAAeG,CAAQ,EAAG,CAClC,MAAMU,EAAcC,EAAcX,CAAQ,EAC1C,OAAOH,EAAM,aAAaG,EAAU,CAClC,GAAGY,EAAWX,EAAWD,EAAS,KAAK,EAEvC,IAAKD,EAAec,EAAAA,YAAYd,EAAcW,CAAW,EAAIA,CACnE,CAAK,CACF,CACD,OAAOb,EAAM,SAAS,MAAMG,CAAQ,EAAI,EAAIH,EAAM,SAAS,KAAK,IAAI,EAAI,IAC1E,CAAC,EACDY,EAAU,YAAc,YACrB,IAACK,EAAY,CAAC,CAAE,SAAAd,KACMQ,wBAAIO,EAAAA,kBAAAA,SAAU,CAAE,SAAAf,CAAU,CAAA,EAEnD,SAASI,EAAYG,EAAO,CAC1B,OAAOV,EAAM,eAAeU,CAAK,GAAKA,EAAM,OAASO,CACvD,CACA,SAASF,EAAWX,EAAWe,EAAY,CACzC,MAAMC,EAAgB,CAAE,GAAGD,GAC3B,UAAWE,KAAYF,EAAY,CACjC,MAAMG,EAAgBlB,EAAUiB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrCD,EAAe,GAAGC,CAAI,EACtBF,EAAc,GAAGE,CAAI,CAC/B,EACiBF,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAc,EACtDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAErF,CACD,MAAO,CAAE,GAAGnB,EAAW,GAAGgB,EAC5B,CACA,SAASN,EAAcW,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
package/dist/index.cjs225.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const b=require("react"),f=require("./index.cjs247.js");function S(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const s=S(b);function g({prop:e,defaultProp:o,onChange:t=()=>{}}){const[n,c]=v({defaultProp:o,onChange:t}),l=e!==void 0,i=l?e:n,u=f.useCallbackRef(t),d=s.useCallback(r=>{if(l){const a=typeof r=="function"?r(e):r;a!==e&&u(a)}else c(r)},[l,e,c,u]);return[i,d]}function v({defaultProp:e,onChange:o}){const t=s.useState(e),[n]=t,c=s.useRef(n),l=f.useCallbackRef(o);return s.useEffect(()=>{c.current!==n&&(l(n),c.current=n)},[n,c,l]),t}exports.useControllableState=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs225.js.map
|
package/dist/index.cjs225.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs225.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs225.js","sources":["../node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs"],"sourcesContent":["// packages/react/use-controllable-state/src/useControllableState.tsx\nimport * as React from \"react\";\nimport { useCallbackRef } from \"@radix-ui/react-use-callback-ref\";\nfunction useControllableState({\n prop,\n defaultProp,\n onChange = () => {\n }\n}) {\n const [uncontrolledProp, setUncontrolledProp] = useUncontrolledState({ defaultProp, onChange });\n const isControlled = prop !== void 0;\n const value = isControlled ? prop : uncontrolledProp;\n const handleChange = useCallbackRef(onChange);\n const setValue = React.useCallback(\n (nextValue) => {\n if (isControlled) {\n const setter = nextValue;\n const value2 = typeof nextValue === \"function\" ? setter(prop) : nextValue;\n if (value2 !== prop) handleChange(value2);\n } else {\n setUncontrolledProp(nextValue);\n }\n },\n [isControlled, prop, setUncontrolledProp, handleChange]\n );\n return [value, setValue];\n}\nfunction useUncontrolledState({\n defaultProp,\n onChange\n}) {\n const uncontrolledState = React.useState(defaultProp);\n const [value] = uncontrolledState;\n const prevValueRef = React.useRef(value);\n const handleChange = useCallbackRef(onChange);\n React.useEffect(() => {\n if (prevValueRef.current !== value) {\n handleChange(value);\n prevValueRef.current = value;\n }\n }, [value, prevValueRef, handleChange]);\n return uncontrolledState;\n}\nexport {\n useControllableState\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useControllableState","prop","defaultProp","onChange","uncontrolledProp","setUncontrolledProp","useUncontrolledState","isControlled","value","handleChange","useCallbackRef","setValue","React","nextValue","value2","uncontrolledState","prevValueRef"],"mappings":"kaAGA,SAASA,EAAqB,CAC5B,KAAAC,EACA,YAAAC,EACA,SAAAC,EAAW,IAAM,CAChB,CACH,EAAG,CACD,KAAM,CAACC,EAAkBC,CAAmB,EAAIC,EAAqB,CAAE,YAAAJ,EAAa,SAAAC,CAAQ,CAAE,EACxFI,EAAeN,IAAS,OACxBO,EAAQD,EAAeN,EAAOG,EAC9BK,EAAeC,iBAAeP,CAAQ,EACtCQ,EAAWC,EAAM,YACpBC,GAAc,CACb,GAAIN,EAAc,CAEhB,MAAMO,EAAS,OAAOD,GAAc,WADrBA,EACyCZ,CAAI,EAAIY,EAC5DC,IAAWb,GAAMQ,EAAaK,CAAM,CAChD,MACQT,EAAoBQ,CAAS,CAEhC,EACD,CAACN,EAAcN,EAAMI,EAAqBI,CAAY,CAC1D,EACE,MAAO,CAACD,EAAOG,CAAQ,CACzB,CACA,SAASL,EAAqB,CAC5B,YAAAJ,EACA,SAAAC,CACF,EAAG,CACD,MAAMY,EAAoBH,EAAM,SAASV,CAAW,EAC9C,CAACM,CAAK,EAAIO,EACVC,EAAeJ,EAAM,OAAOJ,CAAK,EACjCC,EAAeC,iBAAeP,CAAQ,EAC5CS,OAAAA,EAAM,UAAU,IAAM,CAChBI,EAAa,UAAYR,IAC3BC,EAAaD,CAAK,EAClBQ,EAAa,QAAUR,EAE1B,EAAE,CAACA,EAAOQ,EAAcP,CAAY,CAAC,EAC/BM,CACT","x_google_ignoreList":[0]}
|
package/dist/index.cjs226.js
CHANGED
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
`),t=t.replace(/\r/g,`
|
|
3
|
-
`);const s=t.split(`
|
|
4
|
-
|
|
5
|
-
`),a=s.shift();if(!a.startsWith("WEBVTT"))throw new i('Must start with "WEBVTT"');const l=a.split(`
|
|
6
|
-
`),u=l[0].replace("WEBVTT","");if(u.length>0&&u[0]!==" "&&u[0]!==" ")throw new i("Header comment must start with space or tab");if(s.length===0&&l.length===1)return{valid:!0,strict:o,cues:[],errors:[]};if(!r&&l.length>1&&l[1]!=="")throw new i("Missing blank line after signature");const{cues:n,errors:c}=b(s,o);if(o&&c.length>0)throw c[0];const f=r?w(l):null,m={valid:c.length===0,strict:o,cues:n,errors:c};return r&&(m.meta=f),m}function w(t){const e={};return t.slice(1).forEach(r=>{const o=r.indexOf(":"),s=r.slice(0,o).trim(),a=r.slice(o+1).trim();e[s]=a}),Object.keys(e).length>0?e:null}function b(t,e){const r=[];return{cues:t.map((s,a)=>{try{return E(s,a,e)}catch(l){return r.push(l),null}}).filter(Boolean),errors:r}}function E(t,e,r){let o="",s=0,a=.01,l="",u="";const n=t.split(`
|
|
7
|
-
`).filter(Boolean);if(n.length>0&&n[0].trim().startsWith("NOTE"))return null;if(n.length===1&&!n[0].includes("-->"))throw new i(`Cue identifier cannot be standalone (cue #${e})`);if(n.length>1&&!(n[0].includes("-->")||n[1].includes("-->"))){const f=`Cue identifier needs to be followed by timestamp (cue #${e})`;throw new i(f)}n.length>1&&n[1].includes("-->")&&(o=n.shift());const c=typeof n[0]=="string"&&n[0].split(" --> ");if(c.length!==2||!p(c[0])||!p(c[1]))throw new i(`Invalid cue timestamp (cue #${e})`);if(s=d(c[0]),a=d(c[1]),r){if(s>a)throw new i(`Start timestamp greater than end (cue #${e})`);if(a<=s)throw new i(`End must be greater than start (cue #${e})`)}if(!r&&a<s)throw new i(`End must be greater or equal to start when not strict (cue #${e})`);return u=c[1].replace(h,"").trim(),n.shift(),l=n.join(`
|
|
8
|
-
`),l?{identifier:o,start:s,end:a,text:l,styles:u}:!1}function p(t){return h.test(t)}function d(t){const e=t.match(h);let r=parseFloat(e[1]||0)*60*60;return r+=parseFloat(e[2])*60,r+=parseFloat(e[3]),r}var T={ParserError:i,parse:g};exports.parser=T;
|
|
1
|
+
"use strict";const a=require("./index.cjs403.js"),l=require("react"),s=require("./index.cjs404.js"),i=require("./index.cjs405.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const c=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,c.get?c:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const o=u(l);var n=o.forwardRef(function(e,t){return o.createElement(s.RemoveScroll,a.__assign({},e,{ref:t,sideCar:i}))});n.classNames=s.RemoveScroll.classNames;const f=n;module.exports=f;
|
|
9
2
|
//# sourceMappingURL=index.cjs226.js.map
|
package/dist/index.cjs226.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs226.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.cjs226.js","sources":["../node_modules/react-remove-scroll/dist/es2015/Combination.js"],"sourcesContent":["import { __assign } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScroll } from './UI';\nimport SideCar from './sidecar';\nvar ReactRemoveScroll = React.forwardRef(function (props, ref) { return (React.createElement(RemoveScroll, __assign({}, props, { ref: ref, sideCar: SideCar }))); });\nReactRemoveScroll.classNames = RemoveScroll.classNames;\nexport default ReactRemoveScroll;\n"],"names":["ReactRemoveScroll","React","props","ref","RemoveScroll","__assign","SideCar"],"mappings":"6ZAIA,IAAIA,EAAoBC,EAAM,WAAW,SAAUC,EAAOC,EAAK,CAAE,OAAQF,EAAM,cAAcG,EAAc,aAAAC,EAAA,SAAS,CAAC,EAAGH,EAAO,CAAE,IAAAC,EAAU,QAASG,CAAQ,CAAC,CAAC,CAAI,CAAC,EACnKN,EAAkB,WAAaI,EAAa,aAAA,WAC5C,MAAAA,EAAeJ","x_google_ignoreList":[0]}
|
package/dist/index.cjs227.js
CHANGED
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function
|
|
2
|
-
`;if(t.meta){if(typeof t.meta!="object"||Array.isArray(t.meta))throw new r("Metadata must be an object");Object.entries(t.meta).forEach(o=>{if(typeof o[1]!="string")throw new r(`Metadata value for "${o[0]}" must be string`);e+=`${o[0]}: ${o[1]}
|
|
3
|
-
`})}let n=null;return t.cues.forEach((o,a)=>{if(n&&n>o.start)throw new r(`Cue number ${a} is not in chronological order`);n=o.start,e+=`
|
|
4
|
-
`,e+=f(o),e+=`
|
|
5
|
-
`}),e}function f(t){if(typeof t!="object")throw new r("Cue malformed: not of type object");if(typeof t.identifier!="string"&&typeof t.identifier!="number"&&t.identifier!==null)throw new r(`Cue malformed: identifier value is not a string.
|
|
6
|
-
${JSON.stringify(t)}`);if(isNaN(t.start))throw new r(`Cue malformed: null start value.
|
|
7
|
-
${JSON.stringify(t)}`);if(isNaN(t.end))throw new r(`Cue malformed: null end value.
|
|
8
|
-
${JSON.stringify(t)}`);if(t.start>=t.end)throw new r(`Cue malformed: start timestamp greater than end
|
|
9
|
-
${JSON.stringify(t)}`);if(typeof t.text!="string")throw new r(`Cue malformed: null text value.
|
|
10
|
-
${JSON.stringify(t)}`);if(typeof t.styles!="string")throw new r(`Cue malformed: null styles value.
|
|
11
|
-
${JSON.stringify(t)}`);let e="";t.identifier.length>0&&(e+=`${t.identifier}
|
|
12
|
-
`);const n=s(t.start),o=s(t.end);return e+=`${n} --> ${o}`,e+=t.styles?` ${t.styles}`:"",e+=`
|
|
13
|
-
${t.text}`,e}function s(t){const e=i(m(t),2),n=i(u(t),2),o=i(d(t),2),a=i(w(t),3);return`${e}:${n}:${o}.${a}`}function i(t,e){let n=`${t}`;for(;n.length<e;)n=`0${n}`;return n}function m(t){return Math.floor(t/60/60)}function u(t){return Math.floor(t/60)%60}function d(t){return Math.floor(t%60)}function w(t){return Math.floor((t%1).toFixed(4)*1e3)}var h={CompilerError:r,compile:l};exports.compiler=h;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
|
|
14
2
|
//# sourceMappingURL=index.cjs227.js.map
|
package/dist/index.cjs227.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs227.js","sources":["../../../node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,IAAI,OAAK,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,CAAA,CAAE,CAC5E","x_google_ignoreList":[0]}
|
package/dist/index.cjs228.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react");function a(e){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const c=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,c.get?c:{enumerable:!0,get:()=>e[t]})}}return o.default=e,Object.freeze(o)}const n=a(r);var u=globalThis!=null&&globalThis.document?n.useLayoutEffect:()=>{};exports.useLayoutEffect=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs228.js.map
|
package/dist/index.cjs228.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs228.js","sources":["../../../node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-use-layout-effect/dist/index.mjs"],"sourcesContent":["// packages/react/use-layout-effect/src/useLayoutEffect.tsx\nimport * as React from \"react\";\nvar useLayoutEffect2 = Boolean(globalThis?.document) ? React.useLayoutEffect : () => {\n};\nexport {\n useLayoutEffect2 as useLayoutEffect\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useLayoutEffect2","React"],"mappings":"mYAEG,IAACA,EAA2B,6BAAY,SAAYC,EAAM,gBAAkB,IAAM,CACrF","x_google_ignoreList":[0]}
|
package/dist/index.cjs229.js
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
2
|
-
X-TIMESTAMP-MAP=MPEGTS:${e},LOCAL:00:00:00.000
|
|
3
|
-
|
|
4
|
-
${$(i.cues)}
|
|
5
|
-
`,h=l(a);r.push({filename:h,content:g})}),r}function f(n,t){const e=c(n,t),o=T(e);return`#EXTM3U
|
|
6
|
-
#EXT-X-TARGETDURATION:${Math.round(S(e))}
|
|
7
|
-
#EXT-X-VERSION:3
|
|
8
|
-
#EXT-X-MEDIA-SEQUENCE:0
|
|
9
|
-
#EXT-X-PLAYLIST-TYPE:VOD
|
|
10
|
-
${o}
|
|
11
|
-
#EXT-X-ENDLIST
|
|
12
|
-
`}function s(n,t){return`${"0".repeat(Math.max(0,t-n.toString().length))}${n}`}function l(n){return`${n}.vtt`}function T(n){const t=[];return n.forEach((e,o)=>{t.push(`#EXTINF:${e.duration.toFixed(5)},
|
|
13
|
-
${l(o)}`)}),t.join(`
|
|
14
|
-
`)}function S(n){let t=0;return n.forEach(e=>{e.duration>t&&(t=e.duration)}),t}function $(n){const t=[];return n.forEach(e=>{t.push(p(e))}),t.join(`
|
|
15
|
-
|
|
16
|
-
`)}function p(n){const t=[];n.identifier&&t.push(n.identifier);const e=u(n.start),o=u(n.end),r=n.styles?`${n.styles}`:"";return t.push(`${e} --> ${o} ${r}`),t.push(n.text),t.join(`
|
|
17
|
-
`)}function u(n){const t=(n%1).toFixed(3);n=Math.round(n-t);const e=Math.floor(n/3600),o=Math.floor((n-e*3600)/60),r=n-e*3600-o*60;return`${`${s(e,2)}:`}${s(o,2)}:${s(r,2)}.${s(t*1e3,3)}`}var m={hlsSegment:E,hlsSegmentPlaylist:f};exports.hls=m;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react"),g=require("./index.cjs146.js"),a=require("./index.cjs55.js");function j(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const l=j(m);var p=l.forwardRef((e,r)=>{const{children:t,...n}=e,o=l.Children.toArray(t),i=o.find(y);if(i){const s=i.props.children,c=o.map(f=>f===i?l.Children.count(s)>1?l.Children.only(null):l.isValidElement(s)?s.props.children:null:f);return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:l.isValidElement(s)?l.cloneElement(s,void 0,c):null})}return a.jsxRuntimeExports.jsx(u,{...n,ref:r,children:t})});p.displayName="Slot";var u=l.forwardRef((e,r)=>{const{children:t,...n}=e;if(l.isValidElement(t)){const o=R(t);return l.cloneElement(t,{...b(n,t.props),ref:r?g.composeRefs(r,o):o})}return l.Children.count(t)>1?l.Children.only(null):null});u.displayName="SlotClone";var d=({children:e})=>a.jsxRuntimeExports.jsx(a.jsxRuntimeExports.Fragment,{children:e});function y(e){return l.isValidElement(e)&&e.type===d}function b(e,r){const t={...r};for(const n in r){const o=e[n],i=r[n];/^on[A-Z]/.test(n)?o&&i?t[n]=(...c)=>{i(...c),o(...c)}:o&&(t[n]=o):n==="style"?t[n]={...o,...i}:n==="className"&&(t[n]=[o,i].filter(Boolean).join(" "))}return{...e,...t}}function R(e){var n,o;let r=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}exports.Slot=p;exports.Slottable=d;
|
|
18
2
|
//# sourceMappingURL=index.cjs229.js.map
|
package/dist/index.cjs229.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index.cjs229.js","sources":["../../../node_modules/@radix-ui/react-slider/node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/Slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment, jsx } from \"react/jsx-runtime\";\nvar Slot = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n});\nSlot.displayName = \"Slot\";\nvar SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n return React.cloneElement(children, {\n ...mergeProps(slotProps, children.props),\n // @ts-ignore\n ref: forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef\n });\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n});\nSlotClone.displayName = \"SlotClone\";\nvar Slottable = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment, { children });\n};\nfunction isSlottable(child) {\n return React.isValidElement(child) && child.type === Slottable;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nvar Root = Slot;\nexport {\n Root,\n Slot,\n Slottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["Slot","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","SlotClone","childrenRef","getElementRef","mergeProps","composeRefs","Slottable","Fragment","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"gcAIG,IAACA,EAAOC,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACnD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EAC7BI,EAAgBL,EAAM,SAAS,QAAQG,CAAQ,EAC/CG,EAAYD,EAAc,KAAKE,CAAW,EAChD,GAAID,EAAW,CACb,MAAME,EAAaF,EAAU,MAAM,SAC7BG,EAAcJ,EAAc,IAAKK,GACjCA,IAAUJ,EACRN,EAAM,SAAS,MAAMQ,CAAU,EAAI,EAAUR,EAAM,SAAS,KAAK,IAAI,EAClEA,EAAM,eAAeQ,CAAU,EAAIA,EAAW,MAAM,SAAW,KAE/DE,CAEV,EACD,OAAuBC,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAUF,EAAM,eAAeQ,CAAU,EAAIR,EAAM,aAAaQ,EAAY,OAAQC,CAAW,EAAI,IAAI,CAAE,CACnL,CACD,OAAuBE,EAAG,kBAAA,IAACC,EAAW,CAAE,GAAGR,EAAW,IAAKF,EAAc,SAAAC,CAAQ,CAAE,CACrF,CAAC,EACDJ,EAAK,YAAc,OACnB,IAAIa,EAAYZ,EAAM,WAAW,CAACC,EAAOC,IAAiB,CACxD,KAAM,CAAE,SAAAC,EAAU,GAAGC,CAAS,EAAKH,EACnC,GAAID,EAAM,eAAeG,CAAQ,EAAG,CAClC,MAAMU,EAAcC,EAAcX,CAAQ,EAC1C,OAAOH,EAAM,aAAaG,EAAU,CAClC,GAAGY,EAAWX,EAAWD,EAAS,KAAK,EAEvC,IAAKD,EAAec,EAAAA,YAAYd,EAAcW,CAAW,EAAIA,CACnE,CAAK,CACF,CACD,OAAOb,EAAM,SAAS,MAAMG,CAAQ,EAAI,EAAIH,EAAM,SAAS,KAAK,IAAI,EAAI,IAC1E,CAAC,EACDY,EAAU,YAAc,YACrB,IAACK,EAAY,CAAC,CAAE,SAAAd,KACMQ,wBAAIO,EAAAA,kBAAAA,SAAU,CAAE,SAAAf,CAAU,CAAA,EAEnD,SAASI,EAAYG,EAAO,CAC1B,OAAOV,EAAM,eAAeU,CAAK,GAAKA,EAAM,OAASO,CACvD,CACA,SAASF,EAAWX,EAAWe,EAAY,CACzC,MAAMC,EAAgB,CAAE,GAAGD,GAC3B,UAAWE,KAAYF,EAAY,CACjC,MAAMG,EAAgBlB,EAAUiB,CAAQ,EAClCE,EAAiBJ,EAAWE,CAAQ,EACxB,WAAW,KAAKA,CAAQ,EAEpCC,GAAiBC,EACnBH,EAAcC,CAAQ,EAAI,IAAIG,IAAS,CACrCD,EAAe,GAAGC,CAAI,EACtBF,EAAc,GAAGE,CAAI,CAC/B,EACiBF,IACTF,EAAcC,CAAQ,EAAIC,GAEnBD,IAAa,QACtBD,EAAcC,CAAQ,EAAI,CAAE,GAAGC,EAAe,GAAGC,CAAc,EACtDF,IAAa,cACtBD,EAAcC,CAAQ,EAAI,CAACC,EAAeC,CAAc,EAAE,OAAO,OAAO,EAAE,KAAK,GAAG,EAErF,CACD,MAAO,CAAE,GAAGnB,EAAW,GAAGgB,EAC5B,CACA,SAASN,EAAcW,EAAS,SAC9B,IAAIC,GAASC,EAAA,OAAO,yBAAyBF,EAAQ,MAAO,KAAK,IAApD,YAAAE,EAAuD,IAChEC,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eAC7D,OAAIE,EACKH,EAAQ,KAEjBC,GAASG,EAAA,OAAO,yBAAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
package/dist/index.cjs230.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const u=o(c);function s(e){const t=u.useRef(e);return u.useEffect(()=>{t.current=e}),u.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}exports.useCallbackRef=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs230.js.map
|
package/dist/index.cjs230.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs230.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"index.cjs230.js","sources":["../../../node_modules/@radix-ui/react-tooltip/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs"],"sourcesContent":["// packages/react/use-callback-ref/src/useCallbackRef.tsx\nimport * as React from \"react\";\nfunction useCallbackRef(callback) {\n const callbackRef = React.useRef(callback);\n React.useEffect(() => {\n callbackRef.current = callback;\n });\n return React.useMemo(() => (...args) => callbackRef.current?.(...args), []);\n}\nexport {\n useCallbackRef\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["useCallbackRef","callback","callbackRef","React","args","_a"],"mappings":"mYAEA,SAASA,EAAeC,EAAU,CAChC,MAAMC,EAAcC,EAAM,OAAOF,CAAQ,EACzCE,OAAAA,EAAM,UAAU,IAAM,CACpBD,EAAY,QAAUD,CAC1B,CAAG,EACME,EAAM,QAAQ,IAAM,IAAIC,IAAI,OAAK,OAAAC,EAAAH,EAAY,UAAZ,YAAAG,EAAA,KAAAH,EAAsB,GAAGE,IAAO,CAAA,CAAE,CAC5E","x_google_ignoreList":[0]}
|
package/dist/index.cjs231.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var Te=Object.defineProperty,Se=(e,t,i)=>t in e?Te(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,T=(e,t,i)=>(Se(e,typeof t!="symbol"?t+"":t,i),i);const s=[];Object.freeze(s);const B={id:"https://iiif-parser/annotation-page",type:"AnnotationPage",behavior:s,motivation:null,label:null,thumbnail:s,summary:null,requiredStatement:null,metadata:s,rights:null,provider:s,items:s,seeAlso:s,homepage:s,logo:s,rendering:s,service:s},H={id:"https://iiif-parser/empty-canvas",type:"Canvas",label:null,behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,duration:0,height:0,width:0},Y={id:"https://iiif-parser/empty-collection",type:"Collection",label:null,viewingDirection:"left-to-right",behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,services:s},K={id:"https://iiif-parser/empty-manifest",type:"Manifest",annotations:s,behavior:s,homepage:s,items:s,label:null,logo:s,metadata:s,motivation:null,navDate:null,provider:s,partOf:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,rendering:s,requiredStatement:null,rights:null,seeAlso:s,service:s,services:s,start:null,structures:s,summary:null,thumbnail:s,viewingDirection:"left-to-right"},Q={id:"https://iiif-parser/empty-canvas",type:"Range",label:null,behavior:s,motivation:null,thumbnail:s,posterCanvas:null,accompanyingCanvas:null,placeholderCanvas:null,summary:null,requiredStatement:null,metadata:s,rights:null,navDate:null,provider:s,items:s,annotations:s,seeAlso:s,homepage:s,logo:s,partOf:s,rendering:s,service:s,start:null,supplementary:null,viewingDirection:"left-to-right"},X={id:"https://iiif-parser/empty-agent",type:"Agent",label:{},logo:s,seeAlso:s,homepage:s};function x(e){return Array.isArray(e)?e:[e]}const O=["Collection","Manifest","Canvas","AnnotationPage","AnnotationCollection","Annotation","ContentResource","Range","Service","Selector","Agent"];function Z(e){if(typeof e>"u"||e===null)throw new Error("Null or undefined is not a valid entity.");if(Array.isArray(e))throw new Error("Array is not a valid entity");if(typeof e!="object")throw new Error(`${typeof e} is not a valid entity`);if(typeof e.type=="string"){const t=O.indexOf(e.type);if(t!==-1)return O[t]}if(e.profile)return"Service";throw new Error("Resource type is not known")}class S{constructor(t,i={}){T(this,"traversals"),T(this,"options"),this.traversals={collection:[],manifest:[],canvas:[],annotationCollection:[],annotationPage:[],annotation:[],contentResource:[],choice:[],range:[],service:[],agent:[],...t},this.options={allowUndefinedReturn:!1,...i}}static all(t){return new S({collection:[t],manifest:[t],canvas:[t],annotationCollection:[t],annotationPage:[t],annotation:[t],contentResource:[t],choice:[t],range:[t],service:[t]})}traverseDescriptive(t){return t.thumbnail&&(t.thumbnail=t.thumbnail.map(i=>this.traverseType(i,this.traversals.contentResource))),t.provider&&(t.provider=t.provider.map(i=>this.traverseAgent(i))),t}traverseLinking(t){return t.seeAlso&&(t.seeAlso=t.seeAlso.map(i=>this.traverseType(i,this.traversals.contentResource))),t.service&&(t.service=x(t.service).map(i=>this.traverseType(i,this.traversals.service))),t.services&&(t.services=t.services.map(i=>this.traverseType(i,this.traversals.service))),t.logo&&(t.logo=t.logo.map(i=>this.traverseType(i,this.traversals.contentResource))),t.homepage&&(t.homepage=t.homepage.map(i=>this.traverseType(i,this.traversals.contentResource))),t.partOf&&(t.partOf=t.partOf.map(i=>typeof i=="string"||!i.type?this.traverseType(i,this.traversals.contentResource):i.type==="Canvas"?this.traverseType(i,this.traversals.canvas):i.type==="AnnotationCollection"?this.traverseType(i,this.traversals.annotationCollection):i.type==="Collection"?this.traverseType(i,this.traversals.collection):this.traverseType(i,this.traversals.contentResource))),t.start&&(t.start=t.start?this.traverseType(t.start,this.traversals.canvas):null),t.rendering&&(t.rendering=t.rendering.map(i=>this.traverseType(i,this.traversals.contentResource))),t.supplementary&&(t.supplementary=t.supplementary.map(i=>this.traverseType(i,this.traversals.contentResource))),t}traverseCollectionItems(t){return t.items&&t.items.map(i=>i.type==="Collection"?this.traverseCollection(i):this.traverseManifest(i)),t}traverseCollection(t){return this.traverseType(this.traverseDescriptive(this.traverseInlineAnnotationPages(this.traverseLinking(this.traversePosterCanvas(this.traverseCollectionItems(t))))),this.traversals.collection)}traverseManifestItems(t){return t.items&&(t.items=t.items.map(i=>this.traverseCanvas(i))),t}traverseManifestStructures(t){return t.structures&&(t.structures=t.structures.map(i=>this.traverseRange(i))),t}traverseManifest(t){return this.traverseType(this.traverseInlineAnnotationPages(this.traverseManifestStructures(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(t)))))),this.traversals.manifest)}traverseCanvasItems(t){return t.items=(t.items||[]).map(i=>this.traverseAnnotationPage(i)),t}traverseInlineAnnotationPages(t){return typeof t=="string"||!t||t.annotations&&(t.annotations=t.annotations.map(i=>this.traverseAnnotationPage(i))),t}traverseCanvas(t){return this.traverseType(this.traverseInlineAnnotationPages(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(t))))),this.traversals.canvas)}traverseAnnotationPageItems(t){return t.items&&(t.items=t.items.map(i=>this.traverseAnnotation(i))),t}traverseAnnotationPage(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationPageItems(t))),this.traversals.annotationPage)}traverseAnnotationBody(t){return Array.isArray(t.body)?t.body=t.body.map(i=>this.traverseContentResource(i)):t.body&&(t.body=this.traverseContentResource(t.body)),t}traversePosterCanvas(t){return t.posterCanvas&&(t.posterCanvas=this.traverseCanvas(t.posterCanvas)),t.placeholderCanvas&&(t.placeholderCanvas=this.traverseCanvas(t.placeholderCanvas)),t.accompanyingCanvas&&(t.accompanyingCanvas=this.traverseCanvas(t.accompanyingCanvas)),t}traverseAnnotation(t){return this.traverseType(this.traverseLinking(this.traverseAnnotationBody(t)),this.traversals.annotation)}traverseContentResourceLinking(t){return typeof t=="string"||!t||t&&t.service&&(t.service=x(t.service||[]).map(i=>this.traverseType(i,this.traversals.service))),t}traverseContentResource(t){return t.type==="Choice"&&(t.items=t.items.map(i=>this.traverseContentResource(i))),this.traverseType(this.traverseInlineAnnotationPages(this.traverseContentResourceLinking(t)),this.traversals.contentResource)}traverseRangeRanges(t){return t.items&&(t.items=t.items.map(i=>typeof i=="string"?this.traverseCanvas({id:i,type:"Canvas"}):i.type==="Manifest"?this.traverseManifest(i):this.traverseRange(i))),t}traverseRange(t){return this.traverseType(this.traversePosterCanvas(this.traverseDescriptive(this.traverseLinking(this.traverseRangeRanges(t)))),this.traversals.range)}traverseAgent(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(t)),this.traversals.agent)}traverseType(t,i){return i.reduce((n,r)=>{const a=r(n);return typeof a>"u"&&!this.options.allowUndefinedReturn?n:a},t)}traverseService(t){return this.traverseType(t,this.traversals.service)}traverseUnknown(t){const i=Z(t);switch(i){case"Collection":return this.traverseCollection(t);case"Manifest":return this.traverseManifest(t);case"Canvas":return this.traverseCanvas(t);case"AnnotationPage":return this.traverseAnnotationPage(t);case"Annotation":return this.traverseAnnotation(t);case"ContentResource":return this.traverseContentResource(t);case"Range":return this.traverseRange(t);case"Service":return this.traverseService(t);case"Agent":return this.traverseAgent(t);default:throw new Error(`Unknown or unsupported resource type of ${i}`)}}}const q=["sc:Collection","sc:Manifest","sc:Canvas","sc:AnnotationList","oa:Annotation","sc:Range","sc:Layer","sc:Sequence","oa:Choice","Service","ContentResource"];function Me(e){if(typeof e>"u"||e===null)throw new Error("Null or undefined is not a valid entity.");if(Array.isArray(e))throw new Error("Array is not a valid entity");if(typeof e!="object")throw new Error(`${typeof e} is not a valid entity`);if(typeof e["@type"]=="string"){const t=q.indexOf(e["@type"]);if(t!==-1)return q[t]}if(e.profile)return"Service";if(e.format||e["@type"])return"ContentResource";throw new Error("Resource type is not known")}class j{constructor(t,i={}){T(this,"traversals"),T(this,"options"),this.traversals={collection:[],manifest:[],canvas:[],annotationList:[],sequence:[],annotation:[],contentResource:[],choice:[],range:[],service:[],layer:[],...t},this.options={convertPropsToArray:!0,mergeMemberProperties:!0,allowUndefinedReturn:!1,...i}}static all(t){return new j({collection:[t],manifest:[t],canvas:[t],annotationList:[t],sequence:[t],annotation:[t],contentResource:[t],choice:[t],range:[t],service:[t],layer:[t]})}traverseCollection(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseCollectionItems(t))),this.traversals.collection)}traverseCollectionItems(t){if(this.options.mergeMemberProperties){const i=[...(t.manifests||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Manifest"}:n),...(t.collections||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Collection"}:n),...t.members||[]];delete t.collections,delete t.manifests,t.members=i}return t.manifests&&(t.manifests=t.manifests.map(i=>this.traverseManifest(typeof i=="string"?{"@id":i,"@type":"sc:Manifest"}:i))),t.collections&&(t.collections=t.collections.map(i=>this.traverseCollection(typeof i=="string"?{"@id":i,"@type":"sc:Collection"}:i))),t.members&&(t.members=t.members.map(i=>typeof i=="string"?i:this.traverseUnknown(i))),t}traverseManifest(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseManifestItems(t))),this.traversals.manifest)}traverseManifestItems(t){return t.sequences&&(t.sequences=t.sequences.map(i=>this.traverseSequence(i))),t.structures&&(t.structures=t.structures.map(i=>this.traverseRange(i))),t}traverseSequence(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseSequenceItems(t))),this.traversals.sequence)}traverseSequenceItems(t){return t.canvases&&(t.canvases=t.canvases.map(i=>this.traverseCanvas(i))),t}traverseCanvas(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseCanvasItems(t))),this.traversals.canvas)}traverseCanvasItems(t){return t.images&&(t.images=t.images.map(i=>this.traverseAnnotation(i))),t.otherContent&&(t.otherContent=t.otherContent.map(i=>this.traverseAnnotationList(i))),t}traverseRange(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseRangeItems(t))),this.traversals.range)}traverseRangeItems(t){if(this.options.mergeMemberProperties){const i=[...(t.ranges||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Range"}:n),...(t.canvases||[]).map(n=>typeof n=="string"?{"@id":n,"@type":"sc:Canvas"}:n),...t.members||[]];delete t.ranges,delete t.canvases,t.members=i.length?i.map(n=>this.traverseUnknown(n)):void 0}return t}traverseAnnotationList(t){const i=typeof t=="string"?{"@id":t,"@type":"sc:AnnotationList"}:t;return this.traverseType(this.traverseDescriptive(this.traverseAnnotationListItems(i)),this.traversals.annotationList)}traverseAnnotationListItems(t){return t.resources&&(t.resources=t.resources.map(i=>this.traverseAnnotation(i))),t}traverseAnnotation(t){return this.traverseType(this.traverseDescriptive(this.traverseLinking(this.traverseAnnotationItems(t))),this.traversals.annotation)}traverseAnnotationItems(t){return t.resource&&(Array.isArray(t.resource)?t.resource=t.resource.map(i=>this.traverseContentResource(i)):t.resource=this.traverseContentResource(t.resource)),t.on,t}traverseLayer(t){return this.traverseType(this.traverseLinking(this.traverseLayerItems(t)),this.traversals.layer)}traverseLayerItems(t){return t.otherContent&&(t.otherContent=t.otherContent.map(i=>this.traverseAnnotationList(i))),t}traverseChoice(t){return this.traverseType(this.traverseChoiceItems(t),this.traversals.choice)}traverseChoiceItems(t){return t.default&&t.default!=="rdf:nil"&&(t.default=this.traverseContentResource(t.default)),t.item&&t.item!=="rdf:nil"&&(t.item=t.item.map(i=>this.traverseContentResource(i))),t}traverseService(t){return this.traverseType(this.traverseLinking(t),this.traversals.service)}traverseContentResource(t){return t["@type"]==="oa:Choice"?this.traverseChoice(t):this.traverseType(this.traverseDescriptive(this.traverseLinking(t)),this.traversals.contentResource)}traverseUnknown(t){if(!t["@type"]||typeof t=="string")return t;switch(Me(t)){case"sc:Collection":return this.traverseCollection(t);case"sc:Manifest":return this.traverseManifest(t);case"sc:Canvas":return this.traverseCanvas(t);case"sc:Sequence":return this.traverseSequence(t);case"sc:Range":return this.traverseRange(t);case"oa:Annotation":return this.traverseAnnotation(t);case"sc:AnnotationList":return this.traverseAnnotationList(t);case"sc:Layer":return this.traverseLayer(t);case"Service":return this.traverseService(t);case"oa:Choice":return this.traverseChoice(t);case"ContentResource":return this.traverseContentResource(t)}return t.profile?this.traverseService(t):t}traverseImageResource(t){const i=Array.isArray(t),n=Array.isArray(t)?t:[t],r=[];for(const a of n)typeof a=="string"?r.push(this.traverseContentResource({"@id":a,"@type":"dctypes:Image"})):r.push(this.traverseContentResource(a));return!i&&!this.options.convertPropsToArray?r[0]:r}traverseDescriptive(t){return t.thumbnail&&(t.thumbnail=this.traverseImageResource(t.thumbnail)),t.logo&&(t.logo=this.traverseImageResource(t.logo)),t}traverseOneOrMoreServices(t){const i=Array.isArray(t),n=Array.isArray(t)?t:[t],r=[];for(const a of n)r.push(this.traverseService(a));return!i&&!this.options.convertPropsToArray?r[0]:r}traverseLinking(t){return t.related&&(t.related=this.traverseOneOrManyType(t.related,this.traversals.contentResource)),t.rendering&&(t.rendering=this.traverseOneOrManyType(t.rendering,this.traversals.contentResource)),t.service&&(t.service=this.traverseOneOrMoreServices(t.service)),t.seeAlso&&(t.seeAlso=this.traverseOneOrManyType(t.seeAlso,this.traversals.contentResource)),t.within&&(typeof t.within=="string"||(t.within=this.traverseOneOrManyType(t.within,this.traversals.contentResource))),t.startCanvas&&(typeof t.startCanvas=="string"?t.startCanvas=this.traverseType({"@id":t.startCanvas,"@type":"sc:Canvas"},this.traversals.canvas):t.startCanvas&&this.traverseType(t.startCanvas,this.traversals.canvas)),t.contentLayer&&(typeof t.contentLayer=="string"?t.contentLayer=this.traverseLayer({"@id":t.contentLayer,"@type":"sc:Layer"}):t.contentLayer=this.traverseLayer(t.contentLayer)),t}traverseOneOrManyType(t,i){if(!Array.isArray(t))if(this.options.convertPropsToArray)t=[t];else return this.traverseType(t,i);return t.map(n=>this.traverseType(n,i))}traverseType(t,i){return i.reduce((n,r)=>{const a=r(n);return typeof a>"u"&&!this.options.allowUndefinedReturn?n:a},t)}}const Pe="http://library.stanford.edu/iiif/image-api/compliance.html#level0",J="http://library.stanford.edu/iiif/image-api/compliance.html#level1",ee="http://library.stanford.edu/iiif/image-api/compliance.html#level2",xe="http://library.stanford.edu/iiif/image-api/conformance.html#level0",te="http://library.stanford.edu/iiif/image-api/conformance.html#level1",ie="http://library.stanford.edu/iiif/image-api/conformance.html#level2",Oe="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level0",ne="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level1",re="http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2",Fe="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level0",ae="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level1",se="http://library.stanford.edu/iiif/image-api/1.1/conformance.html#level2",De="http://iiif.io/api/image/1/level0.json",Ne="http://iiif.io/api/image/1/profiles/level0.json",oe="http://iiif.io/api/image/1/level1.json",le="http://iiif.io/api/image/1/profiles/level1.json",ve="http://iiif.io/api/image/1/level2.json",pe="http://iiif.io/api/image/1/profiles/level2.json",ke="http://iiif.io/api/image/2/level0.json",je="http://iiif.io/api/image/2/profiles/level0.json",fe="http://iiif.io/api/image/2/level1.json",ue="http://iiif.io/api/image/2/profiles/level1.json",he="http://iiif.io/api/image/2/level2.json",ce="http://iiif.io/api/image/2/profiles/level2.json",$e="level0",de="level1",me="level2",Ge="http://iiif.io/api/image/2/level0",ge="http://iiif.io/api/image/2/level1",ye="http://iiif.io/api/image/2/level2",Ue=[ge,ye,J,ee,te,ie,ne,re,ae,se,oe,le,ve,pe,fe,ue,he,ce,de,me],qe=[Ge,ge,ye,Pe,J,ee,xe,te,ie,Oe,ne,re,Fe,ae,se,De,Ne,oe,le,ve,pe,ke,je,fe,ue,he,ce,$e,de,me],F={attributionLabel:"Attribution",lang:"none",providerId:"http://example.org/provider",providerName:"Unknown"};function _(e,t="none"){if(!e)return{};const i=Array.isArray(e)?e:[e],n={};for(const r of i){if(typeof r=="string"){n[t]=n[t]?n[t]:[],n[t].push(r||"");continue}if(!r["@language"]){n[t]=n[t]?n[t]:[],n[t].push(r["@value"]||"");continue}const a=r["@language"];n[a]=n[a]?n[a]:[],n[a].push(r["@value"]||"")}return n}function Ae(e){if(Array.isArray(e))return Ae(e.find(t=>typeof t=="string"));if(qe.indexOf(e)!==-1)return"level2";if(Ue.indexOf(e)!==-1)return"level1";if(typeof e=="string")return e}function Ve(e){const t=Array.isArray(e)?e:[e];for(const i of t)switch(i){case"http://iiif.io/api/image/2/context.json":case"http://library.stanford.edu/iiif/image-api/1.1/compliance.html#level2":return"ImageService2";case"http://iiif.io/api/image/1/context.json":case"http://library.stanford.edu/iiif/image-api/1.1/context.json":return"ImageService1";case"http://iiif.io/api/annex/openannotation/context.json":return"ImageApiSelector"}}function We(e){switch(e){case"http://iiif.io/api/image/2/level0.json":case"http://iiif.io/api/image/2/level1.json":case"http://iiif.io/api/image/2/level2.json":return"ImageService2";case"http://iiif.io/api/auth/1/kiosk":case"http://iiif.io/api/auth/1/login":case"http://iiif.io/api/auth/1/clickthrough":case"http://iiif.io/api/auth/1/external":case"http://iiif.io/api/auth/0/kiosk":case"http://iiif.io/api/auth/0/login":case"http://iiif.io/api/auth/0/clickthrough":case"http://iiif.io/api/auth/0/external":return"AuthCookieService1";case"http://iiif.io/api/auth/1/token":case"http://iiif.io/api/auth/0/token":return"AuthTokenService1";case"http://iiif.io/api/auth/1/logout":case"http://iiif.io/api/auth/0/logout":return"AuthLogoutService1";case"http://iiif.io/api/search/1/search":case"http://iiif.io/api/search/0/search":return"SearchService1";case"http://iiif.io/api/search/1/autocomplete":case"http://iiif.io/api/search/0/autocomplete":return"AutoCompleteService1"}}function V(e){for(const t of["sc","oa","dcterms","dctypes","iiif"])if(e.startsWith(`${t}:`))return e.slice(t.length+1);return e}const ze=["Collection","Manifest","Annotation","AnnotationPage","Range","Service"];function $(e){const t=e["@id"]||e.id;let i=e["@type"]||e.type;const n=e.profile||void 0,r=e["@context"]||void 0;if(n){const a=We(n);if(a)return a}if(r){const a=Ve(r);if(a)return a}if(i){if(Array.isArray(i)){if(i.indexOf("oa:CssStylesheet")!==-1)return"CssStylesheet";if(i.indexOf("cnt:ContentAsText")!==-1)return"TextualBody";i=i[0]}for(const a of["sc","oa","dcterms","dctypes","iiif"])if(i.startsWith(`${a}:`)){i=i.slice(a.length+1);break}switch(i){case"Layer":return"AnnotationCollection";case"AnnotationList":return"AnnotationPage";case"cnt:ContentAsText":return"TextualBody"}}if(i&&ze.indexOf(i)!==-1)return i;if(e.format){if(e.format.startsWith("image/"))return"Image";if(e.format.startsWith("text/")||e.format==="application/pdf")return"Text";if(e.format.startsWith("application/"))return"Dataset"}return t&&(t.endsWith(".jpg")||t.endsWith(".png")||t.endsWith(".jpeg"))?"Image":i||"unknown"}const Be=/http(s)?:\/\/(creativecommons.org|rightsstatements.org)[^"'\\<\n]+/gm;function He(e){const t=e.match(Be);return t?t[0]:e}function Ye(e,t="Rights/License",i="none"){let n=null;const r=[],a=Array.isArray(e)?e:[e];for(const l of a){const v=l?He(l):void 0;if(v&&(v.indexOf("creativecommons.org")!==-1||v.indexOf("rightsstatements.org")!==-1)){v.startsWith("https://")?n=`http://${v.slice(8)}`:n=v;continue}v&&r.push({label:{[i]:[t]},value:{[i]:[v]}})}return[n,r]}const Ke=["http://iiif.io/api/presentation/2/context.json","http://iiif.io/api/image/2/context.json","http://iiif.io/api/image/1/context.json","http://library.stanford.edu/iiif/image-api/1.1/context.json","http://iiif.io/api/search/1/context.json","http://iiif.io/api/search/0/context.json","http://iiif.io/api/auth/1/context.json","http://iiif.io/api/auth/0/context.json","http://iiif.io/api/annex/openannotation/context.json"];function Qe(e){if(e){const t=Array.isArray(e)?e:[e],i=[];for(const n of t)n==="http://iiif.io/api/presentation/2/context.json"&&i.push("http://iiif.io/api/presentation/3/context.json"),Ke.indexOf(n)===-1&&i.push(n);if(t.length)return i.length===1?i[0]:i}}function Xe(e){return e?e.map(t=>({label:_(t.label),value:_(t.value)})):[]}function p(e){for(const t in e)(typeof e[t]>"u"||e[t]===null)&&delete e[t];return e}let W=0;function Ce(e,t){const i=encodeURI(e.id||e["@id"]||"").trim();return i&&t?`${i}/${t}`:i||(W++,`http://example.org/${e["@type"]}${t?`/${t}`:""}/${W}`)}function f(e){const t=[...e.behavior||[]];e.viewingHint&&t.push(e.viewingHint);let i;return Array.isArray(e.motivation)?i=e.motivation.map(V):e.motivation&&(i=V(e.motivation)),{"@context":e["@context"]?Qe(e["@context"]):void 0,id:(e["@id"]||Ce(e)).trim(),type:$(e),behavior:t.length?t:void 0,height:e.height?e.height:void 0,width:e.width?e.width:void 0,motivation:i,viewingDirection:e.viewingDirection,profile:e.profile,format:e.format?e.format:void 0,duration:void 0,timeMode:void 0}}function u(e){const[t,i]=Ye(e.license),n=[...e.metadata?Xe(e.metadata):[],...i];return{rights:t,metadata:n.length?n:void 0,label:e.label?_(e.label):void 0,requiredStatement:e.attribution?{label:_(F.attributionLabel),value:_(e.attribution)}:void 0,navDate:e.navDate,summary:e.description?_(e.description):void 0,thumbnail:e.thumbnail}}function Ze(e){if(!e.within)return;const t=Array.isArray(e.within)?e.within:[e.within],i=[];for(const n of t)if(typeof n=="string"){if(n)switch(e["@type"]){case"sc:Manifest":i.push({id:n,type:"Collection"});break}}else n["@id"]&&i.push({id:n["@id"],type:$(n)});return i.length?i:void 0}function d(e){const t=e.related?Array.isArray(e.related)?e.related:[e.related]:[],i=e.contentLayer;return{provider:e.logo||t.length?[{id:F.providerId,type:"Agent",homepage:t.length?[t[0]]:void 0,logo:e.logo?Array.isArray(e.logo)?e.logo:[e.logo]:void 0,label:_(F.providerName)}]:void 0,partOf:Ze(e),rendering:e.rendering,seeAlso:e.seeAlso,start:e.startCanvas,service:e.service?x(e.service):void 0,supplementary:i?[i]:void 0}}function Je(e){return{chars:e.chars,format:e.format?e.format:void 0,language:e.language}}function et(e){return p({...f(e),...u(e),...d(e),items:e.members})}function tt(e){const t=[],i=[];for(const r of e.sequences||[])r.canvases.length&&t.push(...r.canvases),r.behavior&&i.push(...r.behavior);const n=f(e);return i.length&&(n.behavior?n.behavior.push(...i):n.behavior=i),p({...n,...u(e),...d(e),items:t,structures:e.structures})}function it(e){return p({...f(e),...u(e),...d(e),annotations:e.otherContent&&e.otherContent.length?e.otherContent:void 0,items:e.images&&e.images.length?[{id:Ce(e,"annotation-page"),type:"AnnotationPage",items:e.images}]:void 0})}function nt(e){return p({...f(e),...u(e),...d(e),items:e.resources&&e.resources.length?e.resources:void 0})}function rt(e){return!e.canvases||e.canvases.length===0?{canvases:[],behavior:[]}:{canvases:e.canvases,behavior:e.viewingHint?[e.viewingHint]:[]}}function at(e){function t(i){if(Array.isArray(i)){if(i.length>1)return{type:"List",items:i.map(t)};i=i[0]}if(typeof i=="string")return encodeURI(i).trim();if("@type"in i){let n;if(typeof i.full=="string")n=i.full;else if(i.full["@type"]==="dctypes:Image")n={id:i.full["@id"],type:"Image"};else if(i.full["@type"]==="sc:Canvas")n={id:i.full["@id"],type:"Canvas"};else throw new Error(`Unsupported source type on annotation: ${i.full["@type"]}`);return{type:"SpecificResource",source:n,selector:N(i.selector)}}else return encodeURI(i["@id"]).trim()}return p({...f(e),...u(e),...d(e),target:t(e.on),body:Array.isArray(e.resource)?e.resource.map(D):D(e.resource)})}function D(e){const t=e;return p({...f(t),...u(t),...d(t),...Je(t)})}function st(e){const t=[];return e.default&&e.default!=="rdf:nil"&&t.push(e.default),e.item&&e.item!=="rdf:nil"&&t.push(...e.item),{...f(e),...u(e),items:t}}function ot(e){return p({...f(e),...u(e),...d(e),items:e.members})}function lt(e){const{"@id":t,"@type":i,"@context":n,profile:r,...a}=e,l={};return t&&(l["@id"]=t),l["@type"]=$(e),l["@type"]==="unknown"&&(n&&n.length&&(l["@context"]=n),l["@type"]="Service"),r&&(l.profile=Ae(r)),p({...l,...a})}function vt(e){return p({...f(e),...u(e),...d(e)})}const pt=new j({collection:[et],manifest:[tt],canvas:[it],annotationList:[nt],sequence:[rt],annotation:[at],contentResource:[D],choice:[st],range:[ot],service:[lt],layer:[vt]});function ft(e){return e&&e["@context"]&&(e["@context"]==="http://iiif.io/api/presentation/2/context.json"||e["@context"].indexOf("http://iiif.io/api/presentation/2/context.json")!==-1||e["@context"]==="http://www.shared-canvas.org/ns/context.json")||e["@context"]==="http://iiif.io/api/image/2/context.json"?pt.traverseUnknown(e):e}function N(e){if((Array.isArray(e["@type"])&&e["@type"].includes("oa:SvgSelector")||e["@type"]=="oa:SvgSelector")&&("chars"in e||"value"in e))return{type:"SvgSelector",value:"chars"in e?e.chars:e.value};if(e["@type"]==="oa:FragmentSelector")return{type:"FragmentSelector",value:e.value};if(e["@type"]==="oa:Choice")return[N(e.default),...(Array.isArray(e.item)?e.item:[e.item]).map(N)];if(e["@type"]=="iiif:ImageApiSelector")return{type:"ImageApiSelector",region:"region"in e?e.region:void 0,rotation:"rotation"in e?e.rotation:void 0};throw new Error(`Unsupported selector type: ${e["@type"]}`)}function Ie(){return{Collection:{},Manifest:{},Canvas:{},AnnotationPage:{},AnnotationCollection:{},Annotation:{},ContentResource:{},Range:{},Service:{},Selector:{},Agent:{}}}function _e(e,t){if(typeof e=="string")return{id:e,type:t};if(!e.id)throw new Error(`Invalid resource does not have an ID (${t})`);return e}function ut(e){return(t,i)=>{const n=e[t]?e[t]:{};return r=>{const a=_e(r,i||t);return a&&a.id&&t?(n[a.id]=n[a.id]?be(n[a.id],a):Object.assign({},a),{id:a.id,type:t==="ContentResource"?t:a.type}):a}}}function k(e,t){if(!t)return e;if(Array.isArray(e)){if(!Array.isArray(t))throw new Error("Cannot merge array with non-array");const i=[...e];for(const n of t)if(n!=null)if(Array.isArray(n))i.push(n);else if(typeof n=="object"&&n.id&&n.type){const r=i.findIndex(a=>a.id===n.id&&a.type===n.type);r>=0&&(i[r]=k(i[r],n))}else e.indexOf(n)===-1&&i.push(n);return i}else if(typeof e=="object"){if(Array.isArray(t)||typeof t!="object")throw new Error("Cannot merge object with non-object");const i={...e};for(const[n,r]of Object.entries(t)){const a=i[n];a===s||!a?i[n]=r:i[n]=k(a,r)}return i}else if(e)return e;return t}function be(e,t){if(typeof e=="string")return e;if(t.id!==e.id||t.type!==e.type)throw new Error("Can only merge entities with identical identifiers and type!");return k({...e},t)}function ht(e){return(t,i)=>n=>{const{id:r,type:a}=_e(n,i||t);if(typeof r>"u")throw new Error("Found invalid entity without an ID.");return t==="ContentResource"?e[r]=t:e[r]=a,n}}function ct(e){const t=JSON.stringify(e);let i=5381,n=t.length;for(;n;)i=i*33^t.charCodeAt(--n);const a=(i>>>0).toString(16);return a.length%2?"0"+a:a}function P(e){return t=>typeof t=="string"?{id:t,type:e}:t.id?t.type?t:{type:e,...t}:{id:`vault://${ct(t)}`,type:e,...t}}function b(e){return t=>({...e,...t})}function w(e){return Array.isArray(e)?e:[e]}function dt(e){return e.body&&(e.body=w(e.body)),e.seeAlso&&(e.seeAlso=w(e.seeAlso)),e.body&&(e.body=w(e.body)),e.audience&&(e.audience=w(e.audience)),e.accessibility&&(e.accessibility=w(e.accessibility)),e.motivation&&(e.motivation=w(e.motivation)),e}function mt(e){const t=ft(e),i=Ie(),n={},r=ut(i),a=ht(n),v=new S({collection:[b(Y),a("Collection"),r("Collection")],manifest:[b(K),a("Manifest"),r("Manifest")],canvas:[b(H),a("Canvas"),r("Canvas")],annotationPage:[P("AnnotationPage"),b(B),a("AnnotationPage"),r("AnnotationPage")],annotation:[P("Annotation"),dt,a("Annotation"),r("Annotation")],contentResource:[P("ContentResource"),a("ContentResource"),r("ContentResource")],range:[b(Q),a("Range","Canvas"),r("Range","Canvas")],agent:[b(X),a("Agent"),r("Agent")]}).traverseUnknown(t);return{entities:i,resource:v,mapping:n}}const h="__$UNSET$__",G="__$UNWRAP$__";function gt(e,t){const i=e.requests[t],n=e.mapping[t];if(!(!n||i&&i.resourceUri&&!e.entities[n][i.resourceUri]))return e.entities[n][i?i.resourceUri:t]}function we(e){const t={};for(const[i,n]of e){if(i===G&&n!==h)return n;n!==h&&typeof n<"u"&&n!==null&&(t[i]=n)}return t}function yt(e,t,i){if(!t.type||!t.id)throw new Error("Unknown entity");if(!i[t.type])throw new Error(`Serializer not found for ${t.type}`);function n(r){const a=i[r.type];if(!a)return h;const l=gt(e,r.id)||(r.id&&r.type?r:null);if(!l)return h;const v=a(l,e,{isTopLevel:t.id===r.id});let E=v.next();for(;!E.done;){const L=E.value;let M=h;if(L)if(Array.isArray(L)){const U=[];for(const Le of L)U.push(n(Le));M=U}else M=n(L);E=v.next(M)}return E.value===h?h:we(E.value)}return n(t)}function I(e){if(!e)return;const t=Object.keys(e);if(t.length!==0){if(t.length===1){const i=t[0];if(!i)return"";const n=(e[i]||[]).join("");return i==="@none"||i==="none"||i==="en"?n:{"@language":i,"@value":n}}return t.map(i=>({"@language":i,"@value":(e[i]||[]).join("")}))}}function Ee(e){return Array.isArray(e)?e.map(t=>Ee(t)):typeof e=="string"?e:e.type&&e.type==="Canvas"?e.id:e}function c(e,t=!1){if(e)return e.length>1&&!t?e:e[0]||void 0}function At(e){if(e){if(typeof e=="string")return{"@id":e};if("@id"in e){const t={...e};return delete t["@type"],t}return{"@context":"http://iiif.io/api/image/2/context.json","@id":e.id,profile:`http://iiif.io/api/image/2/profiles/${e.profile}.json`}}}function m(e,t){return[["@id",e.id],["@type",t],["format",e.format],["height",e.height],["width",e.width],["viewingDirection",e.viewingDirection!=="left-to-right"?e.viewingDirection:void 0]]}function*g(e){const t=e.provider?yield e.provider[0]:void 0;return[["label",I(e.label)],["metadata",e.metadata&&e.metadata.length?e.metadata.map(i=>({label:I(i.label)||"",value:I(i.value)||""})):void 0],["description",I(e.summary)],["thumbnail",c(yield e.thumbnail)],["navDate",e.navDate],["logo",t?c(t.logo):void 0],["homepage",t?t.homepage:void 0],["attribution",e.requiredStatement?I(e.requiredStatement.value):void 0]]}function*R(e){return[["seeAlso",c(yield e.seeAlso)],["service",c((e.service||[]).map(At))],["rendering",c(yield e.rendering)],["startCanvas",e.start?e.start.id:void 0]]}const Ct={Manifest:function*(e){return[...m(e,"sc:Manifest"),...yield*g(e),...yield*R(e),["sequences",[{"@id":`${e.id}/sequence0`,"@type":"sc:Sequence",canvases:yield e.items}]],["structures",yield e.structures]]},Canvas:function*(e){const i=(yield e.items)[0];return[...m(e,"sc:Canvas"),...yield*g(e),...yield*R(e),["images",i?[i.resources]:void 0],["annotations",e.annotations&&e.annotations.length?c(yield e.annotations):void 0]]},AnnotationPage:function*(e){return[...m(e,"sc:AnnotationList"),...yield*g(e),["resources",e.items&&e.items.length?c(yield e.items):void 0]]},Annotation:function*(e){return[["@id",e.id],["@type","oa:Annotation"],["motivation","sc:painting"],["on",Ee(e.target)],["resource",c(yield e.body,!0)]]},ContentResource:function*(e){switch(e.type){case"Image":return[...m(e,"dctypes:Image"),...yield*g(e),...yield*R(e)];case"Text":case"Dataset":default:return[...m(e,void 0),...yield*g(e)]}},AnnotationCollection:function*(e){return[["@id",e.id],["@type","sc:Layer"],["label",I(e.label)]]},Collection:function*(e){return[...m(e,"sc:Collection"),...yield*g(e),...yield*R(e),["members",yield*e.items]]},Range:function*(e){const t=[],i=[];if(e.items)for(const n of e.items){const r=yield n;t.push({"@id":n.id,"@type":n.type,label:r?r.label:void 0,within:e.id}),n.type==="Canvas"&&i.push(n.id)}return[...m(e,"sc:Range"),...yield*g(e),...yield*R(e),["canvases",i.length===t.length?i:void 0],["members",i.length!==t.length?t:void 0]]}};function y(e){var t;return[["id",(t=e.id)!=null&&t.startsWith("vault://")?void 0:e.id],["type",e.type],["format",e.format],["profile",e.profile],["height",e.height],["width",e.width],["duration",e.duration||void 0],["viewingDirection",e.viewingDirection!=="left-to-right"?e.viewingDirection:void 0],["behavior",e.behavior&&e.behavior.length?e.behavior:void 0],["timeMode",e.timeMode],["motivation",Array.isArray(e.motivation)?e.motivation[0]:e.motivation]]}function o(e){if(!(!e||e.length===0))return e}function Re(e){if(e&&e.type&&e.type==="ImageService2"){const{id:t,type:i,profile:n,...r}=e,a=typeof n=="string"?n:Array.isArray(n)?n.find(l=>typeof l=="string"):"";return{"@id":t,"@type":i,profile:a?a.startsWith("http")?a:`http://iiif.io/api/image/2/${a}.json`:"http://iiif.io/api/image/2/level0.json",...r}}return e}function z(e){if(!(!e||e.length===0))return e.map(Re)}function*A(e){return[["label",e.label],["metadata",o(e.metadata)],["summary",e.summary],["requiredStatement",e.requiredStatement],["rights",e.rights],["navDate",e.navDate],["language",e.language],["thumbnail",o(yield e.thumbnail)],["placeholderCanvas",yield e.placeholderCanvas],["accompanyingCanvas",yield e.accompanyingCanvas],["provider",o(yield e.provider)]]}function*C(e){return[["seeAlso",o(yield e.seeAlso)],["service",z(e.service)],["services",z(e.services)],["rendering",o(yield e.rendering)],["supplementary",o(yield e.supplementary)],["homepage",o(yield e.homepage)],["logo",o(yield e.logo)],["partOf",o(yield e.partOf)],["start",e.start]]}const It={Manifest:function*(e,t,{isTopLevel:i}){return i?[["@context","http://iiif.io/api/presentation/3/context.json"],...y(e),...yield*A(e),...yield*C(e),["items",yield e.items],["structures",o(yield e.structures)],["annotations",o(yield e.annotations)]]:[...y(e),...yield*A(e)]},Canvas:function*(e){return[...y(e),...yield*A(e),...yield*C(e),["items",yield e.items],["annotations",o(yield e.annotations)]]},Agent:function*(e){return[["id",e.id],["type","Agent"],["label",e.label],...yield*C(e)]},AnnotationPage:function*(e){return[...Object.entries(e).map(([i,n])=>[i,Array.isArray(n)?o(n):n]).filter(([i,n])=>i!=="items"),...yield*C(e),["items",yield e.items]]},Service:function*(e){return[[G,Re(e)]]},Annotation:function*(e){const t=Object.entries(e).map(([n,r])=>n==="motivation"?[n,Array.isArray(r)?r[0]:r]:[n,Array.isArray(r)?o(r):r]).filter(([n])=>n!=="body"),i=yield e.body;return[...t,["body",i.length===1?i[0]:i]]},ContentResource:function*(e){return[...y(e),...yield*A(e),...yield*C(e),["annotations",o(yield e.annotations)],["items",o(yield e.items)]]},AnnotationCollection:function*(e){return[["id",e.id],["type","AnnotationCollection"],["label",e.label]]},Collection:function*(e,t,{isTopLevel:i}){return i?[["@context","http://iiif.io/api/presentation/3/context.json"],...y(e),...yield*A(e),...yield*C(e),["items",o(yield e.items)]]:[...y(e),...yield*A(e)]},Range:function*(e){const t=[];for(const i of e.items)i.type==="Range"?t.push(yield i):t.push(i);return[...y(e),...yield*A(e),...yield*C(e),["items",t],["annotations",o(yield e.annotations)]]}};exports.EMPTY=s;exports.Traverse=S;exports.UNSET=h;exports.UNWRAP=G;exports.emptyAgent=X;exports.emptyAnnotationPage=B;exports.emptyCanvas=H;exports.emptyCollection=Y;exports.emptyManifest=K;exports.emptyRange=Q;exports.getDefaultEntities=Ie;exports.identifyResource=Z;exports.languageString2to3=I;exports.mergeEntities=be;exports.normalize=mt;exports.serialize=yt;exports.serializeConfigPresentation2=Ct;exports.serializeConfigPresentation3=It;exports.serializedFieldsToObject=we;exports.types=O;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react"),a=require("./index.cjs230.js");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const u=s(o);function i(e,t=globalThis==null?void 0:globalThis.document){const n=a.useCallbackRef(e);u.useEffect(()=>{const r=c=>{c.key==="Escape"&&n(c)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}exports.useEscapeKeydown=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs231.js.map
|