@rpcbase/ui 0.195.0 → 0.197.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 (553) hide show
  1. package/dist/components/HourPickerField/index.d.ts.map +1 -1
  2. package/dist/index100.js +5 -6
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +4 -24
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +8 -6
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +5 -4
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +4 -6
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +4 -5
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +6 -4
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +145 -5
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +39 -4
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +4 -8
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index110.js +7 -5
  23. package/dist/index110.js.map +1 -1
  24. package/dist/index111.js +13 -4
  25. package/dist/index111.js.map +1 -1
  26. package/dist/index112.js +13 -4
  27. package/dist/index112.js.map +1 -1
  28. package/dist/index113.js +7 -6
  29. package/dist/index113.js.map +1 -1
  30. package/dist/index114.js +31 -145
  31. package/dist/index114.js.map +1 -1
  32. package/dist/index115.js +10 -39
  33. package/dist/index115.js.map +1 -1
  34. package/dist/index116.js +10 -4
  35. package/dist/index116.js.map +1 -1
  36. package/dist/index117.js +8 -7
  37. package/dist/index117.js.map +1 -1
  38. package/dist/index118.js +13 -13
  39. package/dist/index118.js.map +1 -1
  40. package/dist/index119.js +101 -13
  41. package/dist/index119.js.map +1 -1
  42. package/dist/index120.js +20 -8
  43. package/dist/index120.js.map +1 -1
  44. package/dist/index121.js +53 -31
  45. package/dist/index121.js.map +1 -1
  46. package/dist/index122.js +72 -10
  47. package/dist/index122.js.map +1 -1
  48. package/dist/index123.js +9 -10
  49. package/dist/index123.js.map +1 -1
  50. package/dist/index124.js +20 -8
  51. package/dist/index124.js.map +1 -1
  52. package/dist/index125.js +16 -13
  53. package/dist/index125.js.map +1 -1
  54. package/dist/index126.js +23 -101
  55. package/dist/index126.js.map +1 -1
  56. package/dist/index127.js +7 -20
  57. package/dist/index127.js.map +1 -1
  58. package/dist/index128.js +5 -53
  59. package/dist/index128.js.map +1 -1
  60. package/dist/index129.js +23 -72
  61. package/dist/index129.js.map +1 -1
  62. package/dist/index130.js +35 -10
  63. package/dist/index130.js.map +1 -1
  64. package/dist/index131.js +16 -21
  65. package/dist/index131.js.map +1 -1
  66. package/dist/index132.js +6 -16
  67. package/dist/index132.js.map +1 -1
  68. package/dist/index133.js +4 -23
  69. package/dist/index133.js.map +1 -1
  70. package/dist/index134.js +4 -6
  71. package/dist/index134.js.map +1 -1
  72. package/dist/index135.js +4 -5
  73. package/dist/index135.js.map +1 -1
  74. package/dist/index136.js +4 -23
  75. package/dist/index136.js.map +1 -1
  76. package/dist/index137.js +4 -35
  77. package/dist/index137.js.map +1 -1
  78. package/dist/index138.js +7 -16
  79. package/dist/index138.js.map +1 -1
  80. package/dist/index139.js +24 -7
  81. package/dist/index139.js.map +1 -1
  82. package/dist/index140.js +7 -4
  83. package/dist/index140.js.map +1 -1
  84. package/dist/index141.js +6 -4
  85. package/dist/index141.js.map +1 -1
  86. package/dist/index142.js +5 -4
  87. package/dist/index142.js.map +1 -1
  88. package/dist/index143.js +3 -4
  89. package/dist/index143.js.map +1 -1
  90. package/dist/index144.js +1 -1
  91. package/dist/index144.js.map +1 -1
  92. package/dist/index145.js +4 -6
  93. package/dist/index145.js.map +1 -1
  94. package/dist/index146.js +4 -24
  95. package/dist/index146.js.map +1 -1
  96. package/dist/index147.js +4 -7
  97. package/dist/index147.js.map +1 -1
  98. package/dist/index148.js +3 -6
  99. package/dist/index148.js.map +1 -1
  100. package/dist/index149.js +3 -5
  101. package/dist/index149.js.map +1 -1
  102. package/dist/index150.js +3 -3
  103. package/dist/index150.js.map +1 -1
  104. package/dist/index151.js +46 -3
  105. package/dist/index151.js.map +1 -1
  106. package/dist/index152.js +5 -4
  107. package/dist/index152.js.map +1 -1
  108. package/dist/index153.js +68 -3
  109. package/dist/index153.js.map +1 -1
  110. package/dist/index154.js +2 -5
  111. package/dist/index154.js.map +1 -1
  112. package/dist/index155.js +363 -3
  113. package/dist/index155.js.map +1 -1
  114. package/dist/index156.js +261 -3
  115. package/dist/index156.js.map +1 -1
  116. package/dist/index157.js +60 -3
  117. package/dist/index157.js.map +1 -1
  118. package/dist/index158.js +46 -5
  119. package/dist/index158.js.map +1 -1
  120. package/dist/index159.js +157 -56
  121. package/dist/index159.js.map +1 -1
  122. package/dist/index160.js +110 -2
  123. package/dist/index160.js.map +1 -1
  124. package/dist/index161.js +24 -363
  125. package/dist/index161.js.map +1 -1
  126. package/dist/index162.js +8 -262
  127. package/dist/index162.js.map +1 -1
  128. package/dist/index163.js +4 -60
  129. package/dist/index163.js.map +1 -1
  130. package/dist/index164.js +5 -46
  131. package/dist/index164.js.map +1 -1
  132. package/dist/index165.js +4 -169
  133. package/dist/index165.js.map +1 -1
  134. package/dist/index166.js +459 -102
  135. package/dist/index166.js.map +1 -1
  136. package/dist/index167.js +185 -24
  137. package/dist/index167.js.map +1 -1
  138. package/dist/index168.js +108 -8
  139. package/dist/index168.js.map +1 -1
  140. package/dist/index169.js +262 -4
  141. package/dist/index169.js.map +1 -1
  142. package/dist/index170.js +9 -5
  143. package/dist/index170.js.map +1 -1
  144. package/dist/index171.js +42 -4
  145. package/dist/index171.js.map +1 -1
  146. package/dist/index172.js +4 -466
  147. package/dist/index172.js.map +1 -1
  148. package/dist/index173.js +44 -183
  149. package/dist/index173.js.map +1 -1
  150. package/dist/index174.js +198 -100
  151. package/dist/index174.js.map +1 -1
  152. package/dist/index175.js +22 -263
  153. package/dist/index175.js.map +1 -1
  154. package/dist/index176.js +24 -9
  155. package/dist/index176.js.map +1 -1
  156. package/dist/index177.js +391 -34
  157. package/dist/index177.js.map +1 -1
  158. package/dist/index178.js +605 -4
  159. package/dist/index178.js.map +1 -1
  160. package/dist/index179.js +58 -67
  161. package/dist/index179.js.map +1 -1
  162. package/dist/index180.js +8 -180
  163. package/dist/index180.js.map +1 -1
  164. package/dist/index181.js +62 -42
  165. package/dist/index181.js.map +1 -1
  166. package/dist/index182.js +18 -23
  167. package/dist/index182.js.map +1 -1
  168. package/dist/index183.js +17 -29
  169. package/dist/index183.js.map +1 -1
  170. package/dist/index184.js +6 -5
  171. package/dist/index184.js.map +1 -1
  172. package/dist/index185.js +4 -15
  173. package/dist/index185.js.map +1 -1
  174. package/dist/index186.js +6 -5
  175. package/dist/index186.js.map +1 -1
  176. package/dist/index187.js +4 -5
  177. package/dist/index187.js.map +1 -1
  178. package/dist/index188.js +7 -58
  179. package/dist/index188.js.map +1 -1
  180. package/dist/index189.js +17 -66
  181. package/dist/index189.js.map +1 -1
  182. package/dist/index19.js +390 -378
  183. package/dist/index19.js.map +1 -1
  184. package/dist/index190.js +5 -6
  185. package/dist/index190.js.map +1 -1
  186. package/dist/index191.js +5 -4
  187. package/dist/index191.js.map +1 -1
  188. package/dist/index192.js +13 -7
  189. package/dist/index192.js.map +1 -1
  190. package/dist/index193.js +9 -16
  191. package/dist/index193.js.map +1 -1
  192. package/dist/index194.js +14 -5
  193. package/dist/index194.js.map +1 -1
  194. package/dist/index195.js +14 -5
  195. package/dist/index195.js.map +1 -1
  196. package/dist/index196.js +5 -13
  197. package/dist/index196.js.map +1 -1
  198. package/dist/index197.js +5 -9
  199. package/dist/index197.js.map +1 -1
  200. package/dist/index198.js +7 -14
  201. package/dist/index198.js.map +1 -1
  202. package/dist/index199.js +6 -14
  203. package/dist/index199.js.map +1 -1
  204. package/dist/index200.js +9 -5
  205. package/dist/index200.js.map +1 -1
  206. package/dist/index201.js +5 -6
  207. package/dist/index201.js.map +1 -1
  208. package/dist/index202.js +5 -7
  209. package/dist/index202.js.map +1 -1
  210. package/dist/index203.js +9 -6
  211. package/dist/index203.js.map +1 -1
  212. package/dist/index204.js +5 -9
  213. package/dist/index204.js.map +1 -1
  214. package/dist/index205.js +5 -5
  215. package/dist/index205.js.map +1 -1
  216. package/dist/index206.js +4 -5
  217. package/dist/index206.js.map +1 -1
  218. package/dist/index207.js +11 -9
  219. package/dist/index207.js.map +1 -1
  220. package/dist/index208.js +10 -5
  221. package/dist/index208.js.map +1 -1
  222. package/dist/index209.js +10 -5
  223. package/dist/index209.js.map +1 -1
  224. package/dist/index210.js +11 -4
  225. package/dist/index210.js.map +1 -1
  226. package/dist/index211.js +11 -11
  227. package/dist/index211.js.map +1 -1
  228. package/dist/index212.js +10 -10
  229. package/dist/index212.js.map +1 -1
  230. package/dist/index213.js +7 -10
  231. package/dist/index213.js.map +1 -1
  232. package/dist/index214.js +6 -11
  233. package/dist/index214.js.map +1 -1
  234. package/dist/index215.js +5 -11
  235. package/dist/index215.js.map +1 -1
  236. package/dist/index216.js +6 -10
  237. package/dist/index216.js.map +1 -1
  238. package/dist/index217.js +7 -7
  239. package/dist/index217.js.map +1 -1
  240. package/dist/index218.js +6 -6
  241. package/dist/index218.js.map +1 -1
  242. package/dist/index219.js +55 -5
  243. package/dist/index219.js.map +1 -1
  244. package/dist/index220.js +16 -6
  245. package/dist/index220.js.map +1 -1
  246. package/dist/index221.js +7 -7
  247. package/dist/index221.js.map +1 -1
  248. package/dist/index222.js +10 -6
  249. package/dist/index222.js.map +1 -1
  250. package/dist/index223.js +10 -55
  251. package/dist/index223.js.map +1 -1
  252. package/dist/index224.js +21 -8
  253. package/dist/index224.js.map +1 -1
  254. package/dist/index225.js +10 -19
  255. package/dist/index225.js.map +1 -1
  256. package/dist/index226.js +9 -16
  257. package/dist/index226.js.map +1 -1
  258. package/dist/index227.js +9 -7
  259. package/dist/index227.js.map +1 -1
  260. package/dist/index228.js +4 -10
  261. package/dist/index228.js.map +1 -1
  262. package/dist/index229.js +5 -10
  263. package/dist/index229.js.map +1 -1
  264. package/dist/index230.js +16 -21
  265. package/dist/index230.js.map +1 -1
  266. package/dist/index231.js +9 -10
  267. package/dist/index231.js.map +1 -1
  268. package/dist/index232.js +18 -9
  269. package/dist/index232.js.map +1 -1
  270. package/dist/index233.js +15 -9
  271. package/dist/index233.js.map +1 -1
  272. package/dist/index234.js +12 -4
  273. package/dist/index234.js.map +1 -1
  274. package/dist/index235.js +29 -5
  275. package/dist/index235.js.map +1 -1
  276. package/dist/index236.js +11 -15
  277. package/dist/index236.js.map +1 -1
  278. package/dist/index237.js +25 -9
  279. package/dist/index237.js.map +1 -1
  280. package/dist/index238.js +5 -18
  281. package/dist/index238.js.map +1 -1
  282. package/dist/index239.js +13 -15
  283. package/dist/index239.js.map +1 -1
  284. package/dist/index24.js +1 -1
  285. package/dist/index240.js +154 -12
  286. package/dist/index240.js.map +1 -1
  287. package/dist/index241.js +29 -28
  288. package/dist/index241.js.map +1 -1
  289. package/dist/index242.js +9 -12
  290. package/dist/index242.js.map +1 -1
  291. package/dist/index243.js +46 -23
  292. package/dist/index243.js.map +1 -1
  293. package/dist/index244.js +11 -5
  294. package/dist/index244.js.map +1 -1
  295. package/dist/index245.js +44 -13
  296. package/dist/index245.js.map +1 -1
  297. package/dist/index246.js +86 -145
  298. package/dist/index246.js.map +1 -1
  299. package/dist/index247.js +83 -27
  300. package/dist/index247.js.map +1 -1
  301. package/dist/index248.js +105 -9
  302. package/dist/index248.js.map +1 -1
  303. package/dist/index249.js +45 -40
  304. package/dist/index249.js.map +1 -1
  305. package/dist/index250.js +11 -11
  306. package/dist/index250.js.map +1 -1
  307. package/dist/index251.js +35 -42
  308. package/dist/index251.js.map +1 -1
  309. package/dist/index252.js +8 -95
  310. package/dist/index252.js.map +1 -1
  311. package/dist/index253.js +110 -80
  312. package/dist/index253.js.map +1 -1
  313. package/dist/index254.js +17 -105
  314. package/dist/index254.js.map +1 -1
  315. package/dist/index255.js +14 -51
  316. package/dist/index255.js.map +1 -1
  317. package/dist/index256.js +3 -11
  318. package/dist/index256.js.map +1 -1
  319. package/dist/index257.js +32 -33
  320. package/dist/index257.js.map +1 -1
  321. package/dist/index258.js +20 -8
  322. package/dist/index258.js.map +1 -1
  323. package/dist/index259.js +9 -116
  324. package/dist/index259.js.map +1 -1
  325. package/dist/index260.js +8 -17
  326. package/dist/index260.js.map +1 -1
  327. package/dist/index261.js +24 -15
  328. package/dist/index261.js.map +1 -1
  329. package/dist/index262.js +29 -4
  330. package/dist/index262.js.map +1 -1
  331. package/dist/index263.js +5 -37
  332. package/dist/index263.js.map +1 -1
  333. package/dist/index264.js +18 -19
  334. package/dist/index264.js.map +1 -1
  335. package/dist/index265.js +28 -9
  336. package/dist/index265.js.map +1 -1
  337. package/dist/index266.js +15 -7
  338. package/dist/index266.js.map +1 -1
  339. package/dist/index267.js +65 -17
  340. package/dist/index267.js.map +1 -1
  341. package/dist/index268.js +178 -26
  342. package/dist/index268.js.map +1 -1
  343. package/dist/index269.js +44 -14
  344. package/dist/index269.js.map +1 -1
  345. package/dist/index27.js +493 -334
  346. package/dist/index27.js.map +1 -1
  347. package/dist/index270.js +5 -5
  348. package/dist/index270.js.map +1 -1
  349. package/dist/index271.js +19 -3
  350. package/dist/index271.js.map +1 -1
  351. package/dist/index272.js +12 -23
  352. package/dist/index272.js.map +1 -1
  353. package/dist/index273.js +19 -111
  354. package/dist/index273.js.map +1 -1
  355. package/dist/index274.js +5 -16
  356. package/dist/index274.js.map +1 -1
  357. package/dist/index275.js +3 -525
  358. package/dist/index275.js.map +1 -1
  359. package/dist/index276.js +23 -127
  360. package/dist/index276.js.map +1 -1
  361. package/dist/index277.js +108 -129
  362. package/dist/index277.js.map +1 -1
  363. package/dist/index278.js +15 -4
  364. package/dist/index278.js.map +1 -1
  365. package/dist/index279.js +523 -17
  366. package/dist/index279.js.map +1 -1
  367. package/dist/index280.js +127 -12
  368. package/dist/index280.js.map +1 -1
  369. package/dist/index281.js +133 -20
  370. package/dist/index281.js.map +1 -1
  371. package/dist/index282.js +6 -69
  372. package/dist/index282.js.map +1 -1
  373. package/dist/index283.js +6 -9
  374. package/dist/index283.js.map +1 -1
  375. package/dist/index284.js +4 -14
  376. package/dist/index284.js.map +1 -1
  377. package/dist/index285.js +15 -65
  378. package/dist/index285.js.map +1 -1
  379. package/dist/index286.js +8 -64
  380. package/dist/index286.js.map +1 -1
  381. package/dist/index287.js +5 -5
  382. package/dist/index287.js.map +1 -1
  383. package/dist/index288.js +4 -5
  384. package/dist/index288.js.map +1 -1
  385. package/dist/index289.js +546 -4
  386. package/dist/index289.js.map +1 -1
  387. package/dist/index290.js +47 -16
  388. package/dist/index290.js.map +1 -1
  389. package/dist/index291.js +17 -8
  390. package/dist/index291.js.map +1 -1
  391. package/dist/index292.js +6 -5
  392. package/dist/index292.js.map +1 -1
  393. package/dist/index293.js +8 -4
  394. package/dist/index293.js.map +1 -1
  395. package/dist/index294.js +7 -545
  396. package/dist/index294.js.map +1 -1
  397. package/dist/index295.js +9 -47
  398. package/dist/index295.js.map +1 -1
  399. package/dist/index296.js +12 -17
  400. package/dist/index296.js.map +1 -1
  401. package/dist/index297.js +9 -6
  402. package/dist/index297.js.map +1 -1
  403. package/dist/index298.js +13 -8
  404. package/dist/index298.js.map +1 -1
  405. package/dist/index299.js +64 -7
  406. package/dist/index299.js.map +1 -1
  407. package/dist/index300.js +69 -9
  408. package/dist/index300.js.map +1 -1
  409. package/dist/index301.js +9 -13
  410. package/dist/index301.js.map +1 -1
  411. package/dist/index302.js +14 -10
  412. package/dist/index302.js.map +1 -1
  413. package/dist/index303.js +66 -14
  414. package/dist/index303.js.map +1 -1
  415. package/dist/index304.js +4 -3
  416. package/dist/index304.js.map +1 -1
  417. package/dist/index305.js +56 -23
  418. package/dist/index305.js.map +1 -1
  419. package/dist/index306.js +68 -5
  420. package/dist/index306.js.map +1 -1
  421. package/dist/index307.js +30 -55
  422. package/dist/index307.js.map +1 -1
  423. package/dist/index308.js +9 -68
  424. package/dist/index308.js.map +1 -1
  425. package/dist/index309.js +148 -26
  426. package/dist/index309.js.map +1 -1
  427. package/dist/index31.js +5 -5
  428. package/dist/index310.js +108 -9
  429. package/dist/index310.js.map +1 -1
  430. package/dist/index311.js +4 -153
  431. package/dist/index311.js.map +1 -1
  432. package/dist/index312.js +23 -108
  433. package/dist/index312.js.map +1 -1
  434. package/dist/index313.js +15 -22
  435. package/dist/index313.js.map +1 -1
  436. package/dist/index314.js +28 -12
  437. package/dist/index314.js.map +1 -1
  438. package/dist/index315.js +12 -27
  439. package/dist/index315.js.map +1 -1
  440. package/dist/index316.js +7 -5
  441. package/dist/index316.js.map +1 -1
  442. package/dist/index317.js +22 -15
  443. package/dist/index317.js.map +1 -1
  444. package/dist/index318.js +12 -28
  445. package/dist/index318.js.map +1 -1
  446. package/dist/index319.js +27 -12
  447. package/dist/index319.js.map +1 -1
  448. package/dist/index32.js +24 -24
  449. package/dist/index320.js +5 -7
  450. package/dist/index320.js.map +1 -1
  451. package/dist/index33.js +3 -3
  452. package/dist/index40.js +2 -2
  453. package/dist/index41.js +20 -20
  454. package/dist/index45.js +1 -1
  455. package/dist/index46.js +1 -1
  456. package/dist/index49.js +1 -1
  457. package/dist/index50.js +1 -1
  458. package/dist/index51.js +2 -205
  459. package/dist/index51.js.map +1 -1
  460. package/dist/index52.js +2 -7
  461. package/dist/index52.js.map +1 -1
  462. package/dist/index53.js +2 -34
  463. package/dist/index53.js.map +1 -1
  464. package/dist/index54.js +2 -27
  465. package/dist/index54.js.map +1 -1
  466. package/dist/index55.js +6 -7
  467. package/dist/index55.js.map +1 -1
  468. package/dist/index56.js +33 -11
  469. package/dist/index56.js.map +1 -1
  470. package/dist/index57.js +26 -3
  471. package/dist/index57.js.map +1 -1
  472. package/dist/index58.js +7 -47
  473. package/dist/index58.js.map +1 -1
  474. package/dist/index59.js +10 -49
  475. package/dist/index59.js.map +1 -1
  476. package/dist/index60.js +205 -8
  477. package/dist/index60.js.map +1 -1
  478. package/dist/index61.js +3 -14
  479. package/dist/index61.js.map +1 -1
  480. package/dist/index62.js +43 -129
  481. package/dist/index62.js.map +1 -1
  482. package/dist/index63.js +50 -10
  483. package/dist/index63.js.map +1 -1
  484. package/dist/index64.js +7 -216
  485. package/dist/index64.js.map +1 -1
  486. package/dist/index65.js +15 -13
  487. package/dist/index65.js.map +1 -1
  488. package/dist/index66.js +128 -41
  489. package/dist/index66.js.map +1 -1
  490. package/dist/index67.js +9 -48
  491. package/dist/index67.js.map +1 -1
  492. package/dist/index68.js +216 -3
  493. package/dist/index68.js.map +1 -1
  494. package/dist/index69.js +13 -6
  495. package/dist/index69.js.map +1 -1
  496. package/dist/index70.js +46 -27
  497. package/dist/index70.js.map +1 -1
  498. package/dist/index71.js +50 -50
  499. package/dist/index71.js.map +1 -1
  500. package/dist/index72.js +4 -9
  501. package/dist/index72.js.map +1 -1
  502. package/dist/index73.js +6 -2
  503. package/dist/index73.js.map +1 -1
  504. package/dist/index74.js +28 -2
  505. package/dist/index74.js.map +1 -1
  506. package/dist/index75.js +50 -2
  507. package/dist/index75.js.map +1 -1
  508. package/dist/index76.js +9 -2
  509. package/dist/index76.js.map +1 -1
  510. package/dist/index77.js +1 -1
  511. package/dist/index78.js +2 -2
  512. package/dist/index79.js +2 -2
  513. package/dist/index80.js +52 -606
  514. package/dist/index80.js.map +1 -1
  515. package/dist/index81.js +4 -46
  516. package/dist/index81.js.map +1 -1
  517. package/dist/index82.js +4 -46
  518. package/dist/index82.js.map +1 -1
  519. package/dist/index83.js +15 -205
  520. package/dist/index83.js.map +1 -1
  521. package/dist/index84.js +6 -22
  522. package/dist/index84.js.map +1 -1
  523. package/dist/index85.js +7 -24
  524. package/dist/index85.js.map +1 -1
  525. package/dist/index86.js +16 -399
  526. package/dist/index86.js.map +1 -1
  527. package/dist/index87.js +5 -52
  528. package/dist/index87.js.map +1 -1
  529. package/dist/index88.js +4 -4
  530. package/dist/index88.js.map +1 -1
  531. package/dist/index89.js +5 -4
  532. package/dist/index89.js.map +1 -1
  533. package/dist/index90.js +5 -15
  534. package/dist/index90.js.map +1 -1
  535. package/dist/index91.js +3 -4
  536. package/dist/index91.js.map +1 -1
  537. package/dist/index92.js +3 -6
  538. package/dist/index92.js.map +1 -1
  539. package/dist/index93.js +5 -15
  540. package/dist/index93.js.map +1 -1
  541. package/dist/index94.js +24 -4
  542. package/dist/index94.js.map +1 -1
  543. package/dist/index95.js +6 -4
  544. package/dist/index95.js.map +1 -1
  545. package/dist/index96.js +4 -5
  546. package/dist/index96.js.map +1 -1
  547. package/dist/index97.js +6 -5
  548. package/dist/index97.js.map +1 -1
  549. package/dist/index98.js +4 -3
  550. package/dist/index98.js.map +1 -1
  551. package/dist/index99.js +4 -4
  552. package/dist/index99.js.map +1 -1
  553. package/package.json +6 -6
