@rpcbase/ui 0.287.0 → 0.289.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.
Files changed (738) hide show
  1. package/dist/assets/sha256.worker-DNtOSCbM.js.map +1 -0
  2. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  3. package/dist/index.js +12 -12
  4. package/dist/index10.js.map +1 -1
  5. package/dist/index100.js.map +1 -1
  6. package/dist/index101.js.map +1 -1
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js.map +1 -1
  10. package/dist/index105.js.map +1 -1
  11. package/dist/index106.js.map +1 -1
  12. package/dist/index107.js.map +1 -1
  13. package/dist/index108.js.map +1 -1
  14. package/dist/index109.js.map +1 -1
  15. package/dist/index11.js +96 -17
  16. package/dist/index11.js.map +1 -1
  17. package/dist/index110.js.map +1 -1
  18. package/dist/index111.js.map +1 -1
  19. package/dist/index112.js.map +1 -1
  20. package/dist/index113.js.map +1 -1
  21. package/dist/index114.js.map +1 -1
  22. package/dist/index115.js.map +1 -1
  23. package/dist/index116.js.map +1 -1
  24. package/dist/index117.js.map +1 -1
  25. package/dist/index118.js.map +1 -1
  26. package/dist/index119.js.map +1 -1
  27. package/dist/index12.js.map +1 -1
  28. package/dist/index120.js.map +1 -1
  29. package/dist/index121.js.map +1 -1
  30. package/dist/index122.js.map +1 -1
  31. package/dist/index123.js +1 -1
  32. package/dist/index123.js.map +1 -1
  33. package/dist/index124.js.map +1 -1
  34. package/dist/index125.js.map +1 -1
  35. package/dist/index126.js.map +1 -1
  36. package/dist/index127.js.map +1 -1
  37. package/dist/index128.js.map +1 -1
  38. package/dist/index129.js.map +1 -1
  39. package/dist/index13.js.map +1 -1
  40. package/dist/index130.js.map +1 -1
  41. package/dist/index131.js.map +1 -1
  42. package/dist/index132.js.map +1 -1
  43. package/dist/index133.js.map +1 -1
  44. package/dist/index134.js.map +1 -1
  45. package/dist/index135.js.map +1 -1
  46. package/dist/index136.js.map +1 -1
  47. package/dist/index137.js.map +1 -1
  48. package/dist/index138.js.map +1 -1
  49. package/dist/index139.js.map +1 -1
  50. package/dist/index14.js.map +1 -1
  51. package/dist/index140.js.map +1 -1
  52. package/dist/index141.js.map +1 -1
  53. package/dist/index142.js.map +1 -1
  54. package/dist/index143.js.map +1 -1
  55. package/dist/index144.js.map +1 -1
  56. package/dist/index145.js.map +1 -1
  57. package/dist/index146.js.map +1 -1
  58. package/dist/index147.js.map +1 -1
  59. package/dist/index148.js.map +1 -1
  60. package/dist/index149.js.map +1 -1
  61. package/dist/index15.js.map +1 -1
  62. package/dist/index150.js.map +1 -1
  63. package/dist/index151.js.map +1 -1
  64. package/dist/index152.js.map +1 -1
  65. package/dist/index153.js.map +1 -1
  66. package/dist/index154.js +4 -4
  67. package/dist/index154.js.map +1 -1
  68. package/dist/index155.js.map +1 -1
  69. package/dist/index156.js.map +1 -1
  70. package/dist/index157.js.map +1 -1
  71. package/dist/index158.js.map +1 -1
  72. package/dist/index159.js.map +1 -1
  73. package/dist/index16.js.map +1 -1
  74. package/dist/index160.js.map +1 -1
  75. package/dist/index161.js.map +1 -1
  76. package/dist/index162.js.map +1 -1
  77. package/dist/index163.js.map +1 -1
  78. package/dist/index164.js.map +1 -1
  79. package/dist/index165.js.map +1 -1
  80. package/dist/index166.js.map +1 -1
  81. package/dist/index167.js.map +1 -1
  82. package/dist/index168.js.map +1 -1
  83. package/dist/index169.js.map +1 -1
  84. package/dist/index17.js.map +1 -1
  85. package/dist/index170.js +18 -12
  86. package/dist/index170.js.map +1 -1
  87. package/dist/index171.js.map +1 -1
  88. package/dist/index172.js.map +1 -1
  89. package/dist/index173.js.map +1 -1
  90. package/dist/index174.js.map +1 -1
  91. package/dist/index175.js.map +1 -1
  92. package/dist/index176.js.map +1 -1
  93. package/dist/index177.js.map +1 -1
  94. package/dist/index178.js.map +1 -1
  95. package/dist/index179.js.map +1 -1
  96. package/dist/index18.js.map +1 -1
  97. package/dist/index180.js.map +1 -1
  98. package/dist/index181.js +1 -1
  99. package/dist/index181.js.map +1 -1
  100. package/dist/index182.js +3 -3
  101. package/dist/index182.js.map +1 -1
  102. package/dist/index183.js.map +1 -1
  103. package/dist/index184.js.map +1 -1
  104. package/dist/index185.js.map +1 -1
  105. package/dist/index186.js.map +1 -1
  106. package/dist/index187.js.map +1 -1
  107. package/dist/index188.js.map +1 -1
  108. package/dist/index189.js.map +1 -1
  109. package/dist/index19.js.map +1 -1
  110. package/dist/index190.js +9 -7
  111. package/dist/index190.js.map +1 -1
  112. package/dist/index191.js +4 -4
  113. package/dist/index191.js.map +1 -1
  114. package/dist/index192.js +4 -15
  115. package/dist/index192.js.map +1 -1
  116. package/dist/index193.js +13 -3
  117. package/dist/index193.js.map +1 -1
  118. package/dist/index194.js +2 -2
  119. package/dist/index194.js.map +1 -1
  120. package/dist/index195.js +4 -85
  121. package/dist/index195.js.map +1 -1
  122. package/dist/index196.js +79 -54
  123. package/dist/index196.js.map +1 -1
  124. package/dist/index197.js +68 -7
  125. package/dist/index197.js.map +1 -1
  126. package/dist/index198.js +3 -23
  127. package/dist/index198.js.map +1 -1
  128. package/dist/index199.js +6 -28
  129. package/dist/index199.js.map +1 -1
  130. package/dist/index20.js.map +1 -1
  131. package/dist/index200.js +4 -97
  132. package/dist/index200.js.map +1 -1
  133. package/dist/index201.js +3 -4
  134. package/dist/index201.js.map +1 -1
  135. package/dist/index202.js +23 -24
  136. package/dist/index202.js.map +1 -1
  137. package/dist/index203.js +28 -10
  138. package/dist/index203.js.map +1 -1
  139. package/dist/index204.js +97 -4
  140. package/dist/index204.js.map +1 -1
  141. package/dist/index205.js +4 -12
  142. package/dist/index205.js.map +1 -1
  143. package/dist/index206.js +22 -19
  144. package/dist/index206.js.map +1 -1
  145. package/dist/index207.js +4 -6
  146. package/dist/index207.js.map +1 -1
  147. package/dist/index208.js +4 -15
  148. package/dist/index208.js.map +1 -1
  149. package/dist/index209.js +10 -102
  150. package/dist/index209.js.map +1 -1
  151. package/dist/index210.js +21 -3
  152. package/dist/index210.js.map +1 -1
  153. package/dist/index211.js +5 -23
  154. package/dist/index211.js.map +1 -1
  155. package/dist/index212.js +15 -28
  156. package/dist/index212.js.map +1 -1
  157. package/dist/index213.js +101 -17
  158. package/dist/index213.js.map +1 -1
  159. package/dist/index214.js +3 -7
  160. package/dist/index214.js.map +1 -1
  161. package/dist/index215.js +24 -15
  162. package/dist/index215.js.map +1 -1
  163. package/dist/index216.js +27 -7
  164. package/dist/index216.js.map +1 -1
  165. package/dist/index217.js +17 -24
  166. package/dist/index217.js.map +1 -1
  167. package/dist/index218.js +6 -22
  168. package/dist/index218.js.map +1 -1
  169. package/dist/index219.js +15 -6
  170. package/dist/index219.js.map +1 -1
  171. package/dist/index220.js +8 -5
  172. package/dist/index220.js.map +1 -1
  173. package/dist/index221.js +27 -4
  174. package/dist/index221.js.map +1 -1
  175. package/dist/index222.js +23 -4
  176. package/dist/index222.js.map +1 -1
  177. package/dist/index223.js +6 -24
  178. package/dist/index223.js.map +1 -1
  179. package/dist/index224.js +5 -3
  180. package/dist/index224.js.map +1 -1
  181. package/dist/index225.js +4 -24
  182. package/dist/index225.js.map +1 -1
  183. package/dist/index226.js +4 -23
  184. package/dist/index226.js.map +1 -1
  185. package/dist/index227.js +23 -6
  186. package/dist/index227.js.map +1 -1
  187. package/dist/index228.js +22 -8
  188. package/dist/index228.js.map +1 -1
  189. package/dist/index229.js +3 -19
  190. package/dist/index229.js.map +1 -1
  191. package/dist/index23.js.map +1 -1
  192. package/dist/index230.js +22 -50
  193. package/dist/index230.js.map +1 -1
  194. package/dist/index231.js +7 -20
  195. package/dist/index231.js.map +1 -1
  196. package/dist/index232.js +9 -27
  197. package/dist/index232.js.map +1 -1
  198. package/dist/index233.js +17 -97
  199. package/dist/index233.js.map +1 -1
  200. package/dist/index234.js +50 -33
  201. package/dist/index234.js.map +1 -1
  202. package/dist/index235.js +20 -119
  203. package/dist/index235.js.map +1 -1
  204. package/dist/index236.js +28 -13
  205. package/dist/index236.js.map +1 -1
  206. package/dist/index237.js +98 -4
  207. package/dist/index237.js.map +1 -1
  208. package/dist/index238.js +33 -15
  209. package/dist/index238.js.map +1 -1
  210. package/dist/index239.js +116 -62
  211. package/dist/index239.js.map +1 -1
  212. package/dist/index24.js.map +1 -1
  213. package/dist/index240.js +13 -10
  214. package/dist/index240.js.map +1 -1
  215. package/dist/index241.js +4 -109
  216. package/dist/index241.js.map +1 -1
  217. package/dist/index242.js +14 -14
  218. package/dist/index242.js.map +1 -1
  219. package/dist/index243.js +64 -12
  220. package/dist/index243.js.map +1 -1
  221. package/dist/index244.js +10 -5
  222. package/dist/index244.js.map +1 -1
  223. package/dist/index245.js +104 -318
  224. package/dist/index245.js.map +1 -1
  225. package/dist/index246.js +14 -66
  226. package/dist/index246.js.map +1 -1
  227. package/dist/index247.js +12 -232
  228. package/dist/index247.js.map +1 -1
  229. package/dist/index248.js +4 -270
  230. package/dist/index248.js.map +1 -1
  231. package/dist/index249.js +313 -309
  232. package/dist/index249.js.map +1 -1
  233. package/dist/index25.js.map +1 -1
  234. package/dist/index250.js +60 -171
  235. package/dist/index250.js.map +1 -1
  236. package/dist/index251.js +252 -8
  237. package/dist/index251.js.map +1 -1
  238. package/dist/index252.js +268 -41
  239. package/dist/index252.js.map +1 -1
  240. package/dist/index253.js +316 -47
  241. package/dist/index253.js.map +1 -1
  242. package/dist/index254.js +179 -9
  243. package/dist/index254.js.map +1 -1
  244. package/dist/index255.js +6 -50
  245. package/dist/index255.js.map +1 -1
  246. package/dist/index256.js +41 -51
  247. package/dist/index256.js.map +1 -1
  248. package/dist/index257.js +50 -7
  249. package/dist/index257.js.map +1 -1
  250. package/dist/index258.js +9 -10
  251. package/dist/index258.js.map +1 -1
  252. package/dist/index259.js +51 -61
  253. package/dist/index259.js.map +1 -1
  254. package/dist/index26.js.map +1 -1
  255. package/dist/index260.js +53 -42
  256. package/dist/index260.js.map +1 -1
  257. package/dist/index261.js +9 -97
  258. package/dist/index261.js.map +1 -1
  259. package/dist/index262.js +31 -47
  260. package/dist/index262.js.map +1 -1
  261. package/dist/index263.js +61 -36
  262. package/dist/index263.js.map +1 -1
  263. package/dist/index264.js +43 -47
  264. package/dist/index264.js.map +1 -1
  265. package/dist/index265.js +92 -46
  266. package/dist/index265.js.map +1 -1
  267. package/dist/index266.js +48 -20
  268. package/dist/index266.js.map +1 -1
  269. package/dist/index267.js +33 -176
  270. package/dist/index267.js.map +1 -1
  271. package/dist/index268.js +49 -48
  272. package/dist/index268.js.map +1 -1
  273. package/dist/index269.js +68 -15
  274. package/dist/index269.js.map +1 -1
  275. package/dist/index27.js.map +1 -1
  276. package/dist/index270.js +20 -65
  277. package/dist/index270.js.map +1 -1
  278. package/dist/index271.js +202 -9
  279. package/dist/index271.js.map +1 -1
  280. package/dist/index272.js +48 -40
  281. package/dist/index272.js.map +1 -1
  282. package/dist/index273.js +60 -91
  283. package/dist/index273.js.map +1 -1
  284. package/dist/index274.js +9 -278
  285. package/dist/index274.js.map +1 -1
  286. package/dist/index275.js +38 -55
  287. package/dist/index275.js.map +1 -1
  288. package/dist/index276.js +91 -10
  289. package/dist/index276.js.map +1 -1
  290. package/dist/index277.js +278 -12
  291. package/dist/index277.js.map +1 -1
  292. package/dist/index278.js +58 -11
  293. package/dist/index278.js.map +1 -1
  294. package/dist/index279.js +11 -64
  295. package/dist/index279.js.map +1 -1
  296. package/dist/index28.js +5 -5
  297. package/dist/index28.js.map +1 -1
  298. package/dist/index280.js +12 -6
  299. package/dist/index280.js.map +1 -1
  300. package/dist/index281.js +3 -25
  301. package/dist/index281.js.map +1 -1
  302. package/dist/index282.js +3 -25
  303. package/dist/index282.js.map +1 -1
  304. package/dist/index283.js +12 -126
  305. package/dist/index283.js.map +1 -1
  306. package/dist/index284.js +63 -51
  307. package/dist/index284.js.map +1 -1
  308. package/dist/index285.js +5 -60
  309. package/dist/index285.js.map +1 -1
  310. package/dist/index286.js +24 -48
  311. package/dist/index286.js.map +1 -1
  312. package/dist/index287.js +24 -6
  313. package/dist/index287.js.map +1 -1
  314. package/dist/index288.js +125 -14
  315. package/dist/index288.js.map +1 -1
  316. package/dist/index289.js +51 -16
  317. package/dist/index289.js.map +1 -1
  318. package/dist/index29.js +5 -7
  319. package/dist/index29.js.map +1 -1
  320. package/dist/index290.js +56 -11
  321. package/dist/index290.js.map +1 -1
  322. package/dist/index291.js +47 -24
  323. package/dist/index291.js.map +1 -1
  324. package/dist/index292.js +7 -51
  325. package/dist/index292.js.map +1 -1
  326. package/dist/index293.js +15 -6
  327. package/dist/index293.js.map +1 -1
  328. package/dist/index294.js +18 -148
  329. package/dist/index294.js.map +1 -1
  330. package/dist/index295.js +12 -59
  331. package/dist/index295.js.map +1 -1
  332. package/dist/index296.js +25 -120
  333. package/dist/index296.js.map +1 -1
  334. package/dist/index297.js +54 -15
  335. package/dist/index297.js.map +1 -1
  336. package/dist/index298.js +5 -866
  337. package/dist/index298.js.map +1 -1
  338. package/dist/index299.js +148 -28
  339. package/dist/index299.js.map +1 -1
  340. package/dist/index3.js.map +1 -1
  341. package/dist/index30.js +6 -8
  342. package/dist/index30.js.map +1 -1
  343. package/dist/index300.js +55 -512
  344. package/dist/index300.js.map +1 -1
  345. package/dist/index301.js +111 -794
  346. package/dist/index301.js.map +1 -1
  347. package/dist/index302.js +14 -7436
  348. package/dist/index302.js.map +1 -1
  349. package/dist/index303.js +862 -6
  350. package/dist/index303.js.map +1 -1
  351. package/dist/index304.js +28 -12
  352. package/dist/index304.js.map +1 -1
  353. package/dist/index305.js +515 -5
  354. package/dist/index305.js.map +1 -1
  355. package/dist/index306.js +803 -5
  356. package/dist/index306.js.map +1 -1
  357. package/dist/index307.js +7426 -468
  358. package/dist/index307.js.map +1 -1
  359. package/dist/index308.js +6 -37
  360. package/dist/index308.js.map +1 -1
  361. package/dist/index309.js +12 -19
  362. package/dist/index309.js.map +1 -1
  363. package/dist/index31.js +5 -11
  364. package/dist/index31.js.map +1 -1
  365. package/dist/index310.js +5 -30
  366. package/dist/index310.js.map +1 -1
  367. package/dist/index311.js +5 -4
  368. package/dist/index311.js.map +1 -1
  369. package/dist/index312.js +461 -51
  370. package/dist/index312.js.map +1 -1
  371. package/dist/index313.js +36 -10
  372. package/dist/index313.js.map +1 -1
  373. package/dist/index314.js +19 -5
  374. package/dist/index314.js.map +1 -1
  375. package/dist/index315.js +29 -8
  376. package/dist/index315.js.map +1 -1
  377. package/dist/index316.js +4 -12
  378. package/dist/index316.js.map +1 -1
  379. package/dist/index317.js +60 -3
  380. package/dist/index317.js.map +1 -1
  381. package/dist/index318.js +10 -15
  382. package/dist/index318.js.map +1 -1
  383. package/dist/index319.js +5 -25
  384. package/dist/index319.js.map +1 -1
  385. package/dist/index32.js +5 -5
  386. package/dist/index32.js.map +1 -1
  387. package/dist/index320.js +9 -41
  388. package/dist/index320.js.map +1 -1
  389. package/dist/index321.js +11 -4
  390. package/dist/index321.js.map +1 -1
  391. package/dist/index322.js +3 -26
  392. package/dist/index322.js.map +1 -1
  393. package/dist/index323.js +15 -18
  394. package/dist/index323.js.map +1 -1
  395. package/dist/index324.js +22 -31
  396. package/dist/index324.js.map +1 -1
  397. package/dist/index325.js +41 -5
  398. package/dist/index325.js.map +1 -1
  399. package/dist/index326.js +4 -8
  400. package/dist/index326.js.map +1 -1
  401. package/dist/index327.js +25 -8
  402. package/dist/index327.js.map +1 -1
  403. package/dist/index328.js +19 -9
  404. package/dist/index328.js.map +1 -1
  405. package/dist/index329.js +34 -10
  406. package/dist/index329.js.map +1 -1
  407. package/dist/index33.js +9 -6
  408. package/dist/index33.js.map +1 -1
  409. package/dist/index330.js +5 -7
  410. package/dist/index330.js.map +1 -1
  411. package/dist/index331.js +9 -75
  412. package/dist/index331.js.map +1 -1
  413. package/dist/index332.js +8 -162
  414. package/dist/index332.js.map +1 -1
  415. package/dist/index333.js +9 -114
  416. package/dist/index333.js.map +1 -1
  417. package/dist/index334.js +10 -14
  418. package/dist/index334.js.map +1 -1
  419. package/dist/index335.js +7 -80
  420. package/dist/index335.js.map +1 -1
  421. package/dist/index336.js +68 -39
  422. package/dist/index336.js.map +1 -1
  423. package/dist/index337.js +160 -11
  424. package/dist/index337.js.map +1 -1
  425. package/dist/index338.js +113 -15
  426. package/dist/index338.js.map +1 -1
  427. package/dist/index339.js +13 -100
  428. package/dist/index339.js.map +1 -1
  429. package/dist/index34.js +6 -6
  430. package/dist/index34.js.map +1 -1
  431. package/dist/index340.js +73 -49
  432. package/dist/index340.js.map +1 -1
  433. package/dist/index341.js +34 -96
  434. package/dist/index341.js.map +1 -1
  435. package/dist/index342.js +12 -70
  436. package/dist/index342.js.map +1 -1
  437. package/dist/index343.js +14 -111
  438. package/dist/index343.js.map +1 -1
  439. package/dist/index344.js +94 -48
  440. package/dist/index344.js.map +1 -1
  441. package/dist/index345.js +50 -37
  442. package/dist/index345.js.map +1 -1
  443. package/dist/index346.js +89 -125
  444. package/dist/index346.js.map +1 -1
  445. package/dist/index347.js +52 -123
  446. package/dist/index347.js.map +1 -1
  447. package/dist/index348.js +54 -197
  448. package/dist/index348.js.map +1 -1
  449. package/dist/index349.js +44 -229
  450. package/dist/index349.js.map +1 -1
  451. package/dist/index35.js +9 -9
  452. package/dist/index35.js.map +1 -1
  453. package/dist/index350.js +42 -308
  454. package/dist/index350.js.map +1 -1
  455. package/dist/index351.js +144 -5
  456. package/dist/index351.js.map +1 -1
  457. package/dist/index352.js +142 -6
  458. package/dist/index352.js.map +1 -1
  459. package/dist/index353.js +257 -7
  460. package/dist/index353.js.map +1 -1
  461. package/dist/index354.js +241 -6
  462. package/dist/index354.js.map +1 -1
  463. package/dist/index355.js +309 -6
  464. package/dist/index355.js.map +1 -1
  465. package/dist/index356.js +5 -21
  466. package/dist/index356.js.map +1 -1
  467. package/dist/index357.js +6 -10
  468. package/dist/index357.js.map +1 -1
  469. package/dist/index358.js +7 -128
  470. package/dist/index358.js.map +1 -1
  471. package/dist/index359.js +6 -42
  472. package/dist/index359.js.map +1 -1
  473. package/dist/index36.js +12 -7
  474. package/dist/index36.js.map +1 -1
  475. package/dist/index360.js +6 -68
  476. package/dist/index360.js.map +1 -1
  477. package/dist/index361.js +20 -116
  478. package/dist/index361.js.map +1 -1
  479. package/dist/index362.js +10 -490
  480. package/dist/index362.js.map +1 -1
  481. package/dist/index363.js +128 -7
  482. package/dist/index363.js.map +1 -1
  483. package/dist/index364.js +42 -13
  484. package/dist/index364.js.map +1 -1
  485. package/dist/index365.js +67 -3
  486. package/dist/index365.js.map +1 -1
  487. package/dist/index366.js +115 -45
  488. package/dist/index366.js.map +1 -1
  489. package/dist/index367.js +490 -11
  490. package/dist/index367.js.map +1 -1
  491. package/dist/index368.js +8 -26
  492. package/dist/index368.js.map +1 -1
  493. package/dist/index369.js +12 -41
  494. package/dist/index369.js.map +1 -1
  495. package/dist/index37.js +13 -5
  496. package/dist/index37.js.map +1 -1
  497. package/dist/index370.js +4 -36
  498. package/dist/index370.js.map +1 -1
  499. package/dist/index371.js +45 -15
  500. package/dist/index371.js.map +1 -1
  501. package/dist/index372.js +24 -41
  502. package/dist/index372.js.map +1 -1
  503. package/dist/index373.js +3 -12
  504. package/dist/index373.js.map +1 -1
  505. package/dist/index374.js +27 -11
  506. package/dist/index374.js.map +1 -1
  507. package/dist/index375.js +40 -50
  508. package/dist/index375.js.map +1 -1
  509. package/dist/index376.js +37 -40
  510. package/dist/index376.js.map +1 -1
  511. package/dist/index377.js +12 -10
  512. package/dist/index377.js.map +1 -1
  513. package/dist/index378.js +40 -4
  514. package/dist/index378.js.map +1 -1
  515. package/dist/index379.js +7 -4
  516. package/dist/index379.js.map +1 -1
  517. package/dist/index38.js +5 -5
  518. package/dist/index38.js.map +1 -1
  519. package/dist/index380.js +29 -8
  520. package/dist/index380.js.map +1 -1
  521. package/dist/index381.js +9 -303
  522. package/dist/index381.js.map +1 -1
  523. package/dist/index382.js +57 -4
  524. package/dist/index382.js.map +1 -1
  525. package/dist/index383.js +40 -22
  526. package/dist/index383.js.map +1 -1
  527. package/dist/index384.js +15 -105
  528. package/dist/index384.js.map +1 -1
  529. package/dist/index385.js +5 -22
  530. package/dist/index385.js.map +1 -1
  531. package/dist/index386.js +10 -22
  532. package/dist/index386.js.map +1 -1
  533. package/dist/index387.js +289 -16
  534. package/dist/index387.js.map +1 -1
  535. package/dist/index388.js +4 -12
  536. package/dist/index388.js.map +1 -1
  537. package/dist/index389.js +20 -112
  538. package/dist/index389.js.map +1 -1
  539. package/dist/index39.js +6 -10
  540. package/dist/index39.js.map +1 -1
  541. package/dist/index390.js +3 -9
  542. package/dist/index390.js.map +1 -1
  543. package/dist/index391.js +104 -27
  544. package/dist/index391.js.map +1 -1
  545. package/dist/index392.js +20 -9
  546. package/dist/index392.js.map +1 -1
  547. package/dist/index393.js +20 -6
  548. package/dist/index393.js.map +1 -1
  549. package/dist/index394.js +14 -253
  550. package/dist/index394.js.map +1 -1
  551. package/dist/index395.js +12 -10
  552. package/dist/index395.js.map +1 -1
  553. package/dist/index396.js +117 -11
  554. package/dist/index396.js.map +1 -1
  555. package/dist/index397.js +8 -6
  556. package/dist/index397.js.map +1 -1
  557. package/dist/index398.js +32 -22
  558. package/dist/index398.js.map +1 -1
  559. package/dist/index399.js +9 -23
  560. package/dist/index399.js.map +1 -1
  561. package/dist/index4.js.map +1 -1
  562. package/dist/index40.js +8 -11
  563. package/dist/index40.js.map +1 -1
  564. package/dist/index400.js +6 -105
  565. package/dist/index400.js.map +1 -1
  566. package/dist/index401.js +3 -15
  567. package/dist/index401.js.map +1 -1
  568. package/dist/index402.js +251 -10
  569. package/dist/index402.js.map +1 -1
  570. package/dist/index403.js +9 -7
  571. package/dist/index403.js.map +1 -1
  572. package/dist/index404.js +11 -239
  573. package/dist/index404.js.map +1 -1
  574. package/dist/index405.js +7 -28
  575. package/dist/index405.js.map +1 -1
  576. package/dist/index406.js +21 -37
  577. package/dist/index406.js.map +1 -1
  578. package/dist/index407.js +21 -10
  579. package/dist/index407.js.map +1 -1
  580. package/dist/index408.js +97 -117
  581. package/dist/index408.js.map +1 -1
  582. package/dist/index409.js +15 -40
  583. package/dist/index409.js.map +1 -1
  584. package/dist/index41.js +6 -7
  585. package/dist/index41.js.map +1 -1
  586. package/dist/index410.js +11 -25
  587. package/dist/index410.js.map +1 -1
  588. package/dist/index411.js +7 -9
  589. package/dist/index411.js.map +1 -1
  590. package/dist/index412.js +3 -24
  591. package/dist/index412.js.map +1 -1
  592. package/dist/index413.js +226 -15
  593. package/dist/index413.js.map +1 -1
  594. package/dist/index414.js +24 -11
  595. package/dist/index414.js.map +1 -1
  596. package/dist/index415.js +38 -4
  597. package/dist/index415.js.map +1 -1
  598. package/dist/index416.js +11 -324
  599. package/dist/index416.js.map +1 -1
  600. package/dist/index417.js +119 -62
  601. package/dist/index417.js.map +1 -1
  602. package/dist/index418.js +42 -4
  603. package/dist/index418.js.map +1 -1
  604. package/dist/index419.js +25 -28
  605. package/dist/index419.js.map +1 -1
  606. package/dist/index42.js +6 -4
  607. package/dist/index42.js.map +1 -1
  608. package/dist/index420.js +11 -470
  609. package/dist/index420.js.map +1 -1
  610. package/dist/index421.js +23 -268
  611. package/dist/index421.js.map +1 -1
  612. package/dist/index422.js +24 -0
  613. package/dist/index422.js.map +1 -0
  614. package/dist/index423.js +17 -0
  615. package/dist/index423.js.map +1 -0
  616. package/dist/index424.js +8 -0
  617. package/dist/index424.js.map +1 -0
  618. package/dist/index425.js +328 -0
  619. package/dist/index425.js.map +1 -0
  620. package/dist/index426.js +66 -0
  621. package/dist/index426.js.map +1 -0
  622. package/dist/index427.js +7 -0
  623. package/dist/index427.js.map +1 -0
  624. package/dist/index428.js +31 -0
  625. package/dist/index428.js.map +1 -0
  626. package/dist/index429.js +474 -0
  627. package/dist/index429.js.map +1 -0
  628. package/dist/index43.js +68 -7
  629. package/dist/index43.js.map +1 -1
  630. package/dist/index430.js +272 -0
  631. package/dist/index430.js.map +1 -0
  632. package/dist/index44.js +7 -6
  633. package/dist/index44.js.map +1 -1
  634. package/dist/index45.js +31 -7
  635. package/dist/index45.js.map +1 -1
  636. package/dist/index46.js +10 -10
  637. package/dist/index46.js.map +1 -1
  638. package/dist/index47.js +15 -13
  639. package/dist/index47.js.map +1 -1
  640. package/dist/index48.js +201 -7
  641. package/dist/index48.js.map +1 -1
  642. package/dist/index49.js +20 -6
  643. package/dist/index49.js.map +1 -1
  644. package/dist/index5.js.map +1 -1
  645. package/dist/index50.js +16 -6
  646. package/dist/index50.js.map +1 -1
  647. package/dist/index51.js +123 -14
  648. package/dist/index51.js.map +1 -1
  649. package/dist/index52.js +19 -8
  650. package/dist/index52.js.map +1 -1
  651. package/dist/index53.js +5 -7
  652. package/dist/index53.js.map +1 -1
  653. package/dist/index54.js +9 -68
  654. package/dist/index54.js.map +1 -1
  655. package/dist/index55.js +7 -7
  656. package/dist/index55.js.map +1 -1
  657. package/dist/index56.js +9 -31
  658. package/dist/index56.js.map +1 -1
  659. package/dist/index57.js +13 -10
  660. package/dist/index57.js.map +1 -1
  661. package/dist/index58.js +8 -15
  662. package/dist/index58.js.map +1 -1
  663. package/dist/index59.js +10 -201
  664. package/dist/index59.js.map +1 -1
  665. package/dist/index6.js.map +1 -1
  666. package/dist/index60.js +13 -20
  667. package/dist/index60.js.map +1 -1
  668. package/dist/index61.js +9 -16
  669. package/dist/index61.js.map +1 -1
  670. package/dist/index62.js +10 -123
  671. package/dist/index62.js.map +1 -1
  672. package/dist/index63.js +5 -19
  673. package/dist/index63.js.map +1 -1
  674. package/dist/index64.js +42 -9
  675. package/dist/index64.js.map +1 -1
  676. package/dist/index65.js +387 -9
  677. package/dist/index65.js.map +1 -1
  678. package/dist/index66.js +37 -14
  679. package/dist/index66.js.map +1 -1
  680. package/dist/index67.js +21 -9
  681. package/dist/index67.js.map +1 -1
  682. package/dist/index68.js +4 -9
  683. package/dist/index68.js.map +1 -1
  684. package/dist/index69.js +6 -4
  685. package/dist/index69.js.map +1 -1
  686. package/dist/index7.js +3 -3
  687. package/dist/index7.js.map +1 -1
  688. package/dist/index70.js +57 -41
  689. package/dist/index70.js.map +1 -1
  690. package/dist/index71.js +5 -387
  691. package/dist/index71.js.map +1 -1
  692. package/dist/index72.js +6 -37
  693. package/dist/index72.js.map +1 -1
  694. package/dist/index73.js +5 -21
  695. package/dist/index73.js.map +1 -1
  696. package/dist/index74.js +4 -56
  697. package/dist/index74.js.map +1 -1
  698. package/dist/index75.js +7 -7
  699. package/dist/index75.js.map +1 -1
  700. package/dist/index76.js +6 -5
  701. package/dist/index76.js.map +1 -1
  702. package/dist/index77.js +6 -5
  703. package/dist/index77.js.map +1 -1
  704. package/dist/index78.js +11 -5
  705. package/dist/index78.js.map +1 -1
  706. package/dist/index79.js +11 -5
  707. package/dist/index79.js.map +1 -1
  708. package/dist/index8.js.map +1 -1
  709. package/dist/index80.js +7 -6
  710. package/dist/index80.js.map +1 -1
  711. package/dist/index81.js +10 -6
  712. package/dist/index81.js.map +1 -1
  713. package/dist/index82.js +5 -8
  714. package/dist/index82.js.map +1 -1
  715. package/dist/index83.js +6 -7
  716. package/dist/index83.js.map +1 -1
  717. package/dist/index84.js.map +1 -1
  718. package/dist/index85.js.map +1 -1
  719. package/dist/index86.js.map +1 -1
  720. package/dist/index87.js +2 -2
  721. package/dist/index87.js.map +1 -1
  722. package/dist/index88.js +31 -31
  723. package/dist/index88.js.map +1 -1
  724. package/dist/index89.js +1 -1
  725. package/dist/index89.js.map +1 -1
  726. package/dist/index9.js.map +1 -1
  727. package/dist/index90.js.map +1 -1
  728. package/dist/index91.js.map +1 -1
  729. package/dist/index92.js.map +1 -1
  730. package/dist/index93.js.map +1 -1
  731. package/dist/index94.js.map +1 -1
  732. package/dist/index95.js.map +1 -1
  733. package/dist/index96.js.map +1 -1
  734. package/dist/index97.js.map +1 -1
  735. package/dist/index98.js.map +1 -1
  736. package/dist/index99.js.map +1 -1
  737. package/package.json +13 -13
  738. package/dist/assets/sha256.worker-BEf4_Y9w.js.map +0 -1
