@rpcbase/ui 0.224.0 → 0.225.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 (829) hide show
  1. package/dist/components/DayPickerField/index.d.ts.map +1 -1
  2. package/dist/components/Dialog/index.d.ts +13 -9
  3. package/dist/components/Dialog/index.d.ts.map +1 -1
  4. package/dist/components/FilesUploadField/index.d.ts.map +1 -1
  5. package/dist/components/HourPickerField/index.d.ts.map +1 -1
  6. package/dist/components/Select/index.d.ts +16 -10
  7. package/dist/components/Select/index.d.ts.map +1 -1
  8. package/dist/index10.js +102 -103
  9. package/dist/index10.js.map +1 -1
  10. package/dist/index100.js +4 -4
  11. package/dist/index100.js.map +1 -1
  12. package/dist/index101.js +9 -52
  13. package/dist/index101.js.map +1 -1
  14. package/dist/index102.js +5 -4
  15. package/dist/index102.js.map +1 -1
  16. package/dist/index103.js +3 -3
  17. package/dist/index103.js.map +1 -1
  18. package/dist/index104.js +4 -15
  19. package/dist/index104.js.map +1 -1
  20. package/dist/index105.js +5 -4
  21. package/dist/index105.js.map +1 -1
  22. package/dist/index106.js +145 -7
  23. package/dist/index106.js.map +1 -1
  24. package/dist/index107.js +39 -16
  25. package/dist/index107.js.map +1 -1
  26. package/dist/index108.js +4 -4
  27. package/dist/index108.js.map +1 -1
  28. package/dist/index109.js +7 -4
  29. package/dist/index109.js.map +1 -1
  30. package/dist/index110.js +13 -5
  31. package/dist/index110.js.map +1 -1
  32. package/dist/index111.js +13 -5
  33. package/dist/index111.js.map +1 -1
  34. package/dist/index112.js +7 -4
  35. package/dist/index112.js.map +1 -1
  36. package/dist/index113.js +31 -4
  37. package/dist/index113.js.map +1 -1
  38. package/dist/index114.js +10 -6
  39. package/dist/index114.js.map +1 -1
  40. package/dist/index115.js +10 -24
  41. package/dist/index115.js.map +1 -1
  42. package/dist/index116.js +8 -6
  43. package/dist/index116.js.map +1 -1
  44. package/dist/index117.js +13 -4
  45. package/dist/index117.js.map +1 -1
  46. package/dist/index118.js +101 -6
  47. package/dist/index118.js.map +1 -1
  48. package/dist/index119.js +20 -6
  49. package/dist/index119.js.map +1 -1
  50. package/dist/index12.js +1 -1
  51. package/dist/index120.js +53 -4
  52. package/dist/index120.js.map +1 -1
  53. package/dist/index121.js +72 -5
  54. package/dist/index121.js.map +1 -1
  55. package/dist/index122.js +9 -4
  56. package/dist/index122.js.map +1 -1
  57. package/dist/index123.js +20 -8
  58. package/dist/index123.js.map +1 -1
  59. package/dist/index124.js +16 -5
  60. package/dist/index124.js.map +1 -1
  61. package/dist/index125.js +23 -4
  62. package/dist/index125.js.map +1 -1
  63. package/dist/index126.js +6 -4
  64. package/dist/index126.js.map +1 -1
  65. package/dist/index127.js +5 -6
  66. package/dist/index127.js.map +1 -1
  67. package/dist/index128.js +23 -145
  68. package/dist/index128.js.map +1 -1
  69. package/dist/index129.js +34 -39
  70. package/dist/index129.js.map +1 -1
  71. package/dist/index130.js +16 -5
  72. package/dist/index130.js.map +1 -1
  73. package/dist/index131.js +6 -7
  74. package/dist/index131.js.map +1 -1
  75. package/dist/index132.js +4 -13
  76. package/dist/index132.js.map +1 -1
  77. package/dist/index133.js +4 -13
  78. package/dist/index133.js.map +1 -1
  79. package/dist/index134.js +4 -7
  80. package/dist/index134.js.map +1 -1
  81. package/dist/index135.js +4 -31
  82. package/dist/index135.js.map +1 -1
  83. package/dist/index136.js +3 -10
  84. package/dist/index136.js.map +1 -1
  85. package/dist/index137.js +6 -10
  86. package/dist/index137.js.map +1 -1
  87. package/dist/index138.js +24 -9
  88. package/dist/index138.js.map +1 -1
  89. package/dist/index139.js +7 -13
  90. package/dist/index139.js.map +1 -1
  91. package/dist/index140.js +6 -101
  92. package/dist/index140.js.map +1 -1
  93. package/dist/index141.js +6 -20
  94. package/dist/index141.js.map +1 -1
  95. package/dist/index142.js +3 -53
  96. package/dist/index142.js.map +1 -1
  97. package/dist/index143.js +3 -72
  98. package/dist/index143.js.map +1 -1
  99. package/dist/index144.js +4 -9
  100. package/dist/index144.js.map +1 -1
  101. package/dist/index145.js +3 -20
  102. package/dist/index145.js.map +1 -1
  103. package/dist/index146.js +4 -16
  104. package/dist/index146.js.map +1 -1
  105. package/dist/index147.js +3 -23
  106. package/dist/index147.js.map +1 -1
  107. package/dist/index148.js +3 -6
  108. package/dist/index148.js.map +1 -1
  109. package/dist/index149.js +3 -5
  110. package/dist/index149.js.map +1 -1
  111. package/dist/index150.js +5 -23
  112. package/dist/index150.js.map +1 -1
  113. package/dist/index151.js +68 -34
  114. package/dist/index151.js.map +1 -1
  115. package/dist/index152.js +2 -16
  116. package/dist/index152.js.map +1 -1
  117. package/dist/index153.js +363 -6
  118. package/dist/index153.js.map +1 -1
  119. package/dist/index154.js +261 -4
  120. package/dist/index154.js.map +1 -1
  121. package/dist/index155.js +60 -4
  122. package/dist/index155.js.map +1 -1
  123. package/dist/index156.js +46 -4
  124. package/dist/index156.js.map +1 -1
  125. package/dist/index157.js +169 -4
  126. package/dist/index157.js.map +1 -1
  127. package/dist/index158.js +109 -3
  128. package/dist/index158.js.map +1 -1
  129. package/dist/index159.js +24 -6
  130. package/dist/index159.js.map +1 -1
  131. package/dist/index16.js +77 -72
  132. package/dist/index16.js.map +1 -1
  133. package/dist/index160.js +8 -24
  134. package/dist/index160.js.map +1 -1
  135. package/dist/index161.js +4 -7
  136. package/dist/index161.js.map +1 -1
  137. package/dist/index162.js +5 -6
  138. package/dist/index162.js.map +1 -1
  139. package/dist/index163.js +4 -5
  140. package/dist/index163.js.map +1 -1
  141. package/dist/index164.js +466 -3
  142. package/dist/index164.js.map +1 -1
  143. package/dist/index165.js +185 -3
  144. package/dist/index165.js.map +1 -1
  145. package/dist/index166.js +107 -4
  146. package/dist/index166.js.map +1 -1
  147. package/dist/index167.js +262 -3
  148. package/dist/index167.js.map +1 -1
  149. package/dist/index168.js +9 -4
  150. package/dist/index168.js.map +1 -1
  151. package/dist/index169.js +42 -3
  152. package/dist/index169.js.map +1 -1
  153. package/dist/index170.js +4 -3
  154. package/dist/index170.js.map +1 -1
  155. package/dist/index171.js +11 -3
  156. package/dist/index171.js.map +1 -1
  157. package/dist/index172.js +63 -41
  158. package/dist/index172.js.map +1 -1
  159. package/dist/index173.js +35 -227
  160. package/dist/index173.js.map +1 -1
  161. package/dist/index174.js +14 -22
  162. package/dist/index174.js.map +1 -1
  163. package/dist/index175.js +23 -24
  164. package/dist/index175.js.map +1 -1
  165. package/dist/index176.js +104 -394
  166. package/dist/index176.js.map +1 -1
  167. package/dist/index177.js +13 -14
  168. package/dist/index177.js.map +1 -1
  169. package/dist/index178.js +4 -154
  170. package/dist/index178.js.map +1 -1
  171. package/dist/index179.js +4 -31
  172. package/dist/index179.js.map +1 -1
  173. package/dist/index18.js +6 -6
  174. package/dist/index180.js +5 -10
  175. package/dist/index180.js.map +1 -1
  176. package/dist/index181.js +11 -48
  177. package/dist/index181.js.map +1 -1
  178. package/dist/index182.js +19 -11
  179. package/dist/index182.js.map +1 -1
  180. package/dist/index183.js +13 -45
  181. package/dist/index183.js.map +1 -1
  182. package/dist/index184.js +255 -89
  183. package/dist/index184.js.map +1 -1
  184. package/dist/index185.js +4 -86
  185. package/dist/index185.js.map +1 -1
  186. package/dist/index186.js +26 -104
  187. package/dist/index186.js.map +1 -1
  188. package/dist/index187.js +126 -52
  189. package/dist/index187.js.map +1 -1
  190. package/dist/index188.js +5 -11
  191. package/dist/index188.js.map +1 -1
  192. package/dist/index189.js +78 -37
  193. package/dist/index189.js.map +1 -1
  194. package/dist/index19.js +280 -208
  195. package/dist/index19.js.map +1 -1
  196. package/dist/index190.js +66 -8
  197. package/dist/index190.js.map +1 -1
  198. package/dist/index191.js +7 -115
  199. package/dist/index191.js.map +1 -1
  200. package/dist/index192.js +16 -18
  201. package/dist/index192.js.map +1 -1
  202. package/dist/index193.js +92 -15
  203. package/dist/index193.js.map +1 -1
  204. package/dist/index194.js +65 -3
  205. package/dist/index194.js.map +1 -1
  206. package/dist/index195.js +42 -33
  207. package/dist/index195.js.map +1 -1
  208. package/dist/index196.js +58 -20
  209. package/dist/index196.js.map +1 -1
  210. package/dist/index197.js +8 -9
  211. package/dist/index197.js.map +1 -1
  212. package/dist/index198.js +66 -8
  213. package/dist/index198.js.map +1 -1
  214. package/dist/index199.js +18 -18
  215. package/dist/index199.js.map +1 -1
  216. package/dist/index200.js +15 -27
  217. package/dist/index200.js.map +1 -1
  218. package/dist/index201.js +4 -15
  219. package/dist/index201.js.map +1 -1
  220. package/dist/index202.js +4 -57
  221. package/dist/index202.js.map +1 -1
  222. package/dist/index203.js +6 -8
  223. package/dist/index203.js.map +1 -1
  224. package/dist/index204.js +4 -66
  225. package/dist/index204.js.map +1 -1
  226. package/dist/index205.js +6 -19
  227. package/dist/index205.js.map +1 -1
  228. package/dist/index206.js +16 -16
  229. package/dist/index206.js.map +1 -1
  230. package/dist/index207.js +4 -5
  231. package/dist/index207.js.map +1 -1
  232. package/dist/index208.js +4 -5
  233. package/dist/index208.js.map +1 -1
  234. package/dist/index209.js +12 -6
  235. package/dist/index209.js.map +1 -1
  236. package/dist/index210.js +9 -4
  237. package/dist/index210.js.map +1 -1
  238. package/dist/index211.js +13 -6
  239. package/dist/index211.js.map +1 -1
  240. package/dist/index212.js +13 -16
  241. package/dist/index212.js.map +1 -1
  242. package/dist/index213.js +4 -4
  243. package/dist/index213.js.map +1 -1
  244. package/dist/index214.js +5 -4
  245. package/dist/index214.js.map +1 -1
  246. package/dist/index215.js +6 -12
  247. package/dist/index215.js.map +1 -1
  248. package/dist/index216.js +5 -9
  249. package/dist/index216.js.map +1 -1
  250. package/dist/index217.js +54 -13
  251. package/dist/index217.js.map +1 -1
  252. package/dist/index218.js +8 -13
  253. package/dist/index218.js.map +1 -1
  254. package/dist/index219.js +4 -4
  255. package/dist/index219.js.map +1 -1
  256. package/dist/index220.js +4 -5
  257. package/dist/index220.js.map +1 -1
  258. package/dist/index221.js +8 -6
  259. package/dist/index221.js.map +1 -1
  260. package/dist/index222.js +4 -5
  261. package/dist/index222.js.map +1 -1
  262. package/dist/index223.js +4 -54
  263. package/dist/index223.js.map +1 -1
  264. package/dist/index224.js +3 -8
  265. package/dist/index224.js.map +1 -1
  266. package/dist/index225.js +10 -4
  267. package/dist/index225.js.map +1 -1
  268. package/dist/index226.js +9 -4
  269. package/dist/index226.js.map +1 -1
  270. package/dist/index227.js +9 -8
  271. package/dist/index227.js.map +1 -1
  272. package/dist/index228.js +10 -4
  273. package/dist/index228.js.map +1 -1
  274. package/dist/index229.js +10 -4
  275. package/dist/index229.js.map +1 -1
  276. package/dist/index230.js +9 -3
  277. package/dist/index230.js.map +1 -1
  278. package/dist/index231.js +6 -10
  279. package/dist/index231.js.map +1 -1
  280. package/dist/index232.js +5 -9
  281. package/dist/index232.js.map +1 -1
  282. package/dist/index233.js +4 -9
  283. package/dist/index233.js.map +1 -1
  284. package/dist/index234.js +5 -10
  285. package/dist/index234.js.map +1 -1
  286. package/dist/index235.js +6 -10
  287. package/dist/index235.js.map +1 -1
  288. package/dist/index236.js +5 -9
  289. package/dist/index236.js.map +1 -1
  290. package/dist/index237.js +29 -6
  291. package/dist/index237.js.map +1 -1
  292. package/dist/index238.js +12 -5
  293. package/dist/index238.js.map +1 -1
  294. package/dist/index239.js +25 -4
  295. package/dist/index239.js.map +1 -1
  296. package/dist/index240.js +5 -5
  297. package/dist/index240.js.map +1 -1
  298. package/dist/index241.js +16 -6
  299. package/dist/index241.js.map +1 -1
  300. package/dist/index242.js +7 -5
  301. package/dist/index242.js.map +1 -1
  302. package/dist/index243.js +9 -15
  303. package/dist/index243.js.map +1 -1
  304. package/dist/index244.js +10 -7
  305. package/dist/index244.js.map +1 -1
  306. package/dist/index245.js +21 -10
  307. package/dist/index245.js.map +1 -1
  308. package/dist/index246.js +10 -10
  309. package/dist/index246.js.map +1 -1
  310. package/dist/index247.js +9 -21
  311. package/dist/index247.js.map +1 -1
  312. package/dist/index248.js +9 -10
  313. package/dist/index248.js.map +1 -1
  314. package/dist/index249.js +4 -9
  315. package/dist/index249.js.map +1 -1
  316. package/dist/index250.js +5 -9
  317. package/dist/index250.js.map +1 -1
  318. package/dist/index251.js +16 -4
  319. package/dist/index251.js.map +1 -1
  320. package/dist/index252.js +9 -5
  321. package/dist/index252.js.map +1 -1
  322. package/dist/index253.js +18 -16
  323. package/dist/index253.js.map +1 -1
  324. package/dist/index254.js +15 -9
  325. package/dist/index254.js.map +1 -1
  326. package/dist/index255.js +8 -14
  327. package/dist/index255.js.map +1 -1
  328. package/dist/index256.js +13 -15
  329. package/dist/index256.js.map +1 -1
  330. package/dist/index257.js +154 -12
  331. package/dist/index257.js.map +1 -1
  332. package/dist/index258.js +29 -28
  333. package/dist/index258.js.map +1 -1
  334. package/dist/index259.js +9 -12
  335. package/dist/index259.js.map +1 -1
  336. package/dist/index260.js +46 -23
  337. package/dist/index260.js.map +1 -1
  338. package/dist/index261.js +11 -5
  339. package/dist/index261.js.map +1 -1
  340. package/dist/index262.js +43 -23
  341. package/dist/index262.js.map +1 -1
  342. package/dist/index263.js +95 -28
  343. package/dist/index263.js.map +1 -1
  344. package/dist/index264.js +87 -5
  345. package/dist/index264.js.map +1 -1
  346. package/dist/index265.js +105 -20
  347. package/dist/index265.js.map +1 -1
  348. package/dist/index266.js +52 -4
  349. package/dist/index266.js.map +1 -1
  350. package/dist/index267.js +11 -17
  351. package/dist/index267.js.map +1 -1
  352. package/dist/index268.js +37 -12
  353. package/dist/index268.js.map +1 -1
  354. package/dist/index269.js +9 -5
  355. package/dist/index269.js.map +1 -1
  356. package/dist/index270.js +117 -3
  357. package/dist/index270.js.map +1 -1
  358. package/dist/index271.js +17 -23
  359. package/dist/index271.js.map +1 -1
  360. package/dist/index272.js +14 -111
  361. package/dist/index272.js.map +1 -1
  362. package/dist/index273.js +3 -15
  363. package/dist/index273.js.map +1 -1
  364. package/dist/index274.js +29 -522
  365. package/dist/index274.js.map +1 -1
  366. package/dist/index275.js +19 -124
  367. package/dist/index275.js.map +1 -1
  368. package/dist/index276.js +9 -133
  369. package/dist/index276.js.map +1 -1
  370. package/dist/index277.js +8 -4
  371. package/dist/index277.js.map +1 -1
  372. package/dist/index278.js +19 -4
  373. package/dist/index278.js.map +1 -1
  374. package/dist/index279.js +29 -4
  375. package/dist/index279.js.map +1 -1
  376. package/dist/index28.js +1 -1
  377. package/dist/index280.js +16 -15
  378. package/dist/index280.js.map +1 -1
  379. package/dist/index281.js +66 -8
  380. package/dist/index281.js.map +1 -1
  381. package/dist/index282.js +8 -5
  382. package/dist/index282.js.map +1 -1
  383. package/dist/index283.js +11 -4
  384. package/dist/index283.js.map +1 -1
  385. package/dist/index284.js +7 -544
  386. package/dist/index284.js.map +1 -1
  387. package/dist/index285.js +6 -47
  388. package/dist/index285.js.map +1 -1
  389. package/dist/index286.js +13 -17
  390. package/dist/index286.js.map +1 -1
  391. package/dist/index287.js +3 -5
  392. package/dist/index287.js.map +1 -1
  393. package/dist/index288.js +3 -7
  394. package/dist/index288.js.map +1 -1
  395. package/dist/index289.js +99 -6
  396. package/dist/index289.js.map +1 -1
  397. package/dist/index290.js +17 -7
  398. package/dist/index290.js.map +1 -1
  399. package/dist/index291.js +5 -11
  400. package/dist/index291.js.map +1 -1
  401. package/dist/index292.js +29 -8
  402. package/dist/index292.js.map +1 -1
  403. package/dist/index293.js +51 -12
  404. package/dist/index293.js.map +1 -1
  405. package/dist/index294.js +131 -66
  406. package/dist/index294.js.map +1 -1
  407. package/dist/index295.js +9 -9
  408. package/dist/index295.js.map +1 -1
  409. package/dist/index296.js +5 -14
  410. package/dist/index296.js.map +1 -1
  411. package/dist/index297.js +4 -66
  412. package/dist/index297.js.map +1 -1
  413. package/dist/index298.js +11 -64
  414. package/dist/index298.js.map +1 -1
  415. package/dist/index299.js +21 -4
  416. package/dist/index299.js.map +1 -1
  417. package/dist/index30.js +1 -1
  418. package/dist/index300.js +121 -54
  419. package/dist/index300.js.map +1 -1
  420. package/dist/index301.js +28 -68
  421. package/dist/index301.js.map +1 -1
  422. package/dist/index302.js +33 -31
  423. package/dist/index302.js.map +1 -1
  424. package/dist/index303.js +74 -9
  425. package/dist/index303.js.map +1 -1
  426. package/dist/index304.js +262 -152
  427. package/dist/index304.js.map +1 -1
  428. package/dist/index305.js +28 -107
  429. package/dist/index305.js.map +1 -1
  430. package/dist/index306.js +6 -3
  431. package/dist/index306.js.map +1 -1
  432. package/dist/index307.js +141 -21
  433. package/dist/index307.js.map +1 -1
  434. package/dist/index308.js +61 -15
  435. package/dist/index308.js.map +1 -1
  436. package/dist/index309.js +48 -27
  437. package/dist/index309.js.map +1 -1
  438. package/dist/index31.js +227 -120
  439. package/dist/index31.js.map +1 -1
  440. package/dist/index310.js +15 -13
  441. package/dist/index310.js.map +1 -1
  442. package/dist/index311.js +20 -7
  443. package/dist/index311.js.map +1 -1
  444. package/dist/index312.js +12 -23
  445. package/dist/index312.js.map +1 -1
  446. package/dist/index313.js +51 -13
  447. package/dist/index313.js.map +1 -1
  448. package/dist/index314.js +14 -25
  449. package/dist/index314.js.map +1 -1
  450. package/dist/index315.js +22 -5
  451. package/dist/index315.js.map +1 -1
  452. package/dist/index316.js +55 -0
  453. package/dist/index316.js.map +1 -0
  454. package/dist/index317.js +29 -0
  455. package/dist/index317.js.map +1 -0
  456. package/dist/index318.js +45 -0
  457. package/dist/index318.js.map +1 -0
  458. package/dist/index319.js +43 -0
  459. package/dist/index319.js.map +1 -0
  460. package/dist/index32.js +21 -229
  461. package/dist/index32.js.map +1 -1
  462. package/dist/index320.js +48 -0
  463. package/dist/index320.js.map +1 -0
  464. package/dist/index321.js +24 -0
  465. package/dist/index321.js.map +1 -0
  466. package/dist/index322.js +74 -0
  467. package/dist/index322.js.map +1 -0
  468. package/dist/index323.js +21 -0
  469. package/dist/index323.js.map +1 -0
  470. package/dist/index324.js +15 -0
  471. package/dist/index324.js.map +1 -0
  472. package/dist/index325.js +17 -0
  473. package/dist/index325.js.map +1 -0
  474. package/dist/index326.js +22 -0
  475. package/dist/index326.js.map +1 -0
  476. package/dist/index327.js +40 -0
  477. package/dist/index327.js.map +1 -0
  478. package/dist/index328.js +282 -0
  479. package/dist/index328.js.map +1 -0
  480. package/dist/index329.js +72 -0
  481. package/dist/index329.js.map +1 -0
  482. package/dist/index33.js +4 -23
  483. package/dist/index33.js.map +1 -1
  484. package/dist/index330.js +87 -0
  485. package/dist/index330.js.map +1 -0
  486. package/dist/index331.js +7 -0
  487. package/dist/index331.js.map +1 -0
  488. package/dist/index332.js +33 -0
  489. package/dist/index332.js.map +1 -0
  490. package/dist/index333.js +20 -0
  491. package/dist/index333.js.map +1 -0
  492. package/dist/index334.js +38 -0
  493. package/dist/index334.js.map +1 -0
  494. package/dist/index335.js +20 -0
  495. package/dist/index335.js.map +1 -0
  496. package/dist/index336.js +7 -0
  497. package/dist/index336.js.map +1 -0
  498. package/dist/index337.js +30 -0
  499. package/dist/index337.js.map +1 -0
  500. package/dist/index338.js +7 -0
  501. package/dist/index338.js.map +1 -0
  502. package/dist/index339.js +82 -0
  503. package/dist/index339.js.map +1 -0
  504. package/dist/index34.js +62 -51
  505. package/dist/index34.js.map +1 -1
  506. package/dist/index340.js +273 -0
  507. package/dist/index340.js.map +1 -0
  508. package/dist/index341.js +15 -0
  509. package/dist/index341.js.map +1 -0
  510. package/dist/index342.js +14 -0
  511. package/dist/index342.js.map +1 -0
  512. package/dist/index343.js +29 -0
  513. package/dist/index343.js.map +1 -0
  514. package/dist/index344.js +20 -0
  515. package/dist/index344.js.map +1 -0
  516. package/dist/index345.js +129 -0
  517. package/dist/index345.js.map +1 -0
  518. package/dist/index346.js +9 -0
  519. package/dist/index346.js.map +1 -0
  520. package/dist/index347.js +44 -0
  521. package/dist/index347.js.map +1 -0
  522. package/dist/index348.js +69 -0
  523. package/dist/index348.js.map +1 -0
  524. package/dist/index349.js +17 -0
  525. package/dist/index349.js.map +1 -0
  526. package/dist/index35.js +38 -21
  527. package/dist/index35.js.map +1 -1
  528. package/dist/index350.js +11 -0
  529. package/dist/index350.js.map +1 -0
  530. package/dist/index351.js +9 -0
  531. package/dist/index351.js.map +1 -0
  532. package/dist/index352.js +7 -0
  533. package/dist/index352.js.map +1 -0
  534. package/dist/index353.js +14 -0
  535. package/dist/index353.js.map +1 -0
  536. package/dist/index354.js +11 -0
  537. package/dist/index354.js.map +1 -0
  538. package/dist/index355.js +403 -0
  539. package/dist/index355.js.map +1 -0
  540. package/dist/index356.js +56 -0
  541. package/dist/index356.js.map +1 -0
  542. package/dist/index357.js +15 -0
  543. package/dist/index357.js.map +1 -0
  544. package/dist/index358.js +15 -0
  545. package/dist/index358.js.map +1 -0
  546. package/dist/index359.js +8 -0
  547. package/dist/index359.js.map +1 -0
  548. package/dist/index36.js +75 -127
  549. package/dist/index36.js.map +1 -1
  550. package/dist/index360.js +21 -0
  551. package/dist/index360.js.map +1 -0
  552. package/dist/index361.js +16 -0
  553. package/dist/index361.js.map +1 -0
  554. package/dist/index362.js +24 -0
  555. package/dist/index362.js.map +1 -0
  556. package/dist/index363.js +12 -0
  557. package/dist/index363.js.map +1 -0
  558. package/dist/index364.js +29 -0
  559. package/dist/index364.js.map +1 -0
  560. package/dist/index365.js +30 -0
  561. package/dist/index365.js.map +1 -0
  562. package/dist/index366.js +141 -0
  563. package/dist/index366.js.map +1 -0
  564. package/dist/index367.js +16 -0
  565. package/dist/index367.js.map +1 -0
  566. package/dist/index368.js +230 -0
  567. package/dist/index368.js.map +1 -0
  568. package/dist/index369.js +7 -0
  569. package/dist/index369.js.map +1 -0
  570. package/dist/index37.js +22 -221
  571. package/dist/index37.js.map +1 -1
  572. package/dist/index370.js +23 -0
  573. package/dist/index370.js.map +1 -0
  574. package/dist/index371.js +81 -0
  575. package/dist/index371.js.map +1 -0
  576. package/dist/index372.js +15 -0
  577. package/dist/index372.js.map +1 -0
  578. package/dist/index373.js +7 -0
  579. package/dist/index373.js.map +1 -0
  580. package/dist/index374.js +81 -0
  581. package/dist/index374.js.map +1 -0
  582. package/dist/index375.js +204 -0
  583. package/dist/index375.js.map +1 -0
  584. package/dist/index376.js +75 -0
  585. package/dist/index376.js.map +1 -0
  586. package/dist/index377.js +12 -0
  587. package/dist/index377.js.map +1 -0
  588. package/dist/index378.js +19 -0
  589. package/dist/index378.js.map +1 -0
  590. package/dist/index379.js +20 -0
  591. package/dist/index379.js.map +1 -0
  592. package/dist/index38.js +37 -90
  593. package/dist/index38.js.map +1 -1
  594. package/dist/index380.js +7 -0
  595. package/dist/index380.js.map +1 -0
  596. package/dist/index381.js +15 -0
  597. package/dist/index381.js.map +1 -0
  598. package/dist/index382.js +9 -0
  599. package/dist/index382.js.map +1 -0
  600. package/dist/index383.js +24 -0
  601. package/dist/index383.js.map +1 -0
  602. package/dist/index384.js +48 -0
  603. package/dist/index384.js.map +1 -0
  604. package/dist/index385.js +21 -0
  605. package/dist/index385.js.map +1 -0
  606. package/dist/index386.js +8 -0
  607. package/dist/index386.js.map +1 -0
  608. package/dist/index387.js +8 -0
  609. package/dist/index387.js.map +1 -0
  610. package/dist/index388.js +8 -0
  611. package/dist/index388.js.map +1 -0
  612. package/dist/index389.js +7 -0
  613. package/dist/index389.js.map +1 -0
  614. package/dist/index39.js +28 -119
  615. package/dist/index39.js.map +1 -1
  616. package/dist/index390.js +19 -0
  617. package/dist/index390.js.map +1 -0
  618. package/dist/index391.js +12 -0
  619. package/dist/index391.js.map +1 -0
  620. package/dist/index392.js +9 -0
  621. package/dist/index392.js.map +1 -0
  622. package/dist/index393.js +8 -0
  623. package/dist/index393.js.map +1 -0
  624. package/dist/index394.js +549 -0
  625. package/dist/index394.js.map +1 -0
  626. package/dist/index395.js +50 -0
  627. package/dist/index395.js.map +1 -0
  628. package/dist/index396.js +21 -0
  629. package/dist/index396.js.map +1 -0
  630. package/dist/index397.js +9 -0
  631. package/dist/index397.js.map +1 -0
  632. package/dist/index398.js +11 -0
  633. package/dist/index398.js.map +1 -0
  634. package/dist/index399.js +10 -0
  635. package/dist/index399.js.map +1 -0
  636. package/dist/index40.js +23 -6
  637. package/dist/index40.js.map +1 -1
  638. package/dist/index400.js +11 -0
  639. package/dist/index400.js.map +1 -0
  640. package/dist/index401.js +15 -0
  641. package/dist/index401.js.map +1 -0
  642. package/dist/index402.js +12 -0
  643. package/dist/index402.js.map +1 -0
  644. package/dist/index403.js +16 -0
  645. package/dist/index403.js.map +1 -0
  646. package/dist/index404.js +18 -0
  647. package/dist/index404.js.map +1 -0
  648. package/dist/index405.js +495 -0
  649. package/dist/index405.js.map +1 -0
  650. package/dist/index406.js +6 -0
  651. package/dist/index406.js.map +1 -0
  652. package/dist/index407.js +6 -0
  653. package/dist/index407.js.map +1 -0
  654. package/dist/index408.js +8 -0
  655. package/dist/index408.js.map +1 -0
  656. package/dist/index409.js +59 -0
  657. package/dist/index409.js.map +1 -0
  658. package/dist/index41.js +51 -817
  659. package/dist/index41.js.map +1 -1
  660. package/dist/index410.js +71 -0
  661. package/dist/index410.js.map +1 -0
  662. package/dist/index411.js +34 -0
  663. package/dist/index411.js.map +1 -0
  664. package/dist/index412.js +12 -0
  665. package/dist/index412.js.map +1 -0
  666. package/dist/index413.js +156 -0
  667. package/dist/index413.js.map +1 -0
  668. package/dist/index414.js +111 -0
  669. package/dist/index414.js.map +1 -0
  670. package/dist/index415.js +11 -0
  671. package/dist/index415.js.map +1 -0
  672. package/dist/index416.js +5 -0
  673. package/dist/index416.js.map +1 -0
  674. package/dist/index417.js +47 -0
  675. package/dist/index417.js.map +1 -0
  676. package/dist/index418.js +59 -0
  677. package/dist/index418.js.map +1 -0
  678. package/dist/index419.js +11 -0
  679. package/dist/index419.js.map +1 -0
  680. package/dist/index42.js +51 -57
  681. package/dist/index42.js.map +1 -1
  682. package/dist/index420.js +5 -0
  683. package/dist/index420.js.map +1 -0
  684. package/dist/index421.js +58 -0
  685. package/dist/index421.js.map +1 -0
  686. package/dist/index422.js +59 -0
  687. package/dist/index422.js.map +1 -0
  688. package/dist/index423.js +19 -0
  689. package/dist/index423.js.map +1 -0
  690. package/dist/index424.js +32 -0
  691. package/dist/index424.js.map +1 -0
  692. package/dist/index425.js +16 -0
  693. package/dist/index425.js.map +1 -0
  694. package/dist/index426.js +10 -0
  695. package/dist/index426.js.map +1 -0
  696. package/dist/index427.js +5 -0
  697. package/dist/index427.js.map +1 -0
  698. package/dist/index428.js +5 -0
  699. package/dist/index428.js.map +1 -0
  700. package/dist/index429.js +5 -0
  701. package/dist/index429.js.map +1 -0
  702. package/dist/index43.js +21 -7
  703. package/dist/index43.js.map +1 -1
  704. package/dist/index430.js +5 -0
  705. package/dist/index430.js.map +1 -0
  706. package/dist/index44.js +130 -2
  707. package/dist/index44.js.map +1 -1
  708. package/dist/index45.js +221 -11
  709. package/dist/index45.js.map +1 -1
  710. package/dist/index46.js +90 -18
  711. package/dist/index46.js.map +1 -1
  712. package/dist/index47.js +118 -7
  713. package/dist/index47.js.map +1 -1
  714. package/dist/index48.js +6 -2
  715. package/dist/index48.js.map +1 -1
  716. package/dist/index49.js +326 -23
  717. package/dist/index49.js.map +1 -1
  718. package/dist/index50.js +247 -221
  719. package/dist/index50.js.map +1 -1
  720. package/dist/index51.js +27 -2
  721. package/dist/index51.js.map +1 -1
  722. package/dist/index52.js +129 -2
  723. package/dist/index52.js.map +1 -1
  724. package/dist/index53.js +26 -2
  725. package/dist/index53.js.map +1 -1
  726. package/dist/index54.js +23 -2
  727. package/dist/index54.js.map +1 -1
  728. package/dist/index55.js +145 -6
  729. package/dist/index55.js.map +1 -1
  730. package/dist/index56.js +34 -33
  731. package/dist/index56.js.map +1 -1
  732. package/dist/index57.js +28 -48
  733. package/dist/index57.js.map +1 -1
  734. package/dist/index58.js +41 -8
  735. package/dist/index58.js.map +1 -1
  736. package/dist/index59.js +21 -12
  737. package/dist/index59.js.map +1 -1
  738. package/dist/index6.js +84 -85
  739. package/dist/index6.js.map +1 -1
  740. package/dist/index60.js +132 -6
  741. package/dist/index60.js.map +1 -1
  742. package/dist/index61.js +51 -8
  743. package/dist/index61.js.map +1 -1
  744. package/dist/index62.js +30 -6
  745. package/dist/index62.js.map +1 -1
  746. package/dist/index63.js +57 -4
  747. package/dist/index63.js.map +1 -1
  748. package/dist/index64.js +7 -47
  749. package/dist/index64.js.map +1 -1
  750. package/dist/index65.js +2 -51
  751. package/dist/index65.js.map +1 -1
  752. package/dist/index66.js +11 -7
  753. package/dist/index66.js.map +1 -1
  754. package/dist/index67.js +17 -13
  755. package/dist/index67.js.map +1 -1
  756. package/dist/index68.js +7 -133
  757. package/dist/index68.js.map +1 -1
  758. package/dist/index69.js +2 -11
  759. package/dist/index69.js.map +1 -1
  760. package/dist/index7.js +123 -98
  761. package/dist/index7.js.map +1 -1
  762. package/dist/index70.js +22 -215
  763. package/dist/index70.js.map +1 -1
  764. package/dist/index71.js +234 -13
  765. package/dist/index71.js.map +1 -1
  766. package/dist/index72.js +2 -47
  767. package/dist/index72.js.map +1 -1
  768. package/dist/index73.js +2 -50
  769. package/dist/index73.js.map +1 -1
  770. package/dist/index74.js +2 -4
  771. package/dist/index74.js.map +1 -1
  772. package/dist/index75.js +2 -6
  773. package/dist/index75.js.map +1 -1
  774. package/dist/index76.js +6 -28
  775. package/dist/index76.js.map +1 -1
  776. package/dist/index77.js +8 -50
  777. package/dist/index77.js.map +1 -1
  778. package/dist/index78.js +6 -9
  779. package/dist/index78.js.map +1 -1
  780. package/dist/index79.js +52 -47
  781. package/dist/index79.js.map +1 -1
  782. package/dist/index8.js +53 -54
  783. package/dist/index8.js.map +1 -1
  784. package/dist/index80.js +4 -5
  785. package/dist/index80.js.map +1 -1
  786. package/dist/index81.js +4 -68
  787. package/dist/index81.js.map +1 -1
  788. package/dist/index82.js +16 -2
  789. package/dist/index82.js.map +1 -1
  790. package/dist/index83.js +5 -363
  791. package/dist/index83.js.map +1 -1
  792. package/dist/index84.js +7 -261
  793. package/dist/index84.js.map +1 -1
  794. package/dist/index85.js +16 -60
  795. package/dist/index85.js.map +1 -1
  796. package/dist/index86.js +4 -46
  797. package/dist/index86.js.map +1 -1
  798. package/dist/index87.js +4 -169
  799. package/dist/index87.js.map +1 -1
  800. package/dist/index88.js +5 -109
  801. package/dist/index88.js.map +1 -1
  802. package/dist/index89.js +5 -24
  803. package/dist/index89.js.map +1 -1
  804. package/dist/index9.js +1 -1
  805. package/dist/index90.js +5 -8
  806. package/dist/index90.js.map +1 -1
  807. package/dist/index91.js +4 -4
  808. package/dist/index91.js.map +1 -1
  809. package/dist/index92.js +6 -5
  810. package/dist/index92.js.map +1 -1
  811. package/dist/index93.js +24 -4
  812. package/dist/index93.js.map +1 -1
  813. package/dist/index94.js +6 -466
  814. package/dist/index94.js.map +1 -1
  815. package/dist/index95.js +4 -185
  816. package/dist/index95.js.map +1 -1
  817. package/dist/index96.js +6 -107
  818. package/dist/index96.js.map +1 -1
  819. package/dist/index97.js +5 -262
  820. package/dist/index97.js.map +1 -1
  821. package/dist/index98.js +4 -9
  822. package/dist/index98.js.map +1 -1
  823. package/dist/index99.js +5 -42
  824. package/dist/index99.js.map +1 -1
  825. package/dist/lib/render-as-child.d.ts +5 -0
  826. package/dist/lib/render-as-child.d.ts.map +1 -0
  827. package/package.json +3 -6
  828. package/dist/lib/react-compose-refs.d.ts +0 -5
  829. package/dist/lib/react-compose-refs.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index265.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format — `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index265.js","sources":["../../../node_modules/libphonenumber-js/es6/normalizeArguments.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nimport isObject from './helpers/isObject.js';\n\n// Extracts the following properties from function arguments:\n// * input `text`\n// * `options` object\n// * `metadata` JSON\nexport default function normalizeArguments(args) {\n var _Array$prototype$slic = Array.prototype.slice.call(args),\n _Array$prototype$slic2 = _slicedToArray(_Array$prototype$slic, 4),\n arg_1 = _Array$prototype$slic2[0],\n arg_2 = _Array$prototype$slic2[1],\n arg_3 = _Array$prototype$slic2[2],\n arg_4 = _Array$prototype$slic2[3];\n var text;\n var options;\n var metadata;\n\n // If the phone number is passed as a string.\n // `parsePhoneNumber('88005553535', ...)`.\n if (typeof arg_1 === 'string') {\n text = arg_1;\n } else throw new TypeError('A text for parsing must be a string.');\n\n // If \"default country\" argument is being passed then move it to `options`.\n // `parsePhoneNumber('88005553535', 'RU', [options], metadata)`.\n if (!arg_2 || typeof arg_2 === 'string') {\n if (arg_4) {\n options = arg_3;\n metadata = arg_4;\n } else {\n options = undefined;\n metadata = arg_3;\n }\n if (arg_2) {\n options = _objectSpread({\n defaultCountry: arg_2\n }, options);\n }\n }\n // `defaultCountry` is not passed.\n // Example: `parsePhoneNumber('+78005553535', [options], metadata)`.\n else if (isObject(arg_2)) {\n if (arg_3) {\n options = arg_2;\n metadata = arg_3;\n } else {\n metadata = arg_2;\n }\n } else throw new Error(\"Invalid second argument: \".concat(arg_2));\n return {\n text: text,\n options: options,\n metadata: metadata\n };\n}\n//# sourceMappingURL=normalizeArguments.js.map"],"names":["_typeof","o","ownKeys","e","r","t","_objectSpread","_defineProperty","_toPropertyKey","i","_toPrimitive","_slicedToArray","_arrayWithHoles","_iterableToArrayLimit","_unsupportedIterableToArray","_nonIterableRest","a","_arrayLikeToArray","l","n","u","f","normalizeArguments","args","_Array$prototype$slic","_Array$prototype$slic2","arg_1","arg_2","arg_3","arg_4","text","options","metadata","isObject"],"m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AC,GAChCI,IAAQJ,EAAuB,CAAC,GAC9BK,GACAC,GACAC;AAIJ,MAAI,OAAON,KAAU;AACnB,IAAAI,IAAOJ;AAAA,MACF,OAAM,IAAI,UAAU,sCAAsC;AAIjE,MAAI,CAACC,KAAS,OAAOA,KAAU;AAC7B,IAAIE,KACFE,IAAUH,GACVI,IAAWH,MAEXE,IAAU,QACVC,IAAWJ,IAETD,MACFI,IAAUzB,EAAc;AAAA,MACtB,gBAAgBqB;AAAA,IACxB,GAASI,CAAO;AAAA,WAKLE,EAASN,CAAK;AACrB,IAAIC,KACFG,IAAUJ,GACVK,IAAWJ,KAEXI,IAAWL;AAAA,MAER,OAAM,IAAI,MAAM,4BAA4B,OAAOA,CAAK,CAAC;AAChE,SAAO;AAAA,IACL,MAAMG;AAAA,IACN,SAASC;AAAA,IACT,UAAUC;AAAA,EACd;AACA;","x_google_ignoreList":[0]}
package/dist/index266.js CHANGED
@@ -1,8 +1,56 @@
1
- function r(s, t) {
2
- const e = t.startOfMonth(s), n = e.getDay() > 0 ? e.getDay() : 7, a = t.addDays(s, -n + 1), o = t.addDays(a, 34);
3
- return t.getMonth(s) === t.getMonth(o) ? 5 : 4;
1
+ import f from "./index270.js";
2
+ function o(r) {
3
+ "@babel/helpers - typeof";
4
+ return o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
5
+ return typeof e;
6
+ } : function(e) {
7
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
8
+ }, o(r);
9
+ }
10
+ function i(r, e) {
11
+ var t = Object.keys(r);
12
+ if (Object.getOwnPropertySymbols) {
13
+ var n = Object.getOwnPropertySymbols(r);
14
+ e && (n = n.filter(function(c) {
15
+ return Object.getOwnPropertyDescriptor(r, c).enumerable;
16
+ })), t.push.apply(t, n);
17
+ }
18
+ return t;
19
+ }
20
+ function u(r) {
21
+ for (var e = 1; e < arguments.length; e++) {
22
+ var t = arguments[e] != null ? arguments[e] : {};
23
+ e % 2 ? i(Object(t), !0).forEach(function(n) {
24
+ p(r, n, t[n]);
25
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(t)) : i(Object(t)).forEach(function(n) {
26
+ Object.defineProperty(r, n, Object.getOwnPropertyDescriptor(t, n));
27
+ });
28
+ }
29
+ return r;
30
+ }
31
+ function p(r, e, t) {
32
+ return (e = b(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
33
+ }
34
+ function b(r) {
35
+ var e = y(r, "string");
36
+ return o(e) == "symbol" ? e : e + "";
37
+ }
38
+ function y(r, e) {
39
+ if (o(r) != "object" || !r) return r;
40
+ var t = r[Symbol.toPrimitive];
41
+ if (t !== void 0) {
42
+ var n = t.call(r, e);
43
+ if (o(n) != "object") return n;
44
+ throw new TypeError("@@toPrimitive must return a primitive value.");
45
+ }
46
+ return (e === "string" ? String : Number)(r);
47
+ }
48
+ function l(r, e, t) {
49
+ return f(r, u(u({}, e), {}, {
50
+ v2: !0
51
+ }), t);
4
52
  }
5
53
  export {
6
- r as getBroadcastWeeksInMonth
54
+ l as default
7
55
  };
8
56
  //# sourceMappingURL=index266.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index266.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getBroadcastWeeksInMonth.js"],"sourcesContent":["const FIVE_WEEKS = 5;\nconst FOUR_WEEKS = 4;\n/**\n * Returns the number of weeks to display in the broadcast calendar for a given\n * month.\n *\n * The broadcast calendar may have either 4 or 5 weeks in a month, depending on\n * the start and end dates of the broadcast weeks.\n *\n * @since 9.4.0\n * @param month The month for which to calculate the number of weeks.\n * @param dateLib The date library to use for date manipulation.\n * @returns The number of weeks in the broadcast calendar (4 or 5).\n */\nexport function getBroadcastWeeksInMonth(month, dateLib) {\n // Get the first day of the month\n const firstDayOfMonth = dateLib.startOfMonth(month);\n // Get the day of the week for the first day of the month (1-7, where 1 is Monday)\n const firstDayOfWeek = firstDayOfMonth.getDay() > 0 ? firstDayOfMonth.getDay() : 7;\n const broadcastStartDate = dateLib.addDays(month, -firstDayOfWeek + 1);\n const lastDateOfLastWeek = dateLib.addDays(broadcastStartDate, FIVE_WEEKS * 7 - 1);\n const numberOfWeeks = dateLib.getMonth(month) === dateLib.getMonth(lastDateOfLastWeek)\n ? FIVE_WEEKS\n : FOUR_WEEKS;\n return numberOfWeeks;\n}\n"],"names":["getBroadcastWeeksInMonth","month","dateLib","firstDayOfMonth","firstDayOfWeek","broadcastStartDate","lastDateOfLastWeek"],"mappings":"AAcO,SAASA,EAAyBC,GAAOC,GAAS;AAErD,QAAMC,IAAkBD,EAAQ,aAAaD,CAAK,GAE5CG,IAAiBD,EAAgB,OAAM,IAAK,IAAIA,EAAgB,OAAM,IAAK,GAC3EE,IAAqBH,EAAQ,QAAQD,GAAO,CAACG,IAAiB,CAAC,GAC/DE,IAAqBJ,EAAQ,QAAQG,GAAoB,EAAkB;AAIjF,SAHsBH,EAAQ,SAASD,CAAK,MAAMC,EAAQ,SAASI,CAAkB,IAC/E,IACA;AAEV;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index266.js","sources":["../../../node_modules/libphonenumber-js/es6/parsePhoneNumberWithError_.js"],"sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport parse from './parse.js';\nexport default function parsePhoneNumberWithError(text, options, metadata) {\n return parse(text, _objectSpread(_objectSpread({}, options), {}, {\n v2: true\n }), metadata);\n}\n//# sourceMappingURL=parsePhoneNumberWithError_.js.map"],"names":["_typeof","o","ownKeys","e","r","_objectSpread","_defineProperty","_toPropertyKey","t","i","_toPrimitive","parsePhoneNumberWithError","text","options","metadata","parse"],"mappings":";AAAA,SAASA,EAAQC,GAAG;AAAE;AAA2B,SAAOD,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAUC,GAAG;AAAE,WAAO,OAAOA;AAAA,EAAG,IAAI,SAAUA,GAAG;AAAE,WAAOA,KAAmB,OAAO,UAArB,cAA+BA,EAAE,gBAAgB,UAAUA,MAAM,OAAO,YAAY,WAAW,OAAOA;AAAA,EAAG,GAAGD,EAAQC,CAAC;AAAG;AAC7T,SAASC,EAAQC,GAAGC,GAAG;AAAE,MAAI,IAAI,OAAO,KAAKD,CAAC;AAAG,MAAI,OAAO,uBAAuB;AAAE,QAAIF,IAAI,OAAO,sBAAsBE,CAAC;AAAG,IAAAC,MAAMH,IAAI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,KAAKK,GAAGJ,CAAc;AAAG,QAAgBJ,EAAQS,CAAC,KAArB,SAAwB,QAAOA;AAAG,UAAM,IAAI,UAAU,8CAA8C;AAAA,EAAG;AAAE,UAAqBL,MAAb,WAAiB,SAAS,QAAQI,CAAC;AAAG;AAE5S,SAASG,EAA0BC,GAAMC,GAASC,GAAU;AACzE,SAAOC,EAAMH,GAAMP,EAAcA,EAAc,IAAIQ,CAAO,GAAG,IAAI;AAAA,IAC/D,IAAI;AAAA,EACR,CAAG,GAAGC,CAAQ;AACd;","x_google_ignoreList":[0]}
package/dist/index267.js CHANGED
@@ -1,21 +1,15 @@
1
- import { formatDistance as o } from "./index301.js";
2
- import { formatLong as t } from "./index302.js";
3
- import { formatRelative as r } from "./index303.js";
4
- import { localize as m } from "./index304.js";
5
- import { match as a } from "./index305.js";
6
- const p = {
7
- code: "en-US",
8
- formatDistance: o,
9
- formatLong: t,
10
- formatRelative: r,
11
- localize: m,
12
- match: a,
13
- options: {
14
- weekStartsOn: 0,
15
- firstWeekContainsDate: 1
1
+ function f(r, t) {
2
+ r = r.split("-"), t = t.split("-");
3
+ for (var N = r[0].split("."), s = t[0].split("."), e = 0; e < 3; e++) {
4
+ var i = Number(N[e]), u = Number(s[e]);
5
+ if (i > u) return 1;
6
+ if (u > i) return -1;
7
+ if (!isNaN(i) && isNaN(u)) return 1;
8
+ if (isNaN(i) && !isNaN(u)) return -1;
16
9
  }
17
- };
10
+ return r[1] && t[1] ? r[1] > t[1] ? 1 : r[1] < t[1] ? -1 : 0 : !r[1] && t[1] ? 1 : r[1] && !t[1] ? -1 : 0;
11
+ }
18
12
  export {
19
- p as enUS
13
+ f as default
20
14
  };
21
15
  //# sourceMappingURL=index267.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index267.js","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"],"names":["enUS","formatDistance","formatLong","formatRelative","localize","match"],"mappings":";;;;;AAcY,MAACA,IAAO;AAAA,EAClB,MAAM;AAAA,EACN,gBAAgBC;AAAA,EAChB,YAAYC;AAAA,EACZ,gBAAgBC;AAAA,EAChB,UAAUC;AAAA,EACV,OAAOC;AAAA,EACP,SAAS;AAAA,IACP,cAAc;AAAA,IACd,uBAAuB;AAAA,EAC3B;AACA;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index267.js","sources":["../../../node_modules/libphonenumber-js/es6/tools/semver-compare.js"],"sourcesContent":["// Copy-pasted from:\n// https://github.com/substack/semver-compare/blob/master/index.js\n//\n// Inlining this function because some users reported issues with\n// importing from `semver-compare` in a browser with ES6 \"native\" modules.\n//\n// Fixes `semver-compare` not being able to compare versions with alpha/beta/etc \"tags\".\n// https://github.com/catamphetamine/libphonenumber-js/issues/381\nexport default function (a, b) {\n a = a.split('-');\n b = b.split('-');\n var pa = a[0].split('.');\n var pb = b[0].split('.');\n for (var i = 0; i < 3; i++) {\n var na = Number(pa[i]);\n var nb = Number(pb[i]);\n if (na > nb) return 1;\n if (nb > na) return -1;\n if (!isNaN(na) && isNaN(nb)) return 1;\n if (isNaN(na) && !isNaN(nb)) return -1;\n }\n if (a[1] && b[1]) {\n return a[1] > b[1] ? 1 : a[1] < b[1] ? -1 : 0;\n }\n return !a[1] && b[1] ? 1 : a[1] && !b[1] ? -1 : 0;\n}\n//# sourceMappingURL=semver-compare.js.map"],"names":["compare","a","b","pa","pb","i","na","nb"],"mappings":"AAQe,SAAAA,EAAUC,GAAGC,GAAG;AAC7B,EAAAD,IAAIA,EAAE,MAAM,GAAG,GACfC,IAAIA,EAAE,MAAM,GAAG;AAGf,WAFIC,IAAKF,EAAE,CAAC,EAAE,MAAM,GAAG,GACnBG,IAAKF,EAAE,CAAC,EAAE,MAAM,GAAG,GACdG,IAAI,GAAGA,IAAI,GAAGA,KAAK;AAC1B,QAAIC,IAAK,OAAOH,EAAGE,CAAC,CAAC,GACjBE,IAAK,OAAOH,EAAGC,CAAC,CAAC;AACrB,QAAIC,IAAKC,EAAI,QAAO;AACpB,QAAIA,IAAKD,EAAI,QAAO;AACpB,QAAI,CAAC,MAAMA,CAAE,KAAK,MAAMC,CAAE,EAAG,QAAO;AACpC,QAAI,MAAMD,CAAE,KAAK,CAAC,MAAMC,CAAE,EAAG,QAAO;AAAA,EACtC;AACA,SAAIN,EAAE,CAAC,KAAKC,EAAE,CAAC,IACND,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAI,IAAID,EAAE,CAAC,IAAIC,EAAE,CAAC,IAAI,KAAK,IAEvC,CAACD,EAAE,CAAC,KAAKC,EAAE,CAAC,IAAI,IAAID,EAAE,CAAC,KAAK,CAACC,EAAE,CAAC,IAAI,KAAK;AAClD;","x_google_ignoreList":[0]}
package/dist/index268.js CHANGED
@@ -1,16 +1,41 @@
1
- function g(d, s, k, t, f, O, n) {
2
- const { ISOWeek: o, broadcastCalendar: r } = O, { addDays: W, addMonths: c, addWeeks: l, addYears: u, endOfBroadcastWeek: b, endOfISOWeek: m, endOfWeek: y, max: F, min: I, startOfBroadcastWeek: h, startOfISOWeek: x, startOfWeek: B } = n;
3
- let a = {
4
- day: W,
5
- week: l,
6
- month: c,
7
- year: u,
8
- startOfWeek: (e) => r ? h(e, n) : o ? x(e) : B(e),
9
- endOfWeek: (e) => r ? b(e) : o ? m(e) : y(e)
10
- }[d](k, s === "after" ? 1 : -1);
11
- return s === "before" && t ? a = F([t, a]) : s === "after" && f && (a = I([f, a])), a;
1
+ import { parseDigit as i } from "./index158.js";
2
+ function u(e, t) {
3
+ var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
4
+ if (r) return (r = r.call(e)).next.bind(r);
5
+ if (Array.isArray(e) || (r = l(e)) || t) {
6
+ r && (e = r);
7
+ var n = 0;
8
+ return function() {
9
+ return n >= e.length ? { done: !0 } : { done: !1, value: e[n++] };
10
+ };
11
+ }
12
+ throw new TypeError(`Invalid attempt to iterate non-iterable instance.
13
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
14
+ }
15
+ function l(e, t) {
16
+ if (e) {
17
+ if (typeof e == "string") return o(e, t);
18
+ var r = {}.toString.call(e).slice(8, -1);
19
+ return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? o(e, t) : void 0;
20
+ }
21
+ }
22
+ function o(e, t) {
23
+ (t == null || t > e.length) && (t = e.length);
24
+ for (var r = 0, n = Array(t); r < t; r++) n[r] = e[r];
25
+ return n;
26
+ }
27
+ function c(e) {
28
+ for (var t = "", r = u(e.split("")), n; !(n = r()).done; ) {
29
+ var a = n.value;
30
+ t += f(a, t) || "";
31
+ }
32
+ return t;
33
+ }
34
+ function f(e, t, r) {
35
+ return e === "+" ? t ? void 0 : "+" : i(e);
12
36
  }
