@rpcbase/ui 0.239.0 → 0.240.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 (453) hide show
  1. package/dist/components/I18nField/index.d.ts +2 -1
  2. package/dist/components/I18nField/index.d.ts.map +1 -1
  3. package/dist/index106.js +36 -36
  4. package/dist/index11.js +373 -335
  5. package/dist/index11.js.map +1 -1
  6. package/dist/index118.js +6 -6
  7. package/dist/index121.js +10 -10
  8. package/dist/index123.js +2 -2
  9. package/dist/index124.js +3 -3
  10. package/dist/index125.js +1 -1
  11. package/dist/index127.js +2 -2
  12. package/dist/index129.js +2 -2
  13. package/dist/index151.js +4 -4
  14. package/dist/index156.js +1 -1
  15. package/dist/index157.js +1 -1
  16. package/dist/index164.js +1 -1
  17. package/dist/index165.js +6 -6
  18. package/dist/index167.js +1 -1
  19. package/dist/index169.js +1 -1
  20. package/dist/index172.js +3 -3
  21. package/dist/index175.js +1 -1
  22. package/dist/index176.js +4 -4
  23. package/dist/index178.js +1 -1
  24. package/dist/index182.js +2 -2
  25. package/dist/index184.js +12 -12
  26. package/dist/index187.js +6 -6
  27. package/dist/index189.js +3 -3
  28. package/dist/index190.js +1 -1
  29. package/dist/index193.js +3 -3
  30. package/dist/index194.js +5 -5
  31. package/dist/index196.js +20 -59
  32. package/dist/index196.js.map +1 -1
  33. package/dist/index197.js +66 -8
  34. package/dist/index197.js.map +1 -1
  35. package/dist/index198.js +6 -87
  36. package/dist/index198.js.map +1 -1
  37. package/dist/index199.js +11 -19
  38. package/dist/index199.js.map +1 -1
  39. package/dist/index200.js +48 -14
  40. package/dist/index200.js.map +1 -1
  41. package/dist/index201.js +4 -6
  42. package/dist/index201.js.map +1 -1
  43. package/dist/index202.js +29 -5
  44. package/dist/index202.js.map +1 -1
  45. package/dist/index203.js +16 -6
  46. package/dist/index203.js.map +1 -1
  47. package/dist/index204.js +5 -4
  48. package/dist/index204.js.map +1 -1
  49. package/dist/index205.js +21 -6
  50. package/dist/index205.js.map +1 -1
  51. package/dist/index206.js +51 -16
  52. package/dist/index206.js.map +1 -1
  53. package/dist/index207.js +25 -4
  54. package/dist/index207.js.map +1 -1
  55. package/dist/index208.js +41 -4
  56. package/dist/index208.js.map +1 -1
  57. package/dist/index209.js +39 -12
  58. package/dist/index209.js.map +1 -1
  59. package/dist/index210.js +45 -10
  60. package/dist/index210.js.map +1 -1
  61. package/dist/index211.js +20 -13
  62. package/dist/index211.js.map +1 -1
  63. package/dist/index212.js +70 -13
  64. package/dist/index212.js.map +1 -1
  65. package/dist/index213.js +17 -4
  66. package/dist/index213.js.map +1 -1
  67. package/dist/index214.js +11 -5
  68. package/dist/index214.js.map +1 -1
  69. package/dist/index215.js +27 -6
  70. package/dist/index215.js.map +1 -1
  71. package/dist/index216.js +13 -5
  72. package/dist/index216.js.map +1 -1
  73. package/dist/index217.js +17 -53
  74. package/dist/index217.js.map +1 -1
  75. package/dist/index218.js +36 -8
  76. package/dist/index218.js.map +1 -1
  77. package/dist/index219.js +262 -4
  78. package/dist/index219.js.map +1 -1
  79. package/dist/index220.js +278 -4
  80. package/dist/index220.js.map +1 -1
  81. package/dist/index221.js +68 -8
  82. package/dist/index221.js.map +1 -1
  83. package/dist/index222.js +99 -4
  84. package/dist/index222.js.map +1 -1
  85. package/dist/index223.js +83 -4
  86. package/dist/index223.js.map +1 -1
  87. package/dist/index224.js +3 -3
  88. package/dist/index224.js.map +1 -1
  89. package/dist/index225.js +29 -10
  90. package/dist/index225.js.map +1 -1
  91. package/dist/index226.js +16 -9
  92. package/dist/index226.js.map +1 -1
  93. package/dist/index227.js +35 -10
  94. package/dist/index227.js.map +1 -1
  95. package/dist/index228.js +16 -10
  96. package/dist/index228.js.map +1 -1
  97. package/dist/index229.js +3 -10
  98. package/dist/index229.js.map +1 -1
  99. package/dist/index230.js +26 -9
  100. package/dist/index230.js.map +1 -1
  101. package/dist/index231.js +28 -6
  102. package/dist/index231.js.map +1 -1
  103. package/dist/index232.js +4 -6
  104. package/dist/index232.js.map +1 -1
  105. package/dist/index233.js +78 -4
  106. package/dist/index233.js.map +1 -1
  107. package/dist/index234.js +269 -5
  108. package/dist/index234.js.map +1 -1
  109. package/dist/index235.js +11 -6
  110. package/dist/index235.js.map +1 -1
  111. package/dist/index236.js +10 -5
  112. package/dist/index236.js.map +1 -1
  113. package/dist/index237.js +25 -16
  114. package/dist/index237.js.map +1 -1
  115. package/dist/index238.js +16 -7
  116. package/dist/index238.js.map +1 -1
  117. package/dist/index239.js +124 -9
  118. package/dist/index239.js.map +1 -1
  119. package/dist/index240.js +5 -10
  120. package/dist/index240.js.map +1 -1
  121. package/dist/index241.js +40 -21
  122. package/dist/index241.js.map +1 -1
  123. package/dist/index242.js +65 -10
  124. package/dist/index242.js.map +1 -1
  125. package/dist/index243.js +14 -10
  126. package/dist/index243.js.map +1 -1
  127. package/dist/index244.js +7 -9
  128. package/dist/index244.js.map +1 -1
  129. package/dist/index245.js +5 -4
  130. package/dist/index245.js.map +1 -1
  131. package/dist/index246.js +3 -5
  132. package/dist/index246.js.map +1 -1
  133. package/dist/index247.js +10 -16
  134. package/dist/index247.js.map +1 -1
  135. package/dist/index248.js +7 -9
  136. package/dist/index248.js.map +1 -1
  137. package/dist/index249.js +132 -17
  138. package/dist/index249.js.map +1 -1
  139. package/dist/index250.js +397 -13
  140. package/dist/index250.js.map +1 -1
  141. package/dist/index251.js +52 -12
  142. package/dist/index251.js.map +1 -1
  143. package/dist/index252.js +10 -28
  144. package/dist/index252.js.map +1 -1
  145. package/dist/index253.js +11 -12
  146. package/dist/index253.js.map +1 -1
  147. package/dist/index254.js +15 -24
  148. package/dist/index254.js.map +1 -1
  149. package/dist/index255.js +5 -5
  150. package/dist/index255.js.map +1 -1
  151. package/dist/index256.js +5 -13
  152. package/dist/index256.js.map +1 -1
  153. package/dist/index257.js +54 -150
  154. package/dist/index257.js.map +1 -1
  155. package/dist/index258.js +84 -27
  156. package/dist/index258.js.map +1 -1
  157. package/dist/index259.js +6 -9
  158. package/dist/index259.js.map +1 -1
  159. package/dist/index260.js +4 -48
  160. package/dist/index260.js.map +1 -1
  161. package/dist/index261.js +6 -11
  162. package/dist/index261.js.map +1 -1
  163. package/dist/index262.js +16 -44
  164. package/dist/index262.js.map +1 -1
  165. package/dist/index263.js +4 -95
  166. package/dist/index263.js.map +1 -1
  167. package/dist/index264.js +4 -86
  168. package/dist/index264.js.map +1 -1
  169. package/dist/index265.js +12 -105
  170. package/dist/index265.js.map +1 -1
  171. package/dist/index266.js +9 -52
  172. package/dist/index266.js.map +1 -1
  173. package/dist/index267.js +13 -11
  174. package/dist/index267.js.map +1 -1
  175. package/dist/index268.js +13 -37
  176. package/dist/index268.js.map +1 -1
  177. package/dist/index269.js +4 -8
  178. package/dist/index269.js.map +1 -1
  179. package/dist/index270.js +5 -116
  180. package/dist/index270.js.map +1 -1
  181. package/dist/index271.js +6 -17
  182. package/dist/index271.js.map +1 -1
  183. package/dist/index272.js +5 -15
  184. package/dist/index272.js.map +1 -1
  185. package/dist/index273.js +54 -3
  186. package/dist/index273.js.map +1 -1
  187. package/dist/index274.js +8 -36
  188. package/dist/index274.js.map +1 -1
  189. package/dist/index275.js +4 -20
  190. package/dist/index275.js.map +1 -1
  191. package/dist/index276.js +4 -9
  192. package/dist/index276.js.map +1 -1
  193. package/dist/index277.js +8 -8
  194. package/dist/index277.js.map +1 -1
  195. package/dist/index278.js +5 -20
  196. package/dist/index278.js.map +1 -1
  197. package/dist/index279.js +4 -66
  198. package/dist/index279.js.map +1 -1
  199. package/dist/index280.js +3 -6
  200. package/dist/index280.js.map +1 -1
  201. package/dist/index281.js +10 -11
  202. package/dist/index281.js.map +1 -1
  203. package/dist/index282.js +9 -50
  204. package/dist/index282.js.map +1 -1
  205. package/dist/index283.js +10 -4
  206. package/dist/index283.js.map +1 -1
  207. package/dist/index284.js +10 -29
  208. package/dist/index284.js.map +1 -1
  209. package/dist/index285.js +10 -16
  210. package/dist/index285.js.map +1 -1
  211. package/dist/index286.js +9 -5
  212. package/dist/index286.js.map +1 -1
  213. package/dist/index287.js +6 -21
  214. package/dist/index287.js.map +1 -1
  215. package/dist/index288.js +5 -51
  216. package/dist/index288.js.map +1 -1
  217. package/dist/index289.js +4 -25
  218. package/dist/index289.js.map +1 -1
  219. package/dist/index290.js +5 -41
  220. package/dist/index290.js.map +1 -1
  221. package/dist/index291.js +6 -39
  222. package/dist/index291.js.map +1 -1
  223. package/dist/index292.js +6 -45
  224. package/dist/index292.js.map +1 -1
  225. package/dist/index293.js +8 -20
  226. package/dist/index293.js.map +1 -1
  227. package/dist/index294.js +17 -68
  228. package/dist/index294.js.map +1 -1
  229. package/dist/index295.js +16 -17
  230. package/dist/index295.js.map +1 -1
  231. package/dist/index296.js +7 -11
  232. package/dist/index296.js.map +1 -1
  233. package/dist/index297.js +10 -27
  234. package/dist/index297.js.map +1 -1
  235. package/dist/index298.js +10 -13
  236. package/dist/index298.js.map +1 -1
  237. package/dist/index299.js +21 -18
  238. package/dist/index299.js.map +1 -1
  239. package/dist/index300.js +10 -36
  240. package/dist/index300.js.map +1 -1
  241. package/dist/index301.js +9 -262
  242. package/dist/index301.js.map +1 -1
  243. package/dist/index302.js +9 -278
  244. package/dist/index302.js.map +1 -1
  245. package/dist/index303.js +4 -68
  246. package/dist/index303.js.map +1 -1
  247. package/dist/index304.js +5 -99
  248. package/dist/index304.js.map +1 -1
  249. package/dist/index305.js +15 -82
  250. package/dist/index305.js.map +1 -1
  251. package/dist/index306.js +9 -3
  252. package/dist/index306.js.map +1 -1
  253. package/dist/index307.js +17 -28
  254. package/dist/index307.js.map +1 -1
  255. package/dist/index308.js +15 -16
  256. package/dist/index308.js.map +1 -1
  257. package/dist/index309.js +13 -35
  258. package/dist/index309.js.map +1 -1
  259. package/dist/index310.js +29 -16
  260. package/dist/index310.js.map +1 -1
  261. package/dist/index311.js +12 -3
  262. package/dist/index311.js.map +1 -1
  263. package/dist/index312.js +25 -26
  264. package/dist/index312.js.map +1 -1
  265. package/dist/index313.js +5 -28
  266. package/dist/index313.js.map +1 -1
  267. package/dist/index314.js +14 -4
  268. package/dist/index314.js.map +1 -1
  269. package/dist/index315.js +151 -75
  270. package/dist/index315.js.map +1 -1
  271. package/dist/index316.js +28 -267
  272. package/dist/index316.js.map +1 -1
  273. package/dist/index317.js +9 -11
  274. package/dist/index317.js.map +1 -1
  275. package/dist/index318.js +49 -11
  276. package/dist/index318.js.map +1 -1
  277. package/dist/index319.js +11 -25
  278. package/dist/index319.js.map +1 -1
  279. package/dist/index320.js +43 -15
  280. package/dist/index320.js.map +1 -1
  281. package/dist/index321.js +89 -119
  282. package/dist/index321.js.map +1 -1
  283. package/dist/index322.js +86 -5
  284. package/dist/index322.js.map +1 -1
  285. package/dist/index323.js +104 -39
  286. package/dist/index323.js.map +1 -1
  287. package/dist/index324.js +47 -60
  288. package/dist/index324.js.map +1 -1
  289. package/dist/index325.js +11 -13
  290. package/dist/index325.js.map +1 -1
  291. package/dist/index326.js +37 -7
  292. package/dist/index326.js.map +1 -1
  293. package/dist/index327.js +8 -5
  294. package/dist/index327.js.map +1 -1
  295. package/dist/index328.js +116 -3
  296. package/dist/index328.js.map +1 -1
  297. package/dist/index329.js +17 -10
  298. package/dist/index329.js.map +1 -1
  299. package/dist/index330.js +15 -7
  300. package/dist/index330.js.map +1 -1
  301. package/dist/index331.js +3 -133
  302. package/dist/index331.js.map +1 -1
  303. package/dist/index332.js +35 -398
  304. package/dist/index332.js.map +1 -1
  305. package/dist/index333.js +20 -52
  306. package/dist/index333.js.map +1 -1
  307. package/dist/index334.js +8 -11
  308. package/dist/index334.js.map +1 -1
  309. package/dist/index335.js +9 -11
  310. package/dist/index335.js.map +1 -1
  311. package/dist/index336.js +3 -3
  312. package/dist/index345.js +51 -17
  313. package/dist/index345.js.map +1 -1
  314. package/dist/index346.js +17 -51
  315. package/dist/index346.js.map +1 -1
  316. package/dist/index348.js +8 -8
  317. package/dist/index349.js +4 -4
  318. package/dist/index350.js +3 -3
  319. package/dist/index351.js +5 -5
  320. package/dist/index353.js +1 -1
  321. package/dist/index359.js +11 -4
  322. package/dist/index359.js.map +1 -1
  323. package/dist/index360.js +17 -18
  324. package/dist/index360.js.map +1 -1
  325. package/dist/index361.js +4 -13
  326. package/dist/index361.js.map +1 -1
  327. package/dist/index362.js +5 -20
  328. package/dist/index362.js.map +1 -1
  329. package/dist/index363.js +21 -4
  330. package/dist/index363.js.map +1 -1
  331. package/dist/index364.js +45 -6
  332. package/dist/index364.js.map +1 -1
  333. package/dist/index365.js +17 -11
  334. package/dist/index365.js.map +1 -1
  335. package/dist/index366.js +5 -17
  336. package/dist/index366.js.map +1 -1
  337. package/dist/index367.js +199 -19
  338. package/dist/index367.js.map +1 -1
  339. package/dist/index368.js +78 -45
  340. package/dist/index368.js.map +1 -1
  341. package/dist/index369.js +5 -18
  342. package/dist/index369.js.map +1 -1
  343. package/dist/index370.js +17 -4
  344. package/dist/index370.js.map +1 -1
  345. package/dist/index371.js +12 -200
  346. package/dist/index371.js.map +1 -1
  347. package/dist/index372.js +20 -77
  348. package/dist/index372.js.map +1 -1
  349. package/dist/index374.js +3 -3
  350. package/dist/index375.js +1 -1
  351. package/dist/index376.js +3 -3
  352. package/dist/index378.js +2 -2
  353. package/dist/index380.js +1 -1
  354. package/dist/index381.js +2 -2
  355. package/dist/index387.js +3 -5
  356. package/dist/index387.js.map +1 -1
  357. package/dist/index388.js +3 -5
  358. package/dist/index388.js.map +1 -1
  359. package/dist/index389.js +5 -4
  360. package/dist/index389.js.map +1 -1
  361. package/dist/index390.js +4 -15
  362. package/dist/index390.js.map +1 -1
  363. package/dist/index391.js +4 -9
  364. package/dist/index391.js.map +1 -1
  365. package/dist/index392.js +15 -5
  366. package/dist/index392.js.map +1 -1
  367. package/dist/index393.js +8 -4
  368. package/dist/index393.js.map +1 -1
  369. package/dist/index394.js +5 -545
  370. package/dist/index394.js.map +1 -1
  371. package/dist/index395.js +5 -47
  372. package/dist/index395.js.map +1 -1
  373. package/dist/index396.js +543 -15
  374. package/dist/index396.js.map +1 -1
  375. package/dist/index397.js +47 -6
  376. package/dist/index397.js.map +1 -1
  377. package/dist/index398.js +17 -7
  378. package/dist/index398.js.map +1 -1
  379. package/dist/index399.js +5 -6
  380. package/dist/index399.js.map +1 -1
  381. package/dist/index400.js +7 -7
  382. package/dist/index400.js.map +1 -1
  383. package/dist/index401.js +6 -11
  384. package/dist/index401.js.map +1 -1
  385. package/dist/index402.js +7 -8
  386. package/dist/index402.js.map +1 -1
  387. package/dist/index403.js +11 -12
  388. package/dist/index403.js.map +1 -1
  389. package/dist/index404.js +9 -3
  390. package/dist/index404.js.map +1 -1
  391. package/dist/index405.js +13 -3
  392. package/dist/index405.js.map +1 -1
  393. package/dist/index407.js +1 -1
  394. package/dist/index408.js +7 -4
  395. package/dist/index408.js.map +1 -1
  396. package/dist/index409.js +2 -56
  397. package/dist/index409.js.map +1 -1
  398. package/dist/index410.js +43 -67
  399. package/dist/index410.js.map +1 -1
  400. package/dist/index411.js +56 -31
  401. package/dist/index411.js.map +1 -1
  402. package/dist/index412.js +8 -9
  403. package/dist/index412.js.map +1 -1
  404. package/dist/index413.js +2 -153
  405. package/dist/index413.js.map +1 -1
  406. package/dist/index414.js +54 -107
  407. package/dist/index414.js.map +1 -1
  408. package/dist/index415.js +55 -7
  409. package/dist/index415.js.map +1 -1
  410. package/dist/index416.js +5 -2
  411. package/dist/index416.js.map +1 -1
  412. package/dist/index417.js +54 -42
  413. package/dist/index417.js.map +1 -1
  414. package/dist/index418.js +68 -56
  415. package/dist/index418.js.map +1 -1
  416. package/dist/index419.js +31 -8
  417. package/dist/index419.js.map +1 -1
  418. package/dist/index420.js +9 -2
  419. package/dist/index420.js.map +1 -1
  420. package/dist/index421.js +152 -54
  421. package/dist/index421.js.map +1 -1
  422. package/dist/index422.js +108 -56
  423. package/dist/index422.js.map +1 -1
  424. package/dist/index423.js +2 -16
  425. package/dist/index423.js.map +1 -1
  426. package/dist/index424.js +2 -29
  427. package/dist/index424.js.map +1 -1
  428. package/dist/index425.js +2 -13
  429. package/dist/index425.js.map +1 -1
  430. package/dist/index426.js +2 -7
  431. package/dist/index426.js.map +1 -1
  432. package/dist/index427.js +16 -2
  433. package/dist/index427.js.map +1 -1
  434. package/dist/index428.js +29 -2
  435. package/dist/index428.js.map +1 -1
  436. package/dist/index429.js +13 -2
  437. package/dist/index429.js.map +1 -1
  438. package/dist/index430.js +7 -2
  439. package/dist/index430.js.map +1 -1
  440. package/dist/index49.js +28 -28
  441. package/dist/index50.js +21 -21
  442. package/dist/index51.js +1 -1
  443. package/dist/index52.js +8 -8
  444. package/dist/index53.js +2 -2
  445. package/dist/index55.js +17 -17
  446. package/dist/index56.js +4 -4
  447. package/dist/index57.js +3 -3
  448. package/dist/index58.js +7 -7
  449. package/dist/index59.js +4 -4
  450. package/dist/index60.js +12 -12
  451. package/dist/index61.js +2 -2
  452. package/dist/index62.js +2 -2
  453. package/package.json +1 -1