package/dist/index48.js CHANGED
@@ -1,10 +1,204 @@
1
- import e from "./index25.js";
2
- //#region ../../node_modules/date-fns/startOfMonth.js
3
- function t(t, n) {
4
- let r = e(t, n?.in);
5
- return r.setDate(1), r.setHours(0, 0, 0, 0), r;
6
- }
1
+ import { buildLocalizeFn as e } from "./index47.js";
2
+ var t = {
3
+ ordinalNumber: (e, t) => {
4
+ let n = Number(e), r = n % 100;
5
+ if (r > 20 || r < 10) switch (r % 10) {
6
+ case 1: return n + "st";
7
+ case 2: return n + "nd";
8
+ case 3: return n + "rd";
9
+ }
10
+ return n + "th";
11
+ },
12
+ era: e({
13
+ values: {
14
+ narrow: ["B", "A"],
15
+ abbreviated: ["BC", "AD"],
16
+ wide: ["Before Christ", "Anno Domini"]
17
+ },
18
+ defaultWidth: "wide"
19
+ }),
20
+ quarter: e({
21
+ values: {
22
+ narrow: [
23
+ "1",
24
+ "2",
25
+ "3",
26
+ "4"
27
+ ],
28
+ abbreviated: [
29
+ "Q1",
30
+ "Q2",
31
+ "Q3",
32
+ "Q4"
33
+ ],
34
+ wide: [
35
+ "1st quarter",
36
+ "2nd quarter",
37
+ "3rd quarter",
38
+ "4th quarter"
39
+ ]
40
+ },
41
+ defaultWidth: "wide",
42
+ argumentCallback: (e) => e - 1
43
+ }),
44
+ month: e({
45
+ values: {
46
+ narrow: [
47
+ "J",
48
+ "F",
49
+ "M",
50
+ "A",
51
+ "M",
52
+ "J",
53
+ "J",
54
+ "A",
55
+ "S",
56
+ "O",
57
+ "N",
58
+ "D"
59
+ ],
60
+ abbreviated: [
61
+ "Jan",
62
+ "Feb",
63
+ "Mar",
64
+ "Apr",
65
+ "May",
66
+ "Jun",
67
+ "Jul",
68
+ "Aug",
69
+ "Sep",
70
+ "Oct",
71
+ "Nov",
72
+ "Dec"
73
+ ],
74
+ wide: [
75
+ "January",
76
+ "February",
77
+ "March",
78
+ "April",
79
+ "May",
80
+ "June",
81
+ "July",
82
+ "August",
83
+ "September",
84
+ "October",
85
+ "November",
86
+ "December"
87
+ ]
88
+ },
89
+ defaultWidth: "wide"
90
+ }),
91
+ day: e({
92
+ values: {
93
+ narrow: [
94
+ "S",
95
+ "M",
96
+ "T",
97
+ "W",
98
+ "T",
99
+ "F",
100
+ "S"
101
+ ],
102
+ short: [
103
+ "Su",
104
+ "Mo",
105
+ "Tu",
106
+ "We",
107
+ "Th",
108
+ "Fr",
109
+ "Sa"
110
+ ],
111
+ abbreviated: [
112
+ "Sun",
113
+ "Mon",
114
+ "Tue",
115
+ "Wed",
116
+ "Thu",
117
+ "Fri",
118
+ "Sat"
119
+ ],
120
+ wide: [
121
+ "Sunday",
122
+ "Monday",
123
+ "Tuesday",
124
+ "Wednesday",
125
+ "Thursday",
126
+ "Friday",
127
+ "Saturday"
128
+ ]
129
+ },
130
+ defaultWidth: "wide"
131
+ }),
132
+ dayPeriod: e({
133
+ values: {
134
+ narrow: {
135
+ am: "a",
136
+ pm: "p",
137
+ midnight: "mi",
138
+ noon: "n",
139
+ morning: "morning",
140
+ afternoon: "afternoon",
141
+ evening: "evening",
142
+ night: "night"
143
+ },
144
+ abbreviated: {
145
+ am: "AM",
146
+ pm: "PM",
147
+ midnight: "midnight",
148
+ noon: "noon",
149
+ morning: "morning",
150
+ afternoon: "afternoon",
151
+ evening: "evening",
152
+ night: "night"
153
+ },
154
+ wide: {
155
+ am: "a.m.",
156
+ pm: "p.m.",
157
+ midnight: "midnight",
158
+ noon: "noon",
159
+ morning: "morning",
160
+ afternoon: "afternoon",
161
+ evening: "evening",
162
+ night: "night"
163
+ }
164
+ },
165
+ defaultWidth: "wide",
166
+ formattingValues: {
167
+ narrow: {
168
+ am: "a",
169
+ pm: "p",
170
+ midnight: "mi",
171
+ noon: "n",
172
+ morning: "in the morning",
173
+ afternoon: "in the afternoon",
174
+ evening: "in the evening",
175
+ night: "at night"
176
+ },
177
+ abbreviated: {
178
+ am: "AM",
179
+ pm: "PM",
180
+ midnight: "midnight",
181
+ noon: "noon",
182
+ morning: "in the morning",
183
+ afternoon: "in the afternoon",
184
+ evening: "in the evening",
185
+ night: "at night"
186
+ },
187
+ wide: {
188
+ am: "a.m.",
189
+ pm: "p.m.",
190
+ midnight: "midnight",
191
+ noon: "noon",
192
+ morning: "in the morning",
193
+ afternoon: "in the afternoon",
194
+ evening: "in the evening",
195
+ night: "at night"
196
+ }
197
+ },
198
+ defaultFormattingWidth: "wide"
199
+ })
200
+ };
7
201
  //#endregion