13
37
  export {
14
- g as getFocusableDate
38
+ c as default,
39
+ f as parsePhoneNumberCharacter
15
40
  };
16
41
  //# sourceMappingURL=index268.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index268.js","sources":["../../../node_modules/react-day-picker/dist/esm/helpers/getFocusableDate.js"],"sourcesContent":["/**\n * Calculates the next date that should be focused in the calendar.\n *\n * This function determines the next focusable date based on the movement\n * direction, constraints, and calendar configuration.\n *\n * @param moveBy The unit of movement (e.g., \"day\", \"week\").\n * @param moveDir The direction of movement (\"before\" or \"after\").\n * @param refDate The reference date from which to calculate the next focusable\n * date.\n * @param navStart The earliest date the user can navigate to.\n * @param navEnd The latest date the user can navigate to.\n * @param props The DayPicker props, including calendar configuration options.\n * @param dateLib The date library to use for date manipulation.\n * @returns The next focusable date.\n */\nexport function getFocusableDate(moveBy, moveDir, refDate, navStart, navEnd, props, dateLib) {\n const { ISOWeek, broadcastCalendar } = props;\n const { addDays, addMonths, addWeeks, addYears, endOfBroadcastWeek, endOfISOWeek, endOfWeek, max, min, startOfBroadcastWeek, startOfISOWeek, startOfWeek, } = dateLib;\n const moveFns = {\n day: addDays,\n week: addWeeks,\n month: addMonths,\n year: addYears,\n startOfWeek: (date) => broadcastCalendar\n ? startOfBroadcastWeek(date, dateLib)\n : ISOWeek\n ? startOfISOWeek(date)\n : startOfWeek(date),\n endOfWeek: (date) => broadcastCalendar\n ? endOfBroadcastWeek(date)\n : ISOWeek\n ? endOfISOWeek(date)\n : endOfWeek(date),\n };\n let focusableDate = moveFns[moveBy](refDate, moveDir === \"after\" ? 1 : -1);\n if (moveDir === \"before\" && navStart) {\n focusableDate = max([navStart, focusableDate]);\n }\n else if (moveDir === \"after\" && navEnd) {\n focusableDate = min([navEnd, focusableDate]);\n }\n return focusableDate;\n}\n"],"names":["getFocusableDate","moveBy","moveDir","refDate","navStart","navEnd","props","dateLib","ISOWeek","broadcastCalendar","addDays","addMonths","addWeeks","addYears","endOfBroadcastWeek","endOfISOWeek","endOfWeek","max","min","startOfBroadcastWeek","startOfISOWeek","startOfWeek","focusableDate","date"],"mappings":"AAgBO,SAASA,EAAiBC,GAAQC,GAASC,GAASC,GAAUC,GAAQC,GAAOC,GAAS;AACzF,QAAM,EAAE,SAAAC,GAAS,mBAAAC,EAAiB,IAAKH,GACjC,EAAE,SAAAI,GAAS,WAAAC,GAAW,UAAAC,GAAU,UAAAC,GAAU,oBAAAC,GAAoB,cAAAC,GAAc,WAAAC,GAAW,KAAAC,GAAK,KAAAC,GAAK,sBAAAC,GAAsB,gBAAAC,GAAgB,aAAAC,EAAW,IAAMd;AAiB9J,MAAIe,IAhBY;AAAA,IACZ,KAAKZ;AAAA,IACL,MAAME;AAAA,IACN,OAAOD;AAAA,IACP,MAAME;AAAA,IACN,aAAa,CAACU,MAASd,IACjBU,EAAqBI,GAAMhB,CAAO,IAClCC,IACIY,EAAeG,CAAI,IACnBF,EAAYE,CAAI;AAAA,IAC1B,WAAW,CAACA,MAASd,IACfK,EAAmBS,CAAI,IACvBf,IACIO,EAAaQ,CAAI,IACjBP,EAAUO,CAAI;AAAA,EAChC,EACgCtB,CAAM,EAAEE,GAASD,MAAY,UAAU,IAAI,EAAE;AACzE,SAAIA,MAAY,YAAYE,IACxBkB,IAAgBL,EAAI,CAACb,GAAUkB,CAAa,CAAC,IAExCpB,MAAY,WAAWG,MAC5BiB,IAAgBJ,EAAI,CAACb,GAAQiB,CAAa,CAAC,IAExCA;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index268.js","sources":["../../../node_modules/libphonenumber-js/es6/parseIncompletePhoneNumber.js"],"sourcesContent":["function _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nimport { parseDigit } from './helpers/parseDigits.js';\n\n/**\r\n * Parses phone number characters from a string.\r\n * Drops all punctuation leaving only digits and the leading `+` sign (if any).\r\n * Also converts wide-ascii and arabic-indic numerals to conventional numerals.\r\n * E.g. in Iraq they don't write `+442323234` but rather `+٤٤٢٣٢٣٢٣٤`.\r\n * @param {string} string\r\n * @return {string}\r\n * @example\r\n * ```js\r\n * // Outputs '8800555'.\r\n * parseIncompletePhoneNumber('8 (800) 555')\r\n * // Outputs '+7800555'.\r\n * parseIncompletePhoneNumber('+7 800 555')\r\n * ```\r\n */\nexport default function parseIncompletePhoneNumber(string) {\n var result = '';\n // Using `.split('')` here instead of normal `for ... of`\n // because the importing application doesn't neccessarily include an ES6 polyfill.\n // The `.split('')` approach discards \"exotic\" UTF-8 characters\n // (the ones consisting of four bytes) but digits\n // (including non-European ones) don't fall into that range\n // so such \"exotic\" characters would be discarded anyway.\n for (var _iterator = _createForOfIteratorHelperLoose(string.split('')), _step; !(_step = _iterator()).done;) {\n var character = _step.value;\n result += parsePhoneNumberCharacter(character, result) || '';\n }\n return result;\n}\n\n/**\r\n * Parses next character while parsing phone number digits (including a `+`)\r\n * from text: discards everything except `+` and digits, and `+` is only allowed\r\n * at the start of a phone number.\r\n * For example, is used in `react-phone-number-input` where it uses\r\n * [`input-format`](https://gitlab.com/catamphetamine/input-format).\r\n * @param {string} character - Yet another character from raw input string.\r\n * @param {string?} prevParsedCharacters - Previous parsed characters.\r\n * @param {function?} eventListener - An optional \"on event\" function.\r\n * @return {string?} The parsed character.\r\n */\nexport function parsePhoneNumberCharacter(character, prevParsedCharacters, eventListener) {\n // Only allow a leading `+`.\n if (character === '+') {\n // If this `+` is not the first parsed character\n // then discard it.\n if (prevParsedCharacters) {\n // `eventListener` argument was added to this `export`ed function on Dec 26th, 2023.\n // Any 3rd-party code that used to `import` and call this function before that\n // won't be passing any `eventListener` argument.\n //\n // The addition of the `eventListener` argument was to fix the slightly-weird behavior\n // of parsing an input string when the user inputs something like `\"2+7\"\n // https://github.com/catamphetamine/react-phone-number-input/issues/437\n //\n // If the parser encounters an unexpected `+` in a string being parsed\n // then it simply discards that out-of-place `+` and any following characters.\n //\n if (typeof eventListener === 'function') {\n eventListener('end');\n }\n return;\n }\n return '+';\n }\n // Allow digits.\n return parseDigit(character);\n}\n//# sourceMappingURL=parseIncompletePhoneNumber.js.map"],"names":["_createForOfIteratorHelperLoose","r","e","t","_unsupportedIterableToArray","o","a","_arrayLikeToArray","parseIncompletePhoneNumber","string","result","_iterator","_step","character","parsePhoneNumberCharacter","prevParsedCharacters","eventListener","parseDigit"],"mappings":";AAAA,SAASA,EAAgCC,GAAGC,GAAG;AAAE,MAAIC,IAAmB,OAAO,SAAtB,OAAgCF,EAAE,OAAO,QAAQ,KAAKA,EAAE,YAAY;AAAG,MAAIE,EAAG,SAAQA,IAAIA,EAAE,KAAKF,CAAC,GAAG,KAAK,KAAKE,CAAC;AAAG,MAAI,MAAM,QAAQF,CAAC,MAAME,IAAIC,EAA4BH,CAAC,MAAMC,GAAuC;AAAE,IAAAC,MAAMF,IAAIE;AAAI,QAAIE,IAAI;AAAG,WAAO,WAAY;AAAE,aAAOA,KAAKJ,EAAE,SAAS,EAAE,MAAM,GAAE,IAAK,EAAE,MAAM,IAAI,OAAOA,EAAEI,GAAG,EAAC;AAAA,IAAI;AAAA,EAAG;AAAE,QAAM,IAAI,UAAU;AAAA,mFAAuI;AAAG;AACziB,SAASD,EAA4BH,GAAGK,GAAG;AAAE,MAAIL,GAAG;AAAE,QAAgB,OAAOA,KAAnB,SAAsB,QAAOM,EAAkBN,GAAGK,CAAC;AAAG,QAAIH,IAAI,CAAA,EAAG,SAAS,KAAKF,CAAC,EAAE,MAAM,GAAG,EAAE;AAAG,WAAoBE,MAAb,YAAkBF,EAAE,gBAAgBE,IAAIF,EAAE,YAAY,OAAiBE,MAAV,SAAyBA,MAAV,QAAc,MAAM,KAAKF,CAAC,IAAoBE,MAAhB,eAAqB,2CAA2C,KAAKA,CAAC,IAAII,EAAkBN,GAAGK,CAAC,IAAI;AAAA,EAAQ;AAAE;AACzX,SAASC,EAAkBN,GAAGK,GAAG;AAAE,GAASA,KAAR,QAAaA,IAAIL,EAAE,YAAYK,IAAIL,EAAE;AAAS,WAASC,IAAI,GAAG,IAAI,MAAMI,CAAC,GAAGJ,IAAII,GAAGJ,IAAK,GAAEA,CAAC,IAAID,EAAEC,CAAC;AAAG,SAAO;AAAG;AAkBpI,SAASM,EAA2BC,GAAQ;AAQzD,WAPIC,IAAS,IAOJC,IAAYX,EAAgCS,EAAO,MAAM,EAAE,CAAC,GAAGG,GAAO,EAAEA,IAAQD,EAAS,GAAI,QAAO;AAC3G,QAAIE,IAAYD,EAAM;AACtB,IAAAF,KAAUI,EAA0BD,GAAWH,CAAM,KAAK;AAAA,EAC5D;AACA,SAAOA;AACT;AAaO,SAASI,EAA0BD,GAAWE,GAAsBC,GAAe;AAExF,SAAIH,MAAc,MAGZE,IAeF,SAEK,MAGFE,EAAWJ,CAAS;AAC7B;","x_google_ignoreList":[0]}
