@performant-software/geospatial 3.1.4-beta.0 → 3.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs100.js +1 -1
- package/dist/index.cjs103.js +1 -1
- package/dist/index.cjs104.js +1 -1
- package/dist/index.cjs106.js +1 -1
- package/dist/index.cjs107.js +1 -1
- package/dist/index.cjs108.js +1 -1
- package/dist/index.cjs109.js +1 -1
- package/dist/index.cjs114.js +1 -1
- package/dist/index.cjs115.js +1 -1
- package/dist/index.cjs116.js +1 -1
- package/dist/index.cjs117.js +1 -1
- package/dist/index.cjs120.js +1 -1
- package/dist/index.cjs121.js +1 -1
- package/dist/index.cjs122.js +1 -1
- package/dist/index.cjs126.js +1 -1
- package/dist/index.cjs129.js +1 -1
- package/dist/index.cjs133.js +1 -1
- package/dist/index.cjs136.js +1 -1
- package/dist/index.cjs14.js +1 -1
- package/dist/index.cjs144.js +1 -1
- package/dist/index.cjs145.js +1 -1
- package/dist/index.cjs146.js +1 -1
- package/dist/index.cjs147.js +1 -1
- package/dist/index.cjs148.js +1 -1
- package/dist/index.cjs149.js +1 -1
- package/dist/index.cjs15.js +1 -1
- package/dist/index.cjs150.js +1 -1
- package/dist/index.cjs152.js +1 -1
- package/dist/index.cjs153.js +1 -1
- package/dist/index.cjs154.js +1 -1
- package/dist/index.cjs155.js +1 -1
- package/dist/index.cjs156.js +1 -1
- package/dist/index.cjs157.js +1 -1
- package/dist/index.cjs158.js +1 -1
- package/dist/index.cjs159.js +1 -1
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs160.js +1 -1
- package/dist/index.cjs163.js +1 -1
- package/dist/index.cjs164.js +1 -1
- package/dist/index.cjs166.js +1 -1
- package/dist/index.cjs167.js +1 -1
- package/dist/index.cjs168.js +1 -1
- package/dist/index.cjs169.js +1 -1
- package/dist/index.cjs17.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.cjs18.js +1 -1
- package/dist/index.cjs180.js +1 -1
- package/dist/index.cjs181.js +1 -1
- package/dist/index.cjs182.js +1 -1
- package/dist/index.cjs183.js +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.cjs19.js +1 -1
- package/dist/index.cjs190.js +1 -1
- package/dist/index.cjs190.js.map +1 -1
- package/dist/index.cjs191.js +1 -1
- package/dist/index.cjs191.js.map +1 -1
- package/dist/index.cjs192.js +1 -1
- package/dist/index.cjs192.js.map +1 -1
- package/dist/index.cjs193.js +1 -1
- package/dist/index.cjs193.js.map +1 -1
- package/dist/index.cjs194.js +1 -1
- package/dist/index.cjs194.js.map +1 -1
- package/dist/index.cjs195.js +1 -1
- package/dist/index.cjs195.js.map +1 -1
- package/dist/index.cjs196.js +1 -1
- package/dist/index.cjs196.js.map +1 -1
- package/dist/index.cjs197.js +1 -1
- package/dist/index.cjs197.js.map +1 -1
- package/dist/index.cjs198.js +1 -1
- package/dist/index.cjs198.js.map +1 -1
- package/dist/index.cjs199.js +1 -1
- package/dist/index.cjs199.js.map +1 -1
- package/dist/index.cjs20.js +1 -1
- package/dist/index.cjs200.js +1 -1
- package/dist/index.cjs200.js.map +1 -1
- package/dist/index.cjs201.js +1 -1
- package/dist/index.cjs201.js.map +1 -1
- package/dist/index.cjs202.js +1 -1
- package/dist/index.cjs202.js.map +1 -1
- package/dist/index.cjs203.js +1 -1
- package/dist/index.cjs203.js.map +1 -1
- package/dist/index.cjs204.js +1 -1
- package/dist/index.cjs204.js.map +1 -1
- package/dist/index.cjs205.js +1 -1
- package/dist/index.cjs205.js.map +1 -1
- package/dist/index.cjs206.js +1 -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.cjs21.js +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.cjs22.js +1 -1
- package/dist/index.cjs220.js +1 -1
- package/dist/index.cjs220.js.map +1 -1
- package/dist/index.cjs221.js +1 -1
- package/dist/index.cjs221.js.map +1 -1
- package/dist/index.cjs222.js +1 -1
- package/dist/index.cjs222.js.map +1 -1
- package/dist/index.cjs223.js +1 -1
- package/dist/index.cjs223.js.map +1 -1
- package/dist/index.cjs224.js +1 -1
- package/dist/index.cjs224.js.map +1 -1
- package/dist/index.cjs225.js +1 -1
- package/dist/index.cjs225.js.map +1 -1
- package/dist/index.cjs226.js +1 -1
- package/dist/index.cjs226.js.map +1 -1
- package/dist/index.cjs227.js +1 -1
- package/dist/index.cjs227.js.map +1 -1
- package/dist/index.cjs228.js +1 -1
- package/dist/index.cjs228.js.map +1 -1
- package/dist/index.cjs229.js +1 -1
- package/dist/index.cjs229.js.map +1 -1
- package/dist/index.cjs23.js +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 +7 -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.cjs24.js +1 -1
- package/dist/index.cjs240.js +1 -1
- package/dist/index.cjs241.js +1 -7
- 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.cjs244.js +1 -1
- package/dist/index.cjs247.js +1 -1
- package/dist/index.cjs253.js +1 -1
- package/dist/index.cjs259.js +1 -1
- package/dist/index.cjs264.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs28.js +1 -1
- package/dist/index.cjs29.js +1 -1
- package/dist/index.cjs31.js +1 -1
- package/dist/index.cjs37.js +1 -1
- package/dist/index.cjs39.js +1 -1
- package/dist/index.cjs41.js +1 -1
- package/dist/index.cjs42.js +1 -1
- package/dist/index.cjs43.js +1 -1
- package/dist/index.cjs45.js +1 -1
- package/dist/index.cjs46.js +1 -1
- package/dist/index.cjs47.js +1 -1
- package/dist/index.cjs49.js +1 -1
- package/dist/index.cjs50.js +1 -1
- package/dist/index.cjs51.js +1 -1
- package/dist/index.cjs55.js +1 -1
- package/dist/index.cjs56.js +1 -1
- package/dist/index.cjs57.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.cjs68.js +1 -1
- package/dist/index.cjs70.js +1 -1
- package/dist/index.cjs71.js +1 -743
- package/dist/index.cjs71.js.map +1 -1
- package/dist/index.cjs72.js +1 -1
- package/dist/index.cjs73.js +1 -1
- package/dist/index.cjs73.js.map +1 -1
- package/dist/index.cjs74.js +1 -1
- package/dist/index.cjs74.js.map +1 -1
- package/dist/index.cjs76.js +9 -1
- package/dist/index.cjs76.js.map +1 -1
- package/dist/index.cjs77.js +17 -1
- package/dist/index.cjs77.js.map +1 -1
- package/dist/index.cjs78.js +743 -9
- package/dist/index.cjs78.js.map +1 -1
- package/dist/index.cjs79.js +1 -17
- package/dist/index.cjs79.js.map +1 -1
- package/dist/index.cjs85.js +1 -1
- package/dist/index.cjs92.js +1 -1
- package/dist/index.cjs93.js +1 -1
- package/dist/index.cjs94.js +1 -1
- package/dist/index.cjs95.js +1 -1
- package/dist/index.cjs96.js +1 -1
- package/dist/index.cjs97.js +1 -1
- package/dist/index.cjs98.js +1 -1
- package/dist/index.cjs99.js +1 -1
- package/dist/index.es100.js +1 -1
- package/dist/index.es103.js +1 -1
- package/dist/index.es104.js +1 -1
- package/dist/index.es106.js +3 -3
- package/dist/index.es107.js +1 -1
- package/dist/index.es108.js +2 -2
- package/dist/index.es109.js +1 -1
- package/dist/index.es114.js +1 -1
- package/dist/index.es115.js +1 -1
- package/dist/index.es116.js +1 -1
- package/dist/index.es117.js +1 -1
- package/dist/index.es120.js +2 -2
- package/dist/index.es121.js +2 -2
- package/dist/index.es122.js +1 -1
- package/dist/index.es126.js +2 -2
- package/dist/index.es129.js +1 -1
- package/dist/index.es133.js +1 -1
- package/dist/index.es136.js +1 -1
- package/dist/index.es14.js +2 -2
- package/dist/index.es144.js +1 -1
- package/dist/index.es145.js +1 -1
- package/dist/index.es146.js +1 -1
- package/dist/index.es147.js +2 -2
- package/dist/index.es148.js +1 -1
- package/dist/index.es149.js +1 -1
- package/dist/index.es15.js +4 -4
- package/dist/index.es150.js +1 -1
- package/dist/index.es152.js +2 -2
- package/dist/index.es153.js +2 -2
- package/dist/index.es154.js +1 -1
- package/dist/index.es155.js +1 -1
- package/dist/index.es156.js +1 -1
- package/dist/index.es157.js +1 -1
- package/dist/index.es158.js +2 -2
- package/dist/index.es159.js +2 -2
- package/dist/index.es16.js +3 -3
- package/dist/index.es160.js +1 -1
- package/dist/index.es163.js +2 -2
- package/dist/index.es164.js +2 -2
- package/dist/index.es166.js +2 -2
- package/dist/index.es167.js +1 -1
- package/dist/index.es168.js +2 -2
- package/dist/index.es169.js +1 -1
- package/dist/index.es17.js +3 -3
- 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 +1 -1
- package/dist/index.es18.js +1 -1
- package/dist/index.es180.js +2 -2
- package/dist/index.es181.js +1 -1
- package/dist/index.es182.js +1 -1
- package/dist/index.es183.js +1 -1
- package/dist/index.es186.js +144 -239
- package/dist/index.es186.js.map +1 -1
- package/dist/index.es187.js +6 -42
- package/dist/index.es187.js.map +1 -1
- package/dist/index.es188.js +5 -3
- package/dist/index.es188.js.map +1 -1
- package/dist/index.es189.js +3 -13
- package/dist/index.es189.js.map +1 -1
- package/dist/index.es19.js +1 -1
- package/dist/index.es190.js +3 -13
- package/dist/index.es190.js.map +1 -1
- package/dist/index.es191.js +33 -28
- package/dist/index.es191.js.map +1 -1
- package/dist/index.es192.js +3 -16
- package/dist/index.es192.js.map +1 -1
- package/dist/index.es193.js +22 -4
- package/dist/index.es193.js.map +1 -1
- package/dist/index.es194.js +2 -10
- package/dist/index.es194.js.map +1 -1
- package/dist/index.es195.js +3 -7
- package/dist/index.es195.js.map +1 -1
- package/dist/index.es196.js +2 -6
- package/dist/index.es196.js.map +1 -1
- package/dist/index.es197.js +31 -3
- package/dist/index.es197.js.map +1 -1
- package/dist/index.es198.js +13 -3
- package/dist/index.es198.js.map +1 -1
- package/dist/index.es199.js +13 -8
- package/dist/index.es199.js.map +1 -1
- package/dist/index.es20.js +1 -1
- package/dist/index.es200.js +8 -18
- package/dist/index.es200.js.map +1 -1
- package/dist/index.es201.js +241 -19
- package/dist/index.es201.js.map +1 -1
- package/dist/index.es202.js +41 -11
- package/dist/index.es202.js.map +1 -1
- package/dist/index.es203.js +3 -15
- package/dist/index.es203.js.map +1 -1
- package/dist/index.es204.js +10 -5
- package/dist/index.es204.js.map +1 -1
- package/dist/index.es205.js +9 -6
- package/dist/index.es205.js.map +1 -1
- package/dist/index.es206.js +30 -6
- package/dist/index.es206.js.map +1 -1
- package/dist/index.es207.js +13 -21
- package/dist/index.es207.js.map +1 -1
- package/dist/index.es208.js +4 -9
- package/dist/index.es208.js.map +1 -1
- package/dist/index.es209.js +8 -9
- package/dist/index.es209.js.map +1 -1
- package/dist/index.es21.js +1 -1
- package/dist/index.es210.js +5 -4
- package/dist/index.es210.js.map +1 -1
- package/dist/index.es211.js +4 -11
- package/dist/index.es211.js.map +1 -1
- package/dist/index.es212.js +3 -8
- package/dist/index.es212.js.map +1 -1
- package/dist/index.es213.js +3 -21
- package/dist/index.es213.js.map +1 -1
- package/dist/index.es214.js +8 -10
- package/dist/index.es214.js.map +1 -1
- package/dist/index.es215.js +17 -16
- package/dist/index.es215.js.map +1 -1
- package/dist/index.es216.js +21 -4
- package/dist/index.es216.js.map +1 -1
- package/dist/index.es217.js +11 -16
- package/dist/index.es217.js.map +1 -1
- package/dist/index.es218.js +13 -10
- package/dist/index.es218.js.map +1 -1
- package/dist/index.es219.js +5 -3
- package/dist/index.es219.js.map +1 -1
- package/dist/index.es22.js +1 -1
- package/dist/index.es220.js +7 -4
- package/dist/index.es220.js.map +1 -1
- package/dist/index.es221.js +6 -147
- package/dist/index.es221.js.map +1 -1
- package/dist/index.es222.js +21 -6
- package/dist/index.es222.js.map +1 -1
- package/dist/index.es223.js +10 -5
- package/dist/index.es223.js.map +1 -1
- package/dist/index.es224.js +11 -3
- package/dist/index.es224.js.map +1 -1
- package/dist/index.es225.js +6 -3
- package/dist/index.es225.js.map +1 -1
- package/dist/index.es226.js +10 -35
- package/dist/index.es226.js.map +1 -1
- package/dist/index.es227.js +10 -3
- package/dist/index.es227.js.map +1 -1
- package/dist/index.es228.js +20 -22
- package/dist/index.es228.js.map +1 -1
- package/dist/index.es229.js +13 -2
- package/dist/index.es229.js.map +1 -1
- package/dist/index.es23.js +1 -1
- package/dist/index.es230.js +20 -3
- package/dist/index.es230.js.map +1 -1
- package/dist/index.es231.js +6 -2
- package/dist/index.es231.js.map +1 -1
- package/dist/index.es232.js +16 -29
- package/dist/index.es232.js.map +1 -1
- package/dist/index.es233.js +12 -13
- package/dist/index.es233.js.map +1 -1
- package/dist/index.es234.js +3 -13
- package/dist/index.es234.js.map +1 -1
- package/dist/index.es235.js +4 -8
- package/dist/index.es235.js.map +1 -1
- package/dist/index.es236.js +7506 -5
- package/dist/index.es236.js.map +1 -1
- package/dist/index.es237.js +2 -8
- package/dist/index.es237.js.map +1 -1
- package/dist/index.es238.js +1 -1
- package/dist/index.es24.js +1 -1
- package/dist/index.es240.js +1 -1
- package/dist/index.es241.js +7 -7506
- package/dist/index.es241.js.map +1 -1
- package/dist/index.es242.js +6 -2
- package/dist/index.es242.js.map +1 -1
- package/dist/index.es244.js +1 -1
- package/dist/index.es247.js +1 -1
- package/dist/index.es253.js +2 -2
- package/dist/index.es259.js +1 -1
- package/dist/index.es264.js +2 -2
- package/dist/index.es27.js +1 -1
- package/dist/index.es28.js +2 -2
- package/dist/index.es29.js +2 -2
- package/dist/index.es31.js +2 -2
- package/dist/index.es37.js +1 -1
- package/dist/index.es39.js +2 -2
- package/dist/index.es41.js +2 -2
- package/dist/index.es42.js +2 -2
- package/dist/index.es43.js +2 -2
- package/dist/index.es45.js +1 -1
- package/dist/index.es46.js +2 -2
- package/dist/index.es47.js +2 -2
- package/dist/index.es49.js +1 -1
- package/dist/index.es50.js +1 -1
- package/dist/index.es51.js +1 -1
- package/dist/index.es55.js +2 -2
- package/dist/index.es56.js +3 -3
- package/dist/index.es57.js +1 -1
- package/dist/index.es59.js +1 -1
- package/dist/index.es60.js +1 -1
- package/dist/index.es62.js +1 -1
- package/dist/index.es68.js +1 -1
- package/dist/index.es70.js +15 -15
- package/dist/index.es71.js +1954 -21313
- package/dist/index.es71.js.map +1 -1
- package/dist/index.es72.js +6 -2
- package/dist/index.es72.js.map +1 -1
- package/dist/index.es73.js +2 -1993
- package/dist/index.es73.js.map +1 -1
- package/dist/index.es74.js +7 -5
- package/dist/index.es74.js.map +1 -1
- package/dist/index.es75.js +2 -2
- package/dist/index.es76.js +25 -7
- package/dist/index.es76.js.map +1 -1
- package/dist/index.es77.js +589 -2
- package/dist/index.es77.js.map +1 -1
- package/dist/index.es78.js +21351 -25
- package/dist/index.es78.js.map +1 -1
- package/dist/index.es79.js +2 -589
- package/dist/index.es79.js.map +1 -1
- package/dist/index.es85.js +1 -1
- package/dist/index.es92.js +1 -1
- package/dist/index.es93.js +1 -1
- package/dist/index.es94.js +1 -1
- package/dist/index.es95.js +1 -1
- package/dist/index.es96.js +1 -1
- package/dist/index.es97.js +1 -1
- package/dist/index.es98.js +1 -1
- package/dist/index.es99.js +1 -1
- package/package.json +1 -1
package/dist/index.es221.js
CHANGED
|
@@ -1,151 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
var n = 0, g = 0;
|
|
7
|
-
if (u = h ? s.geometries[M] : s, u !== null) {
|
|
8
|
-
t = u.coordinates;
|
|
9
|
-
var v = u.type;
|
|
10
|
-
switch (y = 0, v) {
|
|
11
|
-
case null:
|
|
12
|
-
break;
|
|
13
|
-
case "Point":
|
|
14
|
-
if (o(
|
|
15
|
-
t,
|
|
16
|
-
l,
|
|
17
|
-
P,
|
|
18
|
-
n,
|
|
19
|
-
g
|
|
20
|
-
) === !1)
|
|
21
|
-
return !1;
|
|
22
|
-
l++, n++;
|
|
23
|
-
break;
|
|
24
|
-
case "LineString":
|
|
25
|
-
case "MultiPoint":
|
|
26
|
-
for (r = 0; r < t.length; r++) {
|
|
27
|
-
if (o(
|
|
28
|
-
t[r],
|
|
29
|
-
l,
|
|
30
|
-
P,
|
|
31
|
-
n,
|
|
32
|
-
g
|
|
33
|
-
) === !1)
|
|
34
|
-
return !1;
|
|
35
|
-
l++, v === "MultiPoint" && n++;
|
|
36
|
-
}
|
|
37
|
-
v === "LineString" && n++;
|
|
38
|
-
break;
|
|
39
|
-
case "Polygon":
|
|
40
|
-
case "MultiLineString":
|
|
41
|
-
for (r = 0; r < t.length; r++) {
|
|
42
|
-
for (i = 0; i < t[r].length - y; i++) {
|
|
43
|
-
if (o(
|
|
44
|
-
t[r][i],
|
|
45
|
-
l,
|
|
46
|
-
P,
|
|
47
|
-
n,
|
|
48
|
-
g
|
|
49
|
-
) === !1)
|
|
50
|
-
return !1;
|
|
51
|
-
l++;
|
|
52
|
-
}
|
|
53
|
-
v === "MultiLineString" && n++, v === "Polygon" && g++;
|
|
54
|
-
}
|
|
55
|
-
v === "Polygon" && n++;
|
|
56
|
-
break;
|
|
57
|
-
case "MultiPolygon":
|
|
58
|
-
for (r = 0; r < t.length; r++) {
|
|
59
|
-
for (g = 0, i = 0; i < t[r].length; i++) {
|
|
60
|
-
for (a = 0; a < t[r][i].length - y; a++) {
|
|
61
|
-
if (o(
|
|
62
|
-
t[r][i][a],
|
|
63
|
-
l,
|
|
64
|
-
P,
|
|
65
|
-
n,
|
|
66
|
-
g
|
|
67
|
-
) === !1)
|
|
68
|
-
return !1;
|
|
69
|
-
l++;
|
|
70
|
-
}
|
|
71
|
-
g++;
|
|
72
|
-
}
|
|
73
|
-
n++;
|
|
74
|
-
}
|
|
75
|
-
break;
|
|
76
|
-
case "GeometryCollection":
|
|
77
|
-
for (r = 0; r < u.geometries.length; r++)
|
|
78
|
-
if (b(u.geometries[r], o) === !1)
|
|
79
|
-
return !1;
|
|
80
|
-
break;
|
|
81
|
-
default:
|
|
82
|
-
throw new Error("Unknown Geometry Type");
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
function S(e, o) {
|
|
89
|
-
if (e.type === "Feature")
|
|
90
|
-
o(e, 0);
|
|
91
|
-
else if (e.type === "FeatureCollection")
|
|
92
|
-
for (var f = 0; f < e.features.length && o(e.features[f], f) !== !1; f++)
|
|
93
|
-
;
|
|
94
|
-
}
|
|
95
|
-
function k(e, o) {
|
|
96
|
-
var f, r, i, a, u, c, t, s, y, l, h = 0, p = e.type === "FeatureCollection", C = e.type === "Feature", G = p ? e.features.length : 1;
|
|
97
|
-
for (f = 0; f < G; f++) {
|
|
98
|
-
for (c = p ? e.features[f].geometry : C ? e.geometry : e, s = p ? e.features[f].properties : C ? e.properties : {}, y = p ? e.features[f].bbox : C ? e.bbox : void 0, l = p ? e.features[f].id : C ? e.id : void 0, t = c ? c.type === "GeometryCollection" : !1, u = t ? c.geometries.length : 1, i = 0; i < u; i++) {
|
|
99
|
-
if (a = t ? c.geometries[i] : c, a === null) {
|
|
100
|
-
if (o(
|
|
101
|
-
null,
|
|
102
|
-
h,
|
|
103
|
-
s,
|
|
104
|
-
y,
|
|
105
|
-
l
|
|
106
|
-
) === !1)
|
|
107
|
-
return !1;
|
|
108
|
-
continue;
|
|
109
|
-
}
|
|
110
|
-
switch (a.type) {
|
|
111
|
-
case "Point":
|
|
112
|
-
case "LineString":
|
|
113
|
-
case "MultiPoint":
|
|
114
|
-
case "Polygon":
|
|
115
|
-
case "MultiLineString":
|
|
116
|
-
case "MultiPolygon": {
|
|
117
|
-
if (o(
|
|
118
|
-
a,
|
|
119
|
-
h,
|
|
120
|
-
s,
|
|
121
|
-
y,
|
|
122
|
-
l
|
|
123
|
-
) === !1)
|
|
124
|
-
return !1;
|
|
125
|
-
break;
|
|
126
|
-
}
|
|
127
|
-
case "GeometryCollection": {
|
|
128
|
-
for (r = 0; r < a.geometries.length; r++)
|
|
129
|
-
if (o(
|
|
130
|
-
a.geometries[r],
|
|
131
|
-
h,
|
|
132
|
-
s,
|
|
133
|
-
y,
|
|
134
|
-
l
|
|
135
|
-
) === !1)
|
|
136
|
-
return !1;
|
|
137
|
-
break;
|
|
138
|
-
}
|
|
139
|
-
default:
|
|
140
|
-
throw new Error("Unknown Geometry Type");
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
h++;
|
|
144
|
-
}
|
|
1
|
+
import t from "./index.es40.js";
|
|
2
|
+
import o from "./index.es226.js";
|
|
3
|
+
import a from "./index.es45.js";
|
|
4
|
+
function n(e, r, i) {
|
|
5
|
+
return t.iteratee !== a ? t.iteratee(e, r) : o(e, r, i);
|
|
145
6
|
}
|
|
146
7
|
export {
|
|
147
|
-
|
|
148
|
-
S as featureEach,
|
|
149
|
-
k as geomEach
|
|
8
|
+
n as default
|
|
150
9
|
};
|
|
151
10
|
//# sourceMappingURL=index.es221.js.map
|
package/dist/index.es221.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es221.js","sources":["../../../node_modules/@turf/meta/dist/esm/index.js"],"sourcesContent":["// index.js\nimport { feature, point, lineString, isObject } from \"@turf/helpers\";\nfunction coordEach(geojson, callback, excludeWrapCoord) {\n if (geojson === null) return;\n var j, k, l, geometry, stopG, coords, geometryMaybeCollection, wrapShrink = 0, coordIndex = 0, isGeometryCollection, type = geojson.type, isFeatureCollection = type === \"FeatureCollection\", isFeature = type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (var featureIndex = 0; featureIndex < stop; featureIndex++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[featureIndex].geometry : isFeature ? geojson.geometry : geojson;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (var geomIndex = 0; geomIndex < stopG; geomIndex++) {\n var multiFeatureIndex = 0;\n var geometryIndex = 0;\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[geomIndex] : geometryMaybeCollection;\n if (geometry === null) continue;\n coords = geometry.coordinates;\n var geomType = geometry.type;\n wrapShrink = excludeWrapCoord && (geomType === \"Polygon\" || geomType === \"MultiPolygon\") ? 1 : 0;\n switch (geomType) {\n case null:\n break;\n case \"Point\":\n if (callback(\n coords,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n multiFeatureIndex++;\n break;\n case \"LineString\":\n case \"MultiPoint\":\n for (j = 0; j < coords.length; j++) {\n if (callback(\n coords[j],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n if (geomType === \"MultiPoint\") multiFeatureIndex++;\n }\n if (geomType === \"LineString\") multiFeatureIndex++;\n break;\n case \"Polygon\":\n case \"MultiLineString\":\n for (j = 0; j < coords.length; j++) {\n for (k = 0; k < coords[j].length - wrapShrink; k++) {\n if (callback(\n coords[j][k],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n if (geomType === \"MultiLineString\") multiFeatureIndex++;\n if (geomType === \"Polygon\") geometryIndex++;\n }\n if (geomType === \"Polygon\") multiFeatureIndex++;\n break;\n case \"MultiPolygon\":\n for (j = 0; j < coords.length; j++) {\n geometryIndex = 0;\n for (k = 0; k < coords[j].length; k++) {\n for (l = 0; l < coords[j][k].length - wrapShrink; l++) {\n if (callback(\n coords[j][k][l],\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n coordIndex++;\n }\n geometryIndex++;\n }\n multiFeatureIndex++;\n }\n break;\n case \"GeometryCollection\":\n for (j = 0; j < geometry.geometries.length; j++)\n if (coordEach(geometry.geometries[j], callback, excludeWrapCoord) === false)\n return false;\n break;\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n }\n}\nfunction coordReduce(geojson, callback, initialValue, excludeWrapCoord) {\n var previousValue = initialValue;\n coordEach(\n geojson,\n function(currentCoord, coordIndex, featureIndex, multiFeatureIndex, geometryIndex) {\n if (coordIndex === 0 && initialValue === void 0)\n previousValue = currentCoord;\n else\n previousValue = callback(\n previousValue,\n currentCoord,\n coordIndex,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n },\n excludeWrapCoord\n );\n return previousValue;\n}\nfunction propEach(geojson, callback) {\n var i;\n switch (geojson.type) {\n case \"FeatureCollection\":\n for (i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i].properties, i) === false) break;\n }\n break;\n case \"Feature\":\n callback(geojson.properties, 0);\n break;\n }\n}\nfunction propReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n propEach(geojson, function(currentProperties, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentProperties;\n else\n previousValue = callback(previousValue, currentProperties, featureIndex);\n });\n return previousValue;\n}\nfunction featureEach(geojson, callback) {\n if (geojson.type === \"Feature\") {\n callback(geojson, 0);\n } else if (geojson.type === \"FeatureCollection\") {\n for (var i = 0; i < geojson.features.length; i++) {\n if (callback(geojson.features[i], i) === false) break;\n }\n }\n}\nfunction featureReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n featureEach(geojson, function(currentFeature, featureIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else previousValue = callback(previousValue, currentFeature, featureIndex);\n });\n return previousValue;\n}\nfunction coordAll(geojson) {\n var coords = [];\n coordEach(geojson, function(coord) {\n coords.push(coord);\n });\n return coords;\n}\nfunction geomEach(geojson, callback) {\n var i, j, g, geometry, stopG, geometryMaybeCollection, isGeometryCollection, featureProperties, featureBBox, featureId, featureIndex = 0, isFeatureCollection = geojson.type === \"FeatureCollection\", isFeature = geojson.type === \"Feature\", stop = isFeatureCollection ? geojson.features.length : 1;\n for (i = 0; i < stop; i++) {\n geometryMaybeCollection = isFeatureCollection ? geojson.features[i].geometry : isFeature ? geojson.geometry : geojson;\n featureProperties = isFeatureCollection ? geojson.features[i].properties : isFeature ? geojson.properties : {};\n featureBBox = isFeatureCollection ? geojson.features[i].bbox : isFeature ? geojson.bbox : void 0;\n featureId = isFeatureCollection ? geojson.features[i].id : isFeature ? geojson.id : void 0;\n isGeometryCollection = geometryMaybeCollection ? geometryMaybeCollection.type === \"GeometryCollection\" : false;\n stopG = isGeometryCollection ? geometryMaybeCollection.geometries.length : 1;\n for (g = 0; g < stopG; g++) {\n geometry = isGeometryCollection ? geometryMaybeCollection.geometries[g] : geometryMaybeCollection;\n if (geometry === null) {\n if (callback(\n null,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n continue;\n }\n switch (geometry.type) {\n case \"Point\":\n case \"LineString\":\n case \"MultiPoint\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\": {\n if (callback(\n geometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n break;\n }\n case \"GeometryCollection\": {\n for (j = 0; j < geometry.geometries.length; j++) {\n if (callback(\n geometry.geometries[j],\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n ) === false)\n return false;\n }\n break;\n }\n default:\n throw new Error(\"Unknown Geometry Type\");\n }\n }\n featureIndex++;\n }\n}\nfunction geomReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n geomEach(\n geojson,\n function(currentGeometry, featureIndex, featureProperties, featureBBox, featureId) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentGeometry;\n else\n previousValue = callback(\n previousValue,\n currentGeometry,\n featureIndex,\n featureProperties,\n featureBBox,\n featureId\n );\n }\n );\n return previousValue;\n}\nfunction flattenEach(geojson, callback) {\n geomEach(geojson, function(geometry, featureIndex, properties, bbox, id) {\n var type = geometry === null ? null : geometry.type;\n switch (type) {\n case null:\n case \"Point\":\n case \"LineString\":\n case \"Polygon\":\n if (callback(\n feature(geometry, properties, { bbox, id }),\n featureIndex,\n 0\n ) === false)\n return false;\n return;\n }\n var geomType;\n switch (type) {\n case \"MultiPoint\":\n geomType = \"Point\";\n break;\n case \"MultiLineString\":\n geomType = \"LineString\";\n break;\n case \"MultiPolygon\":\n geomType = \"Polygon\";\n break;\n }\n for (var multiFeatureIndex = 0; multiFeatureIndex < geometry.coordinates.length; multiFeatureIndex++) {\n var coordinate = geometry.coordinates[multiFeatureIndex];\n var geom = {\n type: geomType,\n coordinates: coordinate\n };\n if (callback(feature(geom, properties), featureIndex, multiFeatureIndex) === false)\n return false;\n }\n });\n}\nfunction flattenReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n flattenEach(\n geojson,\n function(currentFeature, featureIndex, multiFeatureIndex) {\n if (featureIndex === 0 && multiFeatureIndex === 0 && initialValue === void 0)\n previousValue = currentFeature;\n else\n previousValue = callback(\n previousValue,\n currentFeature,\n featureIndex,\n multiFeatureIndex\n );\n }\n );\n return previousValue;\n}\nfunction segmentEach(geojson, callback) {\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n var segmentIndex = 0;\n if (!feature2.geometry) return;\n var type = feature2.geometry.type;\n if (type === \"Point\" || type === \"MultiPoint\") return;\n var previousCoords;\n var previousFeatureIndex = 0;\n var previousMultiIndex = 0;\n var prevGeomIndex = 0;\n if (coordEach(\n feature2,\n function(currentCoord, coordIndex, featureIndexCoord, multiPartIndexCoord, geometryIndex) {\n if (previousCoords === void 0 || featureIndex > previousFeatureIndex || multiPartIndexCoord > previousMultiIndex || geometryIndex > prevGeomIndex) {\n previousCoords = currentCoord;\n previousFeatureIndex = featureIndex;\n previousMultiIndex = multiPartIndexCoord;\n prevGeomIndex = geometryIndex;\n segmentIndex = 0;\n return;\n }\n var currentSegment = lineString(\n [previousCoords, currentCoord],\n feature2.properties\n );\n if (callback(\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n ) === false)\n return false;\n segmentIndex++;\n previousCoords = currentCoord;\n }\n ) === false)\n return false;\n });\n}\nfunction segmentReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n var started = false;\n segmentEach(\n geojson,\n function(currentSegment, featureIndex, multiFeatureIndex, geometryIndex, segmentIndex) {\n if (started === false && initialValue === void 0)\n previousValue = currentSegment;\n else\n previousValue = callback(\n previousValue,\n currentSegment,\n featureIndex,\n multiFeatureIndex,\n geometryIndex,\n segmentIndex\n );\n started = true;\n }\n );\n return previousValue;\n}\nfunction lineEach(geojson, callback) {\n if (!geojson) throw new Error(\"geojson is required\");\n flattenEach(geojson, function(feature2, featureIndex, multiFeatureIndex) {\n if (feature2.geometry === null) return;\n var type = feature2.geometry.type;\n var coords = feature2.geometry.coordinates;\n switch (type) {\n case \"LineString\":\n if (callback(feature2, featureIndex, multiFeatureIndex, 0, 0) === false)\n return false;\n break;\n case \"Polygon\":\n for (var geometryIndex = 0; geometryIndex < coords.length; geometryIndex++) {\n if (callback(\n lineString(coords[geometryIndex], feature2.properties),\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n ) === false)\n return false;\n }\n break;\n }\n });\n}\nfunction lineReduce(geojson, callback, initialValue) {\n var previousValue = initialValue;\n lineEach(\n geojson,\n function(currentLine, featureIndex, multiFeatureIndex, geometryIndex) {\n if (featureIndex === 0 && initialValue === void 0)\n previousValue = currentLine;\n else\n previousValue = callback(\n previousValue,\n currentLine,\n featureIndex,\n multiFeatureIndex,\n geometryIndex\n );\n }\n );\n return previousValue;\n}\nfunction findSegment(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var segmentIndex = options.segmentIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n if (segmentIndex < 0) segmentIndex = coords.length + segmentIndex - 1;\n return lineString(\n [coords[segmentIndex], coords[segmentIndex + 1]],\n properties,\n options\n );\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[geometryIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[geometryIndex][segmentIndex],\n coords[geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex].length + segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][segmentIndex],\n coords[multiFeatureIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (segmentIndex < 0)\n segmentIndex = coords[multiFeatureIndex][geometryIndex].length - segmentIndex - 1;\n return lineString(\n [\n coords[multiFeatureIndex][geometryIndex][segmentIndex],\n coords[multiFeatureIndex][geometryIndex][segmentIndex + 1]\n ],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nfunction findPoint(geojson, options) {\n options = options || {};\n if (!isObject(options)) throw new Error(\"options is invalid\");\n var featureIndex = options.featureIndex || 0;\n var multiFeatureIndex = options.multiFeatureIndex || 0;\n var geometryIndex = options.geometryIndex || 0;\n var coordIndex = options.coordIndex || 0;\n var properties = options.properties;\n var geometry;\n switch (geojson.type) {\n case \"FeatureCollection\":\n if (featureIndex < 0)\n featureIndex = geojson.features.length + featureIndex;\n properties = properties || geojson.features[featureIndex].properties;\n geometry = geojson.features[featureIndex].geometry;\n break;\n case \"Feature\":\n properties = properties || geojson.properties;\n geometry = geojson.geometry;\n break;\n case \"Point\":\n case \"MultiPoint\":\n return null;\n case \"LineString\":\n case \"Polygon\":\n case \"MultiLineString\":\n case \"MultiPolygon\":\n geometry = geojson;\n break;\n default:\n throw new Error(\"geojson is invalid\");\n }\n if (geometry === null) return null;\n var coords = geometry.coordinates;\n switch (geometry.type) {\n case \"Point\":\n return point(coords, properties, options);\n case \"MultiPoint\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n return point(coords[multiFeatureIndex], properties, options);\n case \"LineString\":\n if (coordIndex < 0) coordIndex = coords.length + coordIndex;\n return point(coords[coordIndex], properties, options);\n case \"Polygon\":\n if (geometryIndex < 0) geometryIndex = coords.length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[geometryIndex].length + coordIndex;\n return point(coords[geometryIndex][coordIndex], properties, options);\n case \"MultiLineString\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex].length + coordIndex;\n return point(coords[multiFeatureIndex][coordIndex], properties, options);\n case \"MultiPolygon\":\n if (multiFeatureIndex < 0)\n multiFeatureIndex = coords.length + multiFeatureIndex;\n if (geometryIndex < 0)\n geometryIndex = coords[multiFeatureIndex].length + geometryIndex;\n if (coordIndex < 0)\n coordIndex = coords[multiFeatureIndex][geometryIndex].length - coordIndex;\n return point(\n coords[multiFeatureIndex][geometryIndex][coordIndex],\n properties,\n options\n );\n }\n throw new Error(\"geojson is invalid\");\n}\nexport {\n coordAll,\n coordEach,\n coordReduce,\n featureEach,\n featureReduce,\n findPoint,\n findSegment,\n flattenEach,\n flattenReduce,\n geomEach,\n geomReduce,\n lineEach,\n lineReduce,\n propEach,\n propReduce,\n segmentEach,\n segmentReduce\n};\n//# sourceMappingURL=index.js.map"],"names":["coordEach","geojson","callback","excludeWrapCoord","j","k","l","geometry","stopG","coords","geometryMaybeCollection","wrapShrink","coordIndex","isGeometryCollection","type","isFeatureCollection","isFeature","stop","featureIndex","geomIndex","multiFeatureIndex","geometryIndex","geomType","featureEach","i","geomEach","g","featureProperties","featureBBox","featureId"],"mappings":"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","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index.es221.js","sources":["../node_modules/underscore/modules/_cb.js"],"sourcesContent":["import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\nimport iteratee from './iteratee.js';\n\n// The function we call internally to generate a callback. It invokes\n// `_.iteratee` if overridden, otherwise `baseIteratee`.\nexport default function cb(value, context, argCount) {\n if (_.iteratee !== iteratee) return _.iteratee(value, context);\n return baseIteratee(value, context, argCount);\n}\n"],"names":["cb","value","context","argCount","_","iteratee","baseIteratee"],"mappings":";;;AAMA,SAAwBA,EAAGC,GAAOC,GAASC,GAAU;AACnD,SAAIC,EAAE,aAAaC,IAAiBD,EAAE,SAASH,GAAOC,CAAO,IACtDI,EAAaL,GAAOC,GAASC,CAAQ;AAC9C;","x_google_ignoreList":[0]}
|
package/dist/index.es222.js
CHANGED
|
@@ -1,10 +1,25 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
function a(r, e, l) {
|
|
2
|
+
if (e === void 0) return r;
|
|
3
|
+
switch (l ?? 3) {
|
|
4
|
+
case 1:
|
|
5
|
+
return function(n) {
|
|
6
|
+
return r.call(e, n);
|
|
7
|
+
};
|
|
8
|
+
// The 2-argument case is omitted because we’re not using it.
|
|
9
|
+
case 3:
|
|
10
|
+
return function(n, u, i) {
|
|
11
|
+
return r.call(e, n, u, i);
|
|
12
|
+
};
|
|
13
|
+
case 4:
|
|
14
|
+
return function(n, u, i, t) {
|
|
15
|
+
return r.call(e, n, u, i, t);
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
return function() {
|
|
19
|
+
return r.apply(e, arguments);
|
|
20
|
+
};
|
|
6
21
|
}
|
|
7
22
|
export {
|
|
8
|
-
|
|
23
|
+
a as default
|
|
9
24
|
};
|
|
10
25
|
//# sourceMappingURL=index.es222.js.map
|
package/dist/index.es222.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es222.js","sources":["../node_modules
|
|
1
|
+
{"version":3,"file":"index.es222.js","sources":["../node_modules/underscore/modules/_optimizeCb.js"],"sourcesContent":["// Internal function that returns an efficient (for current engines) version\n// of the passed-in callback, to be repeatedly applied in other Underscore\n// functions.\nexport default function optimizeCb(func, context, argCount) {\n if (context === void 0) return func;\n switch (argCount == null ? 3 : argCount) {\n case 1: return function(value) {\n return func.call(context, value);\n };\n // The 2-argument case is omitted because we’re not using it.\n case 3: return function(value, index, collection) {\n return func.call(context, value, index, collection);\n };\n case 4: return function(accumulator, value, index, collection) {\n return func.call(context, accumulator, value, index, collection);\n };\n }\n return function() {\n return func.apply(context, arguments);\n };\n}\n"],"names":["optimizeCb","func","context","argCount","value","index","collection","accumulator"],"mappings":"AAGA,SAAwBA,EAAWC,GAAMC,GAASC,GAAU;AAC1D,MAAID,MAAY,OAAQ,QAAOD;AAC/B,UAAQE,KAAmB,GAAI;AAAA,IAC7B,KAAK;AAAG,aAAO,SAASC,GAAO;AAC7B,eAAOH,EAAK,KAAKC,GAASE,CAAK;AAAA,MACjC;AAAA;AAAA,IAEA,KAAK;AAAG,aAAO,SAASA,GAAOC,GAAOC,GAAY;AAChD,eAAOL,EAAK,KAAKC,GAASE,GAAOC,GAAOC,CAAU;AAAA,MACpD;AAAA,IACA,KAAK;AAAG,aAAO,SAASC,GAAaH,GAAOC,GAAOC,GAAY;AAC7D,eAAOL,EAAK,KAAKC,GAASK,GAAaH,GAAOC,GAAOC,CAAU;AAAA,MACjE;AAAA,EAAA;AAEF,SAAO,WAAW;AAChB,WAAOL,EAAK,MAAMC,GAAS,SAAS;AAAA,EACtC;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es223.js
CHANGED
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
var
|
|
4
|
-
|
|
1
|
+
import u from "./index.es108.js";
|
|
2
|
+
function n(r) {
|
|
3
|
+
var c = function(e) {
|
|
4
|
+
return r[e];
|
|
5
|
+
}, a = "(?:" + u(r).join("|") + ")", p = RegExp(a), t = RegExp(a, "g");
|
|
6
|
+
return function(e) {
|
|
7
|
+
return e = e == null ? "" : "" + e, p.test(e) ? e.replace(t, c) : e;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
5
10
|
export {
|
|
6
|
-
|
|
11
|
+
n as default
|
|
7
12
|
};
|
|
8
13
|
//# sourceMappingURL=index.es223.js.map
|
package/dist/index.es223.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es223.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es223.js","sources":["../node_modules/underscore/modules/_createEscaper.js"],"sourcesContent":["import keys from './keys.js';\n\n// Internal helper to generate functions for escaping and unescaping strings\n// to/from HTML interpolation.\nexport default function createEscaper(map) {\n var escaper = function(match) {\n return map[match];\n };\n // Regexes for identifying a key that needs to be escaped.\n var source = '(?:' + keys(map).join('|') + ')';\n var testRegexp = RegExp(source);\n var replaceRegexp = RegExp(source, 'g');\n return function(string) {\n string = string == null ? '' : '' + string;\n return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n };\n}\n"],"names":["createEscaper","map","escaper","match","source","keys","testRegexp","replaceRegexp","string"],"mappings":";AAIA,SAAwBA,EAAcC,GAAK;AACzC,MAAIC,IAAU,SAASC,GAAO;AAC5B,WAAOF,EAAIE,CAAK;AAAA,EAClB,GAEIC,IAAS,QAAQC,EAAKJ,CAAG,EAAE,KAAK,GAAG,IAAI,KACvCK,IAAa,OAAOF,CAAM,GAC1BG,IAAgB,OAAOH,GAAQ,GAAG;AACtC,SAAO,SAASI,GAAQ;AACtB,WAAAA,IAASA,KAAU,OAAO,KAAK,KAAKA,GAC7BF,EAAW,KAAKE,CAAM,IAAIA,EAAO,QAAQD,GAAeL,CAAO,IAAIM;AAAA,EAC5E;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es224.js
CHANGED
package/dist/index.es224.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es224.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es224.js","sources":["../node_modules/underscore/modules/_escapeMap.js"],"sourcesContent":["// Internal list of HTML entities for escaping.\nexport default {\n '&': '&',\n '<': '<',\n '>': '>',\n '\"': '"',\n \"'\": ''',\n '`': '`'\n};\n"],"names":["escapeMap"],"mappings":"AACA,MAAAA,IAAe;AAAA,EACb,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AAAA,EACL,KAAK;AACP;","x_google_ignoreList":[0]}
|
package/dist/index.es225.js
CHANGED
package/dist/index.es225.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es225.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es225.js","sources":["../node_modules/underscore/modules/_unescapeMap.js"],"sourcesContent":["import invert from './invert.js';\nimport escapeMap from './_escapeMap.js';\n\n// Internal list of HTML entities for unescaping.\nexport default invert(escapeMap);\n"],"names":["unescapeMap","invert","escapeMap"],"mappings":";;AAIA,MAAAA,IAAeC,EAAOC,CAAS;","x_google_ignoreList":[0]}
|
package/dist/index.es226.js
CHANGED
|
@@ -1,39 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function g(r) {
|
|
11
|
-
return function(n, o) {
|
|
12
|
-
return n += r, [n > z ? n - p : n < -z ? n + p : n, o];
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function j(r) {
|
|
16
|
-
var n = g(r);
|
|
17
|
-
return n.invert = g(-r), n;
|
|
18
|
-
}
|
|
19
|
-
function q(r, n) {
|
|
20
|
-
var o = i(r), x = t(r), y = i(n), k = t(n);
|
|
21
|
-
function w(u, c) {
|
|
22
|
-
var f = i(c), s = i(u) * f, e = t(u) * f, v = t(c), D = v * o + s * x;
|
|
23
|
-
return [
|
|
24
|
-
I(e * y - D * k, s * o - v * x),
|
|
25
|
-
P(D * y + e * k)
|
|
26
|
-
];
|
|
27
|
-
}
|
|
28
|
-
return w.invert = function(u, c) {
|
|
29
|
-
var f = i(c), s = i(u) * f, e = t(u) * f, v = t(c), D = v * y - e * k;
|
|
30
|
-
return [
|
|
31
|
-
I(e * y + v * k, s * o + D * x),
|
|
32
|
-
P(D * o - s * x)
|
|
33
|
-
];
|
|
34
|
-
}, w;
|
|
1
|
+
import o from "./index.es123.js";
|
|
2
|
+
import m from "./index.es37.js";
|
|
3
|
+
import f from "./index.es87.js";
|
|
4
|
+
import p from "./index.es100.js";
|
|
5
|
+
import n from "./index.es128.js";
|
|
6
|
+
import e from "./index.es126.js";
|
|
7
|
+
import s from "./index.es222.js";
|
|
8
|
+
function x(r, t, i) {
|
|
9
|
+
return r == null ? o : m(r) ? s(r, t, i) : f(r) && !p(r) ? n(r) : e(r);
|
|
35
10
|
}
|
|
36
11
|
export {
|
|
37
|
-
|
|
12
|
+
x as default
|
|
38
13
|
};
|
|
39
14
|
//# sourceMappingURL=index.es226.js.map
|
package/dist/index.es226.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es226.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es226.js","sources":["../node_modules/underscore/modules/_baseIteratee.js"],"sourcesContent":["import identity from './identity.js';\nimport isFunction from './isFunction.js';\nimport isObject from './isObject.js';\nimport isArray from './isArray.js';\nimport matcher from './matcher.js';\nimport property from './property.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// An internal function to generate callbacks that can be applied to each\n// element in a collection, returning the desired result — either `_.identity`,\n// an arbitrary callback, a property matcher, or a property accessor.\nexport default function baseIteratee(value, context, argCount) {\n if (value == null) return identity;\n if (isFunction(value)) return optimizeCb(value, context, argCount);\n if (isObject(value) && !isArray(value)) return matcher(value);\n return property(value);\n}\n"],"names":["baseIteratee","value","context","argCount","identity","isFunction","optimizeCb","isObject","isArray","matcher","property"],"mappings":";;;;;;;AAWA,SAAwBA,EAAaC,GAAOC,GAASC,GAAU;AAC7D,SAAIF,KAAS,OAAaG,IACtBC,EAAWJ,CAAK,IAAUK,EAAWL,GAAOC,GAASC,CAAQ,IAC7DI,EAASN,CAAK,KAAK,CAACO,EAAQP,CAAK,IAAUQ,EAAQR,CAAK,IACrDS,EAAST,CAAK;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index.es227.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
1
|
+
import i from "./index.es218.js";
|
|
2
|
+
import n from "./index.es87.js";
|
|
3
|
+
function u(t, a, f, o, e) {
|
|
4
|
+
if (!(o instanceof a)) return t.apply(f, e);
|
|
5
|
+
var r = i(t.prototype), p = t.apply(r, e);
|
|
6
|
+
return n(p) ? p : r;
|
|
7
|
+
}
|
|
8
|
+
export {
|
|
9
|
+
u as default
|
|
10
|
+
};
|
|
4
11
|
//# sourceMappingURL=index.es227.js.map
|
package/dist/index.es227.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es227.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es227.js","sources":["../node_modules/underscore/modules/_executeBound.js"],"sourcesContent":["import baseCreate from './_baseCreate.js';\nimport isObject from './isObject.js';\n\n// Internal function to execute `sourceFunc` bound to `context` with optional\n// `args`. Determines whether to execute a function as a constructor or as a\n// normal function.\nexport default function executeBound(sourceFunc, boundFunc, context, callingContext, args) {\n if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n var self = baseCreate(sourceFunc.prototype);\n var result = sourceFunc.apply(self, args);\n if (isObject(result)) return result;\n return self;\n}\n"],"names":["executeBound","sourceFunc","boundFunc","context","callingContext","args","self","baseCreate","result","isObject"],"mappings":";;AAMA,SAAwBA,EAAaC,GAAYC,GAAWC,GAASC,GAAgBC,GAAM;AACzF,MAAI,EAAED,aAA0BF,WAAmBD,EAAW,MAAME,GAASE,CAAI;AACjF,MAAIC,IAAOC,EAAWN,EAAW,SAAS,GACtCO,IAASP,EAAW,MAAMK,GAAMD,CAAI;AACxC,SAAII,EAASD,CAAM,IAAUA,IACtBF;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es228.js
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
function
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
return (C < -g || C < g && n < -g) ^ F & 1;
|
|
1
|
+
import l from "./index.es212.js";
|
|
2
|
+
import y from "./index.es231.js";
|
|
3
|
+
import A from "./index.es100.js";
|
|
4
|
+
import c from "./index.es39.js";
|
|
5
|
+
function x(n, i, s, r) {
|
|
6
|
+
if (r = r || [], !i && i !== 0)
|
|
7
|
+
i = 1 / 0;
|
|
8
|
+
else if (i <= 0)
|
|
9
|
+
return r.concat(n);
|
|
10
|
+
for (var m = r.length, e = 0, a = l(n); e < a; e++) {
|
|
11
|
+
var f = n[e];
|
|
12
|
+
if (y(f) && (A(f) || c(f)))
|
|
13
|
+
if (i > 1)
|
|
14
|
+
x(f, i - 1, s, r), m = r.length;
|
|
15
|
+
else
|
|
16
|
+
for (var g = 0, o = f.length; g < o; ) r[m++] = f[g++];
|
|
17
|
+
else s || (r[m++] = f);
|
|
18
|
+
}
|
|
19
|
+
return r;
|
|
22
20
|
}
|
|
23
21
|
export {
|
|
24
|
-
|
|
22
|
+
x as default
|
|
25
23
|
};
|
|
26
24
|
//# sourceMappingURL=index.es228.js.map
|
package/dist/index.es228.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es228.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es228.js","sources":["../node_modules/underscore/modules/_flatten.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport isArrayLike from './_isArrayLike.js';\nimport isArray from './isArray.js';\nimport isArguments from './isArguments.js';\n\n// Internal implementation of a recursive `flatten` function.\nexport default function flatten(input, depth, strict, output) {\n output = output || [];\n if (!depth && depth !== 0) {\n depth = Infinity;\n } else if (depth <= 0) {\n return output.concat(input);\n }\n var idx = output.length;\n for (var i = 0, length = getLength(input); i < length; i++) {\n var value = input[i];\n if (isArrayLike(value) && (isArray(value) || isArguments(value))) {\n // Flatten current level of array or arguments object.\n if (depth > 1) {\n flatten(value, depth - 1, strict, output);\n idx = output.length;\n } else {\n var j = 0, len = value.length;\n while (j < len) output[idx++] = value[j++];\n }\n } else if (!strict) {\n output[idx++] = value;\n }\n }\n return output;\n}\n"],"names":["flatten","input","depth","strict","output","idx","i","length","getLength","value","isArrayLike","isArray","isArguments","j","len"],"mappings":";;;;AAMA,SAAwBA,EAAQC,GAAOC,GAAOC,GAAQC,GAAQ;AAE5D,MADAA,IAASA,KAAU,CAAA,GACf,CAACF,KAASA,MAAU;AACtB,IAAAA,IAAQ;AAAA,WACCA,KAAS;AAClB,WAAOE,EAAO,OAAOH,CAAK;AAG5B,WADII,IAAMD,EAAO,QACRE,IAAI,GAAGC,IAASC,EAAUP,CAAK,GAAGK,IAAIC,GAAQD,KAAK;AAC1D,QAAIG,IAAQR,EAAMK,CAAC;AACnB,QAAII,EAAYD,CAAK,MAAME,EAAQF,CAAK,KAAKG,EAAYH,CAAK;AAE5D,UAAIP,IAAQ;AACV,QAAAF,EAAQS,GAAOP,IAAQ,GAAGC,GAAQC,CAAM,GACxCC,IAAMD,EAAO;AAAA;AAGb,iBADIS,IAAI,GAAGC,IAAML,EAAM,QAChBI,IAAIC,IAAK,CAAAV,EAAOC,GAAK,IAAII,EAAMI,GAAG;AAAA,QAE7C,CAAYV,MACVC,EAAOC,GAAK,IAAII;AAAA,EAEpB;AACA,SAAOL;AACT;","x_google_ignoreList":[0]}
|
package/dist/index.es229.js
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import u from "./index.es221.js";
|
|
2
|
+
import i from "./index.es212.js";
|
|
3
|
+
function g(r) {
|
|
4
|
+
return function(t, e, f) {
|
|
5
|
+
e = u(e, f);
|
|
6
|
+
for (var o = i(t), n = r > 0 ? 0 : o - 1; n >= 0 && n < o; n += r)
|
|
7
|
+
if (e(t[n], n, t)) return n;
|
|
8
|
+
return -1;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
g as default
|
|
13
|
+
};
|
|
3
14
|
//# sourceMappingURL=index.es229.js.map
|
package/dist/index.es229.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es229.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es229.js","sources":["../node_modules/underscore/modules/_createPredicateIndexFinder.js"],"sourcesContent":["import cb from './_cb.js';\nimport getLength from './_getLength.js';\n\n// Internal function to generate `_.findIndex` and `_.findLastIndex`.\nexport default function createPredicateIndexFinder(dir) {\n return function(array, predicate, context) {\n predicate = cb(predicate, context);\n var length = getLength(array);\n var index = dir > 0 ? 0 : length - 1;\n for (; index >= 0 && index < length; index += dir) {\n if (predicate(array[index], index, array)) return index;\n }\n return -1;\n };\n}\n"],"names":["createPredicateIndexFinder","dir","array","predicate","context","cb","length","getLength","index"],"mappings":";;AAIA,SAAwBA,EAA2BC,GAAK;AACtD,SAAO,SAASC,GAAOC,GAAWC,GAAS;AACzC,IAAAD,IAAYE,EAAGF,GAAWC,CAAO;AAGjC,aAFIE,IAASC,EAAUL,CAAK,GACxBM,IAAQP,IAAM,IAAI,IAAIK,IAAS,GAC5BE,KAAS,KAAKA,IAAQF,GAAQE,KAASP;AAC5C,UAAIE,EAAUD,EAAMM,CAAK,GAAGA,GAAON,CAAK,EAAG,QAAOM;AAEpD,WAAO;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
|
package/dist/index.es23.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { memo as r, useEffect as e } from "react";
|
|
2
|
-
import { applyReactStyle as i } from "./index.
|
|
2
|
+
import { applyReactStyle as i } from "./index.es205.js";
|
|
3
3
|
import { useControl as l } from "./index.es25.js";
|
|
4
4
|
function m(t) {
|
|
5
5
|
const o = l(({ mapLib: n }) => new n.TerrainControl(t), {
|
package/dist/index.es230.js
CHANGED
|
@@ -1,4 +1,21 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import c from "./index.es212.js";
|
|
2
|
+
import { slice as m } from "./index.es36.js";
|
|
3
|
+
import p from "./index.es102.js";
|
|
4
|
+
function M(o, l, u) {
|
|
5
|
+
return function(t, f, e) {
|
|
6
|
+
var r = 0, n = c(t);
|
|
7
|
+
if (typeof e == "number")
|
|
8
|
+
o > 0 ? r = e >= 0 ? e : Math.max(e + n, r) : n = e >= 0 ? Math.min(e + 1, n) : e + n + 1;
|
|
9
|
+
else if (u && e && n)
|
|
10
|
+
return e = u(t, f), t[e] === f ? e : -1;
|
|
11
|
+
if (f !== f)
|
|
12
|
+
return e = l(m.call(t, r, n), p), e >= 0 ? e + r : -1;
|
|
13
|
+
for (e = o > 0 ? r : n - 1; e >= 0 && e < n; e += o)
|
|
14
|
+
if (t[e] === f) return e;
|
|
15
|
+
return -1;
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
M as default
|
|
20
|
+
};
|
|
4
21
|
//# sourceMappingURL=index.es230.js.map
|
package/dist/index.es230.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es230.js","sources":["
|
|
1
|
+
{"version":3,"file":"index.es230.js","sources":["../node_modules/underscore/modules/_createIndexFinder.js"],"sourcesContent":["import getLength from './_getLength.js';\nimport { slice } from './_setup.js';\nimport isNaN from './isNaN.js';\n\n// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions.\nexport default function createIndexFinder(dir, predicateFind, sortedIndex) {\n return function(array, item, idx) {\n var i = 0, length = getLength(array);\n if (typeof idx == 'number') {\n if (dir > 0) {\n i = idx >= 0 ? idx : Math.max(idx + length, i);\n } else {\n length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n }\n } else if (sortedIndex && idx && length) {\n idx = sortedIndex(array, item);\n return array[idx] === item ? idx : -1;\n }\n if (item !== item) {\n idx = predicateFind(slice.call(array, i, length), isNaN);\n return idx >= 0 ? idx + i : -1;\n }\n for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n if (array[idx] === item) return idx;\n }\n return -1;\n };\n}\n"],"names":["createIndexFinder","dir","predicateFind","sortedIndex","array","item","idx","i","length","getLength","slice","isNaN"],"mappings":";;;AAKA,SAAwBA,EAAkBC,GAAKC,GAAeC,GAAa;AACzE,SAAO,SAASC,GAAOC,GAAMC,GAAK;AAChC,QAAIC,IAAI,GAAGC,IAASC,EAAUL,CAAK;AACnC,QAAI,OAAOE,KAAO;AAChB,MAAIL,IAAM,IACRM,IAAID,KAAO,IAAIA,IAAM,KAAK,IAAIA,IAAME,GAAQD,CAAC,IAE7CC,IAASF,KAAO,IAAI,KAAK,IAAIA,IAAM,GAAGE,CAAM,IAAIF,IAAME,IAAS;AAAA,aAExDL,KAAeG,KAAOE;AAC/B,aAAAF,IAAMH,EAAYC,GAAOC,CAAI,GACtBD,EAAME,CAAG,MAAMD,IAAOC,IAAM;AAErC,QAAID,MAASA;AACX,aAAAC,IAAMJ,EAAcQ,EAAM,KAAKN,GAAOG,GAAGC,CAAM,GAAGG,CAAK,GAChDL,KAAO,IAAIA,IAAMC,IAAI;AAE9B,SAAKD,IAAML,IAAM,IAAIM,IAAIC,IAAS,GAAGF,KAAO,KAAKA,IAAME,GAAQF,KAAOL;AACpE,UAAIG,EAAME,CAAG,MAAMD,EAAM,QAAOC;AAElC,WAAO;AAAA,EACT;AACF;","x_google_ignoreList":[0]}
|