@justifi/webcomponents 4.7.1-rc.0 → 4.7.2-rc.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 (748) hide show
  1. package/dist/cjs/Api-548eaa62.js +0 -2
  2. package/dist/cjs/Pagination-cae1dcbd.js +0 -2
  3. package/dist/cjs/{Payout-68a99ee3.js → Payout-f8240e9c.js} +49 -3
  4. package/dist/cjs/SubAccount-f47c8522.js +0 -2
  5. package/dist/cjs/additional-questions-details_5.cjs.entry.js +2 -4
  6. package/dist/cjs/business-form-schema-fe831c30.js +0 -2
  7. package/dist/cjs/config-a156df17.js +0 -2
  8. package/dist/cjs/form-1e732a9d.js +0 -2
  9. package/dist/cjs/form-control-datepart_2.cjs.entry.js +1 -3
  10. package/dist/cjs/form-control-monetary.cjs.entry.js +0 -2
  11. package/dist/cjs/form-control-number_3.cjs.entry.js +0 -2
  12. package/dist/cjs/helpers-c505d861.js +0 -2
  13. package/dist/cjs/index-5a880722.js +0 -2
  14. package/dist/cjs/index-c5ace247.js +0 -2
  15. package/dist/cjs/index.cjs.js +0 -2
  16. package/dist/cjs/index.esm-91ec051e.js +0 -2
  17. package/dist/cjs/justifi-additional-questions_6.cjs.entry.js +0 -2
  18. package/dist/cjs/justifi-bank-account-form.cjs.entry.js +0 -2
  19. package/dist/cjs/justifi-billing-form_2.cjs.entry.js +0 -2
  20. package/dist/cjs/justifi-business-details.cjs.entry.js +16 -14
  21. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +7 -3
  22. package/dist/cjs/justifi-business-form.cjs.entry.js +1 -3
  23. package/dist/cjs/justifi-business-list.cjs.entry.js +1 -3
  24. package/dist/cjs/justifi-card-form.cjs.entry.js +0 -2
  25. package/dist/cjs/justifi-details.cjs.entry.js +0 -2
  26. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +22 -12
  27. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +1 -3
  28. package/dist/cjs/justifi-payment-details.cjs.entry.js +20 -13
  29. package/dist/cjs/justifi-payment-form.cjs.entry.js +16 -8
  30. package/dist/cjs/justifi-payment-method-form.cjs.entry.js +4 -4
  31. package/dist/cjs/justifi-payments-list.cjs.entry.js +22 -25
  32. package/dist/cjs/justifi-payout-details.cjs.entry.js +19 -13
  33. package/dist/cjs/justifi-payouts-list.cjs.entry.js +21 -13
  34. package/dist/cjs/justifi-proceeds-list.cjs.entry.js +1 -3
  35. package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -3
  36. package/dist/cjs/justifi-subaccount-details.cjs.entry.js +3 -7
  37. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +1 -3
  38. package/dist/cjs/justifi-table_2.cjs.entry.js +4 -6
  39. package/dist/cjs/loader.cjs.js +1 -3
  40. package/dist/cjs/select-input_2.cjs.entry.js +0 -2
  41. package/dist/cjs/state-options-83b52cd1.js +0 -2
  42. package/dist/cjs/subaccount-account-details_4.cjs.entry.js +0 -2
  43. package/dist/cjs/subaccount-bank-details.cjs.entry.js +0 -2
  44. package/dist/cjs/subaccount-terms-details.cjs.entry.js +0 -2
  45. package/dist/cjs/utils-13d069be.js +0 -2
  46. package/dist/cjs/utils-4622829d.js +0 -2
  47. package/dist/cjs/webcomponents.cjs.js +1 -3
  48. package/dist/collection/api/Api.js +0 -1
  49. package/dist/collection/api/Business.js +0 -1
  50. package/dist/collection/api/GrossVolume.js +0 -1
  51. package/dist/collection/api/Pagination.js +0 -1
  52. package/dist/collection/api/Payment.js +49 -2
  53. package/dist/collection/api/Payout.js +0 -1
  54. package/dist/collection/api/Proceed.js +0 -1
  55. package/dist/collection/api/SubAccount.js +0 -1
  56. package/dist/collection/api/index.js +0 -1
  57. package/dist/collection/api/mockData/MockOnboardingData.js +0 -1
  58. package/dist/collection/api/mockData/MockPayments.js +21 -22
  59. package/dist/collection/api/mockData/MockSubAccount.js +0 -1
  60. package/dist/collection/api/mockData/mockGrossVolumeReport.js +0 -1
  61. package/dist/collection/api/shared.js +0 -1
  62. package/dist/collection/components/bank-account-form/bank-account-form.js +0 -1
  63. package/dist/collection/components/bank-account-form/bank-account-form.stories.js +8 -1
  64. package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js +0 -1
  65. package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js +0 -1
  66. package/dist/collection/components/billing-form/billing-form-schema.js +0 -1
  67. package/dist/collection/components/billing-form/billing-form.js +0 -1
  68. package/dist/collection/components/billing-form/billing-form.stories.js +0 -1
  69. package/dist/collection/components/billing-form/state-options.js +0 -1
  70. package/dist/collection/components/billing-form/test/billing-form.spec.js +0 -1
  71. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js +0 -1
  72. package/dist/collection/components/business-details/business-details.js +16 -13
  73. package/dist/collection/components/business-details/business-details.stories.js +0 -1
  74. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js +0 -1
  75. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js +0 -1
  76. package/dist/collection/components/business-details/owner-details/owner-details.js +0 -1
  77. package/dist/collection/components/business-details/representative-details/representative-details.js +2 -3
  78. package/dist/collection/components/business-form/additional-questions/additional-questions.js +0 -1
  79. package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -1
  80. package/dist/collection/components/business-form/business-address/business-address-form.js +0 -1
  81. package/dist/collection/components/business-form/business-address/test/business-address.e2e.js +0 -1
  82. package/dist/collection/components/business-form/business-address/test/business-address.spec.js +0 -1
  83. package/dist/collection/components/business-form/business-form-example.js +12 -0
  84. package/dist/collection/components/business-form/business-form-schema.js +0 -1
  85. package/dist/collection/components/business-form/business-form-stepped-example.js +12 -0
  86. package/dist/collection/components/business-form/business-form-stepped.js +24 -1
  87. package/dist/collection/components/business-form/business-form-stepped.stories.js +1 -1
  88. package/dist/collection/components/business-form/business-form.js +0 -1
  89. package/dist/collection/components/business-form/business-form.stories.js +0 -1
  90. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -1
  91. package/dist/collection/components/business-form/business-owners/business-owners.js +0 -1
  92. package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
  93. package/dist/collection/components/business-form/business-representative/business-representative.js +0 -1
  94. package/dist/collection/components/business-form/helpers.js +0 -1
  95. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -1
  96. package/dist/collection/components/business-form/legal-address-form/legal-address-form.js +0 -1
  97. package/dist/collection/components/business-form/test/business-form.spec.js +0 -1
  98. package/dist/collection/components/business-list/business-list.js +0 -1
  99. package/dist/collection/components/business-list/business-list.stories.js +0 -1
  100. package/dist/collection/components/card-form/card-form.js +0 -1
  101. package/dist/collection/components/card-form/card-form.stories.js +8 -1
  102. package/dist/collection/components/card-form/test/card-form.e2e.js +0 -1
  103. package/dist/collection/components/card-form/test/card-form.spec.js +0 -1
  104. package/dist/collection/components/details/details.js +0 -1
  105. package/dist/collection/components/details/utils.js +0 -1
  106. package/dist/collection/components/form/form-control-datepart.js +1 -2
  107. package/dist/collection/components/form/form-control-monetary.js +0 -1
  108. package/dist/collection/components/form/form-control-number-masked.js +0 -1
  109. package/dist/collection/components/form/form-control-number.js +0 -1
  110. package/dist/collection/components/form/form-control-select.js +0 -1
  111. package/dist/collection/components/form/form-control-text.js +0 -1
  112. package/dist/collection/components/form/form.js +0 -1
  113. package/dist/collection/components/gross-payment-chart/chart-utils.js +0 -1
  114. package/dist/collection/components/gross-payment-chart/example.js +12 -0
  115. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +20 -9
  116. package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js +1 -2
  117. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +0 -1
  118. package/dist/collection/components/pagination-menu/pagination-menu.js +0 -1
  119. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js +0 -1
  120. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js +0 -1
  121. package/dist/collection/components/payment-details/payment-details.js +21 -13
  122. package/dist/collection/components/payment-details/payment-details.stories.js +0 -1
  123. package/dist/collection/components/payment-form/payment-form.js +16 -7
  124. package/dist/collection/components/payment-form/payment-form.stories.js +0 -1
  125. package/dist/collection/components/payment-form/payment-method-selector.js +0 -1
  126. package/dist/collection/components/payment-form/test/payment-form.e2e.js +0 -1
  127. package/dist/collection/components/payment-form/test/payment-form.spec.js +0 -1
  128. package/dist/collection/components/payment-form/tokenize.js +0 -1
  129. package/dist/collection/components/payment-method-form/get-computed-theme.js +0 -1
  130. package/dist/collection/components/payment-method-form/message-event-types.js +0 -1
  131. package/dist/collection/components/payment-method-form/payment-method-form.js +0 -1
  132. package/dist/collection/components/payment-method-form/payment-method-responses.js +0 -1
  133. package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js +0 -1
  134. package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js +0 -1
  135. package/dist/collection/components/payment-method-form/theme.js +0 -1
  136. package/dist/collection/components/payments-list/payments-list.js +21 -23
  137. package/dist/collection/components/payments-list/payments-list.stories.js +0 -1
  138. package/dist/collection/components/payments-list/test/payments-list.spec.js +0 -1
  139. package/dist/collection/components/payout-details/payout-details.js +19 -12
  140. package/dist/collection/components/payout-details/payout-details.stories.js +0 -1
  141. package/dist/collection/components/payouts-list/payouts-list.js +20 -11
  142. package/dist/collection/components/payouts-list/payouts-list.stories.js +0 -1
  143. package/dist/collection/components/proceeds-list/proceeds-list.js +0 -1
  144. package/dist/collection/components/proceeds-list/proceeds-list.stories.js +0 -1
  145. package/dist/collection/components/refund-form/refund-form-schema.js +0 -1
  146. package/dist/collection/components/refund-form/refund-form.js +0 -1
  147. package/dist/collection/components/refund-form/refund-form.stories.js +0 -1
  148. package/dist/collection/components/select-input/select-input.js +0 -1
  149. package/dist/collection/components/select-input/test/select-input.spec.js +0 -1
  150. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js +0 -1
  151. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js +0 -1
  152. package/dist/collection/components/subaccount-details/subaccount-details.js +2 -5
  153. package/dist/collection/components/subaccount-details/subaccount-details.stories.js +0 -1
  154. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js +0 -1
  155. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js +0 -1
  156. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js +0 -1
  157. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js +0 -1
  158. package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js +0 -1
  159. package/dist/collection/components/subaccounts-list/subaccounts-list.js +0 -1
  160. package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js +0 -1
  161. package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js +0 -1
  162. package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js +0 -1
  163. package/dist/collection/components/table/table.css +5 -0
  164. package/dist/collection/components/table/table.js +2 -3
  165. package/dist/collection/components/table/test/table.spec.js +0 -1
  166. package/dist/collection/components/text-input/test/text-input.spec.js +0 -1
  167. package/dist/collection/components/text-input/text-input.js +0 -1
  168. package/dist/collection/index.js +0 -1
  169. package/dist/collection/utils/country-options.js +0 -1
  170. package/dist/collection/utils/phone-masks.js +0 -1
  171. package/dist/collection/utils/utils.js +0 -1
  172. package/dist/components/Api.js +0 -2
  173. package/dist/components/Pagination.js +0 -2
  174. package/dist/components/Payout.js +50 -4
  175. package/dist/components/SubAccount.js +0 -2
  176. package/dist/components/additional-questions-details.js +0 -2
  177. package/dist/components/additional-questions-details2.js +0 -2
  178. package/dist/components/additional-questions.js +0 -2
  179. package/dist/components/billing-form.js +0 -2
  180. package/dist/components/business-address-form.js +0 -2
  181. package/dist/components/business-generic-info.js +0 -2
  182. package/dist/components/business-owners.js +0 -2
  183. package/dist/components/business-representative.js +0 -2
  184. package/dist/components/config.js +0 -2
  185. package/dist/components/details.js +0 -2
  186. package/dist/components/form-control-datepart.js +0 -2
  187. package/dist/components/form-control-datepart2.js +1 -3
  188. package/dist/components/form-control-monetary.js +0 -2
  189. package/dist/components/form-control-monetary2.js +0 -2
  190. package/dist/components/form-control-number-masked.js +0 -2
  191. package/dist/components/form-control-number-masked2.js +0 -2
  192. package/dist/components/form-control-number.js +0 -2
  193. package/dist/components/form-control-number2.js +0 -2
  194. package/dist/components/form-control-select.js +0 -2
  195. package/dist/components/form-control-select2.js +0 -2
  196. package/dist/components/form-control-text.js +0 -2
  197. package/dist/components/form-control-text2.js +0 -2
  198. package/dist/components/form.js +0 -2
  199. package/dist/components/generic-info-details.js +0 -2
  200. package/dist/components/generic-info-details2.js +0 -2
  201. package/dist/components/helpers.js +0 -2
  202. package/dist/components/index.esm.js +0 -2
  203. package/dist/components/index.js +0 -2
  204. package/dist/components/index2.js +0 -2
  205. package/dist/components/justifi-additional-questions.js +0 -2
  206. package/dist/components/justifi-bank-account-form.js +0 -2
  207. package/dist/components/justifi-billing-form.js +0 -2
  208. package/dist/components/justifi-business-address-form.js +0 -2
  209. package/dist/components/justifi-business-details.js +15 -13
  210. package/dist/components/justifi-business-form-stepped.js +7 -2
  211. package/dist/components/justifi-business-form.js +0 -2
  212. package/dist/components/justifi-business-generic-info.js +0 -2
  213. package/dist/components/justifi-business-list.js +0 -2
  214. package/dist/components/justifi-business-owners.js +0 -2
  215. package/dist/components/justifi-business-representative.js +0 -2
  216. package/dist/components/justifi-card-form.js +0 -2
  217. package/dist/components/justifi-details.js +0 -2
  218. package/dist/components/justifi-gross-payment-chart.js +21 -11
  219. package/dist/components/justifi-legal-address-form.js +0 -2
  220. package/dist/components/justifi-payment-balance-transactions.js +0 -2
  221. package/dist/components/justifi-payment-details.js +21 -14
  222. package/dist/components/justifi-payment-form.js +16 -8
  223. package/dist/components/justifi-payment-method-form.js +0 -2
  224. package/dist/components/justifi-payment-method-selector.js +0 -2
  225. package/dist/components/justifi-payments-list.js +22 -25
  226. package/dist/components/justifi-payout-details.js +19 -13
  227. package/dist/components/justifi-payouts-list.js +21 -13
  228. package/dist/components/justifi-proceeds-list.js +0 -2
  229. package/dist/components/justifi-refund-form.js +0 -2
  230. package/dist/components/justifi-subaccount-details.js +2 -6
  231. package/dist/components/justifi-subaccounts-list.js +0 -2
  232. package/dist/components/justifi-table.js +0 -2
  233. package/dist/components/legal-address-details.js +0 -2
  234. package/dist/components/legal-address-details2.js +0 -2
  235. package/dist/components/legal-address-form.js +0 -2
  236. package/dist/components/owner-details.js +0 -2
  237. package/dist/components/owner-details2.js +0 -2
  238. package/dist/components/pagination-menu.js +0 -2
  239. package/dist/components/pagination-menu2.js +1 -3
  240. package/dist/components/payment-method-form.js +4 -4
  241. package/dist/components/payment-method-selector.js +0 -2
  242. package/dist/components/phone-masks.js +0 -2
  243. package/dist/components/representative-details.js +0 -2
  244. package/dist/components/representative-details2.js +2 -4
  245. package/dist/components/select-input.js +0 -2
  246. package/dist/components/select-input2.js +0 -2
  247. package/dist/components/state-options.js +0 -2
  248. package/dist/components/subaccount-account-details.js +0 -2
  249. package/dist/components/subaccount-account-details2.js +0 -2
  250. package/dist/components/subaccount-bank-details.js +0 -2
  251. package/dist/components/subaccount-merchant-details.js +0 -2
  252. package/dist/components/subaccount-merchant-details2.js +0 -2
  253. package/dist/components/subaccount-owners-details.js +0 -2
  254. package/dist/components/subaccount-owners-details2.js +0 -2
  255. package/dist/components/subaccount-representative-details.js +0 -2
  256. package/dist/components/subaccount-representative-details2.js +0 -2
  257. package/dist/components/subaccount-terms-details.js +0 -2
  258. package/dist/components/table.js +3 -5
  259. package/dist/components/text-input.js +0 -2
  260. package/dist/components/text-input2.js +0 -2
  261. package/dist/components/utils.js +0 -2
  262. package/dist/components/utils2.js +0 -2
  263. package/dist/config.js +0 -1
  264. package/dist/esm/Api-c65d3ed8.js +0 -2
  265. package/dist/esm/Pagination-31f770d6.js +0 -2
  266. package/dist/esm/{Payout-fcf16887.js → Payout-586f06a3.js} +50 -4
  267. package/dist/esm/SubAccount-128190e9.js +0 -2
  268. package/dist/esm/additional-questions-details_5.entry.js +2 -4
  269. package/dist/esm/business-form-schema-30a3eadd.js +0 -2
  270. package/dist/esm/config-ceb0f902.js +0 -2
  271. package/dist/esm/form-32cf3d1e.js +0 -2
  272. package/dist/esm/form-control-datepart_2.entry.js +1 -3
  273. package/dist/esm/form-control-monetary.entry.js +0 -2
  274. package/dist/esm/form-control-number_3.entry.js +0 -2
  275. package/dist/esm/helpers-1d5ecdc8.js +0 -2
  276. package/dist/esm/index-5ed53c20.js +0 -2
  277. package/dist/esm/index-7471ed60.js +0 -2
  278. package/dist/esm/index.esm-9397ffa0.js +0 -2
  279. package/dist/esm/index.js +0 -2
  280. package/dist/esm/justifi-additional-questions_6.entry.js +0 -2
  281. package/dist/esm/justifi-bank-account-form.entry.js +0 -2
  282. package/dist/esm/justifi-billing-form_2.entry.js +0 -2
  283. package/dist/esm/justifi-business-details.entry.js +17 -15
  284. package/dist/esm/justifi-business-form-stepped.entry.js +7 -3
  285. package/dist/esm/justifi-business-form.entry.js +1 -3
  286. package/dist/esm/justifi-business-list.entry.js +1 -3
  287. package/dist/esm/justifi-card-form.entry.js +0 -2
  288. package/dist/esm/justifi-details.entry.js +0 -2
  289. package/dist/esm/justifi-gross-payment-chart.entry.js +22 -12
  290. package/dist/esm/justifi-payment-balance-transactions.entry.js +1 -3
  291. package/dist/esm/justifi-payment-details.entry.js +21 -14
  292. package/dist/esm/justifi-payment-form.entry.js +16 -8
  293. package/dist/esm/justifi-payment-method-form.entry.js +4 -4
  294. package/dist/esm/justifi-payments-list.entry.js +22 -25
  295. package/dist/esm/justifi-payout-details.entry.js +20 -14
  296. package/dist/esm/justifi-payouts-list.entry.js +21 -13
  297. package/dist/esm/justifi-proceeds-list.entry.js +1 -3
  298. package/dist/esm/justifi-refund-form.entry.js +1 -3
  299. package/dist/esm/justifi-subaccount-details.entry.js +4 -8
  300. package/dist/esm/justifi-subaccounts-list.entry.js +1 -3
  301. package/dist/esm/justifi-table_2.entry.js +4 -6
  302. package/dist/esm/loader.js +1 -3
  303. package/dist/esm/select-input_2.entry.js +0 -2
  304. package/dist/esm/state-options-ece00aa2.js +0 -2
  305. package/dist/esm/subaccount-account-details_4.entry.js +0 -2
  306. package/dist/esm/subaccount-bank-details.entry.js +0 -2
  307. package/dist/esm/subaccount-terms-details.entry.js +0 -2
  308. package/dist/esm/utils-40b7002c.js +0 -2
  309. package/dist/esm/utils-6352c002.js +0 -2
  310. package/dist/esm/webcomponents.js +1 -3
  311. package/dist/types/api/Payment.d.ts +32 -5
  312. package/dist/types/api/Payout.d.ts +2 -2
  313. package/dist/types/components/bank-account-form/bank-account-form.stories.d.ts +1 -0
  314. package/dist/types/components/business-details/business-details.d.ts +0 -1
  315. package/dist/types/components/business-form/business-form-stepped.d.ts +1 -0
  316. package/dist/types/components/card-form/card-form.stories.d.ts +1 -0
  317. package/dist/types/components/payment-method-form/payment-method-responses.d.ts +7 -1
  318. package/dist/types/components/payments-list/payments-list.d.ts +1 -3
  319. package/dist/types/components.d.ts +2 -0
  320. package/dist/webcomponents/index.esm.js +0 -2
  321. package/dist/webcomponents/p-0ce6fba2.entry.js +1 -0
  322. package/dist/webcomponents/p-0d5d02d7.js +1 -2
  323. package/dist/webcomponents/p-14f7229e.entry.js +1 -0
  324. package/dist/webcomponents/{p-3d82c8a3.entry.js → p-2140e9ba.entry.js} +1 -2
  325. package/dist/webcomponents/p-2c2cde2d.js +1 -2
  326. package/dist/webcomponents/p-311250e2.entry.js +1 -0
  327. package/dist/webcomponents/p-3501b0e8.entry.js +1 -0
  328. package/dist/webcomponents/p-3ee831ac.entry.js +1 -0
  329. package/dist/webcomponents/p-3fd6ff27.entry.js +1 -0
  330. package/dist/webcomponents/p-4214dbb8.entry.js +1 -0
  331. package/dist/webcomponents/p-46d5f717.entry.js +1 -0
  332. package/dist/webcomponents/p-47bc59b5.js +1 -2
  333. package/dist/webcomponents/p-4fb653a8.entry.js +1 -0
  334. package/dist/webcomponents/p-526cb161.js +1 -2
  335. package/dist/webcomponents/p-586c8a4f.entry.js +1 -0
  336. package/dist/webcomponents/p-59860ac8.js +1 -2
  337. package/dist/webcomponents/p-5df52341.entry.js +1 -0
  338. package/dist/webcomponents/p-6444d443.entry.js +1 -0
  339. package/dist/webcomponents/p-6a648652.entry.js +1 -0
  340. package/dist/webcomponents/p-742188d9.entry.js +1 -0
  341. package/dist/webcomponents/p-76dffeec.js +1 -2
  342. package/dist/webcomponents/p-77a8bcea.entry.js +1 -0
  343. package/dist/webcomponents/p-7d58db66.js +1 -2
  344. package/dist/webcomponents/p-8f37e3ee.js +1 -2
  345. package/dist/webcomponents/p-984ff1aa.entry.js +1 -0
  346. package/dist/webcomponents/p-988191bf.js +1 -2
  347. package/dist/webcomponents/p-9b6dcac5.js +1 -2
  348. package/dist/webcomponents/p-9d46e7f1.entry.js +1 -0
  349. package/dist/webcomponents/p-a1ef6b4c.entry.js +1 -0
  350. package/dist/webcomponents/p-ac8ee442.entry.js +1 -0
  351. package/dist/webcomponents/p-af771964.entry.js +1 -0
  352. package/dist/webcomponents/p-b157f6ae.js +1 -2
  353. package/dist/webcomponents/p-bab3fd56.entry.js +1 -0
  354. package/dist/webcomponents/p-bb70152e.entry.js +1 -0
  355. package/dist/webcomponents/p-bc91044c.entry.js +1 -0
  356. package/dist/webcomponents/p-c29c587f.entry.js +1 -0
  357. package/dist/webcomponents/p-cbb60191.js +2 -3
  358. package/dist/webcomponents/p-d0e4eca5.entry.js +1 -0
  359. package/dist/webcomponents/p-d4b66d74.entry.js +1 -0
  360. package/dist/webcomponents/p-d6347f27.entry.js +19 -0
  361. package/dist/webcomponents/p-d6b5793d.js +1 -2
  362. package/dist/webcomponents/{p-b12691c3.entry.js → p-d8d1f417.entry.js} +1 -2
  363. package/dist/webcomponents/p-e12ab547.js +1 -0
  364. package/dist/webcomponents/p-ed8c9b88.entry.js +1 -0
  365. package/dist/webcomponents/webcomponents.esm.js +1 -2
  366. package/package.json +4 -3
  367. package/readme.md +40 -7
  368. package/dist/cjs/Api-548eaa62.js.map +0 -1
  369. package/dist/cjs/Pagination-cae1dcbd.js.map +0 -1
  370. package/dist/cjs/Payout-68a99ee3.js.map +0 -1
  371. package/dist/cjs/SubAccount-f47c8522.js.map +0 -1
  372. package/dist/cjs/additional-questions-details_5.cjs.entry.js.map +0 -1
  373. package/dist/cjs/business-form-schema-fe831c30.js.map +0 -1
  374. package/dist/cjs/config-a156df17.js.map +0 -1
  375. package/dist/cjs/form-1e732a9d.js.map +0 -1
  376. package/dist/cjs/form-control-datepart_2.cjs.entry.js.map +0 -1
  377. package/dist/cjs/form-control-monetary.cjs.entry.js.map +0 -1
  378. package/dist/cjs/form-control-number_3.cjs.entry.js.map +0 -1
  379. package/dist/cjs/helpers-c505d861.js.map +0 -1
  380. package/dist/cjs/index-5a880722.js.map +0 -1
  381. package/dist/cjs/index-c5ace247.js.map +0 -1
  382. package/dist/cjs/index.cjs.js.map +0 -1
  383. package/dist/cjs/index.esm-91ec051e.js.map +0 -1
  384. package/dist/cjs/justifi-additional-questions_6.cjs.entry.js.map +0 -1
  385. package/dist/cjs/justifi-bank-account-form.cjs.entry.js.map +0 -1
  386. package/dist/cjs/justifi-billing-form_2.cjs.entry.js.map +0 -1
  387. package/dist/cjs/justifi-business-details.cjs.entry.js.map +0 -1
  388. package/dist/cjs/justifi-business-form-stepped.cjs.entry.js.map +0 -1
  389. package/dist/cjs/justifi-business-form.cjs.entry.js.map +0 -1
  390. package/dist/cjs/justifi-business-list.cjs.entry.js.map +0 -1
  391. package/dist/cjs/justifi-card-form.cjs.entry.js.map +0 -1
  392. package/dist/cjs/justifi-details.cjs.entry.js.map +0 -1
  393. package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js.map +0 -1
  394. package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js.map +0 -1
  395. package/dist/cjs/justifi-payment-details.cjs.entry.js.map +0 -1
  396. package/dist/cjs/justifi-payment-form.cjs.entry.js.map +0 -1
  397. package/dist/cjs/justifi-payment-method-form.cjs.entry.js.map +0 -1
  398. package/dist/cjs/justifi-payments-list.cjs.entry.js.map +0 -1
  399. package/dist/cjs/justifi-payout-details.cjs.entry.js.map +0 -1
  400. package/dist/cjs/justifi-payouts-list.cjs.entry.js.map +0 -1
  401. package/dist/cjs/justifi-proceeds-list.cjs.entry.js.map +0 -1
  402. package/dist/cjs/justifi-refund-form.cjs.entry.js.map +0 -1
  403. package/dist/cjs/justifi-subaccount-details.cjs.entry.js.map +0 -1
  404. package/dist/cjs/justifi-subaccounts-list.cjs.entry.js.map +0 -1
  405. package/dist/cjs/justifi-table_2.cjs.entry.js.map +0 -1
  406. package/dist/cjs/loader.cjs.js.map +0 -1
  407. package/dist/cjs/select-input_2.cjs.entry.js.map +0 -1
  408. package/dist/cjs/state-options-83b52cd1.js.map +0 -1
  409. package/dist/cjs/subaccount-account-details_4.cjs.entry.js.map +0 -1
  410. package/dist/cjs/subaccount-bank-details.cjs.entry.js.map +0 -1
  411. package/dist/cjs/subaccount-terms-details.cjs.entry.js.map +0 -1
  412. package/dist/cjs/utils-13d069be.js.map +0 -1
  413. package/dist/cjs/utils-4622829d.js.map +0 -1
  414. package/dist/cjs/webcomponents.cjs.js.map +0 -1
  415. package/dist/collection/api/Api.js.map +0 -1
  416. package/dist/collection/api/Business.js.map +0 -1
  417. package/dist/collection/api/GrossVolume.js.map +0 -1
  418. package/dist/collection/api/Pagination.js.map +0 -1
  419. package/dist/collection/api/Payment.js.map +0 -1
  420. package/dist/collection/api/Payout.js.map +0 -1
  421. package/dist/collection/api/Proceed.js.map +0 -1
  422. package/dist/collection/api/SubAccount.js.map +0 -1
  423. package/dist/collection/api/index.js.map +0 -1
  424. package/dist/collection/api/mockData/MockOnboardingData.js.map +0 -1
  425. package/dist/collection/api/mockData/MockPayments.js.map +0 -1
  426. package/dist/collection/api/mockData/MockSubAccount.js.map +0 -1
  427. package/dist/collection/api/mockData/mockGrossVolumeReport.js.map +0 -1
  428. package/dist/collection/api/shared.js.map +0 -1
  429. package/dist/collection/components/bank-account-form/bank-account-form.js.map +0 -1
  430. package/dist/collection/components/bank-account-form/bank-account-form.stories.js.map +0 -1
  431. package/dist/collection/components/bank-account-form/test/bank-account-form.e2e.js.map +0 -1
  432. package/dist/collection/components/bank-account-form/test/bank-account-form.spec.js.map +0 -1
  433. package/dist/collection/components/billing-form/billing-form-schema.js.map +0 -1
  434. package/dist/collection/components/billing-form/billing-form.js.map +0 -1
  435. package/dist/collection/components/billing-form/billing-form.stories.js.map +0 -1
  436. package/dist/collection/components/billing-form/state-options.js.map +0 -1
  437. package/dist/collection/components/billing-form/test/billing-form.spec.js.map +0 -1
  438. package/dist/collection/components/business-details/additional-questions-details/additional-questions-details.js.map +0 -1
  439. package/dist/collection/components/business-details/business-details.js.map +0 -1
  440. package/dist/collection/components/business-details/business-details.stories.js.map +0 -1
  441. package/dist/collection/components/business-details/generic-info-details/generic-info-details.js.map +0 -1
  442. package/dist/collection/components/business-details/legal-address-details/legal-address-details.js.map +0 -1
  443. package/dist/collection/components/business-details/owner-details/owner-details.js.map +0 -1
  444. package/dist/collection/components/business-details/representative-details/representative-details.js.map +0 -1
  445. package/dist/collection/components/business-form/additional-questions/additional-questions.js.map +0 -1
  446. package/dist/collection/components/business-form/business-address/business-address-form-schema.js.map +0 -1
  447. package/dist/collection/components/business-form/business-address/business-address-form.js.map +0 -1
  448. package/dist/collection/components/business-form/business-address/test/business-address.e2e.js.map +0 -1
  449. package/dist/collection/components/business-form/business-address/test/business-address.spec.js.map +0 -1
  450. package/dist/collection/components/business-form/business-form-schema.js.map +0 -1
  451. package/dist/collection/components/business-form/business-form-stepped.js.map +0 -1
  452. package/dist/collection/components/business-form/business-form-stepped.stories.js.map +0 -1
  453. package/dist/collection/components/business-form/business-form.js.map +0 -1
  454. package/dist/collection/components/business-form/business-form.stories.js.map +0 -1
  455. package/dist/collection/components/business-form/business-generic-info/business-generic-info.js.map +0 -1
  456. package/dist/collection/components/business-form/business-owners/business-owners.js.map +0 -1
  457. package/dist/collection/components/business-form/business-representative/business-representative-schema.js.map +0 -1
  458. package/dist/collection/components/business-form/business-representative/business-representative.js.map +0 -1
  459. package/dist/collection/components/business-form/helpers.js.map +0 -1
  460. package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js.map +0 -1
  461. package/dist/collection/components/business-form/legal-address-form/legal-address-form.js.map +0 -1
  462. package/dist/collection/components/business-form/test/business-form.spec.js.map +0 -1
  463. package/dist/collection/components/business-list/business-list.js.map +0 -1
  464. package/dist/collection/components/business-list/business-list.stories.js.map +0 -1
  465. package/dist/collection/components/card-form/card-form.js.map +0 -1
  466. package/dist/collection/components/card-form/card-form.stories.js.map +0 -1
  467. package/dist/collection/components/card-form/test/card-form.e2e.js.map +0 -1
  468. package/dist/collection/components/card-form/test/card-form.spec.js.map +0 -1
  469. package/dist/collection/components/details/details.js.map +0 -1
  470. package/dist/collection/components/details/utils.js.map +0 -1
  471. package/dist/collection/components/form/form-control-datepart.js.map +0 -1
  472. package/dist/collection/components/form/form-control-monetary.js.map +0 -1
  473. package/dist/collection/components/form/form-control-number-masked.js.map +0 -1
  474. package/dist/collection/components/form/form-control-number.js.map +0 -1
  475. package/dist/collection/components/form/form-control-select.js.map +0 -1
  476. package/dist/collection/components/form/form-control-text.js.map +0 -1
  477. package/dist/collection/components/form/form.js.map +0 -1
  478. package/dist/collection/components/gross-payment-chart/chart-utils.js.map +0 -1
  479. package/dist/collection/components/gross-payment-chart/gross-payment-chart.js.map +0 -1
  480. package/dist/collection/components/gross-payment-chart/gross-payment-chart.stories.js.map +0 -1
  481. package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js.map +0 -1
  482. package/dist/collection/components/pagination-menu/pagination-menu.js.map +0 -1
  483. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.js.map +0 -1
  484. package/dist/collection/components/payment-balance-transactions/payment-balance-transactions.stories.js.map +0 -1
  485. package/dist/collection/components/payment-details/payment-details.js.map +0 -1
  486. package/dist/collection/components/payment-details/payment-details.stories.js.map +0 -1
  487. package/dist/collection/components/payment-form/payment-form.js.map +0 -1
  488. package/dist/collection/components/payment-form/payment-form.stories.js.map +0 -1
  489. package/dist/collection/components/payment-form/payment-method-selector.js.map +0 -1
  490. package/dist/collection/components/payment-form/test/payment-form.e2e.js.map +0 -1
  491. package/dist/collection/components/payment-form/test/payment-form.spec.js.map +0 -1
  492. package/dist/collection/components/payment-form/tokenize.js.map +0 -1
  493. package/dist/collection/components/payment-method-form/get-computed-theme.js.map +0 -1
  494. package/dist/collection/components/payment-method-form/message-event-types.js.map +0 -1
  495. package/dist/collection/components/payment-method-form/payment-method-form.js.map +0 -1
  496. package/dist/collection/components/payment-method-form/payment-method-responses.js.map +0 -1
  497. package/dist/collection/components/payment-method-form/test/payment-method-form.e2e.js.map +0 -1
  498. package/dist/collection/components/payment-method-form/test/payment-method-form.spec.js.map +0 -1
  499. package/dist/collection/components/payment-method-form/theme.js.map +0 -1
  500. package/dist/collection/components/payments-list/payments-list.js.map +0 -1
  501. package/dist/collection/components/payments-list/payments-list.stories.js.map +0 -1
  502. package/dist/collection/components/payments-list/test/payments-list.spec.js.map +0 -1
  503. package/dist/collection/components/payout-details/payout-details.js.map +0 -1
  504. package/dist/collection/components/payout-details/payout-details.stories.js.map +0 -1
  505. package/dist/collection/components/payouts-list/payouts-list.js.map +0 -1
  506. package/dist/collection/components/payouts-list/payouts-list.stories.js.map +0 -1
  507. package/dist/collection/components/proceeds-list/proceeds-list.js.map +0 -1
  508. package/dist/collection/components/proceeds-list/proceeds-list.stories.js.map +0 -1
  509. package/dist/collection/components/refund-form/refund-form-schema.js.map +0 -1
  510. package/dist/collection/components/refund-form/refund-form.js.map +0 -1
  511. package/dist/collection/components/refund-form/refund-form.stories.js.map +0 -1
  512. package/dist/collection/components/select-input/select-input.js.map +0 -1
  513. package/dist/collection/components/select-input/test/select-input.spec.js.map +0 -1
  514. package/dist/collection/components/subaccount-details/subaccount-account-details/subaccount-account-details.js.map +0 -1
  515. package/dist/collection/components/subaccount-details/subaccount-bank-details/subaccount-bank-details.js.map +0 -1
  516. package/dist/collection/components/subaccount-details/subaccount-details.js.map +0 -1
  517. package/dist/collection/components/subaccount-details/subaccount-details.stories.js.map +0 -1
  518. package/dist/collection/components/subaccount-details/subaccount-merchant-details/subaccount-merchant-details.js.map +0 -1
  519. package/dist/collection/components/subaccount-details/subaccount-owners-details/subaccount-owners-details.js.map +0 -1
  520. package/dist/collection/components/subaccount-details/subaccount-representative-details/subaccount-representative-details.js.map +0 -1
  521. package/dist/collection/components/subaccount-details/subaccount-terms-details/subaccount-terms-details.js.map +0 -1
  522. package/dist/collection/components/subaccount-details/test/subaccount-details.spec.js.map +0 -1
  523. package/dist/collection/components/subaccounts-list/subaccounts-list.js.map +0 -1
  524. package/dist/collection/components/subaccounts-list/subaccounts-list.stories.js.map +0 -1
  525. package/dist/collection/components/subaccounts-list/test/subaccounts-list.e2e.js.map +0 -1
  526. package/dist/collection/components/subaccounts-list/test/subaccounts-list.spec.js.map +0 -1
  527. package/dist/collection/components/table/table.js.map +0 -1
  528. package/dist/collection/components/table/test/table.spec.js.map +0 -1
  529. package/dist/collection/components/text-input/test/text-input.spec.js.map +0 -1
  530. package/dist/collection/components/text-input/text-input.js.map +0 -1
  531. package/dist/collection/index.js.map +0 -1
  532. package/dist/collection/utils/country-options.js.map +0 -1
  533. package/dist/collection/utils/phone-masks.js.map +0 -1
  534. package/dist/collection/utils/utils.js.map +0 -1
  535. package/dist/components/Api.js.map +0 -1
  536. package/dist/components/Pagination.js.map +0 -1
  537. package/dist/components/Payout.js.map +0 -1
  538. package/dist/components/SubAccount.js.map +0 -1
  539. package/dist/components/additional-questions-details.js.map +0 -1
  540. package/dist/components/additional-questions-details2.js.map +0 -1
  541. package/dist/components/additional-questions.js.map +0 -1
  542. package/dist/components/billing-form.js.map +0 -1
  543. package/dist/components/business-address-form.js.map +0 -1
  544. package/dist/components/business-generic-info.js.map +0 -1
  545. package/dist/components/business-owners.js.map +0 -1
  546. package/dist/components/business-representative.js.map +0 -1
  547. package/dist/components/config.js.map +0 -1
  548. package/dist/components/details.js.map +0 -1
  549. package/dist/components/form-control-datepart.js.map +0 -1
  550. package/dist/components/form-control-datepart2.js.map +0 -1
  551. package/dist/components/form-control-monetary.js.map +0 -1
  552. package/dist/components/form-control-monetary2.js.map +0 -1
  553. package/dist/components/form-control-number-masked.js.map +0 -1
  554. package/dist/components/form-control-number-masked2.js.map +0 -1
  555. package/dist/components/form-control-number.js.map +0 -1
  556. package/dist/components/form-control-number2.js.map +0 -1
  557. package/dist/components/form-control-select.js.map +0 -1
  558. package/dist/components/form-control-select2.js.map +0 -1
  559. package/dist/components/form-control-text.js.map +0 -1
  560. package/dist/components/form-control-text2.js.map +0 -1
  561. package/dist/components/form.js.map +0 -1
  562. package/dist/components/generic-info-details.js.map +0 -1
  563. package/dist/components/generic-info-details2.js.map +0 -1
  564. package/dist/components/helpers.js.map +0 -1
  565. package/dist/components/index.esm.js.map +0 -1
  566. package/dist/components/index.js.map +0 -1
  567. package/dist/components/index2.js.map +0 -1
  568. package/dist/components/justifi-additional-questions.js.map +0 -1
  569. package/dist/components/justifi-bank-account-form.js.map +0 -1
  570. package/dist/components/justifi-billing-form.js.map +0 -1
  571. package/dist/components/justifi-business-address-form.js.map +0 -1
  572. package/dist/components/justifi-business-details.js.map +0 -1
  573. package/dist/components/justifi-business-form-stepped.js.map +0 -1
  574. package/dist/components/justifi-business-form.js.map +0 -1
  575. package/dist/components/justifi-business-generic-info.js.map +0 -1
  576. package/dist/components/justifi-business-list.js.map +0 -1
  577. package/dist/components/justifi-business-owners.js.map +0 -1
  578. package/dist/components/justifi-business-representative.js.map +0 -1
  579. package/dist/components/justifi-card-form.js.map +0 -1
  580. package/dist/components/justifi-details.js.map +0 -1
  581. package/dist/components/justifi-gross-payment-chart.js.map +0 -1
  582. package/dist/components/justifi-legal-address-form.js.map +0 -1
  583. package/dist/components/justifi-payment-balance-transactions.js.map +0 -1
  584. package/dist/components/justifi-payment-details.js.map +0 -1
  585. package/dist/components/justifi-payment-form.js.map +0 -1
  586. package/dist/components/justifi-payment-method-form.js.map +0 -1
  587. package/dist/components/justifi-payment-method-selector.js.map +0 -1
  588. package/dist/components/justifi-payments-list.js.map +0 -1
  589. package/dist/components/justifi-payout-details.js.map +0 -1
  590. package/dist/components/justifi-payouts-list.js.map +0 -1
  591. package/dist/components/justifi-proceeds-list.js.map +0 -1
  592. package/dist/components/justifi-refund-form.js.map +0 -1
  593. package/dist/components/justifi-subaccount-details.js.map +0 -1
  594. package/dist/components/justifi-subaccounts-list.js.map +0 -1
  595. package/dist/components/justifi-table.js.map +0 -1
  596. package/dist/components/legal-address-details.js.map +0 -1
  597. package/dist/components/legal-address-details2.js.map +0 -1
  598. package/dist/components/legal-address-form.js.map +0 -1
  599. package/dist/components/owner-details.js.map +0 -1
  600. package/dist/components/owner-details2.js.map +0 -1
  601. package/dist/components/pagination-menu.js.map +0 -1
  602. package/dist/components/pagination-menu2.js.map +0 -1
  603. package/dist/components/payment-method-form.js.map +0 -1
  604. package/dist/components/payment-method-selector.js.map +0 -1
  605. package/dist/components/phone-masks.js.map +0 -1
  606. package/dist/components/representative-details.js.map +0 -1
  607. package/dist/components/representative-details2.js.map +0 -1
  608. package/dist/components/select-input.js.map +0 -1
  609. package/dist/components/select-input2.js.map +0 -1
  610. package/dist/components/state-options.js.map +0 -1
  611. package/dist/components/subaccount-account-details.js.map +0 -1
  612. package/dist/components/subaccount-account-details2.js.map +0 -1
  613. package/dist/components/subaccount-bank-details.js.map +0 -1
  614. package/dist/components/subaccount-merchant-details.js.map +0 -1
  615. package/dist/components/subaccount-merchant-details2.js.map +0 -1
  616. package/dist/components/subaccount-owners-details.js.map +0 -1
  617. package/dist/components/subaccount-owners-details2.js.map +0 -1
  618. package/dist/components/subaccount-representative-details.js.map +0 -1
  619. package/dist/components/subaccount-representative-details2.js.map +0 -1
  620. package/dist/components/subaccount-terms-details.js.map +0 -1
  621. package/dist/components/table.js.map +0 -1
  622. package/dist/components/text-input.js.map +0 -1
  623. package/dist/components/text-input2.js.map +0 -1
  624. package/dist/components/utils.js.map +0 -1
  625. package/dist/components/utils2.js.map +0 -1
  626. package/dist/config.js.map +0 -1
  627. package/dist/esm/Api-c65d3ed8.js.map +0 -1
  628. package/dist/esm/Pagination-31f770d6.js.map +0 -1
  629. package/dist/esm/Payout-fcf16887.js.map +0 -1
  630. package/dist/esm/SubAccount-128190e9.js.map +0 -1
  631. package/dist/esm/additional-questions-details_5.entry.js.map +0 -1
  632. package/dist/esm/business-form-schema-30a3eadd.js.map +0 -1
  633. package/dist/esm/config-ceb0f902.js.map +0 -1
  634. package/dist/esm/form-32cf3d1e.js.map +0 -1
  635. package/dist/esm/form-control-datepart_2.entry.js.map +0 -1
  636. package/dist/esm/form-control-monetary.entry.js.map +0 -1
  637. package/dist/esm/form-control-number_3.entry.js.map +0 -1
  638. package/dist/esm/helpers-1d5ecdc8.js.map +0 -1
  639. package/dist/esm/index-5ed53c20.js.map +0 -1
  640. package/dist/esm/index-7471ed60.js.map +0 -1
  641. package/dist/esm/index.esm-9397ffa0.js.map +0 -1
  642. package/dist/esm/index.js.map +0 -1
  643. package/dist/esm/justifi-additional-questions_6.entry.js.map +0 -1
  644. package/dist/esm/justifi-bank-account-form.entry.js.map +0 -1
  645. package/dist/esm/justifi-billing-form_2.entry.js.map +0 -1
  646. package/dist/esm/justifi-business-details.entry.js.map +0 -1
  647. package/dist/esm/justifi-business-form-stepped.entry.js.map +0 -1
  648. package/dist/esm/justifi-business-form.entry.js.map +0 -1
  649. package/dist/esm/justifi-business-list.entry.js.map +0 -1
  650. package/dist/esm/justifi-card-form.entry.js.map +0 -1
  651. package/dist/esm/justifi-details.entry.js.map +0 -1
  652. package/dist/esm/justifi-gross-payment-chart.entry.js.map +0 -1
  653. package/dist/esm/justifi-payment-balance-transactions.entry.js.map +0 -1
  654. package/dist/esm/justifi-payment-details.entry.js.map +0 -1
  655. package/dist/esm/justifi-payment-form.entry.js.map +0 -1
  656. package/dist/esm/justifi-payment-method-form.entry.js.map +0 -1
  657. package/dist/esm/justifi-payments-list.entry.js.map +0 -1
  658. package/dist/esm/justifi-payout-details.entry.js.map +0 -1
  659. package/dist/esm/justifi-payouts-list.entry.js.map +0 -1
  660. package/dist/esm/justifi-proceeds-list.entry.js.map +0 -1
  661. package/dist/esm/justifi-refund-form.entry.js.map +0 -1
  662. package/dist/esm/justifi-subaccount-details.entry.js.map +0 -1
  663. package/dist/esm/justifi-subaccounts-list.entry.js.map +0 -1
  664. package/dist/esm/justifi-table_2.entry.js.map +0 -1
  665. package/dist/esm/loader.js.map +0 -1
  666. package/dist/esm/select-input_2.entry.js.map +0 -1
  667. package/dist/esm/state-options-ece00aa2.js.map +0 -1
  668. package/dist/esm/subaccount-account-details_4.entry.js.map +0 -1
  669. package/dist/esm/subaccount-bank-details.entry.js.map +0 -1
  670. package/dist/esm/subaccount-terms-details.entry.js.map +0 -1
  671. package/dist/esm/utils-40b7002c.js.map +0 -1
  672. package/dist/esm/utils-6352c002.js.map +0 -1
  673. package/dist/esm/webcomponents.js.map +0 -1
  674. package/dist/webcomponents/index.esm.js.map +0 -1
  675. package/dist/webcomponents/p-0d5d02d7.js.map +0 -1
  676. package/dist/webcomponents/p-160c9fbb.entry.js +0 -2
  677. package/dist/webcomponents/p-160c9fbb.entry.js.map +0 -1
  678. package/dist/webcomponents/p-215b4c87.entry.js +0 -2
  679. package/dist/webcomponents/p-215b4c87.entry.js.map +0 -1
  680. package/dist/webcomponents/p-26245f01.entry.js +0 -20
  681. package/dist/webcomponents/p-26245f01.entry.js.map +0 -1
  682. package/dist/webcomponents/p-26dfa274.entry.js +0 -2
  683. package/dist/webcomponents/p-26dfa274.entry.js.map +0 -1
  684. package/dist/webcomponents/p-285a50a6.entry.js +0 -2
  685. package/dist/webcomponents/p-285a50a6.entry.js.map +0 -1
  686. package/dist/webcomponents/p-2c2cde2d.js.map +0 -1
  687. package/dist/webcomponents/p-2cd29187.entry.js +0 -2
  688. package/dist/webcomponents/p-2cd29187.entry.js.map +0 -1
  689. package/dist/webcomponents/p-355eabff.entry.js +0 -2
  690. package/dist/webcomponents/p-355eabff.entry.js.map +0 -1
  691. package/dist/webcomponents/p-356cf20d.entry.js +0 -2
  692. package/dist/webcomponents/p-356cf20d.entry.js.map +0 -1
  693. package/dist/webcomponents/p-378e163d.entry.js +0 -2
  694. package/dist/webcomponents/p-378e163d.entry.js.map +0 -1
  695. package/dist/webcomponents/p-397e0d5a.entry.js +0 -2
  696. package/dist/webcomponents/p-397e0d5a.entry.js.map +0 -1
  697. package/dist/webcomponents/p-3d82c8a3.entry.js.map +0 -1
  698. package/dist/webcomponents/p-47bc59b5.js.map +0 -1
  699. package/dist/webcomponents/p-526cb161.js.map +0 -1
  700. package/dist/webcomponents/p-59860ac8.js.map +0 -1
  701. package/dist/webcomponents/p-5b8f004d.entry.js +0 -2
  702. package/dist/webcomponents/p-5b8f004d.entry.js.map +0 -1
  703. package/dist/webcomponents/p-62872b87.entry.js +0 -2
  704. package/dist/webcomponents/p-62872b87.entry.js.map +0 -1
  705. package/dist/webcomponents/p-635a3b3e.entry.js +0 -2
  706. package/dist/webcomponents/p-635a3b3e.entry.js.map +0 -1
  707. package/dist/webcomponents/p-64af0ae9.entry.js +0 -2
  708. package/dist/webcomponents/p-64af0ae9.entry.js.map +0 -1
  709. package/dist/webcomponents/p-76983a7e.js +0 -2
  710. package/dist/webcomponents/p-76983a7e.js.map +0 -1
  711. package/dist/webcomponents/p-76dffeec.js.map +0 -1
  712. package/dist/webcomponents/p-77e732b2.entry.js +0 -2
  713. package/dist/webcomponents/p-77e732b2.entry.js.map +0 -1
  714. package/dist/webcomponents/p-7d58db66.js.map +0 -1
  715. package/dist/webcomponents/p-88fa33c1.entry.js +0 -2
  716. package/dist/webcomponents/p-88fa33c1.entry.js.map +0 -1
  717. package/dist/webcomponents/p-8f37e3ee.js.map +0 -1
  718. package/dist/webcomponents/p-931989e6.entry.js +0 -2
  719. package/dist/webcomponents/p-931989e6.entry.js.map +0 -1
  720. package/dist/webcomponents/p-96eecdff.entry.js +0 -2
  721. package/dist/webcomponents/p-96eecdff.entry.js.map +0 -1
  722. package/dist/webcomponents/p-988191bf.js.map +0 -1
  723. package/dist/webcomponents/p-9b6dcac5.js.map +0 -1
  724. package/dist/webcomponents/p-9ce9561a.entry.js +0 -2
  725. package/dist/webcomponents/p-9ce9561a.entry.js.map +0 -1
  726. package/dist/webcomponents/p-abc05a34.entry.js +0 -2
  727. package/dist/webcomponents/p-abc05a34.entry.js.map +0 -1
  728. package/dist/webcomponents/p-b12691c3.entry.js.map +0 -1
  729. package/dist/webcomponents/p-b157f6ae.js.map +0 -1
  730. package/dist/webcomponents/p-b98a3f94.entry.js +0 -2
  731. package/dist/webcomponents/p-b98a3f94.entry.js.map +0 -1
  732. package/dist/webcomponents/p-c1ae571b.entry.js +0 -2
  733. package/dist/webcomponents/p-c1ae571b.entry.js.map +0 -1
  734. package/dist/webcomponents/p-c4289027.entry.js +0 -2
  735. package/dist/webcomponents/p-c4289027.entry.js.map +0 -1
  736. package/dist/webcomponents/p-c43e9572.entry.js +0 -2
  737. package/dist/webcomponents/p-c43e9572.entry.js.map +0 -1
  738. package/dist/webcomponents/p-c4c8fb44.entry.js +0 -2
  739. package/dist/webcomponents/p-c4c8fb44.entry.js.map +0 -1
  740. package/dist/webcomponents/p-cbb60191.js.map +0 -1
  741. package/dist/webcomponents/p-d6b5793d.js.map +0 -1
  742. package/dist/webcomponents/p-dbbd2611.entry.js +0 -2
  743. package/dist/webcomponents/p-dbbd2611.entry.js.map +0 -1
  744. package/dist/webcomponents/p-ec1890fc.entry.js +0 -2
  745. package/dist/webcomponents/p-ec1890fc.entry.js.map +0 -1
  746. package/dist/webcomponents/p-f0897468.entry.js +0 -2
  747. package/dist/webcomponents/p-f0897468.entry.js.map +0 -1
  748. package/dist/webcomponents/webcomponents.esm.js.map +0 -1