package/dist/index269.js CHANGED
@@ -1,8 +1,12 @@
1
- var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
1
+ function n(r) {
2
+ var t = r.number, e = r.ext;
3
+ if (!t)
4
+ return "";
5
+ if (t[0] !== "+")
6
+ throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
7
+ return "tel:".concat(t).concat(e ? ";ext=" + e : "");
8
+ }
2
9
  export {
3
- a as fullWidthClassName,
4
- l as noScrollbarsClassName,
5
- e as removedBarSizeVariable,
6
- r as zeroRightClassName
10
+ n as formatRFC3966
7
11
  };
8
12
  //# sourceMappingURL=index269.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index269.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index269.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/RFC3966.js"],"sourcesContent":["function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t[\"return\"] && (u = t[\"return\"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(r) { if (Array.isArray(r)) return r; }\nfunction _createForOfIteratorHelperLoose(r, e) { var t = \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (t) return (t = t.call(r)).next.bind(t); if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && \"number\" == typeof r.length) { t && (r = t); var o = 0; return function () { return o >= r.length ? { done: !0 } : { done: !1, value: r[o++] }; }; } throw new TypeError(\"Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if (\"string\" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return \"Object\" === t && r.constructor && (t = r.constructor.name), \"Map\" === t || \"Set\" === t ? Array.from(r) : \"Arguments\" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\nimport isViablePhoneNumber from './isViablePhoneNumber.js';\n\n// https://www.ietf.org/rfc/rfc3966.txt\n\n/**\r\n * @param {string} text - Phone URI (RFC 3966).\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\nexport function parseRFC3966(text) {\n var number;\n var ext;\n\n // Replace \"tel:\" with \"tel=\" for parsing convenience.\n text = text.replace(/^tel:/, 'tel=');\n for (var _iterator = _createForOfIteratorHelperLoose(text.split(';')), _step; !(_step = _iterator()).done;) {\n var part = _step.value;\n var _part$split = part.split('='),\n _part$split2 = _slicedToArray(_part$split, 2),\n name = _part$split2[0],\n value = _part$split2[1];\n switch (name) {\n case 'tel':\n number = value;\n break;\n case 'ext':\n ext = value;\n break;\n case 'phone-context':\n // Only \"country contexts\" are supported.\n // \"Domain contexts\" are ignored.\n if (value[0] === '+') {\n number = value + number;\n }\n break;\n }\n }\n\n // If the phone number is not viable, then abort.\n if (!isViablePhoneNumber(number)) {\n return {};\n }\n var result = {\n number: number\n };\n if (ext) {\n result.ext = ext;\n }\n return result;\n}\n\n/**\r\n * @param {object} - `{ ?number, ?extension }`.\r\n * @return {string} Phone URI (RFC 3966).\r\n */\nexport function formatRFC3966(_ref) {\n var number = _ref.number,\n ext = _ref.ext;\n if (!number) {\n return '';\n }\n if (number[0] !== '+') {\n throw new Error(\"\\\"formatRFC3966()\\\" expects \\\"number\\\" to be in E.164 format.\");\n }\n return \"tel:\".concat(number).concat(ext ? ';ext=' + ext : '');\n}\n//# sourceMappingURL=RFC3966.js.map"],"names":["formatRFC3966","_ref","number","ext"],"mappings":"AA6DO,SAASA,EAAcC,GAAM;AAClC,MAAIC,IAASD,EAAK,QAChBE,IAAMF,EAAK;AACb,MAAI,CAACC;AACH,WAAO;AAET,MAAIA,EAAO,CAAC,MAAM;AAChB,UAAM,IAAI,MAAM,2DAA+D;AAEjF,SAAO,OAAO,OAAOA,CAAM,EAAE,OAAOC,IAAM,UAAUA,IAAM,EAAE;AAC9D;","x_google_ignoreList":[0]}
