@verdocs/web-sdk 6.2.2 → 6.2.5

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 (600) hide show
  1. package/dist/cjs/{index-DftYQmBd.js → index-BSi_QTIT.js} +7 -4
  2. package/dist/cjs/{index-DftYQmBd.js.map → index-BSi_QTIT.js.map} +1 -1
  3. package/dist/cjs/loader.cjs.js +1 -1
  4. package/dist/cjs/verdocs-auth.cjs.entry.js +1 -10
  5. package/dist/cjs/verdocs-auth.entry.cjs.js.map +1 -1
  6. package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
  7. package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
  8. package/dist/cjs/verdocs-button_3.cjs.entry.js +1 -1
  9. package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +1 -1
  10. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +127 -58
  11. package/dist/cjs/verdocs-contact-picker.entry.cjs.js.map +1 -1
  12. package/dist/cjs/verdocs-date-input.cjs.entry.js +1 -1
  13. package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js +1 -1
  14. package/dist/cjs/verdocs-dialog_2.cjs.entry.js +1 -1
  15. package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
  16. package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +1 -1
  17. package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +1 -1
  18. package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +1 -1
  19. package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
  20. package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +1 -1
  21. package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
  23. package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
  24. package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +1 -1
  25. package/dist/cjs/verdocs-multiselect.cjs.entry.js +1 -1
  26. package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
  27. package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
  28. package/dist/cjs/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.cjs.js.map +1 -1
  29. package/dist/cjs/verdocs-preview_7.cjs.entry.js +4 -3
  30. package/dist/cjs/verdocs-quick-functions.cjs.entry.js +1 -1
  31. package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
  32. package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
  33. package/dist/cjs/verdocs-search-tabs.cjs.entry.js +1 -1
  34. package/dist/cjs/verdocs-sign.cjs.entry.js +1 -1
  35. package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
  36. package/dist/cjs/verdocs-status-indicator.cjs.entry.js +1 -1
  37. package/dist/cjs/verdocs-switch.cjs.entry.js +1 -1
  38. package/dist/cjs/verdocs-table.cjs.entry.js +1 -1
  39. package/dist/cjs/verdocs-template-card.cjs.entry.js +1 -1
  40. package/dist/cjs/verdocs-template-create.cjs.entry.js +1 -1
  41. package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
  42. package/dist/cjs/verdocs-template-star.cjs.entry.js +1 -1
  43. package/dist/cjs/verdocs-template-tags.cjs.entry.js +1 -1
  44. package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
  45. package/dist/cjs/verdocs-toggle-button.cjs.entry.js +1 -1
  46. package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
  47. package/dist/cjs/verdocs-web-sdk.cjs.js +2 -2
  48. package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -1
  49. package/dist/collection/collection-manifest.json +2 -2
  50. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +0 -9
  51. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -1
  52. package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js +3 -2
  53. package/dist/collection/components/templates/verdocs-template-fields/verdocs-template-fields.js.map +1 -1
  54. package/dist/components/index.js +1 -1
  55. package/dist/components/{p-JSjBRS7U.js → p-9Csbf-tN.js} +6 -6
  56. package/dist/components/{p-JSjBRS7U.js.map → p-9Csbf-tN.js.map} +1 -1
  57. package/dist/components/{p-Clw7inRP.js → p-9up2BmHp.js} +7 -4
  58. package/dist/components/p-9up2BmHp.js.map +1 -0
  59. package/dist/components/{p-DqU6EOrq.js → p-AVxZpgsX.js} +132 -63
  60. package/dist/components/p-AVxZpgsX.js.map +1 -0
  61. package/dist/components/{p-Du4PqhO4.js → p-B0MvlQO2.js} +13 -13
  62. package/dist/components/{p-Du4PqhO4.js.map → p-B0MvlQO2.js.map} +1 -1
  63. package/dist/components/{p-DEN3uO4t.js → p-B4UtR_2c.js} +12 -12
  64. package/dist/components/{p-DEN3uO4t.js.map → p-B4UtR_2c.js.map} +1 -1
  65. package/dist/components/{p-C4FQgN27.js → p-BL3Ul9SN.js} +3 -3
  66. package/dist/components/{p-C4FQgN27.js.map → p-BL3Ul9SN.js.map} +1 -1
  67. package/dist/components/{p-A0TIBCSU.js → p-BUDGHfvB.js} +4 -4
  68. package/dist/components/{p-A0TIBCSU.js.map → p-BUDGHfvB.js.map} +1 -1
  69. package/dist/components/{p-BQlQiR3u.js → p-BVuTqQTL.js} +12 -12
  70. package/dist/components/{p-BQlQiR3u.js.map → p-BVuTqQTL.js.map} +1 -1
  71. package/dist/components/{p-BwBL5pCO.js → p-BW3GsUj9.js} +3 -3
  72. package/dist/components/{p-BwBL5pCO.js.map → p-BW3GsUj9.js.map} +1 -1
  73. package/dist/components/{p-DkJdAEOJ.js → p-BXFf3Lpk.js} +12 -12
  74. package/dist/components/{p-DkJdAEOJ.js.map → p-BXFf3Lpk.js.map} +1 -1
  75. package/dist/components/{p-Ckge1ig8.js → p-Bba-t7GY.js} +4 -4
  76. package/dist/components/{p-Ckge1ig8.js.map → p-Bba-t7GY.js.map} +1 -1
  77. package/dist/components/{p-CRwSFWzI.js → p-Bf5ceLBh.js} +4 -4
  78. package/dist/components/{p-CRwSFWzI.js.map → p-Bf5ceLBh.js.map} +1 -1
  79. package/dist/components/{p-BuubyFAZ.js → p-BhqIuhDg.js} +3 -3
  80. package/dist/components/{p-BuubyFAZ.js.map → p-BhqIuhDg.js.map} +1 -1
  81. package/dist/components/{p-C2HCH6g7.js → p-BjvBJ8-S.js} +32 -31
  82. package/dist/components/p-BjvBJ8-S.js.map +1 -0
  83. package/dist/components/{p-BdJ3dzrK.js → p-Bq8xEv_t.js} +10 -10
  84. package/dist/components/{p-BdJ3dzrK.js.map → p-Bq8xEv_t.js.map} +1 -1
  85. package/dist/components/{p-DLHVUlBz.js → p-BvDqCFDj.js} +4 -4
  86. package/dist/components/{p-DLHVUlBz.js.map → p-BvDqCFDj.js.map} +1 -1
  87. package/dist/components/{p-KBnlWGyn.js → p-C2Dmo84A.js} +3 -3
  88. package/dist/components/{p-KBnlWGyn.js.map → p-C2Dmo84A.js.map} +1 -1
  89. package/dist/components/{p-CQobV491.js → p-C2cseLAY.js} +3 -3
  90. package/dist/components/{p-CQobV491.js.map → p-C2cseLAY.js.map} +1 -1
  91. package/dist/components/{p-ChYa_oDl.js → p-C3iwT41e.js} +3 -3
  92. package/dist/components/{p-ChYa_oDl.js.map → p-C3iwT41e.js.map} +1 -1
  93. package/dist/components/{p-BT0neCZs.js → p-C4lOZS20.js} +12 -12
  94. package/dist/components/{p-BT0neCZs.js.map → p-C4lOZS20.js.map} +1 -1
  95. package/dist/components/{p-C6fNs8h4.js → p-CBRYaKLM.js} +3 -3
  96. package/dist/components/{p-C6fNs8h4.js.map → p-CBRYaKLM.js.map} +1 -1
  97. package/dist/components/{p-Nm1lLP_N.js → p-CBfSBOmz.js} +6 -6
  98. package/dist/components/{p-Nm1lLP_N.js.map → p-CBfSBOmz.js.map} +1 -1
  99. package/dist/components/{p-BtmYlhUt.js → p-CDYnBmu_.js} +7 -7
  100. package/dist/components/{p-BtmYlhUt.js.map → p-CDYnBmu_.js.map} +1 -1
  101. package/dist/components/{p-DGHTQ0I6.js → p-CPvyHpp6.js} +3 -3
  102. package/dist/components/{p-DGHTQ0I6.js.map → p-CPvyHpp6.js.map} +1 -1
  103. package/dist/components/{p-DcQ39vBS.js → p-CcIaiNEM.js} +15 -15
  104. package/dist/components/{p-DcQ39vBS.js.map → p-CcIaiNEM.js.map} +1 -1
  105. package/dist/components/{p-BCroqgXq.js → p-CkxqbZql.js} +11 -11
  106. package/dist/components/{p-BCroqgXq.js.map → p-CkxqbZql.js.map} +1 -1
  107. package/dist/components/{p-CAz0nJLZ.js → p-Cm3Ns2TB.js} +3 -3
  108. package/dist/components/{p-CAz0nJLZ.js.map → p-Cm3Ns2TB.js.map} +1 -1
  109. package/dist/components/{p-ypOGCUn7.js → p-CrZquwr4.js} +5 -5
  110. package/dist/components/{p-ypOGCUn7.js.map → p-CrZquwr4.js.map} +1 -1
  111. package/dist/components/{p-BD3k0XXh.js → p-CtbvYEGE.js} +12 -12
  112. package/dist/components/{p-BD3k0XXh.js.map → p-CtbvYEGE.js.map} +1 -1
  113. package/dist/components/{p-BLj6y0dz.js → p-Ctqad2FQ.js} +3 -3
  114. package/dist/components/{p-BLj6y0dz.js.map → p-Ctqad2FQ.js.map} +1 -1
  115. package/dist/components/{p-BoCrjpQu.js → p-CwgpN7A7.js} +6 -6
  116. package/dist/components/{p-BoCrjpQu.js.map → p-CwgpN7A7.js.map} +1 -1
  117. package/dist/components/{p-CWu2DUOc.js → p-DDxQuWAZ.js} +10 -10
  118. package/dist/components/{p-CWu2DUOc.js.map → p-DDxQuWAZ.js.map} +1 -1
  119. package/dist/components/{p-C-4fLUhc.js → p-DGJlf5J_.js} +3 -3
  120. package/dist/components/{p-C-4fLUhc.js.map → p-DGJlf5J_.js.map} +1 -1
  121. package/dist/components/{p-CO6oIgzX.js → p-DIl7zlTd.js} +3 -3
  122. package/dist/components/{p-CO6oIgzX.js.map → p-DIl7zlTd.js.map} +1 -1
  123. package/dist/components/{p-BobC2ZPp.js → p-DK8_N2Na.js} +28 -28
  124. package/dist/components/{p-BobC2ZPp.js.map → p-DK8_N2Na.js.map} +1 -1
  125. package/dist/components/{p-Bbme0kV0.js → p-DPBSrcaG.js} +7 -7
  126. package/dist/components/{p-Bbme0kV0.js.map → p-DPBSrcaG.js.map} +1 -1
  127. package/dist/components/{p-BgNcmzTv.js → p-DSO1_d48.js} +12 -12
  128. package/dist/components/{p-BgNcmzTv.js.map → p-DSO1_d48.js.map} +1 -1
  129. package/dist/components/{p-DnaGcy-V.js → p-D_QT5uZk.js} +3 -3
  130. package/dist/components/{p-DnaGcy-V.js.map → p-D_QT5uZk.js.map} +1 -1
  131. package/dist/components/{p-Dq6CVJPs.js → p-DaDjn3gR.js} +3 -3
  132. package/dist/components/{p-Dq6CVJPs.js.map → p-DaDjn3gR.js.map} +1 -1
  133. package/dist/components/{p-piBUK21t.js → p-DfTz53m-.js} +12 -12
  134. package/dist/components/{p-piBUK21t.js.map → p-DfTz53m-.js.map} +1 -1
  135. package/dist/components/{p-CJhGWFyM.js → p-Dwu1JL0y.js} +9 -9
  136. package/dist/components/{p-CJhGWFyM.js.map → p-Dwu1JL0y.js.map} +1 -1
  137. package/dist/components/{p-8YJmijSd.js → p-KqTfG8Kf.js} +3 -3
  138. package/dist/components/{p-8YJmijSd.js.map → p-KqTfG8Kf.js.map} +1 -1
  139. package/dist/components/{p-BhWv2W6I.js → p-L3HpKTaM.js} +14 -14
  140. package/dist/components/{p-BhWv2W6I.js.map → p-L3HpKTaM.js.map} +1 -1
  141. package/dist/components/{p-BPmnKIE8.js → p-LeCnrgBv.js} +6 -6
  142. package/dist/components/{p-BPmnKIE8.js.map → p-LeCnrgBv.js.map} +1 -1
  143. package/dist/components/{p-De55cjKE.js → p-Opf3i5hz.js} +3 -3
  144. package/dist/components/{p-De55cjKE.js.map → p-Opf3i5hz.js.map} +1 -1
  145. package/dist/components/{p-C-46fVlJ.js → p-Q6w_Yld9.js} +10 -10
  146. package/dist/components/{p-C-46fVlJ.js.map → p-Q6w_Yld9.js.map} +1 -1
  147. package/dist/components/{p-BEuU1xX4.js → p-RQJ9uyyW.js} +3 -3
  148. package/dist/components/{p-BEuU1xX4.js.map → p-RQJ9uyyW.js.map} +1 -1
  149. package/dist/components/{p-CUxqZ8xb.js → p-TkHAxPB_.js} +10 -10
  150. package/dist/components/{p-CUxqZ8xb.js.map → p-TkHAxPB_.js.map} +1 -1
  151. package/dist/components/{p-B7mqZJ5f.js → p-_BQ9q2MT.js} +4 -4
  152. package/dist/components/{p-B7mqZJ5f.js.map → p-_BQ9q2MT.js.map} +1 -1
  153. package/dist/components/{p-FVg7B0fh.js → p-fnInzV73.js} +4 -4
  154. package/dist/components/{p-FVg7B0fh.js.map → p-fnInzV73.js.map} +1 -1
  155. package/dist/components/{p-BD-wJn_A.js → p-icGdbhUU.js} +3 -3
  156. package/dist/components/{p-BD-wJn_A.js.map → p-icGdbhUU.js.map} +1 -1
  157. package/dist/components/{p-Clx6y9zn.js → p-kvTSiSQ0.js} +3 -3
  158. package/dist/components/{p-Clx6y9zn.js.map → p-kvTSiSQ0.js.map} +1 -1
  159. package/dist/components/{p-B1W2x-Pq.js → p-mjn4Ftey.js} +27 -27
  160. package/dist/components/{p-B1W2x-Pq.js.map → p-mjn4Ftey.js.map} +1 -1
  161. package/dist/components/{p-C_0clv-R.js → p-mrJQukV3.js} +4 -4
  162. package/dist/components/{p-C_0clv-R.js.map → p-mrJQukV3.js.map} +1 -1
  163. package/dist/components/{p-CCKTr5U6.js → p-tGg7lt4q.js} +6 -6
  164. package/dist/components/{p-CCKTr5U6.js.map → p-tGg7lt4q.js.map} +1 -1
  165. package/dist/components/{p-BTA1be7y.js → p-wj1u5UNC.js} +3 -3
  166. package/dist/components/{p-BTA1be7y.js.map → p-wj1u5UNC.js.map} +1 -1
  167. package/dist/components/verdocs-auth.js +4 -13
  168. package/dist/components/verdocs-auth.js.map +1 -1
  169. package/dist/components/verdocs-build.js +43 -43
  170. package/dist/components/verdocs-button-panel.js +1 -1
  171. package/dist/components/verdocs-button.js +1 -1
  172. package/dist/components/verdocs-checkbox.js +1 -1
  173. package/dist/components/verdocs-component-error.js +1 -1
  174. package/dist/components/verdocs-contact-picker.js +1 -1
  175. package/dist/components/verdocs-date-input.js +2 -2
  176. package/dist/components/verdocs-delegate-dialog.js +1 -1
  177. package/dist/components/verdocs-dialog.js +1 -1
  178. package/dist/components/verdocs-disclosure-dialog.js +1 -1
  179. package/dist/components/verdocs-dropdown.js +1 -1
  180. package/dist/components/verdocs-envelope-document-page.js +1 -1
  181. package/dist/components/verdocs-envelope-recipient-link.js +1 -1
  182. package/dist/components/verdocs-envelope-recipient-summary.js +2 -2
  183. package/dist/components/verdocs-envelope-sidebar.js +11 -11
  184. package/dist/components/verdocs-envelope-update-recipient.js +1 -1
  185. package/dist/components/verdocs-envelopes-list.js +11 -11
  186. package/dist/components/verdocs-field-attachment.js +1 -1
  187. package/dist/components/verdocs-field-checkbox.js +1 -1
  188. package/dist/components/verdocs-field-date.js +1 -1
  189. package/dist/components/verdocs-field-dropdown.js +1 -1
  190. package/dist/components/verdocs-field-initial.js +1 -1
  191. package/dist/components/verdocs-field-payment.js +10 -10
  192. package/dist/components/verdocs-field-radio.js +1 -1
  193. package/dist/components/verdocs-field-signature.js +1 -1
  194. package/dist/components/verdocs-field-textarea.js +1 -1
  195. package/dist/components/verdocs-field-textbox.js +1 -1
  196. package/dist/components/verdocs-field-timestamp.js +1 -1
  197. package/dist/components/verdocs-file-chooser.js +1 -1
  198. package/dist/components/verdocs-help-icon.js +1 -1
  199. package/dist/components/verdocs-initial-dialog.js +1 -1
  200. package/dist/components/verdocs-kba-dialog.js +1 -1
  201. package/dist/components/verdocs-loader.js +1 -1
  202. package/dist/components/verdocs-menu-panel.js +1 -1
  203. package/dist/components/verdocs-multiselect.js +2 -2
  204. package/dist/components/verdocs-ok-dialog.js +1 -1
  205. package/dist/components/verdocs-organization-card.js +2 -2
  206. package/dist/components/verdocs-otp-dialog.js +1 -1
  207. package/dist/components/verdocs-pagination.js +1 -1
  208. package/dist/components/verdocs-portal.js +1 -1
  209. package/dist/components/verdocs-preview.js +1 -1
  210. package/dist/components/verdocs-progress-bar.js +1 -1
  211. package/dist/components/verdocs-quick-filter.js +1 -1
  212. package/dist/components/verdocs-quick-functions.js +1 -1
  213. package/dist/components/verdocs-radio-button.js +1 -1
  214. package/dist/components/verdocs-search-box.js +1 -1
  215. package/dist/components/verdocs-search-tabs.js +1 -1
  216. package/dist/components/verdocs-select-input.js +1 -1
  217. package/dist/components/verdocs-send.js +1 -1
  218. package/dist/components/verdocs-sign.js +16 -16
  219. package/dist/components/verdocs-signature-dialog.js +1 -1
  220. package/dist/components/verdocs-spinner.js +1 -1
  221. package/dist/components/verdocs-status-indicator.js +1 -1
  222. package/dist/components/verdocs-switch.js +1 -1
  223. package/dist/components/verdocs-table.js +1 -1
  224. package/dist/components/verdocs-tabs.js +1 -1
  225. package/dist/components/verdocs-template-attachments.js +1 -1
  226. package/dist/components/verdocs-template-build-tabs.js +1 -1
  227. package/dist/components/verdocs-template-card.js +1 -1
  228. package/dist/components/verdocs-template-create.js +5 -5
  229. package/dist/components/verdocs-template-document-page.js +1 -1
  230. package/dist/components/verdocs-template-field-properties.js +1 -1
  231. package/dist/components/verdocs-template-fields.js +1 -1
  232. package/dist/components/verdocs-template-role-properties.js +1 -1
  233. package/dist/components/verdocs-template-roles.js +1 -1
  234. package/dist/components/verdocs-template-settings.js +1 -1
  235. package/dist/components/verdocs-template-star.js +1 -1
  236. package/dist/components/verdocs-template-tags.js +1 -1
  237. package/dist/components/verdocs-templates-list.js +11 -11
  238. package/dist/components/verdocs-text-input.js +1 -1
  239. package/dist/components/verdocs-toggle-button.js +1 -1
  240. package/dist/components/verdocs-toggle.js +1 -1
  241. package/dist/components/verdocs-toolbar-icon.js +1 -1
  242. package/dist/components/verdocs-upload-dialog.js +1 -1
  243. package/dist/components/verdocs-view.js +1 -1
  244. package/dist/esm/{index-C05sDUVN.js → index-DjAHH4ih.js} +7 -4
  245. package/dist/esm/{index-C05sDUVN.js.map → index-DjAHH4ih.js.map} +1 -1
  246. package/dist/esm/loader.js +2 -2
  247. package/dist/esm/verdocs-auth.entry.js +1 -10
  248. package/dist/esm/verdocs-auth.entry.js.map +1 -1
  249. package/dist/esm/verdocs-build.entry.js +1 -1
  250. package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
  251. package/dist/esm/verdocs-button_3.entry.js +1 -1
  252. package/dist/esm/verdocs-checkbox_5.entry.js +1 -1
  253. package/dist/esm/verdocs-contact-picker.entry.js +127 -58
  254. package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
  255. package/dist/esm/verdocs-date-input.entry.js +1 -1
  256. package/dist/esm/verdocs-delegate-dialog_5.entry.js +1 -1
  257. package/dist/esm/verdocs-dialog_2.entry.js +1 -1
  258. package/dist/esm/verdocs-dropdown.entry.js +1 -1
  259. package/dist/esm/verdocs-envelope-document-page.entry.js +1 -1
  260. package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +1 -1
  261. package/dist/esm/verdocs-envelope-recipient-summary.entry.js +1 -1
  262. package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
  263. package/dist/esm/verdocs-envelopes-list.entry.js +1 -1
  264. package/dist/esm/verdocs-field-attachment_13.entry.js +1 -1
  265. package/dist/esm/verdocs-field-payment.entry.js +1 -1
  266. package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
  267. package/dist/esm/verdocs-menu-panel_2.entry.js +1 -1
  268. package/dist/esm/verdocs-multiselect.entry.js +1 -1
  269. package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
  270. package/dist/esm/verdocs-pagination_2.entry.js +1 -1
  271. package/dist/esm/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.js.map +1 -1
  272. package/dist/esm/verdocs-preview_7.entry.js +4 -3
  273. package/dist/esm/verdocs-quick-functions.entry.js +1 -1
  274. package/dist/esm/verdocs-radio-button.entry.js +1 -1
  275. package/dist/esm/verdocs-search-box.entry.js +1 -1
  276. package/dist/esm/verdocs-search-tabs.entry.js +1 -1
  277. package/dist/esm/verdocs-sign.entry.js +1 -1
  278. package/dist/esm/verdocs-spinner.entry.js +1 -1
  279. package/dist/esm/verdocs-status-indicator.entry.js +1 -1
  280. package/dist/esm/verdocs-switch.entry.js +1 -1
  281. package/dist/esm/verdocs-table.entry.js +1 -1
  282. package/dist/esm/verdocs-template-card.entry.js +1 -1
  283. package/dist/esm/verdocs-template-create.entry.js +1 -1
  284. package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
  285. package/dist/esm/verdocs-template-star.entry.js +1 -1
  286. package/dist/esm/verdocs-template-tags.entry.js +1 -1
  287. package/dist/esm/verdocs-templates-list.entry.js +1 -1
  288. package/dist/esm/verdocs-toggle-button.entry.js +1 -1
  289. package/dist/esm/verdocs-toggle.entry.js +1 -1
  290. package/dist/esm/verdocs-web-sdk.js +3 -3
  291. package/dist/esm/verdocs-web-sdk.js.map +1 -1
  292. package/dist/esm-es5/index-DjAHH4ih.js +2 -0
  293. package/dist/esm-es5/{index-C05sDUVN.js.map → index-DjAHH4ih.js.map} +1 -1
  294. package/dist/esm-es5/loader.js +1 -1
  295. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  296. package/dist/esm-es5/verdocs-auth.entry.js.map +1 -1
  297. package/dist/esm-es5/verdocs-build.entry.js +1 -1
  298. package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
  299. package/dist/esm-es5/verdocs-button-panel_2.entry.js.map +1 -1
  300. package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
  301. package/dist/esm-es5/verdocs-checkbox_5.entry.js +1 -1
  302. package/dist/esm-es5/verdocs-checkbox_5.entry.js.map +1 -1
  303. package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
  304. package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
  305. package/dist/esm-es5/verdocs-date-input.entry.js +1 -1
  306. package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js +1 -1
  307. package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js.map +1 -1
  308. package/dist/esm-es5/verdocs-dialog_2.entry.js +1 -1
  309. package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
  310. package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
  311. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
  312. package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js.map +1 -1
  313. package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
  314. package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
  315. package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
  316. package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
  317. package/dist/esm-es5/verdocs-field-attachment_13.entry.js.map +1 -1
  318. package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
  319. package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
  320. package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
  321. package/dist/esm-es5/verdocs-menu-panel_2.entry.js.map +1 -1
  322. package/dist/esm-es5/verdocs-multiselect.entry.js +1 -1
  323. package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
  324. package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
  325. package/dist/esm-es5/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.js.map +1 -1
  326. package/dist/esm-es5/verdocs-preview_7.entry.js +1 -1
  327. package/dist/esm-es5/verdocs-preview_7.entry.js.map +1 -1
  328. package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
  329. package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
  330. package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
  331. package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
  332. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  333. package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
  334. package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
  335. package/dist/esm-es5/verdocs-switch.entry.js +1 -1
  336. package/dist/esm-es5/verdocs-table.entry.js +1 -1
  337. package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
  338. package/dist/esm-es5/verdocs-template-create.entry.js +1 -1
  339. package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
  340. package/dist/esm-es5/verdocs-template-document-page_2.entry.js.map +1 -1
  341. package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
  342. package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
  343. package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
  344. package/dist/esm-es5/verdocs-toggle-button.entry.js +1 -1
  345. package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
  346. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  347. package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
  348. package/dist/types/stencil-public-runtime.d.ts +20 -10
  349. package/dist/verdocs-web-sdk/{p-2a1b80df.system.entry.js → p-03a6ee37.system.entry.js} +2 -2
  350. package/dist/verdocs-web-sdk/p-05b5f6a8.system.entry.js +2 -0
  351. package/dist/verdocs-web-sdk/{p-33ab44b7.system.entry.js.map → p-05b5f6a8.system.entry.js.map} +1 -1
  352. package/dist/verdocs-web-sdk/p-072cf3bf.system.entry.js +4 -0
  353. package/dist/verdocs-web-sdk/p-072cf3bf.system.entry.js.map +1 -0
  354. package/dist/verdocs-web-sdk/{p-1ff272f6.entry.js → p-095f01ea.entry.js} +2 -2
  355. package/dist/verdocs-web-sdk/p-0c2b17b8.system.entry.js +2 -0
  356. package/dist/verdocs-web-sdk/{p-74bbd74a.system.entry.js.map → p-0c2b17b8.system.entry.js.map} +1 -1
  357. package/dist/verdocs-web-sdk/{p-cf8ee113.entry.js → p-0c895013.entry.js} +2 -2
  358. package/dist/verdocs-web-sdk/{p-2d25b13c.system.entry.js → p-0d3060d5.system.entry.js} +2 -2
  359. package/dist/verdocs-web-sdk/{p-b2df2093.entry.js → p-10496565.entry.js} +2 -2
  360. package/dist/verdocs-web-sdk/p-16c12330.system.entry.js +2 -0
  361. package/dist/verdocs-web-sdk/{p-b5df6697.system.entry.js.map → p-16c12330.system.entry.js.map} +1 -1
  362. package/dist/verdocs-web-sdk/{p-eac95c01.entry.js → p-198505d1.entry.js} +2 -2
  363. package/dist/verdocs-web-sdk/p-1Cwi_bnK.system.js.map +1 -0
  364. package/dist/verdocs-web-sdk/{p-1db62ef8.entry.js → p-1b86055f.entry.js} +2 -2
  365. package/dist/verdocs-web-sdk/{p-5889c99f.entry.js → p-1bc8a67b.entry.js} +2 -2
  366. package/dist/verdocs-web-sdk/{p-9cbdf984.system.entry.js → p-2083a0b5.system.entry.js} +2 -2
  367. package/dist/verdocs-web-sdk/{p-9a109fed.entry.js → p-22d7fd99.entry.js} +2 -2
  368. package/dist/verdocs-web-sdk/p-24a5020f.system.entry.js +2 -0
  369. package/dist/verdocs-web-sdk/{p-f6b28e39.system.entry.js.map → p-24a5020f.system.entry.js.map} +1 -1
  370. package/dist/verdocs-web-sdk/{p-968a5c6c.entry.js → p-262e6ed3.entry.js} +2 -2
  371. package/dist/verdocs-web-sdk/p-296df8e6.system.entry.js +2 -0
  372. package/dist/verdocs-web-sdk/{p-61310d21.system.entry.js.map → p-296df8e6.system.entry.js.map} +1 -1
  373. package/dist/verdocs-web-sdk/{p-b0356b14.entry.js → p-2ab55e7e.entry.js} +2 -2
  374. package/dist/verdocs-web-sdk/{p-76f93877.entry.js → p-331b0a01.entry.js} +2 -2
  375. package/dist/verdocs-web-sdk/p-3f18c552.system.entry.js +2 -0
  376. package/dist/verdocs-web-sdk/{p-8f6075ec.system.entry.js.map → p-3f18c552.system.entry.js.map} +1 -1
  377. package/dist/verdocs-web-sdk/{p-b0d3e996.entry.js → p-408204b5.entry.js} +2 -2
  378. package/dist/verdocs-web-sdk/{p-c9f807d7.system.entry.js → p-424acea6.system.entry.js} +2 -2
  379. package/dist/verdocs-web-sdk/{p-5f01fbeb.system.entry.js → p-4251e17b.system.entry.js} +2 -2
  380. package/dist/verdocs-web-sdk/p-474ac411.entry.js +3 -0
  381. package/dist/verdocs-web-sdk/p-474ac411.entry.js.map +1 -0
  382. package/dist/verdocs-web-sdk/p-54089f3f.system.entry.js +2 -0
  383. package/dist/verdocs-web-sdk/{p-4ce49ea8.system.entry.js.map → p-54089f3f.system.entry.js.map} +1 -1
  384. package/dist/verdocs-web-sdk/{p-771f2a9e.entry.js → p-56cd489c.entry.js} +2 -2
  385. package/dist/verdocs-web-sdk/p-5808c4ab.system.entry.js +2 -0
  386. package/dist/verdocs-web-sdk/{p-c70f32bc.system.entry.js.map → p-5808c4ab.system.entry.js.map} +1 -1
  387. package/dist/verdocs-web-sdk/{p-c4ec6886.entry.js → p-68dc5809.entry.js} +2 -2
  388. package/dist/verdocs-web-sdk/{p-a5d53c9f.system.entry.js → p-6ec49614.system.entry.js} +2 -2
  389. package/dist/verdocs-web-sdk/p-6ec9a626.system.entry.js +2 -0
  390. package/dist/verdocs-web-sdk/{p-dbd65627.system.entry.js.map → p-6ec9a626.system.entry.js.map} +1 -1
  391. package/dist/verdocs-web-sdk/{p-8e4385c9.entry.js → p-7032e5ee.entry.js} +2 -2
  392. package/dist/verdocs-web-sdk/{p-759f13e2.entry.js → p-74f1369b.entry.js} +2 -2
  393. package/dist/verdocs-web-sdk/{p-5b7212dc.entry.js → p-74f5a0bd.entry.js} +2 -2
  394. package/dist/verdocs-web-sdk/p-75154f85.system.entry.js +2 -0
  395. package/dist/verdocs-web-sdk/{p-4fe366ed.system.entry.js.map → p-75154f85.system.entry.js.map} +1 -1
  396. package/dist/verdocs-web-sdk/{p-c3c6b0eb.system.entry.js → p-7787a0e4.system.entry.js} +2 -2
  397. package/dist/verdocs-web-sdk/{p-91c0bdf3.entry.js → p-778aa621.entry.js} +2 -2
  398. package/dist/verdocs-web-sdk/{p-381bb0d2.system.entry.js → p-77a495cb.system.entry.js} +2 -2
  399. package/dist/verdocs-web-sdk/{p-1584775b.system.entry.js → p-79a57db4.system.entry.js} +2 -2
  400. package/dist/verdocs-web-sdk/{p-879c16ae.entry.js → p-7c552800.entry.js} +2 -2
  401. package/dist/verdocs-web-sdk/p-7e1ae321.system.entry.js +2 -0
  402. package/dist/verdocs-web-sdk/{p-8d456c32.system.entry.js.map → p-7e1ae321.system.entry.js.map} +1 -1
  403. package/dist/verdocs-web-sdk/{p-0d45a7bb.entry.js → p-83057e79.entry.js} +2 -2
  404. package/dist/verdocs-web-sdk/{p-c7a18c50.entry.js → p-84ef045b.entry.js} +2 -2
  405. package/dist/verdocs-web-sdk/{p-d35e21c6.system.entry.js → p-85a01930.system.entry.js} +2 -2
  406. package/dist/verdocs-web-sdk/{p-5ebe3f25.system.entry.js → p-8697ea44.system.entry.js} +2 -2
  407. package/dist/verdocs-web-sdk/{p-b0d4f77c.system.entry.js → p-89675355.system.entry.js} +2 -2
  408. package/dist/verdocs-web-sdk/{p-f215d74d.system.entry.js → p-899a183a.system.entry.js} +2 -2
  409. package/dist/verdocs-web-sdk/{p-715b1538.entry.js → p-8ae75311.entry.js} +2 -2
  410. package/dist/verdocs-web-sdk/{p-fae894d6.system.entry.js → p-8daa82ec.system.entry.js} +2 -2
  411. package/dist/verdocs-web-sdk/{p-4040ff25.entry.js → p-8f615cf8.entry.js} +2 -2
  412. package/dist/verdocs-web-sdk/{p-36b211e9.system.entry.js → p-91455dc1.system.entry.js} +2 -2
  413. package/dist/verdocs-web-sdk/p-94805e3a.system.entry.js +2 -0
  414. package/dist/verdocs-web-sdk/{p-221da740.system.entry.js.map → p-94805e3a.system.entry.js.map} +1 -1
  415. package/dist/verdocs-web-sdk/{p-83369b59.entry.js → p-95098523.entry.js} +2 -2
  416. package/dist/verdocs-web-sdk/{p-26ae8fde.entry.js → p-9a614582.entry.js} +2 -2
  417. package/dist/verdocs-web-sdk/{p-CA3Q23Zl.system.js.map → p-B6BNgFvR.system.js.map} +1 -1
  418. package/dist/verdocs-web-sdk/{p-B6Yr6dLH.system.js.map → p-BAjoE0hn.system.js.map} +1 -1
  419. package/dist/verdocs-web-sdk/{p-DQiE2MRY.system.js.map → p-BDfCyBqE.system.js.map} +1 -1
  420. package/dist/verdocs-web-sdk/{p-DVZN96Di.system.js.map → p-BFiBadxx.system.js.map} +1 -1
  421. package/dist/verdocs-web-sdk/{p-MmYXXkuN.system.js.map → p-BLUIpLYQ.system.js.map} +1 -1
  422. package/dist/verdocs-web-sdk/{p-BteDuaoR.system.js.map → p-BR93bjYo.system.js.map} +1 -1
  423. package/dist/verdocs-web-sdk/p-BSxnvcXp.system.js +2 -0
  424. package/dist/verdocs-web-sdk/{p-B2ZTJRF1.system.js.map → p-BSxnvcXp.system.js.map} +1 -1
  425. package/dist/verdocs-web-sdk/{p-Xl_gS7bj.system.js.map → p-BTH3kXDy.system.js.map} +1 -1
  426. package/dist/verdocs-web-sdk/{p-BwAcNrO8.system.js.map → p-Bf1JxkHa.system.js.map} +1 -1
  427. package/dist/verdocs-web-sdk/{p-DjDnOHB1.system.js.map → p-Bfjmk6kM.system.js.map} +1 -1
  428. package/dist/verdocs-web-sdk/{p-CsthwGbE.system.js.map → p-C-KROPlf.system.js.map} +1 -1
  429. package/dist/verdocs-web-sdk/{p-CJpYF1nP.system.js.map → p-C-Q0RpYH.system.js.map} +1 -1
  430. package/dist/verdocs-web-sdk/{p-DoFYKh5S.system.js.map → p-CJgSdGDZ.system.js.map} +1 -1
  431. package/dist/verdocs-web-sdk/{p-BP6QzunY.system.js.map → p-Cdv-0jBY.system.js.map} +1 -1
  432. package/dist/verdocs-web-sdk/{p-PBXTJV8X.system.js.map → p-CgYIryaO.system.js.map} +1 -1
  433. package/dist/verdocs-web-sdk/{p-BVgRWHdx.system.js.map → p-CoMELZur.system.js.map} +1 -1
  434. package/dist/verdocs-web-sdk/{p-BpVWw6cq.system.js.map → p-CqY4YwuC.system.js.map} +1 -1
  435. package/dist/verdocs-web-sdk/p-Cs7NUoKG.system.js.map +1 -0
  436. package/dist/verdocs-web-sdk/{p-DFLw61Sh.system.js.map → p-CuZVPC43.system.js.map} +1 -1
  437. package/dist/verdocs-web-sdk/{p-CdL4THIS.system.js.map → p-Cw8YN0pQ.system.js.map} +1 -1
  438. package/dist/verdocs-web-sdk/{p-TeE_49wp.system.js.map → p-D-jNdMbp.system.js.map} +1 -1
  439. package/dist/verdocs-web-sdk/{p-4OWnEogw.system.js.map → p-D2J4BqZ5.system.js.map} +1 -1
  440. package/dist/verdocs-web-sdk/{p-D8jwiOjp.system.js.map → p-D5jBjbqb.system.js.map} +1 -1
  441. package/dist/verdocs-web-sdk/{p-6RyuOyOJ.system.js.map → p-D6lkIXxV.system.js.map} +1 -1
  442. package/dist/verdocs-web-sdk/{p-CEj4NLjk.system.js.map → p-DC4mn44e.system.js.map} +1 -1
  443. package/dist/verdocs-web-sdk/{p-DAtE-bHb.system.js.map → p-DIFMCsR8.system.js.map} +1 -1
  444. package/dist/verdocs-web-sdk/{p-C3FrKBlJ.system.js.map → p-DN26hbJo.system.js.map} +1 -1
  445. package/dist/verdocs-web-sdk/{p-C05sDUVN.js → p-DjAHH4ih.js} +3 -3
  446. package/dist/verdocs-web-sdk/{p-C05sDUVN.js.map → p-DjAHH4ih.js.map} +1 -1
  447. package/dist/verdocs-web-sdk/{p-CJgSjfS3.system.js.map → p-DjReAtE4.system.js.map} +1 -1
  448. package/dist/verdocs-web-sdk/{p-BwvJ8lkq.system.js.map → p-DmidtinD.system.js.map} +1 -1
  449. package/dist/verdocs-web-sdk/{p-Dcfn37ar.system.js.map → p-DnpXTA0c.system.js.map} +1 -1
  450. package/dist/verdocs-web-sdk/{p-C8Gi1rag.system.js.map → p-DpcvJtUM.system.js.map} +1 -1
  451. package/dist/verdocs-web-sdk/{p-BZ9rCFg-.system.js.map → p-DqN8pWd6.system.js.map} +1 -1
  452. package/dist/verdocs-web-sdk/{p-CxfpQzDf.system.js.map → p-DrJsQShN.system.js.map} +1 -1
  453. package/dist/verdocs-web-sdk/{p-gMXuliDq.system.js → p-IELtlxxf.system.js} +3 -3
  454. package/dist/verdocs-web-sdk/{p-gMXuliDq.system.js.map → p-IELtlxxf.system.js.map} +1 -1
  455. package/dist/verdocs-web-sdk/p-L9recsMg.system.js.map +1 -0
  456. package/dist/verdocs-web-sdk/{p-CaqnocS5.system.js.map → p-WL8pZ5_5.system.js.map} +1 -1
  457. package/dist/verdocs-web-sdk/{p-DRLUgxAz.system.js.map → p-YdG8FzTN.system.js.map} +1 -1
  458. package/dist/verdocs-web-sdk/p-a4b4356a.entry.js +2 -0
  459. package/dist/verdocs-web-sdk/p-a4b4356a.entry.js.map +1 -0
  460. package/dist/verdocs-web-sdk/p-a5c1783e.system.entry.js +2 -0
  461. package/dist/verdocs-web-sdk/p-a5c1783e.system.entry.js.map +1 -0
  462. package/dist/verdocs-web-sdk/{p-06599b17.entry.js → p-a7b796c9.entry.js} +2 -2
  463. package/dist/verdocs-web-sdk/{p-60579b96.entry.js → p-a8ccb0e1.entry.js} +2 -2
  464. package/dist/verdocs-web-sdk/p-b0e8639b.system.entry.js +2 -0
  465. package/dist/verdocs-web-sdk/{p-9c719a1e.system.entry.js.map → p-b0e8639b.system.entry.js.map} +1 -1
  466. package/dist/verdocs-web-sdk/{p-dca0ee01.system.entry.js → p-b2598797.system.entry.js} +2 -2
  467. package/dist/verdocs-web-sdk/p-b2d5d57c.system.entry.js +2 -0
  468. package/dist/verdocs-web-sdk/{p-098a275a.system.entry.js.map → p-b2d5d57c.system.entry.js.map} +1 -1
  469. package/dist/verdocs-web-sdk/{p-4fc7fb57.entry.js → p-b81c87a9.entry.js} +2 -2
  470. package/dist/verdocs-web-sdk/p-b954399f.system.entry.js +2 -0
  471. package/dist/verdocs-web-sdk/{p-66a34894.system.entry.js.map → p-b954399f.system.entry.js.map} +1 -1
  472. package/dist/verdocs-web-sdk/{p-af444549.system.entry.js → p-ba37926e.system.entry.js} +2 -2
  473. package/dist/verdocs-web-sdk/p-bcad2169.system.entry.js +2 -0
  474. package/dist/verdocs-web-sdk/{p-2642cf9a.system.entry.js.map → p-bcad2169.system.entry.js.map} +1 -1
  475. package/dist/verdocs-web-sdk/p-bd7e0e8f.system.entry.js +8 -0
  476. package/dist/verdocs-web-sdk/p-bd7e0e8f.system.entry.js.map +1 -0
  477. package/dist/verdocs-web-sdk/{p-29b12c84.entry.js → p-c137b66c.entry.js} +2 -2
  478. package/dist/verdocs-web-sdk/{p-0eab8901.entry.js → p-c636caf4.entry.js} +2 -2
  479. package/dist/verdocs-web-sdk/{p-8dfd4098.entry.js → p-d0cdb769.entry.js} +2 -2
  480. package/dist/verdocs-web-sdk/{p-977e8a55.entry.js → p-d68d286d.entry.js} +2 -2
  481. package/dist/verdocs-web-sdk/{p-6c0c5157.entry.js → p-d995bf66.entry.js} +2 -2
  482. package/dist/verdocs-web-sdk/{p-bcff9d82.entry.js → p-da01f5fd.entry.js} +3 -3
  483. package/dist/verdocs-web-sdk/p-da01f5fd.entry.js.map +1 -0
  484. package/dist/verdocs-web-sdk/{p-f35d0bb1.system.entry.js → p-dc64588a.system.entry.js} +2 -2
  485. package/dist/verdocs-web-sdk/p-df9a63c8.system.entry.js +2 -0
  486. package/dist/verdocs-web-sdk/{p-c53bba5b.system.entry.js.map → p-df9a63c8.system.entry.js.map} +1 -1
  487. package/dist/verdocs-web-sdk/{p-ef605deb.entry.js → p-e1010b5e.entry.js} +2 -2
  488. package/dist/verdocs-web-sdk/{p-44e75231.entry.js → p-e251a7f7.entry.js} +2 -2
  489. package/dist/verdocs-web-sdk/{p-1563ebea.entry.js → p-e612587a.entry.js} +2 -2
  490. package/dist/verdocs-web-sdk/p-e6c86704.system.entry.js +2 -0
  491. package/dist/verdocs-web-sdk/{p-31edd0f7.system.entry.js.map → p-e6c86704.system.entry.js.map} +1 -1
  492. package/dist/verdocs-web-sdk/{p-2d879f01.entry.js → p-e9be55a9.entry.js} +2 -2
  493. package/dist/verdocs-web-sdk/p-f706a680.system.entry.js +2 -0
  494. package/dist/verdocs-web-sdk/{p-0e597594.system.entry.js.map → p-f706a680.system.entry.js.map} +1 -1
  495. package/dist/verdocs-web-sdk/{p-ecebcb2e.entry.js → p-fbb5d382.entry.js} +2 -2
  496. package/dist/verdocs-web-sdk/{p-BjwKhRfU.system.js.map → p-jGm3fIdS.system.js.map} +1 -1
  497. package/dist/verdocs-web-sdk/{p-eTl5b3_e.system.js.map → p-mV1PT3tZ.system.js.map} +1 -1
  498. package/dist/verdocs-web-sdk/{p-DyL8qWVe.system.js.map → p-pcmVRVX-.system.js.map} +1 -1
  499. package/dist/verdocs-web-sdk/{p-B5c8-tK6.system.js.map → p-qmFLckgf.system.js.map} +1 -1
  500. package/dist/verdocs-web-sdk/{p-X4iTgaqa.system.js.map → p-tlNLqVnV.system.js.map} +1 -1
  501. package/dist/verdocs-web-sdk/verdocs-auth.entry.esm.js.map +1 -1
  502. package/dist/verdocs-web-sdk/verdocs-contact-picker.entry.esm.js.map +1 -1
  503. package/dist/verdocs-web-sdk/verdocs-preview.verdocs-send.verdocs-template-attachments.verdocs-template-build-tabs.verdocs-template-fields.verdocs-template-roles.verdocs-template-settings.entry.esm.js.map +1 -1
  504. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  505. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
  506. package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
  507. package/package.json +5 -5
  508. package/dist/components/p-C2HCH6g7.js.map +0 -1
  509. package/dist/components/p-Clw7inRP.js.map +0 -1
  510. package/dist/components/p-DqU6EOrq.js.map +0 -1
  511. package/dist/esm-es5/index-C05sDUVN.js +0 -2
  512. package/dist/verdocs-web-sdk/p-098a275a.system.entry.js +0 -2
  513. package/dist/verdocs-web-sdk/p-0e597594.system.entry.js +0 -2
  514. package/dist/verdocs-web-sdk/p-221da740.system.entry.js +0 -2
  515. package/dist/verdocs-web-sdk/p-2642cf9a.system.entry.js +0 -2
  516. package/dist/verdocs-web-sdk/p-31edd0f7.system.entry.js +0 -2
  517. package/dist/verdocs-web-sdk/p-33ab44b7.system.entry.js +0 -2
  518. package/dist/verdocs-web-sdk/p-4ce49ea8.system.entry.js +0 -2
  519. package/dist/verdocs-web-sdk/p-4fe366ed.system.entry.js +0 -2
  520. package/dist/verdocs-web-sdk/p-61310d21.system.entry.js +0 -2
  521. package/dist/verdocs-web-sdk/p-66a34894.system.entry.js +0 -2
  522. package/dist/verdocs-web-sdk/p-74bbd74a.system.entry.js +0 -2
  523. package/dist/verdocs-web-sdk/p-87b0aa15.entry.js +0 -2
  524. package/dist/verdocs-web-sdk/p-87b0aa15.entry.js.map +0 -1
  525. package/dist/verdocs-web-sdk/p-8d456c32.system.entry.js +0 -2
  526. package/dist/verdocs-web-sdk/p-8f6075ec.system.entry.js +0 -2
  527. package/dist/verdocs-web-sdk/p-929c6dcb.system.entry.js +0 -4
  528. package/dist/verdocs-web-sdk/p-929c6dcb.system.entry.js.map +0 -1
  529. package/dist/verdocs-web-sdk/p-9c719a1e.system.entry.js +0 -2
  530. package/dist/verdocs-web-sdk/p-B2ZTJRF1.system.js +0 -2
  531. package/dist/verdocs-web-sdk/p-BDT8VDnV.system.js.map +0 -1
  532. package/dist/verdocs-web-sdk/p-BVYtr8jX.system.js.map +0 -1
  533. package/dist/verdocs-web-sdk/p-Di6KD3hm.system.js.map +0 -1
  534. package/dist/verdocs-web-sdk/p-ab3fcfa6.system.entry.js +0 -8
  535. package/dist/verdocs-web-sdk/p-ab3fcfa6.system.entry.js.map +0 -1
  536. package/dist/verdocs-web-sdk/p-b5df6697.system.entry.js +0 -2
  537. package/dist/verdocs-web-sdk/p-bcff9d82.entry.js.map +0 -1
  538. package/dist/verdocs-web-sdk/p-c53bba5b.system.entry.js +0 -2
  539. package/dist/verdocs-web-sdk/p-c70f32bc.system.entry.js +0 -2
  540. package/dist/verdocs-web-sdk/p-d65600c4.entry.js +0 -3
  541. package/dist/verdocs-web-sdk/p-d65600c4.entry.js.map +0 -1
  542. package/dist/verdocs-web-sdk/p-dbd65627.system.entry.js +0 -2
  543. package/dist/verdocs-web-sdk/p-f6016dfb.system.entry.js +0 -2
  544. package/dist/verdocs-web-sdk/p-f6016dfb.system.entry.js.map +0 -1
  545. package/dist/verdocs-web-sdk/p-f6b28e39.system.entry.js +0 -2
  546. /package/dist/verdocs-web-sdk/{p-2a1b80df.system.entry.js.map → p-03a6ee37.system.entry.js.map} +0 -0
  547. /package/dist/verdocs-web-sdk/{p-1ff272f6.entry.js.map → p-095f01ea.entry.js.map} +0 -0
  548. /package/dist/verdocs-web-sdk/{p-cf8ee113.entry.js.map → p-0c895013.entry.js.map} +0 -0
  549. /package/dist/verdocs-web-sdk/{p-2d25b13c.system.entry.js.map → p-0d3060d5.system.entry.js.map} +0 -0
  550. /package/dist/verdocs-web-sdk/{p-b2df2093.entry.js.map → p-10496565.entry.js.map} +0 -0
  551. /package/dist/verdocs-web-sdk/{p-eac95c01.entry.js.map → p-198505d1.entry.js.map} +0 -0
  552. /package/dist/verdocs-web-sdk/{p-1db62ef8.entry.js.map → p-1b86055f.entry.js.map} +0 -0
  553. /package/dist/verdocs-web-sdk/{p-5889c99f.entry.js.map → p-1bc8a67b.entry.js.map} +0 -0
  554. /package/dist/verdocs-web-sdk/{p-9cbdf984.system.entry.js.map → p-2083a0b5.system.entry.js.map} +0 -0
  555. /package/dist/verdocs-web-sdk/{p-9a109fed.entry.js.map → p-22d7fd99.entry.js.map} +0 -0
  556. /package/dist/verdocs-web-sdk/{p-968a5c6c.entry.js.map → p-262e6ed3.entry.js.map} +0 -0
  557. /package/dist/verdocs-web-sdk/{p-b0356b14.entry.js.map → p-2ab55e7e.entry.js.map} +0 -0
  558. /package/dist/verdocs-web-sdk/{p-76f93877.entry.js.map → p-331b0a01.entry.js.map} +0 -0
  559. /package/dist/verdocs-web-sdk/{p-b0d3e996.entry.js.map → p-408204b5.entry.js.map} +0 -0
  560. /package/dist/verdocs-web-sdk/{p-c9f807d7.system.entry.js.map → p-424acea6.system.entry.js.map} +0 -0
  561. /package/dist/verdocs-web-sdk/{p-5f01fbeb.system.entry.js.map → p-4251e17b.system.entry.js.map} +0 -0
  562. /package/dist/verdocs-web-sdk/{p-771f2a9e.entry.js.map → p-56cd489c.entry.js.map} +0 -0
  563. /package/dist/verdocs-web-sdk/{p-c4ec6886.entry.js.map → p-68dc5809.entry.js.map} +0 -0
  564. /package/dist/verdocs-web-sdk/{p-a5d53c9f.system.entry.js.map → p-6ec49614.system.entry.js.map} +0 -0
  565. /package/dist/verdocs-web-sdk/{p-8e4385c9.entry.js.map → p-7032e5ee.entry.js.map} +0 -0
  566. /package/dist/verdocs-web-sdk/{p-759f13e2.entry.js.map → p-74f1369b.entry.js.map} +0 -0
  567. /package/dist/verdocs-web-sdk/{p-5b7212dc.entry.js.map → p-74f5a0bd.entry.js.map} +0 -0
  568. /package/dist/verdocs-web-sdk/{p-c3c6b0eb.system.entry.js.map → p-7787a0e4.system.entry.js.map} +0 -0
  569. /package/dist/verdocs-web-sdk/{p-91c0bdf3.entry.js.map → p-778aa621.entry.js.map} +0 -0
  570. /package/dist/verdocs-web-sdk/{p-381bb0d2.system.entry.js.map → p-77a495cb.system.entry.js.map} +0 -0
  571. /package/dist/verdocs-web-sdk/{p-1584775b.system.entry.js.map → p-79a57db4.system.entry.js.map} +0 -0
  572. /package/dist/verdocs-web-sdk/{p-879c16ae.entry.js.map → p-7c552800.entry.js.map} +0 -0
  573. /package/dist/verdocs-web-sdk/{p-0d45a7bb.entry.js.map → p-83057e79.entry.js.map} +0 -0
  574. /package/dist/verdocs-web-sdk/{p-c7a18c50.entry.js.map → p-84ef045b.entry.js.map} +0 -0
  575. /package/dist/verdocs-web-sdk/{p-d35e21c6.system.entry.js.map → p-85a01930.system.entry.js.map} +0 -0
  576. /package/dist/verdocs-web-sdk/{p-5ebe3f25.system.entry.js.map → p-8697ea44.system.entry.js.map} +0 -0
  577. /package/dist/verdocs-web-sdk/{p-b0d4f77c.system.entry.js.map → p-89675355.system.entry.js.map} +0 -0
  578. /package/dist/verdocs-web-sdk/{p-f215d74d.system.entry.js.map → p-899a183a.system.entry.js.map} +0 -0
  579. /package/dist/verdocs-web-sdk/{p-715b1538.entry.js.map → p-8ae75311.entry.js.map} +0 -0
  580. /package/dist/verdocs-web-sdk/{p-fae894d6.system.entry.js.map → p-8daa82ec.system.entry.js.map} +0 -0
  581. /package/dist/verdocs-web-sdk/{p-4040ff25.entry.js.map → p-8f615cf8.entry.js.map} +0 -0
  582. /package/dist/verdocs-web-sdk/{p-36b211e9.system.entry.js.map → p-91455dc1.system.entry.js.map} +0 -0
  583. /package/dist/verdocs-web-sdk/{p-83369b59.entry.js.map → p-95098523.entry.js.map} +0 -0
  584. /package/dist/verdocs-web-sdk/{p-26ae8fde.entry.js.map → p-9a614582.entry.js.map} +0 -0
  585. /package/dist/verdocs-web-sdk/{p-06599b17.entry.js.map → p-a7b796c9.entry.js.map} +0 -0
  586. /package/dist/verdocs-web-sdk/{p-60579b96.entry.js.map → p-a8ccb0e1.entry.js.map} +0 -0
  587. /package/dist/verdocs-web-sdk/{p-dca0ee01.system.entry.js.map → p-b2598797.system.entry.js.map} +0 -0
  588. /package/dist/verdocs-web-sdk/{p-4fc7fb57.entry.js.map → p-b81c87a9.entry.js.map} +0 -0
  589. /package/dist/verdocs-web-sdk/{p-af444549.system.entry.js.map → p-ba37926e.system.entry.js.map} +0 -0
  590. /package/dist/verdocs-web-sdk/{p-29b12c84.entry.js.map → p-c137b66c.entry.js.map} +0 -0
  591. /package/dist/verdocs-web-sdk/{p-0eab8901.entry.js.map → p-c636caf4.entry.js.map} +0 -0
  592. /package/dist/verdocs-web-sdk/{p-8dfd4098.entry.js.map → p-d0cdb769.entry.js.map} +0 -0
  593. /package/dist/verdocs-web-sdk/{p-977e8a55.entry.js.map → p-d68d286d.entry.js.map} +0 -0
  594. /package/dist/verdocs-web-sdk/{p-6c0c5157.entry.js.map → p-d995bf66.entry.js.map} +0 -0
  595. /package/dist/verdocs-web-sdk/{p-f35d0bb1.system.entry.js.map → p-dc64588a.system.entry.js.map} +0 -0
  596. /package/dist/verdocs-web-sdk/{p-ef605deb.entry.js.map → p-e1010b5e.entry.js.map} +0 -0
  597. /package/dist/verdocs-web-sdk/{p-44e75231.entry.js.map → p-e251a7f7.entry.js.map} +0 -0
  598. /package/dist/verdocs-web-sdk/{p-1563ebea.entry.js.map → p-e612587a.entry.js.map} +0 -0
  599. /package/dist/verdocs-web-sdk/{p-2d879f01.entry.js.map → p-e9be55a9.entry.js.map} +0 -0
  600. /package/dist/verdocs-web-sdk/{p-ecebcb2e.entry.js.map → p-fbb5d382.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var o in r)if(Object.prototype.hasOwnProperty.call(r,o))e[o]=r[o]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function o(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,i){function a(e){try{l(n.next(e))}catch(e){i(e)}}function s(e){try{l(n["throw"](e))}catch(e){i(e)}}function l(e){e.done?t(e.value):o(e.value).then(a,s)}l((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,o,i,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(r){return l([e,r])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(t=0)),t)try{if(n=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:t.label++;return{value:s[1],done:false};case 5:t.label++;o=s[1];s=[0];continue;case 7:s=t.ops.pop();t.trys.pop();continue;default:if(!(i=t.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){t.label=s[1];break}if(s[0]===6&&t.label<i[1]){t.label=i[1];i=s;break}if(i&&t.label<i[2]){t.label=i[2];t.ops.push(s);break}if(i[2])t.ops.pop();t.trys.pop();continue}s=r.call(e,t)}catch(e){s=[6,e];o=0}finally{n=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,o=r.length,i;n<o;n++){if(i||!(n in r)){if(!i)i=Array.prototype.slice.call(r,0,n);i[n]=r[n]}}return e.concat(i||Array.prototype.slice.call(r))};var NAMESPACE="verdocs-web-sdk";var BUILD={hydratedSelectorName:"hydrated",lazyLoad:true,propChangeCallback:true,shadowDom:false,slotRelocation:true,updatable:true};var __defProp=Object.defineProperty;var __export=function(e,r){for(var t in r)__defProp(e,t,{get:r[t],enumerable:true})};var SVG_NS="http://www.w3.org/2000/svg";var HTML_NS="http://www.w3.org/1999/xhtml";var getHostRef=function(e){if(e.__stencil__getHostRef){return e.__stencil__getHostRef()}return void 0};var registerInstance=function(e,r){if(!r)return;e.__stencil__getHostRef=function(){return r};r.t=e};var registerHost=function(e,r){var t={o:0,$hostElement$:e,i:r,l:new Map,u:new Map};{t.v=new Promise((function(e){return t.p=e}))}{t.m=new Promise((function(e){return t.h=e}));e["s-p"]=[];e["s-rc"]=[]}{t.S=[]}var n=t;e.__stencil__getHostRef=function(){return n};return n};var isMemberInElement=function(e,r){return r in e};var consoleError=function(e,r){return(0,console.error)(e,r)};var cmpModules=new Map;var loadModule=function(e,r,t){var n=e._.replace(/-/g,"_");var o=e.C;if(!o){return void 0}var i=cmpModules.get(o);if(i){return i[n]}if(!t||!BUILD.hotModuleReplacement){var a=function(e){cmpModules.set(o,e);return e[n]};switch(o){case"verdocs-auth":return import("./verdocs-auth.entry.js").then(a,consoleError);case"verdocs-build":return import("./verdocs-build.entry.js").then(a,consoleError);case"verdocs-date-input":return import("./verdocs-date-input.entry.js").then(a,consoleError);case"verdocs-envelope-recipient-summary":return import("./verdocs-envelope-recipient-summary.entry.js").then(a,consoleError);case"verdocs-envelope-sidebar":return import("./verdocs-envelope-sidebar.entry.js").then(a,consoleError);case"verdocs-envelopes-list":return import("./verdocs-envelopes-list.entry.js").then(a,consoleError);case"verdocs-field-payment":return import("./verdocs-field-payment.entry.js").then(a,consoleError);case"verdocs-multiselect":return import("./verdocs-multiselect.entry.js").then(a,consoleError);case"verdocs-quick-functions":return import("./verdocs-quick-functions.entry.js").then(a,consoleError);case"verdocs-radio-button":return import("./verdocs-radio-button.entry.js").then(a,consoleError);case"verdocs-search-box":return import("./verdocs-search-box.entry.js").then(a,consoleError);case"verdocs-search-tabs":return import("./verdocs-search-tabs.entry.js").then(a,consoleError);case"verdocs-sign":return import("./verdocs-sign.entry.js").then(a,consoleError);case"verdocs-table":return import("./verdocs-table.entry.js").then(a,consoleError);case"verdocs-template-card":return import("./verdocs-template-card.entry.js").then(a,consoleError);case"verdocs-template-create":return import("./verdocs-template-create.entry.js").then(a,consoleError);case"verdocs-template-tags":return import("./verdocs-template-tags.entry.js").then(a,consoleError);case"verdocs-templates-list":return import("./verdocs-templates-list.entry.js").then(a,consoleError);case"verdocs-toggle":return import("./verdocs-toggle.entry.js").then(a,consoleError);case"verdocs-toggle-button":return import("./verdocs-toggle-button.entry.js").then(a,consoleError);case"verdocs-template-star":return import("./verdocs-template-star.entry.js").then(a,consoleError);case"verdocs-envelope-document-page":return import("./verdocs-envelope-document-page.entry.js").then(a,consoleError);case"verdocs-switch":return import("./verdocs-switch.entry.js").then(a,consoleError);case"verdocs-dropdown":return import("./verdocs-dropdown.entry.js").then(a,consoleError);case"verdocs-spinner":return import("./verdocs-spinner.entry.js").then(a,consoleError);case"verdocs-organization-card_2":return import("./verdocs-organization-card_2.entry.js").then(a,consoleError);case"verdocs-envelope-recipient-link_2":return import("./verdocs-envelope-recipient-link_2.entry.js").then(a,consoleError);case"verdocs-button-panel_2":return import("./verdocs-button-panel_2.entry.js").then(a,consoleError);case"verdocs-file-chooser_2":return import("./verdocs-file-chooser_2.entry.js").then(a,consoleError);case"verdocs-menu-panel_2":return import("./verdocs-menu-panel_2.entry.js").then(a,consoleError);case"verdocs-pagination_2":return import("./verdocs-pagination_2.entry.js").then(a,consoleError);case"verdocs-template-document-page_2":return import("./verdocs-template-document-page_2.entry.js").then(a,consoleError);case"verdocs-dialog_2":return import("./verdocs-dialog_2.entry.js").then(a,consoleError);case"verdocs-contact-picker":return import("./verdocs-contact-picker.entry.js").then(a,consoleError);case"verdocs-button_3":return import("./verdocs-button_3.entry.js").then(a,consoleError);case"verdocs-checkbox_5":return import("./verdocs-checkbox_5.entry.js").then(a,consoleError);case"verdocs-preview_7":return import("./verdocs-preview_7.entry.js").then(a,consoleError);case"verdocs-field-attachment_13":return import("./verdocs-field-attachment_13.entry.js").then(a,consoleError);case"verdocs-delegate-dialog_5":return import("./verdocs-delegate-dialog_5.entry.js").then(a,consoleError);case"verdocs-status-indicator":return import("./verdocs-status-indicator.entry.js").then(a,consoleError)}}return import("./".concat(o,".entry.js").concat("")).then((function(e){{cmpModules.set(o,e)}return e[n]}),(function(e){consoleError(e,r.$hostElement$)}))};var styles=new Map;var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var SLOT_FB_CSS="slot-fb{display:contents}slot-fb[hidden]{display:none}";var win=typeof window!=="undefined"?window:{};var plt={o:0,k:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,r,t,n){return e.addEventListener(r,t,n)},rel:function(e,r,t,n){return e.removeEventListener(r,t,n)},ce:function(e,r){return new CustomEvent(e,r)}};var supportsShadow=BUILD.shadowDom;var supportsListenerOptions=function(){var e;var r=false;try{(e=win.document)==null?void 0:e.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){r=true}}))}catch(e){}return r}();var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructableStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(e){}return false}();var supportsMutableAdoptedStyleSheets=supportsConstructableStylesheets?function(){return!!win.document&&Object.getOwnPropertyDescriptor(win.document.adoptedStyleSheets,"length").writable}():false;var queuePending=false;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,r){return function(t){e.push(t);if(!queuePending){queuePending=true;if(r&&plt.o&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var r=0;r<e.length;r++){try{e[r](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};function queryNonceMetaTagContent(e){var r,t,n;return(n=(t=(r=e.head)==null?void 0:r.querySelector('meta[name="csp-nonce"]'))==null?void 0:t.getAttribute("content"))!=null?n:void 0}var escapeRegExpSpecialCharacters=function(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")};var result_exports={};__export(result_exports,{err:function(){return err},map:function(){return map},ok:function(){return ok},unwrap:function(){return unwrap},unwrapErr:function(){return unwrapErr}});var ok=function(e){return{isOk:true,isErr:false,value:e}};var err=function(e){return{isOk:false,isErr:true,value:e}};function map(e,r){if(e.isOk){var t=r(e.value);if(t instanceof Promise){return t.then((function(e){return ok(e)}))}else{return ok(t)}}if(e.isErr){var n=e.value;return err(n)}throw"should never get here"}var unwrap=function(e){if(e.isOk){return e.value}else{throw e.value}};var unwrapErr=function(e){if(e.isErr){return e.value}else{throw e.value}};var updateFallbackSlotVisibility=function(e){var r=internalCall(e,"childNodes");if(e.tagName&&e.tagName.includes("-")&&e["s-cr"]&&e.tagName!=="SLOT-FB"){getHostSlotNodes(r,e.tagName).forEach((function(e){if(e.nodeType===1&&e.tagName==="SLOT-FB"){if(getSlotChildSiblings(e,getSlotName(e),false).length){e.hidden=true}else{e.hidden=false}}}))}var t=0;for(t=0;t<r.length;t++){var n=r[t];if(n.nodeType===1&&internalCall(n,"childNodes").length){updateFallbackSlotVisibility(n)}}};var getSlottedChildNodes=function(e){var r=[];for(var t=0;t<e.length;t++){var n=e[t]["s-nr"]||void 0;if(n&&n.isConnected){r.push(n)}}return r};function getHostSlotNodes(e,r,t){var n=0;var o=[];var i;for(;n<e.length;n++){i=e[n];if(i["s-sr"]&&(!r||i["s-hn"]===r)&&t===void 0){o.push(i)}o=__spreadArray(__spreadArray([],o,true),getHostSlotNodes(i.childNodes,r,t),true)}return o}var getSlotChildSiblings=function(e,r,t){if(t===void 0){t=true}var n=[];if(t&&e["s-sr"]||!e["s-sr"])n.push(e);var o=e;while(o=o.nextSibling){if(getSlotName(o)===r&&(t||!o["s-sr"]))n.push(o)}return n};var isNodeLocatedInSlot=function(e,r){if(e.nodeType===1){if(e.getAttribute("slot")===null&&r===""){return true}if(e.getAttribute("slot")===r){return true}return false}if(e["s-sn"]===r){return true}return r===""};var getSlotName=function(e){return typeof e["s-sn"]==="string"?e["s-sn"]:e.nodeType===1&&e.getAttribute("slot")||void 0};function patchSlotNode(e){if(e.assignedElements||e.assignedNodes||!e["s-sr"])return;var r=function(r){return function(e){var t=[];var n=this["s-sn"];if(e==null?void 0:e.flatten){console.error("\n Flattening is not supported for Stencil non-shadow slots.\n You can use `.childNodes` to nested slot fallback content.\n If you have a particular use case, please open an issue on the Stencil repo.\n ")}var o=this["s-cr"].parentElement;var i=o.__childNodes?o.childNodes:getSlottedChildNodes(o.childNodes);i.forEach((function(e){if(n===getSlotName(e)){t.push(e)}}));if(r){return t.filter((function(e){return e.nodeType===1}))}return t}.bind(e)};e.assignedElements=r(true);e.assignedNodes=r(false)}function internalCall(e,r){if("__"+r in e){var t=e["__"+r];if(typeof t!=="function")return t;return t.bind(e)}else{if(typeof e[r]!=="function")return e[r];return e[r].bind(e)}}var createTime=function(e,r){if(r===void 0){r=""}{return function(){return}}};var uniqueTime=function(e,r){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,r,t){var n=styles.get(e);if(supportsConstructableStylesheets&&t){n=n||new CSSStyleSheet;if(typeof n==="string"){n=r}else{n.replaceSync(r)}}else{n=r}styles.set(e,n)};var addStyle=function(e,r,t){var n;var o=getScopeId(r);var i=styles.get(o);if(!win.document){return o}e=e.nodeType===11?e:win.document;if(i){if(typeof i==="string"){e=e.head||e;var a=rootAppliedStyles.get(e);var s=void 0;if(!a){rootAppliedStyles.set(e,a=new Set)}if(!a.has(o)){{s=win.document.createElement("style");s.innerHTML=i;var l=(n=plt.N)!=null?n:queryNonceMetaTagContent(win.document);if(l!=null){s.setAttribute("nonce",l)}if(!(r.o&1)){if(e.nodeName==="HEAD"){var u=e.querySelectorAll("link[rel=preconnect]");var c=u.length>0?u[u.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,(c==null?void 0:c.parentNode)===e?c:null)}else if("host"in e){if(supportsConstructableStylesheets){var f=new CSSStyleSheet;f.replaceSync(i);if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.unshift(f)}else{e.adoptedStyleSheets=__spreadArray([f],e.adoptedStyleSheets,true)}}else{var v=e.querySelector("style");if(v){v.innerHTML=i+v.innerHTML}else{e.prepend(s)}}}else{e.append(s)}}if(r.o&1){e.insertBefore(s,null)}}if(r.o&4){s.innerHTML+=SLOT_FB_CSS}if(a){a.add(o)}}}else if(!e.adoptedStyleSheets.includes(i)){if(supportsMutableAdoptedStyleSheets){e.adoptedStyleSheets.push(i)}else{e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets,true),[i],false)}}}return o};var attachStyles=function(e){var r=e.i;var t=e.$hostElement$;var n=createTime("attachStyles",r._);addStyle(t.getRootNode(),r);n()};var getScopeId=function(e,r){return"sc-"+e._};var h=function(e,r){var t=[];for(var n=2;n<arguments.length;n++){t[n-2]=arguments[n]}var o=null;var i=null;var a=null;var s=false;var l=false;var u=[];var c=function(r){for(var t=0;t<r.length;t++){o=r[t];if(Array.isArray(o)){c(o)}else if(o!=null&&typeof o!=="boolean"){if(s=typeof e!=="function"&&!isComplexType(o)){o=String(o)}if(s&&l){u[u.length-1].j+=o}else{u.push(s?newVNode(null,o):o)}l=s}}};c(t);if(r){if(r.key){i=r.key}if(r.name){a=r.name}{var f=r.className||r.class;if(f){r.class=typeof f!=="object"?f:Object.keys(f).filter((function(e){return f[e]})).join(" ")}}}if(typeof e==="function"){return e(r===null?{}:r,u,vdomFnUtils)}var v=newVNode(e,null);v.T=r;if(u.length>0){v.R=u}{v.L=i}{v.A=a}return v};var newVNode=function(e,r){var t={o:0,V:e,j:r,M:null,R:null};{t.T=null}{t.L=null}{t.A=null}return t};var Host={};var isHost=function(e){return e&&e.V===Host};var vdomFnUtils={forEach:function(e,r){return e.map(convertToPublic).forEach(r)},map:function(e,r){return e.map(convertToPublic).map(r).map(convertToPrivate)}};var convertToPublic=function(e){return{vattrs:e.T,vchildren:e.R,vkey:e.L,vname:e.A,vtag:e.V,vtext:e.j}};var convertToPrivate=function(e){if(typeof e.vtag==="function"){var r=__assign({},e.vattrs);if(e.vkey){r.key=e.vkey}if(e.vname){r.name=e.vname}return h.apply(void 0,__spreadArray([e.vtag,r],e.vchildren||[],false))}var t=newVNode(e.vtag,e.vtext);t.T=e.vattrs;t.R=e.vchildren;t.L=e.vkey;t.A=e.vname;return t};var createSupportsRuleRe=function(e){var r=escapeRegExpSpecialCharacters(e);return new RegExp("(^|[^@]|@(?!supports\\s+selector\\s*\\([^{]*?".concat(r,"))(").concat(r,"\\b)"),"g")};createSupportsRuleRe("::slotted");createSupportsRuleRe(":host");createSupportsRuleRe(":host-context");var parsePropertyValue=function(e,r,t){if(e!=null&&!isComplexType(e)){if(r&4){{return e==="false"?false:e===""||!!e}}if(r&2){return typeof e==="string"?parseFloat(e):typeof e==="number"?e:NaN}if(r&1){return String(e)}return e}return e};var getElement=function(e){var r;return(r=getHostRef(e))==null?void 0:r.$hostElement$};var createEvent=function(e,r,t){var n=getElement(e);return{emit:function(e){return emitEvent(n,r,{bubbles:true,composed:true,cancelable:true,detail:e})}}};var emitEvent=function(e,r,t){var n=plt.ce(r,t);e.dispatchEvent(n);return n};var setAccessor=function(e,r,t,n,o,i,a){if(t===n){return}var s=isMemberInElement(e,r);var l=r.toLowerCase();if(r==="class"){var u=e.classList;var c=parseClassList(t);var f=parseClassList(n);{u.remove.apply(u,c.filter((function(e){return e&&!f.includes(e)})));u.add.apply(u,f.filter((function(e){return e&&!c.includes(e)})))}}else if(r==="style"){{for(var v in t){if(!n||n[v]==null){if(v.includes("-")){e.style.removeProperty(v)}else{e.style[v]=""}}}}for(var v in n){if(!t||n[v]!==t[v]){if(v.includes("-")){e.style.setProperty(v,n[v])}else{e.style[v]=n[v]}}}}else if(r==="key");else if(r==="ref"){if(n){n(e)}}else if(!s&&r[0]==="o"&&r[1]==="n"){if(r[2]==="-"){r=r.slice(3)}else if(isMemberInElement(win,l)){r=l.slice(2)}else{r=l[2]+r.slice(3)}if(t||n){var d=r.endsWith(CAPTURE_EVENT_SUFFIX);r=r.replace(CAPTURE_EVENT_REGEX,"");if(t){plt.rel(e,r,t,d)}if(n){plt.ael(e,r,n,d)}}}else{var p=isComplexType(n);if((s||p&&n!==null)&&!o){try{if(!e.tagName.includes("-")){var m=n==null?"":n;if(r==="list"){s=false}else if(t==null||e[r]!=m){if(typeof e.__lookupSetter__(r)==="function"){e[r]=m}else{e.setAttribute(r,m)}}}else if(e[r]!==n){e[r]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(r)===""){{e.removeAttribute(r)}}}else if((!s||i&4||o)&&!p&&e.nodeType===1){n=n===true?"":n;{e.setAttribute(r,n)}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){if(typeof e==="object"&&e&&"baseVal"in e){e=e.baseVal}if(!e||typeof e!=="string"){return[]}return e.split(parseClassListRegex)};var CAPTURE_EVENT_SUFFIX="Capture";var CAPTURE_EVENT_REGEX=new RegExp(CAPTURE_EVENT_SUFFIX+"$");var updateElement=function(e,r,t,n){var o=r.M.nodeType===11&&r.M.host?r.M.host:r.M;var i=e&&e.T||{};var a=r.T||{};{for(var s=0,l=sortedAttrNames(Object.keys(i));s<l.length;s++){var u=l[s];if(!(u in a)){setAccessor(o,u,i[u],void 0,t,r.o)}}}for(var c=0,f=sortedAttrNames(Object.keys(a));c<f.length;c++){var u=f[c];setAccessor(o,u,i[u],a[u],t,r.o)}};function sortedAttrNames(e){return e.includes("ref")?__spreadArray(__spreadArray([],e.filter((function(e){return e!=="ref"})),true),["ref"],false):e}var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var createElm=function(e,r,t){var n;var o=r.R[t];var i=0;var a;var s;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(o.V==="slot"){o.o|=o.R?2:1}}if(o.j!==null){a=o.M=win.document.createTextNode(o.j)}else if(o.o&1){a=o.M=win.document.createTextNode("");{updateElement(null,o,isSvgMode)}}else{if(!isSvgMode){isSvgMode=o.V==="svg"}if(!win.document){throw new Error("You are trying to render a Stencil component in an environment that doesn't support the DOM. Make sure to populate the [`window`](https://developer.mozilla.org/en-US/docs/Web/API/Window/window) object before rendering a component.")}a=o.M=win.document.createElementNS(isSvgMode?SVG_NS:HTML_NS,!useNativeShadowDom&&BUILD.slotRelocation&&o.o&2?"slot-fb":o.V);if(isSvgMode&&o.V==="foreignObject"){isSvgMode=false}{updateElement(null,o,isSvgMode)}if(o.R){for(i=0;i<o.R.length;++i){s=createElm(e,o,i);if(s){a.appendChild(s)}}}{if(o.V==="svg"){isSvgMode=false}else if(a.tagName==="foreignObject"){isSvgMode=true}}}a["s-hn"]=hostTagName;{if(o.o&(2|1)){a["s-sr"]=true;a["s-cr"]=contentRef;a["s-sn"]=o.A||"";a["s-rf"]=(n=o.T)==null?void 0:n.ref;patchSlotNode(a);l=e&&e.R&&e.R[t];if(l&&l.V===o.V&&e.M){{putBackInOriginalLocation(e.M,false)}}}}return a};var putBackInOriginalLocation=function(e,r){plt.o|=1;var t=Array.from(e.__childNodes||e.childNodes);for(var n=t.length-1;n>=0;n--){var o=t[n];if(o["s-hn"]!==hostTagName&&o["s-ol"]){insertBefore(referenceNode(o).parentNode,o,referenceNode(o));o["s-ol"].remove();o["s-ol"]=void 0;o["s-sh"]=void 0;checkSlotRelocate=true}if(r){putBackInOriginalLocation(o,r)}}plt.o&=-2};var addVnodes=function(e,r,t,n,o,i){var a=e["s-cr"]&&e["s-cr"].parentNode||e;var s;for(;o<=i;++o){if(n[o]){s=createElm(null,t,o);if(s){n[o].M=s;insertBefore(a,s,referenceNode(r))}}}};var removeVnodes=function(e,r,t){for(var n=r;n<=t;++n){var o=e[n];if(o){var i=o.M;nullifyVNodeRefs(o);if(i){{checkSlotFallbackVisibility=true;if(i["s-ol"]){i["s-ol"].remove()}else{putBackInOriginalLocation(i,true)}}i.remove()}}}};var updateChildren=function(e,r,t,n,o){if(o===void 0){o=false}var i=0;var a=0;var s=0;var l=0;var u=r.length-1;var c=r[0];var f=r[u];var v=n.length-1;var d=n[0];var p=n[v];var m;var h;while(i<=u&&a<=v){if(c==null){c=r[++i]}else if(f==null){f=r[--u]}else if(d==null){d=n[++a]}else if(p==null){p=n[--v]}else if(isSameVnode(c,d,o)){patch(c,d,o);c=r[++i];d=n[++a]}else if(isSameVnode(f,p,o)){patch(f,p,o);f=r[--u];p=n[--v]}else if(isSameVnode(c,p,o)){if(c.V==="slot"||p.V==="slot"){putBackInOriginalLocation(c.M.parentNode,false)}patch(c,p,o);insertBefore(e,c.M,f.M.nextSibling);c=r[++i];p=n[--v]}else if(isSameVnode(f,d,o)){if(c.V==="slot"||p.V==="slot"){putBackInOriginalLocation(f.M.parentNode,false)}patch(f,d,o);insertBefore(e,f.M,c.M);f=r[--u];d=n[++a]}else{s=-1;{for(l=i;l<=u;++l){if(r[l]&&r[l].L!==null&&r[l].L===d.L){s=l;break}}}if(s>=0){h=r[s];if(h.V!==d.V){m=createElm(r&&r[a],t,s)}else{patch(h,d,o);r[s]=void 0;m=h.M}d=n[++a]}else{m=createElm(r&&r[a],t,a);d=n[++a]}if(m){{insertBefore(referenceNode(c.M).parentNode,m,referenceNode(c.M))}}}}if(i>u){addVnodes(e,n[v+1]==null?null:n[v+1].M,t,n,a,v)}else if(a>v){removeVnodes(r,i,u)}};var isSameVnode=function(e,r,t){if(t===void 0){t=false}if(e.V===r.V){if(e.V==="slot"){return e.A===r.A}if(!t){return e.L===r.L}if(t&&!e.L&&r.L){e.L=r.L}return true}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var patch=function(e,r,t){if(t===void 0){t=false}var n=r.M=e.M;var o=e.R;var i=r.R;var a=r.V;var s=r.j;var l;if(s===null){{isSvgMode=a==="svg"?true:a==="foreignObject"?false:isSvgMode}{updateElement(e,r,isSvgMode)}if(o!==null&&i!==null){updateChildren(n,o,r,i,t)}else if(i!==null){if(e.j!==null){n.textContent=""}addVnodes(n,null,r,i,0,i.length-1)}else if(!t&&BUILD.updatable&&o!==null){removeVnodes(o,0,o.length-1)}else;if(isSvgMode&&a==="svg"){isSvgMode=false}}else if(l=n["s-cr"]){l.parentNode.textContent=s}else if(e.j!==s){n.data=s}};var relocateNodes=[];var markSlotContentForRelocation=function(e){var r;var t;var n;var o=e.__childNodes||e.childNodes;for(var i=0,a=o;i<a.length;i++){var s=a[i];if(s["s-sr"]&&(r=s["s-cr"])&&r.parentNode){t=r.parentNode.__childNodes||r.parentNode.childNodes;var l=s["s-sn"];var u=function(){r=t[n];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==s["s-hn"]&&true){if(isNodeLocatedInSlot(r,l)){var e=relocateNodes.find((function(e){return e.O===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||l;if(e){e.O["s-sh"]=s["s-hn"];e.$=s}else{r["s-sh"]=s["s-hn"];relocateNodes.push({$:s,O:r})}if(r["s-sr"]){relocateNodes.map((function(t){if(isNodeLocatedInSlot(t.O,r["s-sn"])){e=relocateNodes.find((function(e){return e.O===r}));if(e&&!t.$){t.$=e.$}}}))}}else if(!relocateNodes.some((function(e){return e.O===r}))){relocateNodes.push({O:r})}}};for(n=t.length-1;n>=0;n--){u()}}if(s.nodeType===1){markSlotContentForRelocation(s)}}};var nullifyVNodeRefs=function(e){{e.T&&e.T.ref&&e.T.ref(null);e.R&&e.R.map(nullifyVNodeRefs)}};var insertBefore=function(e,r,t){{return e==null?void 0:e.insertBefore(r,t)}};var renderVdom=function(e,r,t){if(t===void 0){t=false}var n,o,i,a;var s=e.$hostElement$;var l=e.i;var u=e.H||newVNode(null,null);var c=isHost(r);var f=c?r:h(null,null,r);hostTagName=s.tagName;if(l.P){f.T=f.T||{};l.P.forEach((function(e){var r=e[0],t=e[1];{f.T[t]=s[r]}}))}if(t&&f.T){for(var v=0,d=Object.keys(f.T);v<d.length;v++){var p=d[v];if(s.hasAttribute(p)&&!["key","ref","style","class"].includes(p)){f.T[p]=s[p]}}}f.V=null;f.o|=4;e.H=f;f.M=u.M=s;useNativeShadowDom=supportsShadow;{contentRef=s["s-cr"];checkSlotFallbackVisibility=false}patch(u,f,t);{plt.o|=1;if(checkSlotRelocate){markSlotContentForRelocation(f.M);for(var m=0,y=relocateNodes;m<y.length;m++){var g=y[m];var S=g.O;if(!S["s-ol"]&&win.document){var b=win.document.createTextNode("");b["s-nr"]=S;insertBefore(S.parentNode,S["s-ol"]=b,S)}}for(var w=0,E=relocateNodes;w<E.length;w++){var g=E[w];var S=g.O;var _=g.$;if(_){var C=_.parentNode;var k=_.nextSibling;{var b=(n=S["s-ol"])==null?void 0:n.previousSibling;while(b){var N=(o=b["s-nr"])!=null?o:null;if(N&&N["s-sn"]===S["s-sn"]&&C===(N.__parentNode||N.parentNode)){N=N.nextSibling;while(N===S||(N==null?void 0:N["s-sr"])){N=N==null?void 0:N.nextSibling}if(!N||!N["s-nr"]){k=N;break}}b=b.previousSibling}}var j=S.__parentNode||S.parentNode;var T=S.__nextSibling||S.nextSibling;if(!k&&C!==j||T!==k){if(S!==k){if(!S["s-hn"]&&S["s-ol"]){S["s-hn"]=S["s-ol"].parentNode.nodeName}insertBefore(C,S,k);if(S.nodeType===1&&S.tagName!=="SLOT-FB"){S.hidden=(i=S["s-ih"])!=null?i:false}}}S&&typeof _["s-rf"]==="function"&&_["s-rf"](_)}else{if(S.nodeType===1){if(t){S["s-ih"]=(a=S.hidden)!=null?a:false}S.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(f.M)}plt.o&=-2;relocateNodes.length=0}contentRef=void 0};var attachToAncestor=function(e,r){if(r&&!e.F&&r["s-p"]){var t=r["s-p"].push(new Promise((function(n){return e.F=function(){r["s-p"].splice(t-1,1);n()}})))}};var scheduleUpdate=function(e,r){{e.o|=16}if(e.o&4){e.o|=512;return}attachToAncestor(e,e.I);var t=function(){return dispatchHooks(e,r)};if(r){queueMicrotask((function(){t()}));return}return writeTask(t)};var dispatchHooks=function(e,r){var t=e.$hostElement$;var n=createTime("scheduleUpdate",e.i._);var o=e.t;if(!o){throw new Error("Can't render component <".concat(t.tagName.toLowerCase()," /> with invalid Stencil runtime! Make sure this imported component is compiled with a `externalRuntime: true` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime"))}var i;if(r){{{e.o|=256;if(e.D){e.D.map((function(e){var r=e[0],n=e[1];return safeCall(o,r,n,t)}));e.D=void 0}}if(e.S.length){e.S.forEach((function(e){return e(t)}))}}i=safeCall(o,"componentWillLoad",void 0,t)}else{i=safeCall(o,"componentWillUpdate",void 0,t)}i=enqueue(i,(function(){return safeCall(o,"componentWillRender",void 0,t)}));n();return enqueue(i,(function(){return updateComponent(e,o,r)}))};var enqueue=function(e,r){return isPromisey(e)?e.then(r).catch((function(e){console.error(e);r()})):r()};var isPromisey=function(e){return e instanceof Promise||e&&e.then&&typeof e.then==="function"};var updateComponent=function(e,r,t){return __awaiter(void 0,void 0,void 0,(function(){var n,o,i,a,s,l,u;return __generator(this,(function(c){o=e.$hostElement$;i=createTime("update",e.i._);a=o["s-rc"];if(t){attachStyles(e)}s=createTime("render",e.i._);{callRender(e,r,o,t)}if(a){a.map((function(e){return e()}));o["s-rc"]=void 0}s();i();{l=(n=o["s-p"])!=null?n:[];u=function(){return postUpdateComponent(e)};if(l.length===0){u()}else{Promise.all(l).then(u);e.o|=4;l.length=0}}return[2]}))}))};var callRender=function(e,r,t,n){try{r=r.render();{e.o&=-17}{e.o|=2}{{{renderVdom(e,r,n)}}}}catch(r){consoleError(r,e.$hostElement$)}return null};var postUpdateComponent=function(e){var r=e.i._;var t=e.$hostElement$;var n=createTime("postUpdate",r);var o=e.t;var i=e.I;safeCall(o,"componentDidRender",void 0,t);if(!(e.o&64)){e.o|=64;{addHydratedFlag(t)}safeCall(o,"componentDidLoad",void 0,t);n();{e.h(t);if(!i){appDidLoad()}}}else{safeCall(o,"componentDidUpdate",void 0,t);n()}{e.p(t)}{if(e.F){e.F();e.F=void 0}if(e.o&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.o&=-517}};var appDidLoad=function(e){nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,r,t,n){if(e&&e[r]){try{return e[r](t)}catch(e){consoleError(e,n)}}return void 0};var addHydratedFlag=function(e){var r;return e.classList.add((r=BUILD.hydratedSelectorName)!=null?r:"hydrated")};var getValue=function(e,r){return getHostRef(e).l.get(r)};var setValue=function(e,r,t,n){var o=getHostRef(e);if(!o){return}if(!o){throw new Error("Couldn't find host element for \"".concat(n._,'" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/stenciljs/core/issues/5457).'))}var i=o.$hostElement$;var a=o.l.get(r);var s=o.o;var l=o.t;t=parsePropertyValue(t,n.U[r][0]);var u=Number.isNaN(a)&&Number.isNaN(t);var c=t!==a&&!u;if((!(s&8)||a===void 0)&&c){o.l.set(r,t);if(l){if(n.B&&s&128){var f=n.B[r];if(f){f.map((function(e){try{l[e](t,a,r)}catch(e){consoleError(e,i)}}))}}if((s&(2|16))===2){if(l.componentShouldUpdate){if(l.componentShouldUpdate(t,a,r)===false){return}}scheduleUpdate(o,false)}}}};var proxyComponent=function(e,r,t){var n,o;var i=e.prototype;if(r.U||BUILD.propChangeCallback){{if(e.watchers&&!r.B){r.B=e.watchers}if(e.deserializers&&!r.q){r.q=e.deserializers}if(e.serializers&&!r.W){r.W=e.serializers}}var a=Object.entries((n=r.U)!=null?n:{});a.map((function(e){var n=e[0],o=e[1][0];if(o&31||t&2&&o&32){var a=Object.getOwnPropertyDescriptor(i,n)||{},s=a.get,l=a.set;if(s)r.U[n][0]|=2048;if(l)r.U[n][0]|=4096;if(t&1||!s){Object.defineProperty(i,n,{get:function(){{if((r.U[n][0]&2048)===0){return getValue(this,n)}var e=getHostRef(this);var t=e?e.t:i;if(!t)return;return t[n]}},configurable:true,enumerable:true})}Object.defineProperty(i,n,{set:function(e){var i=this;var a=getHostRef(this);if(!a){return}if(l){var s=o&32?this[n]:a.$hostElement$[n];if(typeof s==="undefined"&&a.l.get(n)){e=a.l.get(n)}l.apply(this,[parsePropertyValue(e,o)]);e=o&32?this[n]:a.$hostElement$[n];setValue(this,n,e,r);return}{if((t&1)===0||(r.U[n][0]&4096)===0){setValue(this,n,e,r);if(t&1&&!a.t){a.S.push((function(){if(r.U[n][0]&4096&&a.t[n]!==a.l.get(n)){a.t[n]=e}}))}return}var u=function(){var t=a.t[n];if(!a.l.get(n)&&t){a.l.set(n,t)}a.t[n]=parsePropertyValue(e,o);setValue(i,n,a.t[n],r)};if(a.t){u()}else{a.S.push((function(){u()}))}}}})}else if(t&1&&o&64){Object.defineProperty(i,n,{value:function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t;var o=getHostRef(this);return(t=o==null?void 0:o.v)==null?void 0:t.then((function(){var r;return(r=o.t)==null?void 0:r[n].apply(r,e)}))}})}}));if(t&1){var s=new Map;i.attributeChangedCallback=function(e,t,n){var o=this;plt.jmp((function(){var a;var l=s.get(e);var u=getHostRef(o);if(o.hasOwnProperty(l)&&BUILD.lazyLoad){n=o[l];delete o[l]}if(i.hasOwnProperty(l)&&typeof o[l]==="number"&&o[l]==n){return}else if(l==null){var c=u==null?void 0:u.o;if(u&&c&&!(c&8)&&c&128&&n!==t){var f=u.t;var v=(a=r.B)==null?void 0:a[e];v==null?void 0:v.forEach((function(r){if(f[r]!=null){f[r].call(f,n,t,e)}}))}return}var d=Object.getOwnPropertyDescriptor(i,l);n=n===null&&typeof o[l]==="boolean"?false:n;if(n!=o[l]&&(!d.get||!!d.set)){o[l]=n}}))};e.observedAttributes=Array.from(new Set(__spreadArray(__spreadArray([],Object.keys((o=r.B)!=null?o:{}),true),a.filter((function(e){var r=e[0],t=e[1];return t[0]&31})).map((function(e){var t=e[0],n=e[1];var o;var i=n[1]||t;s.set(i,t);if(n[0]&512){(o=r.P)==null?void 0:o.push([t,i])}return i})),true)))}}return e};var initializeComponent=function(e,r,t,n){return __awaiter(void 0,void 0,void 0,(function(){var n,o,i,a,s,l,u,c,f,v,d;return __generator(this,(function(p){switch(p.label){case 0:if(!((r.o&32)===0))return[3,6];r.o|=32;o=t.C;if(!o)return[3,4];i=loadModule(t,r);if(!(i&&"then"in i))return[3,2];a=uniqueTime();return[4,i];case 1:n=p.sent();a();return[3,3];case 2:n=i;p.label=3;case 3:if(!n){throw new Error('Constructor for "'.concat(t._,"#").concat(r.G,'" was not found'))}if(!n.isProxied){{t.B=n.watchers;t.W=n.serializers;t.q=n.deserializers}proxyComponent(n,t,2);n.isProxied=true}s=createTime("createInstance",t._);{r.o|=8}try{new n(r)}catch(r){consoleError(r,e)}{r.o&=-9}{r.o|=128}s();fireConnectedCallback(r.t,e);return[3,5];case 4:n=e.constructor;l=e.localName;customElements.whenDefined(l).then((function(){return r.o|=128}));p.label=5;case 5:if(n&&n.style){u=void 0;if(typeof n.style==="string"){u=n.style}c=getScopeId(t);if(!styles.has(c)){f=createTime("registerStyles",t._);registerStyle(c,u,!!(t.o&1));f()}}p.label=6;case 6:v=r.I;d=function(){return scheduleUpdate(r,true)};if(v&&v["s-rc"]){v["s-rc"].push(d)}else{d()}return[2]}}))}))};var fireConnectedCallback=function(e,r){{safeCall(e,"connectedCallback",void 0,r)}};var connectedCallback=function(e){if((plt.o&1)===0){var r=getHostRef(e);if(!r){return}var t=r.i;var n=createTime("connectedCallback",t._);if(!(r.o&1)){r.o|=1;{if(t.o&(4|8)){setContentReference(e)}}{var o=e;while(o=o.parentNode||o.host){if(o["s-p"]){attachToAncestor(r,r.I=o);break}}}if(t.U){Object.entries(t.U).map((function(r){var t=r[0],n=r[1][0];if(n&31&&t in e&&e[t]!==Object.prototype[t]){var o=e[t];delete e[t];e[t]=o}}))}{initializeComponent(e,r,t)}}else{addHostEventListeners(e,r,t.X);if(r==null?void 0:r.t){fireConnectedCallback(r.t,e)}else if(r==null?void 0:r.m){r.m.then((function(){return fireConnectedCallback(r.t,e)}))}}n()}};var setContentReference=function(e){if(!win.document){return}var r=e["s-cr"]=win.document.createComment("");r["s-cn"]=true;insertBefore(e,r,e.firstChild)};var disconnectInstance=function(e,r){{safeCall(e,"disconnectedCallback",void 0,r||e)}};var disconnectedCallback=function(e){return __awaiter(void 0,void 0,void 0,(function(){var r;return __generator(this,(function(t){if((plt.o&1)===0){r=getHostRef(e);{if(r==null?void 0:r.Y){r.Y.map((function(e){return e()}));r.Y=void 0}}if(r==null?void 0:r.t){disconnectInstance(r.t,e)}else if(r==null?void 0:r.m){r.m.then((function(){return disconnectInstance(r.t,e)}))}}if(rootAppliedStyles.has(e)){rootAppliedStyles.delete(e)}if(e.shadowRoot&&rootAppliedStyles.has(e.shadowRoot)){rootAppliedStyles.delete(e.shadowRoot)}return[2]}))}))};var bootstrapLazy=function(e,r){if(r===void 0){r={}}var t;if(!win.document){console.warn("Stencil: No document found. Skipping bootstrapping lazy components.");return}var n=createTime();var o=[];var i=r.exclude||[];var a=win.customElements;var s=win.document.head;var l=s.querySelector("meta[charset]");var u=win.document.createElement("style");var c=[];var f;var v=true;Object.assign(plt,r);plt.k=new URL(r.resourcesUrl||"./",win.document.baseURI).href;var d=false;e.map((function(e){e[1].map((function(r){var t,n,s;var l={o:r[0],_:r[1],U:r[2],X:r[3]};if(l.o&4){d=true}{l.U=r[2]}{l.X=r[3]}{l.P=[]}{l.B=(t=r[4])!=null?t:{};l.W=(n=r[5])!=null?n:{};l.q=(s=r[6])!=null?s:{}}var u=l._;var p=function(e){__extends(r,e);function r(r){var t=e.call(this,r)||this;t.hasRegisteredEventListeners=false;r=t;registerHost(r,l);return t}r.prototype.connectedCallback=function(){var e=this;var r=getHostRef(this);if(!r){return}if(!this.hasRegisteredEventListeners){this.hasRegisteredEventListeners=true;addHostEventListeners(this,r,l.X)}if(f){clearTimeout(f);f=null}if(v){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};r.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}));plt.raf((function(){var r;var t=getHostRef(e);if(!t){return}var n=c.findIndex((function(r){return r===e}));if(n>-1){c.splice(n,1)}if(((r=t==null?void 0:t.H)==null?void 0:r.M)instanceof Node&&!t.H.M.isConnected){delete t.H.M}}))};r.prototype.componentOnReady=function(){var e;return(e=getHostRef(this))==null?void 0:e.m};return r}(HTMLElement);l.C=e[0];if(!i.includes(u)&&!a.get(u)){o.push(u);a.define(u,proxyComponent(p,l,1))}}))}));if(o.length>0){if(d){u.textContent+=SLOT_FB_CSS}{u.textContent+=o.sort()+HYDRATED_CSS}if(u.innerHTML.length){u.setAttribute("data-styles","");var p=(t=plt.N)!=null?t:queryNonceMetaTagContent(win.document);if(p!=null){u.setAttribute("nonce",p)}s.insertBefore(u,l?l.nextSibling:s.firstChild)}}v=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}n()};var Fragment=function(e,r){return r};var addHostEventListeners=function(e,r,t,n){if(t&&win.document){t.map((function(t){var n=t[0],o=t[1],i=t[2];var a=getHostListenerTarget(win.document,e,n);var s=hostListenerProxy(r,i);var l=hostListenerOpts(n);plt.ael(a,o,s,l);(r.Y=r.Y||[]).push((function(){return plt.rel(a,o,s,l)}))}))}};var hostListenerProxy=function(e,r){return function(t){var n;try{{if(e.o&256){(n=e.t)==null?void 0:n[r](t)}else{(e.D=e.D||[]).push([r,t])}}}catch(r){consoleError(r,e.$hostElement$)}}};var getHostListenerTarget=function(e,r,t){if(t&4){return e}if(t&8){return win}return r};var hostListenerOpts=function(e){return supportsListenerOptions?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var setNonce=function(e){return plt.N=e};export{Fragment as F,Host as H,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r,setNonce as s};
2
- //# sourceMappingURL=index-C05sDUVN.js.map
@@ -1,2 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var t=function(i,e){t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,i){t.__proto__=i}||function(t,i){for(var e in i)if(Object.prototype.hasOwnProperty.call(i,e))t[e]=i[e]};return t(i,e)};return function(i,e){if(typeof e!=="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");t(i,e);function n(){this.constructor=i}i.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(t){for(var i,e=1,n=arguments.length;e<n;e++){i=arguments[e];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))t[r]=i[r]}return t};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(t,i,e,n){function r(t){return t instanceof e?t:new e((function(i){i(t)}))}return new(e||(e=Promise))((function(e,s){function u(t){try{a(n.next(t))}catch(t){s(t)}}function o(t){try{a(n["throw"](t))}catch(t){s(t)}}function a(t){t.done?e(t.value):r(t.value).then(u,o)}a((n=n.apply(t,i||[])).next())}))};var __generator=this&&this.__generator||function(t,i){var e={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,r,s,u;return u={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(u[Symbol.iterator]=function(){return this}),u;function o(t){return function(i){return a([t,i])}}function a(o){if(n)throw new TypeError("Generator is already executing.");while(u&&(u=0,o[0]&&(e=0)),e)try{if(n=1,r&&(s=o[0]&2?r["return"]:o[0]?r["throw"]||((s=r["return"])&&s.call(r),0):r.next)&&!(s=s.call(r,o[1])).done)return s;if(r=0,s)o=[o[0]&2,s.value];switch(o[0]){case 0:case 1:s=o;break;case 4:e.label++;return{value:o[1],done:false};case 5:e.label++;r=o[1];o=[0];continue;case 7:o=e.ops.pop();e.trys.pop();continue;default:if(!(s=e.trys,s=s.length>0&&s[s.length-1])&&(o[0]===6||o[0]===2)){e=0;continue}if(o[0]===3&&(!s||o[1]>s[0]&&o[1]<s[3])){e.label=o[1];break}if(o[0]===6&&e.label<s[1]){e.label=s[1];s=o;break}if(s&&e.label<s[2]){e.label=s[2];e.ops.push(o);break}if(s[2])e.ops.pop();e.trys.pop();continue}o=i.call(t,e)}catch(t){o=[6,t];r=0}finally{n=s=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var __rest=this&&this.__rest||function(t,i){var e={};for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&i.indexOf(n)<0)e[n]=t[n];if(t!=null&&typeof Object.getOwnPropertySymbols==="function")for(var r=0,n=Object.getOwnPropertySymbols(t);r<n.length;r++){if(i.indexOf(n[r])<0&&Object.prototype.propertyIsEnumerable.call(t,n[r]))e[n[r]]=t[n[r]]}return e};var __spreadArray=this&&this.__spreadArray||function(t,i,e){if(e||arguments.length===2)for(var n=0,r=i.length,s;n<r;n++){if(s||!(n in i)){if(!s)s=Array.prototype.slice.call(i,0,n);s[n]=i[n]}}return t.concat(s||Array.prototype.slice.call(i))};System.register(["./p-gMXuliDq.system.js","./p-C9y1KCYV.system.js","@verdocs/js-sdk","./p-CrzDCQEM.system.js","./p-7Iu0_GGa.system.js","./p-CmnBGerV.system.js"],(function(t){"use strict";var i,e,n,r,s,u,o,a,l,c,f,h,d,v,b,g,p,x;return{setters:[function(t){i=t.r;e=t.c;n=t.h;r=t.F;s=t.H;u=t.g},function(t){o=t.D},function(t){a=t.verifySigner;l=t.VerdocsEndpoint;c=t.getEnvelope;f=t.getEnvelopesZip;h=t.getEnvelopeDocumentDownloadLink;d=t.cancelEnvelope;v=t.userCanCancelEnvelope;b=t.integerSequence},function(t){g=t.V},function(t){p=t.S},function(t){x=t.S}],execute:function(){var m='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-delegate-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-delegate-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-delegate-dialog .input{gap:10px;margin:5px 0;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:row;flex-direction:row}verdocs-delegate-dialog .input label{margin:8px 0 0 0;-ms-flex:0 0 100px;flex:0 0 100px;font-size:13px;font-weight:500;line-height:10px;white-space:nowrap}verdocs-delegate-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #cccccc}verdocs-delegate-dialog .input textarea{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #cccccc;font-family:"Inter", "Barlow", sans-serif}verdocs-delegate-dialog .input.names input{width:80px}verdocs-delegate-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-delegate-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-delegate-dialog .field label{-ms-flex:0 0 120px;flex:0 0 120px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-delegate-dialog .field verdocs-date-input{width:40%;-ms-flex-positive:1;flex-grow:1}verdocs-delegate-dialog .field verdocs-date-input input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-delegate-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-delegate-dialog{}verdocs-delegate-dialog .buttons{gap:20px;display:-ms-flexbox;display:flex;margin-top:14px;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-delegate-dialog .buttons button{-ms-flex:1;flex:1;border:0;height:38px;display:-ms-flexbox;display:flex;color:#ffffff;font-size:14px;cursor:pointer;-ms-flex-align:center;align-items:center;border-radius:6px;-ms-flex-pack:center;justify-content:center}verdocs-delegate-dialog .buttons button.cancel{background-color:#654dcb}verdocs-delegate-dialog .buttons button.proceed{background-color:#55bc81}verdocs-delegate-dialog .buttons button:disabled{background-color:#6c727f}';var w=t("verdocs_delegate_dialog",function(){function t(t){i(this,t);this.exit=e(this,"exit");this.next=e(this,"next");this.endpoint=o;this.envelope=null;this.first_name="";this.last_name="";this.email="";this.phone="";this.message=""}t.prototype.handleCancel=function(){this.exit.emit()};t.prototype.handleDismiss=function(t){if(t.target.class==="background-overlay"){t.preventDefault();this.handleCancel()}};t.prototype.handleDelegate=function(){this.next.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message})};t.prototype.render=function(){var t=this;return n("verdocs-dialog",{key:"e7d2e18522508c33fdcd2d8ffd2596d7ef0f4703"},n("div",{key:"6e6d4438e8d36dc50e150d0cf67826cf12b3c181",slot:"heading",class:"heading"},n("div",{key:"15b9ffde2bb3d31b054b3f5b8818d50360080035",class:"icon"},n("svg",{key:"ae9862f069d3157bf56683c39762d043203098df",width:"22",height:"19",viewBox:"0 0 22 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("g",{key:"93460d7cf7ac57c11c89f9eaf0e67b148af5ff3f","clip-path":"url(#clip0_34208_4881)"},n("path",{key:"156bf323b132a3d1cc3831e3f59142072caabc6b",d:"M3.125 0.75C1.88398 0.75 0.875 1.75898 0.875 3V16.5C0.875 17.741 1.88398 18.75 3.125 18.75H12.125C13.366 18.75 14.375 17.741 14.375 16.5V15.8215C14.2801 15.8602 14.1852 15.8918 14.0867 15.9164L11.9738 16.4437C11.8684 16.4684 11.7629 16.4859 11.6574 16.493C11.6258 16.4965 11.5941 16.5 11.5625 16.5H9.3125C9.09805 16.5 8.90469 16.3805 8.80977 16.1906L8.50039 15.5684C8.44062 15.4488 8.32109 15.375 8.19102 15.375C8.06094 15.375 7.93789 15.4488 7.88164 15.5684L7.57227 16.1906C7.47031 16.398 7.24883 16.5211 7.02031 16.5C6.7918 16.4789 6.59492 16.3207 6.53164 16.1027L5.9375 14.1445L5.59297 15.2977C5.37852 16.0113 4.72109 16.5 3.97578 16.5H3.6875C3.37812 16.5 3.125 16.2469 3.125 15.9375C3.125 15.6281 3.37812 15.375 3.6875 15.375H3.97578C4.22539 15.375 4.44336 15.2133 4.51367 14.9742L5.0375 13.234C5.15703 12.8367 5.52266 12.5625 5.9375 12.5625C6.35234 12.5625 6.71797 12.8367 6.8375 13.234L7.24531 14.591C7.50547 14.373 7.83594 14.25 8.1875 14.25C8.74648 14.25 9.25625 14.5664 9.50586 15.0656L9.66055 15.375H9.97344C9.86445 15.0656 9.84336 14.7281 9.92422 14.3977L10.4516 12.2848C10.55 11.8875 10.7539 11.5289 11.0422 11.2406L14.375 7.90781V6.375H9.875C9.25273 6.375 8.75 5.87227 8.75 5.25V0.75H3.125ZM9.875 0.75V5.25H14.375L9.875 0.75ZM20.2039 5.66133C19.6555 5.11289 18.766 5.11289 18.2141 5.66133L17.1805 6.69492L19.6766 9.19102L20.7102 8.15742C21.2586 7.60898 21.2586 6.71953 20.7102 6.16758L20.2039 5.66133ZM11.8402 12.0352C11.6961 12.1793 11.5941 12.3586 11.5449 12.559L11.0176 14.6719C10.9684 14.8652 11.0246 15.0656 11.1652 15.2063C11.3059 15.3469 11.5062 15.4031 11.6996 15.3539L13.8125 14.8266C14.0094 14.7773 14.1922 14.6754 14.3363 14.5312L18.8785 9.98555L16.3824 7.48945L11.8402 12.0352Z",fill:"white"})),n("defs",{key:"4e8e0ed7b87613084f85264f5100793bdadc9682"},n("clipPath",{key:"8441dd4b8f3fd32e43a1389c93d1e4676b1207d0",id:"clip0_34208_4881"},n("path",{key:"fc50b4dd2d8e138ed025a1c5f90756fcdbb9e96e",d:"M0.875 0.75H21.125V18.75H0.875V0.75Z",fill:"white"}))))),n("div",{key:"444700955fb177f60fd0d5ac32b976c238073664",class:"title"},'Delegate "',this.envelope.name,'"')),n("div",{key:"926abc297800db8d18945a4f1b3a54eec1bb35f0",slot:"content",class:"content"},n("div",{key:"93ea4eaa76ecefeec198741295c16e34eb6e00b5",class:"input names"},n("label",{key:"1f01beb189bb336cf3e632eaada5690832424a26",htmlFor:"verdocs-delegate-email"},"New Recipient:"),n("input",{key:"0828c4548d08d771e0396d0a5b1473165d9eb3c4",type:"text",id:"verdocs-delegate-first",name:"verdocs-delegate-first",autocomplete:"blocked",placeholder:"First name...",value:this.first_name,onInput:function(i){return t.first_name=i.target.value}}),n("input",{key:"ca438ec4a4f95a7b331b118923ca1eff0e59e010",type:"text",id:"verdocs-delegate-last",name:"verdocs-delegate-last",autocomplete:"blocked",placeholder:"Last name...",value:this.last_name,onInput:function(i){return t.last_name=i.target.value}})),n("div",{key:"f59c0091cc6551354136402b759ef57051abd63b",class:"input"},n("label",{key:"1c56dfa95af9c42ac80a2c5cbe1e3a7c16f68d8a",htmlFor:"verdocs-delegate-email"},"Email Address:"),n("input",{key:"21d98764ba0183a2cb5aee91ff6a1fc53af48f7c",type:"text",id:"verdocs-delegate-email",name:"verdocs-delegate-email",autocomplete:"blocked",placeholder:"New recipient email address...",value:this.email,onInput:function(i){return t.email=i.target.value}})),n("div",{key:"da6021b3bd86de0fd8f83a36afd7e9386cbd611f",class:"input"},n("label",{key:"5b08bd78b0efdbc2c0e313d73483c5c724f12271",htmlFor:"verdocs-delegate-phone"},"Phone:"),n("input",{key:"236eaf54d27c25969960d87f4ba90e2b36d4cd77",type:"text",id:"verdocs-delegate-phone",name:"verdocs-delegate-phone",autocomplete:"blocked",placeholder:"Optional phone number...",value:this.phone,onInput:function(i){return t.phone=i.target.value}})),n("div",{key:"bdad60ac6cafb9d4685b4c64d1caafdfbbd5ba6d",class:"input"},n("label",{key:"39d2e6eab4dc1eab225e47eeae6faf56e9c26091",htmlFor:"verdocs-delegate-email"},"Message:"),n("textarea",{key:"595ca9034a51ba18bedf275278c9b9b8f4a69e8f",id:"verdocs-delegate-message",name:"verdocs-delegate-message",rows:3,autocomplete:"blocked",placeholder:"Optional message to include in the invitation...",onInput:function(i){return t.message=i.target.value}},this.message))),n("div",{key:"15734a676c249b4e25ad0fb609bd64ba6b86fde8",class:"footer",slot:"footer"},n("div",{key:"5abb8a2d42122e509dec55ff3ec8b8b42d2f4585",class:"buttons"},n("button",{key:"8bd30ede37fc0c9aab85833d92f1067ffaafa250",class:"cancel",onClick:function(){return t.handleCancel()}},"Cancel"),n("button",{key:"6a08b2646a66a8324dd3b19b36dd10142f0a40c0",class:"proceed",onClick:function(){return t.handleDelegate()},disabled:!this.first_name||!this.last_name||!this.email},"Proceed"))))};return t}());w.style=m;var k="@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-disclosure-dialog .footer .accept{margin:0 0 28px 28px;color:#374151}verdocs-disclosure-dialog a{color:#4c56cb}verdocs-disclosure-dialog verdocs-checkbox{font-size:14px;line-height:20px}verdocs-disclosure-dialog verdocs-checkbox label>input[type=checkbox]+*::before{width:16px;height:16px;line-height:16px;margin-left:-28px;vertical-align:middle}verdocs-disclosure-dialog{}verdocs-disclosure-dialog .buttons{gap:20px;display:-ms-flexbox;display:flex;margin-top:14px;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-disclosure-dialog .buttons button{-ms-flex:1;flex:1;border:0;height:38px;display:-ms-flexbox;display:flex;color:#ffffff;font-size:14px;cursor:pointer;-ms-flex-align:center;align-items:center;border-radius:6px;-ms-flex-pack:center;justify-content:center}verdocs-disclosure-dialog .buttons button.decline{background-color:#654dcb}verdocs-disclosure-dialog .buttons button.delegate{background-color:#55bc81}verdocs-disclosure-dialog .buttons button.proceed{background-color:#55bc81}verdocs-disclosure-dialog .buttons button:disabled{background-color:#6c727f}";var C=t("verdocs_disclosure_dialog",function(){function t(t){i(this,t);this.decline=e(this,"decline");this.delegate=e(this,"delegate");this.accept=e(this,"accept");this.disclosures=null;this.delegator=false;this.accepted=false}t.prototype.render=function(){var t=this;return n("verdocs-dialog",{key:"122a68106b3d95695405790f086547a4f9dc6969"},n("div",{key:"6ad6a488b6072e343e8f0f8653e522bd84d45d73",slot:"heading",class:"heading"},n("div",{key:"549409f2d18c981fce6eaf9c4cbf44d40fa94c0a",class:"icon"},n("svg",{key:"f75ef46e48eab3b6050deed19c3942f365e7429d",width:"22",height:"19",viewBox:"0 0 22 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n("g",{key:"ee8500d5cfc88fa73bebd512da1b2a6ffcb2b390","clip-path":"url(#clip0_34208_4881)"},n("path",{key:"85da8f4218f49595b828bcf40ec56b78e9134fb8",d:"M3.125 0.75C1.88398 0.75 0.875 1.75898 0.875 3V16.5C0.875 17.741 1.88398 18.75 3.125 18.75H12.125C13.366 18.75 14.375 17.741 14.375 16.5V15.8215C14.2801 15.8602 14.1852 15.8918 14.0867 15.9164L11.9738 16.4437C11.8684 16.4684 11.7629 16.4859 11.6574 16.493C11.6258 16.4965 11.5941 16.5 11.5625 16.5H9.3125C9.09805 16.5 8.90469 16.3805 8.80977 16.1906L8.50039 15.5684C8.44062 15.4488 8.32109 15.375 8.19102 15.375C8.06094 15.375 7.93789 15.4488 7.88164 15.5684L7.57227 16.1906C7.47031 16.398 7.24883 16.5211 7.02031 16.5C6.7918 16.4789 6.59492 16.3207 6.53164 16.1027L5.9375 14.1445L5.59297 15.2977C5.37852 16.0113 4.72109 16.5 3.97578 16.5H3.6875C3.37812 16.5 3.125 16.2469 3.125 15.9375C3.125 15.6281 3.37812 15.375 3.6875 15.375H3.97578C4.22539 15.375 4.44336 15.2133 4.51367 14.9742L5.0375 13.234C5.15703 12.8367 5.52266 12.5625 5.9375 12.5625C6.35234 12.5625 6.71797 12.8367 6.8375 13.234L7.24531 14.591C7.50547 14.373 7.83594 14.25 8.1875 14.25C8.74648 14.25 9.25625 14.5664 9.50586 15.0656L9.66055 15.375H9.97344C9.86445 15.0656 9.84336 14.7281 9.92422 14.3977L10.4516 12.2848C10.55 11.8875 10.7539 11.5289 11.0422 11.2406L14.375 7.90781V6.375H9.875C9.25273 6.375 8.75 5.87227 8.75 5.25V0.75H3.125ZM9.875 0.75V5.25H14.375L9.875 0.75ZM20.2039 5.66133C19.6555 5.11289 18.766 5.11289 18.2141 5.66133L17.1805 6.69492L19.6766 9.19102L20.7102 8.15742C21.2586 7.60898 21.2586 6.71953 20.7102 6.16758L20.2039 5.66133ZM11.8402 12.0352C11.6961 12.1793 11.5941 12.3586 11.5449 12.559L11.0176 14.6719C10.9684 14.8652 11.0246 15.0656 11.1652 15.2063C11.3059 15.3469 11.5062 15.4031 11.6996 15.3539L13.8125 14.8266C14.0094 14.7773 14.1922 14.6754 14.3363 14.5312L18.8785 9.98555L16.3824 7.48945L11.8402 12.0352Z",fill:"white"})),n("defs",{key:"392f7e5e60c301a580c57263abb81030fb1c0f91"},n("clipPath",{key:"089bf133d88c7f1a7daebe727c7d7f9c66f10578",id:"clip0_34208_4881"},n("path",{key:"f749457882bb275f9c4b59b2c8a7addb0b00c32d",d:"M0.875 0.75H21.125V18.75H0.875V0.75Z",fill:"white"}))))),n("div",{key:"94cc6fe7130459c77aa563b3a0a2778bfb27ff9f",class:"title"},"e-Signature Disclosures")),n("div",{key:"3d623c8532531e56d76c12fb6299d8a052a49d76",slot:"content",class:"content",innerHTML:this.disclosures}),n("div",{key:"2e57136cb24e3848d7b3720696999e7ee8f2f1ea",class:"footer",slot:"footer"},n("div",{key:"1c48b41358e34757a5aaa8ad231436a135a6f2d6",class:"accept"},n("verdocs-checkbox",{key:"38160bb04d3b6baea4b4d04e62c9ec406d4d4a47",label:"I accept the electronic signature disclosures and agree to proceed with digital signing.",checked:this.accepted,onInput:function(){return t.accepted=!t.accepted}})),this.delegator?n(r,null,n("div",{class:"buttons"},n("button",{class:"proceed",onClick:function(){return t.accept.emit()},disabled:!this.accepted},"Proceed")),n("div",{class:"buttons"},n("button",{class:"decline",onClick:function(){return t.decline.emit()}},"Decline"),n("button",{class:"delegate",onClick:function(){return t.delegate.emit()}},"Delegate"))):n(r,null,n("div",{class:"buttons"},n("button",{class:"decline",onClick:function(){return t.decline.emit()}},"Decline"),n("button",{class:"proceed",onClick:function(){return t.accept.emit()},disabled:!this.accepted},"Proceed")))))};return t}());C.style=k;function A(t){return typeof t==="string"||t instanceof String}function y(t){var i;return typeof t==="object"&&t!=null&&(t==null||(i=t.constructor)==null?void 0:i.name)==="Object"}function _(t,i){if(Array.isArray(i))return _(t,(function(t,e){return i.includes(e)}));return Object.entries(t).reduce((function(t,e){var n=e[0],r=e[1];if(i(r,n))t[n]=r;return t}),{})}var F={NONE:"NONE",LEFT:"LEFT",FORCE_LEFT:"FORCE_LEFT",RIGHT:"RIGHT",FORCE_RIGHT:"FORCE_RIGHT"};function D(t){switch(t){case F.LEFT:return F.FORCE_LEFT;case F.RIGHT:return F.FORCE_RIGHT;default:return t}}function B(t){return t.replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1")}function E(t,i){if(i===t)return true;var e=Array.isArray(i),n=Array.isArray(t);var r;if(e&&n){if(i.length!=t.length)return false;for(r=0;r<i.length;r++)if(!E(i[r],t[r]))return false;return true}if(e!=n)return false;if(i&&t&&typeof i==="object"&&typeof t==="object"){var s=i instanceof Date,u=t instanceof Date;if(s&&u)return i.getTime()==t.getTime();if(s!=u)return false;var o=i instanceof RegExp,a=t instanceof RegExp;if(o&&a)return i.toString()==t.toString();if(o!=a)return false;var l=Object.keys(i);for(r=0;r<l.length;r++)if(!Object.prototype.hasOwnProperty.call(t,l[r]))return false;for(r=0;r<l.length;r++)if(!E(t[l[r]],i[l[r]]))return false;return true}else if(i&&t&&typeof i==="function"&&typeof t==="function"){return i.toString()===t.toString()}return false}var O=function(){function t(t){Object.assign(this,t);while(this.value.slice(0,this.startChangePos)!==this.oldValue.slice(0,this.startChangePos)){--this.oldSelection.start}if(this.insertedCount){while(this.value.slice(this.cursorPos)!==this.oldValue.slice(this.oldSelection.end)){if(this.value.length-this.cursorPos<this.oldValue.length-this.oldSelection.end)++this.oldSelection.end;else++this.cursorPos}}}Object.defineProperty(t.prototype,"startChangePos",{get:function(){return Math.min(this.cursorPos,this.oldSelection.start)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"insertedCount",{get:function(){return this.cursorPos-this.startChangePos},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"inserted",{get:function(){return this.value.substr(this.startChangePos,this.insertedCount)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"removedCount",{get:function(){return Math.max(this.oldSelection.end-this.startChangePos||this.oldValue.length-this.value.length,0)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"removed",{get:function(){return this.oldValue.substr(this.startChangePos,this.removedCount)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"head",{get:function(){return this.value.substring(0,this.startChangePos)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"tail",{get:function(){return this.value.substring(this.startChangePos+this.insertedCount)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"removeDirection",{get:function(){if(!this.removedCount||this.insertedCount)return F.NONE;return(this.oldSelection.end===this.cursorPos||this.oldSelection.start===this.cursorPos)&&this.oldSelection.end===this.oldSelection.start?F.RIGHT:F.LEFT},enumerable:false,configurable:true});return t}();function j(t,i){return new j.InputMask(t,i)}function I(t){if(t==null)throw new Error("mask property should be defined");if(t instanceof RegExp)return j.MaskedRegExp;if(A(t))return j.MaskedPattern;if(t===Date)return j.MaskedDate;if(t===Number)return j.MaskedNumber;if(Array.isArray(t)||t===Array)return j.MaskedDynamic;if(j.Masked&&t.prototype instanceof j.Masked)return t;if(j.Masked&&t instanceof j.Masked)return t.constructor;if(t instanceof Function)return j.MaskedFunction;console.warn("Mask not found for mask",t);return j.Masked}function M(t){if(!t)throw new Error("Options in not defined");if(j.Masked){if(t.prototype instanceof j.Masked)return{mask:t};var i=t instanceof j.Masked?{mask:t}:y(t)&&t.mask instanceof j.Masked?t:{},e=i.mask,n=e===void 0?undefined:e,r=__rest(i,["mask"]);if(n){var s=n.mask;return __assign(__assign(__assign({},_(n,(function(t,i){return!i.startsWith("_")}))),{mask:n.constructor,_mask:s}),r)}}if(!y(t))return{mask:t};return __assign({},t)}function L(t){if(j.Masked&&t instanceof j.Masked)return t;var i=M(t);var e=I(i.mask);if(!e)throw new Error("Masked class is not found for provided mask "+i.mask+", appropriate module needs to be imported manually before creating mask.");if(i.mask===e)delete i.mask;if(i._mask){i.mask=i._mask;delete i._mask}return new e(i)}j.createMask=L;var V=function(){function t(){}Object.defineProperty(t.prototype,"selectionStart",{get:function(){var t;try{t=this._unsafeSelectionStart}catch(t){}return t!=null?t:this.value.length},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"selectionEnd",{get:function(){var t;try{t=this._unsafeSelectionEnd}catch(t){}return t!=null?t:this.value.length},enumerable:false,configurable:true});t.prototype.select=function(t,i){if(t==null||i==null||t===this.selectionStart&&i===this.selectionEnd)return;try{this._unsafeSelect(t,i)}catch(t){}};Object.defineProperty(t.prototype,"isActive",{get:function(){return false},enumerable:false,configurable:true});return t}();j.MaskElement=V;var S=90;var z=89;var N=function(t){__extends(i,t);function i(i){var e=t.call(this)||this;e.input=i;e._onKeydown=e._onKeydown.bind(e);e._onInput=e._onInput.bind(e);e._onBeforeinput=e._onBeforeinput.bind(e);e._onCompositionEnd=e._onCompositionEnd.bind(e);return e}Object.defineProperty(i.prototype,"rootElement",{get:function(){var t,i,e;return(t=(i=(e=this.input).getRootNode)==null?void 0:i.call(e))!=null?t:document},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isActive",{get:function(){return this.input===this.rootElement.activeElement},enumerable:false,configurable:true});i.prototype.bindEvents=function(t){this.input.addEventListener("keydown",this._onKeydown);this.input.addEventListener("input",this._onInput);this.input.addEventListener("beforeinput",this._onBeforeinput);this.input.addEventListener("compositionend",this._onCompositionEnd);this.input.addEventListener("drop",t.drop);this.input.addEventListener("click",t.click);this.input.addEventListener("focus",t.focus);this.input.addEventListener("blur",t.commit);this._handlers=t};i.prototype._onKeydown=function(t){if(this._handlers.redo&&(t.keyCode===S&&t.shiftKey&&(t.metaKey||t.ctrlKey)||t.keyCode===z&&t.ctrlKey)){t.preventDefault();return this._handlers.redo(t)}if(this._handlers.undo&&t.keyCode===S&&(t.metaKey||t.ctrlKey)){t.preventDefault();return this._handlers.undo(t)}if(!t.isComposing)this._handlers.selectionChange(t)};i.prototype._onBeforeinput=function(t){if(t.inputType==="historyUndo"&&this._handlers.undo){t.preventDefault();return this._handlers.undo(t)}if(t.inputType==="historyRedo"&&this._handlers.redo){t.preventDefault();return this._handlers.redo(t)}};i.prototype._onCompositionEnd=function(t){this._handlers.input(t)};i.prototype._onInput=function(t){if(!t.isComposing)this._handlers.input(t)};i.prototype.unbindEvents=function(){this.input.removeEventListener("keydown",this._onKeydown);this.input.removeEventListener("input",this._onInput);this.input.removeEventListener("beforeinput",this._onBeforeinput);this.input.removeEventListener("compositionend",this._onCompositionEnd);this.input.removeEventListener("drop",this._handlers.drop);this.input.removeEventListener("click",this._handlers.click);this.input.removeEventListener("focus",this._handlers.focus);this.input.removeEventListener("blur",this._handlers.commit);this._handlers={}};return i}(V);j.HTMLMaskElement=N;var T=function(t){__extends(i,t);function i(i){var e=t.call(this,i)||this;e.input=i;return e}Object.defineProperty(i.prototype,"_unsafeSelectionStart",{get:function(){return this.input.selectionStart!=null?this.input.selectionStart:this.value.length},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"_unsafeSelectionEnd",{get:function(){return this.input.selectionEnd},enumerable:false,configurable:true});i.prototype._unsafeSelect=function(t,i){this.input.setSelectionRange(t,i)};Object.defineProperty(i.prototype,"value",{get:function(){return this.input.value},set:function(t){this.input.value=t},enumerable:false,configurable:true});return i}(N);j.HTMLMaskElement=N;var H=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}Object.defineProperty(i.prototype,"_unsafeSelectionStart",{get:function(){var t=this.rootElement;var i=t.getSelection&&t.getSelection();var e=i&&i.anchorOffset;var n=i&&i.focusOffset;if(n==null||e==null||e<n){return e}return n},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"_unsafeSelectionEnd",{get:function(){var t=this.rootElement;var i=t.getSelection&&t.getSelection();var e=i&&i.anchorOffset;var n=i&&i.focusOffset;if(n==null||e==null||e>n){return e}return n},enumerable:false,configurable:true});i.prototype._unsafeSelect=function(t,i){if(!this.rootElement.createRange)return;var e=this.rootElement.createRange();e.setStart(this.input.firstChild||this.input,t);e.setEnd(this.input.lastChild||this.input,i);var n=this.rootElement;var r=n.getSelection&&n.getSelection();if(r){r.removeAllRanges();r.addRange(e)}};Object.defineProperty(i.prototype,"value",{get:function(){return this.input.textContent||""},set:function(t){this.input.textContent=t},enumerable:false,configurable:true});return i}(N);j.HTMLContenteditableMaskElement=H;var R=function(){function t(){this.states=[];this.currentIndex=0}Object.defineProperty(t.prototype,"currentState",{get:function(){return this.states[this.currentIndex]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isEmpty",{get:function(){return this.states.length===0},enumerable:false,configurable:true});t.prototype.push=function(i){if(this.currentIndex<this.states.length-1)this.states.length=this.currentIndex+1;this.states.push(i);if(this.states.length>t.MAX_LENGTH)this.states.shift();this.currentIndex=this.states.length-1};t.prototype.go=function(t){this.currentIndex=Math.min(Math.max(this.currentIndex+t,0),this.states.length-1);return this.currentState};t.prototype.undo=function(){return this.go(-1)};t.prototype.redo=function(){return this.go(1)};t.prototype.clear=function(){this.states.length=0;this.currentIndex=0};return t}();R.MAX_LENGTH=100;var P=function(){function t(t,i){this.el=t instanceof V?t:t.isContentEditable&&t.tagName!=="INPUT"&&t.tagName!=="TEXTAREA"?new H(t):new T(t);this.masked=L(i);this._listeners={};this._value="";this._unmaskedValue="";this._rawInputValue="";this.history=new R;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._onUndo=this._onUndo.bind(this);this._onRedo=this._onRedo.bind(this);this.alignCursor=this.alignCursor.bind(this);this.alignCursorFriendly=this.alignCursorFriendly.bind(this);this._bindEvents();this.updateValue();this._onChange()}t.prototype.maskEquals=function(t){var i;return t==null||((i=this.masked)==null?void 0:i.maskEquals(t))};Object.defineProperty(t.prototype,"mask",{get:function(){return this.masked.mask},set:function(t){if(this.maskEquals(t))return;if(!(t instanceof j.Masked)&&this.masked.constructor===I(t)){this.masked.updateOptions({mask:t});return}var i=t instanceof j.Masked?t:L({mask:t});i.unmaskedValue=this.masked.unmaskedValue;this.masked=i},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){if(this.value===t)return;this.masked.value=t;this.updateControl("auto")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this._unmaskedValue},set:function(t){if(this.unmaskedValue===t)return;this.masked.unmaskedValue=t;this.updateControl("auto")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this._rawInputValue},set:function(t){if(this.rawInputValue===t)return;this.masked.rawInputValue=t;this.updateControl();this.alignCursor()},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"typedValue",{get:function(){return this.masked.typedValue},set:function(t){if(this.masked.typedValueEquals(t))return;this.masked.typedValue=t;this.updateControl("auto")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.masked.displayValue},enumerable:false,configurable:true});t.prototype._bindEvents=function(){this.el.bindEvents({selectionChange:this._saveSelection,input:this._onInput,drop:this._onDrop,click:this._onClick,focus:this._onFocus,commit:this._onChange,undo:this._onUndo,redo:this._onRedo})};t.prototype._unbindEvents=function(){if(this.el)this.el.unbindEvents()};t.prototype._fireEvent=function(t,i){var e=this._listeners[t];if(!e)return;e.forEach((function(t){return t(i)}))};Object.defineProperty(t.prototype,"selectionStart",{get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionStart},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"cursorPos",{get:function(){return this._cursorChanging?this._changingCursorPos:this.el.selectionEnd},set:function(t){if(!this.el||!this.el.isActive)return;this.el.select(t,t);this._saveSelection()},enumerable:false,configurable:true});t.prototype._saveSelection=function(){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}};t.prototype.updateValue=function(){this.masked.value=this.el.value;this._value=this.masked.value;this._unmaskedValue=this.masked.unmaskedValue;this._rawInputValue=this.masked.rawInputValue};t.prototype.updateControl=function(t){var i=this.masked.unmaskedValue;var e=this.masked.value;var n=this.masked.rawInputValue;var r=this.displayValue;var s=this.unmaskedValue!==i||this.value!==e||this._rawInputValue!==n;this._unmaskedValue=i;this._value=e;this._rawInputValue=n;if(this.el.value!==r)this.el.value=r;if(t==="auto")this.alignCursor();else if(t!=null)this.cursorPos=t;if(s)this._fireChangeEvents();if(!this._historyChanging&&(s||this.history.isEmpty))this.history.push({unmaskedValue:i,selection:{start:this.selectionStart,end:this.cursorPos}})};t.prototype.updateOptions=function(t){var i=t.mask,e=__rest(t,["mask"]);var n=!this.maskEquals(i);var r=this.masked.optionsIsChanged(e);if(n)this.mask=i;if(r)this.masked.updateOptions(e);if(n||r)this.updateControl()};t.prototype.updateCursor=function(t){if(t==null)return;this.cursorPos=t;this._delayUpdateCursor(t)};t.prototype._delayUpdateCursor=function(t){var i=this;this._abortUpdateCursor();this._changingCursorPos=t;this._cursorChanging=setTimeout((function(){if(!i.el)return;i.cursorPos=i._changingCursorPos;i._abortUpdateCursor()}),10)};t.prototype._fireChangeEvents=function(){this._fireEvent("accept",this._inputEvent);if(this.masked.isComplete)this._fireEvent("complete",this._inputEvent)};t.prototype._abortUpdateCursor=function(){if(this._cursorChanging){clearTimeout(this._cursorChanging);delete this._cursorChanging}};t.prototype.alignCursor=function(){this.cursorPos=this.masked.nearestInputPos(this.masked.nearestInputPos(this.cursorPos,F.LEFT))};t.prototype.alignCursorFriendly=function(){if(this.selectionStart!==this.cursorPos)return;this.alignCursor()};t.prototype.on=function(t,i){if(!this._listeners[t])this._listeners[t]=[];this._listeners[t].push(i);return this};t.prototype.off=function(t,i){if(!this._listeners[t])return this;if(!i){delete this._listeners[t];return this}var e=this._listeners[t].indexOf(i);if(e>=0)this._listeners[t].splice(e,1);return this};t.prototype._onInput=function(t){this._inputEvent=t;this._abortUpdateCursor();var i=new O({value:this.el.value,cursorPos:this.cursorPos,oldValue:this.displayValue,oldSelection:this._selection});var e=this.masked.rawInputValue;var n=this.masked.splice(i.startChangePos,i.removed.length,i.inserted,i.removeDirection,{input:true,raw:true}).offset;var r=e===this.masked.rawInputValue?i.removeDirection:F.NONE;var s=this.masked.nearestInputPos(i.startChangePos+n,r);if(r!==F.NONE)s=this.masked.nearestInputPos(s,F.NONE);this.updateControl(s);delete this._inputEvent};t.prototype._onChange=function(){if(this.displayValue!==this.el.value)this.updateValue();this.masked.doCommit();this.updateControl();this._saveSelection()};t.prototype._onDrop=function(t){t.preventDefault();t.stopPropagation()};t.prototype._onFocus=function(t){this.alignCursorFriendly()};t.prototype._onClick=function(t){this.alignCursorFriendly()};t.prototype._onUndo=function(){this._applyHistoryState(this.history.undo())};t.prototype._onRedo=function(){this._applyHistoryState(this.history.redo())};t.prototype._applyHistoryState=function(t){if(!t)return;this._historyChanging=true;this.unmaskedValue=t.unmaskedValue;this.el.select(t.selection.start,t.selection.end);this._saveSelection();this._historyChanging=false};t.prototype.destroy=function(){this._unbindEvents();this._listeners.length=0;delete this.el};return t}();j.InputMask=P;var Z=function(){function t(t){Object.assign(this,{inserted:"",rawInserted:"",tailShift:0,skip:false},t)}t.normalize=function(i){return Array.isArray(i)?i:[i,new t]};t.prototype.aggregate=function(t){this.inserted+=t.inserted;this.rawInserted+=t.rawInserted;this.tailShift+=t.tailShift;this.skip=this.skip||t.skip;return this};Object.defineProperty(t.prototype,"offset",{get:function(){return this.tailShift+this.inserted.length},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"consumed",{get:function(){return Boolean(this.rawInserted)||this.skip},enumerable:false,configurable:true});t.prototype.equals=function(t){return this.inserted===t.inserted&&this.tailShift===t.tailShift&&this.rawInserted===t.rawInserted&&this.skip===t.skip};return t}();j.ChangeDetails=Z;var W=function(){function t(t,i,e){if(t===void 0){t=""}if(i===void 0){i=0}this.value=t;this.from=i;this.stop=e}t.prototype.toString=function(){return this.value};t.prototype.extend=function(t){this.value+=String(t)};t.prototype.appendTo=function(t){return t.append(this.toString(),{tail:true}).aggregate(t._appendPlaceholder())};Object.defineProperty(t.prototype,"state",{get:function(){return{value:this.value,from:this.from,stop:this.stop}},set:function(t){Object.assign(this,t)},enumerable:false,configurable:true});t.prototype.unshift=function(t){if(!this.value.length||t!=null&&this.from>=t)return"";var i=this.value[0];this.value=this.value.slice(1);return i};t.prototype.shift=function(){if(!this.value.length)return"";var t=this.value[this.value.length-1];this.value=this.value.slice(0,-1);return t};return t}();var q=function(){function t(i){this._value="";this._update(__assign(__assign({},t.DEFAULTS),i));this._initialized=true}t.prototype.updateOptions=function(t){if(!this.optionsIsChanged(t))return;this.withValueRefresh(this._update.bind(this,t))};t.prototype._update=function(t){Object.assign(this,t)};Object.defineProperty(t.prototype,"state",{get:function(){return{_value:this.value,_rawInputValue:this.rawInputValue}},set:function(t){this._value=t._value},enumerable:false,configurable:true});t.prototype.reset=function(){this._value=""};Object.defineProperty(t.prototype,"value",{get:function(){return this._value},set:function(t){this.resolve(t,{input:true})},enumerable:false,configurable:true});t.prototype.resolve=function(t,i){if(i===void 0){i={input:true}}this.reset();this.append(t,i,"");this.doCommit()};Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this.value},set:function(t){this.resolve(t,{})},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"typedValue",{get:function(){return this.parse?this.parse(this.value,this):this.unmaskedValue},set:function(t){if(this.format){this.value=this.format(t,this)}else{this.unmaskedValue=String(t)}},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this.extractInput(0,this.displayValue.length,{raw:true})},set:function(t){this.resolve(t,{raw:true})},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isComplete",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isFilled",{get:function(){return this.isComplete},enumerable:false,configurable:true});t.prototype.nearestInputPos=function(t,i){return t};t.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}return Math.min(this.displayValue.length,i-t)};t.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}return this.displayValue.slice(t,i)};t.prototype.extractTail=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}return new W(this.extractInput(t,i),t)};t.prototype.appendTail=function(t){if(A(t))t=new W(String(t));return t.appendTo(this)};t.prototype._appendCharRaw=function(t,i){if(!t)return new Z;this._value+=t;return new Z({inserted:t,rawInserted:t})};t.prototype._appendChar=function(t,i,e){var n;if(i===void 0){i={}}var r=this.state;var s;n=this.doPrepareChar(t,i),t=n[0],s=n[1];if(t){s=s.aggregate(this._appendCharRaw(t,i));if(!s.rawInserted&&this.autofix==="pad"){var u=this.state;this.state=r;var o=this.pad(i);var a=this._appendCharRaw(t,i);o=o.aggregate(a);if(a.rawInserted||o.equals(s)){s=o}else{this.state=u}}}if(s.inserted){var l=void 0;var c=this.doValidate(i)!==false;if(c&&e!=null){var f=this.state;if(this.overwrite===true){l=e.state;for(var h=0;h<s.rawInserted.length;++h){e.unshift(this.displayValue.length-s.tailShift)}}var d=this.appendTail(e);c=d.rawInserted.length===e.toString().length;if(!(c&&d.inserted)&&this.overwrite==="shift"){this.state=f;l=e.state;for(var h=0;h<s.rawInserted.length;++h){e.shift()}d=this.appendTail(e);c=d.rawInserted.length===e.toString().length}if(c&&d.inserted)this.state=f}if(!c){s=new Z;this.state=r;if(e&&l)e.state=l}}return s};t.prototype._appendPlaceholder=function(){return new Z};t.prototype._appendEager=function(){return new Z};t.prototype.append=function(t,i,e){var n;if(!A(t))throw new Error("value should be string");var r=A(e)?new W(String(e)):e;if(i!=null&&i.tail)i._beforeTailState=this.state;var s;n=this.doPrepare(t,i),t=n[0],s=n[1];for(var u=0;u<t.length;++u){var o=this._appendChar(t[u],i,r);if(!o.rawInserted&&!this.doSkipInvalid(t[u],i,r))break;s.aggregate(o)}if((this.eager===true||this.eager==="append")&&i!=null&&i.input&&t){s.aggregate(this._appendEager())}if(r!=null){s.tailShift+=this.appendTail(r).tailShift}return s};t.prototype.remove=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}this._value=this.displayValue.slice(0,t)+this.displayValue.slice(i);return new Z};t.prototype.withValueRefresh=function(t){if(this._refreshing||!this._initialized)return t();this._refreshing=true;var i=this.rawInputValue;var e=this.value;var n=t();this.rawInputValue=i;if(this.value&&this.value!==e&&e.indexOf(this.value)===0){this.append(e.slice(this.displayValue.length),{},"");this.doCommit()}delete this._refreshing;return n};t.prototype.runIsolated=function(t){if(this._isolated||!this._initialized)return t(this);this._isolated=true;var i=this.state;var e=t(this);this.state=i;delete this._isolated;return e};t.prototype.doSkipInvalid=function(t,i,e){return Boolean(this.skipInvalid)};t.prototype.doPrepare=function(t,i){if(i===void 0){i={}}return Z.normalize(this.prepare?this.prepare(t,this,i):t)};t.prototype.doPrepareChar=function(t,i){if(i===void 0){i={}}return Z.normalize(this.prepareChar?this.prepareChar(t,this,i):t)};t.prototype.doValidate=function(t){return(!this.validate||this.validate(this.value,this,t))&&(!this.parent||this.parent.doValidate(t))};t.prototype.doCommit=function(){if(this.commit)this.commit(this.value,this)};t.prototype.splice=function(t,i,e,n,r){if(e===void 0){e=""}if(n===void 0){n=F.NONE}if(r===void 0){r={input:true}}var s=t+i;var u=this.extractTail(s);var o=this.eager===true||this.eager==="remove";var a;if(o){n=D(n);a=this.extractInput(0,s,{raw:true})}var l=t;var c=new Z;if(n!==F.NONE){l=this.nearestInputPos(t,i>1&&t!==0&&!o?F.NONE:n);c.tailShift=l-t}c.aggregate(this.remove(l));if(o&&n!==F.NONE&&a===this.rawInputValue){if(n===F.FORCE_LEFT){var f=void 0;while(a===this.rawInputValue&&(f=this.displayValue.length)){c.aggregate(new Z({tailShift:-1})).aggregate(this.remove(f-1))}}else if(n===F.FORCE_RIGHT){u.unshift()}}return c.aggregate(this.append(e,r,u))};t.prototype.maskEquals=function(t){return this.mask===t};t.prototype.optionsIsChanged=function(t){return!E(this,t)};t.prototype.typedValueEquals=function(i){var e=this.typedValue;return i===e||t.EMPTY_VALUES.includes(i)&&t.EMPTY_VALUES.includes(e)||(this.format?this.format(i,this)===this.format(this.typedValue,this):false)};t.prototype.pad=function(t){return new Z};return t}();q.DEFAULTS={skipInvalid:true};q.EMPTY_VALUES=[undefined,null,""];j.Masked=q;var Y=function(){function t(t,i){if(t===void 0){t=[]}if(i===void 0){i=0}this.chunks=t;this.from=i}t.prototype.toString=function(){return this.chunks.map(String).join("")};t.prototype.extend=function(i){if(!String(i))return;i=A(i)?new W(String(i)):i;var e=this.chunks[this.chunks.length-1];var n=e&&(e.stop===i.stop||i.stop==null)&&i.from===e.from+e.toString().length;if(i instanceof W){if(n){e.extend(i.toString())}else{this.chunks.push(i)}}else if(i instanceof t){if(i.stop==null){var r=void 0;while(i.chunks.length&&i.chunks[0].stop==null){r=i.chunks.shift();r.from+=i.from;this.extend(r)}}if(i.toString()){i.stop=i.blockIndex;this.chunks.push(i)}}};t.prototype.appendTo=function(i){if(!(i instanceof j.MaskedPattern)){var e=new W(this.toString());return e.appendTo(i)}var n=new Z;for(var r=0;r<this.chunks.length;++r){var s=this.chunks[r];var u=i._mapPosToBlock(i.displayValue.length);var o=s.stop;var a=void 0;if(o!=null&&(!u||u.index<=o)){if(s instanceof t||i._stops.indexOf(o)>=0){n.aggregate(i._appendPlaceholder(o))}a=s instanceof t&&i._blocks[o]}if(a){var l=a.appendTail(s);n.aggregate(l);var c=s.toString().slice(l.rawInserted.length);if(c)n.aggregate(i.append(c,{tail:true}))}else{n.aggregate(i.append(s.toString(),{tail:true}))}}return n};Object.defineProperty(t.prototype,"state",{get:function(){return{chunks:this.chunks.map((function(t){return t.state})),from:this.from,stop:this.stop,blockIndex:this.blockIndex}},set:function(i){var e=i.chunks,n=__rest(i,["chunks"]);Object.assign(this,n);this.chunks=e.map((function(i){var e="chunks"in i?new t:new W;e.state=i;return e}))},enumerable:false,configurable:true});t.prototype.unshift=function(t){if(!this.chunks.length||t!=null&&this.from>=t)return"";var i=t!=null?t-this.from:t;var e=0;while(e<this.chunks.length){var n=this.chunks[e];var r=n.unshift(i);if(n.toString()){if(!r)break;++e}else{this.chunks.splice(e,1)}if(r)return r}return""};t.prototype.shift=function(){if(!this.chunks.length)return"";var t=this.chunks.length-1;while(0<=t){var i=this.chunks[t];var e=i.shift();if(i.toString()){if(!e)break;--t}else{this.chunks.splice(t,1)}if(e)return e}return""};return t}();var G=function(){function t(t,i){this.masked=t;this._log=[];var e=t._mapPosToBlock(i)||(i<0?{index:0,offset:0}:{index:this.masked._blocks.length,offset:0}),n=e.offset,r=e.index;this.offset=n;this.index=r;this.ok=false}Object.defineProperty(t.prototype,"block",{get:function(){return this.masked._blocks[this.index]},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"pos",{get:function(){return this.masked._blockStartPos(this.index)+this.offset},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"state",{get:function(){return{index:this.index,offset:this.offset,ok:this.ok}},set:function(t){Object.assign(this,t)},enumerable:false,configurable:true});t.prototype.pushState=function(){this._log.push(this.state)};t.prototype.popState=function(){var t=this._log.pop();if(t)this.state=t;return t};t.prototype.bindBlock=function(){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}};t.prototype._pushLeft=function(t){this.pushState();for(this.bindBlock();0<=this.index;--this.index,this.offset=((i=this.block)==null?void 0:i.displayValue.length)||0){var i;if(t())return this.ok=true}return this.ok=false};t.prototype._pushRight=function(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};t.prototype.pushLeftBeforeFilled=function(){var t=this;return this._pushLeft((function(){if(t.block.isFixed||!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.FORCE_LEFT);if(t.offset!==0)return true}))};t.prototype.pushLeftBeforeInput=function(){var t=this;return this._pushLeft((function(){if(t.block.isFixed)return;t.offset=t.block.nearestInputPos(t.offset,F.LEFT);return true}))};t.prototype.pushLeftBeforeRequired=function(){var t=this;return this._pushLeft((function(){if(t.block.isFixed||t.block.isOptional&&!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.LEFT);return true}))};t.prototype.pushRightBeforeFilled=function(){var t=this;return this._pushRight((function(){if(t.block.isFixed||!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.FORCE_RIGHT);if(t.offset!==t.block.value.length)return true}))};t.prototype.pushRightBeforeInput=function(){var t=this;return this._pushRight((function(){if(t.block.isFixed)return;t.offset=t.block.nearestInputPos(t.offset,F.NONE);return true}))};t.prototype.pushRightBeforeRequired=function(){var t=this;return this._pushRight((function(){if(t.block.isFixed||t.block.isOptional&&!t.block.value)return;t.offset=t.block.nearestInputPos(t.offset,F.NONE);return true}))};return t}();var U=function(){function t(t){Object.assign(this,t);this._value="";this.isFixed=true}Object.defineProperty(t.prototype,"value",{get:function(){return this._value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this.isUnmasking?this.value:""},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this._isRawInput?this.value:""},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.value},enumerable:false,configurable:true});t.prototype.reset=function(){this._isRawInput=false;this._value=""};t.prototype.remove=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this._value.length}this._value=this._value.slice(0,t)+this._value.slice(i);if(!this._value)this._isRawInput=false;return new Z};t.prototype.nearestInputPos=function(t,i){if(i===void 0){i=F.NONE}var e=0;var n=this._value.length;switch(i){case F.LEFT:case F.FORCE_LEFT:return e;case F.NONE:case F.RIGHT:case F.FORCE_RIGHT:default:return n}};t.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this._value.length}return this._isRawInput?i-t:0};t.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this._value.length}if(e===void 0){e={}}return e.raw&&this._isRawInput&&this._value.slice(t,i)||""};Object.defineProperty(t.prototype,"isComplete",{get:function(){return true},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isFilled",{get:function(){return Boolean(this._value)},enumerable:false,configurable:true});t.prototype._appendChar=function(t,i){if(i===void 0){i={}}if(this.isFilled)return new Z;var e=this.eager===true||this.eager==="append";var n=this.char===t;var r=n&&(this.isUnmasking||i.input||i.raw)&&(!i.raw||!e)&&!i.tail;var s=new Z({inserted:this.char,rawInserted:r?this.char:""});this._value=this.char;this._isRawInput=r&&(i.raw||i.input);return s};t.prototype._appendEager=function(){return this._appendChar(this.char,{tail:true})};t.prototype._appendPlaceholder=function(){var t=new Z;if(this.isFilled)return t;this._value=t.inserted=this.char;return t};t.prototype.extractTail=function(){return new W("")};t.prototype.appendTail=function(t){if(A(t))t=new W(String(t));return t.appendTo(this)};t.prototype.append=function(t,i,e){var n=this._appendChar(t[0],i);if(e!=null){n.tailShift+=this.appendTail(e).tailShift}return n};t.prototype.doCommit=function(){};Object.defineProperty(t.prototype,"state",{get:function(){return{_value:this._value,_rawInputValue:this.rawInputValue}},set:function(t){this._value=t._value;this._isRawInput=Boolean(t._rawInputValue)},enumerable:false,configurable:true});t.prototype.pad=function(t){return this._appendPlaceholder()};return t}();var K=function(){function t(t){var i=t.parent,e=t.isOptional,n=t.placeholderChar,r=t.displayChar,s=t.lazy,u=t.eager,o=__rest(t,["parent","isOptional","placeholderChar","displayChar","lazy","eager"]);this.masked=L(o);Object.assign(this,{parent:i,isOptional:e,placeholderChar:n,displayChar:r,lazy:s,eager:u})}t.prototype.reset=function(){this.isFilled=false;this.masked.reset()};t.prototype.remove=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.value.length}if(t===0&&i>=1){this.isFilled=false;return this.masked.remove(t,i)}return new Z};Object.defineProperty(t.prototype,"value",{get:function(){return this.masked.value||(this.isFilled&&!this.isOptional?this.placeholderChar:"")},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"unmaskedValue",{get:function(){return this.masked.unmaskedValue},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"rawInputValue",{get:function(){return this.masked.rawInputValue},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"displayValue",{get:function(){return this.masked.value&&this.displayChar||this.value},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"isComplete",{get:function(){return Boolean(this.masked.value)||this.isOptional},enumerable:false,configurable:true});t.prototype._appendChar=function(t,i){if(i===void 0){i={}}if(this.isFilled)return new Z;var e=this.masked.state;var n=this.masked._appendChar(t,this.currentMaskFlags(i));if(n.inserted&&this.doValidate(i)===false){n=new Z;this.masked.state=e}if(!n.inserted&&!this.isOptional&&!this.lazy&&!i.input){n.inserted=this.placeholderChar}n.skip=!n.inserted&&!this.isOptional;this.isFilled=Boolean(n.inserted);return n};t.prototype.append=function(t,i,e){return this.masked.append(t,this.currentMaskFlags(i),e)};t.prototype._appendPlaceholder=function(){if(this.isFilled||this.isOptional)return new Z;this.isFilled=true;return new Z({inserted:this.placeholderChar})};t.prototype._appendEager=function(){return new Z};t.prototype.extractTail=function(t,i){return this.masked.extractTail(t,i)};t.prototype.appendTail=function(t){return this.masked.appendTail(t)};t.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this.value.length}return this.masked.extractInput(t,i,e)};t.prototype.nearestInputPos=function(t,i){if(i===void 0){i=F.NONE}var e=0;var n=this.value.length;var r=Math.min(Math.max(t,e),n);switch(i){case F.LEFT:case F.FORCE_LEFT:return this.isComplete?r:e;case F.RIGHT:case F.FORCE_RIGHT:return this.isComplete?r:n;case F.NONE:default:return r}};t.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.value.length}return this.value.slice(t,i).length};t.prototype.doValidate=function(t){return this.masked.doValidate(this.currentMaskFlags(t))&&(!this.parent||this.parent.doValidate(this.currentMaskFlags(t)))};t.prototype.doCommit=function(){this.masked.doCommit()};Object.defineProperty(t.prototype,"state",{get:function(){return{_value:this.value,_rawInputValue:this.rawInputValue,masked:this.masked.state,isFilled:this.isFilled}},set:function(t){this.masked.state=t.masked;this.isFilled=t.isFilled},enumerable:false,configurable:true});t.prototype.currentMaskFlags=function(t){var i;return __assign(__assign({},t),{_beforeTailState:(t==null||(i=t._beforeTailState)==null?void 0:i.masked)||(t==null?void 0:t._beforeTailState)})};t.prototype.pad=function(t){return new Z};return t}();K.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]/,"*":/./};var $=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=i.mask;if(e)i.validate=function(t){return t.search(e)>=0};t.prototype._update.call(this,i)};return i}(q);j.MaskedRegExp=$;var X=function(t){__extends(i,t);function i(e){return t.call(this,__assign(__assign(__assign({},i.DEFAULTS),e),{definitions:Object.assign({},K.DEFAULT_DEFINITIONS,e==null?void 0:e.definitions)}))||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){i.definitions=Object.assign({},this.definitions,i.definitions);t.prototype._update.call(this,i);this._rebuildMask()};i.prototype._rebuildMask=function(){var t=this.definitions;this._blocks=[];this.exposeBlock=undefined;this._stops=[];this._maskedBlocks={};var e=this.mask;if(!e||!t)return;var n=false;var r=false;var s=function(s){if(u.blocks){var a=e.slice(s);var l=Object.keys(u.blocks).filter((function(t){return a.indexOf(t)===0}));l.sort((function(t,i){return i.length-t.length}));var c=l[0];if(c){var f=M(u.blocks[c]),h=f.expose,d=f.repeat,v=__rest(f,["expose","repeat"]);var b=__assign(__assign({lazy:u.lazy,eager:u.eager,placeholderChar:u.placeholderChar,displayChar:u.displayChar,overwrite:u.overwrite,autofix:u.autofix},v),{repeat:d,parent:u});var g=d!=null?new j.RepeatBlock(b):L(b);if(g){u._blocks.push(g);if(h)u.exposeBlock=g;if(!u._maskedBlocks[c])u._maskedBlocks[c]=[];u._maskedBlocks[c].push(u._blocks.length-1)}s+=c.length-1;return o=s,"continue"}}var p=e[s];var x=p in t;if(p===i.STOP_CHAR){u._stops.push(u._blocks.length);return o=s,"continue"}if(p==="{"||p==="}"){n=!n;return o=s,"continue"}if(p==="["||p==="]"){r=!r;return o=s,"continue"}if(p===i.ESCAPE_CHAR){++s;p=e[s];if(!p)return o=s,"break";x=false}var m=x?new K(__assign(__assign({isOptional:r,lazy:u.lazy,eager:u.eager,placeholderChar:u.placeholderChar,displayChar:u.displayChar},M(t[p])),{parent:u})):new U({char:p,eager:u.eager,isUnmasking:n});u._blocks.push(m);o=s};var u=this,o;for(var a=0;a<e.length;++a){var l=s(a);a=o;if(l==="break")break}};Object.defineProperty(i.prototype,"state",{get:function(){return __assign(__assign({},t.prototype.state),{_blocks:this._blocks.map((function(t){return t.state}))})},set:function(i){if(!i){this.reset();return}var e=i._blocks,n=__rest(i,["_blocks"]);this._blocks.forEach((function(t,i){return t.state=e[i]}));t.prototype.state=n},enumerable:false,configurable:true});i.prototype.reset=function(){t.prototype.reset.call(this);this._blocks.forEach((function(t){return t.reset()}))};Object.defineProperty(i.prototype,"isComplete",{get:function(){return this.exposeBlock?this.exposeBlock.isComplete:this._blocks.every((function(t){return t.isComplete}))},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isFilled",{get:function(){return this._blocks.every((function(t){return t.isFilled}))},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isFixed",{get:function(){return this._blocks.every((function(t){return t.isFixed}))},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isOptional",{get:function(){return this._blocks.every((function(t){return t.isOptional}))},enumerable:false,configurable:true});i.prototype.doCommit=function(){this._blocks.forEach((function(t){return t.doCommit()}));t.prototype.doCommit.call(this)};Object.defineProperty(i.prototype,"unmaskedValue",{get:function(){return this.exposeBlock?this.exposeBlock.unmaskedValue:this._blocks.reduce((function(t,i){return t+=i.unmaskedValue}),"")},set:function(i){if(this.exposeBlock){var e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.unmaskedValue=i;this.appendTail(e);this.doCommit()}else t.prototype.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"value",{get:function(){return this.exposeBlock?this.exposeBlock.value:this._blocks.reduce((function(t,i){return t+=i.value}),"")},set:function(i){if(this.exposeBlock){var e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.value=i;this.appendTail(e);this.doCommit()}else t.prototype.value=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.exposeBlock?this.exposeBlock.typedValue:t.prototype.typedValue},set:function(i){if(this.exposeBlock){var e=this.extractTail(this._blockStartPos(this._blocks.indexOf(this.exposeBlock))+this.exposeBlock.displayValue.length);this.exposeBlock.typedValue=i;this.appendTail(e);this.doCommit()}else t.prototype.typedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"displayValue",{get:function(){return this._blocks.reduce((function(t,i){return t+=i.displayValue}),"")},enumerable:false,configurable:true});i.prototype.appendTail=function(i){return t.prototype.appendTail.call(this,i).aggregate(this._appendPlaceholder())};i.prototype._appendEager=function(){var t;var i=new Z;var e=(t=this._mapPosToBlock(this.displayValue.length))==null?void 0:t.index;if(e==null)return i;if(this._blocks[e].isFilled)++e;for(var n=e;n<this._blocks.length;++n){var r=this._blocks[n]._appendEager();if(!r.inserted)break;i.aggregate(r)}return i};i.prototype._appendCharRaw=function(t,i){if(i===void 0){i={}}var e=this._mapPosToBlock(this.displayValue.length);var n=new Z;if(!e)return n;for(var r=e.index,s=void 0;s=this._blocks[r];++r){var u;var o=s._appendChar(t,__assign(__assign({},i),{_beforeTailState:(u=i._beforeTailState)==null||(u=u._blocks)==null?void 0:u[r]}));n.aggregate(o);if(o.consumed)break}return n};i.prototype.extractTail=function(t,i){var e=this;if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}var n=new Y;if(t===i)return n;this._forEachBlocksInRange(t,i,(function(t,i,r,s){var u=t.extractTail(r,s);u.stop=e._findStopBefore(i);u.from=e._blockStartPos(i);if(u instanceof Y)u.blockIndex=i;n.extend(u)}));return n};i.prototype.extractInput=function(t,i,e){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}if(e===void 0){e={}}if(t===i)return"";var n="";this._forEachBlocksInRange(t,i,(function(t,i,r,s){n+=t.extractInput(r,s,e)}));return n};i.prototype._findStopBefore=function(t){var i;for(var e=0;e<this._stops.length;++e){var n=this._stops[e];if(n<=t)i=n;else break}return i};i.prototype._appendPlaceholder=function(t){var i=new Z;if(this.lazy&&t==null)return i;var e=this._mapPosToBlock(this.displayValue.length);if(!e)return i;var n=e.index;var r=t!=null?t:this._blocks.length;this._blocks.slice(n,r).forEach((function(e){if(!e.lazy||t!=null){var n;i.aggregate(e._appendPlaceholder((n=e._blocks)==null?void 0:n.length))}}));return i};i.prototype._mapPosToBlock=function(t){var i="";for(var e=0;e<this._blocks.length;++e){var n=this._blocks[e];var r=i.length;i+=n.displayValue;if(t<=i.length){return{index:e,offset:t-r}}}};i.prototype._blockStartPos=function(t){return this._blocks.slice(0,t).reduce((function(t,i){return t+=i.displayValue.length}),0)};i.prototype._forEachBlocksInRange=function(t,i,e){if(i===void 0){i=this.displayValue.length}var n=this._mapPosToBlock(t);if(n){var r=this._mapPosToBlock(i);var s=r&&n.index===r.index;var u=n.offset;var o=r&&s?r.offset:this._blocks[n.index].displayValue.length;e(this._blocks[n.index],n.index,u,o);if(r&&!s){for(var a=n.index+1;a<r.index;++a){e(this._blocks[a],a,0,this._blocks[a].displayValue.length)}e(this._blocks[r.index],r.index,0,r.offset)}}};i.prototype.remove=function(i,e){if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}var n=t.prototype.remove.call(this,i,e);this._forEachBlocksInRange(i,e,(function(t,i,e,r){n.aggregate(t.remove(e,r))}));return n};i.prototype.nearestInputPos=function(t,i){if(i===void 0){i=F.NONE}if(!this._blocks.length)return 0;var e=new G(this,t);if(i===F.NONE){if(e.pushRightBeforeInput())return e.pos;e.popState();if(e.pushLeftBeforeInput())return e.pos;return this.displayValue.length}if(i===F.LEFT||i===F.FORCE_LEFT){if(i===F.LEFT){e.pushRightBeforeFilled();if(e.ok&&e.pos===t)return t;e.popState()}e.pushLeftBeforeInput();e.pushLeftBeforeRequired();e.pushLeftBeforeFilled();if(i===F.LEFT){e.pushRightBeforeInput();e.pushRightBeforeRequired();if(e.ok&&e.pos<=t)return e.pos;e.popState();if(e.ok&&e.pos<=t)return e.pos;e.popState()}if(e.ok)return e.pos;if(i===F.FORCE_LEFT)return 0;e.popState();if(e.ok)return e.pos;e.popState();if(e.ok)return e.pos;return 0}if(i===F.RIGHT||i===F.FORCE_RIGHT){e.pushRightBeforeInput();e.pushRightBeforeRequired();if(e.pushRightBeforeFilled())return e.pos;if(i===F.FORCE_RIGHT)return this.displayValue.length;e.popState();if(e.ok)return e.pos;e.popState();if(e.ok)return e.pos;return this.nearestInputPos(t,F.LEFT)}return t};i.prototype.totalInputPositions=function(t,i){if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}var e=0;this._forEachBlocksInRange(t,i,(function(t,i,n,r){e+=t.totalInputPositions(n,r)}));return e};i.prototype.maskedBlock=function(t){return this.maskedBlocks(t)[0]};i.prototype.maskedBlocks=function(t){var i=this;var e=this._maskedBlocks[t];if(!e)return[];return e.map((function(t){return i._blocks[t]}))};i.prototype.pad=function(t){var i=new Z;this._forEachBlocksInRange(0,this.displayValue.length,(function(e){return i.aggregate(e.pad(t))}));return i};return i}(q);X.DEFAULTS=__assign(__assign({},q.DEFAULTS),{lazy:true,placeholderChar:"_"});X.STOP_CHAR="`";X.ESCAPE_CHAR="\\";X.InputDefinition=K;X.FixedDefinition=U;j.MaskedPattern=X;var J=function(t){__extends(i,t);function i(i){return t.call(this,i)||this}Object.defineProperty(i.prototype,"_matchFrom",{get:function(){return this.maxLength-String(this.from).length},enumerable:false,configurable:true});i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=i.to,n=e===void 0?this.to||0:e,r=i.from,s=r===void 0?this.from||0:r,u=i.maxLength,o=u===void 0?this.maxLength||0:u,a=i.autofix,l=a===void 0?this.autofix:a,c=__rest(i,["to","from","maxLength","autofix"]);this.to=n;this.from=s;this.maxLength=Math.max(String(n).length,o);this.autofix=l;var f=String(this.from).padStart(this.maxLength,"0");var h=String(this.to).padStart(this.maxLength,"0");var d=0;while(d<h.length&&h[d]===f[d])++d;c.mask=h.slice(0,d).replace(/0/g,"\\0")+"0".repeat(this.maxLength-d);t.prototype._update.call(this,c)};Object.defineProperty(i.prototype,"isComplete",{get:function(){return t.prototype.isComplete&&Boolean(this.value)},enumerable:false,configurable:true});i.prototype.boundaries=function(t){var i="";var e="";var n=t.match(/^(\D*)(\d*)(\D*)/)||[],r=n[1],s=n[2];if(s){i="0".repeat(r.length)+s;e="9".repeat(r.length)+s}i=i.padEnd(this.maxLength,"0");e=e.padEnd(this.maxLength,"9");return[i,e]};i.prototype.doPrepareChar=function(i,e){var n;if(e===void 0){e={}}var r;n=t.prototype.doPrepareChar.call(this,i.replace(/\D/g,""),e),i=n[0],r=n[1];if(!i)r.skip=!this.isComplete;return[i,r]};i.prototype._appendCharRaw=function(i,e){if(e===void 0){e={}}if(!this.autofix||this.value.length+1>this.maxLength)return t.prototype._appendCharRaw.call(this,i,e);var n=String(this.from).padStart(this.maxLength,"0");var r=String(this.to).padStart(this.maxLength,"0");var s=this.boundaries(this.value+i),u=s[0],o=s[1];if(Number(o)<this.from)return t.prototype._appendCharRaw.call(this,n[this.value.length],e);if(Number(u)>this.to){if(!e.tail&&this.autofix==="pad"&&this.value.length+1<this.maxLength){return t.prototype._appendCharRaw.call(this,n[this.value.length],e).aggregate(this._appendCharRaw(i,e))}return t.prototype._appendCharRaw.call(this,r[this.value.length],e)}return t.prototype._appendCharRaw.call(this,i,e)};i.prototype.doValidate=function(i){var e=this.value;var n=e.search(/[^0]/);if(n===-1&&e.length<=this._matchFrom)return true;var r=this.boundaries(e),s=r[0],u=r[1];return this.from<=Number(u)&&Number(s)<=this.to&&t.prototype.doValidate.call(this,i)};i.prototype.pad=function(i){var e=this;var n=new Z;if(this.value.length===this.maxLength)return n;var r=this.value;var s=this.maxLength-this.value.length;if(s){this.reset();for(var u=0;u<s;++u){n.aggregate(t.prototype._appendCharRaw.call(this,"0",i))}r.split("").forEach((function(t){return e._appendCharRaw(t)}))}return n};return i}(X);j.MaskedRange=J;var Q="d{.}`m{.}`Y";var tt=function(t){__extends(i,t);function i(e){return t.call(this,i.extractPatternOptions(__assign(__assign({},i.DEFAULTS),e)))||this}i.extractPatternOptions=function(t){var i=t.mask,e=t.pattern,n=__rest(t,["mask","pattern"]);return __assign(__assign({},n),{mask:A(i)?i:e})};i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(e){var n=__assign(__assign({},i.DEFAULTS),e),r=n.mask,s=n.pattern,u=n.blocks,o=__rest(n,["mask","pattern","blocks"]);var a=Object.assign({},i.GET_DEFAULT_BLOCKS());if(e.min)a.Y.from=e.min.getFullYear();if(e.max)a.Y.to=e.max.getFullYear();if(e.min&&e.max&&a.Y.from===a.Y.to){a.m.from=e.min.getMonth()+1;a.m.to=e.max.getMonth()+1;if(a.m.from===a.m.to){a.d.from=e.min.getDate();a.d.to=e.max.getDate()}}Object.assign(a,this.blocks,u);t.prototype._update.call(this,__assign(__assign({},o),{mask:A(r)?r:s,blocks:a}))};i.prototype.doValidate=function(i){var e=this.date;return t.prototype.doValidate.call(this,i)&&(!this.isComplete||this.isDateExist(this.value)&&e!=null&&(this.min==null||this.min<=e)&&(this.max==null||e<=this.max))};i.prototype.isDateExist=function(t){return this.format(this.parse(t,this),this).indexOf(t)>=0};Object.defineProperty(i.prototype,"date",{get:function(){return this.typedValue},set:function(t){this.typedValue=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.isComplete?t.prototype.typedValue:null},set:function(i){t.prototype.typedValue=i},enumerable:false,configurable:true});i.prototype.maskEquals=function(i){return i===Date||t.prototype.maskEquals.call(this,i)};i.prototype.optionsIsChanged=function(e){return t.prototype.optionsIsChanged.call(this,i.extractPatternOptions(e))};return i}(X);tt.GET_DEFAULT_BLOCKS=function(){return{d:{mask:J,from:1,to:31,maxLength:2},m:{mask:J,from:1,to:12,maxLength:2},Y:{mask:J,from:1900,to:9999}}};tt.DEFAULTS=__assign(__assign({},X.DEFAULTS),{mask:Date,pattern:Q,format:function(t,i){if(!t)return"";var e=String(t.getDate()).padStart(2,"0");var n=String(t.getMonth()+1).padStart(2,"0");var r=t.getFullYear();return[e,n,r].join(".")},parse:function(t,i){var e=t.split(".").map(Number),n=e[0],r=e[1],s=e[2];return new Date(s,r-1,n)}});j.MaskedDate=tt;var it=function(t){__extends(i,t);function i(e){var n=t.call(this,__assign(__assign({},i.DEFAULTS),e))||this;n.currentMask=undefined;return n}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=this;t.prototype._update.call(this,i);if("mask"in i){this.exposeMask=undefined;this.compiledMasks=Array.isArray(i.mask)?i.mask.map((function(t){var i=M(t),n=i.expose,r=__rest(i,["expose"]);var s=L(__assign({overwrite:e._overwrite,eager:e._eager,skipInvalid:e._skipInvalid},r));if(n)e.exposeMask=s;return s})):[]}};i.prototype._appendCharRaw=function(t,i){if(i===void 0){i={}}var e=this._applyDispatch(t,i);if(this.currentMask){e.aggregate(this.currentMask._appendChar(t,this.currentMaskFlags(i)))}return e};i.prototype._applyDispatch=function(t,i,e){if(t===void 0){t=""}if(i===void 0){i={}}if(e===void 0){e=""}var n=i.tail&&i._beforeTailState!=null?i._beforeTailState._value:this.value;var r=this.rawInputValue;var s=i.tail&&i._beforeTailState!=null?i._beforeTailState._rawInputValue:r;var u=r.slice(s.length);var o=this.currentMask;var a=new Z;var l=o==null?void 0:o.state;this.currentMask=this.doDispatch(t,__assign({},i),e);if(this.currentMask){if(this.currentMask!==o){this.currentMask.reset();if(s){this.currentMask.append(s,{raw:true});a.tailShift=this.currentMask.value.length-n.length}if(u){a.tailShift+=this.currentMask.append(u,{raw:true,tail:true}).tailShift}}else if(l){this.currentMask.state=l}}return a};i.prototype._appendPlaceholder=function(){var t=this._applyDispatch();if(this.currentMask){t.aggregate(this.currentMask._appendPlaceholder())}return t};i.prototype._appendEager=function(){var t=this._applyDispatch();if(this.currentMask){t.aggregate(this.currentMask._appendEager())}return t};i.prototype.appendTail=function(i){var e=new Z;if(i)e.aggregate(this._applyDispatch("",{},i));return e.aggregate(this.currentMask?this.currentMask.appendTail(i):t.prototype.appendTail.call(this,i))};i.prototype.currentMaskFlags=function(t){var i,e;return __assign(__assign({},t),{_beforeTailState:((i=t._beforeTailState)==null?void 0:i.currentMaskRef)===this.currentMask&&((e=t._beforeTailState)==null?void 0:e.currentMask)||t._beforeTailState})};i.prototype.doDispatch=function(t,i,e){if(i===void 0){i={}}if(e===void 0){e=""}return this.dispatch(t,this,i,e)};i.prototype.doValidate=function(i){return t.prototype.doValidate.call(this,i)&&(!this.currentMask||this.currentMask.doValidate(this.currentMaskFlags(i)))};i.prototype.doPrepare=function(i,e){var n;if(e===void 0){e={}}var r=t.prototype.doPrepare.call(this,i,e),s=r[0],u=r[1];if(this.currentMask){var o=void 0;n=t.prototype.doPrepare.call(this,s,this.currentMaskFlags(e)),s=n[0],o=n[1];u=u.aggregate(o)}return[s,u]};i.prototype.doPrepareChar=function(i,e){var n;if(e===void 0){e={}}var r=t.prototype.doPrepareChar.call(this,i,e),s=r[0],u=r[1];if(this.currentMask){var o=void 0;n=t.prototype.doPrepareChar.call(this,s,this.currentMaskFlags(e)),s=n[0],o=n[1];u=u.aggregate(o)}return[s,u]};i.prototype.reset=function(){var t;(t=this.currentMask)==null||t.reset();this.compiledMasks.forEach((function(t){return t.reset()}))};Object.defineProperty(i.prototype,"value",{get:function(){return this.exposeMask?this.exposeMask.value:this.currentMask?this.currentMask.value:""},set:function(i){if(this.exposeMask){this.exposeMask.value=i;this.currentMask=this.exposeMask;this._applyDispatch()}else t.prototype.value=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"unmaskedValue",{get:function(){return this.exposeMask?this.exposeMask.unmaskedValue:this.currentMask?this.currentMask.unmaskedValue:""},set:function(i){if(this.exposeMask){this.exposeMask.unmaskedValue=i;this.currentMask=this.exposeMask;this._applyDispatch()}else t.prototype.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.exposeMask?this.exposeMask.typedValue:this.currentMask?this.currentMask.typedValue:""},set:function(t){if(this.exposeMask){this.exposeMask.typedValue=t;this.currentMask=this.exposeMask;this._applyDispatch();return}var i=String(t);if(this.currentMask){this.currentMask.typedValue=t;i=this.currentMask.unmaskedValue}this.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"displayValue",{get:function(){return this.currentMask?this.currentMask.displayValue:""},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isComplete",{get:function(){var t;return Boolean((t=this.currentMask)==null?void 0:t.isComplete)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"isFilled",{get:function(){var t;return Boolean((t=this.currentMask)==null?void 0:t.isFilled)},enumerable:false,configurable:true});i.prototype.remove=function(t,i){var e=new Z;if(this.currentMask){e.aggregate(this.currentMask.remove(t,i)).aggregate(this._applyDispatch())}return e};Object.defineProperty(i.prototype,"state",{get:function(){var i;return __assign(__assign({},t.prototype.state),{_rawInputValue:this.rawInputValue,compiledMasks:this.compiledMasks.map((function(t){return t.state})),currentMaskRef:this.currentMask,currentMask:(i=this.currentMask)==null?void 0:i.state})},set:function(i){var e=i.compiledMasks,n=i.currentMaskRef,r=i.currentMask,s=__rest(i,["compiledMasks","currentMaskRef","currentMask"]);if(e)this.compiledMasks.forEach((function(t,i){return t.state=e[i]}));if(n!=null){this.currentMask=n;this.currentMask.state=r}t.prototype.state=s},enumerable:false,configurable:true});i.prototype.extractInput=function(t,i,e){return this.currentMask?this.currentMask.extractInput(t,i,e):""};i.prototype.extractTail=function(i,e){return this.currentMask?this.currentMask.extractTail(i,e):t.prototype.extractTail.call(this,i,e)};i.prototype.doCommit=function(){if(this.currentMask)this.currentMask.doCommit();t.prototype.doCommit.call(this)};i.prototype.nearestInputPos=function(i,e){return this.currentMask?this.currentMask.nearestInputPos(i,e):t.prototype.nearestInputPos.call(this,i,e)};Object.defineProperty(i.prototype,"overwrite",{get:function(){return this.currentMask?this.currentMask.overwrite:this._overwrite},set:function(t){this._overwrite=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"eager",{get:function(){return this.currentMask?this.currentMask.eager:this._eager},set:function(t){this._eager=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"skipInvalid",{get:function(){return this.currentMask?this.currentMask.skipInvalid:this._skipInvalid},set:function(t){this._skipInvalid=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"autofix",{get:function(){return this.currentMask?this.currentMask.autofix:this._autofix},set:function(t){this._autofix=t},enumerable:false,configurable:true});i.prototype.maskEquals=function(i){return Array.isArray(i)?this.compiledMasks.every((function(t,e){if(!i[e])return;var n=i[e],r=n.mask,s=__rest(n,["mask"]);return E(t,s)&&t.maskEquals(r)})):t.prototype.maskEquals.call(this,i)};i.prototype.typedValueEquals=function(t){var i;return Boolean((i=this.currentMask)==null?void 0:i.typedValueEquals(t))};return i}(q);it.DEFAULTS=__assign(__assign({},q.DEFAULTS),{dispatch:function(t,i,e,n){if(!i.compiledMasks.length)return;var r=i.rawInputValue;var s=i.compiledMasks.map((function(s,u){var o=i.currentMask===s;var a=o?s.displayValue.length:s.nearestInputPos(s.displayValue.length,F.FORCE_LEFT);if(s.rawInputValue!==r){s.reset();s.append(r,{raw:true})}else if(!o){s.remove(a)}s.append(t,i.currentMaskFlags(e));s.appendTail(n);return{index:u,weight:s.rawInputValue.length,totalInputPositions:s.totalInputPositions(0,Math.max(a,s.nearestInputPos(s.displayValue.length,F.FORCE_LEFT)))}}));s.sort((function(t,i){return i.weight-t.weight||i.totalInputPositions-t.totalInputPositions}));return i.compiledMasks[s[0].index]}});j.MaskedDynamic=it;var et=function(t){__extends(i,t);function i(e){return t.call(this,__assign(__assign({},i.DEFAULTS),e))||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e=i.enum,n=__rest(i,["enum"]);if(e){var r=e.map((function(t){return t.length}));var s=Math.min.apply(Math,r);var u=Math.max.apply(Math,r)-s;n.mask="*".repeat(s);if(u)n.mask+="["+"*".repeat(u)+"]";this.enum=e}t.prototype._update.call(this,n)};i.prototype._appendCharRaw=function(i,e){var n=this;if(e===void 0){e={}}var r=Math.min(this.nearestInputPos(0,F.FORCE_RIGHT),this.value.length);var s=this.enum.filter((function(t){return n.matchValue(t,n.unmaskedValue+i,r)}));if(s.length){if(s.length===1){this._forEachBlocksInRange(0,this.value.length,(function(t,i){var r=s[0][i];if(i>=n.value.length||r===t.value)return;t.reset();t._appendChar(r,e)}))}var u=t.prototype._appendCharRaw.call(this,s[0][this.value.length],e);if(s.length===1){s[0].slice(this.unmaskedValue.length).split("").forEach((function(i){return u.aggregate(t.prototype._appendCharRaw.call(n,i))}))}return u}return new Z({skip:!this.isComplete})};i.prototype.extractTail=function(t,i){if(t===void 0){t=0}return new W("",t)};i.prototype.remove=function(i,e){var n=this;if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}if(i===e)return new Z;var r=Math.min(t.prototype.nearestInputPos.call(this,0,F.FORCE_RIGHT),this.value.length);var s;for(s=i;s>=0;--s){var u=this.enum.filter((function(t){return n.matchValue(t,n.value.slice(r,s),r)}));if(u.length>1)break}var o=t.prototype.remove.call(this,s,e);o.tailShift+=s-i;return o};Object.defineProperty(i.prototype,"isComplete",{get:function(){return this.enum.indexOf(this.value)>=0},enumerable:false,configurable:true});return i}(X);et.DEFAULTS=__assign(__assign({},X.DEFAULTS),{matchValue:function(t,i,e){return t.indexOf(i,e)===e}});j.MaskedEnum=et;var nt=function(t){__extends(i,t);function i(){return t!==null&&t.apply(this,arguments)||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){t.prototype._update.call(this,__assign(__assign({},i),{validate:i.mask}))};return i}(q);j.MaskedFunction=nt;var rt;var st=function(t){__extends(i,t);function i(e){return t.call(this,__assign(__assign({},i.DEFAULTS),e))||this}i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){t.prototype._update.call(this,i);this._updateRegExps()};i.prototype._updateRegExps=function(){var t="^"+(this.allowNegative?"[+|\\-]?":"");var i="\\d*";var e=(this.scale?"("+B(this.radix)+"\\d{0,"+this.scale+"})?":"")+"$";this._numberRegExp=new RegExp(t+i+e);this._mapToRadixRegExp=new RegExp("["+this.mapToRadix.map(B).join("")+"]","g");this._thousandsSeparatorRegExp=new RegExp(B(this.thousandsSeparator),"g")};i.prototype._removeThousandsSeparators=function(t){return t.replace(this._thousandsSeparatorRegExp,"")};i.prototype._insertThousandsSeparators=function(t){var i=t.split(this.radix);i[0]=i[0].replace(/\B(?=(\d{3})+(?!\d))/g,this.thousandsSeparator);return i.join(this.radix)};i.prototype.doPrepareChar=function(i,e){if(e===void 0){e={}}var n=t.prototype.doPrepareChar.call(this,this._removeThousandsSeparators(this.scale&&this.mapToRadix.length&&(e.input&&e.raw||!e.input&&!e.raw)?i.replace(this._mapToRadixRegExp,this.radix):i),e),r=n[0],s=n[1];if(i&&!r)s.skip=true;if(r&&!this.allowPositive&&!this.value&&r!=="-")s.aggregate(this._appendChar("-"));return[r,s]};i.prototype._separatorsCount=function(t,i){if(i===void 0){i=false}var e=0;for(var n=0;n<t;++n){if(this._value.indexOf(this.thousandsSeparator,n)===n){++e;if(i)t+=this.thousandsSeparator.length}}return e};i.prototype._separatorsCountFromSlice=function(t){if(t===void 0){t=this._value}return this._separatorsCount(this._removeThousandsSeparators(t).length,true)};i.prototype.extractInput=function(i,e,n){var r;if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}r=this._adjustRangeWithSeparators(i,e),i=r[0],e=r[1];return this._removeThousandsSeparators(t.prototype.extractInput.call(this,i,e,n))};i.prototype._appendCharRaw=function(t,e){if(e===void 0){e={}}var n=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value;var r=this._separatorsCountFromSlice(n);this._value=this._removeThousandsSeparators(this.value);var s=this._value;this._value+=t;var u=this.number;var o=!isNaN(u);var a=false;if(o){var l=void 0;if(this.min!=null&&this.min<0&&this.number<this.min)l=this.min;if(this.max!=null&&this.max>0&&this.number>this.max)l=this.max;if(l!=null){if(this.autofix){this._value=this.format(l,this).replace(i.UNMASKED_RADIX,this.radix);a||(a=s===this._value&&!e.tail)}else{o=false}}o&&(o=Boolean(this._value.match(this._numberRegExp)))}var c;if(!o){this._value=s;c=new Z}else{c=new Z({inserted:this._value.slice(s.length),rawInserted:a?"":t,skip:a})}this._value=this._insertThousandsSeparators(this._value);var f=e.tail&&e._beforeTailState?e._beforeTailState._value:this._value;var h=this._separatorsCountFromSlice(f);c.tailShift+=(h-r)*this.thousandsSeparator.length;return c};i.prototype._findSeparatorAround=function(t){if(this.thousandsSeparator){var i=t-this.thousandsSeparator.length+1;var e=this.value.indexOf(this.thousandsSeparator,i);if(e<=t)return e}return-1};i.prototype._adjustRangeWithSeparators=function(t,i){var e=this._findSeparatorAround(t);if(e>=0)t=e;var n=this._findSeparatorAround(i);if(n>=0)i=n+this.thousandsSeparator.length;return[t,i]};i.prototype.remove=function(t,i){var e;if(t===void 0){t=0}if(i===void 0){i=this.displayValue.length}e=this._adjustRangeWithSeparators(t,i),t=e[0],i=e[1];var n=this.value.slice(0,t);var r=this.value.slice(i);var s=this._separatorsCount(n.length);this._value=this._insertThousandsSeparators(this._removeThousandsSeparators(n+r));var u=this._separatorsCountFromSlice(n);return new Z({tailShift:(u-s)*this.thousandsSeparator.length})};i.prototype.nearestInputPos=function(t,i){if(!this.thousandsSeparator)return t;switch(i){case F.NONE:case F.LEFT:case F.FORCE_LEFT:{var e=this._findSeparatorAround(t-1);if(e>=0){var n=e+this.thousandsSeparator.length;if(t<n||this.value.length<=n||i===F.FORCE_LEFT){return e}}break}case F.RIGHT:case F.FORCE_RIGHT:{var r=this._findSeparatorAround(t);if(r>=0){return r+this.thousandsSeparator.length}}}return t};i.prototype.doCommit=function(){if(this.value){var i=this.number;var e=i;if(this.min!=null)e=Math.max(e,this.min);if(this.max!=null)e=Math.min(e,this.max);if(e!==i)this.unmaskedValue=this.format(e,this);var n=this.value;if(this.normalizeZeros)n=this._normalizeZeros(n);if(this.padFractionalZeros&&this.scale>0)n=this._padFractionalZeros(n);this._value=n}t.prototype.doCommit.call(this)};i.prototype._normalizeZeros=function(t){var i=this._removeThousandsSeparators(t).split(this.radix);i[0]=i[0].replace(/^(\D*)(0*)(\d*)/,(function(t,i,e,n){return i+n}));if(t.length&&!/\d$/.test(i[0]))i[0]=i[0]+"0";if(i.length>1){i[1]=i[1].replace(/0*$/,"");if(!i[1].length)i.length=1}return this._insertThousandsSeparators(i.join(this.radix))};i.prototype._padFractionalZeros=function(t){if(!t)return t;var i=t.split(this.radix);if(i.length<2)i.push("");i[1]=i[1].padEnd(this.scale,"0");return i.join(this.radix)};i.prototype.doSkipInvalid=function(e,n,r){if(n===void 0){n={}}var s=this.scale===0&&e!==this.thousandsSeparator&&(e===this.radix||e===i.UNMASKED_RADIX||this.mapToRadix.includes(e));return t.prototype.doSkipInvalid.call(this,e,n,r)&&!s};Object.defineProperty(i.prototype,"unmaskedValue",{get:function(){return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix,i.UNMASKED_RADIX)},set:function(i){t.prototype.unmaskedValue=i},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"typedValue",{get:function(){return this.parse(this.unmaskedValue,this)},set:function(t){this.rawInputValue=this.format(t,this).replace(i.UNMASKED_RADIX,this.radix)},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"number",{get:function(){return this.typedValue},set:function(t){this.typedValue=t},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"allowNegative",{get:function(){return this.min!=null&&this.min<0||this.max!=null&&this.max<0},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"allowPositive",{get:function(){return this.min!=null&&this.min>0||this.max!=null&&this.max>0},enumerable:false,configurable:true});i.prototype.typedValueEquals=function(e){return(t.prototype.typedValueEquals.call(this,e)||i.EMPTY_VALUES.includes(e)&&i.EMPTY_VALUES.includes(this.typedValue))&&!(e===0&&this.value==="")};return i}(q);rt=st;st.UNMASKED_RADIX=".";st.EMPTY_VALUES=__spreadArray(__spreadArray([],q.EMPTY_VALUES,true),[0],false);st.DEFAULTS=__assign(__assign({},q.DEFAULTS),{mask:Number,radix:",",thousandsSeparator:"",mapToRadix:[rt.UNMASKED_RADIX],min:Number.MIN_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,scale:2,normalizeZeros:true,padFractionalZeros:false,parse:Number,format:function(t){return t.toLocaleString("en-US",{useGrouping:false,maximumFractionDigits:20})}});j.MaskedNumber=st;var ut={MASKED:"value",UNMASKED:"unmaskedValue",TYPED:"typedValue"};function ot(t,i,e){if(i===void 0){i=ut.MASKED}if(e===void 0){e=ut.MASKED}var n=L(t);return function(t){return n.runIsolated((function(n){n[i]=t;return n[e]}))}}function at(t,i,e,n){return ot(i,e,n)(t)}j.PIPE_TYPE=ut;j.createPipe=ot;j.pipe=at;var lt=function(t){__extends(i,t);function i(i){return t.call(this,i)||this}Object.defineProperty(i.prototype,"repeatFrom",{get:function(){var t;return(t=Array.isArray(this.repeat)?this.repeat[0]:this.repeat===Infinity?0:this.repeat)!=null?t:0},enumerable:false,configurable:true});Object.defineProperty(i.prototype,"repeatTo",{get:function(){var t;return(t=Array.isArray(this.repeat)?this.repeat[1]:this.repeat)!=null?t:Infinity},enumerable:false,configurable:true});i.prototype.updateOptions=function(i){t.prototype.updateOptions.call(this,i)};i.prototype._update=function(i){var e,n,r;var s=M(i),u=s.repeat,o=__rest(s,["repeat"]);this._blockOpts=Object.assign({},this._blockOpts,o);var a=L(this._blockOpts);this.repeat=(e=(n=u!=null?u:a.repeat)!=null?n:this.repeat)!=null?e:Infinity;t.prototype._update.call(this,{mask:"m".repeat(Math.max(this.repeatTo===Infinity&&((r=this._blocks)==null?void 0:r.length)||0,this.repeatFrom)),blocks:{m:a},eager:a.eager,overwrite:a.overwrite,skipInvalid:a.skipInvalid,lazy:a.lazy,placeholderChar:a.placeholderChar,displayChar:a.displayChar})};i.prototype._allocateBlock=function(t){if(t<this._blocks.length)return this._blocks[t];if(this.repeatTo===Infinity||this._blocks.length<this.repeatTo){this._blocks.push(L(this._blockOpts));this.mask+="m";return this._blocks[this._blocks.length-1]}};i.prototype._appendCharRaw=function(t,i){if(i===void 0){i={}}var e=new Z;for(var n=(u=(o=this._mapPosToBlock(this.displayValue.length))==null?void 0:o.index)!=null?u:Math.max(this._blocks.length-1,0),r=void 0,s=void 0;r=(a=this._blocks[n])!=null?a:s=!s&&this._allocateBlock(n);++n){var u,o,a,l;var c=r._appendChar(t,__assign(__assign({},i),{_beforeTailState:(l=i._beforeTailState)==null||(l=l._blocks)==null?void 0:l[n]}));if(c.skip&&s){this._blocks.pop();this.mask=this.mask.slice(1);break}e.aggregate(c);if(c.consumed)break}return e};i.prototype._trimEmptyTail=function(t,i){var e,n;if(t===void 0){t=0}var r=Math.max(((e=this._mapPosToBlock(t))==null?void 0:e.index)||0,this.repeatFrom,0);var s;if(i!=null)s=(n=this._mapPosToBlock(i))==null?void 0:n.index;if(s==null)s=this._blocks.length-1;var u=0;for(var o=s;r<=o;--o,++u){if(this._blocks[o].unmaskedValue)break}if(u){this._blocks.splice(s-u+1,u);this.mask=this.mask.slice(u)}};i.prototype.reset=function(){t.prototype.reset.call(this);this._trimEmptyTail()};i.prototype.remove=function(i,e){if(i===void 0){i=0}if(e===void 0){e=this.displayValue.length}var n=t.prototype.remove.call(this,i,e);this._trimEmptyTail(i,e);return n};i.prototype.totalInputPositions=function(i,e){if(i===void 0){i=0}if(e==null&&this.repeatTo===Infinity)return Infinity;return t.prototype.totalInputPositions.call(this,i,e)};Object.defineProperty(i.prototype,"state",{get:function(){return t.prototype.state},set:function(i){this._blocks.length=i._blocks.length;this.mask=this.mask.slice(0,this._blocks.length);t.prototype.state=i},enumerable:false,configurable:true});return i}(X);j.RepeatBlock=lt;try{globalThis.IMask=j}catch(t){}var ct='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-kba-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-kba-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:10px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-kba-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-kba-dialog .step{margin-left:6px;color:#666}verdocs-kba-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-kba-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-kba-dialog .help-icon{width:40px;height:40px}verdocs-kba-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-kba-dialog .help-text{font-weight:400}verdocs-kba-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-kba-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-kba-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-kba-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-kba-dialog .field label{margin-top:4px;-ms-flex:0 0 120px;flex:0 0 120px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-kba-dialog .field verdocs-date-input{width:40%;-ms-flex-positive:1;flex-grow:1}verdocs-kba-dialog .field verdocs-date-input input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-kba-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-kba-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-kba-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;font-size:14px;padding:0 5px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-kba-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-kba-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-kba-dialog .buttons verdocs-button{margin-left:16px}';var ft={AL:"Alabama",AK:"Alaska",AS:"American Samoa",AZ:"Arizona",AR:"Arkansas",CA:"California",CO:"Colorado",CT:"Connecticut",DE:"Delaware",DC:"District Of Columbia",FM:"Federated States Of Micronesia",FL:"Florida",GA:"Georgia",GU:"Guam",HI:"Hawaii",ID:"Idaho",IL:"Illinois",IN:"Indiana",IA:"Iowa",KS:"Kansas",KY:"Kentucky",LA:"Louisiana",ME:"Maine",MH:"Marshall Islands",MD:"Maryland",MA:"Massachusetts",MI:"Michigan",MN:"Minnesota",MS:"Mississippi",MO:"Missouri",MT:"Montana",NE:"Nebraska",NV:"Nevada",NH:"New Hampshire",NJ:"New Jersey",NM:"New Mexico",NY:"New York",NC:"North Carolina",ND:"North Dakota",MP:"Northern Mariana Islands",OH:"Ohio",OK:"Oklahoma",OR:"Oregon",PW:"Palau",PA:"Pennsylvania",PR:"Puerto Rico",RI:"Rhode Island",SC:"South Carolina",SD:"South Dakota",TN:"Tennessee",TX:"Texas",UT:"Utah",VT:"Vermont",VI:"Virgin Islands",VA:"Virginia",WA:"Washington",WV:"West Virginia",WI:"Wisconsin",WY:"Wyoming"};var ht=Object.entries(ft).map((function(t){var i=t[0],e=t[1];return{value:i,label:e}}));var dt='<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z" fill="white"/><path d="M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z" fill="#E7E7E7"/></svg>';var vt=t("verdocs_kba_dialog",function(){function t(t){i(this,t);this.exit=e(this,"exit");this.pinEntered=e(this,"pinEntered");this.next=e(this,"next");this.step=1;this.steps=3;this.helptitle="Previous Addresses";this.helptext="Please select the address below that you have most recently lived at.";this.mode="choice";this.label="PIN";this.placeholder="Enter your PIN...";this.recipient=null;this.choices=["553 Arbor Dr","18 Lacey Ln","23A Ball Ct","2375 Cavallo Blvd","23-1 RR-7","151 Boulder Rd"];this.agreed=false;this.response="";this.updatedRecipient=null;this.dobContainerId="verdocs-date-input-".concat(Math.random().toString(36).substring(2,11))}t.prototype.componentWillLoad=function(){this.updatedRecipient=__assign({},this.recipient||{})};t.prototype.componentDidRender=function(){j(document.getElementById(this.dobContainerId),{mask:Date,min:new Date(1920,0,1),max:new Date(2007,12,31),lazy:false,pattern:"m/d/Y",format:function(t){var i=t.getDate();var e=t.getMonth()+1;var n=t.getFullYear();if(i<10)i="0"+i;if(e<10)e="0"+e;return[e,i,n].join("/")},parse:function(t){var i=t.split("/");return new Date(i[2],i[0]-1,i[1])}})};t.prototype.handleCancel=function(){this.exit.emit()};t.prototype.handleDismiss=function(t){if(t.target.class==="background-overlay"){t.preventDefault();this.handleCancel()}};t.prototype.handleDone=function(){this.next.emit(this.response);this.response=""};t.prototype.handleConfirmID=function(){console.log("Confirm ID",this.updatedRecipient);this.next.emit(this.updatedRecipient)};t.prototype.render=function(){var t=this;var i,e,u,o,a,l,c,f,h,d,v,b,g,p;if(this.mode==="choice"){return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Confirm Your Identity",this.steps>1?n("span",{class:"step"},"(",this.step,"/",this.steps,")"):n(r,null)),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:dt}),n("div",{class:"help-details"},n("div",{class:"help-title"},this.helptitle),n("div",{class:"help-text"},this.helptext))),n("div",{class:"choices"},this.choices.map((function(i){return n("div",{class:"choice ".concat(i===t.response?"selected":""),onClick:function(){console.log("Selected",i);t.response=i}},i)}))),n("div",{class:"buttons"},n("verdocs-button",{label:"Cancel",variant:"outline",onClick:function(){return t.handleCancel()}}),n("verdocs-button",{label:this.step<this.steps?"Next":"Submit",onClick:function(){return t.handleDone()},disabled:!this.response})))))}if(this.mode==="identity"){return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Confirm Your Identity"),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-first"},"Your Name:",n("span",{class:"required"},"*")),n("input",{required:true,type:"text",id:"verdocs-kba-first",name:"verdocs-kba-first",placeholder:"First name...",value:(i=this.updatedRecipient)===null||i===void 0?void 0:i.first_name,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{first_name:i.target.value})}}),n("input",{type:"text",id:"verdocs-kba-last",name:"verdocs-kba-last",placeholder:"Last name...",required:true,value:(e=this.updatedRecipient)===null||e===void 0?void 0:e.last_name,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{last_name:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-address"},"Address:",n("span",{class:"required"},"*")),n("input",{type:"text",id:"verdocs-kba-address",name:"verdocs-kba-address",placeholder:"Address...",value:(u=this.updatedRecipient)===null||u===void 0?void 0:u.address,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{address:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-city"},"City:"),n("input",{type:"text",id:"verdocs-kba-city",name:"verdocs-kba-city",placeholder:"City...",value:(o=this.updatedRecipient)===null||o===void 0?void 0:o.city,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{city:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-state"},"State:"),n("verdocs-select-input",{options:ht,value:(a=this.updatedRecipient)===null||a===void 0?void 0:a.state,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{state:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-zip"},"Zip Code:",n("span",{class:"required"},"*")),n("input",{type:"text",id:"verdocs-kba-zip",name:"verdocs-kba-zip",placeholder:"Zip Code...",required:true,value:(l=this.updatedRecipient)===null||l===void 0?void 0:l.zip,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{zip:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:"verdocs-kba-ssn"},"SSN Last 4:",n("span",{class:"required"},"*")),n("input",{type:"text",id:"verdocs-kba-ssn",name:"verdocs-kba-ssn",placeholder:"Last 4 digits of your Social Security Number...",required:true,value:(c=this.updatedRecipient)===null||c===void 0?void 0:c.ssn_last_4,onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{ssn_last_4:i.target.value})}})),n("div",{class:"field"},n("label",{htmlFor:this.dobContainerId},"Date of Birth:",n("span",{class:"required"},"*")),n("input",{type:"text",value:((f=this.updatedRecipient)===null||f===void 0?void 0:f.dob)||"",id:this.dobContainerId,placeholder:"DOB...",onInput:function(i){return t.updatedRecipient=__assign(__assign({},t.updatedRecipient),{dob:i.target.value})}})),n("div",{class:"field"},n("label",null),n("verdocs-checkbox",{id:"verdocs-kba-agree",name:"verdocs-kba-agree",checked:this.agreed,onInput:function(i){return t.agreed=i.target.checked}}),n("span",null,"I agree to provide my personal information in order to validate my identity.")),n("div",{class:"buttons"},n("verdocs-button",{label:"Submit",onClick:function(){return t.handleConfirmID()},disabled:!this.agreed||!((h=this.updatedRecipient)===null||h===void 0?void 0:h.first_name)||!((d=this.updatedRecipient)===null||d===void 0?void 0:d.last_name)||!((v=this.updatedRecipient)===null||v===void 0?void 0:v.address)||!((b=this.updatedRecipient)===null||b===void 0?void 0:b.zip)||!((g=this.updatedRecipient)===null||g===void 0?void 0:g.ssn_last_4)||!((p=this.updatedRecipient)===null||p===void 0?void 0:p.dob)})))))}return n(s,null,n("div",{class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{class:"dialog"},n("div",{class:"heading"},"Please Confirm Your Identity",this.steps>1?n("span",{class:"step"},"(",this.step,"/",this.steps,")"):n(r,null)),!!this.helptitle&&n("div",{class:"help-box"},n("div",{class:"help-icon",innerHTML:dt}),n("div",{class:"help-details"},n("div",{class:"help-title"},this.helptitle),n("div",{class:"help-text"},this.helptext))),n("div",{class:"input"},n("label",{htmlFor:"verdocs-kba-input"},this.label),n("input",{type:"text",id:"verdocs-kba-input",name:"verdocs-kba-input",placeholder:this.placeholder,value:this.response,onInput:function(i){return t.response=i.target.value}})),n("div",{class:"buttons"},n("verdocs-button",{label:"Cancel",variant:"outline",onClick:function(){return t.handleCancel()}}),n("verdocs-button",{label:"Submit",onClick:function(){return t.handleDone()},disabled:!this.response})))))};return t}());vt.style=ct;var bt='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-otp-dialog{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-otp-dialog div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-otp-dialog .background-overlay{position:fixed;z-index:10000;top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;background:rgba(0, 0, 0, 0.4980392157)}verdocs-otp-dialog .dialog{width:440px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;border-radius:4px;overflow:hidden;background:#fff;padding:16px;gap:10px;-webkit-box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4);box-shadow:3px 3px 5px 1px rgba(40, 40, 40, 0.4)}verdocs-otp-dialog .heading{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;font-size:20px;font-weight:500}verdocs-otp-dialog .step{margin-left:6px;color:#666}verdocs-otp-dialog .help-box{background-color:#707ae5;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;padding:14px;-ms-flex-align:center;align-items:center;color:white}verdocs-otp-dialog .help-details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-left:15px;font-size:14px}verdocs-otp-dialog .help-icon{width:40px;height:40px}verdocs-otp-dialog .help-title{font-weight:600;margin-bottom:4px}verdocs-otp-dialog .help-text{font-weight:400}verdocs-otp-dialog .input{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;gap:10px;-ms-flex-align:center;align-items:center;margin:16px 0 32px}verdocs-otp-dialog .input label{-ms-flex:0;flex:0;line-height:10px;font-weight:500;white-space:nowrap}verdocs-otp-dialog .input input{-ms-flex:1;flex:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-otp-dialog .field{gap:10px;margin:0;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;max-width:100%}verdocs-otp-dialog .field .required{color:red;position:relative;top:-0.5em;font-size:80%}verdocs-otp-dialog .field label{-ms-flex:0 0 120px;flex:0 0 120px;font-weight:500;line-height:10px;text-align:right;white-space:nowrap}verdocs-otp-dialog .field verdocs-date-input{width:40%;-ms-flex-positive:1;flex-grow:1}verdocs-otp-dialog .field verdocs-date-input input{width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-otp-dialog .field input{width:40%;-ms-flex-positive:1;flex-grow:1;padding:5px 8px;border-radius:3px;border:1px solid #cccccc}verdocs-otp-dialog .choices{display:grid;gap:15px;grid-template-columns:repeat(auto-fill, minmax(100px, 1fr));margin:0 0 15px 0}verdocs-otp-dialog .choice{border:1px solid #707ae5;border-radius:5px;display:-ms-flexbox;display:flex;height:60px;font-size:14px;padding:0 5px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;text-align:center;color:#5c6575;cursor:pointer}verdocs-otp-dialog .choice.selected{background-color:#707ae5;color:#ffffff}verdocs-otp-dialog .buttons{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-otp-dialog .buttons verdocs-button{margin-left:16px}';var gt='<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M20 0C8.95313 0 0 8.95313 0 20C0 31.0469 8.95313 40 20 40C31.0469 40 40 31.0469 40 20C40 8.95313 31.0469 0 20 0ZM20 36.25C11.0391 36.25 3.75 28.9602 3.75 20C3.75 11.0398 11.0391 3.75 20 3.75C28.9609 3.75 36.25 11.0398 36.25 20C36.25 28.9602 28.9609 36.25 20 36.25Z" fill="white"/><path d="M20 26.25C18.5938 26.25 17.5 27.3438 17.5 28.75C17.5 30.1562 18.5234 31.25 20 31.25C21.3359 31.25 22.5 30.1562 22.5 28.75C22.5 27.3438 21.3359 26.25 20 26.25ZM22.5859 10H18.5938C15.5469 10 13.125 12.4219 13.125 15.4688C13.125 16.4844 13.9844 17.3438 15 17.3438C16.0156 17.3438 16.875 16.4844 16.875 15.4688C16.875 14.5312 17.5859 13.75 18.5234 13.75H22.5156C23.5234 13.75 24.375 14.5312 24.375 15.4688C24.375 16.0938 24.0625 16.5703 23.5156 16.8828L19.0625 19.6094C18.4375 20 18.125 20.625 18.125 21.25V22.5C18.125 23.5156 18.9844 24.375 20 24.375C21.0156 24.375 21.875 23.5156 21.875 22.5V22.3438L25.3984 20.1562C27.0391 19.1406 28.0547 17.3438 28.0547 15.4688C28.125 12.4219 25.7031 10 22.5859 10Z" fill="#E7E7E7"/></svg>';var pt=t("verdocs_otp_dialog",function(){function t(t){i(this,t);this.exit=e(this,"exit");this.next=e(this,"next");this.resendTimeout=null;this.endpoint=o;this.method="email";this.recipient=null;this.resendDisabled=true;this.response=""}t.prototype.componentDidLoad=function(){var t=this;this.startResendTimeout();setTimeout((function(){a(t.endpoint,{auth_method:t.method,code:"",resend:true}).then((function(i){console.log("Resend result",i);t.response=""})).catch((function(t){return console.log("Error resending code",t)}))}),1e3)};t.prototype.disconnectedCallback=function(){if(this.resendTimeout){clearTimeout(this.resendTimeout);this.resendTimeout=null}};t.prototype.handleCancel=function(){this.exit.emit()};t.prototype.handleDismiss=function(t){if(t.target.class==="background-overlay"){t.preventDefault();this.handleCancel()}};t.prototype.startResendTimeout=function(){var t=this;this.resendDisabled=true;if(this.resendTimeout){clearTimeout(this.resendTimeout)}this.resendTimeout=setTimeout((function(){t.resendDisabled=false}),3e4)};t.prototype.handleResend=function(){var t=this;this.startResendTimeout();a(this.endpoint,{auth_method:this.method,code:"",resend:true}).then((function(i){console.log("Resend result",i);t.response="";g("A new code has been sent.")})).catch((function(t){return console.log("Error resending code",t)}))};t.prototype.handleSubmit=function(){var t=this;this.startResendTimeout();a(this.endpoint,{auth_method:this.method,code:this.response}).then((function(i){console.log("Verification completed",i);t.next.emit({response:i});g("Thank you. Your verification was successful.")})).catch((function(t){g("Invalid verification code. Please try again.");console.log("Invalid code",t)}));this.response=""};t.prototype.render=function(){var t=this;return n(s,{key:"887680162b69eee4befc4d4f31065b76c7edd2c2"},n("div",{key:"fe9fbc86ed4dd93d6d1bade28000ddeef1ef8693",class:"background-overlay",onClick:function(i){return t.handleDismiss(i)}},n("div",{key:"7f6cc1b3822f8e4880bc8502f8f8da64e8c431c8",class:"dialog"},n("div",{key:"8e79e8b175a247be9b1400f2ac11e5cf983d55d7",class:"heading"},"Verification Required"),n("div",{key:"0d2c17d0c8e83391d70a845b72fa4cbe88ecfe42",class:"help-box"},n("div",{key:"ed75f66afdcc074a2fd8fc28b9ecee7d45be6bed",class:"help-icon",innerHTML:gt}),n("div",{key:"d07fb54cade3868716d4376a59beebe7dcd81711",class:"help-details"},n("div",{key:"925ecbf704317aab3287d9cb4c47b6d93ef7d63d",class:"help-title"},"Please verify your email address"),n("div",{key:"5e26d9b58934b284b8a9342f4011d08571a41b34",class:"help-text"},"Check your email for a one-time code, and enter it below."))),n("div",{key:"764469591a1bb3a12a8eba286e4e8499144152fe",class:"input"},n("label",{key:"55bc83cc1bac9867495f076d579e93a2a4740aa8",htmlFor:"verdocs-otp-input"},"Code:"),n("input",{key:"0d4a79369618aecce96554a1bfc220f127a05851",type:"text",id:"verdocs-otp-input",name:"verdocs-otp-input",placeholder:"Enter your one-time code...",value:this.response,onInput:function(i){return t.response=i.target.value}})),n("div",{key:"d36eb23e1ba37035340e31fb920efa37934fda34",class:"buttons"},n("verdocs-button",{key:"0bb8c10e04c96f5e2cd5bb11a5e8cd8ae91f0dcc",label:"Cancel",variant:"outline",onClick:function(){return t.handleCancel()}}),n("verdocs-button",{key:"6db21040c54db994d9fe0e6eab2951a8b5799bde",label:"Resend",onClick:function(){return t.handleResend()},disabled:this.resendDisabled}),n("verdocs-button",{key:"6095d1abd1fe9f58eced48f938127805bfa5543d",label:"Submit",onClick:function(){return t.handleSubmit()},disabled:!this.response})))))};return t}());pt.style=bt;var xt='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-view{display:-ms-flexbox;display:flex;overflow:hidden;min-height:600px;position:relative;-ms-flex-align:center;align-items:center;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-view div,verdocs-view canvas{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-view .document{-ms-flex:1;flex:1;width:100%;height:100%;display:-ms-flexbox;display:flex;padding:15px;row-gap:15px;min-height:200px;max-width:1200px;position:relative;overflow-y:scroll;-ms-flex-align:center;align-items:center;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-direction:column;flex-direction:column}verdocs-view .document .inner{width:100%;max-width:1028px}verdocs-view .loading-indicator{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:10000;position:fixed;background-color:rgba(0, 0, 0, 0.7)}#verdocs-view-header{width:100%;color:#fff;display:-ms-flexbox;display:flex;z-index:1000;-ms-flex:0 0 56px;flex:0 0 56px;padding:0 20px;font-size:12px;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-webkit-transition:all 0.25s;transition:all 0.25s;background-color:#33354c;-webkit-box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12);box-shadow:0 4px 4px 0 rgba(0, 0, 0, 0.24), 0 0 4px 0 rgba(0, 0, 0, 0.12)}@media all and (max-width: 500px){#verdocs-view-header{padding:0 10px}}#verdocs-view-header .inner{width:100%;display:-ms-flexbox;display:flex;margin:0 auto;padding:0 20px;max-width:1200px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}@media all and (max-width: 500px){#verdocs-view-header .inner{padding:0 10px}}#verdocs-view-header .logo{width:80px;display:none;margin:-6px 0 0 0}#verdocs-view-header .title{font-size:18px;font-weight:500;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}';var mt=t("verdocs_view",function(){function t(t){i(this,t);this.sdkError=e(this,"sdkError");this.envelopeUpdated=e(this,"envelopeUpdated");this.another=e(this,"another");this.view=e(this,"view");this.next=e(this,"next");this.envelopeListenerId=null;this.endpoint=null;this.envelopeId="";this.headerTargetId=null;this.canceling=false;this.showCancelDone=false;this.showLoadError=false;this.loading=true;this.envelope=null}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t,i,e,n,r;return __generator(this,(function(s){switch(s.label){case 0:if(!this.endpoint){this.endpoint=l.getDefault();this.endpoint.loadSession()}if(!this.envelopeId){console.error("[VIEW] Missing required envelopeId");return[2]}this.listenToEnvelope();if(!!this.envelope)return[3,4];s.label=1;case 1:s.trys.push([1,3,,4]);console.log("[VIEW] Loading envelope...");n=this;return[4,c(this.endpoint,this.envelopeId)];case 2:n.envelope=s.sent();console.log("[VIEW] Loaded envelope",this.envelope);return[3,4];case 3:r=s.sent();this.showLoadError=true;(t=this.sdkError)===null||t===void 0?void 0:t.emit(new p(r.message,(i=r.response)===null||i===void 0?void 0:i.status,(e=r.response)===null||e===void 0?void 0:e.data));return[3,4];case 4:return[2]}}))}))};t.prototype.componentDidRender=function(){var t=this.headerTargetId?document.getElementById(this.headerTargetId):null;var i=document.getElementById("verdocs-view-header");if(t&&i){console.log("[VIEW] Moving header");i.remove();t.append(i)}};t.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};t.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){console.log("[SIDEBAR] Loading envelope",this.envelopeId);this.unlistenToEnvelope();x.subscribe("envelopes",this.envelopeId,(function(){return c(t.endpoint,t.envelopeId)}),true,(function(i){t.envelope=i;t.loading=false}));return[2]}))}))};t.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){x.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};t.prototype.handlePageRendered=function(t){};t.prototype.handleOptionSelected=function(t){return __awaiter(this,void 0,void 0,(function(){var i,e,n,r,s,u,s;var o=this;return __generator(this,(function(a){switch(a.label){case 0:n=t.detail.id;switch(n){case"cancel":return[3,1];case"print":return[3,2];case"download-attachments":return[3,3];case"download-certificate":return[3,6];case"download-all":return[3,9]}return[3,10];case 1:if(confirm("Are you sure you wish to cancel this envelope? This action cannot be undone.")){this.canceling=true;d(this.endpoint,this.envelopeId).then((function(t){o.canceling=false;console.log("[VIEW] Envelope canceled",t);return c(o.endpoint,o.envelopeId)})).then((function(t){console.log("[VIEW] Loaded new envelope details",t);o.envelope=t})).catch((function(t){var i,e,n;o.canceling=false;console.log("[VIEW] Error canceling envelope",t);(i=o.sdkError)===null||i===void 0?void 0:i.emit(new p(t.message,(e=t.response)===null||e===void 0?void 0:e.status,(n=t.response)===null||n===void 0?void 0:n.data))}));this.showCancelDone=true;(i=this.envelopeUpdated)===null||i===void 0?void 0:i.emit({endpoint:this.endpoint,envelope:this.envelope,event:"canceled"})}return[3,10];case 2:window.print();(e=this.envelopeUpdated)===null||e===void 0?void 0:e.emit({endpoint:this.endpoint,envelope:this.envelope,event:"printed"});return[3,10];case 3:r=this.envelope.documents.find((function(t){return t.type==="attachment"}));if(!r)return[3,5];return[4,h(this.endpoint,r.id)];case 4:s=a.sent();window.open(s,"_blank");a.label=5;case 5:return[3,10];case 6:u=this.envelope.documents.find((function(t){return t.type==="certificate"}));if(!u)return[3,8];return[4,h(this.endpoint,u.id)];case 7:s=a.sent();window.open(s,"_blank");a.label=8;case 8:return[3,10];case 9:f(this.endpoint,[this.envelope.id]).then((function(){var t;(t=o.envelopeUpdated)===null||t===void 0?void 0:t.emit({endpoint:o.endpoint,envelope:o.envelope,event:"downloaded"})})).catch((function(t){console.log("Error downloading Zip",t)}));return[3,10];case 10:return[2]}}))}))};t.prototype.render=function(){var t=this;var i;if(this.loading){return n(s,null,n("verdocs-loader",null))}if(this.showLoadError){return n(s,null,n("verdocs-ok-dialog",{heading:"Unable to View Envelope",message:"Sorry, that envelope is not valid.",buttonLabel:"OK",onNext:function(){t.showLoadError=false}}))}if(!this.envelope){return n(s,null,n("img",{src:"https://public-assets.verdocs.com/loading-placeholder.png",style:{width:"612px",height:"792px",boxShadow:"0 0 10px 5px #0000000f",marginTop:"15px"},alt:"Placeholder page"}))}var e=[{id:"print",label:"Print"}];if(v(this.endpoint.profile,this.envelope)){e.push({id:"cancel",label:"Cancel"})}var u=this.envelope.documents.length>0;var o=this.envelope.documents.filter((function(t){return t.type==="attachment"})).length;var a=this.envelope.documents.find((function(t){return t.type==="certificate"}))!==undefined;if(u||a){e.push({label:""});if(u){e.push({id:"download-attachments",label:o>1?"Download Documents":"Download Document"})}if(a){e.push({id:"download-certificate",label:"Download Certificate"})}if(u&&a){e.push({id:"download-all",label:"Download All Files"})}}return n(s,null,n("div",{id:"verdocs-view-header"},n("div",{class:"inner"},n("img",{src:"https://verdocs.com/assets/white-logo.svg",alt:"Verdocs Logo",class:"logo"}),n("div",{class:"title"},this.envelope.name),n("div",{style:{flex:"1"}}),n("div",{style:{marginLeft:"10px"}}),n("verdocs-dropdown",{options:e,onOptionSelected:function(i){return t.handleOptionSelected(i)}}))),n("div",{class:"document",style:{paddingTop:this.headerTargetId?"70px":"15px"}},(((i=this.envelope)===null||i===void 0?void 0:i.documents)||[]).filter((function(t){return t.type!=="certificate"})).map((function(i){var e=b(1,i.pages);return n(r,null,e.map((function(e){var r;var s=((r=i.page_sizes)===null||r===void 0?void 0:r[e])||{width:612,height:792};return n("verdocs-envelope-document-page",{envelopeId:t.envelopeId,documentId:i.id,endpoint:t.endpoint,type:"filled",virtualWidth:s.width,virtualHeight:s.height,pageNumber:e,onPageRendered:function(i){return t.handlePageRendered(i)},layers:[{name:"page",type:"canvas"},{name:"controls",type:"div"}]})})))}))),this.showCancelDone&&n("verdocs-ok-dialog",{heading:"Cancelled",message:"This envelope has been cancelled successfully.",onNext:function(){t.showCancelDone=false}}),this.canceling&&n("div",{class:"loading-indicator"},n("verdocs-loader",null)))};Object.defineProperty(t.prototype,"component",{get:function(){return u(this)},enumerable:false,configurable:true});return t}());mt.style=xt}}}));
2
- //# sourceMappingURL=p-098a275a.system.entry.js.map
@@ -1,2 +0,0 @@
1
- var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var i,n=1,t=arguments.length;n<t;n++){i=arguments[n];for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r))e[r]=i[r]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,i,n,t){function r(e){return e instanceof n?e:new n((function(i){i(e)}))}return new(n||(n=Promise))((function(n,o){function s(e){try{c(t.next(e))}catch(e){o(e)}}function l(e){try{c(t["throw"](e))}catch(e){o(e)}}function c(e){e.done?n(e.value):r(e.value).then(s,l)}c((t=t.apply(e,i||[])).next())}))};var __generator=this&&this.__generator||function(e,i){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},t,r,o,s;return s={next:l(0),throw:l(1),return:l(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function l(e){return function(i){return c([e,i])}}function c(l){if(t)throw new TypeError("Generator is already executing.");while(s&&(s=0,l[0]&&(n=0)),n)try{if(t=1,r&&(o=l[0]&2?r["return"]:l[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,l[1])).done)return o;if(r=0,o)l=[l[0]&2,o.value];switch(l[0]){case 0:case 1:o=l;break;case 4:n.label++;return{value:l[1],done:false};case 5:n.label++;r=l[1];l=[0];continue;case 7:l=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){n.label=l[1];break}if(l[0]===6&&n.label<o[1]){n.label=o[1];o=l;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(l);break}if(o[2])n.ops.pop();n.trys.pop();continue}l=i.call(e,n)}catch(e){l=[6,e];r=0}finally{t=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-gMXuliDq.system.js","@verdocs/js-sdk","./p-CrzDCQEM.system.js","./p-7Iu0_GGa.system.js","./p-CmnBGerV.system.js"],(function(e){"use strict";var i,n,t,r,o,s,l,c,a,u,d;return{setters:[function(e){i=e.r;n=e.c;t=e.h;r=e.H},function(e){o=e.VerdocsEndpoint;s=e.getEnvelope;l=e.getInPersonLink;c=e.formatFullName},function(e){a=e.V},function(e){u=e.S},function(e){d=e.S}],execute:function(){var p='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-recipient-link{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:100000;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:"Inter", "Barlow", sans-serif;background-color:rgba(0, 0, 0, 0.4980392157)}verdocs-envelope-recipient-link .summary-content{width:600px;display:-ms-flexbox;display:flex;max-width:90%;font-size:18px;-ms-flex:0 0 600px;flex:0 0 600px;border-radius:6px;background:#ffffff;-ms-flex-direction:column;flex-direction:column;padding:30px 20px 20px}verdocs-envelope-recipient-link .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-recipient-link .summary-recipient{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-recipient-link .summary-recipient .role-name{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;font-size:14px;font-weight:600;margin:0 0 8px 0;color:#092c4c}verdocs-envelope-recipient-link .summary-recipient .role-info{gap:5px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:end;align-items:flex-end}verdocs-envelope-recipient-link .summary-recipient .role-full-name{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #cccccc;background:rgb(249, 250, 251)}verdocs-envelope-recipient-link .summary-recipient .recipient-link{width:120px;padding:0 16px;font-weight:500;margin:0 0 0 8px;text-align:center;font-size:0.875rem;border-radius:100%;color:rgb(55, 65, 81);line-height:1.25rem;background-color:#d8d8d8;border:2px solid rgb(156, 163, 175)}verdocs-envelope-recipient-link .summary-recipient .link-wrapper{gap:5px;display:-ms-flexbox;display:flex;margin:4px 0 0 0;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-recipient-link .summary-recipient .link-wrapper .link{-ms-flex:1;flex:1;height:34px;display:-ms-flexbox;display:flex;font-size:16px;padding:0 12px;overflow:hidden;margin:0 6px 0 0;border-radius:4px;white-space:nowrap;-ms-flex-align:center;align-items:center;text-overflow:ellipsis;border:1px solid #cccccc;background:rgb(249, 250, 251)}verdocs-envelope-recipient-link .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;margin:10px 0 0 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-envelope-recipient-link .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-recipient-link .buttons verdocs-button button{width:100%}';var f=e("verdocs_envelope_recipient_link",function(){function e(e){i(this,e);this.next=n(this,"next");this.sdkError=n(this,"sdkError");this.envelopeListenerId=null;this.endpoint=o.getDefault();this.envelopeId="";this.roleName="";this.gettingLink=true;this.link="";this.loading=true;this.envelope=null;this.recipient=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(t){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[RECIPIENT_LINK] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[RECIPIENT_LINK] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(t){console.log("[RECIPIENT_LINK] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new u(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(n=t.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[RECIPIENT_LINK] Loading envelope",this.envelopeId);this.unlistenToEnvelope();d.subscribe("envelopes",this.envelopeId,(function(){return s(e.endpoint,e.envelopeId)}),false,(function(i){var n;e.envelope=i;e.loading=false;e.recipient=(((n=e.envelope)===null||n===void 0?void 0:n.recipients)||[]).find((function(i){return i.role_name===e.roleName}));e.getLink(e.recipient)}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){d.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.handleDone=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({envelope:this.envelope})};e.prototype.copyLink=function(e){navigator.clipboard.writeText(e).then((function(){return a("Link copied to clipboard!",{style:"success",duration:3e3})})).catch((function(e){console.warn("[RECIPIENT_LINK] Error copying to clipboard",e);a("Unable to copy to clipboard: ".concat(e.message),{style:"error"})}))};e.prototype.getLink=function(e){var i=this;this.gettingLink=true;l(this.endpoint,e.envelope_id,e.role_name).then((function(e){i.gettingLink=false;i.link=e.link})).catch((function(e){i.gettingLink=false;console.log("[RECIPIENT_LINK] Error getting link",e);a("Unable to get link: "+e.message,{style:"error"})}))};e.prototype.render=function(){var e=this;if(this.loading||!this.recipient){return t(r,null)}var i=c(this.recipient);return t(r,null,t("div",{class:"summary-content"},t("h1",{class:"summary-title"},"In-Person Signing Link"),t("div",{class:"summary-rows"},t("div",{class:"summary-recipient"},t("div",{class:"role-name"},this.recipient.role_name),t("div",{class:"role-details"},t("div",{class:"role-info"},t("div",{class:"role-full-name"},i," (",this.recipient.email||this.recipient.phone,")"),!this.link&&t("verdocs-button",{size:"small",variant:"outline",label:this.gettingLink?"Loading...":"Get Link",disabled:this.gettingLink,onClick:function(){return e.getLink(e.recipient)}})),this.link&&t("div",{class:"link-wrapper"},t("div",{class:"link"},this.link),t("verdocs-button",{size:"small",variant:"outline",label:"Copy",onClick:function(){return e.copyLink(e.link)}}))))),t("div",{class:"buttons"},t("verdocs-button",{size:"small",label:"Done",onClick:function(i){return e.handleDone(i)}}))))};return e}());f.style=p;var x='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-envelope-update-recipient{top:0;left:0;right:0;bottom:0;display:-ms-flexbox;display:flex;z-index:100000;position:fixed;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;font-family:"Inter", "Barlow", sans-serif;background-color:rgba(0, 0, 0, 0.4980392157)}verdocs-envelope-update-recipient .summary-content{width:600px;display:-ms-flexbox;display:flex;max-width:90%;font-size:18px;-ms-flex:0 0 600px;flex:0 0 600px;border-radius:6px;background:#ffffff;-ms-flex-direction:column;flex-direction:column;padding:30px 20px 20px}verdocs-envelope-update-recipient .summary-content .summary-title{font-size:20px;font-weight:700;margin:0 0 10px 0;color:#33364b}verdocs-envelope-update-recipient .fields{display:-ms-flexbox;display:flex;color:#33364b;margin:8px 0 24px 0;-ms-flex-direction:column;flex-direction:column}verdocs-envelope-update-recipient .fields .field{margin:2px 0}verdocs-envelope-update-recipient .fields .note{font-style:italic;font-size:14px}verdocs-envelope-update-recipient .fields .fields-row{gap:12px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-envelope-update-recipient .fields .fields-row>*{-ms-flex:1;flex:1}verdocs-envelope-update-recipient .fields .role-name{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex;font-size:14px;font-weight:600;margin:0 0 8px 0;color:#092c4c}verdocs-envelope-update-recipient .fields textarea{width:100%;font-size:16px;padding:5px 7px;border-radius:4px;-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-envelope-update-recipient .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:15px;-moz-column-gap:15px;column-gap:15px;margin:10px 0 0 0;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}verdocs-envelope-update-recipient .buttons verdocs-button{-ms-flex:0 0 120px;flex:0 0 120px;margin-left:10px;white-space:nowrap}verdocs-envelope-update-recipient .buttons verdocs-button button{width:100%}';var v=e("verdocs_envelope_update_recipient",function(){function e(e){i(this,e);this.next=n(this,"next");this.sdkError=n(this,"sdkError");this.envelopeListenerId=null;this.endpoint=o.getDefault();this.envelopeId="";this.roleName="";this.gettingLink=true;this.link="";this.loading=true;this.envelope=null;this.originalRecipient=null;this.updatedRecipient=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,i,n;return __generator(this,(function(t){try{this.endpoint.loadSession();if(!this.envelopeId){console.log("[UPDATE_RECIPIENT] Missing required envelope ID ".concat(this.envelopeId));return[2]}if(!this.endpoint.session){console.log("[UPDATE_RECIPIENT] Unable to start session, must be authenticated");return[2]}this.listenToEnvelope()}catch(t){console.log("[UPDATE_RECIPIENT] Error loading envelope",t);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new u(t.message,(i=t.response)===null||i===void 0?void 0:i.status,(n=t.response)===null||n===void 0?void 0:n.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToEnvelope()};e.prototype.listenToEnvelope=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(i){console.log("[UPDATE_RECIPIENT] Loading envelope",this.envelopeId);this.unlistenToEnvelope();d.subscribe("envelopes",this.envelopeId,(function(){return s(e.endpoint,e.envelopeId)}),false,(function(i){var n;e.envelope=i;e.loading=false;var t=(((n=e.envelope)===null||n===void 0?void 0:n.recipients)||[]).find((function(i){return i.role_name===e.roleName}));e.originalRecipient=t;e.updatedRecipient=__assign({},t)}));return[2]}))}))};e.prototype.unlistenToEnvelope=function(){if(this.envelopeListenerId){d.store.delListener(this.envelopeListenerId);this.envelopeListenerId=null}};e.prototype.handleSave=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({action:"save",originalRecipient:this.originalRecipient,updatedRecipient:this.updatedRecipient})};e.prototype.handleCancel=function(e){var i;e.preventDefault();(i=this.next)===null||i===void 0?void 0:i.emit({action:"cancel",originalRecipient:this.originalRecipient,updatedRecipient:this.updatedRecipient})};e.prototype.render=function(){var e=this;if(this.loading||!this.updatedRecipient){return t(r,null)}return t(r,null,t("div",{class:"summary-content"},t("h1",{class:"summary-title"},"Update Recipient"),t("div",{class:"summary-rows"},t("div",{class:"fields"},t("div",{class:"role-name"},this.updatedRecipient.role_name),t("div",{class:"field"},t("div",{class:"fields-row"},t("verdocs-text-input",{value:this.updatedRecipient.first_name,placeholder:"First Name...",onInput:function(i){return e.updatedRecipient.first_name=i.target.value}}),t("verdocs-text-input",{value:this.updatedRecipient.last_name,placeholder:"Last Name...",onInput:function(i){return e.updatedRecipient.last_name=i.target.value}}))),t("div",{class:"field"},t("verdocs-text-input",{type:"email",value:this.updatedRecipient.email,placeholder:"Email Address...",onInput:function(i){return e.updatedRecipient.email=i.target.value}})),t("div",{class:"field"},t("verdocs-text-input",{type:"tel",value:this.updatedRecipient.phone,placeholder:"Phone Number...",onInput:function(i){return e.updatedRecipient.phone=i.target.value}})),t("div",{class:"field"},t("textarea",{id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onInput:function(i){return e.updatedRecipient.message=i.target.value}},this.updatedRecipient.message)),t("div",{class:"note"},"NOTE: If you change the recipient's email address or invite message, they will receive a new invitation to sign the envelope. This will also reset their status if they have previously declined to sign."))),t("div",{class:"buttons"},t("verdocs-button",{variant:"outline",size:"small",label:"Cancel",onClick:function(i){return e.handleCancel(i)}}),t("verdocs-button",{size:"small",label:"Save",onClick:function(i){return e.handleSave(i)}}))))};return e}());v.style=x}}}));
2
- //# sourceMappingURL=p-0e597594.system.entry.js.map
@@ -1,2 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,r,o){function i(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,n){function a(e){try{c(o.next(e))}catch(e){n(e)}}function s(e){try{c(o["throw"](e))}catch(e){n(e)}}function c(e){e.done?r(e.value):i(e.value).then(a,s)}c((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,a;return a={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(e){return function(t){return c([e,t])}}function c(s){if(o)throw new TypeError("Generator is already executing.");while(a&&(a=0,s[0]&&(r=0)),r)try{if(o=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];i=0}finally{o=n=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-gMXuliDq.system.js","@verdocs/js-sdk","./p-7Iu0_GGa.system.js"],(function(e){"use strict";var t,r,o,i,n,a,s;return{setters:[function(e){t=e.r;r=e.c;o=e.h;i=e.H},function(e){n=e.VerdocsEndpoint;a=e.createTemplate},function(e){s=e.S}],execute:function(){var c='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-template-create{font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-template-create form{background-color:#ffffff;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-create form .upload-box{-webkit-box-sizing:border-box;box-sizing:border-box;width:320px;text-align:center;padding:44px 18px 66px;border:2px dashed #979797;color:rgba(0, 0, 0, 0.54)}verdocs-template-create form .upload-box.drag-over{border:2px solid #4c56cb}verdocs-template-create form .upload-box svg{width:64px;fill:#5c6575}verdocs-template-create p{color:#33364b;margin-top:20px;font-size:18px;font-weight:500;overflow-wrap:anywhere}verdocs-template-create p.subscript{color:#5c6575;font-size:14px;margin:20px}verdocs-template-create .loader-wrapper{background-color:#ffffff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;width:320px;height:320px;text-align:center;border:2px dashed #979797;-ms-flex-pack:end;justify-content:flex-end}verdocs-template-create .progress-wrapper{padding:20px}verdocs-template-create .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:8px;-moz-column-gap:8px;column-gap:8px;margin-top:16px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:end;justify-content:flex-end}verdocs-template-create .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-template-create ::-webkit-input-placeholder{color:#aaaaaa}verdocs-template-create ::-moz-placeholder{color:#aaaaaa}verdocs-template-create :-ms-input-placeholder{color:#aaaaaa}verdocs-template-create ::-ms-input-placeholder{color:#aaaaaa}verdocs-template-create ::placeholder{color:#aaaaaa}verdocs-template-create .error{margin:20px 0;color:#cc0000}';var l='<svg focusable="false" aria-hidden="true" viewBox="0 0 24 24"><path d="M6 2c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6H6zm7 7V3.5L18.5 9H13z"></path></svg>';var d=e("verdocs_template_create",function(){function e(e){t(this,e);this.exit=r(this,"exit");this.next=r(this,"next");this.sdkError=r(this,"sdkError");this.templateCreated=r(this,"templateCreated");this.endpoint=n.getDefault();this.maxSize=20.5*1024*1024;this.creating=false;this.progressLabel="Uploading...";this.progressPercent=0;this.errorMessage=""}e.prototype.componentWillLoad=function(){this.endpoint.setTimeout(3e4);this.endpoint.loadSession()};e.prototype.handleFileChanged=function(e){var t;this.errorMessage="";this.file=((t=e.target.files)===null||t===void 0?void 0:t[0])||null;console.log("[CREATE] Selected file",this.file);var r=this.file.size;if(r>this.maxSize){this.errorMessage="Total file size must not exceed 20MB."}};e.prototype.handleUpload=function(e){e.stopPropagation();var t=document.getElementById("verdocs-template-create-file");t.click()};e.prototype.handleCancel=function(e){e.stopPropagation();this.exit.emit()};e.prototype.handleSubmit=function(e){return __awaiter(this,void 0,void 0,(function(){var t,r,o,i,n,c,l;var d=this;return __generator(this,(function(u){switch(u.label){case 0:e.stopPropagation();if(!this.file){return[2]}this.creating=true;this.progressLabel="Uploading...";u.label=1;case 1:u.trys.push([1,3,,4]);return[4,a(this.endpoint,{name:this.file.name,initial_reminder:0,followup_reminders:0,documents:[this.file]},(function(e){if(e>=99){d.progressLabel="Processing...";d.progressPercent=100}else{d.progressPercent=e}}))];case 2:c=u.sent();console.log("[CREATE] Created template",c);(t=this.templateCreated)===null||t===void 0?void 0:t.emit({endpoint:this.endpoint,template:c,templateId:c.id});(r=this.next)===null||r===void 0?void 0:r.emit(c);this.creating=false;this.progressLabel="";this.progressPercent=0;return[3,4];case 3:l=u.sent();console.log("[CREATE] Error creating template",l);(o=this.sdkError)===null||o===void 0?void 0:o.emit(new s(l.message,(i=l.response)===null||i===void 0?void 0:i.status,(n=l.response)===null||n===void 0?void 0:n.data));this.creating=false;return[3,4];case 4:return[2]}}))}))};e.prototype.render=function(){var e=this;if(!this.endpoint.session){return o(i,null,o("verdocs-component-error",{message:"You must be authenticated to use this module."}))}return o(i,null,o("form",{onSubmit:function(e){return e.preventDefault()},onClick:function(e){return e.stopPropagation()},autocomplete:"off"},o("input",{type:"file",id:"verdocs-template-create-file",multiple:true,accept:".pdf,application/pdf,.doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document",style:{display:"none"},onChange:function(t){return e.handleFileChanged(t)}}),this.creating?o("div",{class:"loader-wrapper"},o("verdocs-loader",null),this.progressLabel&&o("div",{class:"progress-wrapper"},o("verdocs-progress-bar",{showPercent:true,percent:this.progressPercent,label:this.progressLabel}))):o("div",{class:"upload-box",onDrop:function(t){t.preventDefault();t.target.classList.remove("drag-over");e.file=t.dataTransfer.files[0];if(e.file.size>e.maxSize){e.errorMessage="Total file size must not exceed 20MB."}},onDragOver:function(e){e.preventDefault();e.dataTransfer.dropEffect="copy"},onDragEnter:function(e){return e.target.classList.add("drag-over")},onDragLeave:function(e){return e.target.classList.remove("drag-over")}},o("span",{innerHTML:l,style:{display:"flex",justifyContent:"center"}}),o("p",null,this.file?this.file.name:"Drag and drop your files here"),o("p",{class:"subscript"},"Supported files: PDF, Word"),o("verdocs-button",{label:this.file?"Select a different file":"Select a file from your computer",size:"small",onClick:function(t){return e.handleUpload(t)}})),!!this.errorMessage&&o("div",{class:"error"},this.errorMessage),o("div",{class:"buttons"},o("verdocs-button",{variant:"outline",label:"Cancel",size:"small",onClick:function(t){return e.handleCancel(t)},disabled:this.creating}),o("verdocs-button",{label:"Next",size:"small",onClick:function(t){return e.handleSubmit(t)},disabled:!this.file||this.creating||!!this.errorMessage}))))};return e}());d.style=c}}}));
2
- //# sourceMappingURL=p-221da740.system.entry.js.map
@@ -1,2 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,i,n){function o(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,r){function c(t){try{s(n.next(t))}catch(t){r(t)}}function a(t){try{s(n["throw"](t))}catch(t){r(t)}}function s(t){t.done?i(t.value):o(t.value).then(c,a)}s((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},n,o,r,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(e){return s([t,e])}}function s(a){if(n)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(i=0)),i)try{if(n=1,o&&(r=a[0]&2?o["return"]:a[0]?o["throw"]||((r=o["return"])&&r.call(o),0):o.next)&&!(r=r.call(o,a[1])).done)return r;if(o=0,r)a=[a[0]&2,r.value];switch(a[0]){case 0:case 1:r=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;o=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(r=i.trys,r=r.length>0&&r[r.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!r||a[1]>r[0]&&a[1]<r[3])){i.label=a[1];break}if(a[0]===6&&i.label<r[1]){i.label=r[1];r=a;break}if(r&&i.label<r[2]){i.label=r[2];i.ops.push(a);break}if(r[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];o=0}finally{n=r=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-gMXuliDq.system.js","./p-C06jLDFm.system.js","./p-CrzDCQEM.system.js","./p-Bzy18UgU.system.js"],(function(t){"use strict";var e,i,n,o,r,c,a;return{setters:[function(t){e=t.r;i=t.h;n=t.H;o=t.g},function(t){r=t.A;c=t.l},function(t){a=t.V},null],execute:function(){var s='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-text-input{font-family:"Inter", "Barlow", sans-serif;-webkit-box-sizing:border-box;box-sizing:border-box;margin:0 0 10px 0;display:block}verdocs-text-input .input-element{-webkit-box-sizing:border-box;box-sizing:border-box;border:1px solid #707ae5;border-radius:4px;background:#ffffff;color:#000;width:100%;font-size:16px;height:34px;padding:0 9px;outline:none}verdocs-text-input .input-element:disabled{cursor:not-allowed;background:#aeb4bf;border:1px solid #33364b}verdocs-text-input .input-element::-webkit-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-moz-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::-ms-input-placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element::placeholder{color:#aaaaaa;opacity:1}verdocs-text-input .input-element:focus{outline:1px solid #7d88ff}verdocs-text-input .input-label{display:block;color:#555570;font-weight:700;font-size:14px;margin:0 0 4px 0}verdocs-text-input .required{color:red;margin-left:2px;display:inline-block}verdocs-text-input [data-lastpass-icon-root]{display:none !important}verdocs-text-input .input-container{position:relative}verdocs-text-input .clear{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .clear:hover{fill:#720101;cursor:pointer}verdocs-text-input .copy{top:7px;right:5px;width:18px;height:18px;fill:#cccccc;position:absolute}verdocs-text-input .copy:hover{fill:#654dcb;cursor:pointer}verdocs-text-input .toggle-pw{top:5px;right:7px;width:18px;height:18px;stroke:#cccccc;position:absolute}verdocs-text-input .toggle-pw:hover{fill:#654dcb;cursor:pointer}verdocs-text-input.clearable .input-element,verdocs-text-input.copyable .input-element{padding-right:32px}';var u=t("verdocs_date_input",function(){function t(t){e(this,t);this.picker=null;this.value="";this.label="";this.placeholder="";this.helpText="";this.disabled=false;this.required=false;this.showingPw=false;this.focused=false;this.containerId="verdocs-date-input-".concat(Math.random().toString(36).substring(2,11))}t.prototype.focusField=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){this.focused=true;(t=this.picker)===null||t===void 0?void 0:t.show();setTimeout((function(){e.focused=false}),500);return[2]}))}))};t.prototype.componentDidLoad=function(){var t=this;this.picker=new r("#".concat(this.containerId),{locale:c,isMobile:true,autoClose:true,onShow:function(){return t.focused=true},onHide:function(){return t.focused=false},onSelect:function(e){var i=e.date,n=e.formattedDate;var o=new CustomEvent("input",{detail:{date:i,formattedDate:n}});t.hostEl.dispatchEvent(o)}})};t.prototype.copyToClipboard=function(){this.inputEl.select();navigator.clipboard.writeText(this.value).then((function(){return a("Copied!")})).catch((function(t){return console.log("Error copying to clipboard",t)}))};t.prototype.render=function(){var t=this;return i(n,{key:"467efdebf394aca2734bce2755e10b84638fe5a4",class:"input-field"},i("label",{key:"8dc6200b52f0d97f7360c3856056eb5d85c6d299"},this.label&&i("div",{key:"006018a6ec21a7780b78686feecf09f50357a871",class:"input-label"},this.label+":",this.required&&i("span",{key:"44882599b166ed99a3f3abb3276f03cf7c3702cc",class:"required"},"*")),i("div",{key:"390990d7c2e9132949e7af69fcd464f95b275b21",class:"input-container"},i("input",{key:"4324380a6c31b299f0f1ef0081043d8fe404e448",type:"text",value:this.value,required:this.required,class:"input-element","data-lpignore":"true",id:this.containerId,disabled:this.disabled,placeholder:this.placeholder,ref:function(e){return t.inputEl=e},onInput:function(e){return t.value=e.target.value}})),this.helpText&&i("verdocs-help-icon",{key:"ddd928e400e4fe83d0ffb2e6fc34eddff488fad1",text:this.helpText})))};Object.defineProperty(t.prototype,"hostEl",{get:function(){return o(this)},enumerable:false,configurable:true});return t}());u.style=s}}}));
2
- //# sourceMappingURL=p-2642cf9a.system.entry.js.map
@@ -1,2 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,o){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function s(e){try{c(o.next(e))}catch(e){n(e)}}function a(e){try{c(o["throw"](e))}catch(e){n(e)}}function c(e){e.done?i(e.value):r(e.value).then(s,a)}c((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,r,n,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(e){return function(t){return c([e,t])}}function c(a){if(o)throw new TypeError("Generator is already executing.");while(s&&(s=0,a[0]&&(i=0)),i)try{if(o=1,r&&(n=a[0]&2?r["return"]:a[0]?r["throw"]||((n=r["return"])&&n.call(r),0):r.next)&&!(n=n.call(r,a[1])).done)return n;if(r=0,n)a=[a[0]&2,n.value];switch(a[0]){case 0:case 1:n=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;r=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){i.label=a[1];break}if(a[0]===6&&i.label<n[1]){i.label=n[1];n=a;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(a);break}if(n[2])i.ops.pop();i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e];r=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register(["./p-gMXuliDq.system.js","@verdocs/js-sdk","./p-7Iu0_GGa.system.js","./p-CmnBGerV.system.js"],(function(e){"use strict";var t,i,o,r,n,s,a,c,l,d,f;return{setters:[function(e){t=e.r;i=e.c;o=e.h;r=e.H},function(e){n=e.VerdocsEndpoint;s=e.getTemplate;a=e.updateTemplateRole;c=e.deleteTemplateRole;l=e.isValidEmail},function(e){d=e.S},function(e){f=e.S}],execute:function(){var u='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}#verdocs-menu-panel-overlay{top:0;left:0;width:100%;height:100%;z-index:10000;position:fixed;background-color:rgba(0, 0, 0, 0.4980392157)}#verdocs-menu-panel{opacity:0;z-index:10001;position:fixed;overflow-y:scroll;background-color:#ffffff;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-webkit-animation:showVerdocsMenuPanel 0.35s;-webkit-animation-fill-mode:forwards}@-webkit-keyframes showVerdocsMenuPanel{0%{opacity:0;right:-300px}100%{right:0;opacity:1}}';var p=e("verdocs_menu_panel",function(){function e(e){t(this,e);this.close=i(this,"close");this.moved=false;this.overlayId="verdocs-menu-panel-overlay";this.panelId="verdocs-menu-panel";this.side="right";this.overlay=true;this.width=300}e.prototype.handleClick=function(e){var t;if(!this.element.contains(e.target)){this.hide();(t=this.close)===null||t===void 0?void 0:t.emit()}};e.prototype.componentWillLoad=function(){this.hide();if(this.overlay){this.portal=document.createElement("div");this.portal.setAttribute("id",this.overlayId);document.body.append(this.portal)}this.portal=document.createElement("div");this.portal.setAttribute("id",this.panelId);this.portal.style.top="0px";this.portal.style.bottom="0px";this.portal.style.width="".concat(this.width,"px");if(this.side==="left"){this.portal.style.left="0px"}else{this.portal.style.right="0px"}document.body.append(this.portal)};e.prototype.componentDidLoad=function(){this.portal.appendChild(this.element)};e.prototype.disconnectedCallback=function(){this.moved?this.portal.remove():this.moved=true};e.prototype.hide=function(){var e,t;(e=document.getElementById(this.overlayId))===null||e===void 0?void 0:e.remove();(t=document.getElementById(this.panelId))===null||t===void 0?void 0:t.remove()};e.prototype.render=function(){var e=this;return o(r,{key:"433d003e79f33ac91e6535b34a7857520eba52a9",ref:function(t){return e.element=t}},o("slot",{key:"349bf90ff34df330916d1aad0a40c79cce1c32bc"}))};return e}());p.style=u;var h='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-template-role-properties{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:"Inter", "Barlow", sans-serif}verdocs-template-role-properties div{-webkit-box-sizing:border-box;box-sizing:border-box}verdocs-template-role-properties .heading{display:-ms-flexbox;display:flex;font-size:20px;font-weight:500;-ms-flex-direction:row;flex-direction:row}verdocs-template-role-properties .buttons{display:-ms-flexbox;display:flex;margin-top:10px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:justify;justify-content:space-between}verdocs-template-role-properties .buttons verdocs-button{margin-left:16px}verdocs-template-role-properties form{gap:15px;padding:20px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}verdocs-template-role-properties form .instructions{margin:7px 0 0 0;font-size:12px;font-style:italic}verdocs-template-role-properties form .input-label{display:block;font-size:14px;-ms-flex:0 0 100px;flex:0 0 100px;font-weight:700;margin:0 0 4px 0;color:#555570}verdocs-template-role-properties form .first-last{gap:15px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-template-role-properties form verdocs-help-icon{-webkit-transform:scale(0.8);transform:scale(0.8)}verdocs-template-role-properties verdocs-select-input label{display:block}verdocs-template-role-properties verdocs-text-input{margin:0}verdocs-template-role-properties verdocs-text-input label{display:block}verdocs-template-role-properties verdocs-text-input .input-label{-ms-flex:0 0 100px;flex:0 0 100px}verdocs-template-role-properties verdocs-text-input input{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-role-properties verdocs-text-input verdocs-text-input{margin:0}verdocs-template-role-properties .checkbox-wrapper{-ms-flex:1;flex:1;display:-ms-flexbox;display:flex}verdocs-template-role-properties .delete-button{height:34px;display:-ms-flexbox;display:flex;padding:0 6px;cursor:pointer;background:none;border-radius:4px;-ms-flex-align:center;align-items:center;border:1px solid #999;-ms-flex-pack:center;justify-content:center}verdocs-template-role-properties .delete-button svg{width:24px;height:24px}verdocs-template-role-properties .delete-button:active{background:#f3f3f3}';var v='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="#a50021"><path stroke-linecap="round" stroke-linejoin="round" d="M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0" /></svg>';var b=e("verdocs_template_role_properties",function(){function e(e){t(this,e);this.close=i(this,"close");this.delete=i(this,"delete");this.sdkError=i(this,"sdkError");this.templateListenerId=null;this.endpoint=n.getDefault();this.templateId="";this.roleName="";this.dirty=false;this.saving=false;this.name="";this.type="signer";this.first_name="";this.last_name="";this.email="";this.phone="";this.delegator=false;this.loading=true;this.template=null}e.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var e,t,i;return __generator(this,(function(o){try{this.endpoint.loadSession();if(!this.templateId){console.log("[ROLES] Missing required template ID ".concat(this.templateId));return[2]}if(!this.endpoint.session){console.log("[ROLES] Unable to start builder session, must be authenticated");return[2]}this.listenToTemplate()}catch(o){console.log("[ROLES Error with preview session",o);(e=this.sdkError)===null||e===void 0?void 0:e.emit(new d(o.message,(t=o.response)===null||t===void 0?void 0:t.status,(i=o.response)===null||i===void 0?void 0:i.data))}return[2]}))}))};e.prototype.disconnectedCallback=function(){this.unlistenToTemplate()};e.prototype.listenToTemplate=function(){return __awaiter(this,void 0,void 0,(function(){var e=this;return __generator(this,(function(t){console.log("[ROLES] Loading tempate",this.templateId);this.unlistenToTemplate();f.subscribe("templates",this.templateId,(function(){return s(e.endpoint,e.templateId)}),false,(function(t){var i;console.log("[BUILD] Template Updated",t);e.template=t;e.loading=false;var o=(i=e.template)===null||i===void 0?void 0:i.roles.find((function(t){return t.name===e.roleName}));if(o){e.name=o.name;e.type=o.type;e.first_name=o.first_name;e.last_name=o.last_name;e.email=o.email;e.phone=o.phone;e.delegator=o.delegator;console.log("[ROLES] Editing role",o)}}));return[2]}))}))};e.prototype.unlistenToTemplate=function(){if(this.templateListenerId){f.store.delListener(this.templateListenerId);this.templateListenerId=null}};e.prototype.handleCancel=function(e){var t=this;var i,o;e.stopPropagation();var r=(i=this.template)===null||i===void 0?void 0:i.roles.find((function(e){return e.name===t.roleName}));if(r){this.name=r.name;this.type=r.type;this.first_name=r.first_name;this.last_name=r.last_name;this.email=r.email;this.phone=r.phone;this.delegator=r.delegator}this.dirty=false;(o=this.close)===null||o===void 0?void 0:o.emit()};e.prototype.handleSave=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){e.stopPropagation();this.saving=true;a(this.endpoint,this.templateId,this.roleName,{name:this.name,type:this.type,first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,delegator:this.delegator}).then((function(e){return __awaiter(t,void 0,void 0,(function(){var t,i,o;var r=this;return __generator(this,(function(n){console.log("[ROLES] Update result",e);this.saving=false;this.dirty=false;i=JSON.parse(JSON.stringify(this.template));o=i.roles.findIndex((function(e){return e.name===r.roleName}));if(o>-1){i.roles[o]=e}f.updateTemplate(this.templateId,i);(t=this.close)===null||t===void 0?void 0:t.emit();return[2]}))}))})).catch((function(e){console.log("[ROLES Update error",e);t.saving=false}));return[2]}))}))};e.prototype.handleDelete=function(e){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(i){e.stopPropagation();if(window.confirm("Are you sure you wish to remove this role? All associated fields will be removed as well. This action cannot be undone.")){c(this.endpoint,this.templateId,this.roleName).then((function(){var e,i;var o=JSON.parse(JSON.stringify(t.template));o.roles=o.roles.filter((function(e){return e.name!==t.roleName}));f.getTemplate(t.endpoint,t.templateId,true);(e=t.delete)===null||e===void 0?void 0:e.emit({templateId:t.templateId,roleName:t.roleName});(i=t.close)===null||i===void 0?void 0:i.emit()})).catch((function(e){console.log("[ROLES Deletion error",e)}))}return[2]}))}))};e.prototype.render=function(){var e=this;var t;var i=(((t=this.template)===null||t===void 0?void 0:t.fields)||[]).some((function(t){return t.role_name===e.roleName}));var n=!this.email&&!this.first_name&&!this.last_name||l(this.email)&&!!this.first_name&&!!this.last_name;return o(r,{key:"75912afd62dd8317b9d52e6b4187bf0276063be1"},o("form",{key:"82afd361baec38639b820cd48d157975e727f89b",onSubmit:function(e){return e.preventDefault()},onClick:function(e){return e.stopPropagation()},autocomplete:"off"},o("div",{key:"0e2cff440eeefd7936bf85e299377301ecc71e9c"},o("verdocs-text-input",{key:"77d93682342a40b72cea9889ef4655cb7aceb551",id:"verdocs-role-name",label:"Role Name (Must be unique)",value:this.name,autocomplete:"off",disabled:i,placeholder:"Role Name...",onInput:function(t){e.name=t.target.value;e.dirty=true}}),i&&o("div",{key:"fd798d600a654bafc4f9c551e09ca8f166b6334b",class:"instructions"},"This role has fields assigned and can no longer be renamed.")),o("div",{key:"0a438052e9f9c47d911f8973cae1e7169e032122"},o("div",{key:"2dbeb3fd9c9e5d281c1cb0f953af843b55c37737",class:"input-label"},"Type:"),o("verdocs-select-input",{key:"006a7c4a60319bfb54133fccf2a65f34ca95dee3",value:this.type,options:[{label:"Signer",value:"signer"},{label:"CC",value:"cc"},{label:"Approver",value:"approver"}],onInput:function(t){e.type=t.target.value;e.dirty=true}})),o("div",{key:"6dc628b4b67cad63b3f66ce891b8bb70f3d4c5e2"},o("div",{key:"4b688557a0b0d018f0c1fd6170fdf460fd3cb50c",class:"input-label"},"Default Contact Info:"),o("div",{key:"eecb6eee85e7a4038510539f6f884040dd516a63",class:"first-last"},o("verdocs-text-input",{key:"df25cec9fe8d0cd441654abfae7f33a54d391b4c",id:"verdocs-recipient-first",value:this.first_name,autocomplete:"off",placeholder:"First...",onInput:function(t){e.first_name=t.target.value;e.dirty=true}}),o("verdocs-text-input",{key:"26d15cc544e5274a7fa494e536e818bfc49cdd44",id:"verdocs-recipient-first",value:this.last_name,autocomplete:"off",placeholder:"Last...",onInput:function(t){e.last_name=t.target.value;e.dirty=true}}))),o("div",{key:"fcf5259d414027a3f6e0984eccdea70a4ecc11aa"},o("verdocs-text-input",{key:"7f041ffa93457cea6367b8b7868d2d1172c95846",id:"verdocs-recipient-email",value:this.email,autocomplete:"off",placeholder:"Email Address...",onInput:function(t){e.email=t.target.value;e.dirty=true}}),o("div",{key:"ab84d11e45118fefe4eb7be39d551004fc35f667",style:{height:"15px"}}),o("div",{key:"013cd839aa61c5c02abc6f2b7b58c9206e94179f"},o("verdocs-text-input",{key:"1159d1a5559de1dcb34a8a509d3e473dcfc0d95f",id:"verdocs-recipient-phone",value:this.phone,autocomplete:"off",placeholder:"Phone Number...",onInput:function(t){e.phone=t.target.value;e.dirty=true}}))),o("div",{key:"53a217a4d92310a087aa181ec0574b1bef3f2742",class:"buttons"},o("button",{key:"325955aaab13ab956f60d3e0e7708f58e10eb31d",class:"delete-button",disabled:this.dirty,onClick:function(t){return e.handleDelete(t)},innerHTML:v}),o("div",{key:"88ed4c6cfa683460ca227ba9d474f6b67522857b",style:{flex:"1"}}),o("verdocs-button",{key:"54579778a43cc386f6a45d4ede4b3745bd7160cf",size:"small",label:"Save",disabled:!this.dirty||!n,onClick:function(t){return e.handleSave(t)}}))))};return e}());b.style=h}}}));
2
- //# sourceMappingURL=p-31edd0f7.system.entry.js.map
@@ -1,2 +0,0 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function o(t){try{c(n.next(t))}catch(t){a(t)}}function s(t){try{c(n["throw"](t))}catch(t){a(t)}}function c(t){t.done?r(t.value):i(t.value).then(o,s)}c((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(e){return c([t,e])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(r=0)),r)try{if(n=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-gMXuliDq.system.js","@verdocs/js-sdk"],(function(t){"use strict";var e,r,n,i,a,o;return{setters:[function(t){e=t.r;r=t.c;n=t.h;i=t.H},function(t){a=t.VerdocsEndpoint;o=t.toggleTemplateStar}],execute:function(){var s='@-webkit-keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}@keyframes verdocs-field-pulse{0%{background-color:rgba(0, 0, 0, 0.35)}50%{background-color:rgba(0, 0, 0, 0)}100%{background-color:rgba(0, 0, 0, 0.35)}}verdocs-template-star{display:-ms-flexbox;display:flex;-ms-flex:0 0 60px;flex:0 0 60px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;font-family:"Inter", "Barlow", sans-serif}verdocs-template-star .star{line-height:10px}verdocs-template-star .star.updating{-webkit-animation:spinningStar 2s infinite linear;animation:spinningStar 2s infinite linear}verdocs-template-star .star svg{width:24px;height:24px}verdocs-template-star .count{color:#595c5d;font-size:14px;margin-left:10px}@-webkit-keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes spinningStar{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}';var c='<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"><path stroke-linecap="round" stroke-linejoin="round" d="M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z" /></svg>';var f='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"><path fill-rule="evenodd" d="M10.788 3.21c.448-1.077 1.976-1.077 2.424 0l2.082 5.007 5.404.433c1.164.093 1.636 1.545.749 2.305l-4.117 3.527 1.257 5.273c.271 1.136-.964 2.033-1.96 1.425L12 18.354 7.373 21.18c-.996.608-2.231-.29-1.96-1.425l1.257-5.273-4.117-3.527c-.887-.76-.415-2.212.749-2.305l5.404-.433 2.082-5.006z" clip-rule="evenodd" /></svg>';var l=t("verdocs_template_star",function(){function t(t){e(this,t);this.starChange=r(this,"starChange");this.sdkError=r(this,"sdkError");this.endpoint=a.getDefault();this.updating=false}t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.endpoint.loadSession();if(!this.endpoint.session){console.log("[TEMPLATES] Must be authenticated");return[2]}return[2]}))}))};t.prototype.toggle=function(t){var e=this;t.stopPropagation();this.updating=true;o(a.getDefault(),this.template.id).then((function(t){e.updating=false;e.template.star_counter=t.star_counter;e.starChange.emit({templateId:e.template.id,starred:t.star_counter>0,count:t.star_counter})})).catch((function(t){e.updating=false;console.log("[STAR] Error toggling template star",t.message);e.sdkError.emit(t)}))};t.prototype.render=function(){var t=this;return n(i,{key:"6f8faa1b06cc1103dee9014a4431b57135d81f0e"},n("div",{key:"f8277b3fb815b8a6b8b2ab2d2b9bad72e2b0d93b",class:"star ".concat(this.updating?"updating":""),innerHTML:this.template.star_counter?f:c,onClick:function(e){return t.toggle(e)}}),n("div",{key:"8e55a5ed6aebcc84ca2a91bc047a54d201f29108",class:"count"},this.template.star_counter||"--"))};return t}());l.style=s}}}));
2
- //# sourceMappingURL=p-33ab44b7.system.entry.js.map