@@ -1,2 +1 @@
1
- function t(t){return typeof t==="string"||t instanceof String}function s(t){var s;return typeof t==="object"&&t!=null&&(t==null||(s=t.constructor)==null?void 0:s.name)==="Object"}function i(t,s){if(Array.isArray(s))return i(t,((t,i)=>s.includes(i)));return Object.entries(t).reduce(((t,i)=>{let[u,e]=i;if(s(e,u))t[u]=e;return t}),{})}const u={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function e(t){switch(t){case u.LEFT:return u.FORCE_LEFT;case u.RIGHT:return u.FORCE_RIGHT;default:return t}}function r(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function h(t,s){if(s===t)return true;const i=Array.isArray(s),u=Array.isArray(t);let e;if(i&&u){if(s.length!=t.length)return false;for(e=0;e<s.length;e++)if(!h(s[e],t[e]))return false;return true}if(i!=u)return false;if(s&&t&&typeof s==="object"&&typeof t==="object"){const i=s instanceof Date,u=t instanceof Date;if(i&&u)return s.getTime()==t.getTime();if(i!=u)return false;const r=s instanceof RegExp,n=t instanceof RegExp;if(r&&n)return s.toString()==t.toString();if(r!=n)return false;const o=Object.keys(s);for(e=0;e<o.length;e++)if(!Object.prototype.hasOwnProperty.call(t,o[e]))return false;for(e=0;e<o.length;e++)if(!h(t[o[e]],s[o[e]]))return false;return true}else if(s&&t&&typeof s==="function"&&typeof t==="function"){return s.toString()===t.toString()}return false}class n{constructor(t){Object.assign(this,t);while(this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos)){--this.oldSelection.start}}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){if(!this.removedCount||this.insertedCount)return u.NONE;return(this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos)&&this.oldSelection.end===this.oldSelection.start?u.RIGHT:u.LEFT}}function o(t,s){return new o.InputMask(t,s)}function a(s){if(s==null)throw new Error("mask property should be defined");if(s instanceof RegExp)return o.MaskedRegExp;if(t(s))return o.MaskedPattern;if(s===Date)return o.MaskedDate;if(s===Number)return o.MaskedNumber;if(Array.isArray(s)||s===Array)return o.MaskedDynamic;if(o.Masked&&s.prototype instanceof o.Masked)return s;if(o.Masked&&s instanceof o.Masked)return s.constructor;if(s instanceof Function)return o.MaskedFunction;console.warn("Mask not found for mask",s);return o.Masked}function l(t){if(!t)throw new Error("Options in not defined");if(o.Masked){if(t.prototype instanceof o.Masked)return{mask:t};const{mask:u=undefined,...e}=t instanceof o.Masked?{mask:t}:s(t)&&t.mask instanceof o.Masked?t:{};if(u){const t=u.mask;return{...i(u,((t,s)=>!s.startsWith("_"))),mask:u.constructor,_mask:t,...e}}}if(!s(t))return{mask:t};return{...t}}function f(t){if(o.Masked&&t instanceof o.Masked)return t;const s=l(t);const i=a(s.mask);if(!i)throw new Error("Masked class is not found for provided mask, appropriate module needs to be imported manually before creating mask.");if(s.mask===i)delete s.mask;if(s._mask){s.mask=s._mask;delete s._mask}return new i(s)}o.createMask=f;class c{get selectionStart(){let t;try{t=this._unsafeSelectionStart}catch{}return t!=null?t:this.value.length}get selectionEnd(){let t;try{t=this._unsafeSelectionEnd}catch{}return t!=null?t:this.value.length}select(t,s){if(t==null||s==null||t===this.selectionStart&&s===this.selectionEnd)return;try{this._unsafeSelect(t,s)}catch{}}get isActive(){return false}}o.MaskElement=c;class d extends c{constructor(t){super();this.input=t;this._handlers={}}get rootElement(){var t,s,i;return(t=(s=(i=this.input).getRootNode)==null?void 0:s.call(i))!=null?t:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(t){Object.keys(t).forEach((s=>this._toggleEventHandler(d.EVENTS_MAP[s],t[s])))}unbindEvents(){Object.keys(this._handlers).forEach((t=>this._toggleEventHandler(t)))}_toggleEventHandler(t,s){if(this._handlers[t]){this.input.removeEventListener(t,this._handlers[t]);delete this._handlers[t]}if(s){this.input.addEventListener(t,s);this._handlers[t]=s}}}d.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"};o.HTMLMaskElement=d;class p extends d{constructor(t){super(t);this.input=t;this._handlers={}}get _unsafeSelectionStart(){return this.input.selectionStart!=null?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(t,s){this.input.setSelectionRange(t,s)}get value(){return this.input.value}set value(t){this.input.value=t}}o.HTMLMaskElement=d;class A extends d{get _unsafeSelectionStart(){const t=this.rootElement;const s=t.getSelection&&t.getSelection();const i=s&&s.anchorOffset;const u=s&&s.focusOffset;if(u==null||i==null||i<u){return i}return u}get _unsafeSelectionEnd(){const t=this.rootElement;const s=t.getSelection&&t.getSelection();const i=s&&s.anchorOffset;const u=s&&s.focusOffset;if(u==null||i==null||i>u){return i}return u}_unsafeSelect(t,s){if(!this.rootElement.createRange)return;const i=this.rootElement.createRange();i.setStart(this.input.firstChild||this.input,t);i.setEnd(this.input.lastChild||this.input,s);const u=this.rootElement;const e=u.getSelection&&u.getSelection();if(e){e.removeAllRanges();e.addRange(i)}}get value(){return this.input.textContent||""}set value(t){this.input.textContent=t}}o.HTMLContenteditableMaskElement=A;class F{constructor(t,s){this.el=t instanceof c?t:t.isContentEditable&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"?new A(t):new p(t);this.masked=f(s);this._listeners={};this._value="";this._unmaskedValue="";this._saveSelection=this._saveSelection.bind(this);this._onInput=this._onInput.bind(this);this._onChange=this._onChange.bind(this);this._onDrop=this._onDrop.bind(this);this._onFocus=this._onFocus.bind(this);this._onClick=this._onClick.bind(this);this.alignCursor=this.alignCursor.bind(this);this.alignCursorFriendly=this.alignCursorFriendly.bind(this);this._bindEvents();this.updateValue();this._onChange()}maskEquals(t){var s;return t==null||((s=this.masked)==null?void 0:s.maskEquals(t))}get mask(){return this.masked.mask}set mask(t){if(this.maskEquals(t))return;if(!(t instanceof o.Masked)&&this.masked.constructor===a(t)){this.masked.updateOptions({mask:t});return}const s=t instanceof o.Masked?t:f({mask:t});s.unmaskedValue=this.masked.unmaskedValue;this.masked=s}get value(){return this._value}set value(t){if(this.value===t)return;this.masked.value=t;this.updateControl();this.alignCursor()}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(t){if(this.unmaskedValue===t)return;this.masked.unmaskedValue=t;this.updateControl();this.alignCursor()}get typedValue(){return this.masked.typedValue}set typedValue(t){if(this.masked.typedValueEquals(t))return;this.masked.typedValue=t;this.updateControl();this.alignCursor()}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}_unbindEvents(){if(this.el)this.el.unbindEvents()}_fireEvent(t,s){const i=this._listeners[t];if(!i)return;i.forEach((t=>t(s)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(t){if(!this.el||!this.el.isActive)return;this.el.select(t,t);this._saveSelection()}_saveSelection(){if(this.displayValue!==this.el.value){console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly.")}this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value;this._value=this.masked.value}updateControl(){const t=this.masked.unmaskedValue;const s=this.masked.value;const i=this.displayValue;const u=this.unmaskedValue!==t||this.value!==s;this._unmaskedValue=t;this._value=s;if(this.el.value!==i)this.el.value=i;if(u)this._fireChangeEvents()}updateOptions(t){const{mask:s,...i}=t;const u=!this.maskEquals(s);const e=!h(this.masked,i);if(u)this.mask=s;if(e)this.masked.updateOptions(i);if(u||e)this.updateControl()}updateCursor(t){if(t==null)return;this.cursorPos=t;this._delayUpdateCursor(t)}_delayUpdateCursor(t){this._abortUpdateCursor();this._changingCursorPos=t;this._cursorChanging=setTimeout((()=>{if(!this.el)return;this.cursorPos=this._changingCursorPos;this._abortUpdateCursor()}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent);if(this.masked.isComplete)this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){if(this._cursorChanging){clearTimeout(this._cursorChanging);delete this._cursorChanging}}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,u.LEFT))}alignCursorFriendly(){if(this.selectionStart!==this.cursorPos)return;this.alignCursor()}on(t,s){if(!this._listeners[t])this._listeners[t]=[];this._listeners[t].push(s);return this}off(t,s){if(!this._listeners[t])return this;if(!s){delete this._listeners[t];return this}const i=this._listeners[t].indexOf(s);if(i>=0)this._listeners[t].splice(i,1);return this}_onInput(t){this._inputEvent=t;this._abortUpdateCursor();if(!this._selection)return this.updateValue();const s=new n({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection});const i=this.masked.rawInputValue;const e=this.masked.splice(s.startChangePos,s.removed.length,s.inserted,s.removeDirection,{input:true,raw:true}).offset;const r=i===this.masked.rawInputValue?s.removeDirection:u.NONE;let h=this.masked.nearestInputPos(s.startChangePos+e,r);if(r!==u.NONE)h=this.masked.nearestInputPos(h,u.NONE);this.updateControl();this.updateCursor(h);delete this._inputEvent}_onChange(){if(this.displayValue!==this.el.value){this.updateValue()}this.masked.doCommit();this.updateControl();this._saveSelection()}_onDrop(t){t.preventDefault();t.stopPropagation()}_onFocus(t){this.alignCursorFriendly()}_onClick(t){this.alignCursorFriendly()}destroy(){this._unbindEvents();this._listeners.length=0;delete this.el}}o.InputMask=F;class C{static normalize(t){return Array.isArray(t)?t:[t,new C]}constructor(t){Object.assign(this,{inserted:"",rawInserted:"",skip:false,tailShift:0},t)}aggregate(t){this.rawInserted+=t.rawInserted;this.skip=this.skip||t.skip;this.inserted+=t.inserted;this.tailShift+=t.tailShift;return this}get offset(){return this.tailShift+this.inserted.length}}o.ChangeDetails=C;class B{constructor(t,s,i){if(t===void 0){t=""}if(s===void 0){s=0}this.value=t;this.from=s;this.stop=i}toString(){return this.value}extend(t){this.value+=String(t)}appendTo(t){return t.append(this.toString(),{tail:true}).aggregate(t._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(t){Object.assign(this,t)}unshift(t){if(!this.value.length||t!=null&&this.from>=t)return"";const s=this.value[0];this.value=this.value.slice(1);return s}shift(){if(!this.value.length)return"";const t=this.value[this.value.length-1];this.value=this.value.slice(0,-1);return t}}class g{constructor(t){this._value="";this._update({...g.DEFAULTS,...t});this._initialized=true}updateOptions(t){if(!Object.keys(t).length)return;this.withValueRefresh(this._update.bind(this,t))}_update(t){Object.assign(this,t)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value}reset(){this._value=""}get value(){return this._value}set value(t){this.resolve(t,{input:true})}resolve(t,s){if(s===void 0){s={input:true}}this.reset();this.append(t,s,"");this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(t){this.resolve(t,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(t){if(this.format){this.value=this.format(t,this)}else{this.unmaskedValue=String(t)}}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:true})}set rawInputValue(t){this.resolve(t,{raw:true})}get displayValue(){return this.value}get isComplete(){return true}get isFilled(){return this.isComplete}nearestInputPos(t,s){return t}totalInputPositions(t,s){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}return Math.min(this.displayValue.length,s-t)}extractInput(t,s,i){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}return this.displayValue.slice(t,s)}extractTail(t,s){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}return new B(this.extractInput(t,s),t)}appendTail(s){if(t(s))s=new B(String(s));return s.appendTo(this)}_appendCharRaw(t,s){if(!t)return new C;this._value+=t;return new C({inserted:t,rawInserted:t})}_appendChar(t,s,i){if(s===void 0){s={}}const u=this.state;let e;[t,e]=this.doPrepareChar(t,s);e=e.aggregate(this._appendCharRaw(t,s));if(e.inserted){let t;let r=this.doValidate(s)!==false;if(r&&i!=null){const s=this.state;if(this.overwrite===true){t=i.state;i.unshift(this.displayValue.length-e.tailShift)}let u=this.appendTail(i);r=u.rawInserted===i.toString();if(!(r&&u.inserted)&&this.overwrite==="shift"){this.state=s;t=i.state;i.shift();u=this.appendTail(i);r=u.rawInserted===i.toString()}if(r&&u.inserted)this.state=s}if(!r){e=new C;this.state=u;if(i&&t)i.state=t}}return e}_appendPlaceholder(){return new C}_appendEager(){return new C}append(s,i,u){if(!t(s))throw new Error("value should be string");const e=t(u)?new B(String(u)):u;if(i!=null&&i.tail)i._beforeTailState=this.state;let r;[s,r]=this.doPrepare(s,i);for(let t=0;t<s.length;++t){const u=this._appendChar(s[t],i,e);if(!u.rawInserted&&!this.doSkipInvalid(s[t],i,e))break;r.aggregate(u)}if((this.eager===true||this.eager==="append")&&i!=null&&i.input&&s){r.aggregate(this._appendEager())}if(e!=null){r.tailShift+=this.appendTail(e).tailShift}return r}remove(t,s){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}this._value=this.displayValue.slice(0,t)+this.displayValue.slice(s);return new C}withValueRefresh(t){if(this._refreshing||!this._initialized)return t();this._refreshing=true;const s=this.rawInputValue;const i=this.value;const u=t();this.rawInputValue=s;if(this.value&&this.value!==i&&i.indexOf(this.value)===0){this.append(i.slice(this.displayValue.length),{},"")}delete this._refreshing;return u}runIsolated(t){if(this._isolated||!this._initialized)return t(this);this._isolated=true;const s=this.state;const i=t(this);this.state=s;delete this._isolated;return i}doSkipInvalid(t,s,i){return Boolean(this.skipInvalid)}doPrepare(t,s){if(s===void 0){s={}}return C.normalize(this.prepare?this.prepare(t,this,s):t)}doPrepareChar(t,s){if(s===void 0){s={}}return C.normalize(this.prepareChar?this.prepareChar(t,this,s):t)}doValidate(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}doCommit(){if(this.commit)this.commit(this.value,this)}splice(t,s,i,r,h){if(r===void 0){r=u.NONE}if(h===void 0){h={input:true}}const n=t+s;const o=this.extractTail(n);const a=this.eager===true||this.eager==="remove";let l;if(a){r=e(r);l=this.extractInput(0,n,{raw:true})}let f=t;const c=new C;if(r!==u.NONE){f=this.nearestInputPos(t,s>1&&t!==0&&!a?u.NONE:r);c.tailShift=f-t}c.aggregate(this.remove(f));if(a&&r!==u.NONE&&l===this.rawInputValue){if(r===u.FORCE_LEFT){let t;while(l===this.rawInputValue&&(t=this.displayValue.length)){c.aggregate(new C({tailShift:-1})).aggregate(this.remove(t-1))}}else if(r===u.FORCE_RIGHT){o.unshift()}}return c.aggregate(this.append(i,h,o))}maskEquals(t){return this.mask===t}typedValueEquals(t){const s=this.typedValue;return t===s||g.EMPTY_VALUES.includes(t)&&g.EMPTY_VALUES.includes(s)||(this.format?this.format(t,this)===this.format(this.typedValue,this):false)}}g.DEFAULTS={skipInvalid:true};g.EMPTY_VALUES=[undefined,null,""];o.Masked=g;class v{constructor(t,s){if(t===void 0){t=[]}if(s===void 0){s=0}this.chunks=t;this.from=s}toString(){return this.chunks.map(String).join("")}extend(s){if(!String(s))return;s=t(s)?new B(String(s)):s;const i=this.chunks[this.chunks.length-1];const u=i&&(i.stop===s.stop||s.stop==null)&&s.from===i.from+i.toString().length;if(s instanceof B){if(u){i.extend(s.toString())}else{this.chunks.push(s)}}else if(s instanceof v){if(s.stop==null){let t;while(s.chunks.length&&s.chunks[0].stop==null){t=s.chunks.shift();t.from+=s.from;this.extend(t)}}if(s.toString()){s.stop=s.blockIndex;this.chunks.push(s)}}}appendTo(t){if(!(t instanceof o.MaskedPattern)){const s=new B(this.toString());return s.appendTo(t)}const s=new C;for(let i=0;i<this.chunks.length&&!s.skip;++i){const u=this.chunks[i];const e=t._mapPosToBlock(t.displayValue.length);const r=u.stop;let h;if(r!=null&&(!e||e.index<=r)){if(u instanceof v||t._stops.indexOf(r)>=0){const i=t._appendPlaceholder(r);s.aggregate(i)}h=u instanceof v&&t._blocks[r]}if(h){const i=h.appendTail(u);i.skip=false;s.aggregate(i);t._value+=i.inserted;const e=u.toString().slice(i.rawInserted.length);if(e)s.aggregate(t.append(e,{tail:true}))}else{s.aggregate(t.append(u.toString(),{tail:true}))}}return s}get state(){return{chunks:this.chunks.map((t=>t.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(t){const{chunks:s,...i}=t;Object.assign(this,i);this.chunks=s.map((t=>{const s="chunks"in t?new v:new B;s.state=t;return s}))}unshift(t){if(!this.chunks.length||t!=null&&this.from>=t)return"";const s=t!=null?t-this.from:t;let i=0;while(i<this.chunks.length){const t=this.chunks[i];const u=t.unshift(s);if(t.toString()){if(!u)break;++i}else{this.chunks.splice(i,1)}if(u)return u}return""}shift(){if(!this.chunks.length)return"";let t=this.chunks.length-1;while(0<=t){const s=this.chunks[t];const i=s.shift();if(s.toString()){if(!i)break;--t}else{this.chunks.splice(t,1)}if(i)return i}return""}}class E{constructor(t,s){this.masked=t;this._log=[];const{offset:i,index:u}=t._mapPosToBlock(s)||(s<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=i;this.index=u;this.ok=false}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(t){Object.assign(this,t)}pushState(){this._log.push(this.state)}popState(){const t=this._log.pop();if(t)this.state=t;return t}bindBlock(){if(this.block)return;if(this.index<0){this.index=0;this.offset=0}if(this.index>=this.masked._blocks.length){this.index=this.masked._blocks.length-1;this.offset=this.block.displayValue.length}}_pushLeft(t){this.pushState();for(this.bindBlock();0<=this.index;--this.index,this.offset=((s=this.block)==null?void 0:s.displayValue.length)||0){var s;if(t())return this.ok=true}return this.ok=false}_pushRight(t){this.pushState();for(this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0){if(t())return this.ok=true}return this.ok=false}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(this.block.isFixed||!this.block.value)return;this.offset=this.block.nearestInputPos(this.offset,u.FORCE_LEFT);if(this.offset!==0)return true}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(this.block.isFixed)return;this.offset=this.block.nearestInputPos(this.offset,u.LEFT);return true}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(this.block.isFixed||this.block.isOptional&&!this.block.value)return;this.offset=this.block.nearestInputPos(this.offset,u.LEFT);return true}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(this.block.isFixed||!this.block.value)return;this.offset=this.block.nearestInputPos(this.offset,u.FORCE_RIGHT);if(this.offset!==this.block.value.length)return true}))}pushRightBeforeInput(){return this._pushRight((()=>{if(this.block.isFixed)return;this.offset=this.block.nearestInputPos(this.offset,u.NONE);return true}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(this.block.isFixed||this.block.isOptional&&!this.block.value)return;this.offset=this.block.nearestInputPos(this.offset,u.NONE);return true}))}}class D{constructor(t){Object.assign(this,t);this._value="";this.isFixed=true}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=false;this._value=""}remove(t,s){if(t===void 0){t=0}if(s===void 0){s=this._value.length}this._value=this._value.slice(0,t)+this._value.slice(s);if(!this._value)this._isRawInput=false;return new C}nearestInputPos(t,s){if(s===void 0){s=u.NONE}const i=0;const e=this._value.length;switch(s){case u.LEFT:case u.FORCE_LEFT:return i;case u.NONE:case u.RIGHT:case u.FORCE_RIGHT:default:return e}}totalInputPositions(t,s){if(t===void 0){t=0}if(s===void 0){s=this._value.length}return this._isRawInput?s-t:0}extractInput(t,s,i){if(t===void 0){t=0}if(s===void 0){s=this._value.length}if(i===void 0){i={}}return i.raw&&this._isRawInput&&this._value.slice(t,s)||""}get isComplete(){return true}get isFilled(){return Boolean(this._value)}_appendChar(t,s){if(s===void 0){s={}}const i=new C;if(this.isFilled)return i;const u=this.eager===true||this.eager==="append";const e=this.char===t;const r=e&&(this.isUnmasking||s.input||s.raw)&&(!s.raw||!u)&&!s.tail;if(r)i.rawInserted=this.char;this._value=i.inserted=this.char;this._isRawInput=r&&(s.raw||s.input);return i}_appendEager(){return this._appendChar(this.char,{tail:true})}_appendPlaceholder(){const t=new C;if(this.isFilled)return t;this._value=t.inserted=this.char;return t}extractTail(){return new B("")}appendTail(s){if(t(s))s=new B(String(s));return s.appendTo(this)}append(t,s,i){const u=this._appendChar(t[0],s);if(i!=null){u.tailShift+=this.appendTail(i).tailShift}return u}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value;this._isRawInput=Boolean(t._rawInputValue)}}class m{constructor(t){const{parent:s,isOptional:i,placeholderChar:u,displayChar:e,lazy:r,eager:h,...n}=t;this.masked=f(n);Object.assign(this,{parent:s,isOptional:i,placeholderChar:u,displayChar:e,lazy:r,eager:h})}reset(){this.isFilled=false;this.masked.reset()}remove(t,s){if(t===void 0){t=0}if(s===void 0){s=this.value.length}if(t===0&&s>=1){this.isFilled=false;return this.masked.remove(t,s)}return new C}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(t,s){if(s===void 0){s={}}if(this.isFilled)return new C;const i=this.masked.state;const u=this.masked._appendChar(t,this.currentMaskFlags(s));if(u.inserted&&this.doValidate(s)===false){u.inserted=u.rawInserted="";this.masked.state=i}if(!u.inserted&&!this.isOptional&&!this.lazy&&!s.input){u.inserted=this.placeholderChar}u.skip=!u.inserted&&!this.isOptional;this.isFilled=Boolean(u.inserted);return u}append(t,s,i){return this.masked.append(t,this.currentMaskFlags(s),i)}_appendPlaceholder(){const t=new C;if(this.isFilled||this.isOptional)return t;this.isFilled=true;t.inserted=this.placeholderChar;return t}_appendEager(){return new C}extractTail(t,s){return this.masked.extractTail(t,s)}appendTail(t){return this.masked.appendTail(t)}extractInput(t,s,i){if(t===void 0){t=0}if(s===void 0){s=this.value.length}return this.masked.extractInput(t,s,i)}nearestInputPos(t,s){if(s===void 0){s=u.NONE}const i=0;const e=this.value.length;const r=Math.min(Math.max(t,i),e);switch(s){case u.LEFT:case u.FORCE_LEFT:return this.isComplete?r:i;case u.RIGHT:case u.FORCE_RIGHT:return this.isComplete?r:e;case u.NONE:default:return r}}totalInputPositions(t,s){if(t===void 0){t=0}if(s===void 0){s=this.value.length}return this.value.slice(t,s).length}doValidate(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(t){this.masked.state=t.masked;this.isFilled=t.isFilled}currentMaskFlags(t){var s;return{...t,_beforeTailState:(t==null||(s=t._beforeTailState)==null?void 0:s.masked)||(t==null?void 0:t._beforeTailState)}}}m.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./};class k extends g{updateOptions(t){super.updateOptions(t)}_update(t){const s=t.mask;if(s)t.validate=t=>t.search(s)>=0;super._update(t)}}o.MaskedRegExp=k;class w extends g{constructor(t){super({...w.DEFAULTS,...t,definitions:Object.assign({},m.DEFAULT_DEFINITIONS,t==null?void 0:t.definitions)})}updateOptions(t){super.updateOptions(t)}_update(t){t.definitions=Object.assign({},this.definitions,t.definitions);super._update(t);this._rebuildMask()}_rebuildMask(){const t=this.definitions;this._blocks=[];this.exposeBlock=undefined;this._stops=[];this._maskedBlocks={};const s=this.mask;if(!s||!t)return;let i=false;let u=false;for(let e=0;e<s.length;++e){if(this.blocks){const t=s.slice(e);const i=Object.keys(this.blocks).filter((s=>t.indexOf(s)===0));i.sort(((t,s)=>s.length-t.length));const u=i[0];if(u){const{expose:t,...s}=l(this.blocks[u]);const i=f({lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,...s,parent:this});if(i){this._blocks.push(i);if(t)this.exposeBlock=i;if(!this._maskedBlocks[u])this._maskedBlocks[u]=[];this._maskedBlocks[u].push(this._blocks.length-1)}e+=u.length-1;continue}}let r=s[e];let h=r in t;if(r===w.STOP_CHAR){this._stops.push(this._blocks.length);continue}if(r==="{"||r==="}"){i=!i;continue}if(r==="["||r==="]"){u=!u;continue}if(r===w.ESCAPE_CHAR){++e;r=s[e];if(!r)break;h=false}const n=h?new m({isOptional:u,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...l(t[r]),parent:this}):new D({char:r,eager:this.eager,isUnmasking:i});this._blocks.push(n)}}get state(){return{...super.state,_blocks:this._blocks.map((t=>t.state))}}set state(t){const{_blocks:s,...i}=t;this._blocks.forEach(((t,i)=>t.state=s[i]));super.state=i}reset(){super.reset();this._blocks.forEach((t=>t.reset()))}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((t=>t.isComplete))}get isFilled(){return this._blocks.every((t=>t.isFilled))}get isFixed(){return this._blocks.every((t=>t.isFixed))}get isOptional(){return this._blocks.every((t=>t.isOptional))}doCommit(){this._blocks.forEach((t=>t.doCommit()));super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce(((t,s)=>t+=s.unmaskedValue),"")}set unmaskedValue(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=t;this.appendTail(s);this.doCommit()}else super.unmaskedValue=t}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce(((t,s)=>t+=s.value),"")}set value(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=t;this.appendTail(s);this.doCommit()}else super.value=t}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=t;this.appendTail(s);this.doCommit()}else super.typedValue=t}get displayValue(){return this._blocks.reduce(((t,s)=>t+=s.displayValue),"")}appendTail(t){return super.appendTail(t).aggregate(this._appendPlaceholder())}_appendEager(){var t;const s=new C;let i=(t=this._mapPosToBlock(this.displayValue.length))==null?void 0:t.index;if(i==null)return s;if(this._blocks[i].isFilled)++i;for(let t=i;t<this._blocks.length;++t){const i=this._blocks[t]._appendEager();if(!i.inserted)break;s.aggregate(i)}return s}_appendCharRaw(t,s){if(s===void 0){s={}}const i=this._mapPosToBlock(this.displayValue.length);const u=new C;if(!i)return u;for(let r=i.index;;++r){var e;const i=this._blocks[r];if(!i)break;const h=i._appendChar(t,{...s,_beforeTailState:(e=s._beforeTailState)==null||(e=e._blocks)==null?void 0:e[r]});const n=h.skip;u.aggregate(h);if(n||h.rawInserted)break}return u}extractTail(t,s){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}const i=new v;if(t===s)return i;this._forEachBlocksInRange(t,s,((t,s,u,e)=>{const r=t.extractTail(u,e);r.stop=this._findStopBefore(s);r.from=this._blockStartPos(s);if(r instanceof v)r.blockIndex=s;i.extend(r)}));return i}extractInput(t,s,i){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}if(i===void 0){i={}}if(t===s)return"";let u="";this._forEachBlocksInRange(t,s,((t,s,e,r)=>{u+=t.extractInput(e,r,i)}));return u}_findStopBefore(t){let s;for(let i=0;i<this._stops.length;++i){const u=this._stops[i];if(u<=t)s=u;else break}return s}_appendPlaceholder(t){const s=new C;if(this.lazy&&t==null)return s;const i=this._mapPosToBlock(this.displayValue.length);if(!i)return s;const u=i.index;const e=t!=null?t:this._blocks.length;this._blocks.slice(u,e).forEach((i=>{if(!i.lazy||t!=null){var u;const t=i._appendPlaceholder((u=i._blocks)==null?void 0:u.length);this._value+=t.inserted;s.aggregate(t)}}));return s}_mapPosToBlock(t){let s="";for(let i=0;i<this._blocks.length;++i){const u=this._blocks[i];const e=s.length;s+=u.displayValue;if(t<=s.length){return{index:i,offset:t-e}}}}_blockStartPos(t){return this._blocks.slice(0,t).reduce(((t,s)=>t+=s.displayValue.length),0)}_forEachBlocksInRange(t,s,i){if(s===void 0){s=this.displayValue.length}const u=this._mapPosToBlock(t);if(u){const t=this._mapPosToBlock(s);const e=t&&u.index===t.index;const r=u.offset;const h=t&&e?t.offset:this._blocks[u.index].displayValue.length;i(this._blocks[u.index],u.index,r,h);if(t&&!e){for(let s=u.index+1;s<t.index;++s){i(this._blocks[s],s,0,this._blocks[s].displayValue.length)}i(this._blocks[t.index],t.index,0,t.offset)}}}remove(t,s){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}const i=super.remove(t,s);this._forEachBlocksInRange(t,s,((t,s,u,e)=>{i.aggregate(t.remove(u,e))}));return i}nearestInputPos(t,s){if(s===void 0){s=u.NONE}if(!this._blocks.length)return 0;const i=new E(this,t);if(s===u.NONE){if(i.pushRightBeforeInput())return i.pos;i.popState();if(i.pushLeftBeforeInput())return i.pos;return this.displayValue.length}if(s===u.LEFT||s===u.FORCE_LEFT){if(s===u.LEFT){i.pushRightBeforeFilled();if(i.ok&&i.pos===t)return t;i.popState()}i.pushLeftBeforeInput();i.pushLeftBeforeRequired();i.pushLeftBeforeFilled();if(s===u.LEFT){i.pushRightBeforeInput();i.pushRightBeforeRequired();if(i.ok&&i.pos<=t)return i.pos;i.popState();if(i.ok&&i.pos<=t)return i.pos;i.popState()}if(i.ok)return i.pos;if(s===u.FORCE_LEFT)return 0;i.popState();if(i.ok)return i.pos;i.popState();if(i.ok)return i.pos;return 0}if(s===u.RIGHT||s===u.FORCE_RIGHT){i.pushRightBeforeInput();i.pushRightBeforeRequired();if(i.pushRightBeforeFilled())return i.pos;if(s===u.FORCE_RIGHT)return this.displayValue.length;i.popState();if(i.ok)return i.pos;i.popState();if(i.ok)return i.pos;return this.nearestInputPos(t,u.LEFT)}return t}totalInputPositions(t,s){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}let i=0;this._forEachBlocksInRange(t,s,((t,s,u,e)=>{i+=t.totalInputPositions(u,e)}));return i}maskedBlock(t){return this.maskedBlocks(t)[0]}maskedBlocks(t){const s=this._maskedBlocks[t];if(!s)return[];return s.map((t=>this._blocks[t]))}}w.DEFAULTS={lazy:true,placeholderChar:"_"};w.STOP_CHAR="`";w.ESCAPE_CHAR="\\";w.InputDefinition=m;w.FixedDefinition=D;o.MaskedPattern=w;class _ extends w{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{to:s=this.to||0,from:i=this.from||0,maxLength:u=this.maxLength||0,autofix:e=this.autofix,...r}=t;this.to=s;this.from=i;this.maxLength=Math.max(String(s).length,u);this.autofix=e;const h=String(this.from).padStart(this.maxLength,"0");const n=String(this.to).padStart(this.maxLength,"0");let o=0;while(o<n.length&&n[o]===h[o])++o;r.mask=n.slice(0,o).replace(/0/g,"\\0")+"0".repeat(this.maxLength-o);super._update(r)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(t){let s="";let i="";const[,u,e]=t.match(/^(\D*)(\d*)(\D*)/)||[];if(e){s="0".repeat(u.length)+e;i="9".repeat(u.length)+e}s=s.padEnd(this.maxLength,"0");i=i.padEnd(this.maxLength,"9");return[s,i]}doPrepareChar(t,s){if(s===void 0){s={}}let i;[t,i]=super.doPrepareChar(t.replace(/\D/g,""),s);if(!this.autofix||!t)return[t,i];const u=String(this.from).padStart(this.maxLength,"0");const e=String(this.to).padStart(this.maxLength,"0");const r=this.value+t;if(r.length>this.maxLength)return["",i];const[h,n]=this.boundaries(r);if(Number(n)<this.from)return[u[r.length-1],i];if(Number(h)>this.to){if(this.autofix==="pad"&&r.length<this.maxLength){return["",i.aggregate(this.append(u[r.length-1]+t,s))]}return[e[r.length-1],i]}return[t,i]}doValidate(t){const s=this.value;const i=s.search(/[^0]/);if(i===-1&&s.length<=this._matchFrom)return true;const[u,e]=this.boundaries(s);return this.from<=Number(e)&&Number(u)<=this.to&&super.doValidate(t)}}o.MaskedRange=_;class b extends w{constructor(s){const{mask:i,pattern:u,...e}={...b.DEFAULTS,...s};super({...e,mask:t(i)?i:u})}updateOptions(t){super.updateOptions(t)}_update(s){const{mask:i,pattern:u,blocks:e,...r}={...b.DEFAULTS,...s};const h=Object.assign({},b.GET_DEFAULT_BLOCKS());if(s.min)h.Y.from=s.min.getFullYear();if(s.max)h.Y.to=s.max.getFullYear();if(s.min&&s.max&&h.Y.from===h.Y.to){h.m.from=s.min.getMonth()+1;h.m.to=s.max.getMonth()+1;if(h.m.from===h.m.to){h.d.from=s.min.getDate();h.d.to=s.max.getDate()}}Object.assign(h,this.blocks,e);Object.keys(h).forEach((t=>{const i=h[t];if(!("autofix"in i)&&"autofix"in s)i.autofix=s.autofix}));super._update({...r,mask:t(i)?i:u,blocks:h})}doValidate(t){const s=this.date;return super.doValidate(t)&&(!this.isComplete||this.isDateExist(this.value)&&s!=null&&(this.min==null||this.min<=s)&&(this.max==null||s<=this.max))}isDateExist(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}get date(){return this.typedValue}set date(t){this.typedValue=t}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(t){super.typedValue=t}maskEquals(t){return t===Date||super.maskEquals(t)}}b.GET_DEFAULT_BLOCKS=()=>({d:{mask:_,from:1,to:31,maxLength:2},m:{mask:_,from:1,to:12,maxLength:2},Y:{mask:_,from:1900,to:9999}});b.DEFAULTS={mask:Date,pattern:"d{.}`m{.}`Y",format:(t,s)=>{if(!t)return"";const i=String(t.getDate()).padStart(2,"0");const u=String(t.getMonth()+1).padStart(2,"0");const e=t.getFullYear();return[i,u,e].join(".")},parse:(t,s)=>{const[i,u,e]=t.split(".").map(Number);return new Date(e,u-1,i)}};o.MaskedDate=b;class y extends g{constructor(t){super({...y.DEFAULTS,...t});this.currentMask=undefined}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t);if("mask"in t){this.exposeMask=undefined;this.compiledMasks=Array.isArray(t.mask)?t.mask.map((t=>{const{expose:s,...i}=l(t);const u=f({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...i});if(s)this.exposeMask=u;return u})):[]}}_appendCharRaw(t,s){if(s===void 0){s={}}const i=this._applyDispatch(t,s);if(this.currentMask){i.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(s)))}return i}_applyDispatch(t,s,i){if(t===void 0){t=""}if(s===void 0){s={}}if(i===void 0){i=""}const u=s.tail&&s._beforeTailState!=null?s._beforeTailState._value:this.value;const e=this.rawInputValue;const r=s.tail&&s._beforeTailState!=null?s._beforeTailState._rawInputValue:e;const h=e.slice(r.length);const n=this.currentMask;const o=new C;const a=n==null?void 0:n.state;this.currentMask=this.doDispatch(t,{...s},i);if(this.currentMask){if(this.currentMask!==n){this.currentMask.reset();if(r){const t=this.currentMask.append(r,{raw:true});o.tailShift=t.inserted.length-u.length}if(h){o.tailShift+=this.currentMask.append(h,{raw:true,tail:true}).tailShift}}else if(a){this.currentMask.state=a}}return o}_appendPlaceholder(){const t=this._applyDispatch();if(this.currentMask){t.aggregate(this.currentMask._appendPlaceholder())}return t}_appendEager(){const t=this._applyDispatch();if(this.currentMask){t.aggregate(this.currentMask._appendEager())}return t}appendTail(t){const s=new C;if(t)s.aggregate(this._applyDispatch("",{},t));return s.aggregate(this.currentMask?this.currentMask.appendTail(t):super.appendTail(t))}currentMaskFlags(t){var s,i;return{...t,_beforeTailState:((s=t._beforeTailState)==null?void 0:s.currentMaskRef)===this.currentMask&&((i=t._beforeTailState)==null?void 0:i.currentMask)||t._beforeTailState}}doDispatch(t,s,i){if(s===void 0){s={}}if(i===void 0){i=""}return this.dispatch(t,this,s,i)}doValidate(t){return super.doValidate(t)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(t)))}doPrepare(t,s){if(s===void 0){s={}}let[i,u]=super.doPrepare(t,s);if(this.currentMask){let t;[i,t]=super.doPrepare(i,this.currentMaskFlags(s));u=u.aggregate(t)}return[i,u]}doPrepareChar(t,s){if(s===void 0){s={}}let[i,u]=super.doPrepareChar(t,s);if(this.currentMask){let t;[i,t]=super.doPrepareChar(i,this.currentMaskFlags(s));u=u.aggregate(t)}return[i,u]}reset(){var t;(t=this.currentMask)==null?void 0:t.reset();this.compiledMasks.forEach((t=>t.reset()))}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(t){if(this.exposeMask){this.exposeMask.value=t;this.currentMask=this.exposeMask;this._applyDispatch()}else super.value=t}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(t){if(this.exposeMask){this.exposeMask.unmaskedValue=t;this.currentMask=this.exposeMask;this._applyDispatch()}else super.unmaskedValue=t}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(t){if(this.exposeMask){this.exposeMask.typedValue=t;this.currentMask=this.exposeMask;this._applyDispatch();return}let s=String(t);if(this.currentMask){this.currentMask.typedValue=t;s=this.currentMask.unmaskedValue}this.unmaskedValue=s}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var t;return Boolean((t=this.currentMask)==null?void 0:t.isComplete)}get isFilled(){var t;return Boolean((t=this.currentMask)==null?void 0:t.isFilled)}remove(t,s){const i=new C;if(this.currentMask){i.aggregate(this.currentMask.remove(t,s)).aggregate(this._applyDispatch())}return i}get state(){var t;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((t=>t.state)),currentMaskRef:this.currentMask,currentMask:(t=this.currentMask)==null?void 0:t.state}}set state(t){const{compiledMasks:s,currentMaskRef:i,currentMask:u,...e}=t;if(s)this.compiledMasks.forEach(((t,i)=>t.state=s[i]));if(i!=null){this.currentMask=i;this.currentMask.state=u}super.state=e}extractInput(t,s,i){return this.currentMask?this.currentMask.extractInput(t,s,i):""}extractTail(t,s){return this.currentMask?this.currentMask.extractTail(t,s):super.extractTail(t,s)}doCommit(){if(this.currentMask)this.currentMask.doCommit();super.doCommit()}nearestInputPos(t,s){return this.currentMask?this.currentMask.nearestInputPos(t,s):super.nearestInputPos(t,s)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(t){this._overwrite=t}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(t){this._eager=t}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(t){this._skipInvalid=t}maskEquals(t){return Array.isArray(t)?this.compiledMasks.every(((s,i)=>{if(!t[i])return;const{mask:u,...e}=t[i];return h(s,e)&&s.maskEquals(u)})):super.maskEquals(t)}typedValueEquals(t){var s;return Boolean((s=this.currentMask)==null?void 0:s.typedValueEquals(t))}}y.DEFAULTS=void 0;y.DEFAULTS={dispatch:(t,s,i,e)=>{if(!s.compiledMasks.length)return;const r=s.rawInputValue;const h=s.compiledMasks.map(((h,n)=>{const o=s.currentMask===h;const a=o?h.displayValue.length:h.nearestInputPos(h.displayValue.length,u.FORCE_LEFT);if(h.rawInputValue!==r){h.reset();h.append(r,{raw:true})}else if(!o){h.remove(a)}h.append(t,s.currentMaskFlags(i));h.appendTail(e);return{index:n,weight:h.rawInputValue.length,totalInputPositions:h.totalInputPositions(0,Math.max(a,h.nearestInputPos(h.displayValue.length,u.FORCE_LEFT)))}}));h.sort(((t,s)=>s.weight-t.weight||s.totalInputPositions-t.totalInputPositions));return s.compiledMasks[h[0].index]}};o.MaskedDynamic=y;class S extends w{constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{enum:s,...i}=t;if(s){const t=s.map((t=>t.length));const u=Math.min(...t);const e=Math.max(...t)-u;i.mask="*".repeat(u);if(e)i.mask+="["+"*".repeat(e)+"]";this.enum=s}super._update(i)}doValidate(t){return this.enum.some((t=>t.indexOf(this.unmaskedValue)===0))&&super.doValidate(t)}}o.MaskedEnum=S;class V extends g{updateOptions(t){super.updateOptions(t)}_update(t){super._update({...t,validate:t.mask})}}o.MaskedFunction=V;class x extends g{constructor(t){super({...x.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t);this._updateRegExps()}_updateRegExps(){const t="^"+(this.allowNegative?"[+|\\-]?":"");const s="\\d*";const i=(this.scale?"("+r(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(t+s+i);this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(r).join("")+"]","g");this._thousandsSeparatorRegExp=new RegExp(r(this.thousandsSeparator),"g")}_removeThousandsSeparators(t){return t.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(t){const s=t.split(this.radix);s[0]=s[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator);return s.join(this.radix)}doPrepareChar(t,s){if(s===void 0){s={}}const[i,u]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(s.input&&s.raw||!s.input&&!s.raw)?t.replace(this._mapToRadixRegExp,this.radix):t),s);if(t&&!i)u.skip=true;if(i&&!this.allowPositive&&!this.value&&i!=="-")u.aggregate(this._appendChar("-"));return[i,u]}_separatorsCount(t,s){if(s===void 0){s=false}let i=0;for(let u=0;u<t;++u){if(this._value.indexOf(this.thousandsSeparator,u)===u){++i;if(s)t+=this.thousandsSeparator.length}}return i}_separatorsCountFromSlice(t){if(t===void 0){t=this._value}return this._separatorsCount(this._removeThousandsSeparators(t).length,true)}extractInput(t,s,i){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}[t,s]=this._adjustRangeWithSeparators(t,s);return this._removeThousandsSeparators(super.extractInput(t,s,i))}_appendCharRaw(t,s){if(s===void 0){s={}}if(!this.thousandsSeparator)return super._appendCharRaw(t,s);const i=s.tail&&s._beforeTailState?s._beforeTailState._value:this._value;const u=this._separatorsCountFromSlice(i);this._value=this._removeThousandsSeparators(this.value);const e=super._appendCharRaw(t,s);this._value=this._insertThousandsSeparators(this._value);const r=s.tail&&s._beforeTailState?s._beforeTailState._value:this._value;const h=this._separatorsCountFromSlice(r);e.tailShift+=(h-u)*this.thousandsSeparator.length;e.skip=!e.rawInserted&&t===this.thousandsSeparator;return e}_findSeparatorAround(t){if(this.thousandsSeparator){const s=t-this.thousandsSeparator.length+1;const i=this.value.indexOf(this.thousandsSeparator,s);if(i<=t)return i}return-1}_adjustRangeWithSeparators(t,s){const i=this._findSeparatorAround(t);if(i>=0)t=i;const u=this._findSeparatorAround(s);if(u>=0)s=u+this.thousandsSeparator.length;return[t,s]}remove(t,s){if(t===void 0){t=0}if(s===void 0){s=this.displayValue.length}[t,s]=this._adjustRangeWithSeparators(t,s);const i=this.value.slice(0,t);const u=this.value.slice(s);const e=this._separatorsCount(i.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(i+u));const r=this._separatorsCountFromSlice(i);return new C({tailShift:(r-e)*this.thousandsSeparator.length})}nearestInputPos(t,s){if(!this.thousandsSeparator)return t;switch(s){case u.NONE:case u.LEFT:case u.FORCE_LEFT:{const i=this._findSeparatorAround(t-1);if(i>=0){const e=i+this.thousandsSeparator.length;if(t<e||this.value.length<=e||s===u.FORCE_LEFT){return i}}break}case u.RIGHT:case u.FORCE_RIGHT:{const s=this._findSeparatorAround(t);if(s>=0){return s+this.thousandsSeparator.length}}}return t}doValidate(t){let s=Boolean(this._removeThousandsSeparators(this.value).match(this._numberRegExp));if(s){const t=this.number;s=s&&!isNaN(t)&&(this.min==null||this.min>=0||this.min<=this.number)&&(this.max==null||this.max<=0||this.number<=this.max)}return s&&super.doValidate(t)}doCommit(){if(this.value){const t=this.number;let s=t;if(this.min!=null)s=Math.max(s,this.min);if(this.max!=null)s=Math.min(s,this.max);if(s!==t)this.unmaskedValue=this.format(s,this);let i=this.value;if(this.normalizeZeros)i=this._normalizeZeros(i);if(this.padFractionalZeros&&this.scale>0)i=this._padFractionalZeros(i);this._value=i}super.doCommit()}_normalizeZeros(t){const s=this._removeThousandsSeparators(t).split(this.radix);s[0]=s[0].replace(/^(\D*)(0*)(\d*)/,((t,s,i,u)=>s+u));if(t.length&&!/\d$/.test(s[0]))s[0]=s[0]+"0";if(s.length>1){s[1]=s[1].replace(/0*$/,"");if(!s[1].length)s.length=1}return this._insertThousandsSeparators(s.join(this.radix))}_padFractionalZeros(t){if(!t)return t;const s=t.split(this.radix);if(s.length<2)s.push("");s[1]=s[1].padEnd(this.scale,"0");return s.join(this.radix)}doSkipInvalid(t,s,i){if(s===void 0){s={}}const u=this.scale===0&&t!==this.thousandsSeparator&&(t===this.radix||t===x.UNMASKED_RADIX||this.mapToRadix.includes(t));return super.doSkipInvalid(t,s,i)&&!u}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,x.UNMASKED_RADIX)}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(t){this.rawInputValue=this.format(t,this).replace(x.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(t){this.typedValue=t}get allowNegative(){return this.min!=null&&this.min<0||this.max!=null&&this.max<0}get allowPositive(){return this.min!=null&&this.min>0||this.max!=null&&this.max>0}typedValueEquals(t){return(super.typedValueEquals(t)||x.EMPTY_VALUES.includes(t)&&x.EMPTY_VALUES.includes(this.typedValue))&&!(t===0&&this.value==="")}}x.UNMASKED_RADIX=".";x.EMPTY_VALUES=[...g.EMPTY_VALUES,0];x.DEFAULTS={mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[x.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:true,padFractionalZeros:false,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:false,maximumFractionDigits:20})};o.MaskedNumber=x;const I={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function O(t,s,i){if(s===void 0){s=I.MASKED}if(i===void 0){i=I.MASKED}const u=f(t);return t=>u.runIsolated((u=>{u[s]=t;return u[i]}))}function T(t,s,i,u){return O(s,i,u)(t)}o.PIPE_TYPE=I;o.createPipe=O;o.pipe=T;try{globalThis.IMask=o}catch{}export{o as I};
2
- //# sourceMappingURL=p-2c2cde2d.js.map
1
+ function t(t){return"string"==typeof t||t instanceof String}function s(t){var s;return"object"==typeof t&&null!=t&&"Object"===(null==t||null==(s=t.constructor)?void 0:s.name)}function i(t,s){return Array.isArray(s)?i(t,((t,i)=>s.includes(i))):Object.entries(t).reduce(((t,i)=>{let[u,e]=i;return s(e,u)&&(t[u]=e),t}),{})}const u="NONE",e="LEFT",h="FORCE_LEFT",r="RIGHT",n="FORCE_RIGHT";function o(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function a(t,s){if(s===t)return!0;const i=Array.isArray(s),u=Array.isArray(t);let e;if(i&&u){if(s.length!=t.length)return!1;for(e=0;e<s.length;e++)if(!a(s[e],t[e]))return!1;return!0}if(i!=u)return!1;if(s&&t&&"object"==typeof s&&"object"==typeof t){const i=s instanceof Date,u=t instanceof Date;if(i&&u)return s.getTime()==t.getTime();if(i!=u)return!1;const h=s instanceof RegExp,r=t instanceof RegExp;if(h&&r)return s.toString()==t.toString();if(h!=r)return!1;const n=Object.keys(s);for(e=0;e<n.length;e++)if(!Object.prototype.hasOwnProperty.call(t,n[e]))return!1;for(e=0;e<n.length;e++)if(!a(t[n[e]],s[n[e]]))return!1;return!0}return!(!s||!t||"function"!=typeof s||"function"!=typeof t)&&s.toString()===t.toString()}class l{constructor(t){for(Object.assign(this,t);this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos);)--this.oldSelection.start}get startChangePos(){return Math.min(this.cursorPos,this.oldSelection.start)}get insertedCount(){return this.cursorPos-this.startChangePos}get inserted(){return this.value.substr(this.startChangePos,this.insertedCount)}get removedCount(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)}get removed(){return this.oldValue.substr(this.startChangePos,this.removedCount)}get head(){return this.value.substring(0,this.startChangePos)}get tail(){return this.value.substring(this.startChangePos+this.insertedCount)}get removeDirection(){return!this.removedCount||this.insertedCount?u:this.oldSelection.end!==this.cursorPos&&this.oldSelection.start!==this.cursorPos||this.oldSelection.end!==this.oldSelection.start?e:r}}function c(t,s){return new c.InputMask(t,s)}function d(s){if(null==s)throw new Error("mask property should be defined");return s instanceof RegExp?c.MaskedRegExp:t(s)?c.MaskedPattern:s===Date?c.MaskedDate:s===Number?c.MaskedNumber:Array.isArray(s)||s===Array?c.MaskedDynamic:c.Masked&&s.prototype instanceof c.Masked?s:c.Masked&&s instanceof c.Masked?s.constructor:s instanceof Function?c.MaskedFunction:(console.warn("Mask not found for mask",s),c.Masked)}function p(t){if(!t)throw new Error("Options in not defined");if(c.Masked){if(t.prototype instanceof c.Masked)return{mask:t};const{mask:u,...e}=t instanceof c.Masked?{mask:t}:s(t)&&t.mask instanceof c.Masked?t:{};if(u){const t=u.mask;return{...i(u,((t,s)=>!s.startsWith("_"))),mask:u.constructor,_mask:t,...e}}}return s(t)?{...t}:{mask:t}}function A(t){if(c.Masked&&t instanceof c.Masked)return t;const s=p(t),i=d(s.mask);if(!i)throw new Error("Masked class is not found for provided mask, appropriate module needs to be imported manually before creating mask.");return s.mask===i&&delete s.mask,s._mask&&(s.mask=s._mask,delete s._mask),new i(s)}c.createMask=A;class f{get selectionStart(){let t;try{t=this._unsafeSelectionStart}catch{}return null!=t?t:this.value.length}get selectionEnd(){let t;try{t=this._unsafeSelectionEnd}catch{}return null!=t?t:this.value.length}select(t,s){if(null!=t&&null!=s&&(t!==this.selectionStart||s!==this.selectionEnd))try{this._unsafeSelect(t,s)}catch{}}get isActive(){return!1}}c.MaskElement=f;class F extends f{constructor(t){super(),this.input=t,this._handlers={}}get rootElement(){var t,s,i;return null!=(t=null==(s=(i=this.input).getRootNode)?void 0:s.call(i))?t:document}get isActive(){return this.input===this.rootElement.activeElement}bindEvents(t){Object.keys(t).forEach((s=>this._toggleEventHandler(F.EVENTS_MAP[s],t[s])))}unbindEvents(){Object.keys(this._handlers).forEach((t=>this._toggleEventHandler(t)))}_toggleEventHandler(t,s){this._handlers[t]&&(this.input.removeEventListener(t,this._handlers[t]),delete this._handlers[t]),s&&(this.input.addEventListener(t,s),this._handlers[t]=s)}}F.EVENTS_MAP={selectionChange:"keydown",input:"input",drop:"drop",click:"click",focus:"focus",commit:"blur"},c.HTMLMaskElement=F;class C extends F{constructor(t){super(t),this.input=t,this._handlers={}}get _unsafeSelectionStart(){return null!=this.input.selectionStart?this.input.selectionStart:this.value.length}get _unsafeSelectionEnd(){return this.input.selectionEnd}_unsafeSelect(t,s){this.input.setSelectionRange(t,s)}get value(){return this.input.value}set value(t){this.input.value=t}}c.HTMLMaskElement=F;class B extends F{get _unsafeSelectionStart(){const t=this.rootElement,s=t.getSelection&&t.getSelection(),i=s&&s.anchorOffset,u=s&&s.focusOffset;return null==u||null==i||i<u?i:u}get _unsafeSelectionEnd(){const t=this.rootElement,s=t.getSelection&&t.getSelection(),i=s&&s.anchorOffset,u=s&&s.focusOffset;return null==u||null==i||i>u?i:u}_unsafeSelect(t,s){if(!this.rootElement.createRange)return;const i=this.rootElement.createRange();i.setStart(this.input.firstChild||this.input,t),i.setEnd(this.input.lastChild||this.input,s);const u=this.rootElement,e=u.getSelection&&u.getSelection();e&&(e.removeAllRanges(),e.addRange(i))}get value(){return this.input.textContent||""}set value(t){this.input.textContent=t}}c.HTMLContenteditableMaskElement=B,c.InputMask=class{constructor(t,s){this.el=t instanceof f?t:t.isContentEditable&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName?new B(t):new C(t),this.masked=A(s),this._listeners={},this._value="",this._unmaskedValue="",this._saveSelection=this._saveSelection.bind(this),this._onInput=this._onInput.bind(this),this._onChange=this._onChange.bind(this),this._onDrop=this._onDrop.bind(this),this._onFocus=this._onFocus.bind(this),this._onClick=this._onClick.bind(this),this.alignCursor=this.alignCursor.bind(this),this.alignCursorFriendly=this.alignCursorFriendly.bind(this),this._bindEvents(),this.updateValue(),this._onChange()}maskEquals(t){var s;return null==t||(null==(s=this.masked)?void 0:s.maskEquals(t))}get mask(){return this.masked.mask}set mask(t){if(this.maskEquals(t))return;if(!(t instanceof c.Masked)&&this.masked.constructor===d(t))return void this.masked.updateOptions({mask:t});const s=t instanceof c.Masked?t:A({mask:t});s.unmaskedValue=this.masked.unmaskedValue,this.masked=s}get value(){return this._value}set value(t){this.value!==t&&(this.masked.value=t,this.updateControl(),this.alignCursor())}get unmaskedValue(){return this._unmaskedValue}set unmaskedValue(t){this.unmaskedValue!==t&&(this.masked.unmaskedValue=t,this.updateControl(),this.alignCursor())}get typedValue(){return this.masked.typedValue}set typedValue(t){this.masked.typedValueEquals(t)||(this.masked.typedValue=t,this.updateControl(),this.alignCursor())}get displayValue(){return this.masked.displayValue}_bindEvents(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange})}_unbindEvents(){this.el&&this.el.unbindEvents()}_fireEvent(t,s){const i=this._listeners[t];i&&i.forEach((t=>t(s)))}get selectionStart(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart}get cursorPos(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd}set cursorPos(t){this.el&&this.el.isActive&&(this.el.select(t,t),this._saveSelection())}_saveSelection(){this.displayValue!==this.el.value&&console.warn("Element value was changed outside of mask. Syncronize mask using `mask.updateValue()` to work properly."),this._selection={start:this.selectionStart,end:this.cursorPos}}updateValue(){this.masked.value=this.el.value,this._value=this.masked.value}updateControl(){const t=this.masked.unmaskedValue,s=this.masked.value,i=this.displayValue,u=this.unmaskedValue!==t||this.value!==s;this._unmaskedValue=t,this._value=s,this.el.value!==i&&(this.el.value=i),u&&this._fireChangeEvents()}updateOptions(t){const{mask:s,...i}=t,u=!this.maskEquals(s),e=!a(this.masked,i);u&&(this.mask=s),e&&this.masked.updateOptions(i),(u||e)&&this.updateControl()}updateCursor(t){null!=t&&(this.cursorPos=t,this._delayUpdateCursor(t))}_delayUpdateCursor(t){this._abortUpdateCursor(),this._changingCursorPos=t,this._cursorChanging=setTimeout((()=>{this.el&&(this.cursorPos=this._changingCursorPos,this._abortUpdateCursor())}),10)}_fireChangeEvents(){this._fireEvent("accept",this._inputEvent),this.masked.isComplete&&this._fireEvent("complete",this._inputEvent)}_abortUpdateCursor(){this._cursorChanging&&(clearTimeout(this._cursorChanging),delete this._cursorChanging)}alignCursor(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,e))}alignCursorFriendly(){this.selectionStart===this.cursorPos&&this.alignCursor()}on(t,s){return this._listeners[t]||(this._listeners[t]=[]),this._listeners[t].push(s),this}off(t,s){if(!this._listeners[t])return this;if(!s)return delete this._listeners[t],this;const i=this._listeners[t].indexOf(s);return i>=0&&this._listeners[t].splice(i,1),this}_onInput(t){if(this._inputEvent=t,this._abortUpdateCursor(),!this._selection)return this.updateValue();const s=new l({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection}),i=this.masked.rawInputValue,e=this.masked.splice(s.startChangePos,s.removed.length,s.inserted,s.removeDirection,{input:!0,raw:!0}).offset,h=i===this.masked.rawInputValue?s.removeDirection:u;let r=this.masked.nearestInputPos(s.startChangePos+e,h);h!==u&&(r=this.masked.nearestInputPos(r,u)),this.updateControl(),this.updateCursor(r),delete this._inputEvent}_onChange(){this.displayValue!==this.el.value&&this.updateValue(),this.masked.doCommit(),this.updateControl(),this._saveSelection()}_onDrop(t){t.preventDefault(),t.stopPropagation()}_onFocus(t){this.alignCursorFriendly()}_onClick(t){this.alignCursorFriendly()}destroy(){this._unbindEvents(),this._listeners.length=0,delete this.el}};class v{static normalize(t){return Array.isArray(t)?t:[t,new v]}constructor(t){Object.assign(this,{inserted:"",rawInserted:"",skip:!1,tailShift:0},t)}aggregate(t){return this.rawInserted+=t.rawInserted,this.skip=this.skip||t.skip,this.inserted+=t.inserted,this.tailShift+=t.tailShift,this}get offset(){return this.tailShift+this.inserted.length}}c.ChangeDetails=v;class g{constructor(t,s,i){void 0===t&&(t=""),void 0===s&&(s=0),this.value=t,this.from=s,this.stop=i}toString(){return this.value}extend(t){this.value+=String(t)}appendTo(t){return t.append(this.toString(),{tail:!0}).aggregate(t._appendPlaceholder())}get state(){return{value:this.value,from:this.from,stop:this.stop}}set state(t){Object.assign(this,t)}unshift(t){if(!this.value.length||null!=t&&this.from>=t)return"";const s=this.value[0];return this.value=this.value.slice(1),s}shift(){if(!this.value.length)return"";const t=this.value[this.value.length-1];return this.value=this.value.slice(0,-1),t}}class D{constructor(t){this._value="",this._update({...D.DEFAULTS,...t}),this._initialized=!0}updateOptions(t){Object.keys(t).length&&this.withValueRefresh(this._update.bind(this,t))}_update(t){Object.assign(this,t)}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value}reset(){this._value=""}get value(){return this._value}set value(t){this.resolve(t,{input:!0})}resolve(t,s){void 0===s&&(s={input:!0}),this.reset(),this.append(t,s,""),this.doCommit()}get unmaskedValue(){return this.value}set unmaskedValue(t){this.resolve(t,{})}get typedValue(){return this.parse?this.parse(this.value,this):this.unmaskedValue}set typedValue(t){this.format?this.value=this.format(t,this):this.unmaskedValue=String(t)}get rawInputValue(){return this.extractInput(0,this.displayValue.length,{raw:!0})}set rawInputValue(t){this.resolve(t,{raw:!0})}get displayValue(){return this.value}get isComplete(){return!0}get isFilled(){return this.isComplete}nearestInputPos(t,s){return t}totalInputPositions(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),Math.min(this.displayValue.length,s-t)}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),this.displayValue.slice(t,s)}extractTail(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),new g(this.extractInput(t,s),t)}appendTail(s){return t(s)&&(s=new g(String(s))),s.appendTo(this)}_appendCharRaw(t,s){return t?(this._value+=t,new v({inserted:t,rawInserted:t})):new v}_appendChar(t,s,i){void 0===s&&(s={});const u=this.state;let e;if([t,e]=this.doPrepareChar(t,s),e=e.aggregate(this._appendCharRaw(t,s)),e.inserted){let t,h=!1!==this.doValidate(s);if(h&&null!=i){const s=this.state;!0===this.overwrite&&(t=i.state,i.unshift(this.displayValue.length-e.tailShift));let u=this.appendTail(i);h=u.rawInserted===i.toString(),h&&u.inserted||"shift"!==this.overwrite||(this.state=s,t=i.state,i.shift(),u=this.appendTail(i),h=u.rawInserted===i.toString()),h&&u.inserted&&(this.state=s)}h||(e=new v,this.state=u,i&&t&&(i.state=t))}return e}_appendPlaceholder(){return new v}_appendEager(){return new v}append(s,i,u){if(!t(s))throw new Error("value should be string");const e=t(u)?new g(String(u)):u;let h;null!=i&&i.tail&&(i._beforeTailState=this.state),[s,h]=this.doPrepare(s,i);for(let t=0;t<s.length;++t){const u=this._appendChar(s[t],i,e);if(!u.rawInserted&&!this.doSkipInvalid(s[t],i,e))break;h.aggregate(u)}return(!0===this.eager||"append"===this.eager)&&null!=i&&i.input&&s&&h.aggregate(this._appendEager()),null!=e&&(h.tailShift+=this.appendTail(e).tailShift),h}remove(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),this._value=this.displayValue.slice(0,t)+this.displayValue.slice(s),new v}withValueRefresh(t){if(this._refreshing||!this._initialized)return t();this._refreshing=!0;const s=this.rawInputValue,i=this.value,u=t();return this.rawInputValue=s,this.value&&this.value!==i&&0===i.indexOf(this.value)&&this.append(i.slice(this.displayValue.length),{},""),delete this._refreshing,u}runIsolated(t){if(this._isolated||!this._initialized)return t(this);this._isolated=!0;const s=this.state,i=t(this);return this.state=s,delete this._isolated,i}doSkipInvalid(t,s,i){return Boolean(this.skipInvalid)}doPrepare(t,s){return void 0===s&&(s={}),v.normalize(this.prepare?this.prepare(t,this,s):t)}doPrepareChar(t,s){return void 0===s&&(s={}),v.normalize(this.prepareChar?this.prepareChar(t,this,s):t)}doValidate(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))}doCommit(){this.commit&&this.commit(this.value,this)}splice(t,s,i,o,a){void 0===o&&(o=u),void 0===a&&(a={input:!0});const l=t+s,c=this.extractTail(l),d=!0===this.eager||"remove"===this.eager;let p;d&&(o=function(t){switch(t){case e:return h;case r:return n;default:return t}}(o),p=this.extractInput(0,l,{raw:!0}));let A=t;const f=new v;if(o!==u&&(A=this.nearestInputPos(t,s>1&&0!==t&&!d?u:o),f.tailShift=A-t),f.aggregate(this.remove(A)),d&&o!==u&&p===this.rawInputValue)if(o===h){let t;for(;p===this.rawInputValue&&(t=this.displayValue.length);)f.aggregate(new v({tailShift:-1})).aggregate(this.remove(t-1))}else o===n&&c.unshift();return f.aggregate(this.append(i,a,c))}maskEquals(t){return this.mask===t}typedValueEquals(t){const s=this.typedValue;return t===s||D.EMPTY_VALUES.includes(t)&&D.EMPTY_VALUES.includes(s)||!!this.format&&this.format(t,this)===this.format(this.typedValue,this)}}D.DEFAULTS={skipInvalid:!0},D.EMPTY_VALUES=[void 0,null,""],c.Masked=D;class E{constructor(t,s){void 0===t&&(t=[]),void 0===s&&(s=0),this.chunks=t,this.from=s}toString(){return this.chunks.map(String).join("")}extend(s){if(!String(s))return;s=t(s)?new g(String(s)):s;const i=this.chunks[this.chunks.length-1],u=i&&(i.stop===s.stop||null==s.stop)&&s.from===i.from+i.toString().length;if(s instanceof g)u?i.extend(s.toString()):this.chunks.push(s);else if(s instanceof E){if(null==s.stop){let t;for(;s.chunks.length&&null==s.chunks[0].stop;)t=s.chunks.shift(),t.from+=s.from,this.extend(t)}s.toString()&&(s.stop=s.blockIndex,this.chunks.push(s))}}appendTo(t){if(!(t instanceof c.MaskedPattern))return new g(this.toString()).appendTo(t);const s=new v;for(let i=0;i<this.chunks.length&&!s.skip;++i){const u=this.chunks[i],e=t._mapPosToBlock(t.displayValue.length),h=u.stop;let r;if(null!=h&&(!e||e.index<=h)){if(u instanceof E||t._stops.indexOf(h)>=0){const i=t._appendPlaceholder(h);s.aggregate(i)}r=u instanceof E&&t._blocks[h]}if(r){const i=r.appendTail(u);i.skip=!1,s.aggregate(i),t._value+=i.inserted;const e=u.toString().slice(i.rawInserted.length);e&&s.aggregate(t.append(e,{tail:!0}))}else s.aggregate(t.append(u.toString(),{tail:!0}))}return s}get state(){return{chunks:this.chunks.map((t=>t.state)),from:this.from,stop:this.stop,blockIndex:this.blockIndex}}set state(t){const{chunks:s,...i}=t;Object.assign(this,i),this.chunks=s.map((t=>{const s="chunks"in t?new E:new g;return s.state=t,s}))}unshift(t){if(!this.chunks.length||null!=t&&this.from>=t)return"";const s=null!=t?t-this.from:t;let i=0;for(;i<this.chunks.length;){const t=this.chunks[i],u=t.unshift(s);if(t.toString()){if(!u)break;++i}else this.chunks.splice(i,1);if(u)return u}return""}shift(){if(!this.chunks.length)return"";let t=this.chunks.length-1;for(;0<=t;){const s=this.chunks[t],i=s.shift();if(s.toString()){if(!i)break;--t}else this.chunks.splice(t,1);if(i)return i}return""}}class m{constructor(t,s){this.masked=t,this._log=[];const{offset:i,index:u}=t._mapPosToBlock(s)||(s<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0});this.offset=i,this.index=u,this.ok=!1}get block(){return this.masked._blocks[this.index]}get pos(){return this.masked._blockStartPos(this.index)+this.offset}get state(){return{index:this.index,offset:this.offset,ok:this.ok}}set state(t){Object.assign(this,t)}pushState(){this._log.push(this.state)}popState(){const t=this._log.pop();return t&&(this.state=t),t}bindBlock(){this.block||(this.index<0&&(this.index=0,this.offset=0),this.index>=this.masked._blocks.length&&(this.index=this.masked._blocks.length-1,this.offset=this.block.displayValue.length))}_pushLeft(t){for(this.pushState(),this.bindBlock();0<=this.index;--this.index,this.offset=(null==(s=this.block)?void 0:s.displayValue.length)||0){var s;if(t())return this.ok=!0}return this.ok=!1}_pushRight(t){for(this.pushState(),this.bindBlock();this.index<this.masked._blocks.length;++this.index,this.offset=0)if(t())return this.ok=!0;return this.ok=!1}pushLeftBeforeFilled(){return this._pushLeft((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,h),0!==this.offset||void 0}))}pushLeftBeforeInput(){return this._pushLeft((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,e),!0}))}pushLeftBeforeRequired(){return this._pushLeft((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,e),!0}))}pushRightBeforeFilled(){return this._pushRight((()=>{if(!this.block.isFixed&&this.block.value)return this.offset=this.block.nearestInputPos(this.offset,n),this.offset!==this.block.value.length||void 0}))}pushRightBeforeInput(){return this._pushRight((()=>{if(!this.block.isFixed)return this.offset=this.block.nearestInputPos(this.offset,u),!0}))}pushRightBeforeRequired(){return this._pushRight((()=>{if(!(this.block.isFixed||this.block.isOptional&&!this.block.value))return this.offset=this.block.nearestInputPos(this.offset,u),!0}))}}class k{constructor(t){Object.assign(this,t),this._value="",this.isFixed=!0}get value(){return this._value}get unmaskedValue(){return this.isUnmasking?this.value:""}get rawInputValue(){return this._isRawInput?this.value:""}get displayValue(){return this.value}reset(){this._isRawInput=!1,this._value=""}remove(t,s){return void 0===t&&(t=0),void 0===s&&(s=this._value.length),this._value=this._value.slice(0,t)+this._value.slice(s),this._value||(this._isRawInput=!1),new v}nearestInputPos(t,s){void 0===s&&(s=u);const i=this._value.length;switch(s){case e:case h:return 0;default:return i}}totalInputPositions(t,s){return void 0===t&&(t=0),void 0===s&&(s=this._value.length),this._isRawInput?s-t:0}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this._value.length),void 0===i&&(i={}),i.raw&&this._isRawInput&&this._value.slice(t,s)||""}get isComplete(){return!0}get isFilled(){return Boolean(this._value)}_appendChar(t,s){void 0===s&&(s={});const i=new v;if(this.isFilled)return i;const u=this.char===t&&(this.isUnmasking||s.input||s.raw)&&(!s.raw||!(!0===this.eager||"append"===this.eager))&&!s.tail;return u&&(i.rawInserted=this.char),this._value=i.inserted=this.char,this._isRawInput=u&&(s.raw||s.input),i}_appendEager(){return this._appendChar(this.char,{tail:!0})}_appendPlaceholder(){const t=new v;return this.isFilled||(this._value=t.inserted=this.char),t}extractTail(){return new g("")}appendTail(s){return t(s)&&(s=new g(String(s))),s.appendTo(this)}append(t,s,i){const u=this._appendChar(t[0],s);return null!=i&&(u.tailShift+=this.appendTail(i).tailShift),u}doCommit(){}get state(){return{_value:this._value,_rawInputValue:this.rawInputValue}}set state(t){this._value=t._value,this._isRawInput=Boolean(t._rawInputValue)}}class w{constructor(t){const{parent:s,isOptional:i,placeholderChar:u,displayChar:e,lazy:h,eager:r,...n}=t;this.masked=A(n),Object.assign(this,{parent:s,isOptional:i,placeholderChar:u,displayChar:e,lazy:h,eager:r})}reset(){this.isFilled=!1,this.masked.reset()}remove(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.value.length),0===t&&s>=1?(this.isFilled=!1,this.masked.remove(t,s)):new v}get value(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")}get unmaskedValue(){return this.masked.unmaskedValue}get rawInputValue(){return this.masked.rawInputValue}get displayValue(){return this.masked.value&&this.displayChar||this.value}get isComplete(){return Boolean(this.masked.value)||this.isOptional}_appendChar(t,s){if(void 0===s&&(s={}),this.isFilled)return new v;const i=this.masked.state,u=this.masked._appendChar(t,this.currentMaskFlags(s));return u.inserted&&!1===this.doValidate(s)&&(u.inserted=u.rawInserted="",this.masked.state=i),u.inserted||this.isOptional||this.lazy||s.input||(u.inserted=this.placeholderChar),u.skip=!u.inserted&&!this.isOptional,this.isFilled=Boolean(u.inserted),u}append(t,s,i){return this.masked.append(t,this.currentMaskFlags(s),i)}_appendPlaceholder(){const t=new v;return this.isFilled||this.isOptional||(this.isFilled=!0,t.inserted=this.placeholderChar),t}_appendEager(){return new v}extractTail(t,s){return this.masked.extractTail(t,s)}appendTail(t){return this.masked.appendTail(t)}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this.value.length),this.masked.extractInput(t,s,i)}nearestInputPos(t,s){void 0===s&&(s=u);const i=this.value.length,o=Math.min(Math.max(t,0),i);switch(s){case e:case h:return this.isComplete?o:0;case r:case n:return this.isComplete?o:i;default:return o}}totalInputPositions(t,s){return void 0===t&&(t=0),void 0===s&&(s=this.value.length),this.value.slice(t,s).length}doValidate(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))}doCommit(){this.masked.doCommit()}get state(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}}set state(t){this.masked.state=t.masked,this.isFilled=t.isFilled}currentMaskFlags(t){var s;return{...t,_beforeTailState:(null==t||null==(s=t._beforeTailState)?void 0:s.masked)||(null==t?void 0:t._beforeTailState)}}}w.DEFAULT_DEFINITIONS={0:/\d/,a:/[\u0041-\u005A\u0061-\u007A\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,"*":/./},c.MaskedRegExp=class extends D{updateOptions(t){super.updateOptions(t)}_update(t){const s=t.mask;s&&(t.validate=t=>t.search(s)>=0),super._update(t)}};class _ extends D{constructor(t){super({..._.DEFAULTS,...t,definitions:Object.assign({},w.DEFAULT_DEFINITIONS,null==t?void 0:t.definitions)})}updateOptions(t){super.updateOptions(t)}_update(t){t.definitions=Object.assign({},this.definitions,t.definitions),super._update(t),this._rebuildMask()}_rebuildMask(){const t=this.definitions;this._blocks=[],this.exposeBlock=void 0,this._stops=[],this._maskedBlocks={};const s=this.mask;if(!s||!t)return;let i=!1,u=!1;for(let e=0;e<s.length;++e){if(this.blocks){const t=s.slice(e),i=Object.keys(this.blocks).filter((s=>0===t.indexOf(s)));i.sort(((t,s)=>s.length-t.length));const u=i[0];if(u){const{expose:t,...s}=p(this.blocks[u]),i=A({lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,overwrite:this.overwrite,...s,parent:this});i&&(this._blocks.push(i),t&&(this.exposeBlock=i),this._maskedBlocks[u]||(this._maskedBlocks[u]=[]),this._maskedBlocks[u].push(this._blocks.length-1)),e+=u.length-1;continue}}let h=s[e],r=h in t;if(h===_.STOP_CHAR){this._stops.push(this._blocks.length);continue}if("{"===h||"}"===h){i=!i;continue}if("["===h||"]"===h){u=!u;continue}if(h===_.ESCAPE_CHAR){if(++e,h=s[e],!h)break;r=!1}const n=r?new w({isOptional:u,lazy:this.lazy,eager:this.eager,placeholderChar:this.placeholderChar,displayChar:this.displayChar,...p(t[h]),parent:this}):new k({char:h,eager:this.eager,isUnmasking:i});this._blocks.push(n)}}get state(){return{...super.state,_blocks:this._blocks.map((t=>t.state))}}set state(t){const{_blocks:s,...i}=t;this._blocks.forEach(((t,i)=>t.state=s[i])),super.state=i}reset(){super.reset(),this._blocks.forEach((t=>t.reset()))}get isComplete(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((t=>t.isComplete))}get isFilled(){return this._blocks.every((t=>t.isFilled))}get isFixed(){return this._blocks.every((t=>t.isFixed))}get isOptional(){return this._blocks.every((t=>t.isOptional))}doCommit(){this._blocks.forEach((t=>t.doCommit())),super.doCommit()}get unmaskedValue(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce(((t,s)=>t+s.unmaskedValue),"")}set unmaskedValue(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=t,this.appendTail(s),this.doCommit()}else super.unmaskedValue=t}get value(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce(((t,s)=>t+s.value),"")}set value(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=t,this.appendTail(s),this.doCommit()}else super.value=t}get typedValue(){return this.exposeBlock?this.exposeBlock.typedValue:super.typedValue}set typedValue(t){if(this.exposeBlock){const s=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=t,this.appendTail(s),this.doCommit()}else super.typedValue=t}get displayValue(){return this._blocks.reduce(((t,s)=>t+s.displayValue),"")}appendTail(t){return super.appendTail(t).aggregate(this._appendPlaceholder())}_appendEager(){var t;const s=new v;let i=null==(t=this._mapPosToBlock(this.displayValue.length))?void 0:t.index;if(null==i)return s;this._blocks[i].isFilled&&++i;for(let t=i;t<this._blocks.length;++t){const i=this._blocks[t]._appendEager();if(!i.inserted)break;s.aggregate(i)}return s}_appendCharRaw(t,s){void 0===s&&(s={});const i=this._mapPosToBlock(this.displayValue.length),u=new v;if(!i)return u;for(let h=i.index;;++h){var e;const i=this._blocks[h];if(!i)break;const r=i._appendChar(t,{...s,_beforeTailState:null==(e=s._beforeTailState)||null==(e=e._blocks)?void 0:e[h]}),n=r.skip;if(u.aggregate(r),n||r.rawInserted)break}return u}extractTail(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length);const i=new E;return t===s||this._forEachBlocksInRange(t,s,((t,s,u,e)=>{const h=t.extractTail(u,e);h.stop=this._findStopBefore(s),h.from=this._blockStartPos(s),h instanceof E&&(h.blockIndex=s),i.extend(h)})),i}extractInput(t,s,i){if(void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),void 0===i&&(i={}),t===s)return"";let u="";return this._forEachBlocksInRange(t,s,((t,s,e,h)=>{u+=t.extractInput(e,h,i)})),u}_findStopBefore(t){let s;for(let i=0;i<this._stops.length;++i){const u=this._stops[i];if(!(u<=t))break;s=u}return s}_appendPlaceholder(t){const s=new v;if(this.lazy&&null==t)return s;const i=this._mapPosToBlock(this.displayValue.length);return i?(this._blocks.slice(i.index,null!=t?t:this._blocks.length).forEach((i=>{if(!i.lazy||null!=t){var u;const t=i._appendPlaceholder(null==(u=i._blocks)?void 0:u.length);this._value+=t.inserted,s.aggregate(t)}})),s):s}_mapPosToBlock(t){let s="";for(let i=0;i<this._blocks.length;++i){const u=s.length;if(s+=this._blocks[i].displayValue,t<=s.length)return{index:i,offset:t-u}}}_blockStartPos(t){return this._blocks.slice(0,t).reduce(((t,s)=>t+s.displayValue.length),0)}_forEachBlocksInRange(t,s,i){void 0===s&&(s=this.displayValue.length);const u=this._mapPosToBlock(t);if(u){const t=this._mapPosToBlock(s),e=t&&u.index===t.index;if(i(this._blocks[u.index],u.index,u.offset,t&&e?t.offset:this._blocks[u.index].displayValue.length),t&&!e){for(let s=u.index+1;s<t.index;++s)i(this._blocks[s],s,0,this._blocks[s].displayValue.length);i(this._blocks[t.index],t.index,0,t.offset)}}}remove(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length);const i=super.remove(t,s);return this._forEachBlocksInRange(t,s,((t,s,u,e)=>{i.aggregate(t.remove(u,e))})),i}nearestInputPos(t,s){if(void 0===s&&(s=u),!this._blocks.length)return 0;const i=new m(this,t);if(s===u)return i.pushRightBeforeInput()?i.pos:(i.popState(),i.pushLeftBeforeInput()?i.pos:this.displayValue.length);if(s===e||s===h){if(s===e){if(i.pushRightBeforeFilled(),i.ok&&i.pos===t)return t;i.popState()}if(i.pushLeftBeforeInput(),i.pushLeftBeforeRequired(),i.pushLeftBeforeFilled(),s===e){if(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.ok&&i.pos<=t)return i.pos;if(i.popState(),i.ok&&i.pos<=t)return i.pos;i.popState()}return i.ok?i.pos:s===h?0:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:0))}return s===r||s===n?(i.pushRightBeforeInput(),i.pushRightBeforeRequired(),i.pushRightBeforeFilled()?i.pos:s===n?this.displayValue.length:(i.popState(),i.ok?i.pos:(i.popState(),i.ok?i.pos:this.nearestInputPos(t,e)))):t}totalInputPositions(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length);let i=0;return this._forEachBlocksInRange(t,s,((t,s,u,e)=>{i+=t.totalInputPositions(u,e)})),i}maskedBlock(t){return this.maskedBlocks(t)[0]}maskedBlocks(t){const s=this._maskedBlocks[t];return s?s.map((t=>this._blocks[t])):[]}}_.DEFAULTS={lazy:!0,placeholderChar:"_"},_.STOP_CHAR="`",_.ESCAPE_CHAR="\\",_.InputDefinition=w,_.FixedDefinition=k,c.MaskedPattern=_;class b extends _{get _matchFrom(){return this.maxLength-String(this.from).length}constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{to:s=this.to||0,from:i=this.from||0,maxLength:u=this.maxLength||0,autofix:e=this.autofix,...h}=t;this.to=s,this.from=i,this.maxLength=Math.max(String(s).length,u),this.autofix=e;const r=String(this.from).padStart(this.maxLength,"0"),n=String(this.to).padStart(this.maxLength,"0");let o=0;for(;o<n.length&&n[o]===r[o];)++o;h.mask=n.slice(0,o).replace(/0/g,"\\0")+"0".repeat(this.maxLength-o),super._update(h)}get isComplete(){return super.isComplete&&Boolean(this.value)}boundaries(t){let s="",i="";const[,u,e]=t.match(/^(\D*)(\d*)(\D*)/)||[];return e&&(s="0".repeat(u.length)+e,i="9".repeat(u.length)+e),s=s.padEnd(this.maxLength,"0"),i=i.padEnd(this.maxLength,"9"),[s,i]}doPrepareChar(t,s){let i;if(void 0===s&&(s={}),[t,i]=super.doPrepareChar(t.replace(/\D/g,""),s),!this.autofix||!t)return[t,i];const u=String(this.from).padStart(this.maxLength,"0"),e=String(this.to).padStart(this.maxLength,"0"),h=this.value+t;if(h.length>this.maxLength)return["",i];const[r,n]=this.boundaries(h);return Number(n)<this.from?[u[h.length-1],i]:Number(r)>this.to?"pad"===this.autofix&&h.length<this.maxLength?["",i.aggregate(this.append(u[h.length-1]+t,s))]:[e[h.length-1],i]:[t,i]}doValidate(t){const s=this.value;if(-1===s.search(/[^0]/)&&s.length<=this._matchFrom)return!0;const[i,u]=this.boundaries(s);return this.from<=Number(u)&&Number(i)<=this.to&&super.doValidate(t)}}c.MaskedRange=b;class y extends _{constructor(s){const{mask:i,pattern:u,...e}={...y.DEFAULTS,...s};super({...e,mask:t(i)?i:u})}updateOptions(t){super.updateOptions(t)}_update(s){const{mask:i,pattern:u,blocks:e,...h}={...y.DEFAULTS,...s},r=Object.assign({},y.GET_DEFAULT_BLOCKS());s.min&&(r.Y.from=s.min.getFullYear()),s.max&&(r.Y.to=s.max.getFullYear()),s.min&&s.max&&r.Y.from===r.Y.to&&(r.m.from=s.min.getMonth()+1,r.m.to=s.max.getMonth()+1,r.m.from===r.m.to&&(r.d.from=s.min.getDate(),r.d.to=s.max.getDate())),Object.assign(r,this.blocks,e),Object.keys(r).forEach((t=>{const i=r[t];!("autofix"in i)&&"autofix"in s&&(i.autofix=s.autofix)})),super._update({...h,mask:t(i)?i:u,blocks:r})}doValidate(t){const s=this.date;return super.doValidate(t)&&(!this.isComplete||this.isDateExist(this.value)&&null!=s&&(null==this.min||this.min<=s)&&(null==this.max||s<=this.max))}isDateExist(t){return this.format(this.parse(t,this),this).indexOf(t)>=0}get date(){return this.typedValue}set date(t){this.typedValue=t}get typedValue(){return this.isComplete?super.typedValue:null}set typedValue(t){super.typedValue=t}maskEquals(t){return t===Date||super.maskEquals(t)}}y.GET_DEFAULT_BLOCKS=()=>({d:{mask:b,from:1,to:31,maxLength:2},m:{mask:b,from:1,to:12,maxLength:2},Y:{mask:b,from:1900,to:9999}}),y.DEFAULTS={mask:Date,pattern:"d{.}`m{.}`Y",format:t=>t?[String(t.getDate()).padStart(2,"0"),String(t.getMonth()+1).padStart(2,"0"),t.getFullYear()].join("."):"",parse:t=>{const[s,i,u]=t.split(".").map(Number);return new Date(u,i-1,s)}},c.MaskedDate=y;class S extends D{constructor(t){super({...S.DEFAULTS,...t}),this.currentMask=void 0}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),"mask"in t&&(this.exposeMask=void 0,this.compiledMasks=Array.isArray(t.mask)?t.mask.map((t=>{const{expose:s,...i}=p(t),u=A({overwrite:this._overwrite,eager:this._eager,skipInvalid:this._skipInvalid,...i});return s&&(this.exposeMask=u),u})):[])}_appendCharRaw(t,s){void 0===s&&(s={});const i=this._applyDispatch(t,s);return this.currentMask&&i.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(s))),i}_applyDispatch(t,s,i){void 0===t&&(t=""),void 0===s&&(s={}),void 0===i&&(i="");const u=s.tail&&null!=s._beforeTailState?s._beforeTailState._value:this.value,e=this.rawInputValue,h=s.tail&&null!=s._beforeTailState?s._beforeTailState._rawInputValue:e,r=e.slice(h.length),n=this.currentMask,o=new v,a=null==n?void 0:n.state;if(this.currentMask=this.doDispatch(t,{...s},i),this.currentMask)if(this.currentMask!==n){if(this.currentMask.reset(),h){const t=this.currentMask.append(h,{raw:!0});o.tailShift=t.inserted.length-u.length}r&&(o.tailShift+=this.currentMask.append(r,{raw:!0,tail:!0}).tailShift)}else a&&(this.currentMask.state=a);return o}_appendPlaceholder(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendPlaceholder()),t}_appendEager(){const t=this._applyDispatch();return this.currentMask&&t.aggregate(this.currentMask._appendEager()),t}appendTail(t){const s=new v;return t&&s.aggregate(this._applyDispatch("",{},t)),s.aggregate(this.currentMask?this.currentMask.appendTail(t):super.appendTail(t))}currentMaskFlags(t){var s,i;return{...t,_beforeTailState:(null==(s=t._beforeTailState)?void 0:s.currentMaskRef)===this.currentMask&&(null==(i=t._beforeTailState)?void 0:i.currentMask)||t._beforeTailState}}doDispatch(t,s,i){return void 0===s&&(s={}),void 0===i&&(i=""),this.dispatch(t,this,s,i)}doValidate(t){return super.doValidate(t)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(t)))}doPrepare(t,s){void 0===s&&(s={});let[i,u]=super.doPrepare(t,s);if(this.currentMask){let t;[i,t]=super.doPrepare(i,this.currentMaskFlags(s)),u=u.aggregate(t)}return[i,u]}doPrepareChar(t,s){void 0===s&&(s={});let[i,u]=super.doPrepareChar(t,s);if(this.currentMask){let t;[i,t]=super.doPrepareChar(i,this.currentMaskFlags(s)),u=u.aggregate(t)}return[i,u]}reset(){var t;null==(t=this.currentMask)||t.reset(),this.compiledMasks.forEach((t=>t.reset()))}get value(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""}set value(t){this.exposeMask?(this.exposeMask.value=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.value=t}get unmaskedValue(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""}set unmaskedValue(t){this.exposeMask?(this.exposeMask.unmaskedValue=t,this.currentMask=this.exposeMask,this._applyDispatch()):super.unmaskedValue=t}get typedValue(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""}set typedValue(t){if(this.exposeMask)return this.exposeMask.typedValue=t,this.currentMask=this.exposeMask,void this._applyDispatch();let s=String(t);this.currentMask&&(this.currentMask.typedValue=t,s=this.currentMask.unmaskedValue),this.unmaskedValue=s}get displayValue(){return this.currentMask?this.currentMask.displayValue:""}get isComplete(){var t;return Boolean(null==(t=this.currentMask)?void 0:t.isComplete)}get isFilled(){var t;return Boolean(null==(t=this.currentMask)?void 0:t.isFilled)}remove(t,s){const i=new v;return this.currentMask&&i.aggregate(this.currentMask.remove(t,s)).aggregate(this._applyDispatch()),i}get state(){var t;return{...super.state,_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((t=>t.state)),currentMaskRef:this.currentMask,currentMask:null==(t=this.currentMask)?void 0:t.state}}set state(t){const{compiledMasks:s,currentMaskRef:i,currentMask:u,...e}=t;s&&this.compiledMasks.forEach(((t,i)=>t.state=s[i])),null!=i&&(this.currentMask=i,this.currentMask.state=u),super.state=e}extractInput(t,s,i){return this.currentMask?this.currentMask.extractInput(t,s,i):""}extractTail(t,s){return this.currentMask?this.currentMask.extractTail(t,s):super.extractTail(t,s)}doCommit(){this.currentMask&&this.currentMask.doCommit(),super.doCommit()}nearestInputPos(t,s){return this.currentMask?this.currentMask.nearestInputPos(t,s):super.nearestInputPos(t,s)}get overwrite(){return this.currentMask?this.currentMask.overwrite:this._overwrite}set overwrite(t){this._overwrite=t}get eager(){return this.currentMask?this.currentMask.eager:this._eager}set eager(t){this._eager=t}get skipInvalid(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid}set skipInvalid(t){this._skipInvalid=t}maskEquals(t){return Array.isArray(t)?this.compiledMasks.every(((s,i)=>{if(!t[i])return;const{mask:u,...e}=t[i];return a(s,e)&&s.maskEquals(u)})):super.maskEquals(t)}typedValueEquals(t){var s;return Boolean(null==(s=this.currentMask)?void 0:s.typedValueEquals(t))}}S.DEFAULTS=void 0,S.DEFAULTS={dispatch:(t,s,i,u)=>{if(!s.compiledMasks.length)return;const e=s.rawInputValue,r=s.compiledMasks.map(((r,n)=>{const o=s.currentMask===r,a=o?r.displayValue.length:r.nearestInputPos(r.displayValue.length,h);return r.rawInputValue!==e?(r.reset(),r.append(e,{raw:!0})):o||r.remove(a),r.append(t,s.currentMaskFlags(i)),r.appendTail(u),{index:n,weight:r.rawInputValue.length,totalInputPositions:r.totalInputPositions(0,Math.max(a,r.nearestInputPos(r.displayValue.length,h)))}}));return r.sort(((t,s)=>s.weight-t.weight||s.totalInputPositions-t.totalInputPositions)),s.compiledMasks[r[0].index]}},c.MaskedDynamic=S,c.MaskedEnum=class extends _{constructor(t){super(t)}updateOptions(t){super.updateOptions(t)}_update(t){const{enum:s,...i}=t;if(s){const t=s.map((t=>t.length)),u=Math.min(...t),e=Math.max(...t)-u;i.mask="*".repeat(u),e&&(i.mask+="["+"*".repeat(e)+"]"),this.enum=s}super._update(i)}doValidate(t){return this.enum.some((t=>0===t.indexOf(this.unmaskedValue)))&&super.doValidate(t)}},c.MaskedFunction=class extends D{updateOptions(t){super.updateOptions(t)}_update(t){super._update({...t,validate:t.mask})}};class V extends D{constructor(t){super({...V.DEFAULTS,...t})}updateOptions(t){super.updateOptions(t)}_update(t){super._update(t),this._updateRegExps()}_updateRegExps(){const t="^"+(this.allowNegative?"[+|\\-]?":""),s=(this.scale?"("+o(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(t+"\\d*"+s),this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(o).join("")+"]","g"),this._thousandsSeparatorRegExp=new RegExp(o(this.thousandsSeparator),"g")}_removeThousandsSeparators(t){return t.replace(this._thousandsSeparatorRegExp,"")}_insertThousandsSeparators(t){const s=t.split(this.radix);return s[0]=s[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator),s.join(this.radix)}doPrepareChar(t,s){void 0===s&&(s={});const[i,u]=super.doPrepareChar(this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(s.input&&s.raw||!s.input&&!s.raw)?t.replace(this._mapToRadixRegExp,this.radix):t),s);return t&&!i&&(u.skip=!0),!i||this.allowPositive||this.value||"-"===i||u.aggregate(this._appendChar("-")),[i,u]}_separatorsCount(t,s){void 0===s&&(s=!1);let i=0;for(let u=0;u<t;++u)this._value.indexOf(this.thousandsSeparator,u)===u&&(++i,s&&(t+=this.thousandsSeparator.length));return i}_separatorsCountFromSlice(t){return void 0===t&&(t=this._value),this._separatorsCount(this._removeThousandsSeparators(t).length,!0)}extractInput(t,s,i){return void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),[t,s]=this._adjustRangeWithSeparators(t,s),this._removeThousandsSeparators(super.extractInput(t,s,i))}_appendCharRaw(t,s){if(void 0===s&&(s={}),!this.thousandsSeparator)return super._appendCharRaw(t,s);const i=this._separatorsCountFromSlice(s.tail&&s._beforeTailState?s._beforeTailState._value:this._value);this._value=this._removeThousandsSeparators(this.value);const u=super._appendCharRaw(t,s);this._value=this._insertThousandsSeparators(this._value);const e=this._separatorsCountFromSlice(s.tail&&s._beforeTailState?s._beforeTailState._value:this._value);return u.tailShift+=(e-i)*this.thousandsSeparator.length,u.skip=!u.rawInserted&&t===this.thousandsSeparator,u}_findSeparatorAround(t){if(this.thousandsSeparator){const s=this.value.indexOf(this.thousandsSeparator,t-this.thousandsSeparator.length+1);if(s<=t)return s}return-1}_adjustRangeWithSeparators(t,s){const i=this._findSeparatorAround(t);i>=0&&(t=i);const u=this._findSeparatorAround(s);return u>=0&&(s=u+this.thousandsSeparator.length),[t,s]}remove(t,s){void 0===t&&(t=0),void 0===s&&(s=this.displayValue.length),[t,s]=this._adjustRangeWithSeparators(t,s);const i=this.value.slice(0,t),u=this.value.slice(s),e=this._separatorsCount(i.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(i+u));const h=this._separatorsCountFromSlice(i);return new v({tailShift:(h-e)*this.thousandsSeparator.length})}nearestInputPos(t,s){if(!this.thousandsSeparator)return t;switch(s){case u:case e:case h:{const i=this._findSeparatorAround(t-1);if(i>=0){const u=i+this.thousandsSeparator.length;if(t<u||this.value.length<=u||s===h)return i}break}case r:case n:{const s=this._findSeparatorAround(t);if(s>=0)return s+this.thousandsSeparator.length}}return t}doValidate(t){let s=Boolean(this._removeThousandsSeparators(this.value).match(this._numberRegExp));return s&&(s=s&&!isNaN(this.number)&&(null==this.min||this.min>=0||this.min<=this.number)&&(null==this.max||this.max<=0||this.number<=this.max)),s&&super.doValidate(t)}doCommit(){if(this.value){const t=this.number;let s=t;null!=this.min&&(s=Math.max(s,this.min)),null!=this.max&&(s=Math.min(s,this.max)),s!==t&&(this.unmaskedValue=this.format(s,this));let i=this.value;this.normalizeZeros&&(i=this._normalizeZeros(i)),this.padFractionalZeros&&this.scale>0&&(i=this._padFractionalZeros(i)),this._value=i}super.doCommit()}_normalizeZeros(t){const s=this._removeThousandsSeparators(t).split(this.radix);return s[0]=s[0].replace(/^(\D*)(0*)(\d*)/,((t,s,i,u)=>s+u)),t.length&&!/\d$/.test(s[0])&&(s[0]=s[0]+"0"),s.length>1&&(s[1]=s[1].replace(/0*$/,""),s[1].length||(s.length=1)),this._insertThousandsSeparators(s.join(this.radix))}_padFractionalZeros(t){if(!t)return t;const s=t.split(this.radix);return s.length<2&&s.push(""),s[1]=s[1].padEnd(this.scale,"0"),s.join(this.radix)}doSkipInvalid(t,s,i){void 0===s&&(s={});const u=0===this.scale&&t!==this.thousandsSeparator&&(t===this.radix||t===V.UNMASKED_RADIX||this.mapToRadix.includes(t));return super.doSkipInvalid(t,s,i)&&!u}get unmaskedValue(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,V.UNMASKED_RADIX)}set unmaskedValue(t){super.unmaskedValue=t}get typedValue(){return this.parse(this.unmaskedValue,this)}set typedValue(t){this.rawInputValue=this.format(t,this).replace(V.UNMASKED_RADIX,this.radix)}get number(){return this.typedValue}set number(t){this.typedValue=t}get allowNegative(){return null!=this.min&&this.min<0||null!=this.max&&this.max<0}get allowPositive(){return null!=this.min&&this.min>0||null!=this.max&&this.max>0}typedValueEquals(t){return(super.typedValueEquals(t)||V.EMPTY_VALUES.includes(t)&&V.EMPTY_VALUES.includes(this.typedValue))&&!(0===t&&""===this.value)}}V.UNMASKED_RADIX=".",V.EMPTY_VALUES=[...D.EMPTY_VALUES,0],V.DEFAULTS={mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[V.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:!0,padFractionalZeros:!1,parse:Number,format:t=>t.toLocaleString("en-US",{useGrouping:!1,maximumFractionDigits:20})},c.MaskedNumber=V;const x={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function I(t,s,i){void 0===s&&(s=x.MASKED),void 0===i&&(i=x.MASKED);const u=A(t);return t=>u.runIsolated((u=>(u[s]=t,u[i])))}c.PIPE_TYPE=x,c.createPipe=I,c.pipe=function(t,s,i,u){return I(s,i,u)(t)};try{globalThis.IMask=c}catch{}export{c as I}
@@ -0,0 +1 @@
1
+ import{r as t,c as e,h as s,H as a}from"./p-cbb60191.js";import{S as i}from"./p-988191bf.js";import{g as c}from"./p-d6b5793d.js";import{A as h}from"./p-b157f6ae.js";import{p as n}from"./p-0d5d02d7.js";import"./p-e12ab547.js";import{c as o}from"./p-9b6dcac5.js";const r=class{constructor(s){t(this,s),this.rowClicked=e(this,"subaccount-row-clicked",7),this.handleClickPrevious=t=>{const e=Object.assign({},this.params);delete e.after_cursor,this.params=Object.assign(Object.assign({},e),{before_cursor:t})},this.handleClickNext=t=>{const e=Object.assign({},this.params);delete e.before_cursor,this.params=Object.assign(Object.assign({},e),{after_cursor:t})},this.accountId=void 0,this.authToken=void 0,this.subaccounts=[],this.loading=!0,this.errorMessage=void 0,this.paging=n,this.params=void 0}updateOnPropChange(){this.fetchData()}connectedCallback(){this.fetchData()}async fetchData(){if(!this.accountId||!this.authToken)return this.errorMessage="Can not fetch any data without an AccountID and an AuthToken",void(this.loading=!1);this.loading=!0;const t=h(this.authToken,o.privateApiOrigin),e=`account/${this.accountId}/seller_accounts`,s=await t.get(e,this.params);if(s.error)this.errorMessage="string"==typeof s.error?s.error:s.error.message;else{this.paging=Object.assign(Object.assign({},this.paging),s.page_info);const t=null==s?void 0:s.data.map((t=>new i(t)));this.subaccounts=t}this.loading=!1}render(){return s(a,null,s("justifi-table",{rowClickHandler:t=>{const e=t.target.closest("tr").dataset.rowEntityId;e&&this.rowClicked.emit(this.subaccounts.find((t=>t.id===e)))},entityId:this.subaccounts.map((t=>t.id)),columnData:[["Created On","The date and time each sub account was created"],["Name","The name provided for each sub account"],["Account\t","The unique live or test account ID for each sub account"],["Card Rate\t","The rate that determines the fees charged per payment, when paid by card"],["ACH Rate\t","The rate that determines the fees charged per payment, when paid by eCheck"],["Status","The onboarding status of each sub account"]],rowData:this.subaccounts.map((t=>[{type:"head",value:`\n <div>${t.dateString}</div>\n <div>${t.timeString}</div>\n `},t.name,t.id,t.cardRate,t.achRate,{type:"inner",value:c(t.status)}])),loading:this.loading,"error-message":this.errorMessage,params:this.params,paging:Object.assign(Object.assign({},this.paging),{handleClickNext:this.handleClickNext,handleClickPrevious:this.handleClickPrevious})}))}static get watchers(){return{accountId:["updateOnPropChange"],authToken:["updateOnPropChange"],params:["updateOnPropChange"]}}};r.style=":host{display:block}";export{r as justifi_subaccounts_list}
@@ -0,0 +1 @@
1
+ import{r,c as o,h as t,H as s}from"./p-cbb60191.js";import{A as i}from"./p-b157f6ae.js";import{p as e}from"./p-0d5d02d7.js";import"./p-e12ab547.js";import{f as a,a as n}from"./p-d6b5793d.js";import{c as b}from"./p-9b6dcac5.js";var c,l;!function(r){r.paid="paid",r.failed="failed",r.forwarded="forwarded",r.scheduled="scheduled",r.in_transit="in_transit",r.canceled="canceled"}(c||(c={})),function(r){r.paid="Paid",r.failed="Failed",r.forwarded="Forwarded",r.scheduled="Scheduled",r.in_transit="In Transit",r.canceled="Canceled"}(l||(l={}));class d{constructor(r){this.id=r.id,this.account_id=r.account_id,this.amount=r.amount,this.bank_account=r.bank_account,this.currency=r.currency,this.delivery_method=r.delivery_method||"standard",this.description=r.description,this.deposits_at=r.deposits_at,this.fees_total=r.fees_total,this.refunds_count=r.refunds_count,this.refunds_total=r.refunds_total,this.payments_count=r.payments_count,this.payments_total=r.payments_total,this.payout_type=r.payout_type,this.other_total=r.other_total,this.status=r.status,this.metadata=r.metadata,this.created_at=r.created_at,this.updated_at=r.updated_at}}const p=class{constructor(t){r(this,t),this.rowClicked=o(this,"proceed-row-clicked",7),this.mapStatusToBadge=r=>{switch(r){case c.scheduled:return`<span class="badge bg-primary" title='Batched and scheduled to be transferred'>${l[r]}</span>`;case c.in_transit:return`<span class="badge bg-primary" title='Transfer to your bank account has been initiated'>${l[r]}</span>`;case c.failed:case c.canceled:return`<span class="badge bg-danger" title='Transfer to your bank account failed'>${l[r]}</span>`;case c.forwarded:return`<span class="badge bg-secondary" title='This payout initially failed; the funds have been forwarded to your next successful batch of proceeds'>${l[r]}</span>`;case c.paid:return`<span class="badge bg-success" title='Successfully deposited into your bank account'>${l[r]}</span>`}},this.handleClickPrevious=r=>{const o=Object.assign({},this.params);delete o.after_cursor,this.params=Object.assign(Object.assign({},o),{before_cursor:r})},this.handleClickNext=r=>{const o=Object.assign({},this.params);delete o.before_cursor,this.params=Object.assign(Object.assign({},o),{after_cursor:r})},this.accountId=void 0,this.authToken=void 0,this.proceeds=[],this.loading=!0,this.errorMessage=void 0,this.paging=e,this.params=void 0}updateOnPropChange(){this.fetchData()}connectedCallback(){this.fetchData()}async fetchData(){var r;if(!this.accountId||!this.authToken)return this.errorMessage="Can not fetch any data without an AccountID and an AuthToken",void(this.loading=!1);this.loading=!0;const o=`account/${this.accountId}/proceeds`,t=await i(this.authToken,b.privateApiOrigin).get(o,this.params);if(t.error)this.errorMessage="string"==typeof t.error?t.error:t.error.message;else{this.paging=Object.assign(Object.assign({},this.paging),t.page_info);const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.map((r=>new d(r)));this.proceeds=o}this.loading=!1}render(){return t(s,null,t("justifi-table",{rowClickHandler:r=>{const o=r.target.closest("tr").dataset.rowEntityId;o&&this.rowClicked.emit(this.proceeds.find((r=>r.id===o)))},entityId:this.proceeds.map((r=>r.id)),columnData:[["Paid Out On","The date each batch of proceeds is transferred to your bank account"],["Paid Out To","The bank account to which each payout is sent"],["From Payments","The amount added related to payments in each payout"],["From Refunds","The amount deducted related to refunds in each payout"],["Other","The amount related to less common transactions in each payout (disputes, ACH returns, fee refunds, and forwarded balances due to failed payouts)"],["Proceeds Amount","The net sum of all transactions in each payout. This is the amount you'll see reflected on your bank statement."],["Status","The real-time status of each payout"]],rowData:this.proceeds.map((r=>[{type:"head",value:a(r.deposits_at)},r.bank_account.full_name,n(r.payments_total),n(r.refunds_total),n(r.other_total),n(r.amount),{type:"inner",value:this.mapStatusToBadge(r.status)}])),loading:this.loading,"error-message":this.errorMessage,params:this.params,paging:Object.assign(Object.assign({},this.paging),{handleClickNext:this.handleClickNext,handleClickPrevious:this.handleClickPrevious})}))}static get watchers(){return{accountId:["updateOnPropChange"],authToken:["updateOnPropChange"],params:["updateOnPropChange"]}}};p.style=':root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13, 110, 253;--bs-secondary-rgb:108, 117, 125;--bs-success-rgb:25, 135, 84;--bs-info-rgb:13, 202, 240;--bs-warning-rgb:255, 193, 7;--bs-danger-rgb:220, 53, 69;--bs-light-rgb:248, 249, 250;--bs-dark-rgb:33, 37, 41;--bs-primary-text-emphasis:#052c65;--bs-secondary-text-emphasis:#2b2f32;--bs-success-text-emphasis:#0a3622;--bs-info-text-emphasis:#055160;--bs-warning-text-emphasis:#664d03;--bs-danger-text-emphasis:#58151c;--bs-light-text-emphasis:#495057;--bs-dark-text-emphasis:#495057;--bs-primary-bg-subtle:#cfe2ff;--bs-secondary-bg-subtle:#e2e3e5;--bs-success-bg-subtle:#d1e7dd;--bs-info-bg-subtle:#cff4fc;--bs-warning-bg-subtle:#fff3cd;--bs-danger-bg-subtle:#f8d7da;--bs-light-bg-subtle:#fcfcfd;--bs-dark-bg-subtle:#ced4da;--bs-primary-border-subtle:#9ec5fe;--bs-secondary-border-subtle:#c4c8cb;--bs-success-border-subtle:#a3cfbb;--bs-info-border-subtle:#9eeaf9;--bs-warning-border-subtle:#ffe69c;--bs-danger-border-subtle:#f1aeb5;--bs-light-border-subtle:#e9ecef;--bs-dark-border-subtle:#adb5bd;--bs-white-rgb:255, 255, 255;--bs-black-rgb:0, 0, 0;--bs-font-sans-serif:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace:SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-color-rgb:33, 37, 41;--bs-body-bg:#fff;--bs-body-bg-rgb:255, 255, 255;--bs-emphasis-color:#000;--bs-emphasis-color-rgb:0, 0, 0;--bs-secondary-color:rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb:33, 37, 41;--bs-secondary-bg:#e9ecef;--bs-secondary-bg-rgb:233, 236, 239;--bs-tertiary-color:rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb:33, 37, 41;--bs-tertiary-bg:#f8f9fa;--bs-tertiary-bg-rgb:248, 249, 250;--bs-heading-color:inherit;--bs-link-color:#0d6efd;--bs-link-color-rgb:13, 110, 253;--bs-link-decoration:underline;--bs-link-hover-color:#0a58ca;--bs-link-hover-color-rgb:10, 88, 202;--bs-code-color:#d63384;--bs-highlight-bg:#fff3cd;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, 0.175);--bs-border-radius:0.375rem;--bs-border-radius-sm:0.25rem;--bs-border-radius-lg:0.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-xxl:2rem;--bs-border-radius-2xl:var(--bs-border-radius-xxl);--bs-border-radius-pill:50rem;--bs-box-shadow:0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm:0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg:0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset:inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width:0.25rem;--bs-focus-ring-opacity:0.25;--bs-focus-ring-color:rgba(13, 110, 253, 0.25);--bs-form-valid-color:#198754;--bs-form-valid-border-color:#198754;--bs-form-invalid-color:#dc3545;--bs-form-invalid-border-color:#dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color:#dee2e6;--bs-body-color-rgb:222, 226, 230;--bs-body-bg:#212529;--bs-body-bg-rgb:33, 37, 41;--bs-emphasis-color:#fff;--bs-emphasis-color-rgb:255, 255, 255;--bs-secondary-color:rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb:222, 226, 230;--bs-secondary-bg:#343a40;--bs-secondary-bg-rgb:52, 58, 64;--bs-tertiary-color:rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb:222, 226, 230;--bs-tertiary-bg:#2b3035;--bs-tertiary-bg-rgb:43, 48, 53;--bs-primary-text-emphasis:#6ea8fe;--bs-secondary-text-emphasis:#a7acb1;--bs-success-text-emphasis:#75b798;--bs-info-text-emphasis:#6edff6;--bs-warning-text-emphasis:#ffda6a;--bs-danger-text-emphasis:#ea868f;--bs-light-text-emphasis:#f8f9fa;--bs-dark-text-emphasis:#dee2e6;--bs-primary-bg-subtle:#031633;--bs-secondary-bg-subtle:#161719;--bs-success-bg-subtle:#051b11;--bs-info-bg-subtle:#032830;--bs-warning-bg-subtle:#332701;--bs-danger-bg-subtle:#2c0b0e;--bs-light-bg-subtle:#343a40;--bs-dark-bg-subtle:#1a1d20;--bs-primary-border-subtle:#084298;--bs-secondary-border-subtle:#41464b;--bs-success-border-subtle:#0f5132;--bs-info-border-subtle:#087990;--bs-warning-border-subtle:#997404;--bs-danger-border-subtle:#842029;--bs-light-border-subtle:#495057;--bs-dark-border-subtle:#343a40;--bs-heading-color:inherit;--bs-link-color:#6ea8fe;--bs-link-hover-color:#8bb9fe;--bs-link-color-rgb:110, 168, 254;--bs-link-hover-color-rgb:139, 185, 254;--bs-code-color:#e685b5;--bs-border-color:#495057;--bs-border-color-translucent:rgba(255, 255, 255, 0.15);--bs-form-valid-color:#75b798;--bs-form-valid-border-color:#75b798;--bs-form-invalid-color:#ea868f;--bs-form-invalid-border-color:#ea868f}.spinner-grow,.spinner-border{display:inline-block;width:var(--bs-spinner-width);height:var(--bs-spinner-height);vertical-align:var(--bs-spinner-vertical-align);border-radius:50%;animation:var(--bs-spinner-animation-speed) linear infinite var(--bs-spinner-animation-name)}@keyframes spinner-border{to{transform:rotate(360deg) }}.spinner-border{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-border-width:0.25em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-border;border:var(--bs-spinner-border-width) solid currentcolor;border-right-color:transparent}.spinner-border-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem;--bs-spinner-border-width:0.2em}@keyframes spinner-grow{0%{transform:scale(0)}50%{opacity:1;transform:none}}.spinner-grow{--bs-spinner-width:2rem;--bs-spinner-height:2rem;--bs-spinner-vertical-align:-0.125em;--bs-spinner-animation-speed:0.75s;--bs-spinner-animation-name:spinner-grow;background-color:currentcolor;opacity:0}.spinner-grow-sm{--bs-spinner-width:1rem;--bs-spinner-height:1rem}@media (prefers-reduced-motion: reduce){.spinner-border,.spinner-grow{--bs-spinner-animation-speed:1.5s}}.clearfix::after{display:block;clear:both;content:""}.text-bg-primary{color:#fff !important;background-color:RGBA(var(--bs-primary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-secondary{color:#fff !important;background-color:RGBA(var(--bs-secondary-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-success{color:#fff !important;background-color:RGBA(var(--bs-success-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-info{color:#000 !important;background-color:RGBA(var(--bs-info-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-warning{color:#000 !important;background-color:RGBA(var(--bs-warning-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-danger{color:#fff !important;background-color:RGBA(var(--bs-danger-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-light{color:#000 !important;background-color:RGBA(var(--bs-light-rgb), var(--bs-bg-opacity, 1)) !important}.text-bg-dark{color:#fff !important;background-color:RGBA(var(--bs-dark-rgb), var(--bs-bg-opacity, 1)) !important}.link-primary{color:RGBA(var(--bs-primary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-primary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-primary:hover,.link-primary:focus{color:RGBA(10, 88, 202, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(10, 88, 202, var(--bs-link-underline-opacity, 1)) !important}.link-secondary{color:RGBA(var(--bs-secondary-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-secondary-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-secondary:hover,.link-secondary:focus{color:RGBA(86, 94, 100, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(86, 94, 100, var(--bs-link-underline-opacity, 1)) !important}.link-success{color:RGBA(var(--bs-success-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-success-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-success:hover,.link-success:focus{color:RGBA(20, 108, 67, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(20, 108, 67, var(--bs-link-underline-opacity, 1)) !important}.link-info{color:RGBA(var(--bs-info-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-info-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-info:hover,.link-info:focus{color:RGBA(61, 213, 243, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(61, 213, 243, var(--bs-link-underline-opacity, 1)) !important}.link-warning{color:RGBA(var(--bs-warning-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-warning-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-warning:hover,.link-warning:focus{color:RGBA(255, 205, 57, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(255, 205, 57, var(--bs-link-underline-opacity, 1)) !important}.link-danger{color:RGBA(var(--bs-danger-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-danger-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-danger:hover,.link-danger:focus{color:RGBA(176, 42, 55, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(176, 42, 55, var(--bs-link-underline-opacity, 1)) !important}.link-light{color:RGBA(var(--bs-light-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-light-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-light:hover,.link-light:focus{color:RGBA(249, 250, 251, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(249, 250, 251, var(--bs-link-underline-opacity, 1)) !important}.link-dark{color:RGBA(var(--bs-dark-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-dark-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-dark:hover,.link-dark:focus{color:RGBA(26, 30, 33, var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(26, 30, 33, var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 1)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 1)) !important}.link-body-emphasis:hover,.link-body-emphasis:focus{color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-opacity, 0.75)) !important;text-decoration-color:RGBA(var(--bs-emphasis-color-rgb), var(--bs-link-underline-opacity, 0.75)) !important}.focus-ring:focus{outline:0;box-shadow:var(--bs-focus-ring-x, 0) var(--bs-focus-ring-y, 0) var(--bs-focus-ring-blur, 0) var(--bs-focus-ring-width) var(--bs-focus-ring-color)}.icon-link{display:inline-flex;gap:0.375rem;align-items:center;text-decoration-color:rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5));text-underline-offset:0.25em;backface-visibility:hidden}.icon-link>.bi{flex-shrink:0;width:1em;height:1em;fill:currentcolor;transition:0.2s ease-in-out transform}@media (prefers-reduced-motion: reduce){.icon-link>.bi{transition:none}}.icon-link-hover:hover>.bi,.icon-link-hover:focus-visible>.bi{transform:var(--bs-icon-link-transform, translate3d(0.25em, 0, 0))}.ratio{position:relative;width:100%}.ratio::before{display:block;padding-top:var(--bs-aspect-ratio);content:""}.ratio>*{position:absolute;top:0;left:0;width:100%;height:100%}.ratio-1x1{--bs-aspect-ratio:100%}.ratio-4x3{--bs-aspect-ratio:75%}.ratio-16x9{--bs-aspect-ratio:56.25%}.ratio-21x9{--bs-aspect-ratio:42.8571428571%}.fixed-top{position:fixed;top:0;right:0;left:0;z-index:1030}.fixed-bottom{position:fixed;right:0;bottom:0;left:0;z-index:1030}.sticky-top{position:sticky;top:0;z-index:1020}.sticky-bottom{position:sticky;bottom:0;z-index:1020}@media (min-width: 576px){.sticky-sm-top{position:sticky;top:0;z-index:1020}.sticky-sm-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 768px){.sticky-md-top{position:sticky;top:0;z-index:1020}.sticky-md-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 992px){.sticky-lg-top{position:sticky;top:0;z-index:1020}.sticky-lg-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1200px){.sticky-xl-top{position:sticky;top:0;z-index:1020}.sticky-xl-bottom{position:sticky;bottom:0;z-index:1020}}@media (min-width: 1400px){.sticky-xxl-top{position:sticky;top:0;z-index:1020}.sticky-xxl-bottom{position:sticky;bottom:0;z-index:1020}}.hstack{display:flex;flex-direction:row;align-items:center;align-self:stretch}.vstack{display:flex;flex:1 1 auto;flex-direction:column;align-self:stretch}.visually-hidden,.visually-hidden-focusable:not(:focus):not(:focus-within){width:1px !important;height:1px !important;padding:0 !important;margin:-1px !important;overflow:hidden !important;clip:rect(0, 0, 0, 0) !important;white-space:nowrap !important;border:0 !important}.visually-hidden:not(caption),.visually-hidden-focusable:not(:focus):not(:focus-within):not(caption){position:absolute !important}.stretched-link::after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;content:""}.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vr{display:inline-block;align-self:stretch;width:var(--bs-border-width);min-height:1em;background-color:currentcolor;opacity:0.25}:host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";font-size:1rem;font-weight:400;line-height:1.5;color:#212529}';export{p as justifi_proceeds_list}