@performant-software/core-data 2.2.6 → 2.2.7-beta.0
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.cjs108.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs118.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs132.js +1 -1
- package/dist/index.cjs135.js +1 -1
- package/dist/index.cjs138.js +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.cjs148.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs171.js +1 -1
- package/dist/index.cjs177.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs188.js +1 -1
- package/dist/index.cjs189.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs210.js +1 -1
- package/dist/index.cjs211.js +1 -1
- package/dist/index.cjs212.js +1 -1
- package/dist/index.cjs213.js +1 -1
- package/dist/index.cjs216.js +1 -1
- package/dist/index.cjs217.js +1 -1
- package/dist/index.cjs218.js +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs232.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs241.js +1 -1
- package/dist/index.cjs242.js +1 -1
- package/dist/index.cjs243.js +1 -1
- package/dist/index.cjs244.js +1 -1
- package/dist/index.cjs245.js +1 -1
- package/dist/index.cjs246.js +1 -1
- package/dist/index.cjs248.js +1 -1
- package/dist/index.cjs249.js +1 -1
- package/dist/index.cjs250.js +1 -1
- package/dist/index.cjs251.js +1 -1
- package/dist/index.cjs252.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs254.js +1 -1
- package/dist/index.cjs255.js +1 -1
- package/dist/index.cjs256.js +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs260.js +1 -1
- package/dist/index.cjs262.js +1 -1
- package/dist/index.cjs263.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs265.js +1 -1
- package/dist/index.cjs266.js +1 -1
- package/dist/index.cjs267.js +1 -1
- package/dist/index.cjs268.js +1 -1
- package/dist/index.cjs269.js +1 -1
- package/dist/index.cjs275.js +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs277.js +1 -1
- package/dist/index.cjs278.js +1 -1
- package/dist/index.cjs279.js +1 -1
- package/dist/index.cjs283.js +1 -1
- package/dist/index.cjs284.js +1 -1
- package/dist/index.cjs285.js +1 -1
- package/dist/index.cjs286.js +1 -1
- package/dist/index.cjs287.js +1 -1
- package/dist/index.cjs288.js +1 -1
- package/dist/index.cjs289.js +1 -1
- package/dist/index.cjs290.js +1 -1
- package/dist/index.cjs291.js +1 -1
- package/dist/index.cjs292.js +1 -1
- package/dist/index.cjs301.js +1 -1
- package/dist/index.cjs302.js +1 -1
- package/dist/index.cjs303.js +1 -1
- package/dist/index.cjs305.js +1 -1
- package/dist/index.cjs312.js +1 -1
- package/dist/index.cjs314.js +1 -1
- package/dist/index.cjs315.js +1 -1
- package/dist/index.cjs316.js +1 -1
- package/dist/index.cjs317.js +1 -1
- package/dist/index.cjs318.js +1 -1
- package/dist/index.cjs324.js +1 -1
- package/dist/index.cjs325.js +1 -1
- package/dist/index.cjs329.js +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.cjs369.js +1 -1
- package/dist/index.cjs369.js.map +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs370.js.map +1 -1
- package/dist/index.cjs372.js +1 -1
- package/dist/index.cjs372.js.map +1 -1
- package/dist/index.cjs373.js +1 -1
- package/dist/index.cjs373.js.map +1 -1
- package/dist/index.cjs374.js +1 -1
- package/dist/index.cjs374.js.map +1 -1
- package/dist/index.cjs375.js +1 -1
- package/dist/index.cjs375.js.map +1 -1
- package/dist/index.cjs376.js +1 -1
- package/dist/index.cjs376.js.map +1 -1
- package/dist/index.cjs377.js +1 -1
- package/dist/index.cjs377.js.map +1 -1
- package/dist/index.cjs378.js +1 -1
- package/dist/index.cjs378.js.map +1 -1
- package/dist/index.cjs379.js +1 -1
- package/dist/index.cjs379.js.map +1 -1
- package/dist/index.cjs380.js +1 -1
- package/dist/index.cjs380.js.map +1 -1
- package/dist/index.cjs381.js +1 -1
- package/dist/index.cjs381.js.map +1 -1
- package/dist/index.cjs382.js +1 -1
- package/dist/index.cjs382.js.map +1 -1
- package/dist/index.cjs383.js +1 -1
- package/dist/index.cjs383.js.map +1 -1
- package/dist/index.cjs385.js +1 -1
- package/dist/index.cjs387.js +1 -1
- package/dist/index.cjs389.js +1 -1
- package/dist/index.cjs389.js.map +1 -1
- package/dist/index.cjs390.js +1 -1
- package/dist/index.cjs391.js +1 -1
- package/dist/index.cjs391.js.map +1 -1
- package/dist/index.cjs392.js +5 -1
- package/dist/index.cjs392.js.map +1 -1
- package/dist/index.cjs393.js +1 -2
- package/dist/index.cjs393.js.map +1 -1
- package/dist/index.cjs394.js +1 -1
- package/dist/index.cjs394.js.map +1 -1
- package/dist/index.cjs395.js +1 -1
- package/dist/index.cjs395.js.map +1 -1
- package/dist/index.cjs396.js +12 -1
- package/dist/index.cjs396.js.map +1 -1
- package/dist/index.cjs397.js +1 -1
- package/dist/index.cjs397.js.map +1 -1
- package/dist/index.cjs398.js +1 -1
- package/dist/index.cjs398.js.map +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs399.js.map +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs400.js.map +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs402.js.map +1 -1
- package/dist/index.cjs404.js +2 -1
- package/dist/index.cjs404.js.map +1 -1
- package/dist/index.cjs405.js +1 -1
- package/dist/index.cjs405.js.map +1 -1
- package/dist/index.cjs406.js +1 -1
- package/dist/index.cjs406.js.map +1 -1
- package/dist/index.cjs407.js +1 -1
- package/dist/index.cjs407.js.map +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs408.js.map +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs409.js.map +1 -1
- package/dist/index.cjs410.js +1 -5
- package/dist/index.cjs410.js.map +1 -1
- package/dist/index.cjs411.js +1 -1
- package/dist/index.cjs411.js.map +1 -1
- package/dist/index.cjs413.js +1 -1
- package/dist/index.cjs413.js.map +1 -1
- package/dist/index.cjs414.js +1 -12
- package/dist/index.cjs414.js.map +1 -1
- package/dist/index.cjs415.js +1 -1
- package/dist/index.cjs415.js.map +1 -1
- package/dist/index.cjs416.js +1 -1
- package/dist/index.cjs416.js.map +1 -1
- package/dist/index.cjs417.js +1 -1
- package/dist/index.cjs417.js.map +1 -1
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs422.js.map +1 -1
- package/dist/index.cjs423.js +1 -1
- package/dist/index.cjs423.js.map +1 -1
- package/dist/index.cjs424.js +1 -1
- package/dist/index.cjs424.js.map +1 -1
- package/dist/index.cjs426.js +1 -1
- package/dist/index.cjs426.js.map +1 -1
- package/dist/index.cjs427.js +1 -1
- package/dist/index.cjs427.js.map +1 -1
- package/dist/index.cjs429.js +1 -1
- package/dist/index.cjs430.js +1 -1
- package/dist/index.cjs432.js +1 -1
- package/dist/index.cjs435.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs459.js +1 -1
- package/dist/index.cjs459.js.map +1 -1
- package/dist/index.cjs460.js +1 -1
- package/dist/index.cjs460.js.map +1 -1
- package/dist/index.cjs461.js +1 -1
- package/dist/index.cjs461.js.map +1 -1
- package/dist/index.cjs462.js +1 -2
- package/dist/index.cjs462.js.map +1 -1
- package/dist/index.cjs463.js +2 -1
- package/dist/index.cjs463.js.map +1 -1
- package/dist/index.cjs464.js +1 -38
- package/dist/index.cjs464.js.map +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +1 -1
- package/dist/index.cjs467.js.map +1 -1
- package/dist/index.cjs468.js +2 -1
- package/dist/index.cjs468.js.map +1 -1
- package/dist/index.cjs470.js +38 -1
- package/dist/index.cjs470.js.map +1 -1
- package/dist/index.cjs471.js +1 -1
- package/dist/index.cjs471.js.map +1 -1
- package/dist/index.cjs472.js +1 -1
- package/dist/index.cjs472.js.map +1 -1
- package/dist/index.cjs473.js +1 -2
- package/dist/index.cjs473.js.map +1 -1
- package/dist/index.cjs474.js +1 -1
- package/dist/index.cjs474.js.map +1 -1
- package/dist/index.cjs475.js +1 -1
- package/dist/index.cjs475.js.map +1 -1
- package/dist/index.cjs476.js +1 -1
- package/dist/index.cjs476.js.map +1 -1
- package/dist/index.cjs477.js +1 -1
- package/dist/index.cjs477.js.map +1 -1
- package/dist/index.cjs478.js +1 -1
- package/dist/index.cjs478.js.map +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs479.js.map +1 -1
- package/dist/index.cjs480.js +1 -1
- package/dist/index.cjs480.js.map +1 -1
- package/dist/index.cjs481.js +1 -1
- package/dist/index.cjs481.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs484.js +1 -1
- package/dist/index.cjs484.js.map +1 -1
- package/dist/index.cjs485.js +1 -1
- package/dist/index.cjs485.js.map +1 -1
- package/dist/index.cjs486.js +1 -1
- package/dist/index.cjs486.js.map +1 -1
- package/dist/index.cjs487.js +1 -1
- package/dist/index.cjs487.js.map +1 -1
- package/dist/index.cjs488.js +1 -1
- package/dist/index.cjs488.js.map +1 -1
- package/dist/index.cjs489.js +1 -1
- package/dist/index.cjs489.js.map +1 -1
- package/dist/index.cjs504.js +1 -1
- package/dist/index.cjs506.js +1 -1
- package/dist/index.cjs508.js +1 -1
- package/dist/index.cjs511.js +1 -1
- package/dist/index.cjs54.js +1 -1
- package/dist/index.cjs540.js +1 -1
- package/dist/index.cjs545.js +1 -1
- package/dist/index.cjs545.js.map +1 -1
- package/dist/index.cjs547.js +1 -1
- package/dist/index.cjs547.js.map +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs58.js +1 -1
- package/dist/index.cjs59.js +1 -1
- package/dist/index.cjs60.js +1 -1
- package/dist/index.cjs62.js +1 -1
- package/dist/index.cjs63.js +1 -1
- package/dist/index.cjs64.js +1 -1
- package/dist/index.cjs66.js +1 -1
- package/dist/index.cjs67.js +1 -1
- package/dist/index.cjs68.js +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs76.js +1 -1
- package/dist/index.cjs77.js +1 -1
- package/dist/index.cjs79.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.es108.js +4 -4
- package/dist/index.es116.js +1 -1
- package/dist/index.es118.js +3 -3
- package/dist/index.es120.js +1 -1
- package/dist/index.es121.js +1 -1
- package/dist/index.es132.js +1 -1
- package/dist/index.es135.js +1 -1
- package/dist/index.es138.js +3 -3
- package/dist/index.es144.js +12 -56
- package/dist/index.es144.js.map +1 -1
- package/dist/index.es145.js +57 -6
- package/dist/index.es145.js.map +1 -1
- package/dist/index.es146.js +6 -13
- package/dist/index.es146.js.map +1 -1
- package/dist/index.es147.js +1 -1
- package/dist/index.es148.js +3 -3
- package/dist/index.es150.js +1 -1
- package/dist/index.es171.js +1 -1
- package/dist/index.es177.js +1 -1
- package/dist/index.es181.js +1 -1
- package/dist/index.es188.js +1 -1
- package/dist/index.es189.js +1 -1
- package/dist/index.es190.js +1 -1
- package/dist/index.es191.js +1 -1
- package/dist/index.es192.js +1 -1
- package/dist/index.es193.js +1 -1
- package/dist/index.es194.js +1 -1
- package/dist/index.es195.js +1 -1
- package/dist/index.es196.js +1 -1
- package/dist/index.es199.js +1 -1
- package/dist/index.es200.js +1 -1
- package/dist/index.es202.js +3 -3
- package/dist/index.es203.js +1 -1
- package/dist/index.es204.js +2 -2
- package/dist/index.es205.js +1 -1
- package/dist/index.es210.js +1 -1
- package/dist/index.es211.js +1 -1
- package/dist/index.es212.js +1 -1
- package/dist/index.es213.js +1 -1
- package/dist/index.es216.js +2 -2
- package/dist/index.es217.js +2 -2
- package/dist/index.es218.js +1 -1
- package/dist/index.es222.js +2 -2
- package/dist/index.es225.js +1 -1
- package/dist/index.es229.js +1 -1
- package/dist/index.es232.js +1 -1
- package/dist/index.es240.js +1 -1
- package/dist/index.es241.js +1 -1
- package/dist/index.es242.js +1 -1
- package/dist/index.es243.js +2 -2
- package/dist/index.es244.js +1 -1
- package/dist/index.es245.js +1 -1
- package/dist/index.es246.js +1 -1
- package/dist/index.es248.js +2 -2
- package/dist/index.es249.js +2 -2
- package/dist/index.es250.js +1 -1
- package/dist/index.es251.js +1 -1
- package/dist/index.es252.js +1 -1
- package/dist/index.es253.js +1 -1
- package/dist/index.es254.js +2 -2
- package/dist/index.es255.js +2 -2
- package/dist/index.es256.js +1 -1
- package/dist/index.es259.js +2 -2
- package/dist/index.es260.js +2 -2
- package/dist/index.es262.js +2 -2
- package/dist/index.es263.js +1 -1
- package/dist/index.es264.js +2 -2
- package/dist/index.es265.js +1 -1
- package/dist/index.es266.js +2 -2
- package/dist/index.es267.js +1 -1
- package/dist/index.es268.js +1 -1
- package/dist/index.es269.js +1 -1
- package/dist/index.es275.js +1 -1
- package/dist/index.es276.js +2 -2
- package/dist/index.es277.js +1 -1
- package/dist/index.es278.js +1 -1
- package/dist/index.es279.js +1 -1
- package/dist/index.es283.js +1 -1
- package/dist/index.es284.js +1 -1
- package/dist/index.es285.js +1 -1
- package/dist/index.es286.js +1 -1
- package/dist/index.es287.js +2 -2
- package/dist/index.es288.js +1 -1
- package/dist/index.es289.js +4 -4
- package/dist/index.es290.js +2 -2
- package/dist/index.es291.js +6 -6
- package/dist/index.es292.js +2 -2
- package/dist/index.es301.js +2 -2
- package/dist/index.es302.js +2 -2
- package/dist/index.es303.js +2 -2
- package/dist/index.es305.js +14 -14
- package/dist/index.es312.js +2 -2
- package/dist/index.es314.js +4 -4
- package/dist/index.es315.js +2 -2
- package/dist/index.es316.js +1 -1
- package/dist/index.es317.js +1 -1
- package/dist/index.es318.js +1 -1
- package/dist/index.es324.js +3 -3
- package/dist/index.es325.js +1 -1
- package/dist/index.es329.js +3 -3
- package/dist/index.es332.js +11 -6
- package/dist/index.es332.js.map +1 -1
- package/dist/index.es333.js +10 -11
- package/dist/index.es333.js.map +1 -1
- package/dist/index.es334.js +4 -9
- package/dist/index.es334.js.map +1 -1
- package/dist/index.es335.js +12 -5
- package/dist/index.es335.js.map +1 -1
- package/dist/index.es336.js +10 -12
- package/dist/index.es336.js.map +1 -1
- package/dist/index.es337.js +7 -9
- package/dist/index.es337.js.map +1 -1
- package/dist/index.es338.js +4 -7
- package/dist/index.es338.js.map +1 -1
- package/dist/index.es339.js +4 -5
- package/dist/index.es339.js.map +1 -1
- package/dist/index.es340.js +3 -4
- package/dist/index.es340.js.map +1 -1
- package/dist/index.es341.js +2 -2
- package/dist/index.es341.js.map +1 -1
- package/dist/index.es342.js +9 -3
- package/dist/index.es342.js.map +1 -1
- package/dist/index.es343.js +21 -8
- package/dist/index.es343.js.map +1 -1
- package/dist/index.es344.js +20 -20
- package/dist/index.es344.js.map +1 -1
- package/dist/index.es345.js +12 -20
- package/dist/index.es345.js.map +1 -1
- package/dist/index.es346.js +15 -12
- package/dist/index.es346.js.map +1 -1
- package/dist/index.es347.js +5 -16
- package/dist/index.es347.js.map +1 -1
- package/dist/index.es348.js +8 -5
- package/dist/index.es348.js.map +1 -1
- package/dist/index.es349.js +6 -8
- package/dist/index.es349.js.map +1 -1
- package/dist/index.es350.js +21 -6
- package/dist/index.es350.js.map +1 -1
- package/dist/index.es351.js +8 -20
- package/dist/index.es351.js.map +1 -1
- package/dist/index.es352.js +9 -10
- package/dist/index.es352.js.map +1 -1
- package/dist/index.es353.js +4 -9
- package/dist/index.es353.js.map +1 -1
- package/dist/index.es354.js +11 -4
- package/dist/index.es354.js.map +1 -1
- package/dist/index.es355.js +8 -10
- package/dist/index.es355.js.map +1 -1
- package/dist/index.es356.js +22 -8
- package/dist/index.es356.js.map +1 -1
- package/dist/index.es357.js +11 -22
- package/dist/index.es357.js.map +1 -1
- package/dist/index.es358.js +16 -9
- package/dist/index.es358.js.map +1 -1
- package/dist/index.es359.js +4 -19
- package/dist/index.es359.js.map +1 -1
- package/dist/index.es360.js +18 -4
- package/dist/index.es360.js.map +1 -1
- package/dist/index.es361.js +10 -16
- package/dist/index.es361.js.map +1 -1
- package/dist/index.es362.js +3 -11
- package/dist/index.es362.js.map +1 -1
- package/dist/index.es363.js +4 -3
- package/dist/index.es363.js.map +1 -1
- package/dist/index.es364.js +2 -5
- package/dist/index.es364.js.map +1 -1
- package/dist/index.es365.js +322 -2
- package/dist/index.es365.js.map +1 -1
- package/dist/index.es366.js +2 -322
- package/dist/index.es366.js.map +1 -1
- package/dist/index.es367.js +2 -2
- package/dist/index.es368.js +2 -2
- package/dist/index.es369.js +15 -2
- package/dist/index.es369.js.map +1 -1
- package/dist/index.es370.js +2 -15
- package/dist/index.es370.js.map +1 -1
- package/dist/index.es371.js +2 -2
- package/dist/index.es372.js +48 -2
- package/dist/index.es372.js.map +1 -1
- package/dist/index.es373.js +26 -36
- package/dist/index.es373.js.map +1 -1
- package/dist/index.es374.js +41 -36
- package/dist/index.es374.js.map +1 -1
- package/dist/index.es375.js +2 -43
- package/dist/index.es375.js.map +1 -1
- package/dist/index.es376.js +16 -2
- package/dist/index.es376.js.map +1 -1
- package/dist/index.es377.js +2 -16
- package/dist/index.es377.js.map +1 -1
- package/dist/index.es378.js +16 -2
- package/dist/index.es378.js.map +1 -1
- package/dist/index.es379.js +13 -13
- package/dist/index.es379.js.map +1 -1
- package/dist/index.es380.js +16 -14
- package/dist/index.es380.js.map +1 -1
- package/dist/index.es381.js +18 -16
- package/dist/index.es381.js.map +1 -1
- package/dist/index.es382.js +2 -20
- package/dist/index.es382.js.map +1 -1
- package/dist/index.es383.js +6 -2
- package/dist/index.es383.js.map +1 -1
- package/dist/index.es385.js +1 -1
- package/dist/index.es387.js +4 -4
- package/dist/index.es389.js +10 -227
- package/dist/index.es389.js.map +1 -1
- package/dist/index.es390.js +4 -2
- package/dist/index.es390.js.map +1 -1
- package/dist/index.es391.js +4 -356
- package/dist/index.es391.js.map +1 -1
- package/dist/index.es392.js +161 -2
- package/dist/index.es392.js.map +1 -1
- package/dist/index.es393.js +4 -37
- package/dist/index.es393.js.map +1 -1
- package/dist/index.es394.js +2 -51
- package/dist/index.es394.js.map +1 -1
- package/dist/index.es395.js +85 -59
- package/dist/index.es395.js.map +1 -1
- package/dist/index.es396.js +188 -55
- package/dist/index.es396.js.map +1 -1
- package/dist/index.es397.js +86 -71
- package/dist/index.es397.js.map +1 -1
- package/dist/index.es398.js +15 -52
- package/dist/index.es398.js.map +1 -1
- package/dist/index.es399.js +315 -85
- package/dist/index.es399.js.map +1 -1
- package/dist/index.es400.js +227 -4
- package/dist/index.es400.js.map +1 -1
- package/dist/index.es401.js +2 -2
- package/dist/index.es402.js +356 -2
- package/dist/index.es402.js.map +1 -1
- package/dist/index.es403.js +2 -2
- package/dist/index.es404.js +38 -2
- package/dist/index.es404.js.map +1 -1
- package/dist/index.es405.js +51 -2
- package/dist/index.es405.js.map +1 -1
- package/dist/index.es406.js +62 -2
- package/dist/index.es406.js.map +1 -1
- package/dist/index.es407.js +61 -8
- package/dist/index.es407.js.map +1 -1
- package/dist/index.es408.js +73 -4
- package/dist/index.es408.js.map +1 -1
- package/dist/index.es409.js +52 -6
- package/dist/index.es409.js.map +1 -1
- package/dist/index.es410.js +86 -158
- package/dist/index.es410.js.map +1 -1
- package/dist/index.es411.js +2 -5
- package/dist/index.es411.js.map +1 -1
- package/dist/index.es412.js +2 -2
- package/dist/index.es413.js +2 -88
- package/dist/index.es413.js.map +1 -1
- package/dist/index.es414.js +2 -194
- package/dist/index.es414.js.map +1 -1
- package/dist/index.es415.js +2 -88
- package/dist/index.es415.js.map +1 -1
- package/dist/index.es416.js +2 -13
- package/dist/index.es416.js.map +1 -1
- package/dist/index.es417.js +2 -319
- package/dist/index.es417.js.map +1 -1
- package/dist/index.es418.js +156 -3
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +104 -7
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es420.js +17 -6
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +6 -7
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +3 -156
- package/dist/index.es422.js.map +1 -1
- package/dist/index.es423.js +7 -103
- package/dist/index.es423.js.map +1 -1
- package/dist/index.es424.js +6 -17
- package/dist/index.es424.js.map +1 -1
- package/dist/index.es426.js +2 -22
- package/dist/index.es426.js.map +1 -1
- package/dist/index.es427.js +22 -2
- package/dist/index.es427.js.map +1 -1
- package/dist/index.es429.js +1 -1
- package/dist/index.es430.js +1 -1
- package/dist/index.es432.js +1 -1
- package/dist/index.es435.js +1 -1
- package/dist/index.es458.js +2 -2
- package/dist/index.es459.js +2 -12
- package/dist/index.es459.js.map +1 -1
- package/dist/index.es460.js +10 -32
- package/dist/index.es460.js.map +1 -1
- package/dist/index.es461.js +31 -18
- package/dist/index.es461.js.map +1 -1
- package/dist/index.es462.js +19 -10
- package/dist/index.es462.js.map +1 -1
- package/dist/index.es463.js +12 -2
- package/dist/index.es463.js.map +1 -1
- package/dist/index.es464.js +2 -55
- package/dist/index.es464.js.map +1 -1
- package/dist/index.es465.js +2 -9
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +14 -14
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +11 -59
- package/dist/index.es467.js.map +1 -1
- package/dist/index.es468.js +10 -63
- package/dist/index.es468.js.map +1 -1
- package/dist/index.es470.js +55 -2
- package/dist/index.es470.js.map +1 -1
- package/dist/index.es471.js +9 -14
- package/dist/index.es471.js.map +1 -1
- package/dist/index.es472.js +14 -12
- package/dist/index.es472.js.map +1 -1
- package/dist/index.es473.js +59 -11
- package/dist/index.es473.js.map +1 -1
- package/dist/index.es474.js +65 -2
- package/dist/index.es474.js.map +1 -1
- package/dist/index.es475.js +4 -8
- package/dist/index.es475.js.map +1 -1
- package/dist/index.es476.js +4 -8
- package/dist/index.es476.js.map +1 -1
- package/dist/index.es477.js +109 -48
- package/dist/index.es477.js.map +1 -1
- package/dist/index.es478.js +8 -4
- package/dist/index.es478.js.map +1 -1
- package/dist/index.es479.js +8 -4
- package/dist/index.es479.js.map +1 -1
- package/dist/index.es480.js +50 -4
- package/dist/index.es480.js.map +1 -1
- package/dist/index.es481.js +3 -146
- package/dist/index.es481.js.map +1 -1
- package/dist/index.es482.js +2 -2
- package/dist/index.es483.js +2 -2
- package/dist/index.es484.js +146 -3
- package/dist/index.es484.js.map +1 -1
- package/dist/index.es485.js +2 -109
- package/dist/index.es485.js.map +1 -1
- package/dist/index.es486.js +118 -9
- package/dist/index.es486.js.map +1 -1
- package/dist/index.es487.js +2 -13
- package/dist/index.es487.js.map +1 -1
- package/dist/index.es488.js +9 -118
- package/dist/index.es488.js.map +1 -1
- package/dist/index.es489.js +13 -2
- package/dist/index.es489.js.map +1 -1
- package/dist/index.es504.js +1 -1
- package/dist/index.es506.js +1 -1
- package/dist/index.es508.js +1 -1
- package/dist/index.es511.js +1 -1
- package/dist/index.es54.js +1 -1
- package/dist/index.es540.js +2 -2
- package/dist/index.es545.js +2 -30
- package/dist/index.es545.js.map +1 -1
- package/dist/index.es547.js +30 -2
- package/dist/index.es547.js.map +1 -1
- package/dist/index.es55.js +1 -1
- package/dist/index.es56.js +2 -2
- package/dist/index.es58.js +2 -2
- package/dist/index.es59.js +2 -2
- package/dist/index.es60.js +2 -2
- package/dist/index.es62.js +1 -1
- package/dist/index.es63.js +2 -2
- package/dist/index.es64.js +2 -2
- package/dist/index.es66.js +1 -1
- package/dist/index.es67.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es72.js +2 -2
- package/dist/index.es73.js +3 -3
- package/dist/index.es74.js +1 -1
- package/dist/index.es76.js +1 -1
- package/dist/index.es77.js +1 -1
- package/dist/index.es79.js +1 -1
- package/dist/index.es97.js +2 -2
- package/package.json +3 -3
package/dist/index.cjs211.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs345.js"),s=require("./index.cjs204.js"),r=e(s);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs211.js.map
|
package/dist/index.cjs212.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs345.js"),s=require("./index.cjs205.js"),r=e(s,!0);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs212.js.map
|
package/dist/index.cjs213.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs346.js"),s=require("./index.cjs211.js");function u(t,e){var r=n(t);return e&&s(r,e),r}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs213.js.map
|
package/dist/index.cjs216.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs347.js"),s=require("./index.cjs348.js"),u=require("./index.cjs185.js");function o(t,r,n){var e=s(t,i(r));return u(e)?n:e}module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs216.js.map
|
package/dist/index.cjs217.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("./index.
|
|
1
|
+
"use strict";const u=require("./index.cjs338.js"),a=require("./index.cjs347.js");function c(e,r){r=a(r);for(var n=r.length,t=0;t<n;t++){var s=r[t];if(!u(e,s))return!1;e=e[s]}return!!n}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs217.js.map
|
package/dist/index.cjs218.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const v=require("./index.
|
|
1
|
+
"use strict";const v=require("./index.cjs349.js"),a=require("./index.cjs204.js");function f(s,r,n){r=v(r,n);for(var u=a(s),o=u.length,l={},t=0;t<o;t++){var c=u[t];l[c]=r(s[c],c,s)}return l}module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs218.js.map
|
package/dist/index.cjs222.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs348.js"),n=require("./index.cjs347.js");function o(e){return e=n(e),function(r){return t(r,e)}}module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs222.js.map
|
package/dist/index.cjs225.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const u=require("./index.
|
|
1
|
+
"use strict";const u=require("./index.cjs350.js");function a(o,c,t){var s=Array(Math.max(0,o));c=u(c,t,1);for(var r=0;r<o;r++)s[r]=c(r);return s}module.exports=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs225.js.map
|
package/dist/index.cjs229.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.cjs54.js"),v=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs54.js"),v=require("./index.cjs347.js");function c(e,r,t){r=v(r);var i=r.length;if(!i)return s(t)?t.call(e):t;for(var u=0;u<i;u++){var n=e==null?void 0:e[r[u]];n===void 0&&(n=t,u=i),e=s(n)?n.call(e):n}return e}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs229.js.map
|
package/dist/index.cjs232.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs338.js");function n(c,a){var e=function(s){var r=e.cache,t=""+(a?a.apply(this,arguments):s);return i(r,t)||(r[t]=c.apply(this,arguments)),r[t]};return e.cache={},e}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs232.js.map
|
package/dist/index.cjs240.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const y=require("./index.
|
|
1
|
+
"use strict";const y=require("./index.cjs349.js"),c=require("./index.cjs204.js");function k(e,n,u){n=y(n,u);for(var t=c(e),r,s=0,f=t.length;s<f;s++)if(r=t[s],n(e[r],r,e))return r}module.exports=k;
|
|
2
2
|
//# sourceMappingURL=index.cjs240.js.map
|
package/dist/index.cjs241.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs357.js"),r=e(1);module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs241.js.map
|
package/dist/index.cjs242.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs357.js"),t=e(-1);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs242.js.map
|
package/dist/index.cjs243.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("./index.
|
|
1
|
+
"use strict";const l=require("./index.cjs349.js"),t=require("./index.cjs340.js");function v(e,u,o,c){o=l(o,c,1);for(var h=o(u),r=0,n=t(e);r<n;){var s=Math.floor((r+n)/2);o(e[s])<h?r=s+1:n=s}return r}module.exports=v;
|
|
2
2
|
//# sourceMappingURL=index.cjs243.js.map
|
package/dist/index.cjs244.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs243.js"),r=require("./index.cjs241.js"),n=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs243.js"),r=require("./index.cjs241.js"),n=require("./index.cjs358.js"),t=n(1,r,e);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs244.js.map
|
package/dist/index.cjs245.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs242.js"),t=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs242.js"),t=require("./index.cjs358.js"),n=t(-1,e);module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs245.js.map
|
package/dist/index.cjs246.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs359.js"),d=require("./index.cjs241.js"),u=require("./index.cjs240.js");function c(e,i,n){var t=s(e)?d:u,r=t(e,i,n);if(r!==void 0&&r!==-1)return e[r]}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs246.js.map
|
package/dist/index.cjs248.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const t=require("./index.
|
|
1
|
+
"use strict";const t=require("./index.cjs350.js"),u=require("./index.cjs359.js"),f=require("./index.cjs204.js");function h(n,i,c){i=t(i,c);var r,e;if(u(n))for(r=0,e=n.length;r<e;r++)i(n[r],r,n);else{var s=f(n);for(r=0,e=s.length;r<e;r++)i(n[s[r]],s[r],n)}return n}module.exports=h;
|
|
2
2
|
//# sourceMappingURL=index.cjs248.js.map
|
package/dist/index.cjs249.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const l=require("./index.
|
|
1
|
+
"use strict";const l=require("./index.cjs349.js"),n=require("./index.cjs359.js"),q=require("./index.cjs204.js");function v(r,t,k){t=l(t,k);for(var u=!n(r)&&q(r),c=(u||r).length,a=Array(c),s=0;s<c;s++){var e=u?u[s]:s;a[s]=t(r[e],e,r)}return a}module.exports=v;
|
|
2
2
|
//# sourceMappingURL=index.cjs249.js.map
|
package/dist/index.cjs250.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs360.js"),c=e(1);module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs250.js.map
|
package/dist/index.cjs251.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs360.js"),t=e(-1);module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs251.js.map
|
package/dist/index.cjs252.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const i=require("./index.
|
|
1
|
+
"use strict";const i=require("./index.cjs349.js"),o=require("./index.cjs248.js");function f(n,r,u){var s=[];return r=i(r,u),o(n,function(t,c,e){r(t,c,e)&&s.push(t)}),s}module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs252.js.map
|
package/dist/index.cjs253.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.cjs252.js"),n=require("./index.cjs236.js"),i=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs252.js"),n=require("./index.cjs236.js"),i=require("./index.cjs349.js");function s(e,r,t){return c(e,n(i(r)),t)}module.exports=s;
|
|
2
2
|
//# sourceMappingURL=index.cjs253.js.map
|
package/dist/index.cjs254.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const v=require("./index.
|
|
1
|
+
"use strict";const v=require("./index.cjs349.js"),a=require("./index.cjs359.js"),c=require("./index.cjs204.js");function i(r,s,n){s=v(s,n);for(var t=!a(r)&&c(r),f=(t||r).length,e=0;e<f;e++){var u=t?t[e]:e;if(!s(r[u],u,r))return!1}return!0}module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs254.js.map
|
package/dist/index.cjs255.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const a=require("./index.
|
|
1
|
+
"use strict";const a=require("./index.cjs349.js"),c=require("./index.cjs359.js"),i=require("./index.cjs204.js");function k(r,e,n){e=a(e,n);for(var t=!c(r)&&i(r),f=(t||r).length,s=0;s<f;s++){var u=t?t[s]:s;if(e(r[u],u,r))return!0}return!1}module.exports=k;
|
|
2
2
|
//# sourceMappingURL=index.cjs255.js.map
|
package/dist/index.cjs256.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs359.js"),n=require("./index.cjs206.js"),u=require("./index.cjs244.js");function c(e,r,i,t){return s(e)||(e=n(e)),(typeof i!="number"||t)&&(i=0),u(e,r,i)>=0}module.exports=c;
|
|
2
2
|
//# sourceMappingURL=index.cjs256.js.map
|
package/dist/index.cjs259.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const p=require("./index.
|
|
1
|
+
"use strict";const p=require("./index.cjs359.js"),a=require("./index.cjs206.js"),m=require("./index.cjs349.js"),q=require("./index.cjs248.js");function I(n,u,s){var r=-1/0,f=-1/0,i,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:a(n);for(var e=0,c=n.length;e<c;e++)i=n[e],i!=null&&i>r&&(r=i)}else u=m(u,s),q(n,function(l,y,o){t=u(l,y,o),(t>f||t===-1/0&&r===-1/0)&&(r=l,f=t)});return r}module.exports=I;
|
|
2
2
|
//# sourceMappingURL=index.cjs259.js.map
|
package/dist/index.cjs260.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const p=require("./index.
|
|
1
|
+
"use strict";const p=require("./index.cjs359.js"),m=require("./index.cjs206.js"),q=require("./index.cjs349.js"),I=require("./index.cjs248.js");function a(n,u,s){var i=1/0,f=1/0,r,t;if(u==null||typeof u=="number"&&typeof n[0]!="object"&&n!=null){n=p(n)?n:m(n);for(var e=0,c=n.length;e<c;e++)r=n[e],r!=null&&r<i&&(i=r)}else u=q(u,s),I(n,function(l,y,o){t=u(l,y,o),(t<f||t===1/0&&i===1/0)&&(i=l,f=t)});return i}module.exports=a;
|
|
2
2
|
//# sourceMappingURL=index.cjs260.js.map
|
package/dist/index.cjs262.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs359.js"),h=require("./index.cjs206.js"),m=require("./index.cjs340.js"),i=require("./index.cjs226.js"),o=require("./index.cjs268.js");function q(r,t,l){if(t==null||l)return n(r)||(r=h(r)),r[i(r.length-1)];var e=o(r),s=m(e);t=Math.max(Math.min(t,s),0);for(var c=s-1,a=0;a<t;a++){var u=i(a,c),v=e[a];e[a]=e[u],e[u]=v}return e.slice(0,t)}module.exports=q;
|
|
2
2
|
//# sourceMappingURL=index.cjs262.js.map
|
package/dist/index.cjs263.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs349.js"),a=require("./index.cjs257.js"),d=require("./index.cjs249.js");function f(u,t,c){var o=0;return t=s(t,c),a(d(u,function(i,n,r){return{value:i,index:o++,criteria:t(i,n,r)}}).sort(function(i,n){var r=i.criteria,e=n.criteria;if(r!==e){if(r>e||r===void 0)return 1;if(r<e||e===void 0)return-1}return i.index-n.index}),"value")}module.exports=f;
|
|
2
2
|
//# sourceMappingURL=index.cjs263.js.map
|
package/dist/index.cjs264.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs361.js"),i=require("./index.cjs338.js"),n=c(function(o,r,s){i(o,s)?o[s].push(r):o[s]=[r]});module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs264.js.map
|
package/dist/index.cjs265.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const o=require("./index.
|
|
1
|
+
"use strict";const o=require("./index.cjs361.js"),r=o(function(t,e,n){t[n]=e});module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs265.js.map
|
package/dist/index.cjs266.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs361.js"),s=require("./index.cjs338.js"),t=n(function(o,e,c){s(o,c)?o[c]++:o[c]=1});module.exports=t;
|
|
2
2
|
//# sourceMappingURL=index.cjs266.js.map
|
package/dist/index.cjs267.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const s=require("./index.
|
|
1
|
+
"use strict";const s=require("./index.cjs361.js"),u=s(function(t,r,o){t[o?0:1].push(r)},!0);module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs267.js.map
|
package/dist/index.cjs268.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const e=require("./index.cjs196.js"),u=require("./index.cjs53.js"),t=require("./index.cjs188.js"),i=require("./index.
|
|
1
|
+
"use strict";const e=require("./index.cjs196.js"),u=require("./index.cjs53.js"),t=require("./index.cjs188.js"),i=require("./index.cjs359.js"),f=require("./index.cjs249.js"),n=require("./index.cjs219.js"),s=require("./index.cjs206.js");var c=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function d(r){return r?e(r)?u.slice.call(r):t(r)?r.match(c):i(r)?f(r,n):s(r):[]}module.exports=d;
|
|
2
2
|
//# sourceMappingURL=index.cjs268.js.map
|
package/dist/index.cjs269.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const r=require("./index.
|
|
1
|
+
"use strict";const r=require("./index.cjs359.js"),t=require("./index.cjs204.js");function n(e){return e==null?0:r(e)?e.length:t(e).length}module.exports=n;
|
|
2
2
|
//# sourceMappingURL=index.cjs269.js.map
|
package/dist/index.cjs275.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs356.js");function r(t,e){return n(t,e,!1)}module.exports=r;
|
|
2
2
|
//# sourceMappingURL=index.cjs275.js.map
|
package/dist/index.cjs276.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const p=require("./index.cjs186.js"),_=require("./index.
|
|
1
|
+
"use strict";const p=require("./index.cjs186.js"),_=require("./index.cjs349.js"),b=require("./index.cjs340.js"),g=require("./index.cjs256.js");function i(o,h,s,r){p(h)||(r=s,s=h,h=!1),s!=null&&(s=_(s,r));for(var f=[],q=[],u=0,l=b(o);u<l;u++){var n=o[u],c=s?s(n,u,o):n;h&&!s?((!u||q!==c)&&f.push(n),q=c):s?g(q,c)||(q.push(c),f.push(n)):g(f,n)||f.push(n)}return f}module.exports=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs276.js.map
|
package/dist/index.cjs277.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs340.js"),o=require("./index.cjs256.js");function g(s){for(var e=[],u=arguments.length,n=0,a=c(s);n<a;n++){var t=s[n];if(!o(e,t)){var r;for(r=1;r<u&&o(arguments[r],t);r++);r===u&&e.push(t)}}return e}module.exports=g;
|
|
2
2
|
//# sourceMappingURL=index.cjs277.js.map
|
package/dist/index.cjs278.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const n=require("./index.cjs259.js"),s=require("./index.
|
|
1
|
+
"use strict";const n=require("./index.cjs259.js"),s=require("./index.cjs340.js"),c=require("./index.cjs257.js");function o(t){for(var e=t&&n(t,s).length||0,u=Array(e),r=0;r<e;r++)u[r]=c(t,r);return u}module.exports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs278.js.map
|
package/dist/index.cjs279.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const c=require("./index.
|
|
1
|
+
"use strict";const c=require("./index.cjs340.js");function u(r,n){for(var t={},e=0,o=c(r);e<o;e++)n?t[r[e]]=n[e]:t[r[e][0]]=r[e][1];return t}module.exports=u;
|
|
2
2
|
//# sourceMappingURL=index.cjs279.js.map
|
package/dist/index.cjs283.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs364.js");(function(e){function u(t){return t&&t.__esModule?t:{default:t}}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports})(r.__module);var o=r.__module.exports;exports.interopRequireDefaultExports=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs283.js.map
|
package/dist/index.cjs284.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs365.js");var r,t;function i(){if(t)return r;t=1;var e=n.__require()();r=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return r}exports.__require=i;
|
|
2
2
|
//# sourceMappingURL=index.cjs284.js.map
|
package/dist/index.cjs285.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const _=require("./index.cjs366.js");var p;function x(){return p||(p=1,function(n){function f(a,i,c,o,u,s,r){try{var t=a[s](r),e=t.value}catch(l){c(l);return}t.done?i(e):Promise.resolve(e).then(o,u)}function y(a){return function(){var i=this,c=arguments;return new Promise(function(o,u){var s=a.apply(i,c);function r(e){f(s,o,u,r,t,"next",e)}function t(e){f(s,o,u,r,t,"throw",e)}r(void 0)})}}n.exports=y,n.exports.__esModule=!0,n.exports.default=n.exports}(_.__module)),_.__module.exports}exports.__require=x;
|
|
2
2
|
//# sourceMappingURL=index.cjs285.js.map
|
package/dist/index.cjs286.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index.cjs367.js");var t;function o(){return t||(t=1,function(e){function s(a,l){if(!(a instanceof l))throw new TypeError("Cannot call a class as a function")}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports}(r.__module)),r.__module.exports}exports.__require=o;
|
|
2
2
|
//# sourceMappingURL=index.cjs286.js.map
|
package/dist/index.cjs287.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs368.js"),o=require("./index.cjs369.js");var f;function y(){return f||(f=1,function(u){var i=o.__require();function l(r,a){for(var t=0;t<a.length;t++){var e=a[t];e.enumerable=e.enumerable||!1,e.configurable=!0,"value"in e&&(e.writable=!0),Object.defineProperty(r,i(e.key),e)}}function _(r,a,t){return a&&l(r.prototype,a),t&&l(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}u.exports=_,u.exports.__esModule=!0,u.exports.default=u.exports}(n.__module)),n.__module.exports}exports.__require=y;
|
|
2
2
|
//# sourceMappingURL=index.cjs287.js.map
|
package/dist/index.cjs288.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs370.js"),G=require("./index.cjs283.js"),L=require("./index.cjs286.js"),M=require("./index.cjs287.js");var x;function W(){if(x)return a.__exports;x=1;var O=G.interopRequireDefaultExports;Object.defineProperty(a.__exports,"__esModule",{value:!0}),a.__exports.Configuration=void 0;var w=O(L.__require()),R=O(M.__require()),E=function(){function s(){var r,i,o,l,n,c,h,d,u,p,f,_,y,k=this,S,m,v,g,P,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(0,w.default)(this,s),this.server=t.server||{nodes:[{host:"localhost",port:"8108",path:"",protocol:"http"}]},this.server.cacheSearchResultsForSeconds=(r=this.server.cacheSearchResultsForSeconds)!==null&&r!==void 0?r:2*60,this.additionalSearchParameters=(i=t.additionalSearchParameters)!==null&&i!==void 0?i:{},this.additionalSearchParameters.query_by=(o=(l=this.additionalSearchParameters.queryBy)!==null&&l!==void 0?l:this.additionalSearchParameters.query_by)!==null&&o!==void 0?o:"",this.additionalSearchParameters.preset=(n=(c=this.additionalSearchParameters.preset)!==null&&c!==void 0?c:this.additionalSearchParameters.preset)!==null&&n!==void 0?n:"",this.additionalSearchParameters.sort_by=(h=(d=this.additionalSearchParameters.sortBy)!==null&&d!==void 0?d:this.additionalSearchParameters.sort_by)!==null&&h!==void 0?h:"",this.additionalSearchParameters.highlight_full_fields=(u=(p=this.additionalSearchParameters.highlightFullFields)!==null&&p!==void 0?p:this.additionalSearchParameters.highlight_full_fields)!==null&&u!==void 0?u:this.additionalSearchParameters.query_by,this.geoLocationField=(f=t.geoLocationField)!==null&&f!==void 0?f:"_geoloc",this.facetableFieldsWithSpecialCharacters=(_=t.facetableFieldsWithSpecialCharacters)!==null&&_!==void 0?_:[],this.collectionSpecificSearchParameters=(y=t.collectionSpecificSearchParameters)!==null&&y!==void 0?y:{},Object.keys(this.collectionSpecificSearchParameters).forEach(function(D){var q,b,$,B,C,F,e=k.collectionSpecificSearchParameters[D];e.query_by=(q=e.queryBy)!==null&&q!==void 0?q:e.query_by,e.preset=(b=e.preset)!==null&&b!==void 0?b:e.preset,e.sort_by=($=e.sortBy)!==null&&$!==void 0?$:e.sort_by,e.highlight_full_fields=(B=(C=(F=e.highlightFullFields)!==null&&F!==void 0?F:e.highlight_full_fields)!==null&&C!==void 0?C:k.additionalSearchParameters.highlight_full_fields)!==null&&B!==void 0?B:e.query_by,Object.keys(e).forEach(function(j){return e[j]===void 0?delete e[j]:{}})}),this.renderingContent=t.renderingContent,this.flattenGroupedHits=(S=t.flattenGroupedHits)!==null&&S!==void 0?S:!0,this.facetByOptions=(m=t.facetByOptions)!==null&&m!==void 0?m:{},this.filterByOptions=(v=t.filterByOptions)!==null&&v!==void 0?v:{},this.collectionSpecificFacetByOptions=(g=t.collectionSpecificFacetByOptions)!==null&&g!==void 0?g:{},this.collectionSpecificFilterByOptions=(P=t.collectionSpecificFilterByOptions)!==null&&P!==void 0?P:{}}return(0,R.default)(s,[{key:"validate",value:function(){if((this.additionalSearchParameters.queryBy||Object.values(this.collectionSpecificSearchParameters).some(function(i){return i.queryBy}))&&console.warn("[typesense-instantsearch-adapter] Please use snake_cased versions of parameters in additionalSearchParameters instead of camelCased parameters. For example: Use query_by instead of queryBy. camelCased parameters will be deprecated in a future version. We're making this change so that parameter names are identical to the ones sent to Typesense (which are all snake_cased), and to also keep the types for these parameters in sync with the types defined in typesense-js."),this.additionalSearchParameters.query_by.length===0&&this.additionalSearchParameters.preset.length===0&&(Object.keys(this.collectionSpecificSearchParameters).length===0||Object.values(this.collectionSpecificSearchParameters).some(function(i){return(i.query_by||"").length===0&&(i.preset||"").length===0})))throw new Error("[typesense-instantsearch-adapter] Missing parameter: One of additionalSearchParameters.query_by or additionalSearchParameters.preset needs to be set, or all collectionSpecificSearchParameters need to have either .query_by or .preset set.")}}]),s}();return a.__exports.Configuration=E,a.__exports}exports.__require=W;
|
|
2
2
|
//# sourceMappingURL=index.cjs288.js.map
|
package/dist/index.cjs289.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs151.js"),o=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index.cjs151.js"),o=require("./index.cjs371.js"),d=require("./index.cjs372.js"),j=require("./index.cjs373.js"),v=require("./index.cjs374.js");var c;function m(){if(c)return o.__exports;c=1;var f=n.commonjsGlobal&&n.commonjsGlobal.__createBinding||(Object.create?function(e,r,t,l){l===void 0&&(l=t);var i=Object.getOwnPropertyDescriptor(r,t);(!i||("get"in i?!r.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return r[t]}}),Object.defineProperty(e,l,i)}:function(e,r,t,l){l===void 0&&(l=t),e[l]=r[t]}),p=n.commonjsGlobal&&n.commonjsGlobal.__setModuleDefault||(Object.create?function(e,r){Object.defineProperty(e,"default",{enumerable:!0,value:r})}:function(e,r){e.default=r}),b=n.commonjsGlobal&&n.commonjsGlobal.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var t in e)t!=="default"&&Object.prototype.hasOwnProperty.call(e,t)&&f(r,e,t);return p(r,e),r},u=n.commonjsGlobal&&n.commonjsGlobal.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(o.__exports,"__esModule",{value:!0}),o.__exports.Errors=o.__exports.SearchClient=o.__exports.Client=void 0;var _=u(d.__require());o.__exports.Client=_.default;var a=u(j.__require());o.__exports.SearchClient=a.default;var s=b(v.__require());return o.__exports.Errors=s,o.__exports.default={Client:_.default,SearchClient:a.default,Errors:s},o.__exports}exports.__require=m;
|
|
2
2
|
//# sourceMappingURL=index.cjs289.js.map
|
package/dist/index.cjs290.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const R=require("./index.cjs375.js"),L=require("./index.cjs283.js"),O=require("./index.cjs284.js"),U=require("./index.cjs285.js"),D=require("./index.cjs376.js"),X=require("./index.cjs286.js"),H=require("./index.cjs287.js");var k;function W(){if(k)return R.__exports;k=1;var S=L.interopRequireDefaultExports;Object.defineProperty(R.__exports,"__esModule",{value:!0}),R.__exports.SearchRequestAdapter=void 0;var I=S(O.__require()),C=S(U.__require()),_=S(D.__require()),w=S(X.__require()),G=S(H.__require()),M=function(){function A(s,t,r){(0,w.default)(this,A),this.instantsearchRequests=s,this.typesenseClient=t,this.configuration=r,this.additionalSearchParameters=r.additionalSearchParameters,this.collectionSpecificSearchParameters=r.collectionSpecificSearchParameters}return(0,G.default)(A,[{key:"_shouldUseExactMatchForField",value:function(t,r){var a,e;return!(((a=this.configuration.collectionSpecificFilterByOptions)===null||a===void 0||(a=a[r])===null||a===void 0||(a=a[t])===null||a===void 0?void 0:a.exactMatch)===!1||((e=this.configuration.filterByOptions)===null||e===void 0||(e=e[t])===null||e===void 0?void 0:e.exactMatch)===!1)}},{key:"_adaptFacetFilters",value:function(t,r){var a=this,e="";if(!t)return e;var c=t.map(function(n){if(Array.isArray(n)){var i={};n.forEach(function(d){var m=a._parseFacetFilter(d),N=m.fieldName,x=m.fieldValue;i[N]=i[N]||[],i[N].push(x)}),Object.keys(i).length>1&&console.error("[Typesense-Instantsearch-Adapter] Typesense does not support cross-field ORs at the moment. The adapter could not OR values between these fields: ".concat(Object.keys(i).join(",")));var o=Object.keys(i)[0],l=i[o],f=l.reduce(function(d,m){return m.startsWith("-")&&!a._isNumber(m)?d[0].push(m.substring(1)):d[1].push(m),d},[[],[]]),u=(0,_.default)(f,2),p=u[0],h=u[1],y=[];if(h.length>0){var E=a._shouldUseExactMatchForField(o,r)?":=":":";y.push("".concat(o).concat(E,"[").concat(h.map(function(d){return a._escapeFacetValue(d)}).join(","),"]"))}if(p.length>0){var v=a._shouldUseExactMatchForField(o,r)?":!=":":!";y.push("".concat(o).concat(v,"[").concat(p.map(function(d){return a._escapeFacetValue(d)}).join(","),"]"))}var b=y.filter(function(d){return d}).join(" && ");return b}else{var T=a._parseFacetFilter(n),g=T.fieldName,F=T.fieldValue,q;if(F.startsWith("-")&&!a._isNumber(F)){var j=a._shouldUseExactMatchForField(g,r)?":!=":":!";q="".concat(g).concat(j,"[").concat(a._escapeFacetValue(F.substring(1)),"]")}else{var P=a._shouldUseExactMatchForField(g,r)?":=":":";q="".concat(g).concat(P,"[").concat(a._escapeFacetValue(F),"]")}return q}});return e=c.join(" && "),e}},{key:"_parseFacetFilter",value:function(t){var r,a,e,c,n;if(((r=this.configuration.facetableFieldsWithSpecialCharacters)===null||r===void 0?void 0:r.length)>0){var i=this.configuration.facetableFieldsWithSpecialCharacters.flat().map(function(o){return o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")});if(a=new RegExp("^(".concat(i.join("|"),"):(.*)$")),e=t.match(a),e!=null)return c="".concat(e[1]),n="".concat(e[2]),{fieldName:c,fieldValue:n}}return a=this.constructor.DEFAULT_FACET_FILTER_STRING_MATCHING_REGEX,e=t.match(a),e==null?console.error("[Typesense-Instantsearch-Adapter] Parsing failed for a facet filter `".concat(t,"` with the Regex `").concat(a,"`. If you have field names with special characters, be sure to add them to a parameter called `facetableFieldsWithSpecialCharacters` when instantiating the adapter.")):(c="".concat(e[1]).concat(e[2]),n="".concat(e[3])),{fieldName:c,fieldValue:n}}},{key:"_escapeFacetValue",value:function(t){return typeof t=="boolean"||t==="true"||t==="false"||this._isNumber(t)?t:"`".concat(t,"`")}},{key:"_isNumber",value:function(t){return Number.isInteger(t%1)||!!(t%1)}},{key:"_adaptNumericFilters",value:function(t){var r=this,a="";if(!t)return a;var e={};t.forEach(function(n){var i=r._parseNumericFilter(n),o=i.fieldName,l=i.operator,f=i.fieldValue;e[o]=e[o]||{},e[o][l]=f});var c=[];return Object.keys(e).forEach(function(n){e[n]["<="]!=null&&e[n][">="]!=null?c.push("".concat(n,":=[").concat(e[n][">="],"..").concat(e[n]["<="],"]")):e[n]["<="]!=null?c.push("".concat(n,":<=").concat(e[n]["<="])):e[n][">="]!=null?c.push("".concat(n,":>=").concat(e[n][">="])):e[n]["="]!=null?c.push("".concat(n,":=").concat(e[n]["="])):console.warn("[Typesense-Instantsearch-Adapter] Unsupported operator found ".concat(JSON.stringify(e[n])))}),a=c.join(" && "),a}},{key:"_parseNumericFilter",value:function(t){var r,a,e,c,n,i;if(((r=this.configuration.facetableFieldsWithSpecialCharacters)===null||r===void 0?void 0:r.length)>0){var o=this.configuration.facetableFieldsWithSpecialCharacters.map(function(h){return h.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")});if(a=new RegExp("^(".concat(o.join("|"),")(<=|>=|>|<|=)(.*)$")),e=t.match(a),e!=null){var l=e,f=(0,_.default)(l,4);return c=f[1],n=f[2],i=f[3],{fieldName:c,operator:n,fieldValue:i}}}if(a=this.constructor.DEFAULT_NUMERIC_FILTER_STRING_MATCHING_REGEX,e=t.match(a),e==null)console.error("[Typesense-Instantsearch-Adapter] Parsing failed for a numeric filter `".concat(t,"` with the Regex `").concat(a,"`. If you have field names with special characters, be sure to add them to a parameter called `facetableFieldsWithSpecialCharacters` when instantiating the adapter."));else{var u=e,p=(0,_.default)(u,4);c=p[1],n=p[2],i=p[3]}return{fieldName:c,operator:n,fieldValue:i}}},{key:"_adaptGeoFilter",value:function(t){var r=t.insideBoundingBox,a=t.aroundRadius,e=t.aroundLatLng,c=t.insidePolygon;if(r){var n,i,o,l;if(Array.isArray(r)){var f=r.flat(),u=(0,_.default)(f,4);n=u[0],i=u[1],o=u[2],l=u[3]}else{var p=r.split(","),h=(0,_.default)(p,4);n=h[0],i=h[1],o=h[2],l=h[3]}return"".concat(this.configuration.geoLocationField,":(").concat(n,", ").concat(i,", ").concat(n,", ").concat(l,", ").concat(o,", ").concat(l,", ").concat(o,", ").concat(i,")")}if(e||a){if(!a||a==="all")throw new Error("[Typesense-Instantsearch-Adapter] In Typesense, geo-filtering around a lat/lng also requires a numerical radius. So the `aroundRadius` parameter is required when `aroundLatLng` is used. If you intend to just geo-sort around a lat/long, you want to use the sortBy InstantSearch widget (or a virtual sortBy custom widget).");var y="".concat(parseFloat(a)/1e3," km");return"".concat(this.configuration.geoLocationField,":(").concat(e,", ").concat(y,")")}if(c){var E=c;return Array.isArray(c)&&(E=c.flat().join(",")),"".concat(this.configuration.geoLocationField,":(").concat(E,")")}}},{key:"_adaptFilters",value:function(t,r){var a=[];return t.filters&&a.push(t.filters),a.push(this._adaptFacetFilters(t.facetFilters,r)),a.push(this._adaptNumericFilters(t.numericFilters)),a.push(this._adaptGeoFilter(t)),a.filter(function(e){return e&&e!==""}).join(" && ")}},{key:"_adaptIndexName",value:function(t){return t.match(this.constructor.INDEX_NAME_MATCHING_REGEX)[1]}},{key:"_adaptSortBy",value:function(t){return t.match(this.constructor.INDEX_NAME_MATCHING_REGEX)[3]}},{key:"_adaptFacetBy",value:function(t,r){var a=this;return[t].flat().map(function(e){var c;return(c=a.configuration.collectionSpecificFacetByOptions)!==null&&c!==void 0&&(c=c[r])!==null&&c!==void 0&&c[e]?"".concat(e).concat(a.configuration.collectionSpecificFacetByOptions[r][e]):a.configuration.facetByOptions[e]?"".concat(e).concat(a.configuration.facetByOptions[e]):e}).join(",")}},{key:"_buildSearchParameters",value:function(t){for(var r=t.params,a=t.indexName,e=this._adaptIndexName(a),c={},n=0,i=Object.entries(this.additionalSearchParameters);n<i.length;n++){var o=(0,_.default)(i[n],2),l=o[0],f=o[1];c[this._camelToSnakeCase(l)]=f}if(this.collectionSpecificSearchParameters[e])for(var u=0,p=Object.entries(this.collectionSpecificSearchParameters[e]);u<p.length;u++){var h=(0,_.default)(p[u],2),y=h[0],E=h[1];c[this._camelToSnakeCase(y)]=E}var v=Object.assign({},c),b=this._adaptSortBy(a);return Object.assign(v,{collection:e,q:r.query===""||r.query===void 0?"*":r.query,facet_by:c.facet_by||this._adaptFacetBy(r.facets,e),filter_by:this._adaptFilters(r,e)||c.filter_by,sort_by:b||c.sort_by,max_facet_values:r.maxValuesPerFacet,page:(r.page||0)+1}),r.hitsPerPage&&(v.per_page=r.hitsPerPage),r.facetQuery&&(v.facet_query="".concat(r.facetName,":").concat(r.facetQuery),v.per_page=0),r.typesenseVectorQuery&&(v.vector_query=r.typesenseVectorQuery),Object.fromEntries(Object.entries(v).filter(function(T){var g=(0,_.default)(T,2);g[0];var F=g[1];return F!=null&&F!==""}))}},{key:"_camelToSnakeCase",value:function(t){return t.split(/(?=[A-Z])/).join("_").toLowerCase()}},{key:"request",value:function(){var s=(0,C.default)(I.default.mark(function r(){var a=this,e;return I.default.wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return e=this.instantsearchRequests.map(function(i){return a._buildSearchParameters(i)}),n.abrupt("return",this.typesenseClient.multiSearch.perform({searches:e}));case 2:case"end":return n.stop()}},r,this)}));function t(){return s.apply(this,arguments)}return t}()}],[{key:"INDEX_NAME_MATCHING_REGEX",get:function(){return new RegExp("^(.+?)(?=(/sort/(.*))|$)")}},{key:"DEFAULT_FACET_FILTER_STRING_MATCHING_REGEX",get:function(){return new RegExp("(.*)((?!:).):(?!:)(.*)")}},{key:"DEFAULT_NUMERIC_FILTER_STRING_MATCHING_REGEX",get:function(){return new RegExp("(.*?)(<=|>=|>|<|=)(.*)")}}]),A}();return R.__exports.SearchRequestAdapter=M,R.__exports}exports.__require=W;
|
|
2
2
|
//# sourceMappingURL=index.cjs290.js.map
|
package/dist/index.cjs291.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const h=require("./index.cjs377.js"),C=require("./index.cjs283.js"),S=require("./index.cjs378.js"),A=require("./index.cjs376.js"),E=require("./index.cjs379.js"),L=require("./index.cjs380.js"),w=require("./index.cjs286.js"),N=require("./index.cjs287.js"),W=require("./index.cjs381.js");var H;function D(){if(H)return h.__exports;H=1;var p=C.interopRequireDefaultExports;Object.defineProperty(h.__exports,"__esModule",{value:!0}),h.__exports.SearchResponseAdapter=void 0;var v=p(S.__require()),R=p(A.__require()),g=p(E.__require()),f=p(L.__require()),k=p(w.__require()),P=p(N.__require()),T=W.__require();function q(d,r){var n=Object.keys(d);if(Object.getOwnPropertySymbols){var e=Object.getOwnPropertySymbols(d);r&&(e=e.filter(function(a){return Object.getOwnPropertyDescriptor(d,a).enumerable})),n.push.apply(n,e)}return n}function m(d){for(var r=1;r<arguments.length;r++){var n=arguments[r]!=null?arguments[r]:{};r%2?q(Object(n),!0).forEach(function(e){(0,f.default)(d,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(n)):q(Object(n)).forEach(function(e){Object.defineProperty(d,e,Object.getOwnPropertyDescriptor(n,e))})}return d}var j=function(){function d(r,n,e){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[];(0,k.default)(this,d),this.typesenseResponse=r,this.instantsearchRequest=n,this.configuration=e,this.allTypesenseResponses=a}return(0,P.default)(d,[{key:"_adaptGroupedHits",value:function(n){var e=this,a=[];return a=n.map(function(t){var s=e._adaptHits(t.hits);return s.forEach(function(i){i.group_key=i._group_key=t.group_key,t.found&&(i._group_found=t.found)}),s}),this.configuration.flattenGroupedHits?a=a.flat():a=a.map(function(t){return m(m({},t[0]),{},{_grouped_hits:t})}),a}},{key:"_adaptHits",value:function(n){var e=this,a=[];return a=n.map(function(t){var s=m({},t.document);s.objectID=t.document.id,s._snippetResult=e._adaptHighlightResult(t,"snippet"),s._highlightResult=e._adaptHighlightResult(t,"value"),s._rawTypesenseHit=t,["text_match","geo_distance_meters","curated","text_match_info","hybrid_search_info","vector_distance"].forEach(function(o){Object.keys(t).includes(o)&&!Object.keys(s).includes(o)&&(s[o]=t[o])});var i=s[e.configuration.geoLocationField];return i&&(s._geoloc={lat:i[0],lng:i[1]}),s}),a}},{key:"_adaptHighlightResult",value:function(n,e){var a={};return n.highlight!=null&&this.isHighlightPost0240RCN32Format(n.highlight)?this.adaptHighlightObject(n,a,e):this.adaptHighlightsArray(n,a,e),a}},{key:"isHighlightPost0240RCN32Format",value:function(n){return n.full==null&&n.snippet==null}},{key:"adaptHighlightsArray",value:function(n,e,a){var t=this;Object.assign.apply(Object,[e].concat((0,g.default)(Object.entries(n.document).map(function(s){var i=(0,R.default)(s,2),o=i[0],c=i[1];return(0,f.default)({},o,{value:c,matchLevel:"none",matchedWords:[]})})))),n.highlights.forEach(function(s){e[s.field]={value:s[a]||s["".concat(a,"s")],matchLevel:"full",matchedWords:s.matched_tokens},s.indices&&(e[s.field].matchedIndices=s.indices)}),Object.entries(e).forEach(function(s){var i=(0,R.default)(s,2),o=i[0],c=i[1],u=o,l=c.value,_=c.matchLevel,I=c.matchedWords,y=c.matchedIndices;l==null?e[u]=t._adaptHighlightNullValue():Array.isArray(l)?(e[u]=[],n.document[u].forEach(function(b,O){y&&y.includes(O)?e[u].push({value:t._adaptHighlightTag("".concat(l[y.indexOf(O)]),t.instantsearchRequest.params.highlightPreTag,t.instantsearchRequest.params.highlightPostTag),matchLevel:_,matchedWords:I[O]}):(0,v.default)(b)==="object"?e[u].push(t._adaptHighlightInObjectValue(b,{},a)):e[u].push({value:"".concat(b),matchLevel:"none",matchedWords:[]})})):(0,v.default)(l)==="object"?e[u]=t._adaptHighlightInObjectValue(l,{},a):e[u].value=t._adaptHighlightTag("".concat(l),t.instantsearchRequest.params.highlightPreTag,t.instantsearchRequest.params.highlightPostTag)})}},{key:"adaptHighlightObject",value:function(n,e,a){Object.assign(e,this._adaptHighlightInObjectValue(n.document,n.highlight,a))}},{key:"_adaptHighlightInObjectValue",value:function(n,e,a){var t=this;return Object.assign.apply(Object,[{}].concat((0,g.default)(Object.entries(n).map(function(s){var i=(0,R.default)(s,2),o=i[0],c=i[1],u;if(c==null)u=t._adaptHighlightNullValue();else if(Array.isArray(c)){var l;u=t._adaptHighlightInArrayValue(c,(l=e==null?void 0:e[o])!==null&&l!==void 0?l:[],a)}else if((0,v.default)(c)==="object"){var _;u=t._adaptHighlightInObjectValue(c,(_=e==null?void 0:e[o])!==null&&_!==void 0?_:{},a)}else u=t._adaptHighlightInPrimitiveValue(c,e==null?void 0:e[o],a);return(0,f.default)({},o,u)}))))}},{key:"_adaptHighlightInArrayValue",value:function(n,e,a){var t=this;return n.map(function(s,i){var o;if(s==null)o=t._adaptHighlightNullValue();else if(Array.isArray(s)){var c;o=t._adaptHighlightInArrayValue(s,(c=e==null?void 0:e[i])!==null&&c!==void 0?c:[],a)}else if((0,v.default)(s)==="object"){var u;o=t._adaptHighlightInObjectValue(s,(u=e==null?void 0:e[i])!==null&&u!==void 0?u:{},a)}else o=t._adaptHighlightInPrimitiveValue(s,e==null?void 0:e[i],a);return o})}},{key:"_adaptHighlightInPrimitiveValue",value:function(n,e,a){if(e!=null){var t,s;return{value:this._adaptHighlightTag("".concat((t=(s=e[a])!==null&&s!==void 0?s:e.highlight)!==null&&t!==void 0?t:e.snippet),this.instantsearchRequest.params.highlightPreTag,this.instantsearchRequest.params.highlightPostTag),matchLevel:(e.matched_tokens||[]).length>0?"full":"none",matchedWords:e.matched_tokens||[]}}else return{value:this._adaptHighlightTag("".concat(n),this.instantsearchRequest.params.highlightPreTag,this.instantsearchRequest.params.highlightPostTag),matchLevel:"none",matchedWords:[]}}},{key:"_adaptHighlightNullValue",value:function(){return{value:"",matchLevel:"none",matchedWords:[]}}},{key:"_adaptFacets",value:function(n){var e={};return n.forEach(function(a){Object.assign(e,(0,f.default)({},a.field_name,Object.assign.apply(Object,[{}].concat((0,g.default)(a.counts.map(function(t){return(0,f.default)({},t.value,t.count)}))))))}),e}},{key:"_adaptFacetStats",value:function(n){var e={};return n.forEach(function(a){Object.keys(a.stats).length>0&&Object.assign(e,(0,f.default)({},a.field_name,a.stats))}),e}},{key:"_adaptRenderingContent",value:function(n){var e,a=Object.assign({},this.configuration.renderingContent);return((e=a.facetOrdering)===null||e===void 0||(e=e.facets)===null||e===void 0?void 0:e.order)==null&&(a.facetOrdering=a.facetOrdering||{},a.facetOrdering.facets=a.facetOrdering.facets||{},a.facetOrdering.facets.order=(0,g.default)(new Set(n.map(function(t){return t.field_name}).concat(this.allTypesenseResponses.map(function(t){return t.facet_counts||[]}).flat().map(function(t){return t.field_name}).filter(function(t){return t}))))),a}},{key:"adapt",value:function(){var n=this._adaptRenderingContent(this.typesenseResponse.facet_counts||[]),e=m({hits:this.typesenseResponse.grouped_hits?this._adaptGroupedHits(this.typesenseResponse.grouped_hits):this._adaptHits(this.typesenseResponse.hits),nbHits:this.typesenseResponse.found,page:this.typesenseResponse.page-1,nbPages:this._adaptNumberOfPages(),hitsPerPage:this.typesenseResponse.request_params.per_page,facets:this._adaptFacets(this.typesenseResponse.facet_counts||[]),facets_stats:this._adaptFacetStats(this.typesenseResponse.facet_counts||{}),query:this.typesenseResponse.request_params.q,processingTimeMS:this.typesenseResponse.search_time_ms},Object.keys(n).length>0?{renderingContent:n}:null);return e}}]),d}();return h.__exports.SearchResponseAdapter=j,Object.assign(j.prototype,T.utils),h.__exports}exports.__require=D;
|
|
2
2
|
//# sourceMappingURL=index.cjs291.js.map
|
package/dist/index.cjs292.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("./index.cjs382.js"),d=require("./index.cjs283.js"),R=require("./index.cjs286.js"),f=require("./index.cjs287.js"),q=require("./index.cjs381.js");var p;function v(){if(p)return a.__exports;p=1;var n=d.interopRequireDefaultExports;Object.defineProperty(a.__exports,"__esModule",{value:!0}),a.__exports.FacetSearchResponseAdapter=void 0;var o=n(R.__require()),h=n(f.__require()),l=q.__require(),u=function(){function s(i,e){(0,o.default)(this,s),this.typesenseResponse=i,this.instantsearchRequest=e}return(0,h.default)(s,[{key:"_adaptFacetHits",value:function(e){var r=this,c={},_=e.find(function(t){return t.field_name===r.instantsearchRequest.params.facetName});return c=_.counts.map(function(t){return{value:t.value,highlighted:r._adaptHighlightTag(t.highlighted,r.instantsearchRequest.params.highlightPreTag,r.instantsearchRequest.params.highlightPostTag),count:t.count}}),c}},{key:"adapt",value:function(){var e={facetHits:this._adaptFacetHits(this.typesenseResponse.facet_counts),exhaustiveFacetsCount:!0,processingTimeMS:this.typesenseResponse.search_time_ms};return e}}]),s}();return a.__exports.FacetSearchResponseAdapter=u,Object.assign(u.prototype,l.utils),a.__exports}exports.__require=v;
|
|
2
2
|
//# sourceMappingURL=index.cjs292.js.map
|
package/dist/index.cjs301.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const p=require("./index.cjs151.js"),v=require("./index.cjs308.js");require("./index.cjs303.js");require("./index.
|
|
1
|
+
"use strict";const p=require("./index.cjs151.js"),v=require("./index.cjs308.js");require("./index.cjs303.js");require("./index.cjs400.js");const k=require("./index.cjs310.js"),O=require("./index.cjs401.js");var I=p.commonjsGlobal&&p.commonjsGlobal.__createBinding||(Object.create?function(s,t,e,i){i===void 0&&(i=e);var o=Object.getOwnPropertyDescriptor(t,e);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(s,i,o)}:function(s,t,e,i){i===void 0&&(i=e),s[i]=t[e]}),j=p.commonjsGlobal&&p.commonjsGlobal.__setModuleDefault||(Object.create?function(s,t){Object.defineProperty(s,"default",{enumerable:!0,value:t})}:function(s,t){s.default=t}),z=p.commonjsGlobal&&p.commonjsGlobal.__importStar||function(s){if(s&&s.__esModule)return s;var t={};if(s!=null)for(var e in s)e!=="default"&&Object.prototype.hasOwnProperty.call(s,e)&&I(t,s,e);return j(t,s),t};Object.defineProperty(v.__exports,"__esModule",{value:!0});v.__exports.Parser=void 0;var b=z(k.__exports),w=O.__exports,d=new Set(["input","option","optgroup","select","button","datalist","textarea"]),n=new Set(["p"]),x=new Set(["thead","tbody"]),y=new Set(["dd","dt"]),S=new Set(["rt","rp"]),M=new Map([["tr",new Set(["tr","th","td"])],["th",new Set(["th"])],["td",new Set(["thead","th","td"])],["body",new Set(["head","link","script"])],["li",new Set(["li"])],["p",n],["h1",n],["h2",n],["h3",n],["h4",n],["h5",n],["h6",n],["select",d],["input",d],["output",d],["button",d],["datalist",d],["textarea",d],["option",new Set(["option"])],["optgroup",new Set(["optgroup","option"])],["dd",y],["dt",y],["address",n],["article",n],["aside",n],["blockquote",n],["details",n],["div",n],["dl",n],["fieldset",n],["figcaption",n],["figure",n],["footer",n],["form",n],["header",n],["hr",n],["main",n],["nav",n],["ol",n],["pre",n],["section",n],["table",n],["ul",n],["rt",S],["rp",S],["tbody",x],["tfoot",x]]),P=new Set(["area","base","basefont","br","col","command","embed","frame","hr","img","input","isindex","keygen","link","meta","param","source","track","wbr"]),C=new Set(["math","svg"]),T=new Set(["mi","mo","mn","ms","mtext","annotation-xml","foreignobject","desc","title"]),N=/\s|\//,E=function(){function s(t,e){e===void 0&&(e={});var i,o,r,l,a;this.options=e,this.startIndex=0,this.endIndex=0,this.openTagStart=0,this.tagname="",this.attribname="",this.attribvalue="",this.attribs=null,this.stack=[],this.foreignContext=[],this.buffers=[],this.bufferOffset=0,this.writeIndex=0,this.ended=!1,this.cbs=t??{},this.lowerCaseTagNames=(i=e.lowerCaseTags)!==null&&i!==void 0?i:!e.xmlMode,this.lowerCaseAttributeNames=(o=e.lowerCaseAttributeNames)!==null&&o!==void 0?o:!e.xmlMode,this.tokenizer=new((r=e.Tokenizer)!==null&&r!==void 0?r:b.default)(this.options,this),(a=(l=this.cbs).onparserinit)===null||a===void 0||a.call(l,this)}return s.prototype.ontext=function(t,e){var i,o,r=this.getSlice(t,e);this.endIndex=e-1,(o=(i=this.cbs).ontext)===null||o===void 0||o.call(i,r),this.startIndex=e},s.prototype.ontextentity=function(t){var e,i,o=this.tokenizer.getSectionStart();this.endIndex=o-1,(i=(e=this.cbs).ontext)===null||i===void 0||i.call(e,(0,w.fromCodePoint)(t)),this.startIndex=o},s.prototype.isVoidElement=function(t){return!this.options.xmlMode&&P.has(t)},s.prototype.onopentagname=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);this.lowerCaseTagNames&&(i=i.toLowerCase()),this.emitOpenTag(i)},s.prototype.emitOpenTag=function(t){var e,i,o,r;this.openTagStart=this.startIndex,this.tagname=t;var l=!this.options.xmlMode&&M.get(t);if(l)for(;this.stack.length>0&&l.has(this.stack[this.stack.length-1]);){var a=this.stack.pop();(i=(e=this.cbs).onclosetag)===null||i===void 0||i.call(e,a,!0)}this.isVoidElement(t)||(this.stack.push(t),C.has(t)?this.foreignContext.push(!0):T.has(t)&&this.foreignContext.push(!1)),(r=(o=this.cbs).onopentagname)===null||r===void 0||r.call(o,t),this.cbs.onopentag&&(this.attribs={})},s.prototype.endOpenTag=function(t){var e,i;this.startIndex=this.openTagStart,this.attribs&&((i=(e=this.cbs).onopentag)===null||i===void 0||i.call(e,this.tagname,this.attribs,t),this.attribs=null),this.cbs.onclosetag&&this.isVoidElement(this.tagname)&&this.cbs.onclosetag(this.tagname,!0),this.tagname=""},s.prototype.onopentagend=function(t){this.endIndex=t,this.endOpenTag(!1),this.startIndex=t+1},s.prototype.onclosetag=function(t,e){var i,o,r,l,a,c;this.endIndex=e;var h=this.getSlice(t,e);if(this.lowerCaseTagNames&&(h=h.toLowerCase()),(C.has(h)||T.has(h))&&this.foreignContext.pop(),this.isVoidElement(h))!this.options.xmlMode&&h==="br"&&((o=(i=this.cbs).onopentagname)===null||o===void 0||o.call(i,"br"),(l=(r=this.cbs).onopentag)===null||l===void 0||l.call(r,"br",{},!0),(c=(a=this.cbs).onclosetag)===null||c===void 0||c.call(a,"br",!1));else{var u=this.stack.lastIndexOf(h);if(u!==-1)if(this.cbs.onclosetag)for(var f=this.stack.length-u;f--;)this.cbs.onclosetag(this.stack.pop(),f!==0);else this.stack.length=u;else!this.options.xmlMode&&h==="p"&&(this.emitOpenTag("p"),this.closeCurrentTag(!0))}this.startIndex=e+1},s.prototype.onselfclosingtag=function(t){this.endIndex=t,this.options.xmlMode||this.options.recognizeSelfClosing||this.foreignContext[this.foreignContext.length-1]?(this.closeCurrentTag(!1),this.startIndex=t+1):this.onopentagend(t)},s.prototype.closeCurrentTag=function(t){var e,i,o=this.tagname;this.endOpenTag(t),this.stack[this.stack.length-1]===o&&((i=(e=this.cbs).onclosetag)===null||i===void 0||i.call(e,o,!t),this.stack.pop())},s.prototype.onattribname=function(t,e){this.startIndex=t;var i=this.getSlice(t,e);this.attribname=this.lowerCaseAttributeNames?i.toLowerCase():i},s.prototype.onattribdata=function(t,e){this.attribvalue+=this.getSlice(t,e)},s.prototype.onattribentity=function(t){this.attribvalue+=(0,w.fromCodePoint)(t)},s.prototype.onattribend=function(t,e){var i,o;this.endIndex=e,(o=(i=this.cbs).onattribute)===null||o===void 0||o.call(i,this.attribname,this.attribvalue,t===b.QuoteType.Double?'"':t===b.QuoteType.Single?"'":t===b.QuoteType.NoValue?void 0:null),this.attribs&&!Object.prototype.hasOwnProperty.call(this.attribs,this.attribname)&&(this.attribs[this.attribname]=this.attribvalue),this.attribvalue=""},s.prototype.getInstructionName=function(t){var e=t.search(N),i=e<0?t:t.substr(0,e);return this.lowerCaseTagNames&&(i=i.toLowerCase()),i},s.prototype.ondeclaration=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){var o=this.getInstructionName(i);this.cbs.onprocessinginstruction("!".concat(o),"!".concat(i))}this.startIndex=e+1},s.prototype.onprocessinginstruction=function(t,e){this.endIndex=e;var i=this.getSlice(t,e);if(this.cbs.onprocessinginstruction){var o=this.getInstructionName(i);this.cbs.onprocessinginstruction("?".concat(o),"?".concat(i))}this.startIndex=e+1},s.prototype.oncomment=function(t,e,i){var o,r,l,a;this.endIndex=e,(r=(o=this.cbs).oncomment)===null||r===void 0||r.call(o,this.getSlice(t,e-i)),(a=(l=this.cbs).oncommentend)===null||a===void 0||a.call(l),this.startIndex=e+1},s.prototype.oncdata=function(t,e,i){var o,r,l,a,c,h,u,f,m,g;this.endIndex=e;var _=this.getSlice(t,e-i);this.options.xmlMode||this.options.recognizeCDATA?((r=(o=this.cbs).oncdatastart)===null||r===void 0||r.call(o),(a=(l=this.cbs).ontext)===null||a===void 0||a.call(l,_),(h=(c=this.cbs).oncdataend)===null||h===void 0||h.call(c)):((f=(u=this.cbs).oncomment)===null||f===void 0||f.call(u,"[CDATA[".concat(_,"]]")),(g=(m=this.cbs).oncommentend)===null||g===void 0||g.call(m)),this.startIndex=e+1},s.prototype.onend=function(){var t,e;if(this.cbs.onclosetag){this.endIndex=this.startIndex;for(var i=this.stack.length;i>0;this.cbs.onclosetag(this.stack[--i],!0));}(e=(t=this.cbs).onend)===null||e===void 0||e.call(t)},s.prototype.reset=function(){var t,e,i,o;(e=(t=this.cbs).onreset)===null||e===void 0||e.call(t),this.tokenizer.reset(),this.tagname="",this.attribname="",this.attribs=null,this.stack.length=0,this.startIndex=0,this.endIndex=0,(o=(i=this.cbs).onparserinit)===null||o===void 0||o.call(i,this),this.buffers.length=0,this.bufferOffset=0,this.writeIndex=0,this.ended=!1},s.prototype.parseComplete=function(t){this.reset(),this.end(t)},s.prototype.getSlice=function(t,e){for(;t-this.bufferOffset>=this.buffers[0].length;)this.shiftBuffer();for(var i=this.buffers[0].slice(t-this.bufferOffset,e-this.bufferOffset);e-this.bufferOffset>this.buffers[0].length;)this.shiftBuffer(),i+=this.buffers[0].slice(0,e-this.bufferOffset);return i},s.prototype.shiftBuffer=function(){this.bufferOffset+=this.buffers[0].length,this.writeIndex--,this.buffers.shift()},s.prototype.write=function(t){var e,i;if(this.ended){(i=(e=this.cbs).onerror)===null||i===void 0||i.call(e,new Error(".write() after done!"));return}this.buffers.push(t),this.tokenizer.running&&(this.tokenizer.write(t),this.writeIndex++)},s.prototype.end=function(t){var e,i;if(this.ended){(i=(e=this.cbs).onerror)===null||i===void 0||i.call(e,new Error(".end() after done!"));return}t&&this.write(t),this.ended=!0,this.tokenizer.end()},s.prototype.pause=function(){this.tokenizer.pause()},s.prototype.resume=function(){for(this.tokenizer.resume();this.tokenizer.running&&this.writeIndex<this.buffers.length;)this.tokenizer.write(this.buffers[this.writeIndex++]);this.ended&&this.tokenizer.end()},s.prototype.parseChunk=function(t){this.write(t)},s.prototype.done=function(t){this.end(t)},s}();v.__exports.Parser=E;module.exports=v.__exports;
|
|
2
2
|
//# sourceMappingURL=index.cjs301.js.map
|
package/dist/index.cjs302.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";const a=require("./index.cjs151.js"),f=require("./index.cjs309.js");require("./index.cjs304.js");require("./index.
|
|
1
|
+
"use strict";const a=require("./index.cjs151.js"),f=require("./index.cjs309.js");require("./index.cjs304.js");require("./index.cjs402.js");const c=require("./index.cjs403.js"),m=require("./index.cjs306.js");(function(r){var u=a.commonjsGlobal&&a.commonjsGlobal.__createBinding||(Object.create?function(o,t,e,n){n===void 0&&(n=e);var i=Object.getOwnPropertyDescriptor(t,e);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(o,n,i)}:function(o,t,e,n){n===void 0&&(n=e),o[n]=t[e]}),p=a.commonjsGlobal&&a.commonjsGlobal.__exportStar||function(o,t){for(var e in o)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&u(t,o,e)};Object.defineProperty(r,"__esModule",{value:!0}),r.DomHandler=void 0;var d=m.__exports,s=c.__exports;p(c.__exports,r);var l={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},h=function(){function o(t,e,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,typeof e=="function"&&(n=e,e=l),typeof t=="object"&&(e=t,t=void 0),this.callback=t??null,this.options=e??l,this.elementCB=n??null}return o.prototype.onparserinit=function(t){this.parser=t},o.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},o.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},o.prototype.onerror=function(t){this.handleCallback(t)},o.prototype.onclosetag=function(){this.lastNode=null;var t=this.tagStack.pop();this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(t)},o.prototype.onopentag=function(t,e){var n=this.options.xmlMode?d.ElementType.Tag:void 0,i=new s.Element(t,e,void 0,n);this.addNode(i),this.tagStack.push(i)},o.prototype.ontext=function(t){var e=this.lastNode;if(e&&e.type===d.ElementType.Text)e.data+=t,this.options.withEndIndices&&(e.endIndex=this.parser.endIndex);else{var n=new s.Text(t);this.addNode(n),this.lastNode=n}},o.prototype.oncomment=function(t){if(this.lastNode&&this.lastNode.type===d.ElementType.Comment){this.lastNode.data+=t;return}var e=new s.Comment(t);this.addNode(e),this.lastNode=e},o.prototype.oncommentend=function(){this.lastNode=null},o.prototype.oncdatastart=function(){var t=new s.Text(""),e=new s.CDATA([t]);this.addNode(e),t.parent=e,this.lastNode=t},o.prototype.oncdataend=function(){this.lastNode=null},o.prototype.onprocessinginstruction=function(t,e){var n=new s.ProcessingInstruction(t,e);this.addNode(n)},o.prototype.handleCallback=function(t){if(typeof this.callback=="function")this.callback(t,this.dom);else if(t)throw t},o.prototype.addNode=function(t){var e=this.tagStack[this.tagStack.length-1],n=e.children[e.children.length-1];this.options.withStartIndices&&(t.startIndex=this.parser.startIndex),this.options.withEndIndices&&(t.endIndex=this.parser.endIndex),e.children.push(t),n&&(t.prev=n,n.next=t),t.parent=e,this.lastNode=null},o}();r.DomHandler=h,r.default=h})(f.__exports);
|
|
2
2
|
//# sourceMappingURL=index.cjs302.js.map
|