package/dist/index270.js CHANGED
@@ -1,6 +1,120 @@
1
- import { createSidecarMedium as e } from "./index298.js";
2
- var a = e();
1
+ import { MIN_LENGTH_FOR_NSN as g, MAX_LENGTH_FOR_NSN as h, PLUS_CHARS as P, VALID_DIGITS as d } from "./index160.js";
2
+ import m from "./index264.js";
3
+ import T, { getCountryCallingCode as O } from "./index164.js";
4
+ import s, { isViablePhoneNumberStart as v } from "./index271.js";
5
+ import w from "./index272.js";
6
+ import y from "./index268.js";
7
+ import { isPossibleNumber as S } from "./index258.js";
8
+ import x from "./index165.js";
9
+ import R from "./index273.js";
10
+ import E from "./index262.js";
11
+ import I from "./index274.js";
12
+ import A from "./index168.js";
13
+ import p from "./index275.js";
14
+ var H = 250, L = new RegExp("[" + P + d + "]"), U = new RegExp("[^" + d + "#]+$");
15
+ function Z(t, r, n) {
16
+ if (r = r || {}, n = new T(n), r.defaultCountry && !n.hasCountry(r.defaultCountry))
17
+ throw r.v2 ? new m("INVALID_COUNTRY") : new Error("Unknown country: ".concat(r.defaultCountry));
18
+ var e = G(t, r.v2, r.extract), l = e.number, c = e.ext, i = e.error;
19
+ if (!l) {
20
+ if (r.v2)
21
+ throw i === "TOO_SHORT" ? new m("TOO_SHORT") : new m("NOT_A_NUMBER");
22
+ return {};
23
+ }
24
+ var a = D(l, r.defaultCountry, r.defaultCallingCode, n), o = a.country, u = a.nationalNumber, N = a.countryCallingCode, _ = a.countryCallingCodeSource, f = a.carrierCode;
25
+ if (!n.hasSelectedNumberingPlan()) {
26
+ if (r.v2)
27
+ throw new m("INVALID_COUNTRY");
28
+ return {};
29
+ }
30
+ if (!u || u.length < g) {
31
+ if (r.v2)
32
+ throw new m("TOO_SHORT");
33
+ return {};
34
+ }
35
+ if (u.length > h) {
36
+ if (r.v2)
37
+ throw new m("TOO_LONG");
38
+ return {};
39
+ }
40
+ if (r.v2) {
41
+ var C = new x(N, u, n.metadata);
42
+ return o && (C.country = o), f && (C.carrierCode = f), c && (C.ext = c), C.__countryCallingCodeSource = _, C;
43
+ }
44
+ var b = (r.extended ? n.hasSelectedNumberingPlan() : o) ? R(u, n.nationalNumberPattern()) : !1;
45
+ return r.extended ? {
46
+ country: o,
47
+ countryCallingCode: N,
48
+ carrierCode: f,
49
+ valid: b,
50
+ possible: b ? !0 : !!(r.extended === !0 && n.possibleLengths() && S(u, o, n)),
51
+ phone: u,
52
+ ext: c
53
+ } : b ? M(o, u, c) : {};
54
+ }
55
+ function F(t, r, n) {
56
+ if (t) {
57
+ if (t.length > H) {
58
+ if (n)
59
+ throw new m("TOO_LONG");
60
+ return;
61
+ }
62
+ if (r === !1)
63
+ return t;
64
+ var e = t.search(L);
65
+ if (!(e < 0))
66
+ return t.slice(e).replace(U, "");
67
+ }
68
+ }
69
+ function G(t, r, n) {
70
+ var e = p(t, {
71
+ extractFormattedPhoneNumber: function(i) {
72
+ return F(i, n, r);
73
+ }
74
+ });
75
+ if (!e)
76
+ return {};
77
+ if (!s(e))
78
+ return v(e) ? {
79
+ error: "TOO_SHORT"
80
+ } : {};
81
+ var l = w(e);
82
+ return l.ext ? l : {
83
+ number: e
84
+ };
85
+ }
86
+ function M(t, r, n) {
87
+ var e = {
88
+ country: t,
89
+ phone: r
90
+ };
91
+ return n && (e.ext = n), e;
92
+ }
93
+ function D(t, r, n, e) {
94
+ var l = E(y(t), void 0, r, n, e.metadata), c = l.countryCallingCodeSource, i = l.countryCallingCode, a = l.number, o;
95
+ if (i)
96
+ e.selectNumberingPlan(i);
97
+ else if (a && (r || n))
98
+ e.selectNumberingPlan(r, n), r && (o = r), i = n || O(r, e.metadata);
99
+ else return {};
100
+ if (!a)
101
+ return {
102
+ countryCallingCodeSource: c,
103
+ countryCallingCode: i
104
+ };
105
+ var u = I(y(a), o, e), N = u.nationalNumber, _ = u.carrierCode, f = A(i, {
106
+ nationalNumber: N,
107
+ metadata: e
108
+ });
109
+ return f && (o = f, f === "001" || e.selectNumberingPlan(o)), {
110
+ country: o,
111
+ countryCallingCode: i,
112
+ countryCallingCodeSource: c,
113
+ nationalNumber: N,
114
+ carrierCode: _
115
+ };
116
+ }
3
117
  export {
4
- a as effectCar
118
+ Z as default
5
119
  };