package/dist/index159.js CHANGED
@@ -1,72 +1,173 @@
1
- import m from "./index254.js";
2
- import p from "./index255.js";
3
- import y from "./index253.js";
4
- import b from "./index172.js";
5
- import l from "./index245.js";
6
- function i(e) {
7
- "@babel/helpers - typeof";
8
- return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
9
- return typeof r;
10
- } : function(r) {
11
- return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
12
- }, i(e);
1
+ import w from "./index240.js";
2
+ function p(r, e) {
3
+ var t = typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
4
+ if (t) return (t = t.call(r)).next.bind(t);
5
+ if (Array.isArray(r) || (t = S(r)) || e) {
6
+ t && (r = t);
7
+ var n = 0;
8
+ return function() {
9
+ return n >= r.length ? { done: !0 } : { done: !1, value: r[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.`);
13
14
  }
14
- function c(e, r) {
15
- var t = Object.keys(e);
16
- if (Object.getOwnPropertySymbols) {
17
- var o = Object.getOwnPropertySymbols(e);
18
- r && (o = o.filter(function(n) {
19
- return Object.getOwnPropertyDescriptor(e, n).enumerable;
20
- })), t.push.apply(t, o);
15
+ function S(r, e) {
16
+ if (r) {
17
+ if (typeof r == "string") return v(r, e);
18
+ var t = {}.toString.call(r).slice(8, -1);
19
+ return t === "Object" && r.constructor && (t = r.constructor.name), t === "Map" || t === "Set" ? Array.from(r) : t === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? v(r, e) : void 0;
21
20
  }
22
- return t;
23
21
  }
24
- function f(e) {
25
- for (var r = 1; r < arguments.length; r++) {
26
- var t = arguments[r] != null ? arguments[r] : {};
27
- r % 2 ? c(Object(t), !0).forEach(function(o) {
28
- s(e, o, t[o]);
29
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : c(Object(t)).forEach(function(o) {
30
- Object.defineProperty(e, o, Object.getOwnPropertyDescriptor(t, o));
31
- });
22
+ function v(r, e) {
23
+ (e == null || e > r.length) && (e = r.length);
24
+ for (var t = 0, n = Array(e); t < e; t++) n[t] = r[t];
25
+ return n;
26
+ }
27
+ function f(r) {
28
+ "@babel/helpers - typeof";
29
+ return f = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
30
+ return typeof e;
31
+ } : function(e) {
32
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
33
+ }, f(r);
34
+ }
35
+ function C(r, e) {
36
+ if (!(r instanceof e)) throw new TypeError("Cannot call a class as a function");
37
+ }
38
+ function P(r, e) {
39
+ for (var t = 0; t < e.length; t++) {
40
+ var n = e[t];
41
+ n.enumerable = n.enumerable || !1, n.configurable = !0, "value" in n && (n.writable = !0), Object.defineProperty(r, O(n.key), n);
32
42
  }
33
- return e;
34
43
  }
35
- function s(e, r, t) {
36
- return (r = g(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e;
44
+ function A(r, e, t) {
45
+ return e && P(r.prototype, e), Object.defineProperty(r, "prototype", { writable: !1 }), r;
37
46
  }
38
- function g(e) {
39
- var r = O(e, "string");
40
- return i(r) == "symbol" ? r : r + "";
47
+ function O(r) {
48
+ var e = M(r, "string");
49
+ return f(e) == "symbol" ? e : e + "";
41
50
  }
42
- function O(e, r) {
43
- if (i(e) != "object" || !e) return e;
44
- var t = e[Symbol.toPrimitive];
51
+ function M(r, e) {
52
+ if (f(r) != "object" || !r) return r;
53
+ var t = r[Symbol.toPrimitive];
45
54
  if (t !== void 0) {
46
- var o = t.call(e, r);
47
- if (i(o) != "object") return o;
55
+ var n = t.call(r, e);
56
+ if (f(n) != "object") return n;
48
57
  throw new TypeError("@@toPrimitive must return a primitive value.");
49
58
  }
50
- return (r === "string" ? String : Number)(e);
59
+ return String(r);
51
60
  }
52
- function h() {
53
- var e = m(arguments), r = e.text, t = e.options, o = e.metadata;
54
- t = f(f({}, t), {}, {
55
- extract: !1
56
- });
57
- try {
58
- var n = p(r, t, o);
59
- o = new b(o), o.selectNumberingPlan(n.countryCallingCode);
60
- var u = l(n.nationalNumber, n.country, o);
61
- if (u !== "IS_POSSIBLE")
62
- return u;
63
- } catch (a) {
64
- if (a instanceof y)
65
- return a.message;
66
- throw a;
61
+ var E = /* @__PURE__ */ (function() {
62
+ function r(e) {
63
+ C(this, r), this.matchTree = new w().parse(e);
64
+ }
65
+ return A(r, [{
66
+ key: "match",
67
+ value: function(t) {
68
+ var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = n.allowOverflow;
69
+ if (!t)
70
+ throw new Error("String is required");
71
+ var o = l(t.split(""), this.matchTree, !0);
72
+ if (o && o.match && delete o.matchedChars, !(o && o.overflow && !i))
73
+ return o;
74
+ }
75
+ }]);
76
+ })();
77
+ function l(r, e, t) {
78
+ if (typeof e == "string") {
79
+ var n = r.join("");
80
+ return e.indexOf(n) === 0 ? r.length === e.length ? {
81
+ match: !0,
82
+ matchedChars: r
83
+ } : {
84
+ partialMatch: !0
85
+ // matchedChars: characters
86
+ } : n.indexOf(e) === 0 ? t && r.length > e.length ? {
87
+ overflow: !0
88
+ } : {
89
+ match: !0,
90
+ matchedChars: r.slice(0, e.length)
91
+ } : void 0;
92
+ }
93
+ if (Array.isArray(e)) {
94
+ for (var i = r.slice(), o = 0; o < e.length; ) {
95
+ var s = e[o], a = l(i, s, t && o === e.length - 1);
96
+ if (a) {
97
+ if (a.overflow)
98
+ return a;
99
+ if (a.match) {
100
+ if (i = i.slice(a.matchedChars.length), i.length === 0)
101
+ return o === e.length - 1 ? {
102
+ match: !0,
103
+ matchedChars: r
104
+ } : {
105
+ partialMatch: !0
106
+ // matchedChars: characters
107
+ };
108
+ } else {
109
+ if (a.partialMatch)
110
+ return {
111
+ partialMatch: !0
112
+ // matchedChars: characters
113
+ };
114
+ throw new Error(`Unsupported match result:
115
+ `.concat(JSON.stringify(a, null, 2)));
116
+ }
117
+ } else return;
118
+ o++;
119
+ }
120
+ return t ? {
121
+ overflow: !0
122
+ } : {
123
+ match: !0,
124
+ matchedChars: r.slice(0, r.length - i.length)
125
+ };
126
+ }
127
+ switch (e.op) {
128
+ case "|":
129
+ for (var c, d = p(e.args), h; !(h = d()).done; ) {
130
+ var g = h.value, u = l(r, g, t);
131
+ if (u) {
132
+ if (u.overflow)
133
+ return u;
134
+ if (u.match)
135
+ return {
136
+ match: !0,
137
+ matchedChars: u.matchedChars
138
+ };
139
+ if (u.partialMatch)
140
+ c = !0;
141
+ else
142
+ throw new Error(`Unsupported match result:
143
+ `.concat(JSON.stringify(u, null, 2)));
144
+ }
145
+ }
146
+ return c ? {
147
+ partialMatch: !0
148
+ // matchedChars: ...
149
+ } : void 0;
150
+ case "[]":
151
+ for (var b = p(e.args), m; !(m = b()).done; ) {
152
+ var y = m.value;
153
+ if (r[0] === y)
154
+ return r.length === 1 ? {
155
+ match: !0,
156
+ matchedChars: r
157
+ } : t ? {
158
+ overflow: !0
159
+ } : {
160
+ match: !0,
161
+ matchedChars: [y]
162
+ };
163
+ }
164
+ return;
165
+ /* istanbul ignore next */
166
+ default:
167
+ throw new Error("Unsupported instruction tree: ".concat(e));
67
168
  }
68
169
  }
69
170
  export {
70
- h as default
171
+ E as default
71
172
  };
72
173
  //# sourceMappingURL=index159.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index159.js","sources":["../../../node_modules/libphonenumber-js/es6/validatePhoneNumberLength.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 normalizeArguments from './normalizeArguments.js';\nimport parsePhoneNumberWithError from './parsePhoneNumberWithError_.js';\nimport ParseError from './ParseError.js';\nimport Metadata from './metadata.js';\nimport checkNumberLength from './helpers/checkNumberLength.js';\nexport default function validatePhoneNumberLength() {\n var _normalizeArguments = normalizeArguments(arguments),\n text = _normalizeArguments.text,\n options = _normalizeArguments.options,\n metadata = _normalizeArguments.metadata;\n options = _objectSpread(_objectSpread({}, options), {}, {\n extract: false\n });\n\n // Parse phone number.\n try {\n var phoneNumber = parsePhoneNumberWithError(text, options, metadata);\n metadata = new Metadata(metadata);\n metadata.selectNumberingPlan(phoneNumber.countryCallingCode);\n var result = checkNumberLength(phoneNumber.nationalNumber, phoneNumber.country, metadata);\n if (result !== 'IS_POSSIBLE') {\n return result;\n }\n } catch (error) {\n /* istanbul ignore else */\n if (error instanceof ParseError) {\n return error.message;\n } else {\n throw error;\n }\n }\n}\n//# sourceMappingURL=validatePhoneNumberLength.js.map"],"names":["_typeof","o","ownKeys","r","_objectSpread","_defineProperty","_toPropertyKey","t","i","_toPrimitive","e","validatePhoneNumberLength","_normalizeArguments","normalizeArguments","text","options","metadata","phoneNumber","parsePhoneNumberWithError","Metadata","result","checkNumberLength","error","ParseError"],"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,EAAQ,GAAG,GAAG;AAAE,MAAI,IAAI,OAAO,KAAK,CAAC;AAAG,MAAI,OAAO,uBAAuB;AAAE,QAAI,IAAI,OAAO,sBAAsB,CAAC;AAAG,UAAM,IAAI,EAAE,OAAO,SAAUC,GAAG;AAAE,aAAO,OAAO,yBAAyB,G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UAAU,8CAA8C;AAAA,EAAG;AAAE,UAAqB,MAAb,WAAiB,SAAS,QAAQD,CAAC;AAAG;AAM5S,SAASI,IAA4B;AAClD,MAAIC,IAAsBC,EAAmB,SAAS,GACpDC,IAAOF,EAAoB,MAC3BG,IAAUH,EAAoB,SAC9BI,IAAWJ,EAAoB;AACjC,EAAAG,IAAUX,EAAcA,EAAc,CAAA,GAAIW,CAAO,GAAG,CAAA,GAAI;AAAA,IACtD,SAAS;AAAA,EACb,CAAG;AAGD,MAAI;AACF,QAAIE,IAAcC,EAA0BJ,GAAMC,GAASC,CAAQ;AACnE,IAAAA,IAAW,IAAIG,EAASH,CAAQ,GAChCA,EAAS,oBAAoBC,EAAY,kBAAkB;AAC3D,QAAIG,IAASC,EAAkBJ,EAAY,gBAAgBA,EAAY,SAASD,CAAQ;AACxF,QAAII,MAAW;AACb,aAAOA;AAAA,EAEX,SAASE,GAAO;AAEd,QAAIA,aAAiBC;AACnB,aAAOD,EAAM;AAEb,UAAMA;AAAA,EAEV;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index159.js","sources":["../../../node_modules/libphonenumber-js/es6/AsYouTypeFormatter.PatternMatcher.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; }\nfunction _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 _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), 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 PatternParser from './AsYouTypeFormatter.PatternParser.js';\nvar PatternMatcher = /*#__PURE__*/function () {\n function PatternMatcher(pattern) {\n _classCallCheck(this, PatternMatcher);\n this.matchTree = new PatternParser().parse(pattern);\n }\n return _createClass(PatternMatcher, [{\n key: \"match\",\n value: function match(string) {\n var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n allowOverflow = _ref.allowOverflow;\n if (!string) {\n throw new Error('String is required');\n }\n var result = _match(string.split(''), this.matchTree, true);\n if (result && result.match) {\n delete result.matchedChars;\n }\n if (result && result.overflow) {\n if (!allowOverflow) {\n return;\n }\n }\n return result;\n }\n }]);\n}();\n/**\r\n * Matches `characters` against a pattern compiled into a `tree`.\r\n * @param {string[]} characters\r\n * @param {Tree} tree — A pattern compiled into a `tree`. See the `*.d.ts` file for the description of the `tree` structure.\r\n * @param {boolean} last — Whether it's the last (rightmost) subtree on its level of the match tree.\r\n * @return {object} See the `*.d.ts` file for the description of the result object.\r\n */\nexport { PatternMatcher as default };\nfunction _match(characters, tree, last) {\n // If `tree` is a string, then `tree` is a single character.\n // That's because when a pattern is parsed, multi-character-string parts\n // of a pattern are compiled into arrays of single characters.\n // I still wrote this piece of code for a \"general\" hypothetical case\n // when `tree` could be a string of several characters, even though\n // such case is not possible with the current implementation.\n if (typeof tree === 'string') {\n var characterString = characters.join('');\n if (tree.indexOf(characterString) === 0) {\n // `tree` is always a single character.\n // If `tree.indexOf(characterString) === 0`\n // then `characters.length === tree.length`.\n /* istanbul ignore else */\n if (characters.length === tree.length) {\n return {\n match: true,\n matchedChars: characters\n };\n }\n // `tree` is always a single character.\n // If `tree.indexOf(characterString) === 0`\n // then `characters.length === tree.length`.\n /* istanbul ignore next */\n return {\n partialMatch: true\n // matchedChars: characters\n };\n }\n if (characterString.indexOf(tree) === 0) {\n if (last) {\n // The `else` path is not possible because `tree` is always a single character.\n // The `else` case for `characters.length > tree.length` would be\n // `characters.length <= tree.length` which means `characters.length <= 1`.\n // `characters` array can't be empty, so that means `characters === [tree]`,\n // which would also mean `tree.indexOf(characterString) === 0` and that'd mean\n // that the `if (tree.indexOf(characterString) === 0)` condition before this\n // `if` condition would be entered, and returned from there, not reaching this code.\n /* istanbul ignore else */\n if (characters.length > tree.length) {\n return {\n overflow: true\n };\n }\n }\n return {\n match: true,\n matchedChars: characters.slice(0, tree.length)\n };\n }\n return;\n }\n if (Array.isArray(tree)) {\n var restCharacters = characters.slice();\n var i = 0;\n while (i < tree.length) {\n var subtree = tree[i];\n var result = _match(restCharacters, subtree, last && i === tree.length - 1);\n if (!result) {\n return;\n } else if (result.overflow) {\n return result;\n } else if (result.match) {\n // Continue with the next subtree with the rest of the characters.\n restCharacters = restCharacters.slice(result.matchedChars.length);\n if (restCharacters.length === 0) {\n if (i === tree.length - 1) {\n return {\n match: true,\n matchedChars: characters\n };\n } else {\n return {\n partialMatch: true\n // matchedChars: characters\n };\n }\n }\n } else {\n /* istanbul ignore else */\n if (result.partialMatch) {\n return {\n partialMatch: true\n // matchedChars: characters\n };\n } else {\n throw new Error(\"Unsupported match result:\\n\".concat(JSON.stringify(result, null, 2)));\n }\n }\n i++;\n }\n // If `last` then overflow has already been checked\n // by the last element of the `tree` array.\n /* istanbul ignore if */\n if (last) {\n return {\n overflow: true\n };\n }\n return {\n match: true,\n matchedChars: characters.slice(0, characters.length - restCharacters.length)\n };\n }\n switch (tree.op) {\n case '|':\n var partialMatch;\n for (var _iterator = _createForOfIteratorHelperLoose(tree.args), _step; !(_step = _iterator()).done;) {\n var branch = _step.value;\n var _result = _match(characters, branch, last);\n if (_result) {\n if (_result.overflow) {\n return _result;\n } else if (_result.match) {\n return {\n match: true,\n matchedChars: _result.matchedChars\n };\n } else {\n /* istanbul ignore else */\n if (_result.partialMatch) {\n partialMatch = true;\n } else {\n throw new Error(\"Unsupported match result:\\n\".concat(JSON.stringify(_result, null, 2)));\n }\n }\n }\n }\n if (partialMatch) {\n return {\n partialMatch: true\n // matchedChars: ...\n };\n }\n // Not even a partial match.\n return;\n case '[]':\n for (var _iterator2 = _createForOfIteratorHelperLoose(tree.args), _step2; !(_step2 = _iterator2()).done;) {\n var _char = _step2.value;\n if (characters[0] === _char) {\n if (characters.length === 1) {\n return {\n match: true,\n matchedChars: characters\n };\n }\n if (last) {\n return {\n overflow: true\n };\n }\n return {\n match: true,\n matchedChars: [_char]\n };\n }\n }\n // No character matches.\n return;\n\n /* istanbul ignore next */\n default:\n throw new Error(\"Unsupported instruction tree: \".concat(tree));\n }\n}\n//# sourceMappingURL=AsYouTypeFormatter.PatternMatcher.js.map"],"names":["_createForOfIteratorHelperLoose","_unsupportedIterableToArray","o","a","_arrayLikeToArray","e","_typeof","_classCallCheck","n","_defineProperties","r","_toPropertyKey","_createClass","t","i","_toPrimitive","PatternMatcher","pattern","PatternParser","string","_ref","allowOverflow","result","_match","characters","tree","last","characterString","restCharacters","subtree","partialMatch","_iterator","_step","branch","_result","_iterator2","_step2","_char"],"mappings":";AAAA,SAASA,EAAgC,GAAG,GAAG;AAAE,MAAI,IAAmB,OAAO,SAAtB,OAAgC,EAAE,OAAO,QAAQ,KAAK,EAAE,YAAY;AAAG,MAAI,EAAG,SAAQ,IAAI,EAAE,KAAK,CAAC,GAAG,KAAK,KAAK,CAAC;AAAG,MAAI,MAAM,QAAQ,CAAC,MAAM,IAAIC,EAA4B,CAAC,MAAM,GAAuC;AAAE,UAAM,IAAI;AAAI,QAAIC,IAAI;AAAG,WAAO,WAAY;AAAE,aAAOA,KAAK,EAAE,SAAS,EAAE,MAAM,GAAE,IAAK,EAAE,MAAM,IAAI,OAAO,EAAEA,GAAG,EAAC;AAAA,IAAI;AAAA,EAAG;AAAE,QAAM,IAAI,UAAU;AAAA,mFAAuI;AAAG;AACziB,SAASD,EAA4B,GAAGE,GAAG;AAAE,MAAI,GAAG;AAAE,QAAgB,OAAO,KAAnB,SAAsB,QAAOC,EAAkB,GAAGD,CAAC;AAAG,QAAI,IAAI,CAAA,EAAG,SAAS,KAAK,CAAC,EAAE,MAAM,GAAG,EAAE;AAAG,WAAoB,MAAb,YAAkB,EAAE,gBAAgB,IAAI,EAAE,YAAY,OAAiB,MAAV,SAAyB,MAAV,QAAc,MAAM,KAAK,CAAC,IAAoB,MAAhB,eAAqB,2CAA2C,KAAK,CAAC,IAAIC,EAAkB,GAAGD,CAAC,IAAI;AAAA,EAAQ;AAAE;AACzX,SAASC,EAAkB,GAAGD,GAAG;AAAE,GAASA,KAAR,QAAaA,IAAI,EAAE,YAAYA,IAAI,EAAE;AAAS,WAASE,IAA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