package/dist/index421.js CHANGED
@@ -1,58 +1,156 @@
1
- import { __exports as d } from "./index429.js";
2
- import q from "react";
3
- import { __require as w } from "./index415.js";
4
- var V;
5
- function k() {
6
- if (V) return d;
7
- V = 1;
8
- var a = q, j = w();
9
- function z(r, u) {
10
- return r === u && (r !== 0 || 1 / r === 1 / u) || r !== r && u !== u;
1
+ import { buildLocalizeFn as e } from "./index427.js";
2
+ const a = {
3
+ narrow: ["B", "A"],
4
+ abbreviated: ["BC", "AD"],
5
+ wide: ["Before Christ", "Anno Domini"]
6
+ }, r = {
7
+ narrow: ["1", "2", "3", "4"],
8
+ abbreviated: ["Q1", "Q2", "Q3", "Q4"],
9
+ wide: ["1st quarter", "2nd quarter", "3rd quarter", "4th quarter"]
10
+ }, o = {
11
+ narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12
+ abbreviated: [
13
+ "Jan",
14
+ "Feb",
15
+ "Mar",
16
+ "Apr",
17
+ "May",
18
+ "Jun",
19
+ "Jul",
20
+ "Aug",
21
+ "Sep",
22
+ "Oct",
23
+ "Nov",
24
+ "Dec"
25
+ ],
26
+ wide: [
27
+ "January",
28
+ "February",
29
+ "March",
30
+ "April",
31
+ "May",
32
+ "June",
33
+ "July",
34
+ "August",
35
+ "September",
36
+ "October",
37
+ "November",
38
+ "December"
39
+ ]
40
+ }, d = {
41
+ narrow: ["S", "M", "T", "W", "T", "F", "S"],
42
+ short: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
43
+ abbreviated: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
44
+ wide: [
45
+ "Sunday",
46
+ "Monday",
47
+ "Tuesday",
48
+ "Wednesday",
49
+ "Thursday",
50
+ "Friday",
51
+ "Saturday"
52
+ ]
53
+ }, m = {
54
+ narrow: {
55
+ am: "a",
56
+ pm: "p",
57
+ midnight: "mi",
58
+ noon: "n",
59
+ morning: "morning",
60
+ afternoon: "afternoon",
61
+ evening: "evening",
62
+ night: "night"
63
+ },
64
+ abbreviated: {
65
+ am: "AM",
66
+ pm: "PM",
67
+ midnight: "midnight",
68
+ noon: "noon",
69
+ morning: "morning",
70
+ afternoon: "afternoon",
71
+ evening: "evening",
72
+ night: "night"
73
+ },
74
+ wide: {
75
+ am: "a.m.",
76
+ pm: "p.m.",
77
+ midnight: "midnight",
78
+ noon: "noon",
79
+ morning: "morning",
80
+ afternoon: "afternoon",
81
+ evening: "evening",
82
+ night: "night"
11
83
  }
12
- var M = typeof Object.is == "function" ? Object.is : z, W = j.useSyncExternalStore, h = a.useRef, y = a.useEffect, D = a.useMemo, O = a.useDebugValue;
13
- return d.useSyncExternalStoreWithSelector = function(r, u, m, v, t) {
14
- var i = h(null);
15
- if (i.current === null) {
16
- var f = { hasValue: !1, value: null };
17
- i.current = f;
18
- } else f = i.current;
19
- i = D(
20
- function() {
21
- function _(e) {
22
- if (!s) {
23
- if (s = !0, c = e, e = v(e), t !== void 0 && f.hasValue) {
24
- var o = f.value;
25
- if (t(o, e))
26
- return n = o;
27
- }
28
- return n = e;
29
- }
30
- if (o = n, M(c, e)) return o;
31
- var R = v(e);
32
- return t !== void 0 && t(o, R) ? (c = e, o) : (c = e, n = R);
33
- }
34
- var s = !1, c, n, b = m === void 0 ? null : m;
35
- return [
36
- function() {
37
- return _(u());
38
- },
39
- b === null ? void 0 : function() {
40
- return _(b());
41
- }
42
- ];
43
- },
44
- [u, m, v, t]
45
- );
46
- var l = W(r, i[0], i[1]);
47
- return y(
48
- function() {
49
- f.hasValue = !0, f.value = l;
50
- },
51
- [l]
52
- ), O(l), l;
53
- }, d;
54
- }
84
+ }, g = {
85
+ narrow: {
86
+ am: "a",
87
+ pm: "p",
88
+ midnight: "mi",
89
+ noon: "n",
90
+ morning: "in the morning",
91
+ afternoon: "in the afternoon",
92
+ evening: "in the evening",
93
+ night: "at night"
94
+ },
95
+ abbreviated: {
96
+ am: "AM",
97
+ pm: "PM",
98
+ midnight: "midnight",
99
+ noon: "noon",
100
+ morning: "in the morning",
101
+ afternoon: "in the afternoon",
102
+ evening: "in the evening",
103
+ night: "at night"
104
+ },
105
+ wide: {
106
+ am: "a.m.",
107
+ pm: "p.m.",
108
+ midnight: "midnight",
109
+ noon: "noon",
110
+ morning: "in the morning",
111
+ afternoon: "in the afternoon",
112
+ evening: "in the evening",
113
+ night: "at night"
114
+ }
115
+ }, u = (i, h) => {
116
+ const n = Number(i), t = n % 100;
117
+ if (t > 20 || t < 10)
118
+ switch (t % 10) {
119
+ case 1:
120
+ return n + "st";
121
+ case 2:
122
+ return n + "nd";
123
+ case 3:
124
+ return n + "rd";
125
+ }
126
+ return n + "th";
127
+ }, l = {
128
+ ordinalNumber: u,
129
+ era: e({
130
+ values: a,
131
+ defaultWidth: "wide"
132
+ }),
133
+ quarter: e({
134
+ values: r,
135
+ defaultWidth: "wide",
136
+ argumentCallback: (i) => i - 1
137
+ }),
138
+ month: e({
139
+ values: o,
140
+ defaultWidth: "wide"
141
+ }),
142
+ day: e({
143
+ values: d,
144
+ defaultWidth: "wide"
145
+ }),
146
+ dayPeriod: e({
147
+ values: m,
148
+ defaultWidth: "wide",
149
+ formattingValues: g,
150
+ defaultFormattingWidth: "wide"
151
+ })
152
+ };
55
153
  export {
56
- k as __require
154
+ l as localize
57
155
  };
58
156
  //# sourceMappingURL=index421.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index421.js","sources":["../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\");\nfunction is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\nexports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n};\n"],"names":["React","require$$0","shim","require$$1","is","x","y","objectIs","useSyncExternalStore","useRef","useEffect","useMemo","useDebugValue","withSelector_production","subscribe","getSnapshot","getServerSnapshot","selector","isEqual","instRef","inst","memoizedSelector","nextSnapshot","hasMemo","memoizedSnapshot","currentSelection","memoizedSelection","nextSelection","maybeGetServerSnapshot","value"],"mappings":";;;;;;;AAWA,MAAIA,IAAQC,GACVC,IAAOC,EAAA;AACT,WAASC,EAAGC,GAAGC,GAAG;AAChB,WAAQD,MAAMC,MAAYD,MAAN,KAAW,IAAIA,MAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;AAAA,EACxE;AACA,MAAIC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKH,GAC3DI,IAAuBN,EAAK,sBAC5BO,IAAST,EAAM,QACfU,IAAYV,EAAM,WAClBW,IAAUX,EAAM,SAChBY,IAAgBZ,EAAM;AACxB,SAAAa,EAAA,mCAA2C,SACzCC,GACAC,GACAC,GACAC,GACAC,GACA;AACA,QAAIC,IAAUV,EAAO,IAAI;AACzB,QAAaU,EAAQ,YAAjB,MAA0B;AAC5B,UAAIC,IAAO,EAAE,UAAU,IAAI,OAAO,KAAI;AACtC,MAAAD,EAAQ,UAAUC;AAAA,IACtB,MAAS,CAAAA,IAAOD,EAAQ;AACtB,IAAAA,IAAUR;AAAA,MACR,WAAY;AACV,iBAASU,EAAiBC,GAAc;AACtC,cAAI,CAACC,GAAS;AAIZ,gBAHAA,IAAU,IACVC,IAAmBF,GACnBA,IAAeL,EAASK,CAAY,GACrBJ,MAAX,UAAsBE,EAAK,UAAU;AACvC,kBAAIK,IAAmBL,EAAK;AAC5B,kBAAIF,EAAQO,GAAkBH,CAAY;AACxC,uBAAQI,IAAoBD;AAAA,YAC1C;AACU,mBAAQC,IAAoBJ;AAAA,UACtC;AAEQ,cADAG,IAAmBC,GACfnB,EAASiB,GAAkBF,CAAY,EAAG,QAAOG;AACrD,cAAIE,IAAgBV,EAASK,CAAY;AACzC,iBAAeJ,MAAX,UAAsBA,EAAQO,GAAkBE,CAAa,KACvDH,IAAmBF,GAAeG,MAC5CD,IAAmBF,GACXI,IAAoBC;AAAA,QACpC;AACM,YAAIJ,IAAU,IACZC,GACAE,GACAE,IACaZ,MAAX,SAA+B,OAAOA;AAC1C,eAAO;AAAA,UACL,WAAY;AACV,mBAAOK,EAAiBN,GAAa;AAAA,UAC/C;AAAA,UACiBa,MAAT,OACI,SACA,WAAY;AACV,mBAAOP,EAAiBO,GAAwB;AAAA,UAC9D;AAAA;MAEA;AAAA,MACI,CAACb,GAAaC,GAAmBC,GAAUC,CAAO;AAAA;AAEpD,QAAIW,IAAQrB,EAAqBM,GAAWK,EAAQ,CAAC,GAAGA,EAAQ,CAAC,CAAC;AAClE,WAAAT;AAAA,MACE,WAAY;AACV,QAAAU,EAAK,WAAW,IAChBA,EAAK,QAAQS;AAAA,MACnB;AAAA,MACI,CAACA,CAAK;AAAA,OAERjB,EAAciB,CAAK,GACZA;AAAA,EACT;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index421.js","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"],"names":["eraValues","quarterValues","monthValues","dayValues","dayPeriodValues","formattingDayPeriodValues","ordinalNumber","dirtyNumber","_options","number","rem100","localize","buildLocalizeFn","quarter"],"mappings":"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","x_google_ignoreList":[0]}
package/dist/index422.js CHANGED
@@ -1,59 +1,111 @@
1
- import { __exports as d } from "./index430.js";
2
- import M from "react";
3
- import { __require as b } from "./index415.js";
4
- var s;
5
- function H() {
6
- return s ? d : (s = 1, process.env.NODE_ENV !== "production" && (function() {
7
- function A(r, u) {
8
- return r === u && (r !== 0 || 1 / r === 1 / u) || r !== r && u !== u;
9
- }
10
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
11
- var i = M, R = b(), T = typeof Object.is == "function" ? Object.is : A, V = R.useSyncExternalStore, D = i.useRef, S = i.useEffect, p = i.useMemo, G = i.useDebugValue;
12
- d.useSyncExternalStoreWithSelector = function(r, u, a, c, f) {
13
- var _ = D(null);
14
- if (_.current === null) {
15
- var t = { hasValue: !1, value: null };
16
- _.current = t;
17
- } else t = _.current;
18
- _ = p(
19
- function() {
20
- function m(e) {
21
- if (!v) {
22
- if (v = !0, l = e, e = c(e), f !== void 0 && t.hasValue) {
23
- var o = t.value;
24
- if (f(o, e))
25
- return O = o;
26
- }
27
- return O = e;
28
- }
29
- if (o = O, T(l, e))
30
- return o;
31
- var E = c(e);
32
- return f !== void 0 && f(o, E) ? (l = e, o) : (l = e, O = E);
33
- }
34
- var v = !1, l, O, L = a === void 0 ? null : a;
35
- return [
36
- function() {
37
- return m(u());
38
- },
39
- L === null ? void 0 : function() {
40
- return m(L());
41
- }
42
- ];
43
- },
44
- [u, a, c, f]
45
- );
46
- var n = V(r, _[0], _[1]);
47
- return S(
48
- function() {
49
- t.hasValue = !0, t.value = n;
50
- },
51
- [n]
52
- ), G(n), n;
53
- }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
54
- })(), d);
55
- }
1
+ import { buildMatchFn as a } from "./index428.js";
2
+ import { buildMatchPatternFn as i } from "./index429.js";
3
+ const n = /^(\d+)(th|st|nd|rd)?/i, e = /\d+/i, r = {
4
+ narrow: /^(b|a)/i,
5
+ abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
6
+ wide: /^(before christ|before common era|anno domini|common era)/i
7
+ }, s = {
8
+ any: [/^b/i, /^(a|c)/i]
9
+ }, o = {
10
+ narrow: /^[1234]/i,
11
+ abbreviated: /^q[1234]/i,
12
+ wide: /^[1234](th|st|nd|rd)? quarter/i
13
+ }, d = {
14
+ any: [/1/i, /2/i, /3/i, /4/i]
15
+ }, m = {
16
+ narrow: /^[jfmasond]/i,
17
+ abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
18
+ wide: /^(january|february|march|april|may|june|july|august|september|october|november|december)/i
19
+ }, h = {
20
+ narrow: [
21
+ /^j/i,
22
+ /^f/i,
23
+ /^m/i,
24
+ /^a/i,
25
+ /^m/i,
26
+ /^j/i,
27
+ /^j/i,
28
+ /^a/i,
29
+ /^s/i,
30
+ /^o/i,
31
+ /^n/i,
32
+ /^d/i
33
+ ],
34
+ any: [
35
+ /^ja/i,
36
+ /^f/i,
37
+ /^mar/i,
38
+ /^ap/i,
39
+ /^may/i,
40
+ /^jun/i,
41
+ /^jul/i,
42
+ /^au/i,
43
+ /^s/i,
44
+ /^o/i,
45
+ /^n/i,
46
+ /^d/i
47
+ ]
48
+ }, c = {
49
+ narrow: /^[smtwf]/i,
50
+ short: /^(su|mo|tu|we|th|fr|sa)/i,
51
+ abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
52
+ wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
53
+ }, u = {
54
+ narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
55
+ any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
56
+ }, P = {
57
+ narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
58
+ any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
59
+ }, y = {
60
+ any: {
61
+ am: /^a/i,
62
+ pm: /^p/i,
63
+ midnight: /^mi/i,
64
+ noon: /^no/i,
65
+ morning: /morning/i,
66
+ afternoon: /afternoon/i,
67
+ evening: /evening/i,
68
+ night: /night/i
69
+ }
70
+ }, l = {
71
+ ordinalNumber: i({
72
+ matchPattern: n,
73
+ parsePattern: e,
74
+ valueCallback: (t) => parseInt(t, 10)
75
+ }),
76
+ era: a({
77
+ matchPatterns: r,
78
+ defaultMatchWidth: "wide",
79
+ parsePatterns: s,
80
+ defaultParseWidth: "any"
81
+ }),
82
+ quarter: a({
83
+ matchPatterns: o,
84
+ defaultMatchWidth: "wide",
85
+ parsePatterns: d,
86
+ defaultParseWidth: "any",
87
+ valueCallback: (t) => t + 1
88
+ }),
89
+ month: a({
90
+ matchPatterns: m,
91
+ defaultMatchWidth: "wide",
92
+ parsePatterns: h,
93
+ defaultParseWidth: "any"
94
+ }),
95
+ day: a({
96
+ matchPatterns: c,
97
+ defaultMatchWidth: "wide",
98
+ parsePatterns: u,
99
+ defaultParseWidth: "any"
100
+ }),
101
+ dayPeriod: a({
102
+ matchPatterns: P,
103
+ defaultMatchWidth: "any",
104
+ parsePatterns: y,
105
+ defaultParseWidth: "any"
106
+ })
107
+ };
56
108
  export {
57
- H as __require
109
+ l as match
58
110
  };
59
111
  //# sourceMappingURL=index422.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index422.js","sources":["../../../node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js"],"sourcesContent":["/**\n * @license React\n * use-sync-external-store-shim/with-selector.development.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\n\"production\" !== process.env.NODE_ENV &&\n (function () {\n function is(x, y) {\n return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n }\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());\n var React = require(\"react\"),\n shim = require(\"use-sync-external-store/shim\"),\n objectIs = \"function\" === typeof Object.is ? Object.is : is,\n useSyncExternalStore = shim.useSyncExternalStore,\n useRef = React.useRef,\n useEffect = React.useEffect,\n useMemo = React.useMemo,\n useDebugValue = React.useDebugValue;\n exports.useSyncExternalStoreWithSelector = function (\n subscribe,\n getSnapshot,\n getServerSnapshot,\n selector,\n isEqual\n ) {\n var instRef = useRef(null);\n if (null === instRef.current) {\n var inst = { hasValue: !1, value: null };\n instRef.current = inst;\n } else inst = instRef.current;\n instRef = useMemo(\n function () {\n function memoizedSelector(nextSnapshot) {\n if (!hasMemo) {\n hasMemo = !0;\n memoizedSnapshot = nextSnapshot;\n nextSnapshot = selector(nextSnapshot);\n if (void 0 !== isEqual && inst.hasValue) {\n var currentSelection = inst.value;\n if (isEqual(currentSelection, nextSnapshot))\n return (memoizedSelection = currentSelection);\n }\n return (memoizedSelection = nextSnapshot);\n }\n currentSelection = memoizedSelection;\n if (objectIs(memoizedSnapshot, nextSnapshot))\n return currentSelection;\n var nextSelection = selector(nextSnapshot);\n if (void 0 !== isEqual && isEqual(currentSelection, nextSelection))\n return (memoizedSnapshot = nextSnapshot), currentSelection;\n memoizedSnapshot = nextSnapshot;\n return (memoizedSelection = nextSelection);\n }\n var hasMemo = !1,\n memoizedSnapshot,\n memoizedSelection,\n maybeGetServerSnapshot =\n void 0 === getServerSnapshot ? null : getServerSnapshot;\n return [\n function () {\n return memoizedSelector(getSnapshot());\n },\n null === maybeGetServerSnapshot\n ? void 0\n : function () {\n return memoizedSelector(maybeGetServerSnapshot());\n }\n ];\n },\n [getSnapshot, getServerSnapshot, selector, isEqual]\n );\n var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);\n useEffect(\n function () {\n inst.hasValue = !0;\n inst.value = value;\n },\n [value]\n );\n useDebugValue(value);\n return value;\n };\n \"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&\n \"function\" ===\n typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&\n __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());\n })();\n"],"names":["is","x","y","React","require$$0","shim","require$$1","objectIs","useSyncExternalStore","useRef","useEffect","useMemo","useDebugValue","withSelector_development","subscribe","getSnapshot","getServerSnapshot","selector","isEqual","instRef","inst","memoizedSelector","nextSnapshot","hasMemo","memoizedSnapshot","currentSelection","memoizedSelection","nextSelection","maybeGetServerSnapshot","value"],"mappings":";;;;;yBAWiB,QAAQ,IAAI,aAA7B,iBACG,WAAY;AACX,aAASA,EAAGC,GAAGC,GAAG;AAChB,aAAQD,MAAMC,MAAYD,MAAN,KAAW,IAAIA,MAAM,IAAIC,MAAQD,MAAMA,KAAKC,MAAMA;AAAA,IAC5E;AACI,IAAgB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,+BADxC,cAEA,+BAA+B,4BAA4B,OAAO;AACpE,QAAIC,IAAQC,GACVC,IAAOC,EAAA,GACPC,IAA0B,OAAO,OAAO,MAA7B,aAAkC,OAAO,KAAKP,GACzDQ,IAAuBH,EAAK,sBAC5BI,IAASN,EAAM,QACfO,IAAYP,EAAM,WAClBQ,IAAUR,EAAM,SAChBS,IAAgBT,EAAM;AACxB,IAAAU,qCAA2C,SACzCC,GACAC,GACAC,GACAC,GACAC,GACA;AACA,UAAIC,IAAUV,EAAO,IAAI;AACzB,UAAaU,EAAQ,YAAjB,MAA0B;AAC5B,YAAIC,IAAO,EAAE,UAAU,IAAI,OAAO,KAAI;AACtC,QAAAD,EAAQ,UAAUC;AAAA,MAC1B,MAAa,CAAAA,IAAOD,EAAQ;AACtB,MAAAA,IAAUR;AAAA,QACR,WAAY;AACV,mBAASU,EAAiBC,GAAc;AACtC,gBAAI,CAACC,GAAS;AAIZ,kBAHAA,IAAU,IACVC,IAAmBF,GACnBA,IAAeL,EAASK,CAAY,GACrBJ,MAAX,UAAsBE,EAAK,UAAU;AACvC,oBAAIK,IAAmBL,EAAK;AAC5B,oBAAIF,EAAQO,GAAkBH,CAAY;AACxC,yBAAQI,IAAoBD;AAAA,cAC9C;AACc,qBAAQC,IAAoBJ;AAAA,YAC1C;AAEY,gBADAG,IAAmBC,GACfnB,EAASiB,GAAkBF,CAAY;AACzC,qBAAOG;AACT,gBAAIE,IAAgBV,EAASK,CAAY;AACzC,mBAAeJ,MAAX,UAAsBA,EAAQO,GAAkBE,CAAa,KACvDH,IAAmBF,GAAeG,MAC5CD,IAAmBF,GACXI,IAAoBC;AAAA,UACxC;AACU,cAAIJ,IAAU,IACZC,GACAE,GACAE,IACaZ,MAAX,SAA+B,OAAOA;AAC1C,iBAAO;AAAA,YACL,WAAY;AACV,qBAAOK,EAAiBN,GAAa;AAAA,YACnD;AAAA,YACqBa,MAAT,OACI,SACA,WAAY;AACV,qBAAOP,EAAiBO,GAAwB;AAAA,YAClE;AAAA;QAEA;AAAA,QACQ,CAACb,GAAaC,GAAmBC,GAAUC,CAAO;AAAA;AAEpD,UAAIW,IAAQrB,EAAqBM,GAAWK,EAAQ,CAAC,GAAGA,EAAQ,CAAC,CAAC;AAClE,aAAAT;AAAA,QACE,WAAY;AACV,UAAAU,EAAK,WAAW,IAChBA,EAAK,QAAQS;AAAA,QACvB;AAAA,QACQ,CAACA,CAAK;AAAA,SAERjB,EAAciB,CAAK,GACZA;AAAA,IACb,GACoB,OAAO,iCAAvB,OAEI,OAAO,+BAA+B,8BADxC,cAEA,+BAA+B,2BAA2B,OAAO;AAAA,EACvE,GAAG;;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index422.js","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"],"names":["matchOrdinalNumberPattern","parseOrdinalNumberPattern","matchEraPatterns","parseEraPatterns","matchQuarterPatterns","parseQuarterPatterns","matchMonthPatterns","parseMonthPatterns","matchDayPatterns","parseDayPatterns","matchDayPeriodPatterns","parseDayPeriodPatterns","match","buildMatchPatternFn","value","buildMatchFn","index"],"mappings":";;AAGA,MAAMA,IAA4B,yBAC5BC,IAA4B,QAE5BC,IAAmB;AAAA,EACvB,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAmB;AAAA,EACvB,KAAK,CAAC,OAAO,SAAS;AACxB,GAEMC,IAAuB;AAAA,EAC3B,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAuB;AAAA,EAC3B,KAAK,CAAC,MAAM,MAAM,MAAM,IAAI;AAC9B,GAEMC,IAAqB;AAAA,EACzB,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAqB;AAAA,EACzB,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AAAA,EAEE,KAAK;AAAA,IACH;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,EACJ;AACA,GAEMC,IAAmB;AAAA,EACvB,QAAQ;AAAA,EACR,OAAO;AAAA,EACP,aAAa;AAAA,EACb,MAAM;AACR,GACMC,IAAmB;AAAA,EACvB,QAAQ,CAAC,OAAO,OAAO,OAAO,OAAO,OAAO,OAAO,KAAK;AAAA,EACxD,KAAK,CAAC,QAAQ,OAAO,QAAQ,OAAO,QAAQ,OAAO,MAAM;AAC3D,GAEMC,IAAyB;AAAA,EAC7B,QAAQ;AAAA,EACR,KAAK;AACP,GACMC,IAAyB;AAAA,EAC7B,KAAK;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,UAAU;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,IACT,WAAW;AAAA,IACX,SAAS;AAAA,IACT,OAAO;AAAA,EACX;AACA,GAEaC,IAAQ;AAAA,EACnB,eAAeC,EAAoB;AAAA,IACjC,cAAcb;AAAA,IACd,cAAcC;AAAA,IACd,eAAe,CAACa,MAAU,SAASA,GAAO,EAAE;AAAA,EAChD,CAAG;AAAA,EAED,KAAKC,EAAa;AAAA,IAChB,eAAeb;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,SAASY,EAAa;AAAA,IACpB,eAAeX;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAe,CAACW,MAAUA,IAAQ;AAAA,EACtC,CAAG;AAAA,EAED,OAAOD,EAAa;AAAA,IAClB,eAAeT;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,KAAKQ,EAAa;AAAA,IAChB,eAAeP;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AAAA,EAED,WAAWM,EAAa;AAAA,IACtB,eAAeL;AAAA,IACf,mBAAmB;AAAA,IACnB,eAAeC;AAAA,IACf,mBAAmB;AAAA,EACvB,CAAG;AACH;","x_google_ignoreList":[0]}
package/dist/index423.js CHANGED
@@ -1,19 +1,5 @@
1
- function c(t) {
2
- return (l, e) => {
3
- const u = e?.context ? String(e.context) : "standalone";
4
- let d;
5
- if (u === "formatting" && t.formattingValues) {
6
- const n = t.defaultFormattingWidth || t.defaultWidth, i = e?.width ? String(e.width) : n;
7
- d = t.formattingValues[i] || t.formattingValues[n];
8
- } else {
9
- const n = t.defaultWidth, i = e?.width ? String(e.width) : t.defaultWidth;
10
- d = t.values[i] || t.values[n];
11
- }
12
- const a = t.argumentCallback ? t.argumentCallback(l) : l;
13
- return d[a];
14
- };
15
- }
1
+ var r = {};
16
2
  export {
17
- c as buildLocalizeFn
3
+ r as __exports
18
4
  };
19
5
  //# sourceMappingURL=index423.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index423.js","sources":["../../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js"],"sourcesContent":["/**\n * The localize function argument callback which allows to convert raw value to\n * the actual type.\n *\n * @param value - The value to convert\n *\n * @returns The converted value\n */\n\n/**\n * The map of localized values for each width.\n */\n\n/**\n * The index type of the locale unit value. It types conversion of units of\n * values that don't start at 0 (i.e. quarters).\n */\n\n/**\n * Converts the unit value to the tuple of values.\n */\n\n/**\n * The tuple of localized era values. The first element represents BC,\n * the second element represents AD.\n */\n\n/**\n * The tuple of localized quarter values. The first element represents Q1.\n */\n\n/**\n * The tuple of localized day values. The first element represents Sunday.\n */\n\n/**\n * The tuple of localized month values. The first element represents January.\n */\n\nexport function buildLocalizeFn(args) {\n return (value, options) => {\n const context = options?.context ? String(options.context) : \"standalone\";\n\n let valuesArray;\n if (context === \"formatting\" && args.formattingValues) {\n const defaultWidth = args.defaultFormattingWidth || args.defaultWidth;\n const width = options?.width ? String(options.width) : defaultWidth;\n\n valuesArray =\n args.formattingValues[width] || args.formattingValues[defaultWidth];\n } else {\n const defaultWidth = args.defaultWidth;\n const width = options?.width ? String(options.width) : args.defaultWidth;\n\n valuesArray = args.values[width] || args.values[defaultWidth];\n }\n const index = args.argumentCallback ? args.argumentCallback(value) : value;\n\n // @ts-expect-error - For some reason TypeScript just don't want to match it, no matter how hard we try. I challenge you to try to remove it!\n return valuesArray[index];\n };\n}\n"],"names":["buildLocalizeFn","args","value","options","context","valuesArray","defaultWidth","width","index"],"mappings":"AAuCO,SAASA,EAAgBC,GAAM;AACpC,SAAO,CAACC,GAAOC,MAAY;AACzB,UAAMC,IAAUD,GAAS,UAAU,OAAOA,EAAQ,OAAO,IAAI;AAE7D,QAAIE;AACJ,QAAID,MAAY,gBAAgBH,EAAK,kBAAkB;AACrD,YAAMK,IAAeL,EAAK,0BAA0BA,EAAK,cACnDM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIG;AAEvD,MAAAD,IACEJ,EAAK,iBAAiBM,CAAK,KAAKN,EAAK,iBAAiBK,CAAY;AAAA,IACtE,OAAO;AACL,YAAMA,IAAeL,EAAK,cACpBM,IAAQJ,GAAS,QAAQ,OAAOA,EAAQ,KAAK,IAAIF,EAAK;AAE5D,MAAAI,IAAcJ,EAAK,OAAOM,CAAK,KAAKN,EAAK,OAAOK,CAAY;AAAA,IAC9D;AACA,UAAME,IAAQP,EAAK,mBAAmBA,EAAK,iBAAiBC,CAAK,IAAIA;AAGrE,WAAOG,EAAYG,CAAK;AAAA,EAC1B;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index423.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index424.js CHANGED
@@ -1,32 +1,5 @@
1
- function P(t) {
2
- return (n, e = {}) => {
3
- const l = e.width, h = l && t.matchPatterns[l] || t.matchPatterns[t.defaultMatchWidth], i = n.match(h);
4
- if (!i)
5
- return null;
6
- const r = i[0], c = l && t.parsePatterns[l] || t.parsePatterns[t.defaultParseWidth], d = Array.isArray(c) ? o(c, (u) => u.test(r)) : (
7
- // [TODO] -- I challenge you to fix the type
8
- s(c, (u) => u.test(r))
9
- );
10
- let a;
11
- a = t.valueCallback ? t.valueCallback(d) : d, a = e.valueCallback ? (
12
- // [TODO] -- I challenge you to fix the type
13
- e.valueCallback(a)
14
- ) : a;
15
- const f = n.slice(r.length);
16
- return { value: a, rest: f };
17
- };
18
- }
19
- function s(t, n) {
20
- for (const e in t)
21
- if (Object.prototype.hasOwnProperty.call(t, e) && n(t[e]))
22
- return e;
23
- }
24
- function o(t, n) {
25
- for (let e = 0; e < t.length; e++)
26
- if (n(t[e]))
27
- return e;
28
- }
1
+ var e = {};
29
2
  export {
30
- P as buildMatchFn
3
+ e as __exports
31
4
  };
32
5
  //# sourceMappingURL=index424.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index424.js","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"],"names":["buildMatchFn","args","string","options","width","matchPattern","matchResult","matchedString","parsePatterns","key","findIndex","pattern","findKey","value","rest","object","predicate","array"],"mappings":"AAAO,SAASA,EAAaC,GAAM;AACjC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAQD,EAAQ,OAEhBE,IACHD,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GACrCK,IAAcJ,EAAO,MAAMG,CAAY;AAE7C,QAAI,CAACC;AACH,aAAO;AAET,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IACHJ,KAASH,EAAK,cAAcG,CAAK,KAClCH,EAAK,cAAcA,EAAK,iBAAiB,GAErCQ,IAAM,MAAM,QAAQD,CAAa,IACnCE,EAAUF,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAAA,MAEjEK,EAAQJ,GAAe,CAACG,MAAYA,EAAQ,KAAKJ,CAAa,CAAC;AAAA;AAEnE,QAAIM;AAEJ,IAAAA,IAAQZ,EAAK,gBAAgBA,EAAK,cAAcQ,CAAG,IAAIA,GACvDI,IAAQV,EAAQ;AAAA;AAAA,MAEZA,EAAQ,cAAcU,CAAK;AAAA,QAC3BA;AAEJ,UAAMC,IAAOZ,EAAO,MAAMK,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAM,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;AAEA,SAASF,EAAQG,GAAQC,GAAW;AAClC,aAAWP,KAAOM;AAChB,QACE,OAAO,UAAU,eAAe,KAAKA,GAAQN,CAAG,KAChDO,EAAUD,EAAON,CAAG,CAAC;AAErB,aAAOA;AAIb;AAEA,SAASC,EAAUO,GAAOD,GAAW;AACnC,WAASP,IAAM,GAAGA,IAAMQ,EAAM,QAAQR;AACpC,QAAIO,EAAUC,EAAMR,CAAG,CAAC;AACtB,aAAOA;AAIb;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index424.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index425.js CHANGED
@@ -1,16 +1,5 @@
1
- function h(t) {
2
- return (e, c = {}) => {
3
- const n = e.match(t.matchPattern);
4
- if (!n) return null;
5
- const u = n[0], a = e.match(t.parsePattern);
6
- if (!a) return null;
7
- let l = t.valueCallback ? t.valueCallback(a[0]) : a[0];
8
- l = c.valueCallback ? c.valueCallback(l) : l;
9
- const r = e.slice(u.length);
10
- return { value: l, rest: r };
11
- };
12
- }
1
+ var o = {};
13
2
  export {
14
- h as buildMatchPatternFn
3
+ o as __exports
15
4
  };
16
5
  //# sourceMappingURL=index425.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index425.js","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"],"names":["buildMatchPatternFn","args","string","options","matchResult","matchedString","parseResult","value","rest"],"mappings":"AAAO,SAASA,EAAoBC,GAAM;AACxC,SAAO,CAACC,GAAQC,IAAU,OAAO;AAC/B,UAAMC,IAAcF,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACG,EAAa,QAAO;AACzB,UAAMC,IAAgBD,EAAY,CAAC,GAE7BE,IAAcJ,EAAO,MAAMD,EAAK,YAAY;AAClD,QAAI,CAACK,EAAa,QAAO;AACzB,QAAIC,IAAQN,EAAK,gBACbA,EAAK,cAAcK,EAAY,CAAC,CAAC,IACjCA,EAAY,CAAC;AAGjB,IAAAC,IAAQJ,EAAQ,gBAAgBA,EAAQ,cAAcI,CAAK,IAAIA;AAE/D,UAAMC,IAAON,EAAO,MAAMG,EAAc,MAAM;AAE9C,WAAO,EAAE,OAAAE,GAAO,MAAAC,EAAI;AAAA,EACtB;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index425.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
package/dist/index426.js CHANGED
@@ -1,10 +1,5 @@
1
- function r(t) {
2
- return (d = {}) => {
3
- const n = d.width ? String(d.width) : t.defaultWidth;
4
- return t.formats[n] || t.formats[t.defaultWidth];
5
- };
6
- }
1
+ var e = {};
7
2
  export {
8
- r as buildFormatLongFn
3
+ e as __exports
9
4
  };
10
5
  //# sourceMappingURL=index426.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index426.js","sources":["../../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js"],"sourcesContent":["export function buildFormatLongFn(args) {\n return (options = {}) => {\n // TODO: Remove String()\n const width = options.width ? String(options.width) : args.defaultWidth;\n const format = args.formats[width] || args.formats[args.defaultWidth];\n return format;\n };\n}\n"],"names":["buildFormatLongFn","args","options","width"],"mappings":"AAAO,SAASA,EAAkBC,GAAM;AACtC,SAAO,CAACC,IAAU,OAAO;AAEvB,UAAMC,IAAQD,EAAQ,QAAQ,OAAOA,EAAQ,KAAK,IAAID,EAAK;AAE3D,WADeA,EAAK,QAAQE,CAAK,KAAKF,EAAK,QAAQA,EAAK,YAAY;AAAA,EAEtE;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index426.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}