6
120
  //# sourceMappingURL=index270.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index270.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index270.js","sources":["../../../node_modules/libphonenumber-js/es6/parse.js"],"sourcesContent":["// This is a port of Google Android `libphonenumber`'s\n// `phonenumberutil.js` of December 31th, 2018.\n//\n// https://github.com/googlei18n/libphonenumber/commits/master/javascript/i18n/phonenumbers/phonenumberutil.js\n\nimport { VALID_DIGITS, PLUS_CHARS, MIN_LENGTH_FOR_NSN, MAX_LENGTH_FOR_NSN } from './constants.js';\nimport ParseError from './ParseError.js';\nimport Metadata from './metadata.js';\nimport isViablePhoneNumber, { isViablePhoneNumberStart } from './helpers/isViablePhoneNumber.js';\nimport extractExtension from './helpers/extension/extractExtension.js';\nimport parseIncompletePhoneNumber from './parseIncompletePhoneNumber.js';\nimport getCountryCallingCode from './getCountryCallingCode.js';\nimport { isPossibleNumber } from './isPossible.js';\n// import { parseRFC3966 } from './helpers/RFC3966.js'\nimport PhoneNumber from './PhoneNumber.js';\nimport matchesEntirely from './helpers/matchesEntirely.js';\nimport extractCountryCallingCode from './helpers/extractCountryCallingCode.js';\nimport extractNationalNumber from './helpers/extractNationalNumber.js';\n// import stripIddPrefix from './helpers/stripIddPrefix.js'\nimport getCountryByCallingCode from './helpers/getCountryByCallingCode.js';\nimport extractFormattedPhoneNumberFromPossibleRfc3966NumberUri from './helpers/extractFormattedPhoneNumberFromPossibleRfc3966NumberUri.js';\n\n// We don't allow input strings for parsing to be longer than 250 chars.\n// This prevents malicious input from consuming CPU.\nvar MAX_INPUT_STRING_LENGTH = 250;\n\n// This consists of the plus symbol, digits, and arabic-indic digits.\nvar PHONE_NUMBER_START_PATTERN = new RegExp('[' + PLUS_CHARS + VALID_DIGITS + ']');\n\n// Regular expression of trailing characters that we want to remove.\n// A trailing `#` is sometimes used when writing phone numbers with extensions in US.\n// Example: \"+1 (645) 123 1234-910#\" number has extension \"910\".\nvar AFTER_PHONE_NUMBER_END_PATTERN = new RegExp('[^' + VALID_DIGITS + '#' + ']+$');\nvar USE_NON_GEOGRAPHIC_COUNTRY_CODE = false;\n\n// Examples:\n//\n// ```js\n// parse('8 (800) 555-35-35', 'RU')\n// parse('8 (800) 555-35-35', 'RU', metadata)\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } })\n// parse('8 (800) 555-35-35', { country: { default: 'RU' } }, metadata)\n// parse('+7 800 555 35 35')\n// parse('+7 800 555 35 35', metadata)\n// ```\n//\n\n/**\r\n * Parses a phone number.\r\n *\r\n * parse('123456789', { defaultCountry: 'RU', v2: true }, metadata)\r\n * parse('123456789', { defaultCountry: 'RU' }, metadata)\r\n * parse('123456789', undefined, metadata)\r\n *\r\n * @param {string} input\r\n * @param {object} [options]\r\n * @param {object} metadata\r\n * @return {object|PhoneNumber?} If `options.v2: true` flag is passed, it returns a `PhoneNumber?` instance. Otherwise, returns an object of shape `{ phone: '...', country: '...' }` (or just `{}` if no phone number was parsed).\r\n */\nexport default function parse(text, options, metadata) {\n // If assigning the `{}` default value is moved to the arguments above,\n // code coverage would decrease for some weird reason.\n options = options || {};\n metadata = new Metadata(metadata);\n\n // Validate `defaultCountry`.\n if (options.defaultCountry && !metadata.hasCountry(options.defaultCountry)) {\n if (options.v2) {\n throw new ParseError('INVALID_COUNTRY');\n }\n throw new Error(\"Unknown country: \".concat(options.defaultCountry));\n }\n\n // Parse the phone number.\n var _parseInput = parseInput(text, options.v2, options.extract),\n formattedPhoneNumber = _parseInput.number,\n ext = _parseInput.ext,\n error = _parseInput.error;\n\n // If the phone number is not viable then return nothing.\n if (!formattedPhoneNumber) {\n if (options.v2) {\n if (error === 'TOO_SHORT') {\n throw new ParseError('TOO_SHORT');\n }\n throw new ParseError('NOT_A_NUMBER');\n }\n return {};\n }\n var _parsePhoneNumber = parsePhoneNumber(formattedPhoneNumber, options.defaultCountry, options.defaultCallingCode, metadata),\n country = _parsePhoneNumber.country,\n nationalNumber = _parsePhoneNumber.nationalNumber,\n countryCallingCode = _parsePhoneNumber.countryCallingCode,\n countryCallingCodeSource = _parsePhoneNumber.countryCallingCodeSource,\n carrierCode = _parsePhoneNumber.carrierCode;\n if (!metadata.hasSelectedNumberingPlan()) {\n if (options.v2) {\n throw new ParseError('INVALID_COUNTRY');\n }\n return {};\n }\n\n // Validate national (significant) number length.\n if (!nationalNumber || nationalNumber.length < MIN_LENGTH_FOR_NSN) {\n // Won't throw here because the regexp already demands length > 1.\n /* istanbul ignore if */\n if (options.v2) {\n throw new ParseError('TOO_SHORT');\n }\n // Google's demo just throws an error in this case.\n return {};\n }\n\n // Validate national (significant) number length.\n //\n // A sidenote:\n //\n // They say that sometimes national (significant) numbers\n // can be longer than `MAX_LENGTH_FOR_NSN` (e.g. in Germany).\n // https://github.com/googlei18n/libphonenumber/blob/7e1748645552da39c4e1ba731e47969d97bdb539/resources/phonenumber.proto#L36\n // Such numbers will just be discarded.\n //\n if (nationalNumber.length > MAX_LENGTH_FOR_NSN) {\n if (options.v2) {\n throw new ParseError('TOO_LONG');\n }\n // Google's demo just throws an error in this case.\n return {};\n }\n if (options.v2) {\n var phoneNumber = new PhoneNumber(countryCallingCode, nationalNumber, metadata.metadata);\n if (country) {\n phoneNumber.country = country;\n }\n if (carrierCode) {\n phoneNumber.carrierCode = carrierCode;\n }\n if (ext) {\n phoneNumber.ext = ext;\n }\n phoneNumber.__countryCallingCodeSource = countryCallingCodeSource;\n return phoneNumber;\n }\n\n // Check if national phone number pattern matches the number.\n // National number pattern is different for each country,\n // even for those ones which are part of the \"NANPA\" group.\n var valid = (options.extended ? metadata.hasSelectedNumberingPlan() : country) ? matchesEntirely(nationalNumber, metadata.nationalNumberPattern()) : false;\n if (!options.extended) {\n return valid ? result(country, nationalNumber, ext) : {};\n }\n\n // isInternational: countryCallingCode !== undefined\n\n return {\n country: country,\n countryCallingCode: countryCallingCode,\n carrierCode: carrierCode,\n valid: valid,\n possible: valid ? true : options.extended === true && metadata.possibleLengths() && isPossibleNumber(nationalNumber, country, metadata) ? true : false,\n phone: nationalNumber,\n ext: ext\n };\n}\n\n/**\r\n * Extracts a formatted phone number from text.\r\n * Doesn't guarantee that the extracted phone number\r\n * is a valid phone number (for example, doesn't validate its length).\r\n * @param {string} text\r\n * @param {boolean} [extract] — If `false`, then will parse the entire `text` as a phone number.\r\n * @param {boolean} [throwOnError] — By default, it won't throw if the text is too long.\r\n * @return {string}\r\n * @example\r\n * // Returns \"(213) 373-4253\".\r\n * extractFormattedPhoneNumber(\"Call (213) 373-4253 for assistance.\")\r\n */\nfunction _extractFormattedPhoneNumber(text, extract, throwOnError) {\n if (!text) {\n return;\n }\n if (text.length > MAX_INPUT_STRING_LENGTH) {\n if (throwOnError) {\n throw new ParseError('TOO_LONG');\n }\n return;\n }\n if (extract === false) {\n return text;\n }\n // Attempt to extract a possible number from the string passed in\n var startsAt = text.search(PHONE_NUMBER_START_PATTERN);\n if (startsAt < 0) {\n return;\n }\n return text\n // Trim everything to the left of the phone number\n .slice(startsAt)\n // Remove trailing non-numerical characters\n .replace(AFTER_PHONE_NUMBER_END_PATTERN, '');\n}\n\n/**\r\n * @param {string} text - Input.\r\n * @param {boolean} v2 - Legacy API functions don't pass `v2: true` flag.\r\n * @param {boolean} [extract] - Whether to extract a phone number from `text`, or attempt to parse the entire text as a phone number.\r\n * @return {object} `{ ?number, ?ext }`.\r\n */\nfunction parseInput(text, v2, extract) {\n // // Parse RFC 3966 phone number URI.\n // if (text && text.indexOf('tel:') === 0) {\n // \treturn parseRFC3966(text)\n // }\n // let number = extractFormattedPhoneNumber(text, extract, v2)\n var number = extractFormattedPhoneNumberFromPossibleRfc3966NumberUri(text, {\n extractFormattedPhoneNumber: function extractFormattedPhoneNumber(text) {\n return _extractFormattedPhoneNumber(text, extract, v2);\n }\n });\n // If the phone number is not viable, then abort.\n if (!number) {\n return {};\n }\n if (!isViablePhoneNumber(number)) {\n if (isViablePhoneNumberStart(number)) {\n return {\n error: 'TOO_SHORT'\n };\n }\n return {};\n }\n // Attempt to parse extension first, since it doesn't require region-specific\n // data and we want to have the non-normalised number here.\n var withExtensionStripped = extractExtension(number);\n if (withExtensionStripped.ext) {\n return withExtensionStripped;\n }\n return {\n number: number\n };\n}\n\n/**\r\n * Creates `parse()` result object.\r\n */\nfunction result(country, nationalNumber, ext) {\n var result = {\n country: country,\n phone: nationalNumber\n };\n if (ext) {\n result.ext = ext;\n }\n return result;\n}\n\n/**\r\n * Parses a viable phone number.\r\n * @param {string} formattedPhoneNumber — Example: \"(213) 373-4253\".\r\n * @param {string} [defaultCountry]\r\n * @param {string} [defaultCallingCode]\r\n * @param {Metadata} metadata\r\n * @return {object} Returns `{ country: string?, countryCallingCode: string?, nationalNumber: string? }`.\r\n */\nfunction parsePhoneNumber(formattedPhoneNumber, defaultCountry, defaultCallingCode, metadata) {\n // Extract calling code from phone number.\n var _extractCountryCallin = extractCountryCallingCode(parseIncompletePhoneNumber(formattedPhoneNumber), undefined, defaultCountry, defaultCallingCode, metadata.metadata),\n countryCallingCodeSource = _extractCountryCallin.countryCallingCodeSource,\n countryCallingCode = _extractCountryCallin.countryCallingCode,\n number = _extractCountryCallin.number;\n\n // The exact country of the phone number\n var country;\n\n // If `formattedPhoneNumber` is passed in \"international\" format,\n // choose a country by `countryCallingCode`.\n if (countryCallingCode) {\n metadata.selectNumberingPlan(countryCallingCode);\n }\n // Else, if `formattedPhoneNumber` is passed in \"national\" format,\n // then `number` is defined and `countryCallingCode` is `undefined`.\n else if (number && (defaultCountry || defaultCallingCode)) {\n metadata.selectNumberingPlan(defaultCountry, defaultCallingCode);\n if (defaultCountry) {\n country = defaultCountry;\n } else {\n /* istanbul ignore if */\n if (USE_NON_GEOGRAPHIC_COUNTRY_CODE) {\n if (metadata.isNonGeographicCallingCode(defaultCallingCode)) {\n country = '001';\n }\n }\n }\n countryCallingCode = defaultCallingCode || getCountryCallingCode(defaultCountry, metadata.metadata);\n } else return {};\n if (!number) {\n return {\n countryCallingCodeSource: countryCallingCodeSource,\n countryCallingCode: countryCallingCode\n };\n }\n var _extractNationalNumbe = extractNationalNumber(parseIncompletePhoneNumber(number), country, metadata),\n nationalNumber = _extractNationalNumbe.nationalNumber,\n carrierCode = _extractNationalNumbe.carrierCode;\n\n // Sometimes there are several countries\n // corresponding to the same country phone code\n // (e.g. NANPA countries all having `1` country phone code).\n // Therefore, to reliably determine the exact country,\n // national (significant) number should have been parsed first.\n //\n // When `metadata.json` is generated, all \"ambiguous\" country phone codes\n // get their countries populated with the full set of\n // \"phone number type\" regular expressions.\n //\n var exactCountry = getCountryByCallingCode(countryCallingCode, {\n nationalNumber: nationalNumber,\n metadata: metadata\n });\n if (exactCountry) {\n country = exactCountry;\n /* istanbul ignore if */\n if (exactCountry === '001') {\n // Can't happen with `USE_NON_GEOGRAPHIC_COUNTRY_CODE` being `false`.\n // If `USE_NON_GEOGRAPHIC_COUNTRY_CODE` is set to `true` for some reason,\n // then remove the \"istanbul ignore if\".\n } else {\n metadata.selectNumberingPlan(country);\n }\n }\n return {\n country: country,\n countryCallingCode: countryCallingCode,\n countryCallingCodeSource: countryCallingCodeSource,\n nationalNumber: nationalNumber,\n carrierCode: carrierCode\n };\n}\n//# sourceMappingURL=parse.js.map"],"names":["MAX_INPUT_STRING_LENGTH","PHONE_NUMBER_START_PATTERN","PLUS_CHARS","VALID_DIGITS","AFTER_PHONE_NUMBER_END_PATTERN","parse","text","options","metadata","Metadata","ParseError","_parseInput","parseInput","formattedPhoneNumber","ext","error","_parsePhoneNumber","parsePhoneNumber","country","nationalNumber","countryCallingCode","countryCallingCodeSource","carrierCode","MIN_LENGTH_FOR_NSN","MAX_LENGTH_FOR_NSN","phoneNumber","PhoneNumber","valid","matchesEntirely","isPossibleNumber","result","_extractFormattedPhoneNumber","extract","throwOnError","startsAt","v2","number","extractFormattedPhoneNumberFromPossibleRfc3966NumberUri","isViablePhoneNumber","isViablePhoneNumberStart","withExtensionStripped","extractExtension","defaultCountry","defaultCallingCode","_extractCountryCallin","extractCountryCallingCode","parseIncompletePhoneNumber","getCountryCallingCode","_extractNationalNumbe","extractNationalNumber","exactCountry","getCountryByCallingCode"],"mappings":";;;;;;;;;;;;;AAwBA,IAAIA,IAA0B,KAG1BC,IAA6B,IAAI,OAAO,MAAMC,IAAaC,IAAe,GAAG,GAK7EC,IAAiC,IAAI,OAAO,OAAOD,IAAe,MAAW;AA2BlE,SAASE,EAAMC,GAAMC,GAASC,GAAU;AAOrD,MAJAD,IAAUA,KAAW,CAAA,GACrBC,IAAW,IAAIC,EAASD,CAAQ,GAG5BD,EAAQ,kBAAkB,CAACC,EAAS,WAAWD,EAAQ,cAAc;AACvE,UAAIA,EAAQ,KACJ,IAAIG,EAAW,iBAAiB,IAElC,IAAI,MAAM,oBAAoB,OAAOH,EAAQ,cAAc,CAAC;AAIpE,MAA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,IAAwBC,EAA0BC,EAA2BjC,CAAoB,GAAG,QAAW6B,GAAgBC,GAAoBnC,EAAS,QAAQ,GACtKa,IAA2BuB,EAAsB,0BACjDxB,IAAqBwB,EAAsB,oBAC3CR,IAASQ,EAAsB,QAG7B1B;AAIJ,MAAIE;AACF,IAAAZ,EAAS,oBAAoBY,CAAkB;AAAA,WAIxCgB,MAAWM,KAAkBC;AACpC,IAAAnC,EAAS,oBAAoBkC,GAAgBC,CAAkB,GAC3DD,MACFxB,IAAUwB,IASZtB,IAAqBuB,KAAsBI,EAAsBL,GAAgBlC,EAAS,QAAQ;AAAA,MAC7F,QAAO,CAAA;AACd,MAAI,CAAC4B;AACH,WAAO;AAAA,MACL,0BAA0Bf;AAAA,MAC1B,oBAAoBD;AAAA,IAC1B;AAEE,MAAI4B,IAAwBC,EAAsBH,EAA2BV,CAAM,GAAGlB,GAASV,CAAQ,GACrGW,IAAiB6B,EAAsB,gBACvC1B,IAAc0B,EAAsB,aAYlCE,IAAeC,EAAwB/B,GAAoB;AAAA,IAC7D,gBAAgBD;AAAA,IAChB,UAAUX;AAAA,EACd,CAAG;AACD,SAAI0C,MACFhC,IAAUgC,GAENA,MAAiB,SAKnB1C,EAAS,oBAAoBU,CAAO,IAGjC;AAAA,IACL,SAASA;AAAA,IACT,oBAAoBE;AAAA,IACpB,0BAA0BC;AAAA,IAC1B,gBAAgBF;AAAA,IAChB,aAAaG;AAAA,EACjB;AACA;","x_google_ignoreList":[0]}