8
- export { t as default, t as startOfMonth };
202
+ export { t as localize };
9
203
 
10
204
  //# sourceMappingURL=index48.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index48.js","names":[],"sources":["../../../node_modules/date-fns/startOfMonth.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfMonth} function options.\n */\n\n/**\n * @name startOfMonth\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date. The result will be in the local timezone.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments.\n * 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,\n * or inferred from the arguments.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a month\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport function startOfMonth(date, options) {\n const _date = toDate(date, options?.in);\n _date.setDate(1);\n _date.setHours(0, 0, 0, 0);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfMonth;\n"],"x_google_ignoreList":[0],"mappings":";;AA6BA,SAAgB,EAAa,GAAM,GAAS;CAC1C,IAAM,IAAQ,EAAO,GAAM,GAAS,EAAE;CAGtC,OAFA,EAAM,QAAQ,CAAC,GACf,EAAM,SAAS,GAAG,GAAG,GAAG,CAAC,GAClB;AACT"}
1
+ {"version":3,"file":"index48.js","names":["localize","number","dirtyNumber","rem100","buildLocalizeFn","quarter"],"sources":["../../../node_modules/date-fns/locale/en-US/_lib/localize.js"],"sourcesContent":["import { buildLocalizeFn } from \"../../_lib/buildLocalizeFn.js\";\n\nconst eraValues = {\n narrow: [\"B\", \"A\"],\n abbreviated: [\"BC\", \"AD\"],\n wide: [\"Before Christ\", \"Anno Domini\"],\n};\n\nconst quarterValues = {\n narrow: [\"1\", \"2\", \"3\", \"4\"],\n abbreviated: [\"Q1\", \"Q2\", \"Q3\", \"Q4\"],\n wide: [\"1st quarter\", \"2nd quarter\", \"3rd quarter\", \"4th quarter\"],\n};\n\n// Note: in English, the names of days of the week and months are capitalized.\n// If you are making a new locale based on this one, check if the same is true for the language you're working on.\n// Generally, formatted dates should look like they are in the middle of a sentence,\n// e.g. in Spanish language the weekdays and months should be in the lowercase.\nconst monthValues = {\n narrow: [\"J\", \"F\", \"M\", \"A\", \"M\", \"J\", \"J\", \"A\", \"S\", \"O\", \"N\", \"D\"],\n abbreviated: [\n \"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\",\n ],\n\n wide: [\n \"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\",\n ],\n};\n\nconst dayValues = {\n narrow: [\"S\", \"M\", \"T\", \"W\", \"T\", \"F\", \"S\"],\n short: [\"Su\", \"Mo\", \"Tu\", \"We\", \"Th\", \"Fr\", \"Sa\"],\n abbreviated: [\"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", \"Sat\"],\n wide: [\n \"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\",\n ],\n};\n\nconst dayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\",\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"morning\",\n afternoon: \"afternoon\",\n evening: \"evening\",\n night: \"night\",\n },\n};\n\nconst formattingDayPeriodValues = {\n narrow: {\n am: \"a\",\n pm: \"p\",\n midnight: \"mi\",\n noon: \"n\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\",\n },\n abbreviated: {\n am: \"AM\",\n pm: \"PM\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\",\n },\n wide: {\n am: \"a.m.\",\n pm: \"p.m.\",\n midnight: \"midnight\",\n noon: \"noon\",\n morning: \"in the morning\",\n afternoon: \"in the afternoon\",\n evening: \"in the evening\",\n night: \"at night\",\n },\n};\n\nconst ordinalNumber = (dirtyNumber, _options) => {\n const number = Number(dirtyNumber);\n\n // If ordinal numbers depend on context, for example,\n // if they are different for different grammatical genders,\n // use `options.unit`.\n //\n // `unit` can be 'year', 'quarter', 'month', 'week', 'date', 'dayOfYear',\n // 'day', 'hour', 'minute', 'second'.\n\n const rem100 = number % 100;\n if (rem100 > 20 || rem100 < 10) {\n switch (rem100 % 10) {\n case 1:\n return number + \"st\";\n case 2:\n return number + \"nd\";\n case 3:\n return number + \"rd\";\n }\n }\n return number + \"th\";\n};\n\nexport const localize = {\n ordinalNumber,\n\n era: buildLocalizeFn({\n values: eraValues,\n defaultWidth: \"wide\",\n }),\n\n quarter: buildLocalizeFn({\n values: quarterValues,\n defaultWidth: \"wide\",\n argumentCallback: (quarter) => quarter - 1,\n }),\n\n month: buildLocalizeFn({\n values: monthValues,\n defaultWidth: \"wide\",\n }),\n\n day: buildLocalizeFn({\n values: dayValues,\n defaultWidth: \"wide\",\n }),\n\n dayPeriod: buildLocalizeFn({\n values: dayPeriodValues,\n defaultWidth: \"wide\",\n formattingValues: formattingDayPeriodValues,\n defaultFormattingWidth: \"wide\",\n }),\n};\n"],"ignoreList":[0],"mappings":";AA4JA,IAAaA,IAAW;CACtB,gBAzBqB,GAAa,MAAa;EAC/C,IAAMC,IAAS,OAAOC,CAAW,GAS3BC,IAASF,IAAS;EACxB,IAAIE,IAAS,MAAMA,IAAS,IAC1B,QAAQA,IAAS,IAAjB;GACE,KAAK,GACH,OAAOF,IAAS;GAClB,KAAK,GACH,OAAOA,IAAS;GAClB,KAAK,GACH,OAAOA,IAAS;EACpB;EAEF,OAAOA,IAAS;CAClB;CAKE,KAAKG,EAAgB;EACnB,QAAQ;GA7JV,QAAQ,CAAC,KAAK,GAAG;GACjB,aAAa,CAAC,MAAM,IAAI;GACxB,MAAM,CAAC,iBAAiB,aAAa;EA2J3B;EACR,cAAc;CAChB,CAAC;CAED,SAASA,EAAgB;EACvB,QAAQ;GA5JV,QAAQ;IAAC;IAAK;IAAK;IAAK;GAAG;GAC3B,aAAa;IAAC;IAAM;IAAM;IAAM;GAAI;GACpC,MAAM;IAAC;IAAe;IAAe;IAAe;GAAa;EA0JvD;EACR,cAAc;EACd,mBAAmB,MAAYC,IAAU;CAC3C,CAAC;CAED,OAAOD,EAAgB;EACrB,QAAQ;GAxJV,QAAQ;IAAC;IAAK;IAAK;IAAK;IAAK;IAAK;IAAK;IAAK;IAAK;IAAK;IAAK;IAAK;GAAG;GACnE,aAAa;IACX;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;GAEA,MAAM;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;EA2HU;EACR,cAAc;CAChB,CAAC;CAED,KAAKA,EAAgB;EACnB,QAAQ;GA5HV,QAAQ;IAAC;IAAK;IAAK;IAAK;IAAK;IAAK;IAAK;GAAG;GAC1C,OAAO;IAAC;IAAM;IAAM;IAAM;IAAM;IAAM;IAAM;GAAI;GAChD,aAAa;IAAC;IAAO;IAAO;IAAO;IAAO;IAAO;IAAO;GAAK;GAC7D,MAAM;IACJ;IACA;IACA;IACA;IACA;IACA;IACA;GACF;EAiHU;EACR,cAAc;CAChB,CAAC;CAED,WAAWA,EAAgB;EACzB,QAAQ;GAlHV,QAAQ;IACN,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,SAAS;IACT,WAAW;IACX,SAAS;IACT,OAAO;GACT;GACA,aAAa;IACX,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,SAAS;IACT,WAAW;IACX,SAAS;IACT,OAAO;GACT;GACA,MAAM;IACJ,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,SAAS;IACT,WAAW;IACX,SAAS;IACT,OAAO;GACT;EAqFU;EACR,cAAc;EACd,kBAAkB;GAnFpB,QAAQ;IACN,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,SAAS;IACT,WAAW;IACX,SAAS;IACT,OAAO;GACT;GACA,aAAa;IACX,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,SAAS;IACT,WAAW;IACX,SAAS;IACT,OAAO;GACT;GACA,MAAM;IACJ,IAAI;IACJ,IAAI;IACJ,UAAU;IACV,MAAM;IACN,SAAS;IACT,WAAW;IACX,SAAS;IACT,OAAO;GACT;EAsDoB;EAClB,wBAAwB;CAC1B,CAAC;AACH"}
package/dist/index49.js CHANGED
@@ -1,10 +1,24 @@
1
- import e from "./index25.js";
2
- //#region ../../node_modules/date-fns/endOfYear.js
3
- function t(t, n) {
4
- let r = e(t, n?.in), i = r.getFullYear();
5
- return r.setFullYear(i + 1, 0, 0), r.setHours(23, 59, 59, 999), r;
1
+ //#region ../../node_modules/date-fns/locale/_lib/buildMatchFn.js
2
+ function e(e) {
3
+ return (r, i = {}) => {
4
+ let a = i.width, o = a && e.matchPatterns[a] || e.matchPatterns[e.defaultMatchWidth], s = r.match(o);
5
+ if (!s) return null;
6
+ let c = s[0], l = a && e.parsePatterns[a] || e.parsePatterns[e.defaultParseWidth], u = Array.isArray(l) ? n(l, (e) => e.test(c)) : t(l, (e) => e.test(c)), d;
7
+ d = e.valueCallback ? e.valueCallback(u) : u, d = i.valueCallback ? i.valueCallback(d) : d;
8
+ let f = r.slice(c.length);
9
+ return {
10
+ value: d,
11
+ rest: f
12
+ };
13
+ };
14
+ }
15
+ function t(e, t) {
16
+ for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
17
+ }
18
+ function n(e, t) {
19
+ for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
6
20
  }
7
21
  //#endregion
8
- export { t as default, t as endOfYear };
22
+ export { e as buildMatchFn };
9
23
 
10
24
  //# sourceMappingURL=index49.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index49.js","names":[],"sources":["../../../node_modules/date-fns/endOfYear.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link endOfYear} function options.\n */\n\n/**\n * @name endOfYear\n * @category Year Helpers\n * @summary Return the end of a year for the given date.\n *\n * @description\n * Return the end of a year for the given date.\n * The result will be in the local timezone.\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 date - The original date\n * @param options - The options\n *\n * @returns The end of a year\n *\n * @example\n * // The end of a year for 2 September 2014 11:55:00:\n * const result = endOfYear(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Wed Dec 31 2014 23:59:59.999\n */\nexport function endOfYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n _date.setFullYear(year + 1, 0, 0);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default endOfYear;\n"],"x_google_ignoreList":[0],"mappings":";;AA4BA,SAAgB,EAAU,GAAM,GAAS;CACvC,IAAM,IAAQ,EAAO,GAAM,GAAS,EAAE,GAChC,IAAO,EAAM,YAAY;CAG/B,OAFA,EAAM,YAAY,IAAO,GAAG,GAAG,CAAC,GAChC,EAAM,SAAS,IAAI,IAAI,IAAI,GAAG,GACvB;AACT"}
1
+ {"version":3,"file":"index49.js","names":["buildMatchFn","width","options","matchPattern","args","matchResult","string","matchedString","parsePatterns","key","findIndex","pattern","findKey","value","rest","object","predicate","array"],"sources":["../../../node_modules/date-fns/locale/_lib/buildMatchFn.js"],"sourcesContent":["export function buildMatchFn(args) {\n return (string, options = {}) => {\n const width = options.width;\n\n const matchPattern =\n (width && args.matchPatterns[width]) ||\n args.matchPatterns[args.defaultMatchWidth];\n const matchResult = string.match(matchPattern);\n\n if (!matchResult) {\n return null;\n }\n const matchedString = matchResult[0];\n\n const parsePatterns =\n (width && args.parsePatterns[width]) ||\n args.parsePatterns[args.defaultParseWidth];\n\n const key = Array.isArray(parsePatterns)\n ? findIndex(parsePatterns, (pattern) => pattern.test(matchedString))\n : // [TODO] -- I challenge you to fix the type\n findKey(parsePatterns, (pattern) => pattern.test(matchedString));\n\n let value;\n\n value = args.valueCallback ? args.valueCallback(key) : key;\n value = options.valueCallback\n ? // [TODO] -- I challenge you to fix the type\n options.valueCallback(value)\n : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n\nfunction findKey(object, predicate) {\n for (const key in object) {\n if (\n Object.prototype.hasOwnProperty.call(object, key) &&\n predicate(object[key])\n ) {\n return key;\n }\n }\n return undefined;\n}\n\nfunction findIndex(array, predicate) {\n for (let key = 0; key < array.length; key++) {\n if (predicate(array[key])) {\n return key;\n }\n }\n return undefined;\n}\n"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,EAAa,GAAM;CACjC,QAAQ,GAAQ,IAAU,CAAC,MAAM;EAC/B,IAAMC,IAAQC,EAAQ,OAEhBC,IACHF,KAASG,EAAK,cAAcH,MAC7BG,EAAK,cAAcA,EAAK,oBACpBC,IAAcC,EAAO,MAAMH,CAAY;EAE7C,IAAI,CAACE,GACH,OAAO;EAET,IAAME,IAAgBF,EAAY,IAE5BG,IACHP,KAASG,EAAK,cAAcH,MAC7BG,EAAK,cAAcA,EAAK,oBAEpBK,IAAM,MAAM,QAAQD,CAAa,IACnCE,EAAUF,IAAgB,MAAYG,EAAQ,KAAKJ,CAAa,CAAC,IAEjEK,EAAQJ,IAAgB,MAAYG,EAAQ,KAAKJ,CAAa,CAAC,GAE/DM;EAGJ,AADA,IAAQT,EAAK,gBAAgBA,EAAK,cAAcK,CAAG,IAAIA,GACvD,IAAQP,EAAQ,gBAEZA,EAAQ,cAAcW,CAAK,IAC3BA;EAEJ,IAAMC,IAAOR,EAAO,MAAMC,EAAc,MAAM;EAE9C,OAAO;GAAE;GAAO;EAAK;CACvB;AACF;AAEA,SAASK,EAAQ,GAAQ,GAAW;CAClC,KAAK,IAAMH,KAAOM,GAChB,IACE,OAAO,UAAU,eAAe,KAAKA,GAAQN,CAAG,KAChDO,EAAUD,EAAON,EAAI,GAErB,OAAOA;AAIb;AAEA,SAASC,EAAU,GAAO,GAAW;CACnC,KAAK,IAAID,IAAM,GAAGA,IAAMQ,EAAM,QAAQ,KACpC,IAAID,EAAUC,EAAMR,EAAI,GACtB,OAAOA;AAIb"}
@@ -1 +1 @@
1
- {"version":3,"file":"index5.js","names":[],"sources":["../../../node_modules/@googlemaps/js-api-loader/dist/index.js"],"sourcesContent":["const MSG_DEPRECATED_LOADER = \"The Loader class is no longer available in this version.\" +\n \"\\nPlease use the new functional API: setOptions() and importLibrary().\" +\n \"\\nFor more information, see the updated documentation at: \" +\n \"https://github.com/googlemaps/js-api-loader/blob/main/README.md\";\nconst MSG_REPEATED_SET_OPTIONS = (options) => `The setOptions() function should only be called once. The options passed ` +\n `to the additional call (${JSON.stringify(options)}) will be ignored.`;\nconst MSG_IMPORT_LIBRARY_EXISTS = (options) => `The google.maps.importLibrary() function is already defined, and ` +\n `@googlemaps/js-api-loader will use the existing function instead of ` +\n `overwriting it. The options passed to setOptions ` +\n `(${JSON.stringify(options)}) will be ignored.`;\nconst MSG_SET_OPTIONS_NOT_CALLED = \"No options were set before calling importLibrary. Make sure to configure \" +\n \"the loader using setOptions().\";\nconst MSG_SCRIPT_ELEMENT_EXISTS = \"There already is a script loading the Google Maps JavaScript \" +\n \"API, and no google.maps.importLibrary function is defined. \" +\n \"@googlemaps/js-api-loader will proceed to bootstrap the API \" +\n \"with the specified options, but the existing script might cause \" +\n \"problems using the API. Make sure to remove the script \" +\n \"loading the API.\";\nconst MSG_API_KEY_USED = \"The 'apiKey' parameter was used in setOptions(), but 'key' is the correct \" +\n \"parameter name. Please update your configuration.\";\nconst MSG_TRUSTED_TYPES_POLICY_FAILED = (policyName, error) => `Failed to create Trusted Types policy \"${policyName}\": ${error instanceof Error ? error.message : String(error)}.\\n\\n` +\n `If your Content Security Policy uses \"require-trusted-types-for 'script'\", ` +\n `allow this policy with \"trusted-types ${policyName} google-maps-api-loader google-maps-api#html lit-html\". ` +\n `The \"google-maps-api-loader\", \"lit-html\", and \"google-maps-api#html\" policies are required for full Maps JavaScript API execution. ` +\n `Falling back to a string script URL.`;\nconst __DEV__$1 = process.env.NODE_ENV !== 'production';\nconst logDevWarning = __DEV__$1\n ? (message) => {\n console.warn(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\nconst logDevNotice = __DEV__$1\n ? (message) => {\n console.info(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nconst TRUSTED_TYPES_POLICY_NAME = \"@googlemaps/js-api-loader\";\nconst fallbackPolicy = { createScriptURL: (url) => url };\nlet policy;\n/*\n * Tries to create a Trusted Types policy when supported. Falls back to a string passthrough\n * when Trusted Types is unsupported, blocked by CSP, or already registered.\n */\nfunction getPolicy() {\n if (policy) {\n return policy;\n }\n const trustedTypes = globalThis.trustedTypes;\n if (!trustedTypes) {\n policy = fallbackPolicy;\n return policy;\n }\n try {\n policy = trustedTypes.createPolicy(TRUSTED_TYPES_POLICY_NAME, {\n createScriptURL: (url) => url,\n });\n }\n catch (e) {\n logDevWarning(MSG_TRUSTED_TYPES_POLICY_FAILED(TRUSTED_TYPES_POLICY_NAME, e));\n policy = fallbackPolicy;\n }\n return policy;\n}\nfunction setScriptSrc(script, src) {\n script.src = getPolicy().createScriptURL(src);\n}\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nconst bootstrap = bootstrapParams => {\n var bootstrapPromise;\n var script;\n var bootstrapParamsKey;\n var PRODUCT_NAME = \"The Google Maps JavaScript API\";\n var GOOGLE = \"google\";\n var IMPORT_API_NAME = \"importLibrary\";\n var PENDING_BOOTSTRAP_KEY = \"__ib__\";\n var doc = document;\n var global_ = window;\n var google_ = global_[GOOGLE] || (global_[GOOGLE] = {});\n var namespace = google_.maps || (google_.maps = {});\n var libraries = new Set();\n var searchParams = new URLSearchParams();\n var triggerBootstrap = () => bootstrapPromise || (bootstrapPromise = new Promise(async(resolve, reject) => {\n await (script = doc.createElement(\"script\"));\n searchParams.set(\"libraries\", [...libraries] + \"\");\n for (bootstrapParamsKey in bootstrapParams) {\n searchParams.set(bootstrapParamsKey.replace(/[A-Z]/g, g => \"_\" + g[0].toLowerCase()), bootstrapParams[bootstrapParamsKey]);\n }\n searchParams.set(\"callback\", GOOGLE + \".maps.\" + PENDING_BOOTSTRAP_KEY);\n setScriptSrc(script, \"https://maps.googleapis.com/maps/api/js?\" + searchParams);\n namespace[PENDING_BOOTSTRAP_KEY] = resolve;\n script.onerror = () => bootstrapPromise = reject(Error(PRODUCT_NAME + \" could not load.\"));\n script.nonce = doc.querySelector(\"script[nonce]\")?.nonce || \"\";\n doc.head.append(script);\n }));\n namespace[IMPORT_API_NAME] ? console.warn(PRODUCT_NAME + \" only loads once. Ignoring:\", bootstrapParams) : namespace[IMPORT_API_NAME] = (libraryName, ...args) => libraries.add(libraryName) && triggerBootstrap().then(() => namespace[IMPORT_API_NAME](libraryName, ...args));\n};\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars */\n/**\n * @deprecated Use the new functional API: `setOptions()` and `importLibrary()`.\n * See the migration guide for more details: MIGRATION.md\n */\nclass Loader {\n constructor(...args) {\n throw new Error(`[@googlemaps/js-api-loader]: ${MSG_DEPRECATED_LOADER}`);\n }\n}\n\n/*\n * Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst __DEV__ = process.env.NODE_ENV !== \"production\";\nlet setOptionsWasCalled_ = false;\n/**\n * Sets the options for the Maps JavaScript API.\n *\n * Has to be called before any library is loaded.\n *\n * See https://developers.google.com/maps/documentation/javascript/load-maps-js-api#required_parameters\n * for the full documentation of available options.\n *\n * @param options The options to set.\n */\nfunction setOptions(options) {\n if (setOptionsWasCalled_) {\n logDevWarning(MSG_REPEATED_SET_OPTIONS(options));\n return;\n }\n if (options.apiKey) {\n logDevWarning(MSG_API_KEY_USED);\n if (!options.key) {\n options.key = options.apiKey;\n }\n }\n installImportLibrary_(options);\n setOptionsWasCalled_ = true;\n}\nasync function importLibrary(libraryName) {\n if (!setOptionsWasCalled_) {\n logDevWarning(MSG_SET_OPTIONS_NOT_CALLED);\n }\n if (!window?.google?.maps?.importLibrary) {\n throw new Error(\"google.maps.importLibrary is not installed.\");\n }\n return (await google.maps.importLibrary(libraryName));\n}\n/**\n * The installImportLibrary_ function makes sure that a usable version of the\n * `google.maps.importLibrary` function exists.\n */\nfunction installImportLibrary_(options) {\n const importLibraryExists = Boolean(window.google?.maps?.importLibrary);\n if (importLibraryExists) {\n logDevNotice(MSG_IMPORT_LIBRARY_EXISTS(options));\n }\n else if (__DEV__) {\n const scriptEl = document.querySelector('script[src*=\"maps.googleapis.com/maps/api/js\"]');\n if (scriptEl) {\n logDevWarning(MSG_SCRIPT_ELEMENT_EXISTS);\n }\n }\n // If the google.maps.importLibrary function already exists, bootstrap()\n // won't do anything, so we won't call it\n if (!importLibraryExists) {\n bootstrap(options);\n }\n}\n\nexport { Loader, importLibrary, setOptions };\n//# sourceMappingURL=index.js.map\n"],"x_google_ignoreList":[0],"mappings":"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"}
1
+ {"version":3,"file":"index5.js","names":["MSG_REPEATED_SET_OPTIONS","options","MSG_IMPORT_LIBRARY_EXISTS","MSG_SET_OPTIONS_NOT_CALLED","MSG_SCRIPT_ELEMENT_EXISTS","MSG_API_KEY_USED","MSG_TRUSTED_TYPES_POLICY_FAILED","policyName","error","__DEV__$1","logDevWarning","message","logDevNotice","TRUSTED_TYPES_POLICY_NAME","fallbackPolicy","url","policy","getPolicy","trustedTypes","setScriptSrc","src","bootstrap","bootstrapPromise","script","bootstrapParamsKey","PRODUCT_NAME","GOOGLE","IMPORT_API_NAME","doc","global_","google_","namespace","libraries","searchParams","triggerBootstrap","bootstrapParams","g","PENDING_BOOTSTRAP_KEY","resolve","reject","args","libraryName","__DEV__","setOptionsWasCalled_","setOptions","installImportLibrary_","importLibrary","importLibraryExists"],"sources":["../../../node_modules/@googlemaps/js-api-loader/dist/index.js"],"sourcesContent":["const MSG_DEPRECATED_LOADER = \"The Loader class is no longer available in this version.\" +\n \"\\nPlease use the new functional API: setOptions() and importLibrary().\" +\n \"\\nFor more information, see the updated documentation at: \" +\n \"https://github.com/googlemaps/js-api-loader/blob/main/README.md\";\nconst MSG_REPEATED_SET_OPTIONS = (options) => `The setOptions() function should only be called once. The options passed ` +\n `to the additional call (${JSON.stringify(options)}) will be ignored.`;\nconst MSG_IMPORT_LIBRARY_EXISTS = (options) => `The google.maps.importLibrary() function is already defined, and ` +\n `@googlemaps/js-api-loader will use the existing function instead of ` +\n `overwriting it. The options passed to setOptions ` +\n `(${JSON.stringify(options)}) will be ignored.`;\nconst MSG_SET_OPTIONS_NOT_CALLED = \"No options were set before calling importLibrary. Make sure to configure \" +\n \"the loader using setOptions().\";\nconst MSG_SCRIPT_ELEMENT_EXISTS = \"There already is a script loading the Google Maps JavaScript \" +\n \"API, and no google.maps.importLibrary function is defined. \" +\n \"@googlemaps/js-api-loader will proceed to bootstrap the API \" +\n \"with the specified options, but the existing script might cause \" +\n \"problems using the API. Make sure to remove the script \" +\n \"loading the API.\";\nconst MSG_API_KEY_USED = \"The 'apiKey' parameter was used in setOptions(), but 'key' is the correct \" +\n \"parameter name. Please update your configuration.\";\nconst MSG_TRUSTED_TYPES_POLICY_FAILED = (policyName, error) => `Failed to create Trusted Types policy \"${policyName}\": ${error instanceof Error ? error.message : String(error)}.\\n\\n` +\n `If your Content Security Policy uses \"require-trusted-types-for 'script'\", ` +\n `allow this policy with \"trusted-types ${policyName} google-maps-api-loader google-maps-api#html lit-html\". ` +\n `The \"google-maps-api-loader\", \"lit-html\", and \"google-maps-api#html\" policies are required for full Maps JavaScript API execution. ` +\n `Falling back to a string script URL.`;\nconst __DEV__$1 = process.env.NODE_ENV !== 'production';\nconst logDevWarning = __DEV__$1\n ? (message) => {\n console.warn(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\nconst logDevNotice = __DEV__$1\n ? (message) => {\n console.info(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nconst TRUSTED_TYPES_POLICY_NAME = \"@googlemaps/js-api-loader\";\nconst fallbackPolicy = { createScriptURL: (url) => url };\nlet policy;\n/*\n * Tries to create a Trusted Types policy when supported. Falls back to a string passthrough\n * when Trusted Types is unsupported, blocked by CSP, or already registered.\n */\nfunction getPolicy() {\n if (policy) {\n return policy;\n }\n const trustedTypes = globalThis.trustedTypes;\n if (!trustedTypes) {\n policy = fallbackPolicy;\n return policy;\n }\n try {\n policy = trustedTypes.createPolicy(TRUSTED_TYPES_POLICY_NAME, {\n createScriptURL: (url) => url,\n });\n }\n catch (e) {\n logDevWarning(MSG_TRUSTED_TYPES_POLICY_FAILED(TRUSTED_TYPES_POLICY_NAME, e));\n policy = fallbackPolicy;\n }\n return policy;\n}\nfunction setScriptSrc(script, src) {\n script.src = getPolicy().createScriptURL(src);\n}\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nconst bootstrap = bootstrapParams => {\n var bootstrapPromise;\n var script;\n var bootstrapParamsKey;\n var PRODUCT_NAME = \"The Google Maps JavaScript API\";\n var GOOGLE = \"google\";\n var IMPORT_API_NAME = \"importLibrary\";\n var PENDING_BOOTSTRAP_KEY = \"__ib__\";\n var doc = document;\n var global_ = window;\n var google_ = global_[GOOGLE] || (global_[GOOGLE] = {});\n var namespace = google_.maps || (google_.maps = {});\n var libraries = new Set();\n var searchParams = new URLSearchParams();\n var triggerBootstrap = () => bootstrapPromise || (bootstrapPromise = new Promise(async(resolve, reject) => {\n await (script = doc.createElement(\"script\"));\n searchParams.set(\"libraries\", [...libraries] + \"\");\n for (bootstrapParamsKey in bootstrapParams) {\n searchParams.set(bootstrapParamsKey.replace(/[A-Z]/g, g => \"_\" + g[0].toLowerCase()), bootstrapParams[bootstrapParamsKey]);\n }\n searchParams.set(\"callback\", GOOGLE + \".maps.\" + PENDING_BOOTSTRAP_KEY);\n setScriptSrc(script, \"https://maps.googleapis.com/maps/api/js?\" + searchParams);\n namespace[PENDING_BOOTSTRAP_KEY] = resolve;\n script.onerror = () => bootstrapPromise = reject(Error(PRODUCT_NAME + \" could not load.\"));\n script.nonce = doc.querySelector(\"script[nonce]\")?.nonce || \"\";\n doc.head.append(script);\n }));\n namespace[IMPORT_API_NAME] ? console.warn(PRODUCT_NAME + \" only loads once. Ignoring:\", bootstrapParams) : namespace[IMPORT_API_NAME] = (libraryName, ...args) => libraries.add(libraryName) && triggerBootstrap().then(() => namespace[IMPORT_API_NAME](libraryName, ...args));\n};\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars */\n/**\n * @deprecated Use the new functional API: `setOptions()` and `importLibrary()`.\n * See the migration guide for more details: MIGRATION.md\n */\nclass Loader {\n constructor(...args) {\n throw new Error(`[@googlemaps/js-api-loader]: ${MSG_DEPRECATED_LOADER}`);\n }\n}\n\n/*\n * Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst __DEV__ = process.env.NODE_ENV !== \"production\";\nlet setOptionsWasCalled_ = false;\n/**\n * Sets the options for the Maps JavaScript API.\n *\n * Has to be called before any library is loaded.\n *\n * See https://developers.google.com/maps/documentation/javascript/load-maps-js-api#required_parameters\n * for the full documentation of available options.\n *\n * @param options The options to set.\n */\nfunction setOptions(options) {\n if (setOptionsWasCalled_) {\n logDevWarning(MSG_REPEATED_SET_OPTIONS(options));\n return;\n }\n if (options.apiKey) {\n logDevWarning(MSG_API_KEY_USED);\n if (!options.key) {\n options.key = options.apiKey;\n }\n }\n installImportLibrary_(options);\n setOptionsWasCalled_ = true;\n}\nasync function importLibrary(libraryName) {\n if (!setOptionsWasCalled_) {\n logDevWarning(MSG_SET_OPTIONS_NOT_CALLED);\n }\n if (!window?.google?.maps?.importLibrary) {\n throw new Error(\"google.maps.importLibrary is not installed.\");\n }\n return (await google.maps.importLibrary(libraryName));\n}\n/**\n * The installImportLibrary_ function makes sure that a usable version of the\n * `google.maps.importLibrary` function exists.\n */\nfunction installImportLibrary_(options) {\n const importLibraryExists = Boolean(window.google?.maps?.importLibrary);\n if (importLibraryExists) {\n logDevNotice(MSG_IMPORT_LIBRARY_EXISTS(options));\n }\n else if (__DEV__) {\n const scriptEl = document.querySelector('script[src*=\"maps.googleapis.com/maps/api/js\"]');\n if (scriptEl) {\n logDevWarning(MSG_SCRIPT_ELEMENT_EXISTS);\n }\n }\n // If the google.maps.importLibrary function already exists, bootstrap()\n // won't do anything, so we won't call it\n if (!importLibraryExists) {\n bootstrap(options);\n }\n}\n\nexport { Loader, importLibrary, setOptions };\n//# sourceMappingURL=index.js.map\n"],"ignoreList":[0],"mappings":"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"}
package/dist/index50.js CHANGED
@@ -1,10 +1,20 @@
1
- import e from "./index25.js";
2
- //#region ../../node_modules/date-fns/startOfYear.js
3
- function t(t, n) {
4
- let r = e(t, n?.in);
5
- return r.setFullYear(r.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
1
+ //#region ../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
2
+ function e(e) {
3
+ return (t, n = {}) => {
4
+ let r = t.match(e.matchPattern);
5
+ if (!r) return null;
6
+ let i = r[0], a = t.match(e.parsePattern);
7
+ if (!a) return null;
8
+ let o = e.valueCallback ? e.valueCallback(a[0]) : a[0];
9
+ o = n.valueCallback ? n.valueCallback(o) : o;
10
+ let s = t.slice(i.length);
11
+ return {
12
+ value: o,
13
+ rest: s
14
+ };
15
+ };
6
16
  }
7
17
  //#endregion
8
- export { t as default, t as startOfYear };
18
+ export { e as buildMatchPatternFn };
9
19
 
10
20
  //# sourceMappingURL=index50.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index50.js","names":[],"sources":["../../../node_modules/date-fns/startOfYear.js"],"sourcesContent":["import { toDate } from \"./toDate.js\";\n\n/**\n * The {@link startOfYear} function options.\n */\n\n/**\n * @name startOfYear\n * @category Year Helpers\n * @summary Return the start of a year for the given date.\n *\n * @description\n * Return the start of a year for the given date.\n * The result will be in the local timezone.\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 date - The original date\n * @param options - The options\n *\n * @returns The start of a year\n *\n * @example\n * // The start of a year for 2 September 2014 11:55:00:\n * const result = startOfYear(new Date(2014, 8, 2, 11, 55, 00))\n * //=> Wed Jan 01 2014 00:00:00\n */\nexport function startOfYear(date, options) {\n const date_ = toDate(date, options?.in);\n date_.setFullYear(date_.getFullYear(), 0, 1);\n date_.setHours(0, 0, 0, 0);\n return date_;\n}\n\n// Fallback for modularized imports:\nexport default startOfYear;\n"],"x_google_ignoreList":[0],"mappings":";;AA4BA,SAAgB,EAAY,GAAM,GAAS;CACzC,IAAM,IAAQ,EAAO,GAAM,GAAS,EAAE;CAGtC,OAFA,EAAM,YAAY,EAAM,YAAY,GAAG,GAAG,CAAC,GAC3C,EAAM,SAAS,GAAG,GAAG,GAAG,CAAC,GAClB;AACT"}
1
+ {"version":3,"file":"index50.js","names":["buildMatchPatternFn","matchResult","string","args","matchedString","parseResult","value","options","rest"],"sources":["../../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js"],"sourcesContent":["export function buildMatchPatternFn(args) {\n return (string, options = {}) => {\n const matchResult = string.match(args.matchPattern);\n if (!matchResult) return null;\n const matchedString = matchResult[0];\n\n const parseResult = string.match(args.parsePattern);\n if (!parseResult) return null;\n let value = args.valueCallback\n ? args.valueCallback(parseResult[0])\n : parseResult[0];\n\n // [TODO] I challenge you to fix the type\n value = options.valueCallback ? options.valueCallback(value) : value;\n\n const rest = string.slice(matchedString.length);\n\n return { value, rest };\n };\n}\n"],"ignoreList":[0],"mappings":";AAAA,SAAgBA,EAAoB,GAAM;CACxC,QAAQ,GAAQ,IAAU,CAAC,MAAM;EAC/B,IAAMC,IAAcC,EAAO,MAAMC,EAAK,YAAY;EAClD,IAAI,CAACF,GAAa,OAAO;EACzB,IAAMG,IAAgBH,EAAY,IAE5BI,IAAcH,EAAO,MAAMC,EAAK,YAAY;EAClD,IAAI,CAACE,GAAa,OAAO;EACzB,IAAIC,IAAQH,EAAK,gBACbA,EAAK,cAAcE,EAAY,EAAE,IACjCA,EAAY;EAGhB,IAAQE,EAAQ,gBAAgBA,EAAQ,cAAcD,CAAK,IAAIA;EAE/D,IAAME,IAAON,EAAO,MAAME,EAAc,MAAM;EAE9C,OAAO;GAAE;GAAO;EAAK;CACvB;AACF"}
package/dist/index51.js CHANGED
@@ -1,17 +1,126 @@
1
- import { constructFrom as e } from "./index24.js";
2
- import { normalizeInterval as t } from "./index46.js";
3
- //#region ../../node_modules/date-fns/eachYearOfInterval.js
4
- function n(n, r) {
5
- let { start: i, end: a } = t(r?.in, n), o = +i > +a, s = o ? +i : +a, c = o ? a : i;
6
- c.setHours(0, 0, 0, 0), c.setMonth(0, 1);
7
- let l = r?.step ?? 1;
8
- if (!l) return [];
9
- l < 0 && (l = -l, o = !o);
10
- let u = [];
11
- for (; +c <= s;) u.push(e(i, c)), c.setFullYear(c.getFullYear() + l);
12
- return o ? u.reverse() : u;
13
- }
1
+ import { buildMatchFn as e } from "./index49.js";
2
+ import { buildMatchPatternFn as t } from "./index50.js";
3
+ var n = {
4
+ ordinalNumber: t({
5
+ matchPattern: /^(\d+)(th|st|nd|rd)?/i,
6
+ parsePattern: /\d+/i,
7
+ valueCallback: (e) => parseInt(e, 10)
8
+ }),
9
+ era: e({
10
+ matchPatterns: {
11
+ narrow: /^(b|a)/i,
12
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
13
+ wide: /^(before christ|before common era|anno domini|common era)/i
14
+ },
15
+ defaultMatchWidth: "wide",
16
+ parsePatterns: { any: [/^b/i, /^(a|c)/i] },
17
+ defaultParseWidth: "any"
18
+ }),
19
+ quarter: e({
20
+ matchPatterns: {
21
+ narrow: /^[1234]/i,
22
+ abbreviated: /^q[1234]/i,
23
+ wide: /^[1234](th|st|nd|rd)? quarter/i
24
+ },
25
+ defaultMatchWidth: "wide",
26
+ parsePatterns: { any: [
27
+ /1/i,
28
+ /2/i,
29
+ /3/i,
30
+ /4/i
31
+ ] },
32
+ defaultParseWidth: "any",
33
+ valueCallback: (e) => e + 1
34
+ }),
35
+ month: e({
36
+ matchPatterns: {
37
+ narrow: /^[jfmasond]/i,
38
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
39
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
40
+ },
41
+ defaultMatchWidth: "wide",
42
+ parsePatterns: {
43
+ narrow: [
44
+ /^j/i,
45
+ /^f/i,
46
+ /^m/i,
47
+ /^a/i,
48
+ /^m/i,
49
+ /^j/i,
50
+ /^j/i,
51
+ /^a/i,
52
+ /^s/i,
53
+ /^o/i,
54
+ /^n/i,
55
+ /^d/i
56
+ ],
57
+ any: [
58
+ /^ja/i,
59
+ /^f/i,
60
+ /^mar/i,
61
+ /^ap/i,
62
+ /^may/i,
63
+ /^jun/i,
64
+ /^jul/i,
65
+ /^au/i,
66
+ /^s/i,
67
+ /^o/i,
68
+ /^n/i,
69
+ /^d/i
70
+ ]
71
+ },
72
+ defaultParseWidth: "any"
73
+ }),
74
+ day: e({
75
+ matchPatterns: {
76
+ narrow: /^[smtwf]/i,
77
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
78
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
79
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
80
+ },
81
+ defaultMatchWidth: "wide",
82
+ parsePatterns: {
83
+ narrow: [
84
+ /^s/i,
85
+ /^m/i,
86
+ /^t/i,
87
+ /^w/i,
88
+ /^t/i,
89
+ /^f/i,
90
+ /^s/i
91
+ ],
92
+ any: [
93
+ /^su/i,
94
+ /^m/i,
95
+ /^tu/i,
96
+ /^w/i,
97
+ /^th/i,
98
+ /^f/i,
99
+ /^sa/i
100
+ ]
101
+ },
102
+ defaultParseWidth: "any"
103
+ }),
104
+ dayPeriod: e({
105
+ matchPatterns: {
106
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
107
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
108
+ },
109
+ defaultMatchWidth: "any",
110
+ parsePatterns: { any: {
111
+ am: /^a/i,
112
+ pm: /^p/i,
113
+ midnight: /^mi/i,
114
+ noon: /^no/i,
115
+ morning: /morning/i,
116
+ afternoon: /afternoon/i,
117
+ evening: /evening/i,
118
+ night: /night/i
119
+ } },
120
+ defaultParseWidth: "any"
121
+ })
122
+ };
14
123
  //#endregion
15
- export { n as default, n as eachYearOfInterval };
124
+ export { n as match };
16
125
 
17
126
  //# sourceMappingURL=index51.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index51.js","names":[],"sources":["../../../node_modules/date-fns/eachYearOfInterval.js"],"sourcesContent":["import { normalizeInterval } from \"./_lib/normalizeInterval.js\";\nimport { constructFrom } from \"./constructFrom.js\";\n\n/**\n * The {@link eachYearOfInterval} function options.\n */\n\n/**\n * The {@link eachYearOfInterval} function result type. It resolves the proper data type.\n * It uses the first argument date object type, starting from the date argument,\n * then the start interval date, and finally the end interval date. If\n * a context function is passed, it uses the context function return type.\n */\n\n/**\n * @name eachYearOfInterval\n * @category Interval Helpers\n * @summary Return the array of yearly timestamps within the specified time interval.\n *\n * @description\n * Return the array of yearly timestamps within the specified time interval.\n *\n * @typeParam IntervalType - Interval type.\n * @typeParam Options - Options type.\n *\n * @param interval - The interval.\n * @param options - An object with options.\n *\n * @returns The array with starts of yearly timestamps from the month of the interval start to the month of the interval end\n *\n * @example\n * // Each year between 6 February 2014 and 10 August 2017:\n * const result = eachYearOfInterval({\n * start: new Date(2014, 1, 6),\n * end: new Date(2017, 7, 10)\n * })\n * //=> [\n * // Wed Jan 01 2014 00:00:00,\n * // Thu Jan 01 2015 00:00:00,\n * // Fri Jan 01 2016 00:00:00,\n * // Sun Jan 01 2017 00:00:00\n * // ]\n */\nexport function eachYearOfInterval(interval, options) {\n const { start, end } = normalizeInterval(options?.in, interval);\n\n let reversed = +start > +end;\n const endTime = reversed ? +start : +end;\n const date = reversed ? end : start;\n date.setHours(0, 0, 0, 0);\n date.setMonth(0, 1);\n\n let step = options?.step ?? 1;\n if (!step) return [];\n if (step < 0) {\n step = -step;\n reversed = !reversed;\n }\n\n const dates = [];\n\n while (+date <= endTime) {\n dates.push(constructFrom(start, date));\n date.setFullYear(date.getFullYear() + step);\n }\n\n return reversed ? dates.reverse() : dates;\n}\n\n// Fallback for modularized imports:\nexport default eachYearOfInterval;\n"],"x_google_ignoreList":[0],"mappings":";;;AA2CA,SAAgB,EAAmB,GAAU,GAAS;CACpD,IAAM,EAAE,UAAO,WAAQ,EAAkB,GAAS,IAAI,CAAQ,GAE1D,IAAW,CAAC,IAAQ,CAAC,GACnB,IAAU,IAAW,CAAC,IAAQ,CAAC,GAC/B,IAAO,IAAW,IAAM;CAE9B,AADA,EAAK,SAAS,GAAG,GAAG,GAAG,CAAC,GACxB,EAAK,SAAS,GAAG,CAAC;CAElB,IAAI,IAAO,GAAS,QAAQ;CAC5B,IAAI,CAAC,GAAM,OAAO,CAAC;CACnB,AAAI,IAAO,MACT,IAAO,CAAC,GACR,IAAW,CAAC;CAGd,IAAM,IAAQ,CAAC;CAEf,OAAO,CAAC,KAAQ,IAEd,AADA,EAAM,KAAK,EAAc,GAAO,CAAI,CAAC,GACrC,EAAK,YAAY,EAAK,YAAY,IAAI,CAAI;CAG5C,OAAO,IAAW,EAAM,QAAQ,IAAI;AACtC"}
1
+ {"version":3,"file":"index51.js","names":["match","buildMatchPatternFn","value","buildMatchFn","index"],"sources":["../../../node_modules/date-fns/locale/en-US/_lib/match.js"],"sourcesContent":["import { buildMatchFn } from \"../../_lib/buildMatchFn.js\";\nimport { buildMatchPatternFn } from \"../../_lib/buildMatchPatternFn.js\";\n\nconst matchOrdinalNumberPattern = /^(\\d+)(th|st|nd|rd)?/i;\nconst parseOrdinalNumberPattern = /\\d+/i;\n\nconst matchEraPatterns = {\n narrow: /^(b|a)/i,\n abbreviated: /^(b\\.?\\s?c\\.?|b\\.?\\s?c\\.?\\s?e\\.?|a\\.?\\s?d\\.?|c\\.?\\s?e\\.?)/i,\n wide: /^(before christ|before common era|anno domini|common era)/i,\n};\nconst parseEraPatterns = {\n any: [/^b/i, /^(a|c)/i],\n};\n\nconst matchQuarterPatterns = {\n narrow: /^[1234]/i,\n abbreviated: /^q[1234]/i,\n wide: /^[1234](th|st|nd|rd)? quarter/i,\n};\nconst parseQuarterPatterns = {\n any: [/1/i, /2/i, /3/i, /4/i],\n};\n\nconst matchMonthPatterns = {\n narrow: /^[jfmasond]/i,\n abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,\n wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i,\n};\nconst parseMonthPatterns = {\n narrow: [\n /^j/i,\n /^f/i,\n /^m/i,\n /^a/i,\n /^m/i,\n /^j/i,\n /^j/i,\n /^a/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n\n any: [\n /^ja/i,\n /^f/i,\n /^mar/i,\n /^ap/i,\n /^may/i,\n /^jun/i,\n /^jul/i,\n /^au/i,\n /^s/i,\n /^o/i,\n /^n/i,\n /^d/i,\n ],\n};\n\nconst matchDayPatterns = {\n narrow: /^[smtwf]/i,\n short: /^(su|mo|tu|we|th|fr|sa)/i,\n abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,\n wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i,\n};\nconst parseDayPatterns = {\n narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],\n any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i],\n};\n\nconst matchDayPeriodPatterns = {\n narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,\n any: /^([ap]\\.?\\s?m\\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i,\n};\nconst parseDayPeriodPatterns = {\n any: {\n am: /^a/i,\n pm: /^p/i,\n midnight: /^mi/i,\n noon: /^no/i,\n morning: /morning/i,\n afternoon: /afternoon/i,\n evening: /evening/i,\n night: /night/i,\n },\n};\n\nexport const match = {\n ordinalNumber: buildMatchPatternFn({\n matchPattern: matchOrdinalNumberPattern,\n parsePattern: parseOrdinalNumberPattern,\n valueCallback: (value) => parseInt(value, 10),\n }),\n\n era: buildMatchFn({\n matchPatterns: matchEraPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseEraPatterns,\n defaultParseWidth: \"any\",\n }),\n\n quarter: buildMatchFn({\n matchPatterns: matchQuarterPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseQuarterPatterns,\n defaultParseWidth: \"any\",\n valueCallback: (index) => index + 1,\n }),\n\n month: buildMatchFn({\n matchPatterns: matchMonthPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseMonthPatterns,\n defaultParseWidth: \"any\",\n }),\n\n day: buildMatchFn({\n matchPatterns: matchDayPatterns,\n defaultMatchWidth: \"wide\",\n parsePatterns: parseDayPatterns,\n defaultParseWidth: \"any\",\n }),\n\n dayPeriod: buildMatchFn({\n matchPatterns: matchDayPeriodPatterns,\n defaultMatchWidth: \"any\",\n parsePatterns: parseDayPeriodPatterns,\n defaultParseWidth: \"any\",\n }),\n};\n"],"ignoreList":[0],"mappings":";;AAyFA,IAAaA,IAAQ;CACnB,eAAeC,EAAoB;EACjC,cAAc;EACd,cAAc;EACd,gBAAgB,MAAU,SAASC,GAAO,EAAE;CAC9C,CAAC;CAED,KAAKC,EAAa;EAChB,eAAe;GA1FjB,QAAQ;GACR,aAAa;GACb,MAAM;EAwFW;EACf,mBAAmB;EACnB,eAAe,EAvFjB,KAAK,CAAC,OAAO,SAAS,EAuFL;EACf,mBAAmB;CACrB,CAAC;CAED,SAASA,EAAa;EACpB,eAAe;GAxFjB,QAAQ;GACR,aAAa;GACb,MAAM;EAsFW;EACf,mBAAmB;EACnB,eAAe,EArFjB,KAAK;GAAC;GAAM;GAAM;GAAM;EAAI,EAqFX;EACf,mBAAmB;EACnB,gBAAgB,MAAUC,IAAQ;CACpC,CAAC;CAED,OAAOD,EAAa;EAClB,eAAe;GAvFjB,QAAQ;GACR,aAAa;GACb,MAAM;EAqFW;EACf,mBAAmB;EACnB,eAAe;GApFjB,QAAQ;IACN;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;GAEA,KAAK;IACH;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;GACF;EAwDiB;EACf,mBAAmB;CACrB,CAAC;CAED,KAAKA,EAAa;EAChB,eAAe;GAzDjB,QAAQ;GACR,OAAO;GACP,aAAa;GACb,MAAM;EAsDW;EACf,mBAAmB;EACnB,eAAe;GArDjB,QAAQ;IAAC;IAAO;IAAO;IAAO;IAAO;IAAO;IAAO;GAAK;GACxD,KAAK;IAAC;IAAQ;IAAO;IAAQ;IAAO;IAAQ;IAAO;GAAM;EAoDxC;EACf,mBAAmB;CACrB,CAAC;CAED,WAAWA,EAAa;EACtB,eAAe;GArDjB,QAAQ;GACR,KAAK;EAoDY;EACf,mBAAmB;EACnB,eAAe,EAnDjB,KAAK;GACH,IAAI;GACJ,IAAI;GACJ,UAAU;GACV,MAAM;GACN,SAAS;GACT,WAAW;GACX,SAAS;GACT,OAAO;EACT,EA0CiB;EACf,mBAAmB;CACrB,CAAC;AACH"}
package/dist/index52.js CHANGED
@@ -1,11 +1,22 @@
1
- import e from "./index25.js";
2
- import { getDefaultOptions as t } from "./index28.js";
3
- //#region ../../node_modules/date-fns/endOfWeek.js
4
- function n(n, r) {
5
- let i = t(), a = r?.weekStartsOn ?? r?.locale?.options?.weekStartsOn ?? i.weekStartsOn ?? i.locale?.options?.weekStartsOn ?? 0, o = e(n, r?.in), s = o.getDay(), c = (s < a ? -7 : 0) + 6 - (s - a);
6
- return o.setDate(o.getDate() + c), o.setHours(23, 59, 59, 999), o;
7
- }
1
+ import { formatDistance as e } from "./index43.js";
2
+ import { formatLong as t } from "./index45.js";
3
+ import { formatRelative as n } from "./index46.js";
4
+ import { localize as r } from "./index48.js";
5
+ import { match as i } from "./index51.js";
6
+ //#region ../../node_modules/date-fns/locale/en-US.js
7
+ var a = {
8
+ code: "en-US",
9
+ formatDistance: e,
10
+ formatLong: t,
11
+ formatRelative: n,
12
+ localize: r,
13
+ match: i,
14
+ options: {
15
+ weekStartsOn: 0,
16
+ firstWeekContainsDate: 1
17
+ }
18
+ };
8
19
  //#endregion
9
- export { n as default, n as endOfWeek };
20
+ export { a as default, a as enUS };
10
21
 
11
22
  //# sourceMappingURL=index52.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index52.js","names":[],"sources":["../../../node_modules/date-fns/endOfWeek.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link endOfWeek} function options.\n */\n\n/**\n * @name endOfWeek\n * @category Week Helpers\n * @summary Return the end of a week for the given date.\n *\n * @description\n * Return the end of a week for the given date.\n * The result will be in the local timezone.\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 date - The original date\n * @param options - An object with options\n *\n * @returns The end of a week\n *\n * @example\n * // The end of a week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Sat Sep 06 2014 23:59:59.999\n *\n * @example\n * // If the week starts on Monday, the end of the week for 2 September 2014 11:55:00:\n * const result = endOfWeek(new Date(2014, 8, 2, 11, 55, 0), { weekStartsOn: 1 })\n * //=> Sun Sep 07 2014 23:59:59.999\n */\nexport function endOfWeek(date, options) {\n const defaultOptions = getDefaultOptions();\n const weekStartsOn =\n options?.weekStartsOn ??\n options?.locale?.options?.weekStartsOn ??\n defaultOptions.weekStartsOn ??\n defaultOptions.locale?.options?.weekStartsOn ??\n 0;\n\n const _date = toDate(date, options?.in);\n const day = _date.getDay();\n const diff = (day < weekStartsOn ? -7 : 0) + 6 - (day - weekStartsOn);\n\n _date.setDate(_date.getDate() + diff);\n _date.setHours(23, 59, 59, 999);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default endOfWeek;\n"],"x_google_ignoreList":[0],"mappings":";;;AAkCA,SAAgB,EAAU,GAAM,GAAS;CACvC,IAAM,IAAiB,EAAkB,GACnC,IACJ,GAAS,gBACT,GAAS,QAAQ,SAAS,gBAC1B,EAAe,gBACf,EAAe,QAAQ,SAAS,gBAChC,GAEI,IAAQ,EAAO,GAAM,GAAS,EAAE,GAChC,IAAM,EAAM,OAAO,GACnB,KAAQ,IAAM,IAAe,KAAK,KAAK,KAAK,IAAM;CAIxD,OAFA,EAAM,QAAQ,EAAM,QAAQ,IAAI,CAAI,GACpC,EAAM,SAAS,IAAI,IAAI,IAAI,GAAG,GACvB;AACT"}
1
+ {"version":3,"file":"index52.js","names":["enUS"],"sources":["../../../node_modules/date-fns/locale/en-US.js"],"sourcesContent":["import { formatDistance } from \"./en-US/_lib/formatDistance.js\";\nimport { formatLong } from \"./en-US/_lib/formatLong.js\";\nimport { formatRelative } from \"./en-US/_lib/formatRelative.js\";\nimport { localize } from \"./en-US/_lib/localize.js\";\nimport { match } from \"./en-US/_lib/match.js\";\n\n/**\n * @category Locales\n * @summary English locale (United States).\n * @language English\n * @iso-639-2 eng\n * @author Sasha Koss [@kossnocorp](https://github.com/kossnocorp)\n * @author Lesha Koss [@leshakoss](https://github.com/leshakoss)\n */\nexport const enUS = {\n code: \"en-US\",\n formatDistance: formatDistance,\n formatLong: formatLong,\n formatRelative: formatRelative,\n localize: localize,\n match: match,\n options: {\n weekStartsOn: 0 /* Sunday */,\n firstWeekContainsDate: 1,\n },\n};\n\n// Fallback for modularized imports:\nexport default enUS;\n"],"ignoreList":[0],"mappings":";;;;;;AAcA,IAAaA,IAAO;CAClB,MAAM;CACU;CACJ;CACI;CACN;CACH;CACP,SAAS;EACP,cAAc;EACd,uBAAuB;CACzB;AACF"}
package/dist/index53.js CHANGED
@@ -1,12 +1,10 @@
1
- import e from "./index52.js";
2
- //#region ../../node_modules/date-fns/endOfISOWeek.js
1
+ import e from "./index25.js";
2
+ //#region ../../node_modules/date-fns/startOfYear.js
3
3
  function t(t, n) {
4
- return e(t, {
5
- ...n,
6
- weekStartsOn: 1
7
- });
4
+ let r = e(t, n?.in);
5
+ return r.setFullYear(r.getFullYear(), 0, 1), r.setHours(0, 0, 0, 0), r;
8
6
  }
9
7
  //#endregion
10
- export { t as default, t as endOfISOWeek };
8
+ export { t as default, t as startOfYear };
11
9
 
12
10
  //# sourceMappingURL=index53.js.map