@rpcbase/ui 0.212.0 → 0.213.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/index100.js +4 -42
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +5 -4
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -46
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +8 -229
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +6 -22
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +4 -24
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +4 -400
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +6 -605
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +146 -52
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +39 -4
- package/dist/index109.js.map +1 -1
- package/dist/index110.js +4 -4
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +7 -15
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +13 -5
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +13 -7
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +7 -16
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +31 -4
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +10 -4
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +10 -5
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +8 -5
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +13 -4
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +101 -4
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +20 -7
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +53 -24
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +72 -6
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +9 -4
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +20 -6
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +16 -5
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +23 -4
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +6 -5
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +5 -4
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +23 -8
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +35 -6
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +16 -5
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +6 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +4 -6
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +4 -145
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +4 -39
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +4 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +3 -7
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +6 -13
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +24 -14
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +7 -7
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +6 -31
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +5 -10
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +3 -10
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +3 -8
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +4 -13
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +3 -101
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -20
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +3 -53
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +3 -72
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +3 -9
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +5 -20
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +66 -14
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +2 -24
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +363 -6
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +261 -5
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +55 -18
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +46 -34
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +170 -16
- package/dist/index159.js.map +1 -1
- package/dist/index16.js +1 -1
- package/dist/index160.js +109 -6
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +24 -4
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +8 -5
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -4
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +5 -4
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +4 -3
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +466 -6
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +186 -24
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +107 -7
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +262 -6
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +9 -5
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +42 -3
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +4 -3
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +605 -4
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +46 -3
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +229 -4
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +22 -4
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +24 -3
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +400 -3
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +58 -13
- package/dist/index179.js.map +1 -1
- package/dist/index180.js +8 -154
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +64 -28
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +19 -9
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +14 -46
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +5 -11
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +4 -43
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +6 -95
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +4 -86
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +6 -105
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +16 -52
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +4 -11
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +4 -37
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +12 -8
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +9 -3
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +13 -9
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +13 -116
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +4 -17
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +5 -15
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +6 -36
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +5 -20
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +54 -8
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +8 -19
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +4 -28
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +4 -16
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +8 -24
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +5 -29
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +5 -5
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +3 -67
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +9 -179
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +9 -46
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +9 -58
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +10 -8
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +10 -66
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +9 -19
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -16
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +5 -5
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +4 -5
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +5 -6
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +6 -4
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -6
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +16 -16
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +7 -4
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +10 -4
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +10 -12
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +21 -9
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +10 -13
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +9 -13
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +9 -4
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +4 -5
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -6
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +16 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -54
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +18 -8
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +15 -4
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +12 -4
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +29 -8
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +12 -4
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +25 -4
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +5 -3
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +13 -10
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +154 -9
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +30 -9
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +9 -10
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +48 -10
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +11 -9
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +44 -6
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +95 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +86 -4
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +105 -5
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +52 -6
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +11 -5
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +35 -14
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +8 -7
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +3 -10
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +9 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +115 -20
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +17 -10
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +15 -9
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +36 -9
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +20 -4
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +8 -5
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +18 -15
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +28 -9
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +16 -18
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +65 -13
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +180 -12
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +45 -28
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +24 -12
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +29 -26
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +5 -6
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +4 -20
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +18 -5
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +13 -3
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +20 -23
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +5 -113
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +3 -16
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +21 -527
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +112 -125
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +15 -133
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +529 -4
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +125 -17
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +133 -12
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +4 -64
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +5 -69
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +4 -9
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +16 -14
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +8 -65
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +5 -4
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +4 -4
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +546 -4
- package/dist/index289.js.map +1 -1
- package/dist/index290.js +47 -16
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +17 -8
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +5 -5
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +7 -4
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +6 -545
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +8 -47
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +11 -17
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +8 -5
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +12 -7
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +64 -6
- package/dist/index299.js.map +1 -1
- package/dist/index300.js +69 -8
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +9 -12
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +14 -9
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +66 -13
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +4 -3
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +56 -23
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +68 -5
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +30 -55
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +9 -68
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +148 -26
- package/dist/index309.js.map +1 -1
- package/dist/index310.js +108 -9
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +4 -153
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +23 -108
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +15 -22
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +28 -12
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +12 -27
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +7 -5
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +22 -15
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +12 -28
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +27 -12
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +24 -24
- package/dist/index320.js +5 -7
- package/dist/index320.js.map +1 -1
- package/dist/index33.js +3 -3
- package/dist/index36.js +1 -1
- package/dist/index37.js +2 -2
- package/dist/index40.js +2 -2
- package/dist/index49.js +1 -1
- package/dist/index50.js +1 -1
- package/dist/index58.js +205 -2
- package/dist/index58.js.map +1 -1
- package/dist/index59.js +6 -2
- package/dist/index59.js.map +1 -1
- package/dist/index60.js +8 -205
- package/dist/index60.js.map +1 -1
- package/dist/index61.js +5 -5
- package/dist/index61.js.map +1 -1
- package/dist/index62.js +2 -8
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +2 -6
- package/dist/index63.js.map +1 -1
- package/dist/index65.js +1 -1
- package/dist/index71.js +4 -4
- package/dist/index79.js +3 -3
- package/dist/index81.js +52 -6
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +4 -68
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +5 -2
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +15 -363
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +5 -261
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +7 -60
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +16 -46
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +4 -169
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +4 -109
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +5 -24
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +6 -8
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +4 -4
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +4 -5
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +6 -4
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +24 -466
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +6 -185
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +4 -107
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +6 -262
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +5 -9
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
package/dist/index280.js
CHANGED
|
@@ -1,21 +1,129 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
formatLong: t,
|
|
10
|
-
formatRelative: r,
|
|
11
|
-
localize: m,
|
|
12
|
-
match: a,
|
|
13
|
-
options: {
|
|
14
|
-
weekStartsOn: 0,
|
|
15
|
-
firstWeekContainsDate: 1
|
|
16
|
-
}
|
|
1
|
+
const S = ["top", "right", "bottom", "left"], m = Math.min, h = Math.max, w = Math.round, C = Math.floor, j = (t) => ({
|
|
2
|
+
x: t,
|
|
3
|
+
y: t
|
|
4
|
+
}), p = {
|
|
5
|
+
left: "right",
|
|
6
|
+
right: "left",
|
|
7
|
+
bottom: "top",
|
|
8
|
+
top: "bottom"
|
|
17
9
|
};
|
|
10
|
+
function L(t, n, e) {
|
|
11
|
+
return h(t, m(n, e));
|
|
12
|
+
}
|
|
13
|
+
function E(t, n) {
|
|
14
|
+
return typeof t == "function" ? t(n) : t;
|
|
15
|
+
}
|
|
16
|
+
function g(t) {
|
|
17
|
+
return t.split("-")[0];
|
|
18
|
+
}
|
|
19
|
+
function a(t) {
|
|
20
|
+
return t.split("-")[1];
|
|
21
|
+
}
|
|
22
|
+
function x(t) {
|
|
23
|
+
return t === "x" ? "y" : "x";
|
|
24
|
+
}
|
|
25
|
+
function b(t) {
|
|
26
|
+
return t === "y" ? "height" : "width";
|
|
27
|
+
}
|
|
28
|
+
function d(t) {
|
|
29
|
+
const n = t[0];
|
|
30
|
+
return n === "t" || n === "b" ? "y" : "x";
|
|
31
|
+
}
|
|
32
|
+
function A(t) {
|
|
33
|
+
return x(d(t));
|
|
34
|
+
}
|
|
35
|
+
function R(t, n, e) {
|
|
36
|
+
e === void 0 && (e = !1);
|
|
37
|
+
const r = a(t), i = A(t), o = b(i);
|
|
38
|
+
let c = i === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
39
|
+
return n.reference[o] > n.floating[o] && (c = f(c)), [c, f(c)];
|
|
40
|
+
}
|
|
41
|
+
function T(t) {
|
|
42
|
+
const n = f(t);
|
|
43
|
+
return [s(t), n, s(n)];
|
|
44
|
+
}
|
|
45
|
+
function s(t) {
|
|
46
|
+
return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
|
|
47
|
+
}
|
|
48
|
+
const u = ["left", "right"], l = ["right", "left"], P = ["top", "bottom"], y = ["bottom", "top"];
|
|
49
|
+
function O(t, n, e) {
|
|
50
|
+
switch (t) {
|
|
51
|
+
case "top":
|
|
52
|
+
case "bottom":
|
|
53
|
+
return e ? n ? l : u : n ? u : l;
|
|
54
|
+
case "left":
|
|
55
|
+
case "right":
|
|
56
|
+
return n ? P : y;
|
|
57
|
+
default:
|
|
58
|
+
return [];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
function k(t, n, e, r) {
|
|
62
|
+
const i = a(t);
|
|
63
|
+
let o = O(g(t), e === "start", r);
|
|
64
|
+
return i && (o = o.map((c) => c + "-" + i), n && (o = o.concat(o.map(s)))), o;
|
|
65
|
+
}
|
|
66
|
+
function f(t) {
|
|
67
|
+
const n = g(t);
|
|
68
|
+
return p[n] + t.slice(n.length);
|
|
69
|
+
}
|
|
70
|
+
function M(t) {
|
|
71
|
+
return {
|
|
72
|
+
top: 0,
|
|
73
|
+
right: 0,
|
|
74
|
+
bottom: 0,
|
|
75
|
+
left: 0,
|
|
76
|
+
...t
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
function q(t) {
|
|
80
|
+
return typeof t != "number" ? M(t) : {
|
|
81
|
+
top: t,
|
|
82
|
+
right: t,
|
|
83
|
+
bottom: t,
|
|
84
|
+
left: t
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
function z(t) {
|
|
88
|
+
const {
|
|
89
|
+
x: n,
|
|
90
|
+
y: e,
|
|
91
|
+
width: r,
|
|
92
|
+
height: i
|
|
93
|
+
} = t;
|
|
94
|
+
return {
|
|
95
|
+
width: r,
|
|
96
|
+
height: i,
|
|
97
|
+
top: e,
|
|
98
|
+
left: n,
|
|
99
|
+
right: n + r,
|
|
100
|
+
bottom: e + i,
|
|
101
|
+
x: n,
|
|
102
|
+
y: e
|
|
103
|
+
};
|
|
104
|
+
}
|
|
18
105
|
export {
|
|
19
|
-
|
|
106
|
+
L as clamp,
|
|
107
|
+
j as createCoords,
|
|
108
|
+
E as evaluate,
|
|
109
|
+
M as expandPaddingObject,
|
|
110
|
+
C as floor,
|
|
111
|
+
a as getAlignment,
|
|
112
|
+
A as getAlignmentAxis,
|
|
113
|
+
R as getAlignmentSides,
|
|
114
|
+
b as getAxisLength,
|
|
115
|
+
T as getExpandedPlacements,
|
|
116
|
+
s as getOppositeAlignmentPlacement,
|
|
117
|
+
x as getOppositeAxis,
|
|
118
|
+
k as getOppositeAxisPlacements,
|
|
119
|
+
f as getOppositePlacement,
|
|
120
|
+
q as getPaddingObject,
|
|
121
|
+
g as getSide,
|
|
122
|
+
d as getSideAxis,
|
|
123
|
+
h as max,
|
|
124
|
+
m as min,
|
|
125
|
+
z as rectToClientRect,
|
|
126
|
+
w as round,
|
|
127
|
+
S as sides
|
|
20
128
|
};
|
|
21
129
|
//# sourceMappingURL=index280.js.map
|
package/dist/index280.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index280.js","sources":["../../../node_modules
|
|
1
|
+
{"version":3,"file":"index280.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n const firstChar = placement[0];\n return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n const side = getSide(placement);\n return oppositeSideMap[side] + placement.slice(side.length);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","max","round","floor","createCoords","v","oppositeSideMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","firstChar","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","lrPlacement","rlPlacement","tbPlacement","btPlacement","getSideList","side","isStart","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","x","y","width","height"],"mappings":"AAKK,MAACA,IAAQ,CAAC,OAAO,SAAS,UAAU,MAAM,GAGzCC,IAAM,KAAK,KACXC,IAAM,KAAK,KACXC,IAAQ,KAAK,OACbC,IAAQ,KAAK,OACbC,IAAe,CAAAC,OAAM;AAAA,EACzB,GAAGA;AAAA,EACH,GAAGA;AACL,IACMC,IAAkB;AAAA,EACtB,MAAM;AAAA,EACN,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,KAAK;AACP;AACA,SAASC,EAAMC,GAAOC,GAAOC,GAAK;AAChC,SAAOT,EAAIO,GAAOR,EAAIS,GAAOC,CAAG,CAAC;AACnC;AACA,SAASC,EAASF,GAAOG,GAAO;AAC9B,SAAO,OAAOH,KAAU,aAAaA,EAAMG,CAAK,IAAIH;AACtD;AACA,SAASI,EAAQC,GAAW;AAC1B,SAAOA,EAAU,MAAM,GAAG,EAAE,CAAC;AAC/B;AACA,SAASC,EAAaD,GAAW;AAC/B,SAAOA,EAAU,MAAM,GAAG,EAAE,CAAC;AAC/B;AACA,SAASE,EAAgBC,GAAM;AAC7B,SAAOA,MAAS,MAAM,MAAM;AAC9B;AACA,SAASC,EAAcD,GAAM;AAC3B,SAAOA,MAAS,MAAM,WAAW;AAC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-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
function u() {
|
|
2
|
+
return typeof window < "u";
|
|
3
|
+
}
|
|
4
|
+
function a(t) {
|
|
5
|
+
return m(t) ? (t.nodeName || "").toLowerCase() : "#document";
|
|
6
|
+
}
|
|
7
|
+
function i(t) {
|
|
8
|
+
var n;
|
|
9
|
+
return (t == null || (n = t.ownerDocument) == null ? void 0 : n.defaultView) || window;
|
|
10
|
+
}
|
|
11
|
+
function L(t) {
|
|
12
|
+
var n;
|
|
13
|
+
return (n = (m(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : n.documentElement;
|
|
14
|
+
}
|
|
15
|
+
function m(t) {
|
|
16
|
+
return u() ? t instanceof Node || t instanceof i(t).Node : !1;
|
|
17
|
+
}
|
|
18
|
+
function h(t) {
|
|
19
|
+
return u() ? t instanceof Element || t instanceof i(t).Element : !1;
|
|
20
|
+
}
|
|
21
|
+
function g(t) {
|
|
22
|
+
return u() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
|
|
23
|
+
}
|
|
24
|
+
function p(t) {
|
|
25
|
+
return !u() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
|
|
26
|
+
}
|
|
27
|
+
function y(t) {
|
|
28
|
+
const {
|
|
29
|
+
overflow: n,
|
|
30
|
+
overflowX: r,
|
|
31
|
+
overflowY: c,
|
|
32
|
+
display: e
|
|
33
|
+
} = b(t);
|
|
34
|
+
return /auto|scroll|overlay|hidden|clip/.test(n + c + r) && e !== "inline" && e !== "contents";
|
|
35
|
+
}
|
|
36
|
+
function _(t) {
|
|
37
|
+
return /^(table|td|th)$/.test(a(t));
|
|
38
|
+
}
|
|
39
|
+
function T(t) {
|
|
40
|
+
try {
|
|
41
|
+
if (t.matches(":popover-open"))
|
|
42
|
+
return !0;
|
|
43
|
+
} catch {
|
|
44
|
+
}
|
|
45
|
+
try {
|
|
46
|
+
return t.matches(":modal");
|
|
47
|
+
} catch {
|
|
48
|
+
return !1;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
const v = /transform|translate|scale|rotate|perspective|filter/, C = /paint|layout|strict|content/, o = (t) => !!t && t !== "none";
|
|
52
|
+
let s;
|
|
53
|
+
function D(t) {
|
|
54
|
+
const n = h(t) ? b(t) : t;
|
|
55
|
+
return o(n.transform) || o(n.translate) || o(n.scale) || o(n.rotate) || o(n.perspective) || !R() && (o(n.backdropFilter) || o(n.filter)) || v.test(n.willChange || "") || C.test(n.contain || "");
|
|
56
|
+
}
|
|
57
|
+
function W(t) {
|
|
58
|
+
let n = f(t);
|
|
59
|
+
for (; g(n) && !N(n); ) {
|
|
60
|
+
if (D(n))
|
|
61
|
+
return n;
|
|
62
|
+
if (T(n))
|
|
63
|
+
return null;
|
|
64
|
+
n = f(n);
|
|
65
|
+
}
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
function R() {
|
|
69
|
+
return s == null && (s = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), s;
|
|
70
|
+
}
|
|
71
|
+
function N(t) {
|
|
72
|
+
return /^(html|body|#document)$/.test(a(t));
|
|
73
|
+
}
|
|
74
|
+
function b(t) {
|
|
75
|
+
return i(t).getComputedStyle(t);
|
|
76
|
+
}
|
|
77
|
+
function $(t) {
|
|
78
|
+
return h(t) ? {
|
|
79
|
+
scrollLeft: t.scrollLeft,
|
|
80
|
+
scrollTop: t.scrollTop
|
|
81
|
+
} : {
|
|
82
|
+
scrollLeft: t.scrollX,
|
|
83
|
+
scrollTop: t.scrollY
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
function f(t) {
|
|
87
|
+
if (a(t) === "html")
|
|
88
|
+
return t;
|
|
89
|
+
const n = (
|
|
90
|
+
// Step into the shadow DOM of the parent of a slotted node.
|
|
91
|
+
t.assignedSlot || // DOM Element detected.
|
|
92
|
+
t.parentNode || // ShadowRoot detected.
|
|
93
|
+
p(t) && t.host || // Fallback.
|
|
94
|
+
L(t)
|
|
95
|
+
);
|
|
96
|
+
return p(n) ? n.host : n;
|
|
97
|
+
}
|
|
98
|
+
function S(t) {
|
|
99
|
+
const n = f(t);
|
|
100
|
+
return N(n) ? t.ownerDocument ? t.ownerDocument.body : t.body : g(n) && y(n) ? n : S(n);
|
|
101
|
+
}
|
|
102
|
+
function w(t, n, r) {
|
|
103
|
+
var c;
|
|
104
|
+
n === void 0 && (n = []), r === void 0 && (r = !0);
|
|
105
|
+
const e = S(t), E = e === ((c = t.ownerDocument) == null ? void 0 : c.body), l = i(e);
|
|
106
|
+
if (E) {
|
|
107
|
+
const d = k(l);
|
|
108
|
+
return n.concat(l, l.visualViewport || [], y(e) ? e : [], d && r ? w(d) : []);
|
|
109
|
+
} else
|
|
110
|
+
return n.concat(e, w(e, [], r));
|
|
111
|
+
}
|
|
112
|
+
function k(t) {
|
|
113
|
+
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
12
114
|
}
|
|
13
115
|
export {
|
|
14
|
-
|
|
116
|
+
b as getComputedStyle,
|
|
117
|
+
W as getContainingBlock,
|
|
118
|
+
L as getDocumentElement,
|
|
119
|
+
k as getFrameElement,
|
|
120
|
+
S as getNearestOverflowAncestor,
|
|
121
|
+
a as getNodeName,
|
|
122
|
+
$ as getNodeScroll,
|
|
123
|
+
w as getOverflowAncestors,
|
|
124
|
+
f as getParentNode,
|
|
125
|
+
i as getWindow,
|
|
126
|
+
D as isContainingBlock,
|
|
127
|
+
h as isElement,
|
|
128
|
+
g as isHTMLElement,
|
|
129
|
+
N as isLastTraversableNode,
|
|
130
|
+
m as isNode,
|
|
131
|
+
y as isOverflowElement,
|
|
132
|
+
p as isShadowRoot,
|
|
133
|
+
_ as isTableElement,
|
|
134
|
+
T as isTopLayer,
|
|
135
|
+
R as isWebKit
|
|
15
136
|
};
|
|
16
137
|
//# sourceMappingURL=index281.js.map
|
package/dist/index281.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index281.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index281.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","elementOrCss","css","isWebKit","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"AAAA,SAASA,IAAY;AACnB,SAAO,OAAO,SAAW;AAC3B;AACA,SAASC,EAAYC,GAAM;AACzB,SAAIC,EAAOD,CAAI,KACLA,EAAK,YAAY,IAAI,YAAW,IAKnC;AACT;AACA,SAASE,EAAUF,GAAM;AACvB,MAAIG;AACJ,UAAQH,KAAQ,SAASG,IAAsBH,EAAK,kBAAkB,OAAO,SAASG,EAAoB,gBAAgB;AAC5H;AACA,SAASC,EAAmBJ,GAAM;AAChC,MAAIK;AACJ,UAAQA,KAAQJ,EAAOD,CAAI,IAAIA,EAAK,gBAAgBA,EAAK,aAAa,OAAO,aAAa,OAAO,SAASK,EAAK;AACjH;AACA,SAASJ,EAAOK,GAAO;AACrB,SAAKR,EAAS,IAGPQ,aAAiB,QAAQA,aAAiBJ,EAAUI,CAAK,EAAE,OAFzD;AAGX;AACA,SAASC,EAAUD,GAAO;AACxB,SAAKR,EAAS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c0B,CAAU,KAAKxB,EAAkBwB,CAAU,IACpDA,IAEFD,EAA2BC,CAAU;AAC9C;AACA,SAASC,EAAqBnC,GAAMoC,GAAMC,GAAiB;AACzD,MAAIC;AACJ,EAAIF,MAAS,WACXA,IAAO,CAAA,IAELC,MAAoB,WACtBA,IAAkB;AAEpB,QAAME,IAAqBN,EAA2BjC,CAAI,GACpDwC,IAASD,QAAyBD,IAAuBtC,EAAK,kBAAkB,OAAO,SAASsC,EAAqB,OACrHG,IAAMvC,EAAUqC,CAAkB;AACxC,MAAIC,GAAQ;AACV,UAAME,IAAeC,EAAgBF,CAAG;AACxC,WAAOL,EAAK,OAAOK,GAAKA,EAAI,kBAAkB,CAAA,GAAI/B,EAAkB6B,CAAkB,IAAIA,IAAqB,CAAA,GAAIG,KAAgBL,IAAkBF,EAAqBO,CAAY,IAAI,EAAE;AAAA,EAC9L;AACE,WAAON,EAAK,OAAOG,GAAoBJ,EAAqBI,GAAoB,CAAA,GAAIF,CAAe,CAAC;AAExG;AACA,SAASM,EAAgBF,GAAK;AAC5B,SAAOA,EAAI,UAAU,OAAO,eAAeA,EAAI,MAAM,IAAIA,EAAI,eAAe;AAC9E;","x_google_ignoreList":[0]}
|
package/dist/index282.js
CHANGED
|
@@ -1,68 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
function
|
|
3
|
-
return r;
|
|
4
|
-
}
|
|
5
|
-
function h(r, t) {
|
|
6
|
-
t === void 0 && (t = l);
|
|
7
|
-
var e = [], o = !1, c = {
|
|
8
|
-
read: function() {
|
|
9
|
-
if (o)
|
|
10
|
-
throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
|
|
11
|
-
return e.length ? e[e.length - 1] : r;
|
|
12
|
-
},
|
|
13
|
-
useMedium: function(u) {
|
|
14
|
-
var n = t(u, o);
|
|
15
|
-
return e.push(n), function() {
|
|
16
|
-
e = e.filter(function(i) {
|
|
17
|
-
return i !== n;
|
|
18
|
-
});
|
|
19
|
-
};
|
|
20
|
-
},
|
|
21
|
-
assignSyncMedium: function(u) {
|
|
22
|
-
for (o = !0; e.length; ) {
|
|
23
|
-
var n = e;
|
|
24
|
-
e = [], n.forEach(u);
|
|
25
|
-
}
|
|
26
|
-
e = {
|
|
27
|
-
push: function(i) {
|
|
28
|
-
return u(i);
|
|
29
|
-
},
|
|
30
|
-
filter: function() {
|
|
31
|
-
return e;
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
},
|
|
35
|
-
assignMedium: function(u) {
|
|
36
|
-
o = !0;
|
|
37
|
-
var n = [];
|
|
38
|
-
if (e.length) {
|
|
39
|
-
var i = e;
|
|
40
|
-
e = [], i.forEach(u), n = e;
|
|
41
|
-
}
|
|
42
|
-
var s = function() {
|
|
43
|
-
var f = n;
|
|
44
|
-
n = [], f.forEach(u);
|
|
45
|
-
}, a = function() {
|
|
46
|
-
return Promise.resolve().then(s);
|
|
47
|
-
};
|
|
48
|
-
a(), e = {
|
|
49
|
-
push: function(f) {
|
|
50
|
-
n.push(f), a();
|
|
51
|
-
},
|
|
52
|
-
filter: function(f) {
|
|
53
|
-
return n = n.filter(f), e;
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
return c;
|
|
59
|
-
}
|
|
60
|
-
function v(r) {
|
|
61
|
-
r === void 0 && (r = {});
|
|
62
|
-
var t = h(null);
|
|
63
|
-
return t.options = d({ async: !0, ssr: !1 }, r), t;
|
|
1
|
+
import { constructFromSymbol as o } from "./index284.js";
|
|
2
|
+
function c(r, n) {
|
|
3
|
+
return typeof r == "function" ? r(n) : r && typeof r == "object" && o in r ? r[o](n) : r instanceof Date ? new r.constructor(n) : new Date(n);
|
|
64
4
|
}
|
|
65
5
|
export {
|
|
66
|
-
|
|
6
|
+
c as constructFrom
|
|
67
7
|
};
|
|
68
8
|
//# sourceMappingURL=index282.js.map
|
package/dist/index282.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index282.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index282.js","sources":["../../../node_modules/date-fns/constructFrom.js"],"sourcesContent":["import { constructFromSymbol } from \"./constants.js\";\n\n/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * Starting from v3.7.0, it allows to construct a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from \"./constructFrom/date-fns\";\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date>(date: DateType): DateType {\n * return constructFrom(\n * date, // Use constructor from the given date\n * date.getTime() // Use the date value to create a new date\n * );\n * }\n */\nexport function constructFrom(date, value) {\n if (typeof date === \"function\") return date(value);\n\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n\n if (date instanceof Date) return new date.constructor(value);\n\n return new Date(value);\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n"],"names":["constructFrom","date","value","constructFromSymbol"],"mappings":";AAqCO,SAASA,EAAcC,GAAMC,GAAO;AACzC,SAAI,OAAOD,KAAS,aAAmBA,EAAKC,CAAK,IAE7CD,KAAQ,OAAOA,KAAS,YAAYE,KAAuBF,IACtDA,EAAKE,CAAmB,EAAED,CAAK,IAEpCD,aAAgB,OAAa,IAAIA,EAAK,YAAYC,CAAK,IAEpD,IAAI,KAAKA,CAAK;AACvB;","x_google_ignoreList":[0]}
|
package/dist/index283.js
CHANGED
|
@@ -1,72 +1,8 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var b = f(), e = "data-scroll-locked", h = function(n, a, o, t) {
|
|
6
|
-
var r = n.left, i = n.top, s = n.right, c = n.gap;
|
|
7
|
-
return o === void 0 && (o = "margin"), `
|
|
8
|
-
.`.concat(p, ` {
|
|
9
|
-
overflow: hidden `).concat(t, `;
|
|
10
|
-
padding-right: `).concat(c, "px ").concat(t, `;
|
|
11
|
-
}
|
|
12
|
-
body[`).concat(e, `] {
|
|
13
|
-
overflow: hidden `).concat(t, `;
|
|
14
|
-
overscroll-behavior: contain;
|
|
15
|
-
`).concat([
|
|
16
|
-
a && "position: relative ".concat(t, ";"),
|
|
17
|
-
o === "margin" && `
|
|
18
|
-
padding-left: `.concat(r, `px;
|
|
19
|
-
padding-top: `).concat(i, `px;
|
|
20
|
-
padding-right: `).concat(s, `px;
|
|
21
|
-
margin-left:0;
|
|
22
|
-
margin-top:0;
|
|
23
|
-
margin-right: `).concat(c, "px ").concat(t, `;
|
|
24
|
-
`),
|
|
25
|
-
o === "padding" && "padding-right: ".concat(c, "px ").concat(t, ";")
|
|
26
|
-
].filter(Boolean).join(""), `
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.`).concat(g, ` {
|
|
30
|
-
right: `).concat(c, "px ").concat(t, `;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.`).concat(l, ` {
|
|
34
|
-
margin-right: `).concat(c, "px ").concat(t, `;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.`).concat(g, " .").concat(g, ` {
|
|
38
|
-
right: 0 `).concat(t, `;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.`).concat(l, " .").concat(l, ` {
|
|
42
|
-
margin-right: 0 `).concat(t, `;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
body[`).concat(e, `] {
|
|
46
|
-
`).concat(v, ": ").concat(c, `px;
|
|
47
|
-
}
|
|
48
|
-
`);
|
|
49
|
-
}, u = function() {
|
|
50
|
-
var n = parseInt(document.body.getAttribute(e) || "0", 10);
|
|
51
|
-
return isFinite(n) ? n : 0;
|
|
52
|
-
}, x = function() {
|
|
53
|
-
d.useEffect(function() {
|
|
54
|
-
return document.body.setAttribute(e, (u() + 1).toString()), function() {
|
|
55
|
-
var n = u() - 1;
|
|
56
|
-
n <= 0 ? document.body.removeAttribute(e) : document.body.setAttribute(e, n.toString());
|
|
57
|
-
};
|
|
58
|
-
}, []);
|
|
59
|
-
}, C = function(n) {
|
|
60
|
-
var a = n.noRelative, o = n.noImportant, t = n.gapMode, r = t === void 0 ? "margin" : t;
|
|
61
|
-
x();
|
|
62
|
-
var i = d.useMemo(function() {
|
|
63
|
-
return m(r);
|
|
64
|
-
}, [r]);
|
|
65
|
-
return d.createElement(b, { styles: h(i, !a, r, o ? "" : "!important") });
|
|
66
|
-
};
|
|
1
|
+
import { constructFrom as r } from "./index282.js";
|
|
2
|
+
function n(o, t) {
|
|
3
|
+
return r(t || o, o);
|
|
4
|
+
}
|
|
67
5
|
export {
|
|
68
|
-
|
|
69
|
-
e as lockAttribute,
|
|
70
|
-
x as useLockAttribute
|
|
6
|
+
n as toDate
|
|
71
7
|
};
|
|
72
8
|
//# sourceMappingURL=index283.js.map
|
package/dist/index283.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index283.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index283.js","sources":["../../../node_modules/date-fns/toDate.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * Starting from v3.7.0, it clones a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument, context) {\n // [TODO] Get rid of `toDate` or `constructFrom`?\n return constructFrom(context || argument, argument);\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n"],"names":["toDate","argument","context","constructFrom"],"mappings":";AAwCO,SAASA,EAAOC,GAAUC,GAAS;AAExC,SAAOC,EAAcD,KAAWD,GAAUA,CAAQ;AACpD;","x_google_ignoreList":[0]}
|
package/dist/index284.js
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
var s = function() {
|
|
3
|
-
var e = o(), n = function(t) {
|
|
4
|
-
var r = t.styles, l = t.dynamic;
|
|
5
|
-
return e(r, l), null;
|
|
6
|
-
};
|
|
7
|
-
return n;
|
|
8
|
-
};
|
|
1
|
+
const o = 6048e5, c = 864e5, n = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
9
2
|
export {
|
|
10
|
-
|
|
3
|
+
n as constructFromSymbol,
|
|
4
|
+
c as millisecondsInDay,
|
|
5
|
+
o as millisecondsInWeek
|
|
11
6
|
};
|
|
12
7
|
//# sourceMappingURL=index284.js.map
|
package/dist/index284.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index284.js","sources":["../../../node_modules/
|
|
1
|
+
{"version":3,"file":"index284.js","sources":["../../../node_modules/date-fns/constants.js"],"sourcesContent":["/**\n * @module constants\n * @summary Useful constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n * return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n\n/**\n * @constant\n * @name constructFromSymbol\n * @summary Symbol enabling Date extensions to inherit properties from the reference date.\n *\n * The symbol is used to enable the `constructFrom` function to construct a date\n * using a reference date and a value. It allows to transfer extra properties\n * from the reference date to the new date. It's useful for extensions like\n * [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as\n * a constructor argument.\n */\nexport const constructFromSymbol = Symbol.for(\"constructDateFrom\");\n"],"names":["millisecondsInWeek","millisecondsInDay","constructFromSymbol"],"mappings":"AA4EY,MAACA,IAAqB,QAOrBC,IAAoB,OAoIpBC,IAAsB,uBAAO,IAAI,mBAAmB;","x_google_ignoreList":[0]}
|