package/dist/index271.js CHANGED
@@ -1,27 +1,21 @@
1
- import * as f from "react";
2
- import { assignRef as o } from "./index306.js";
3
- import { useCallbackRef as l } from "./index307.js";
4
- var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
- function v(e, m) {
6
- var t = l(null, function(n) {
7
- return e.forEach(function(u) {
8
- return o(u, n);
9
- });
10
- });
11
- return s(function() {
12
- var n = c.get(t);
13
- if (n) {
14
- var u = new Set(n), r = new Set(e), i = t.current;
15
- u.forEach(function(a) {
16
- r.has(a) || o(a, null);
17
- }), r.forEach(function(a) {
18
- u.has(a) || o(a, i);
19
- });
20
- }
21
- c.set(t, e);
22
- }, [e]), t;
1
+ import { MIN_LENGTH_FOR_NSN as e, VALID_DIGITS as _, PLUS_CHARS as t, VALID_PUNCTUATION as E } from "./index160.js";
2
+ import r from "./index277.js";
3
+ var n = "[" + _ + "]{" + e + "}", I = "[" + t + "]{0,1}(?:[" + E + "]*[" + _ + "]){3,}[" + E + _ + "]*", P = new RegExp("^[" + t + "]{0,1}(?:[" + E + "]*[" + _ + "]){1,2}$", "i"), R = I + // Phone number extensions
4
+ "(?:" + r() + ")?", T = new RegExp(
5
+ // Either a short two-digit-only phone number
6
+ "^" + n + "$|^" + R + "$",
7
+ "i"
8
+ );
9
+ function A(N) {
10
+ return N.length >= e && T.test(N);
11
+ }
12
+ function o(N) {
13
+ return P.test(N);
23
14
  }
24
15
  export {
25
- v as useMergeRefs
16
+ I as VALID_PHONE_NUMBER,
17
+ R as VALID_PHONE_NUMBER_WITH_EXTENSION,
18
+ A as default,
19
+ o as isViablePhoneNumberStart
26
20
  };
27
21
  //# sourceMappingURL=index271.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index271.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAO;AAexB,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,IAAG,CAAC;AAAA,EAC3E,CAAC;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAE3B,CAAC,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAEhC,CAAC;AAAA,IACL;AACA,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EACvC,GAAG,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index271.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/isViablePhoneNumber.js"],"sourcesContent":["import { MIN_LENGTH_FOR_NSN, VALID_DIGITS, VALID_PUNCTUATION, PLUS_CHARS } from '../constants.js';\nimport createExtensionPattern from './extension/createExtensionPattern.js';\n\n// Regular expression of viable phone numbers. This is location independent.\n// Checks we have at least three leading digits, and only valid punctuation,\n// alpha characters and digits in the phone number. Does not include extension\n// data. The symbol 'x' is allowed here as valid punctuation since it is often\n// used as a placeholder for carrier codes, for example in Brazilian phone\n// numbers. We also allow multiple '+' characters at the start.\n//\n// Corresponds to the following:\n// [digits]{minLengthNsn}|\n// plus_sign*\n// (([punctuation]|[star])*[digits]){3,}([punctuation]|[star]|[digits]|[alpha])*\n//\n// The first reg-ex is to allow short numbers (two digits long) to be parsed if\n// they are entered as \"15\" etc, but only if there is no punctuation in them.\n// The second expression restricts the number of digits to three or more, but\n// then allows them to be in international form, and to have alpha-characters\n// and punctuation. We split up the two reg-exes here and combine them when\n// creating the reg-ex VALID_PHONE_NUMBER_PATTERN itself so we can prefix it\n// with ^ and append $ to each branch.\n//\n// \"Note VALID_PUNCTUATION starts with a -,\n// so must be the first in the range\" (c) Google devs.\n// (wtf did they mean by saying that; probably nothing)\n//\nvar MIN_LENGTH_PHONE_NUMBER_PATTERN = '[' + VALID_DIGITS + ']{' + MIN_LENGTH_FOR_NSN + '}';\n//\n// And this is the second reg-exp:\n// (see MIN_LENGTH_PHONE_NUMBER_PATTERN for a full description of this reg-exp)\n//\nexport var VALID_PHONE_NUMBER = '[' + PLUS_CHARS + ']{0,1}' + '(?:' + '[' + VALID_PUNCTUATION + ']*' + '[' + VALID_DIGITS + ']' + '){3,}' + '[' + VALID_PUNCTUATION + VALID_DIGITS + ']*';\n\n// This regular expression isn't present in Google's `libphonenumber`\n// and is only used to determine whether the phone number being input\n// is too short for it to even consider it a \"valid\" number.\n// This is just a way to differentiate between a really invalid phone\n// number like \"abcde\" and a valid phone number that a user has just\n// started inputting, like \"+1\" or \"1\": both these cases would be\n// considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this\n// library can provide a more detailed error message — whether it's\n// really \"not a number\", or is it just a start of a valid phone number.\nvar VALID_PHONE_NUMBER_START_REG_EXP = new RegExp('^' + '[' + PLUS_CHARS + ']{0,1}' + '(?:' + '[' + VALID_PUNCTUATION + ']*' + '[' + VALID_DIGITS + ']' + '){1,2}' + '$', 'i');\nexport var VALID_PHONE_NUMBER_WITH_EXTENSION = VALID_PHONE_NUMBER +\n// Phone number extensions\n'(?:' + createExtensionPattern() + ')?';\n\n// The combined regular expression for valid phone numbers:\n//\nvar VALID_PHONE_NUMBER_PATTERN = new RegExp(\n// Either a short two-digit-only phone number\n'^' + MIN_LENGTH_PHONE_NUMBER_PATTERN + '$' + '|' +\n// Or a longer fully parsed phone number (min 3 characters)\n'^' + VALID_PHONE_NUMBER_WITH_EXTENSION + '$', 'i');\n\n// Checks to see if the string of characters could possibly be a phone number at\n// all. At the moment, checks to see that the string begins with at least 2\n// digits, ignoring any punctuation commonly found in phone numbers. This method\n// does not require the number to be normalized in advance - but does assume\n// that leading non-number symbols have been removed, such as by the method\n// `extract_possible_number`.\n//\nexport default function isViablePhoneNumber(number) {\n return number.length >= MIN_LENGTH_FOR_NSN && VALID_PHONE_NUMBER_PATTERN.test(number);\n}\n\n// This is just a way to differentiate between a really invalid phone\n// number like \"abcde\" and a valid phone number that a user has just\n// started inputting, like \"+1\" or \"1\": both these cases would be\n// considered `NOT_A_NUMBER` by Google's `libphonenumber`, but this\n// library can provide a more detailed error message — whether it's\n// really \"not a number\", or is it just a start of a valid phone number.\nexport function isViablePhoneNumberStart(number) {\n return VALID_PHONE_NUMBER_START_REG_EXP.test(number);\n}\n//# sourceMappingURL=isViablePhoneNumber.js.map"],"names":["MIN_LENGTH_PHONE_NUMBER_PATTERN","VALID_DIGITS","MIN_LENGTH_FOR_NSN","VALID_PHONE_NUMBER","PLUS_CHARS","VALID_PUNCTUATION","VALID_PHONE_NUMBER_START_REG_EXP","VALID_PHONE_NUMBER_WITH_EXTENSION","createExtensionPattern","VALID_PHONE_NUMBER_PATTERN","isViablePhoneNumber","number","isViablePhoneNumberStart"],"mappings":";;AA2BA,IAAIA,IAAkC,MAAMC,IAAe,OAAOC,IAAqB,KAK5EC,IAAqB,MAAMC,IAAa,eAAyBC,IAAoB,QAAaJ,IAAe,YAAsBI,IAAoBJ,IAAe,MAWjLK,IAAmC,IAAI,OAAO,OAAYF,IAAa,eAAyBC,IAAoB,QAAaJ,IAAe,YAAsB,GAAG,GAClKM,IAAoCJ;AAE/C,QAAQK,EAAsB,IAAK,MAI/BC,IAA6B,IAAI;AAAA;AAAA,EAErC,MAAMT,IAAkC,QAElCO,IAAoC;AAAA,EAAK;AAAG;AASnC,SAASG,EAAoBC,GAAQ;AAClD,SAAOA,EAAO,UAAUT,KAAsBO,EAA2B,KAAKE,CAAM;AACtF;AAQO,SAASC,EAAyBD,GAAQ;AAC/C,SAAOL,EAAiC,KAAKK,CAAM;AACrD;","x_google_ignoreList":[0]}