@verdocs/web-sdk 5.3.5 → 5.4.2
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.
- package/dist/cjs/app-globals-V2Kpy_OQ.js.map +1 -1
- package/dist/cjs/{index-Be9PlTB7.js → index-B2lA-USD.js} +172 -115
- package/dist/cjs/index-B2lA-USD.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/verdocs-auth.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-build.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button-panel_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-button_3.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-checkbox_5.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js +47 -10
- package/dist/cjs/verdocs-contact-picker.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-contact-picker.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-date-input.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js +7 -3
- package/dist/cjs/verdocs-delegate-dialog_5.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-dialog.verdocs-ok-dialog.entry.cjs.js.map +1 -0
- package/dist/cjs/verdocs-dialog_2.cjs.entry.js +77 -0
- package/dist/cjs/verdocs-dialog_2.cjs.entry.js.map +1 -0
- package/dist/cjs/verdocs-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-document-page.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-envelope-recipient-link_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-recipient-summary.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelope-sidebar.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-envelopes-list.cjs.entry.js +7 -7
- package/dist/cjs/verdocs-field-attachment_13.cjs.entry.js +4 -4
- package/dist/cjs/verdocs-field-payment.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-file-chooser_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-menu-panel_2.cjs.entry.js +8 -8
- package/dist/cjs/verdocs-multiselect.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-organization-card_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-pagination_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-preview_7.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-quick-functions.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-radio-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-box.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-search-tabs.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-sign.cjs.entry.js +38 -23
- package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
- package/dist/cjs/verdocs-sign.entry.cjs.js.map +1 -1
- package/dist/cjs/verdocs-spinner.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-status-indicator.cjs.entry.js +3 -3
- package/dist/cjs/verdocs-switch.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-table.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-card.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-create.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-document-page_2.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-template-star.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-template-tags.cjs.entry.js +2 -2
- package/dist/cjs/verdocs-templates-list.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle-button.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-toggle.cjs.entry.js +1 -1
- package/dist/cjs/verdocs-web-sdk.cjs.js +3 -3
- package/dist/cjs/verdocs-web-sdk.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/dialogs/verdocs-delegate-dialog/verdocs-delegate-dialog.css +1 -1
- package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.js +26 -2
- package/dist/collection/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.js.map +1 -1
- package/dist/collection/components/dialogs/verdocs-initial-dialog/verdocs-initial-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.css +23 -37
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js +3 -3
- package/dist/collection/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.js.map +1 -1
- package/dist/collection/components/dialogs/verdocs-otp-dialog/verdocs-otp-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-signature-dialog/verdocs-signature-dialog.js +1 -1
- package/dist/collection/components/dialogs/verdocs-upload-dialog/verdocs-upload-dialog.js +1 -1
- package/dist/collection/components/elements/verdocs-quick-functions/verdocs-quick-functions.js +1 -1
- package/dist/collection/components/elements/verdocs-search-tabs/verdocs-search-tabs.js +1 -1
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +39 -24
- package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
- package/dist/collection/components/envelopes/verdocs-contact-picker/verdocs-contact-picker.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelope-document-page/verdocs-envelope-document-page.js +1 -1
- package/dist/collection/components/envelopes/verdocs-envelopes-list/verdocs-envelopes-list.js +6 -6
- package/dist/collection/components/envelopes/verdocs-status-indicator/verdocs-status-indicator.js +2 -2
- package/dist/collection/components/templates/verdocs-template-card/verdocs-template-card.js +1 -1
- package/dist/collection/components/templates/verdocs-template-role-properties/verdocs-template-role-properties.js +7 -7
- package/dist/collection/components/templates/verdocs-template-star/verdocs-template-star.js +1 -1
- package/dist/collection/components/templates/verdocs-template-tags/verdocs-template-tags.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/{p-CZcjG946.js → p-AQsHwZ27.js} +36 -30
- package/dist/components/p-AQsHwZ27.js.map +1 -0
- package/dist/components/{p-BCfTxJfb.js → p-B0-ZXlBg.js} +4 -4
- package/dist/components/{p-BCfTxJfb.js.map → p-B0-ZXlBg.js.map} +1 -1
- package/dist/components/{p-IhdX5vVL.js → p-BGZ_owBm.js} +4 -4
- package/dist/components/{p-IhdX5vVL.js.map → p-BGZ_owBm.js.map} +1 -1
- package/dist/components/{p-_nUQ5iEk.js → p-BNrp2UP2.js} +4 -4
- package/dist/components/{p-_nUQ5iEk.js.map → p-BNrp2UP2.js.map} +1 -1
- package/dist/components/{p-CVkbflKM.js → p-BQW1cLII.js} +4 -4
- package/dist/components/{p-CVkbflKM.js.map → p-BQW1cLII.js.map} +1 -1
- package/dist/components/{p-DHl4c1oa.js → p-BR7qeKJV.js} +18 -12
- package/dist/components/p-BR7qeKJV.js.map +1 -0
- package/dist/components/{p-zOGAwuLP.js → p-BV7xEuMw.js} +4 -4
- package/dist/components/{p-zOGAwuLP.js.map → p-BV7xEuMw.js.map} +1 -1
- package/dist/components/{p-BHu8qhRh.js → p-BdSDDira.js} +4 -4
- package/dist/components/{p-BHu8qhRh.js.map → p-BdSDDira.js.map} +1 -1
- package/dist/components/{p-vZUBjvdn.js → p-BeSHNILk.js} +13 -13
- package/dist/components/{p-vZUBjvdn.js.map → p-BeSHNILk.js.map} +1 -1
- package/dist/components/{p-CfqdAcYb.js → p-Bhib7RyH.js} +4 -4
- package/dist/components/{p-CfqdAcYb.js.map → p-Bhib7RyH.js.map} +1 -1
- package/dist/components/{p-DBxWj2lt.js → p-Bn-A1NMA.js} +12 -7
- package/dist/components/p-Bn-A1NMA.js.map +1 -0
- package/dist/components/{p-BakshEO1.js → p-Boia1Nbz.js} +4 -4
- package/dist/components/{p-BakshEO1.js.map → p-Boia1Nbz.js.map} +1 -1
- package/dist/components/{p-Cexe1-Oo.js → p-Bv-L0hsU.js} +4 -4
- package/dist/components/{p-Cexe1-Oo.js.map → p-Bv-L0hsU.js.map} +1 -1
- package/dist/components/{p-DbwkPoha.js → p-C1nftqjj.js} +8 -8
- package/dist/components/{p-DbwkPoha.js.map → p-C1nftqjj.js.map} +1 -1
- package/dist/components/{p-B7buybCz.js → p-C2M87N-a.js} +4 -4
- package/dist/components/{p-B7buybCz.js.map → p-C2M87N-a.js.map} +1 -1
- package/dist/components/p-CQ-UXlBO.js +78 -0
- package/dist/components/p-CQ-UXlBO.js.map +1 -0
- package/dist/components/{p-Bswg8Fe8.js → p-CRR4fTl9.js} +13 -13
- package/dist/components/{p-Bswg8Fe8.js.map → p-CRR4fTl9.js.map} +1 -1
- package/dist/components/{p-Cswo_Apj.js → p-CTzrE2_W.js} +24 -18
- package/dist/components/p-CTzrE2_W.js.map +1 -0
- package/dist/components/{p-DAelmHnU.js → p-CUf9tCwr.js} +7 -7
- package/dist/components/{p-DAelmHnU.js.map → p-CUf9tCwr.js.map} +1 -1
- package/dist/components/{p-DN1cBTs0.js → p-CZTe2XIO.js} +4 -4
- package/dist/components/{p-DN1cBTs0.js.map → p-CZTe2XIO.js.map} +1 -1
- package/dist/components/{p-BDmKp20X.js → p-C_SISdpZ.js} +5 -5
- package/dist/components/{p-BDmKp20X.js.map → p-C_SISdpZ.js.map} +1 -1
- package/dist/components/{p-DZ3TxFzS.js → p-CcglHGeY.js} +14 -8
- package/dist/components/p-CcglHGeY.js.map +1 -0
- package/dist/components/{p-CJIN0YXw.js → p-Clt27_Qj.js} +13 -13
- package/dist/components/{p-CJIN0YXw.js.map → p-Clt27_Qj.js.map} +1 -1
- package/dist/components/{p-I_twwI6N.js → p-Cmm_Efcd.js} +38 -32
- package/dist/components/p-Cmm_Efcd.js.map +1 -0
- package/dist/components/{p-2WUcCzQq.js → p-CozA58e8.js} +6 -6
- package/dist/components/{p-2WUcCzQq.js.map → p-CozA58e8.js.map} +1 -1
- package/dist/components/{p-9HvXJwEq.js → p-CqjH6KjT.js} +4 -4
- package/dist/components/{p-9HvXJwEq.js.map → p-CqjH6KjT.js.map} +1 -1
- package/dist/components/{p-dDTMckyL.js → p-Cy-AXBKH.js} +4 -4
- package/dist/components/{p-dDTMckyL.js.map → p-Cy-AXBKH.js.map} +1 -1
- package/dist/components/{p-CFBQG_2F.js → p-D-GZw56Q.js} +13 -13
- package/dist/components/{p-CFBQG_2F.js.map → p-D-GZw56Q.js.map} +1 -1
- package/dist/components/{p-cuwa7Els.js → p-D16h8pzh.js} +154 -105
- package/dist/components/p-D16h8pzh.js.map +1 -0
- package/dist/components/{p-Cry7waUN.js → p-D646hJvk.js} +8 -8
- package/dist/components/{p-Cry7waUN.js.map → p-D646hJvk.js.map} +1 -1
- package/dist/components/{p-IPJtUL3R.js → p-D9UxTdE4.js} +12 -12
- package/dist/components/{p-IPJtUL3R.js.map → p-D9UxTdE4.js.map} +1 -1
- package/dist/components/{p-DAGrOW1D.js → p-DB6zetGN.js} +7 -7
- package/dist/components/{p-DAGrOW1D.js.map → p-DB6zetGN.js.map} +1 -1
- package/dist/components/{p-6dn6bTF-.js → p-DCaVuows.js} +37 -31
- package/dist/components/p-DCaVuows.js.map +1 -0
- package/dist/components/{p-pXqgg9BU.js → p-DDTha7DK.js} +5 -5
- package/dist/components/{p-pXqgg9BU.js.map → p-DDTha7DK.js.map} +1 -1
- package/dist/components/{p--hL4T8Ae.js → p-DF8La-N2.js} +13 -13
- package/dist/components/{p--hL4T8Ae.js.map → p-DF8La-N2.js.map} +1 -1
- package/dist/components/{p-xbfIS4ny.js → p-DMCUZ4ju.js} +5 -5
- package/dist/components/{p-xbfIS4ny.js.map → p-DMCUZ4ju.js.map} +1 -1
- package/dist/components/{p-DMYs4VZa.js → p-DNcLDxgP.js} +5 -5
- package/dist/components/{p-DMYs4VZa.js.map → p-DNcLDxgP.js.map} +1 -1
- package/dist/components/{p-Cbg7a3HQ.js → p-DepyvOoM.js} +14 -14
- package/dist/components/{p-Cbg7a3HQ.js.map → p-DepyvOoM.js.map} +1 -1
- package/dist/components/{p-BRC3PsLk.js → p-DkUmJk0T.js} +11 -11
- package/dist/components/{p-BRC3PsLk.js.map → p-DkUmJk0T.js.map} +1 -1
- package/dist/components/{p-BnMAPkKT.js → p-DmgutWwH.js} +5 -5
- package/dist/components/p-DmgutWwH.js.map +1 -0
- package/dist/components/{p-8M6wbefU.js → p-DnAJsr7Q.js} +5 -5
- package/dist/components/{p-8M6wbefU.js.map → p-DnAJsr7Q.js.map} +1 -1
- package/dist/components/{p-ChSgKUKi.js → p-DoO2XAMG.js} +8 -8
- package/dist/components/{p-ChSgKUKi.js.map → p-DoO2XAMG.js.map} +1 -1
- package/dist/components/{p-b88NoejR.js → p-DonwyCOM.js} +4 -4
- package/dist/components/{p-b88NoejR.js.map → p-DonwyCOM.js.map} +1 -1
- package/dist/components/{p-Dt-0j6pv.js → p-DsCKNQPC.js} +4 -4
- package/dist/components/{p-Dt-0j6pv.js.map → p-DsCKNQPC.js.map} +1 -1
- package/dist/components/{p-C1sOQyoW.js → p-Dt5I6d_s.js} +6 -6
- package/dist/components/{p-C1sOQyoW.js.map → p-Dt5I6d_s.js.map} +1 -1
- package/dist/components/{p-r7qm8EsM.js → p-MX0H_yx6.js} +13 -13
- package/dist/components/{p-r7qm8EsM.js.map → p-MX0H_yx6.js.map} +1 -1
- package/dist/components/{p-BsAgsmZb.js → p-OV-ZpJVv.js} +12 -12
- package/dist/components/{p-BsAgsmZb.js.map → p-OV-ZpJVv.js.map} +1 -1
- package/dist/components/{p-nazpDdZn.js → p-Sk_71M_-.js} +14 -14
- package/dist/components/{p-nazpDdZn.js.map → p-Sk_71M_-.js.map} +1 -1
- package/dist/components/{p-K9Q7whri.js → p-UsZ2lpxS.js} +4 -4
- package/dist/components/{p-K9Q7whri.js.map → p-UsZ2lpxS.js.map} +1 -1
- package/dist/components/{p-Dq3ca8_9.js → p-pTXj30z_.js} +53 -16
- package/dist/components/p-pTXj30z_.js.map +1 -0
- package/dist/components/{p-CEXKKH9Z.js → p-vCuIwe1D.js} +11 -11
- package/dist/components/{p-CEXKKH9Z.js.map → p-vCuIwe1D.js.map} +1 -1
- package/dist/components/{p-BDAu6Qdg.js → p-w7SkLcPj.js} +5 -5
- package/dist/components/{p-BDAu6Qdg.js.map → p-w7SkLcPj.js.map} +1 -1
- package/dist/components/{p-D0rJh5my.js → p-wYGYhfrp.js} +4 -4
- package/dist/components/{p-D0rJh5my.js.map → p-wYGYhfrp.js.map} +1 -1
- package/dist/components/{p-DGdQtEJc.js → p-xIC5Vhhx.js} +13 -13
- package/dist/components/{p-DGdQtEJc.js.map → p-xIC5Vhhx.js.map} +1 -1
- package/dist/components/{p-gJ8vsaSU.js → p-xS2v_6o_.js} +11 -11
- package/dist/components/{p-gJ8vsaSU.js.map → p-xS2v_6o_.js.map} +1 -1
- package/dist/components/{p-CcCYvQR-.js → p-zcZJDJyB.js} +15 -15
- package/dist/components/{p-CcCYvQR-.js.map → p-zcZJDJyB.js.map} +1 -1
- package/dist/components/verdocs-auth.js +5 -5
- package/dist/components/verdocs-build.js +54 -48
- package/dist/components/verdocs-build.js.map +1 -1
- package/dist/components/verdocs-button-panel.js +1 -1
- package/dist/components/verdocs-button.js +1 -1
- package/dist/components/verdocs-checkbox.js +1 -1
- package/dist/components/verdocs-component-error.js +1 -1
- package/dist/components/verdocs-contact-picker.js +1 -1
- package/dist/components/verdocs-date-input.js +3 -3
- package/dist/components/verdocs-delegate-dialog.js +1 -1
- package/dist/components/verdocs-dialog.js +1 -1
- package/dist/components/verdocs-disclosure-dialog.js +1 -1
- package/dist/components/verdocs-dropdown.js +1 -1
- package/dist/components/verdocs-envelope-document-page.js +1 -1
- package/dist/components/verdocs-envelope-recipient-link.js +1 -1
- package/dist/components/verdocs-envelope-recipient-summary.js +3 -3
- package/dist/components/verdocs-envelope-sidebar.js +18 -12
- package/dist/components/verdocs-envelope-sidebar.js.map +1 -1
- package/dist/components/verdocs-envelope-update-recipient.js +1 -1
- package/dist/components/verdocs-envelopes-list.js +18 -18
- package/dist/components/verdocs-field-attachment.js +1 -1
- package/dist/components/verdocs-field-checkbox.js +1 -1
- package/dist/components/verdocs-field-date.js +1 -1
- package/dist/components/verdocs-field-dropdown.js +1 -1
- package/dist/components/verdocs-field-initial.js +1 -1
- package/dist/components/verdocs-field-payment.js +11 -11
- package/dist/components/verdocs-field-radio.js +1 -1
- package/dist/components/verdocs-field-signature.js +1 -1
- package/dist/components/verdocs-field-textarea.js +1 -1
- package/dist/components/verdocs-field-textbox.js +1 -1
- package/dist/components/verdocs-field-timestamp.js +1 -1
- package/dist/components/verdocs-file-chooser.js +1 -1
- package/dist/components/verdocs-help-icon.js +1 -1
- package/dist/components/verdocs-initial-dialog.js +1 -1
- package/dist/components/verdocs-kba-dialog.js +1 -1
- package/dist/components/verdocs-loader.js +1 -1
- package/dist/components/verdocs-menu-panel.js +1 -1
- package/dist/components/verdocs-multiselect.js +3 -3
- package/dist/components/verdocs-ok-dialog.js +1 -1
- package/dist/components/verdocs-organization-card.js +3 -3
- package/dist/components/verdocs-otp-dialog.js +1 -1
- package/dist/components/verdocs-pagination.js +1 -1
- package/dist/components/verdocs-portal.js +1 -1
- package/dist/components/verdocs-preview.js +1 -1
- package/dist/components/verdocs-progress-bar.js +1 -1
- package/dist/components/verdocs-quick-filter.js +1 -1
- package/dist/components/verdocs-quick-functions.js +3 -3
- package/dist/components/verdocs-radio-button.js +2 -2
- package/dist/components/verdocs-search-box.js +2 -2
- package/dist/components/verdocs-search-tabs.js +3 -3
- package/dist/components/verdocs-select-input.js +1 -1
- package/dist/components/verdocs-send.js +1 -1
- package/dist/components/verdocs-sign.js +55 -40
- package/dist/components/verdocs-sign.js.map +1 -1
- package/dist/components/verdocs-signature-dialog.js +1 -1
- package/dist/components/verdocs-spinner.js +1 -1
- package/dist/components/verdocs-status-indicator.js +1 -1
- package/dist/components/verdocs-switch.js +1 -1
- package/dist/components/verdocs-table.js +2 -2
- package/dist/components/verdocs-tabs.js +1 -1
- package/dist/components/verdocs-template-attachments.js +1 -1
- package/dist/components/verdocs-template-build-tabs.js +1 -1
- package/dist/components/verdocs-template-card.js +3 -3
- package/dist/components/verdocs-template-create.js +6 -6
- package/dist/components/verdocs-template-document-page.js +1 -1
- package/dist/components/verdocs-template-field-properties.js +1 -1
- package/dist/components/verdocs-template-fields.js +1 -1
- package/dist/components/verdocs-template-role-properties.js +1 -1
- package/dist/components/verdocs-template-roles.js +1 -1
- package/dist/components/verdocs-template-settings.js +1 -1
- package/dist/components/verdocs-template-star.js +1 -1
- package/dist/components/verdocs-template-tags.js +3 -3
- package/dist/components/verdocs-templates-list.js +14 -14
- package/dist/components/verdocs-text-input.js +1 -1
- package/dist/components/verdocs-toggle-button.js +2 -2
- package/dist/components/verdocs-toggle.js +2 -2
- package/dist/components/verdocs-toolbar-icon.js +1 -1
- package/dist/components/verdocs-upload-dialog.js +1 -1
- package/dist/components/verdocs-view.js +1 -1
- package/dist/custom-elements.json +4 -0
- package/dist/esm/app-globals-DQuL1Twl.js.map +1 -1
- package/dist/esm/{index-CF7i8guW.js → index-6vpKbd31.js} +153 -114
- package/dist/esm/index-6vpKbd31.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/verdocs-auth.entry.js +1 -1
- package/dist/esm/verdocs-build.entry.js +1 -1
- package/dist/esm/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm/verdocs-button_3.entry.js +1 -1
- package/dist/esm/verdocs-checkbox_5.entry.js +1 -1
- package/dist/esm/verdocs-contact-picker.entry.js +47 -10
- package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm/verdocs-date-input.entry.js +1 -1
- package/dist/esm/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.js.map +1 -1
- package/dist/esm/verdocs-delegate-dialog_5.entry.js +7 -3
- package/dist/esm/verdocs-delegate-dialog_5.entry.js.map +1 -1
- package/dist/esm/verdocs-dialog.verdocs-ok-dialog.entry.js.map +1 -0
- package/dist/esm/verdocs-dialog_2.entry.js +74 -0
- package/dist/esm/verdocs-dialog_2.entry.js.map +1 -0
- package/dist/esm/verdocs-dropdown.entry.js +1 -1
- package/dist/esm/verdocs-envelope-document-page.entry.js +2 -2
- package/dist/esm/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm/verdocs-envelopes-list.entry.js +7 -7
- package/dist/esm/verdocs-field-attachment_13.entry.js +4 -4
- package/dist/esm/verdocs-field-payment.entry.js +1 -1
- package/dist/esm/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm/verdocs-menu-panel_2.entry.js +8 -8
- package/dist/esm/verdocs-multiselect.entry.js +1 -1
- package/dist/esm/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm/verdocs-preview_7.entry.js +1 -1
- package/dist/esm/verdocs-quick-functions.entry.js +2 -2
- package/dist/esm/verdocs-radio-button.entry.js +1 -1
- package/dist/esm/verdocs-search-box.entry.js +1 -1
- package/dist/esm/verdocs-search-tabs.entry.js +2 -2
- package/dist/esm/verdocs-sign.entry.js +39 -24
- package/dist/esm/verdocs-sign.entry.js.map +1 -1
- package/dist/esm/verdocs-spinner.entry.js +1 -1
- package/dist/esm/verdocs-status-indicator.entry.js +3 -3
- package/dist/esm/verdocs-switch.entry.js +1 -1
- package/dist/esm/verdocs-table.entry.js +1 -1
- package/dist/esm/verdocs-template-card.entry.js +2 -2
- package/dist/esm/verdocs-template-create.entry.js +1 -1
- package/dist/esm/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm/verdocs-template-star.entry.js +2 -2
- package/dist/esm/verdocs-template-tags.entry.js +2 -2
- package/dist/esm/verdocs-templates-list.entry.js +1 -1
- package/dist/esm/verdocs-toggle-button.entry.js +1 -1
- package/dist/esm/verdocs-toggle.entry.js +1 -1
- package/dist/esm/verdocs-web-sdk.js +4 -4
- package/dist/esm/verdocs-web-sdk.js.map +1 -1
- package/dist/esm-es5/app-globals-DQuL1Twl.js.map +1 -1
- package/dist/esm-es5/index-6vpKbd31.js +2 -0
- package/dist/esm-es5/index-6vpKbd31.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/verdocs-auth.entry.js +1 -1
- package/dist/esm-es5/verdocs-build.entry.js +1 -1
- package/dist/esm-es5/verdocs-button-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-button_3.entry.js +1 -1
- package/dist/esm-es5/verdocs-checkbox_5.entry.js +1 -1
- package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
- package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-date-input.entry.js +1 -1
- package/dist/esm-es5/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js +1 -1
- package/dist/esm-es5/verdocs-delegate-dialog_5.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-dialog.verdocs-ok-dialog.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-dialog_2.entry.js +2 -0
- package/dist/esm-es5/verdocs-dialog_2.entry.js.map +1 -0
- package/dist/esm-es5/verdocs-dropdown.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-document-page.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-link_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-recipient-summary.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelope-sidebar.entry.js +1 -1
- package/dist/esm-es5/verdocs-envelopes-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-attachment_13.entry.js +1 -1
- package/dist/esm-es5/verdocs-field-payment.entry.js +1 -1
- package/dist/esm-es5/verdocs-file-chooser_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-menu-panel_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-multiselect.entry.js +1 -1
- package/dist/esm-es5/verdocs-organization-card_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-pagination_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-preview_7.entry.js +2 -2
- package/dist/esm-es5/verdocs-quick-functions.entry.js +1 -1
- package/dist/esm-es5/verdocs-radio-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-box.entry.js +1 -1
- package/dist/esm-es5/verdocs-search-tabs.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js +1 -1
- package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
- package/dist/esm-es5/verdocs-spinner.entry.js +1 -1
- package/dist/esm-es5/verdocs-status-indicator.entry.js +1 -1
- package/dist/esm-es5/verdocs-switch.entry.js +1 -1
- package/dist/esm-es5/verdocs-table.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-card.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-create.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-document-page_2.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-star.entry.js +1 -1
- package/dist/esm-es5/verdocs-template-tags.entry.js +1 -1
- package/dist/esm-es5/verdocs-templates-list.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle-button.entry.js +1 -1
- package/dist/esm-es5/verdocs-toggle.entry.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js +1 -1
- package/dist/esm-es5/verdocs-web-sdk.js.map +1 -1
- package/dist/types/components/dialogs/verdocs-disclosure-dialog/verdocs-disclosure-dialog.d.ts +4 -0
- package/dist/types/components/dialogs/verdocs-ok-dialog/verdocs-ok-dialog.d.ts +1 -1
- package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +1 -1
- package/dist/types/components.d.ts +705 -1
- package/dist/types/stencil-public-runtime.d.ts +32 -6
- package/dist/verdocs-web-sdk/{p-c9ffef4b.system.entry.js → p-00806fd6.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-0359f32e.entry.js → p-048a7aa1.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6013eb3f.entry.js → p-09b7db37.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e4a44f27.entry.js → p-0ba21663.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-92d45701.entry.js → p-0c12dbce.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-80f0dfbc.entry.js → p-0db986ba.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-784daaf3.entry.js → p-1776c6ae.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-1a6f8e15.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-1a6f8e15.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-cc89f8e4.entry.js → p-1da2979c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4a0dc414.entry.js → p-1fac2e17.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e8c146fc.system.entry.js → p-232af16d.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e63c903a.system.entry.js → p-23cde4a7.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b8d56777.system.entry.js → p-23d2bebc.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-2d9b370b.system.entry.js +4 -0
- package/dist/verdocs-web-sdk/p-2d9b370b.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-5f8f5f48.entry.js → p-2e84c527.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c16b24c0.system.entry.js → p-2f550a52.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b30ca40c.entry.js → p-31821b7f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-efc459f7.system.entry.js → p-3411287e.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4175122c.system.entry.js → p-35d8d17c.system.entry.js} +3 -3
- package/dist/verdocs-web-sdk/{p-be6db7c0.system.entry.js → p-3a66ab11.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-7f085b76.system.entry.js → p-3dd891fe.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-b2a5b79a.system.entry.js → p-3f6a17d4.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d5469309.system.entry.js → p-412eee4d.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-bb1e1ca1.system.entry.js → p-41bfb3b1.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-8a931007.entry.js → p-4761e4b9.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-bf7c7011.system.entry.js → p-497b5c5d.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a279bb92.system.entry.js → p-4a96d6f5.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-204afc1e.system.entry.js → p-4c2be294.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-034eb84e.entry.js → p-54fb32b2.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-551e08c1.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-551e08c1.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-cd60348a.system.entry.js → p-570a7324.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6a5c1de9.system.entry.js → p-5f7f20bb.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-3ab1625e.system.entry.js → p-60982db3.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-767c93e8.system.entry.js → p-62d9a64d.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-2543a4d2.entry.js → p-62edcdde.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-cc823255.entry.js → p-6674c680.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4c5bb9d1.system.entry.js → p-66bb2b87.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-dbb8413d.system.entry.js → p-6940f098.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e7540c7b.system.entry.js → p-6c4a8b93.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-6vpKbd31.js +3 -0
- package/dist/verdocs-web-sdk/p-6vpKbd31.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-43971b64.entry.js → p-73d15c2d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-c48624a8.system.entry.js → p-73e33466.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-8c6b9758.entry.js → p-751beab0.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ac05c34d.system.entry.js → p-7a0b3a9a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-30c6df44.system.entry.js → p-864f6c7e.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-327e38bf.entry.js → p-86a38bea.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-452fb893.system.entry.js → p-8835c006.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-cd56307c.entry.js → p-88b73a01.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ce2336aa.system.entry.js → p-8cf4eee7.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ed194be6.system.entry.js → p-8dfd9904.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-d0b7bbc5.entry.js → p-92147c8e.entry.js} +3 -3
- package/dist/verdocs-web-sdk/{p-59723c89.entry.js → p-9524927b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-ef701763.entry.js → p-9ad04f8d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-a734eed0.entry.js → p-9d7b480f.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-B0FmVwBR.system.js +3 -0
- package/dist/verdocs-web-sdk/p-B0FmVwBR.system.js.map +1 -0
- package/dist/verdocs-web-sdk/p-B4iEf9n4.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-BOuTTVR2.system.js.map → p-BEywLaeg.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-B8hJTIPP.system.js.map → p-BHraMRgX.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-ClClPWj-.system.js.map → p-BVutGFrl.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-L5sYoH8b.system.js.map → p-BYZ-2MPe.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-BbPAtVJG.system.js.map +1 -1
- package/dist/verdocs-web-sdk/{p-Ds5wL-Co.system.js.map → p-Bnt7basv.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CiSQubo3.system.js.map → p-BscsgV4o.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-C2U1AIgQ.system.js.map → p-Bu5xpJsB.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-C3pXyYu2.system.js.map → p-C0FCkTIp.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CYHTkSId.system.js.map → p-CD6sicLf.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-luuB7PWr.system.js.map → p-CI9muv3M.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-CICLOJJr.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-Bbn-DzjB.system.js.map → p-CLPiPop_.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DOuKoKCI.system.js.map → p-CLc1GNW6.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Dee_B32v.system.js.map → p-CSllp1iL.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Ctlx9aRK.system.js.map → p-CWb_yOld.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BPt7ZeYN.system.js.map → p-CZ3_KnyZ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DT5SgITS.system.js.map → p-CcZnCyhK.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Dmi3C21y.system.js.map → p-CnpV8Obg.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-DANgXHoV.system.js.map → p-Cts9LOkJ.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CHZu9FwY.system.js.map → p-CxCkAfDO.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Blg08wne.system.js.map → p-D677Wyq5.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Dchsv9SZ.system.js.map → p-D7IFi8me.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CflLDny-.system.js.map → p-D9LbjoUr.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CxebBOfo.system.js.map → p-DE2U9Rfd.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-cI4bagwT.system.js.map → p-DFyhKNRO.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-Czs72bg4.system.js.map → p-DGdn9mfe.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-CXF7FJKi.system.js.map → p-DNjMP8Na.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-C4wFtWGl.system.js.map → p-DPhW-51Y.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-DQuL1Twl.js.map +1 -1
- package/dist/verdocs-web-sdk/{p-BIcMEuoc.system.js.map → p-DY0HrduN.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-DcCGkiJ-.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-bjoD8Mtb.system.js.map → p-DcKTmwEW.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-BYK4X2Cr.system.js.map → p-DcRVYjP6.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-U0rW0Gqv.system.js.map → p-DxcILin8.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-D2By4ZeB.system.js.map → p-JO58lfgU.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-RlE9Yh59.system.js +2 -0
- package/dist/verdocs-web-sdk/{p-CwXSduhy.system.js.map → p-RlE9Yh59.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-51b0c10c.system.entry.js → p-a245ce2a.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-672b6b7b.entry.js → p-a668f61c.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-791184e5.entry.js → p-a6a6e4ab.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-4827f3af.entry.js → p-a94a6d45.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-QrafNGv0.system.js.map → p-af9NAoxw.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-aa84e0ae.entry.js → p-b4bfad4d.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-637da951.system.entry.js → p-b72d1a5f.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-48ea586f.entry.js → p-b77076ae.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-5631b76d.entry.js → p-baaa811b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-759b5749.entry.js → p-bc20c923.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-6f6a0c7a.system.entry.js → p-bcc07a53.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-BMTuIIDz.system.js.map → p-c-HO8wJy.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/{p-76aed8e2.system.entry.js → p-c0192037.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-356af98a.entry.js → p-c1a71296.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-99f4f945.entry.js → p-c5f64deb.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-45f59906.entry.js → p-ca8bb8ab.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-68b11f68.entry.js → p-ceabec49.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-d5f1bffb.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-d5f1bffb.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/p-dd51c6cf.entry.js +3 -0
- package/dist/verdocs-web-sdk/p-dd51c6cf.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-d1e99a40.entry.js → p-e48adefb.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-e755e978.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-e755e978.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-DyIimYwQ.system.js.map → p-eV_NkDV8.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-f05f021e.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-f05f021e.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-ece1678b.system.entry.js → p-f6598c9b.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-e15b7c92.entry.js → p-f8d91f6b.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-596326ba.system.entry.js → p-f9f25d23.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-8c98a765.system.entry.js → p-faab7883.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-72c996d0.system.entry.js → p-fb57a316.system.entry.js} +2 -2
- package/dist/verdocs-web-sdk/p-fc5c2c45.system.entry.js +2 -0
- package/dist/verdocs-web-sdk/p-fc5c2c45.system.entry.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-e26ff4f2.entry.js → p-fd1f2414.entry.js} +2 -2
- package/dist/verdocs-web-sdk/{p-DpJ6fOKq.system.js.map → p-i133pS58.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/p-nr83qKQ0.system.js.map +1 -0
- package/dist/verdocs-web-sdk/{p-LIkyGpz6.system.js.map → p-zO3xplJW.system.js.map} +1 -1
- package/dist/verdocs-web-sdk/verdocs-contact-picker.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-delegate-dialog.verdocs-disclosure-dialog.verdocs-kba-dialog.verdocs-otp-dialog.verdocs-view.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-dialog.verdocs-ok-dialog.entry.esm.js.map +1 -0
- package/dist/verdocs-web-sdk/verdocs-sign.entry.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js.map +1 -1
- package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
- package/package.json +12 -14
- package/dist/cjs/index-Be9PlTB7.js.map +0 -1
- package/dist/cjs/verdocs-dialog.cjs.entry.js +0 -30
- package/dist/cjs/verdocs-dialog.cjs.entry.js.map +0 -1
- package/dist/cjs/verdocs-dialog.entry.cjs.js.map +0 -1
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js +0 -54
- package/dist/cjs/verdocs-ok-dialog.cjs.entry.js.map +0 -1
- package/dist/cjs/verdocs-ok-dialog.entry.cjs.js.map +0 -1
- package/dist/components/p-6dn6bTF-.js.map +0 -1
- package/dist/components/p-BnMAPkKT.js.map +0 -1
- package/dist/components/p-CZcjG946.js.map +0 -1
- package/dist/components/p-Cswo_Apj.js.map +0 -1
- package/dist/components/p-DBxWj2lt.js.map +0 -1
- package/dist/components/p-DHl4c1oa.js.map +0 -1
- package/dist/components/p-DZ3TxFzS.js.map +0 -1
- package/dist/components/p-Dp0dNizc.js +0 -78
- package/dist/components/p-Dp0dNizc.js.map +0 -1
- package/dist/components/p-Dq3ca8_9.js.map +0 -1
- package/dist/components/p-I_twwI6N.js.map +0 -1
- package/dist/components/p-cuwa7Els.js.map +0 -1
- package/dist/esm/index-CF7i8guW.js.map +0 -1
- package/dist/esm/verdocs-dialog.entry.js +0 -28
- package/dist/esm/verdocs-dialog.entry.js.map +0 -1
- package/dist/esm/verdocs-ok-dialog.entry.js +0 -52
- package/dist/esm/verdocs-ok-dialog.entry.js.map +0 -1
- package/dist/esm-es5/index-CF7i8guW.js +0 -2
- package/dist/esm-es5/index-CF7i8guW.js.map +0 -1
- package/dist/esm-es5/verdocs-dialog.entry.js +0 -2
- package/dist/esm-es5/verdocs-dialog.entry.js.map +0 -1
- package/dist/esm-es5/verdocs-ok-dialog.entry.js +0 -2
- package/dist/esm-es5/verdocs-ok-dialog.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-27965f3b.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-27965f3b.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-5e92e1ed.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-5e92e1ed.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-6f06bc8e.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-6f06bc8e.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-72e9198d.system.entry.js +0 -4
- package/dist/verdocs-web-sdk/p-72e9198d.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-7e909e4d.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-7e909e4d.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-86e18c44.entry.js +0 -3
- package/dist/verdocs-web-sdk/p-86e18c44.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-B0YnqF33.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-CBcFsA_E.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-CF7i8guW.js +0 -3
- package/dist/verdocs-web-sdk/p-CF7i8guW.js.map +0 -1
- package/dist/verdocs-web-sdk/p-CWdALVSJ.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-CvTJQ0Hb.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-CwXSduhy.system.js +0 -2
- package/dist/verdocs-web-sdk/p-ZoT3tV_N.system.js.map +0 -1
- package/dist/verdocs-web-sdk/p-a0f35935.system.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-a0f35935.system.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-bcdf5197.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-bcdf5197.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-c4f79857.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-c4f79857.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-d7109021.entry.js +0 -2
- package/dist/verdocs-web-sdk/p-d7109021.entry.js.map +0 -1
- package/dist/verdocs-web-sdk/p-gAi_FRvp.system.js +0 -3
- package/dist/verdocs-web-sdk/p-gAi_FRvp.system.js.map +0 -1
- package/dist/verdocs-web-sdk/verdocs-dialog.entry.esm.js.map +0 -1
- package/dist/verdocs-web-sdk/verdocs-ok-dialog.entry.esm.js.map +0 -1
- /package/dist/verdocs-web-sdk/{p-c9ffef4b.system.entry.js.map → p-00806fd6.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-0359f32e.entry.js.map → p-048a7aa1.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6013eb3f.entry.js.map → p-09b7db37.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e4a44f27.entry.js.map → p-0ba21663.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-92d45701.entry.js.map → p-0c12dbce.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-80f0dfbc.entry.js.map → p-0db986ba.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-784daaf3.entry.js.map → p-1776c6ae.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cc89f8e4.entry.js.map → p-1da2979c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4a0dc414.entry.js.map → p-1fac2e17.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e8c146fc.system.entry.js.map → p-232af16d.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e63c903a.system.entry.js.map → p-23cde4a7.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b8d56777.system.entry.js.map → p-23d2bebc.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5f8f5f48.entry.js.map → p-2e84c527.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c16b24c0.system.entry.js.map → p-2f550a52.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b30ca40c.entry.js.map → p-31821b7f.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-efc459f7.system.entry.js.map → p-3411287e.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4175122c.system.entry.js.map → p-35d8d17c.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-be6db7c0.system.entry.js.map → p-3a66ab11.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-7f085b76.system.entry.js.map → p-3dd891fe.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-b2a5b79a.system.entry.js.map → p-3f6a17d4.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d5469309.system.entry.js.map → p-412eee4d.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-bb1e1ca1.system.entry.js.map → p-41bfb3b1.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8a931007.entry.js.map → p-4761e4b9.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-bf7c7011.system.entry.js.map → p-497b5c5d.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a279bb92.system.entry.js.map → p-4a96d6f5.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-204afc1e.system.entry.js.map → p-4c2be294.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-034eb84e.entry.js.map → p-54fb32b2.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cd60348a.system.entry.js.map → p-570a7324.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6a5c1de9.system.entry.js.map → p-5f7f20bb.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-3ab1625e.system.entry.js.map → p-60982db3.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-767c93e8.system.entry.js.map → p-62d9a64d.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-2543a4d2.entry.js.map → p-62edcdde.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cc823255.entry.js.map → p-6674c680.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4c5bb9d1.system.entry.js.map → p-66bb2b87.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-dbb8413d.system.entry.js.map → p-6940f098.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e7540c7b.system.entry.js.map → p-6c4a8b93.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-43971b64.entry.js.map → p-73d15c2d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-c48624a8.system.entry.js.map → p-73e33466.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8c6b9758.entry.js.map → p-751beab0.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ac05c34d.system.entry.js.map → p-7a0b3a9a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-30c6df44.system.entry.js.map → p-864f6c7e.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-327e38bf.entry.js.map → p-86a38bea.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-452fb893.system.entry.js.map → p-8835c006.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-cd56307c.entry.js.map → p-88b73a01.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ce2336aa.system.entry.js.map → p-8cf4eee7.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ed194be6.system.entry.js.map → p-8dfd9904.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d0b7bbc5.entry.js.map → p-92147c8e.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-59723c89.entry.js.map → p-9524927b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ef701763.entry.js.map → p-9ad04f8d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-a734eed0.entry.js.map → p-9d7b480f.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-51b0c10c.system.entry.js.map → p-a245ce2a.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-672b6b7b.entry.js.map → p-a668f61c.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-791184e5.entry.js.map → p-a6a6e4ab.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-4827f3af.entry.js.map → p-a94a6d45.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-aa84e0ae.entry.js.map → p-b4bfad4d.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-637da951.system.entry.js.map → p-b72d1a5f.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-48ea586f.entry.js.map → p-b77076ae.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-5631b76d.entry.js.map → p-baaa811b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-759b5749.entry.js.map → p-bc20c923.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-6f6a0c7a.system.entry.js.map → p-bcc07a53.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-76aed8e2.system.entry.js.map → p-c0192037.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-356af98a.entry.js.map → p-c1a71296.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-99f4f945.entry.js.map → p-c5f64deb.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-45f59906.entry.js.map → p-ca8bb8ab.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-68b11f68.entry.js.map → p-ceabec49.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-d1e99a40.entry.js.map → p-e48adefb.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-ece1678b.system.entry.js.map → p-f6598c9b.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e15b7c92.entry.js.map → p-f8d91f6b.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-596326ba.system.entry.js.map → p-f9f25d23.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-8c98a765.system.entry.js.map → p-faab7883.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-72c996d0.system.entry.js.map → p-fb57a316.system.entry.js.map} +0 -0
- /package/dist/verdocs-web-sdk/{p-e26ff4f2.entry.js.map → p-fd1f2414.entry.js.map} +0 -0
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"names":["verdocsSignCss","DEFAULT_DISCLOSURES","VerdocsSign","exports","class_1","hostRef","this","endpoint","DefaultEndpoint","envelopeId","roleId","inviteCode","headerTargetId","recipient","hasSignature","nextButtonLabel","nextSubmits","fatalErrorHeader","fatalErrorMessage","focusedField","disclosures","submitting","submitted","isDone","showDone","showLoadError","finishLater","showFinishLater","agreed","documentsSingularPlural","authStep","authMethodStates","kbaQuestions","showSpinner","declining","delegating","delegated","kbaChoices","loading","envelope","prototype","componentWillLoad","console","log","VerdocsEndpoint","sessionType","componentDidLoad","_a","sdkError","emit","SDKError","_b","_c","concat","startSigningSession","response","_g","sent","processAuthResponse","e_1","_d","message","_e","status","_f","data","componentDidRender","headerTarget","document","getElementById","headerEl","remove","append","auth_step","organization","disclaimer","delegated_to","Store","updateEnvelope","documents","length","auth_method_states","kba_questions","Object","values","includes","checkRecipientFields","envelopeLoaded","handleClickAgree","_this","envelopeRecipientAgree","then","envelopeUpdated","event","catch","e","handleOptionSelected","detail","id","window","print","firstDoc","find","doc","type","saveAttachment","updateRecipientFieldValue","fieldName","updateResult","getRecipientFields","forEach","oldField","name","value","settings","updateDocumentFieldValue","saveFieldChange","fields","updateEnvelopeField","error","handleFieldChange","field","target","checked","_h","prepared","String","fetch","_j","blob","initialsBlob","createInitials","newInitials","__awaiter","updateEnvelopeFieldInitials","signatureBlob","createSignature","newSignature","updateEnvelopeFieldSignature","warn","formattedDate","ts","getAttribute","isFieldFilled","validator","isValidEmail","isValidPhone","trim","group","filter","f","some","isFieldValid","required","getSortedFillableFields","recipientFields","sortFields","handleNext","envelopeRecipientSubmit","result","getEnvelope","e_2","emptyFields","focusedIndex","findIndex","nextFocusedIndex","nextRequiredField","skips","getFieldId","el","scrollIntoView","behavior","focusField","role_name","invalidFields","map","attachFieldAttributes","pageInfo","setAttribute","addEventListener","finally","uploadEnvelopeFieldAttachment","newEl","renderDocumentField","disabled","editable","draggable","done","e_3","VerdocsToast","style","deleteEnvelopeFieldAttachment","e_4","template_id","pageNumber","xScale","yScale","fullName","formatFullName","fullNameToInitials","handlePageRendered","tabIndex","page","Array","isArray","recipients","r","handleAuthenticateSigner","params","verifySigner","render","h","Host","heading","buttonLabel","onNext","location","reload","class","onSdkError","preventDefault","stopPropagation","paddingTop","src","width","height","boxShadow","marginTop","alt","onExit","delegateRecipient","showCancel","envelopeRecipientDecline","onDelegate","onDecline","onAccept","mode","step","steps","placeholder","helptitle","helptext","label","auth_method","code","method","kba","recipDetails","first_name","last_name","address","city","state","zip","dob","questionNumber","kbaQuestion","prompt","choices","answer","__spreadArray","responses","q","i","inProgressMenuOptions","doneMenuOptions","delegator","unshift","flex","size","onClick","marginLeft","options","onOptionSelected","envelopeDocument","pageNumbers","integerSequence","pages","Fragment","pageSize","page_sizes","documentId","virtualWidth","virtualHeight","onPageRendered","layers"],"sources":["src/components/embeds/verdocs-sign/verdocs-sign.scss?tag=verdocs-sign","src/components/embeds/verdocs-sign/verdocs-sign.tsx"],"sourcesContent":["@import '../../../theme.scss';\n\nverdocs-sign {\n display: flex;\n overflow: hidden;\n position: relative;\n min-height: 600px;\n flex-direction: column;\n box-sizing: border-box;\n font-family: $verdocs-primary-font;\n\n div {\n display: block;\n box-sizing: border-box;\n }\n\n input {\n vertical-align: top;\n }\n\n //.intro {\n // width: 100%;\n // display: flex;\n // flex: 0 0 60px;\n // color: #111111;\n // font-size: 18px;\n // font-weight: 500;\n // line-height: 28px;\n // flex-direction: row;\n // background: #ffffff;\n //\n // .inner {\n // width: 100%;\n // display: flex;\n // margin: 0 auto;\n // padding: 0 20px;\n // max-width: 1200px;\n // flex-direction: row;\n // align-items: center;\n // }\n //}\n\n > .document {\n flex: 1;\n width: 100%;\n height: 100%;\n align-self: center;\n display: flex;\n padding: 15px;\n row-gap: 15px;\n max-width: 1200px;\n min-height: 200px;\n position: relative;\n overflow-y: scroll;\n align-items: center;\n box-sizing: border-box;\n flex-direction: column;\n //justify-content: center;\n\n .inner {\n width: 100%;\n max-width: 1028px;\n }\n }\n\n .cover {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n z-index: 5000;\n position: absolute;\n padding-top: 100px;\n align-items: center;\n flex-direction: column;\n background: rgba(0, 0, 0, 0.5);\n }\n\n verdocs-ok-dialog .background-overlay {\n align-items: flex-start;\n padding-top: 100px;\n }\n\n .loading-indicator {\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n z-index: 10000;\n position: fixed;\n background-color: rgba(0, 0, 0, 0.7);\n }\n\n .fatal-error {\n position: absolute;\n z-index: 100;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background-color: #4a4a4a;\n display: flex;\n align-items: center;\n justify-content: center;\n\n .placeholder {\n position: absolute;\n opacity: 0.1;\n z-index: -1;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 612px;\n height: 792px;\n box-shadow: 0 0 10px 5px #0000000f;\n margin-top: 15px;\n }\n\n .message {\n max-width: 360px;\n width: 50%;\n font-size: 16px;\n background: white;\n box-shadow: 3px 3px 9px -1px #0000003f;\n }\n\n .header {\n color: white;\n font-size: 18px;\n font-weight: 500;\n padding: 5px 10px;\n margin: 0 0 10px 0;\n background: $verdocs-purple-shade;\n }\n\n p {\n margin: 1rem;\n font-size: 14px;\n font-weight: 400;\n padding: 0 10px;\n }\n }\n}\n\n@media print {\n verdocs-sign .header {\n display: none;\n }\n}\n\n#verdocs-sign-header {\n color: #fff;\n width: 100%;\n display: flex;\n z-index: 1000;\n flex: 0 0 46px;\n font-size: 12px;\n column-gap: 15px;\n align-items: center;\n flex-direction: row;\n transition: all 0.25s;\n background-color: $medium-bg;\n box-shadow:\n 0 4px 4px 0 rgb(0 0 0 / 24%),\n 0 0 4px 0 rgb(0 0 0 / 12%);\n\n .inner {\n width: 100%;\n display: flex;\n margin: 0 auto;\n padding: 0 12px;\n max-width: 1200px;\n align-items: center;\n flex-direction: row;\n }\n\n .logo {\n width: 80px;\n display: none;\n margin: -6px 0 0 0;\n }\n\n .title {\n font-size: 18px;\n font-weight: 500;\n overflow: hidden;\n white-space: nowrap;\n padding: 0 10px 0 0;\n text-overflow: ellipsis;\n }\n}\n\n.spinner-overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n z-index: 1000;\n display: flex;\n align-items: center;\n background: #0000007f;\n justify-content: center;\n}\n","import {updateEnvelopeField, sortFields, IKBAQuestion, ISignerTokenResponse, delegateRecipient} from '@verdocs/js-sdk';\nimport {Event, EventEmitter, Host, Fragment, Component, Prop, State, h} from '@stencil/core';\nimport {verifySigner, IEnvelope, IEnvelopeField, IRecipient, TAuthenticateRecipientRequest} from '@verdocs/js-sdk';\nimport {getEnvelope, integerSequence, isValidEmail, isValidPhone, updateEnvelopeFieldInitials} from '@verdocs/js-sdk';\nimport {fullNameToInitials, startSigningSession, deleteEnvelopeFieldAttachment, formatFullName} from '@verdocs/js-sdk';\nimport {updateEnvelopeFieldSignature, uploadEnvelopeFieldAttachment, VerdocsEndpoint, TRecipientAuthMethod} from '@verdocs/js-sdk';\nimport {createInitials, createSignature, envelopeRecipientAgree, envelopeRecipientDecline, envelopeRecipientSubmit} from '@verdocs/js-sdk';\nimport {getFieldId, renderDocumentField, saveAttachment, updateDocumentFieldValue} from '../../../utils/utils';\nimport {DefaultEndpoint} from '../../../utils/Environment';\nimport {IDocumentPageInfo} from '../../../utils/Types';\nimport {VerdocsToast} from '../../../utils/Toast';\nimport {SDKError} from '../../../utils/errors';\nimport {Store} from '../../../utils/Datastore';\n\nconst DEFAULT_DISCLOSURES = `\n<ul>\n <li>\n Agree to use electronic records and signatures, and confirm you have read the\n <a href=\"https://verdocs.com/en/electronic-record-signature-disclosure/\" target=\"_blank\">\n Electronic Record and Signatures Disclosure</a>.</li>\n <li>\n Agree to Verdocs'\n <a href=\"https://verdocs.com/en/eula\" target=\"_blank\">\n End User License Agreement</a>\n and confirm you have read Verdocs'\n <a href=\"https://verdocs.com/en/privacy-policy/\" target=\"_blank\">\n Privacy Policy</a>.\n </li>\n</ul>`;\n\n/**\n * Display an envelope signing experience. This will display the envelope's attached\n * documents with signing fields overlaid on each page.\n *\n * The component will attempt to initiate a signing session and load the specified\n * envelope. If successful, the recipient's fields will be enabled and the user will\n * be able to sign the envelope's attached documents. If not, an `sdkError` will be\n * thrown and the component will be blank/empty. To provide the best user experience,\n * applications should capture and handle this error to provide the user with\n * instructions/options for next steps based on the application's design and workflow.\n *\n * Unlike other components, this will always create its own endpoint to manage the\n * session session. This endpoint will be included in event callbacks for the\n * convenience of host applications that may wish to make server calls using the\n * signer's credentials once signing is complete (e.g. to obtain copies of\n * the signed attachments.)\n *\n * ```ts\n * <verdocs-sign\n * envelopeId={ENVELOPE_ID}\n * roleId={ROLE_ID}\n * inviteCode={INVITE_CODE}\n * envelopeUpdated={({ detail }) => console.log('Envelope updated state:', detail) }\n * onSdkError={({ detail }) => { console.log('SDK error', detail) }\n * />\n * ```\n */\n@Component({\n tag: 'verdocs-sign',\n styleUrl: 'verdocs-sign.scss',\n shadow: false,\n})\nexport class VerdocsSign {\n /**\n * The endpoint to use to communicate with Verdocs. If not set, the default endpoint will be used.\n */\n @Prop({mutable: true}) endpoint: VerdocsEndpoint = DefaultEndpoint;\n\n /**\n * The ID of the envelope to sign.\n */\n @Prop({reflect: true}) envelopeId: string | null = null;\n\n /**\n * The ID of the role that will be signing e.g. 'Recipient 1'\n */\n @Prop({reflect: true}) roleId: string | null = null;\n\n /**\n * The invite code for the signer.\n */\n @Prop({reflect: true}) inviteCode: string | null = null;\n\n /**\n * If set, (recommended), the host application should create a <DIV> element with a unique ID. When this\n * component renders, the header will be removed from its default location and placed in the target element.\n * This allows the parent application to more easily control its placement and scroll effects (e.g. \"fixed\").\n *\n * The movement of the header to the target container is not dynamic - it is performed only on the initial\n * render. Host applications should not conditionally render this container. If the header's visibility must\n * be externally controlled, use CSS display options to hide/show it instead.\n */\n @Prop() headerTargetId: string | null = null;\n\n /**\n * Event fired if an error occurs. The event details will contain information about the error. Most errors will\n * terminate the process, and the calling application should correct the condition and re-render the component.\n */\n @Event({composed: true}) sdkError: EventEmitter<SDKError>;\n\n /**\n * Event fired when the envelope is loaded for the first time.\n */\n @Event({composed: true}) envelopeLoaded: EventEmitter<{endpoint: VerdocsEndpoint; envelope: IEnvelope}>;\n\n /**\n * Event fired when the envelope is updated in any way.\n */\n @Event({composed: true}) envelopeUpdated: EventEmitter<{endpoint: VerdocsEndpoint; envelope: IEnvelope; event: string}>;\n\n // @State() roleNames: string[] = [];\n // @State() sortedRecipients: IRecipient[] = [];\n @State() recipient: IRecipient | null = null;\n @State() hasSignature = false;\n @State() nextButtonLabel = 'Start';\n @State() nextSubmits = false;\n @State() fatalErrorHeader = '';\n @State() fatalErrorMessage = '';\n @State() focusedField = '';\n @State() disclosures = DEFAULT_DISCLOSURES;\n @State() submitting = false;\n @State() submitted = false;\n @State() isDone = false;\n @State() showDone = false;\n @State() showLoadError = false;\n @State() finishLater = false;\n @State() showFinishLater = false;\n @State() agreed = false;\n @State() documentsSingularPlural = 'document';\n @State() authStep: string | null = null;\n @State() authMethodStates: Partial<Record<TRecipientAuthMethod, string>> = {};\n @State() kbaQuestions: IKBAQuestion[] | null = null;\n @State() showSpinner = false;\n @State() declining = false;\n @State() delegating = false;\n @State() delegated = false;\n @State() kbaChoices = [];\n\n @State() loading = true;\n @State() envelope: IEnvelope | null = null;\n\n // recipientIndex: number = -1;\n\n componentWillLoad() {\n if (!this.endpoint) {\n console.log('[SIGN] Creating signing endpoint');\n this.endpoint = new VerdocsEndpoint({sessionType: 'signing'});\n }\n }\n\n async componentDidLoad() {\n if (!this.envelopeId) {\n this.sdkError?.emit(new SDKError('[SIGN] Missing required envelopId', 500, ''));\n return;\n }\n\n if (!this.roleId) {\n this.sdkError?.emit(new SDKError('[SIGN] Missing required roleId', 500, ''));\n return;\n }\n\n if (!this.inviteCode) {\n this.sdkError?.emit(new SDKError('[SIGN] Missing required inviteCode', 500, ''));\n return;\n }\n\n try {\n console.log(`[SIGN] Processing invite code for ${this.envelopeId} / ${this.roleId}`);\n\n // NOTE: We don't listen to the store here because we are often an independent\n // session and might have a different \"view\" of the envelope.\n const response = await startSigningSession(this.endpoint, this.envelopeId, this.roleId, this.inviteCode);\n console.log('[SIGN] Authentication successful', response);\n this.processAuthResponse(response);\n } catch (e) {\n console.log('[SIGN] Error with signing session', e);\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n this.showLoadError = true;\n }\n }\n\n componentDidRender() {\n const headerTarget = this.headerTargetId ? document.getElementById(this.headerTargetId) : null;\n const headerEl = document.getElementById('verdocs-sign-header');\n if (headerTarget && headerEl) {\n console.log('[SIGN] Moving header');\n headerEl.remove();\n headerTarget.append(headerEl);\n }\n }\n\n processAuthResponse(response: ISignerTokenResponse) {\n const {envelope, recipient} = response;\n const {auth_step} = recipient;\n this.recipient = recipient;\n this.envelope = envelope;\n this.disclosures = this.envelope?.organization?.disclaimer || DEFAULT_DISCLOSURES;\n this.authStep = auth_step;\n this.delegated = !!recipient.delegated_to;\n this.agreed = recipient.agreed;\n this.submitted = recipient.status === 'submitted';\n this.isDone = this.submitted;\n this.showDone = this.submitted;\n Store.updateEnvelope(this.envelopeId, envelope);\n\n if (this.envelope.documents.length > 0) {\n this.documentsSingularPlural = 'document(s)';\n }\n\n this.authMethodStates = recipient.auth_method_states || ({} as Record<TRecipientAuthMethod, string>);\n this.kbaQuestions = recipient.kba_questions;\n if (Object.values(this.authMethodStates).includes('failed')) {\n this.fatalErrorHeader = 'Recipient Verification Failed';\n this.fatalErrorMessage = 'We were unable to verify your identity. The sender has been notified.';\n this.isDone = true;\n }\n\n // TODO: Envelope \"complete\" | \"declined\" | \"canceled\"\n // TODO: Recipient \"canceled\"\n\n if (this.envelope.status === 'canceled') {\n this.fatalErrorHeader = 'Unable to Start Signing Session';\n this.fatalErrorMessage = 'This envelope has been canceled. The sender has been notified.';\n } else if (recipient.status === 'declined') {\n this.fatalErrorHeader = 'Declined';\n this.fatalErrorMessage = 'You have declined to sign this request. The sender has been notified.';\n } else if (this.agreed) {\n this.nextButtonLabel = 'Next';\n }\n\n this.checkRecipientFields();\n this.envelopeLoaded?.emit({endpoint: this.endpoint, envelope: this.envelope});\n }\n\n handleClickAgree() {\n this.submitting = true;\n envelopeRecipientAgree(this.endpoint, this.envelopeId, this.roleId, true, this.disclosures)\n .then(() => {\n this.nextButtonLabel = 'Next';\n this.recipient.agreed = true;\n this.submitting = false;\n this.agreed = true; // The server returns a recipient object but it's not \"deep\" so we track this locally\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'agreed'});\n })\n .catch(e => {\n console.log('[SIGN] Update failure', e);\n this.submitting = false;\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n });\n }\n\n async handleOptionSelected(e: any) {\n switch (e.detail.id) {\n case 'later':\n this.finishLater = true;\n this.showFinishLater = true;\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'later'});\n break;\n\n case 'delegate':\n this.delegating = true;\n break;\n\n case 'decline':\n this.declining = true;\n break;\n\n case 'print':\n window.print();\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'printed'});\n break;\n\n case 'download':\n {\n const firstDoc = this.envelope.documents.find(doc => doc.type === 'attachment');\n if (firstDoc) {\n saveAttachment(this.endpoint, this.envelope, firstDoc.id).catch(e => {\n console.log('[SIGN] Error downloading PDF', e);\n });\n this.envelopeUpdated?.emit({endpoint: this.endpoint, envelope: this.envelope, event: 'downloaded'});\n }\n }\n break;\n }\n }\n\n updateRecipientFieldValue(fieldName: string, updateResult: any) {\n console.log('[SIGN] updateRecipientFieldValue', fieldName, updateResult);\n this.getRecipientFields().forEach(oldField => {\n if (oldField.name === fieldName) {\n oldField.value = updateResult.value;\n // TODO: Keeping this while attachments still rely on it\n oldField.settings = updateResult.settings;\n updateDocumentFieldValue(oldField);\n this.checkRecipientFields();\n }\n });\n }\n\n saveFieldChange(fieldName: string, fields: Record<string, any>) {\n console.log('[SIGN] saveFieldChange', fieldName, fields);\n updateEnvelopeField(this.endpoint, this.envelopeId, fieldName, fields) //\n .then(updateResult => this.updateRecipientFieldValue(fieldName, updateResult))\n .catch(e => {\n if (e.response?.status === 401 && e.response?.data?.error === 'jwt expired') {\n console.log('[SIGN] Signing session expired');\n this.fatalErrorHeader = 'Signing Session Expired';\n this.fatalErrorMessage = 'Please reload your browser to continue.';\n } else {\n console.log('[SIGN] Server error', e);\n }\n\n this.sdkError?.emit(new SDKError(e.message, e.response?.status, e.response?.data));\n });\n }\n\n async handleFieldChange(field: IEnvelopeField, e: any) {\n const {value, checked} = e.target;\n\n switch (field.type as any) {\n // TODO: Remove legacy type when no longer needed\n case 'textarea':\n case 'textbox':\n return this.saveFieldChange(field.name, {prepared: false, value});\n\n case 'checkbox': {\n return this.saveFieldChange(field.name, {prepared: false, value: String(e.target.checked)});\n }\n\n case 'radio': {\n return this.saveFieldChange(field.name, {prepared: false, value: String(e.target.checked)});\n }\n\n case 'dropdown':\n // TODO: Set prepared to false server-side.\n console.log('Saving dropdown', field.name, e.detail);\n return this.saveFieldChange(field.name, {prepared: false, value: e.detail});\n\n case 'initial':\n // This can be caused by a focus-out event if the user clicks the field\n // after it's already filled in, then clicks something else like a textbox.\n // We don't visually indicate the focus, but it's still there.\n if (!e.detail) {\n return;\n }\n\n this.showSpinner = true;\n const initialsBlob = await (await fetch(e.detail)).blob();\n return createInitials(this.endpoint, 'initial', initialsBlob) //\n .then(async newInitials => {\n const updateResult = await updateEnvelopeFieldInitials(this.endpoint, this.envelopeId, field.name, newInitials.id);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.showSpinner = false;\n })\n .catch(e => {\n console.log('Error updating initials', e);\n this.showSpinner = false;\n });\n\n case 'signature':\n // This can be caused by a focus-out event if the user clicks the field\n // after it's already filled in, then clicks something else like a textbox.\n // We don't visually indicate the focus, but it's still there.\n if (!e.detail) {\n return;\n }\n\n this.showSpinner = true;\n const signatureBlob = await (await fetch(e.detail)).blob();\n return createSignature(this.endpoint, 'signature', signatureBlob) //\n .then(async newSignature => {\n console.log('Signature update result', newSignature);\n const updateResult = await updateEnvelopeFieldSignature(this.endpoint, this.envelopeId, field.name, newSignature.id);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.showSpinner = false;\n })\n .catch(e => {\n console.warn('[SIGN] Error updating signature', e);\n this.showSpinner = false;\n });\n\n case 'date':\n const {formattedDate} = e.detail;\n if (formattedDate) {\n return this.saveFieldChange(field.name, {prepared: false, value: formattedDate});\n }\n break;\n\n case 'timestamp':\n console.log('[SIGN] Updating timestamp', {value, ts: e.target.getAttribute('timestamp')});\n break;\n\n default:\n console.log('[SIGN] Unhandled field update', {value, checked}, field);\n break;\n }\n }\n\n isFieldFilled(field: IEnvelopeField) {\n const {value = ''} = field;\n switch (field.type as any) {\n case 'textarea':\n case 'textbox':\n switch (field.validator || '') {\n case 'email':\n return isValidEmail(value);\n case 'phone':\n return isValidPhone(value);\n default:\n return (value || '').trim() !== '';\n }\n\n case 'signature':\n return value === 'signed';\n\n case 'initial':\n return value === 'initialed';\n\n // Timestamp fields get automatically filled when the envelope is submitted.\n case 'timestamp':\n return true;\n\n case 'date':\n return !!value;\n\n case 'attachment':\n return value === 'attached';\n\n case 'dropdown':\n return value !== '';\n\n case 'checkbox':\n return value === 'true';\n\n case 'radio':\n if (!!field.group) {\n return this.getRecipientFields()\n .filter(f => f.group === field.group)\n .some(field => field.value === 'true');\n }\n\n return field.value === 'true';\n\n default:\n return false;\n }\n }\n\n isFieldValid(field: IEnvelopeField) {\n return !field.required || this.isFieldFilled(field);\n }\n\n getSortedFillableFields() {\n const recipientFields = this.getRecipientFields().filter(field => field.type !== 'timestamp');\n sortFields(recipientFields);\n return recipientFields;\n }\n\n async handleNext() {\n if (this.nextSubmits) {\n try {\n // Patches the date picker to be forcibly removed if still showing during submission\n document.getElementById('air-datepicker-global-container')?.remove();\n\n this.submitting = true;\n const result = await envelopeRecipientSubmit(this.endpoint, this.envelopeId, this.roleId);\n console.log('[SIGN] Submitted successfully', result);\n this.recipient.status = 'submitted';\n this.showDone = true;\n console.log('[SIGN] Reloading envelope');\n getEnvelope(this.endpoint, this.envelopeId)\n .then(envelope => {\n this.envelope = envelope;\n // The show-done dialog does this\n // this.isDone = true;\n this.submitting = false;\n })\n .catch(e => {\n // this.isDone = true;\n console.log('[SIGN] Error reloading envelope', e);\n this.submitting = false;\n });\n } catch (e) {\n console.log('[SIGN] Error submitting', e);\n }\n\n return;\n }\n\n // Find and focus the next incomplete field (that is fillable)\n const emptyFields = this.getSortedFillableFields().filter(field => field.required && !this.isFieldFilled(field));\n sortFields(emptyFields);\n\n const focusedIndex = emptyFields.findIndex(field => field.name === this.focusedField);\n let nextFocusedIndex = focusedIndex + 1;\n if (nextFocusedIndex >= emptyFields.length) {\n nextFocusedIndex = 0;\n }\n\n let nextRequiredField = emptyFields[nextFocusedIndex];\n // console.log('Next field', nextRequiredField, emptyFields);\n\n // Skip signature and initial fields that are already filled in. We have to count our \"skips\" just in case, to avoid infinite loops.\n let skips = 0;\n if (skips < emptyFields.length && ['signature', 'initial'].includes(nextRequiredField.type) && ['initialed', 'signed'].includes(nextRequiredField.value)) {\n skips++;\n nextFocusedIndex++;\n if (nextFocusedIndex >= emptyFields.length) {\n nextFocusedIndex = 0;\n }\n nextRequiredField = emptyFields[nextFocusedIndex];\n }\n\n if (skips >= emptyFields.length) {\n nextRequiredField = null;\n }\n\n if (nextRequiredField) {\n const id = getFieldId(nextRequiredField);\n const el = document.getElementById(id) as any;\n el?.scrollIntoView({behavior: 'smooth'});\n el?.focusField();\n this.focusedField = nextRequiredField.name;\n }\n }\n\n getRecipientFields() {\n return this.envelope.fields.filter(field => field.role_name === this.recipient.role_name);\n }\n\n // See if everything that \"needs to be\" filled in is, and all \"fillable fields\" are valid\n checkRecipientFields() {\n const invalidFields = this.getRecipientFields().filter(field => !this.isFieldValid(field));\n if (invalidFields.length < 1) {\n this.nextButtonLabel = 'Finish';\n if (!this.nextSubmits) {\n this.nextSubmits = true;\n }\n } else {\n console.log(\n '[SIGN] Invalid fields remaining',\n invalidFields.map(field => field.name),\n );\n this.nextButtonLabel = 'Next';\n this.nextSubmits = false;\n }\n }\n\n attachFieldAttributes(pageInfo, field, el) {\n // We can get called multiple times as rendering completes and it's hard to avoid that\n // because it's a ton of work for the callers to know it's been done already. But we\n // don't want to attach multiple event listeners or we get dupe event handling, like\n // calling the server twice on every field update. Since JS has no removeAllEventListeners()\n // option, using removeEventListener() isn't reliable the way Stencil binds local function\n // contexts, and cloneNode messes up the rest of the rendering, we just track it with a flag.\n if (el.getAttribute('attached') === '1') {\n return;\n }\n el.setAttribute('attached', '1');\n\n el.addEventListener('input', (e: any) => {\n // console.log('[SIGN] onfieldInput', e.detail, e.target.value);\n // These field types don't emit fieldChange. Should we standardize on that? We don't tap \"input\" for fields like\n // text boxes because we'd be updating the field on every keystroke. We do those on blur which fires fieldChange.\n if (e.target.type === 'radio' || e.target.type === 'checkbox') {\n // if (e.target.type === 'radio' || e.target.name.includes('date') || e.target.name.includes('checkbox')) {\n this.handleFieldChange(field, e).finally(() => this.checkRecipientFields());\n } else {\n this.checkRecipientFields();\n }\n });\n el.addEventListener('attached', async (e: any) => {\n console.log('[SIGN] onAttached', e.detail, e.target.value);\n this.showSpinner = true;\n try {\n const updateResult = await uploadEnvelopeFieldAttachment(this.endpoint, this.envelopeId, field.name, e.detail);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.checkRecipientFields();\n\n const newEl = renderDocumentField('envelope', field, pageInfo, {disabled: false, editable: false, draggable: false, done: this.isDone});\n this.attachFieldAttributes(pageInfo, field, newEl);\n\n this.showSpinner = false;\n } catch (e) {\n console.log('Error uploading attachment', e);\n VerdocsToast('Unable to upload attachment, please try again later', {style: 'error'});\n this.showSpinner = false;\n }\n });\n el.addEventListener('deleted', async (e: any) => {\n console.log('[SIGN] onDeleted', e.detail, e.target.value);\n this.showSpinner = true;\n try {\n const updateResult = await deleteEnvelopeFieldAttachment(this.endpoint, this.envelopeId, field.name);\n console.log('[SIGN] Deleted attachment', updateResult);\n this.updateRecipientFieldValue(field.name, updateResult);\n this.checkRecipientFields();\n\n const newEl = renderDocumentField('envelope', field, pageInfo, {disabled: false, editable: false, draggable: false, done: this.isDone});\n this.attachFieldAttributes(pageInfo, field, newEl);\n\n this.showSpinner = false;\n } catch (e) {\n console.log('Error uploading attachment', e);\n VerdocsToast('Unable to upload attachment, please try again later', {style: 'error'});\n this.showSpinner = false;\n }\n });\n el.addEventListener('focusout', e => {\n // These field types trigger focusout as they're used, even without a value change\n if (field.type !== 'dropdown' && field.type !== 'attachment') {\n this.handleFieldChange(field, e).finally(() => this.checkRecipientFields());\n }\n });\n el.addEventListener('fieldChange', e => {\n this.handleFieldChange(field, e).finally(() => this.checkRecipientFields());\n });\n\n el.setAttribute('templateid', this.envelope.template_id);\n el.setAttribute('fieldname', field.name);\n el.setAttribute('page', pageInfo.pageNumber);\n el.setAttribute('xScale', pageInfo.xScale);\n el.setAttribute('yScale', pageInfo.yScale);\n\n const fullName = formatFullName(this.recipient);\n el.setAttribute('initials', fullNameToInitials(fullName));\n el.setAttribute('name', fullName);\n }\n\n handlePageRendered(e: any) {\n const pageInfo = e.detail as IDocumentPageInfo;\n\n // NOTE: We don't filter on pageNumber here because we need the position in the\n // entire list to set the tabIndex.\n const recipientFields = this.getSortedFillableFields();\n console.log('[SIGN] Rendering fields for page', pageInfo.pageNumber, recipientFields);\n\n // First render the fields for the signer\n recipientFields.forEach((field, tabIndex) => {\n if (field.page !== pageInfo.pageNumber) {\n return;\n }\n\n const el = renderDocumentField('envelope', field, pageInfo, {disabled: false, editable: false, draggable: false, done: this.isDone}, tabIndex);\n if (!el) {\n return;\n }\n\n if (Array.isArray(el)) {\n el.map(e => this.attachFieldAttributes(pageInfo, field, e));\n } else {\n this.attachFieldAttributes(pageInfo, field, el);\n }\n });\n\n // Now render the fields for other signers who have yet to act\n this.envelope.recipients\n .filter(r => r.role_name !== this.recipient.role_name && (r.status === 'invited' || r.status === 'opened' || r.status === 'pending'))\n .forEach(() => {\n this.getRecipientFields()\n .filter(field => field.page === pageInfo.pageNumber)\n .forEach(field => {\n const el = renderDocumentField('envelope', field, pageInfo, {disabled: true, editable: false, draggable: false, done: this.isDone});\n if (!el) {\n return;\n }\n\n if (Array.isArray(el)) {\n el.map(e => this.attachFieldAttributes(pageInfo, field, e));\n } else {\n this.attachFieldAttributes(pageInfo, field, el);\n }\n });\n });\n\n this.checkRecipientFields();\n }\n\n handleAuthenticateSigner(params: TAuthenticateRecipientRequest) {\n console.log('[SIGN] Submitting authentication step', params);\n verifySigner(this.endpoint, params)\n .then(r => {\n console.log('[SIGN] Verification successful', r);\n this.processAuthResponse(r);\n })\n .catch(e => {\n console.log('[SIGN] Error submitting authentication step', e);\n if (e.response?.data?.error?.includes('failed')) {\n this.fatalErrorHeader = 'Recipient Verification Failed';\n this.fatalErrorMessage = 'We were unable to verify your identity. The sender has been notified.';\n this.isDone = true;\n } else {\n VerdocsToast(e.response?.data?.error || 'Unable to verify your identity. Please try again.', {style: 'error'});\n }\n });\n }\n\n render() {\n console.log('[SIGN] Rendering', {authStep: this.authStep});\n if (this.showLoadError) {\n return (\n <Host>\n <verdocs-ok-dialog\n heading=\"Unable to Start Signing\"\n message={`Sorry, your invite code is invalid or has expired. Please check your email for an updated invitation, or contact the sender.`}\n buttonLabel=\"OK\"\n onNext={() => {\n window.location.reload();\n }}\n />\n </Host>\n );\n }\n\n if (!this.envelope) {\n return (\n <Host>\n <verdocs-loader />\n </Host>\n );\n }\n\n if (this.fatalErrorMessage) {\n return (\n <Host class={{agreed: this.agreed}}>\n <div class=\"fatal-error\">\n <div class=\"message\">\n <div class=\"header\">{this.fatalErrorHeader}</div>\n <p>{this.fatalErrorMessage}</p>\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.delegated) {\n return (\n <Host class={{agreed: false}}>\n <div class=\"fatal-error\">\n <div class=\"message\">\n <div class=\"header\">Delegated Signing Request</div>\n <p>You have delegated signing to another recipient. You will not be able to sign this request again.</p>\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.isDone) {\n return (\n <Host class={{agreed: this.agreed}}>\n <verdocs-view endpoint={this.endpoint} envelopeId={this.envelopeId} onSdkError={e => this.sdkError?.emit(e.detail)} />\n\n {this.showDone && (\n <verdocs-ok-dialog\n heading=\"You're Done!\"\n message={`You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`}\n onNext={(e: any) => {\n e.preventDefault();\n e.stopPropagation();\n this.showDone = false;\n this.isDone = true;\n }}\n />\n )}\n\n {this.submitting && (\n <div class=\"loading-indicator\">\n <verdocs-loader />\n </div>\n )}\n </Host>\n );\n }\n\n if (this.delegating) {\n return (\n <Host class=\"agreed\">\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <verdocs-delegate-dialog\n endpoint={this.endpoint}\n envelope={this.envelope}\n onExit={() => (this.delegating = false)}\n onNext={(e: any) => {\n delegateRecipient(this.endpoint, this.envelopeId, this.roleId, e.detail)\n .then(r => {\n VerdocsToast('Delegation request submitted.', {style: 'success'});\n console.log('[SIGN] Delegated successfully', r);\n this.delegated = true;\n this.delegating = false;\n })\n .catch(e => {\n console.log('[SIGN] Error delegating request', e);\n VerdocsToast('Unable to process delegation request. Please try again later.', {style: 'error'});\n });\n }}\n />\n </Host>\n );\n }\n\n if (this.declining) {\n return (\n <verdocs-ok-dialog\n heading=\"Decline Signing Request\"\n message={`If you decline to sign this request, you will not be able to sign again in the future. The envelope sender will be notified.`}\n buttonLabel=\"OK\"\n showCancel={true}\n onExit={() => (this.declining = false)}\n onNext={() => {\n envelopeRecipientDecline(this.endpoint, this.envelopeId, this.roleId)\n .then(r => {\n console.log('[SIGN] Decline result', r);\n window.location.reload();\n })\n .catch(e => console.warn('[SIGN] Error declining signing session', e));\n }}\n />\n );\n }\n\n if (!this.agreed) {\n return (\n <Host class=\"agreed\">\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <verdocs-disclosure-dialog\n disclosures={this.disclosures}\n onDelegate={() => (this.delegating = true)}\n onDecline={() => (this.declining = true)}\n onAccept={() => this.handleClickAgree()}\n />\n </Host>\n );\n }\n\n if (this.authStep === 'passcode') {\n return (\n <Host class=\"kba\">\n <div id=\"verdocs-sign-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}</div>\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <div class=\"cover\">\n <div class=\"kba\">\n <verdocs-kba-dialog\n mode=\"text\"\n step={1}\n steps={1}\n placeholder=\"Enter your passcode...\"\n helptitle=\"Document is protected by a Passcode\"\n helptext=\"Please enter your Passcode to proceed. If you do not have one, please contact the sender.\"\n label=\"Passcode\"\n onNext={e => this.handleAuthenticateSigner({auth_method: 'passcode', code: e.detail as string})}\n />\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.authStep === 'email') {\n return (\n <verdocs-otp-dialog\n endpoint={this.endpoint}\n method=\"email\"\n onNext={async e => {\n this.processAuthResponse(e.detail.response);\n }}\n />\n );\n }\n\n if (this.authStep === 'kba' && !this.authMethodStates.kba) {\n return (\n <Host class=\"kba\">\n <div id=\"verdocs-sign-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}</div>\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <div class=\"cover\">\n <div class=\"kba\">\n <verdocs-kba-dialog\n mode=\"identity\"\n helptitle=\"Document requires identity verification\"\n helptext=\"Please complete your contact details to proceed.\"\n recipient={this.recipient}\n onNext={async e => {\n const recipDetails = e.detail as IRecipient;\n this.handleAuthenticateSigner({\n auth_method: 'kba',\n first_name: recipDetails.first_name,\n last_name: recipDetails.last_name,\n address: recipDetails.address,\n city: recipDetails.city,\n state: recipDetails.state,\n zip: recipDetails.zip,\n dob: recipDetails.dob,\n });\n }}\n />\n </div>\n </div>\n </Host>\n );\n }\n\n if (this.authStep === 'kba' && this.authMethodStates.kba === 'questions') {\n const questionNumber = this.kbaChoices.length;\n const kbaQuestion = this.kbaQuestions[questionNumber];\n return (\n <Host class=\"kba\">\n <div id=\"verdocs-sign-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}</div>\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n <img\n src=\"https://public-assets.verdocs.com/loading-placeholder.png\"\n style={{width: '612px', height: '792px', boxShadow: '0 0 10px 5px #0000000f', marginTop: '15px'}}\n alt=\"Placeholder page\"\n />\n </div>\n\n <div class=\"cover\">\n <div class=\"kba\">\n {this.kbaChoices.length >= this.kbaQuestions.length ? (\n <verdocs-spinner />\n ) : (\n <verdocs-kba-dialog\n mode=\"choice\"\n helptitle=\"Your identity requires additional verification\"\n helptext={kbaQuestion?.prompt || 'Please select one of the options below.'}\n choices={kbaQuestion?.answer || ['Skip Question']}\n step={questionNumber + 1}\n steps={this.kbaQuestions.length}\n onNext={async (e: any) => {\n const answer = e.detail as string;\n this.kbaChoices = [...this.kbaChoices, answer];\n if (this.kbaChoices.length >= this.kbaQuestions.length) {\n const responses = this.kbaQuestions.map((q, i) => ({type: q.type, answer: this.kbaChoices[i]}));\n console.log('Submitting KBA responses', this.kbaChoices, responses);\n this.handleAuthenticateSigner({auth_method: 'kba', responses});\n }\n }}\n />\n )}\n </div>\n </div>\n </Host>\n );\n }\n\n const inProgressMenuOptions = [\n {id: 'later', label: 'Finish Later'}, //\n // {id: 'claim', label: 'Claim the Document', disabled: true},\n {id: 'decline', label: 'Decline to Sign'},\n {id: 'print', label: 'Print Without Signing'},\n {id: 'download', label: 'Download'},\n ];\n\n const doneMenuOptions = [\n {id: 'print', label: 'Print'},\n {id: 'download', label: 'Download'},\n ];\n\n if (this.recipient.delegator) {\n inProgressMenuOptions.unshift({id: 'delegate', label: 'Delegate'});\n }\n\n return (\n <Host>\n <div id=\"verdocs-sign-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}</div>\n <div style={{flex: '1'}} />\n\n {!this.finishLater && <verdocs-button size=\"xsmall\" label={this.nextButtonLabel} disabled={!this.agreed || this.submitting} onClick={() => this.handleNext()} />}\n\n <div style={{marginLeft: '10px'}} />\n <verdocs-dropdown options={!this.isDone && !this.finishLater ? inProgressMenuOptions : doneMenuOptions} onOptionSelected={e => this.handleOptionSelected(e)} />\n </div>\n </div>\n\n <div class=\"document\" style={{paddingTop: '15px'}}>\n {(this.envelope.documents || []).map(envelopeDocument => {\n const pageNumbers = integerSequence(1, envelopeDocument.pages);\n\n return (\n <Fragment>\n {pageNumbers.map(pageNumber => {\n const pageSize = envelopeDocument.page_sizes?.[pageNumber] || {width: 612, height: 792};\n\n // In signing mode we show the original template page with all the recipient fields so we can show source formatting and\n // where everything went. This is also a visual indicator when optional fields weren't filled in by previous actors, or\n // future signers still need to act. Once we're \"done\" we flip to showing the envelope's documents which have the final\n // field vales (so far) stamped into them.\n // TODO: Confirm that a pure page-number match is good enough to find the matching template page. We need to make sure\n // we either don't reset our page numbers for additional attachments, or add match-on identifiers to work around that.\n // console.log('tp', templatePage, page);\n return (\n <verdocs-envelope-document-page\n envelopeId={this.envelopeId}\n documentId={envelopeDocument.id}\n endpoint={this.endpoint}\n virtualWidth={pageSize.width}\n virtualHeight={pageSize.height}\n pageNumber={pageNumber}\n onPageRendered={e => this.handlePageRendered(e)}\n type=\"filled\"\n layers={[\n {name: 'page', type: 'canvas'},\n {name: 'controls', type: 'div'},\n ]}\n />\n );\n })}\n </Fragment>\n );\n })}\n </div>\n\n {this.showFinishLater && (\n <verdocs-ok-dialog\n heading=\"You've saved your document to finish later.\"\n message={`To complete the ${this.documentsSingularPlural}, use the link in the original email notification inviting you to review and finish the document.`}\n onNext={() => (this.showFinishLater = false)}\n />\n )}\n\n {this.showDone && (\n <verdocs-ok-dialog\n heading=\"You're Done!\"\n message={`You can access the ${this.documentsSingularPlural} at any time by clicking on the link from the invitation email.<br /><br />After all recipients have completed their actions, you will receive an email with the document and envelope certificate attached.`}\n onNext={() => {\n this.showDone = false;\n this.isDone = true;\n }}\n />\n )}\n\n {(this.submitting || this.showSpinner) && (\n <verdocs-portal>\n <div class=\"spinner-overlay\">\n <verdocs-spinner />\n </div>\n </verdocs-portal>\n )}\n </Host>\n );\n }\n}\n"],"mappings":"6uFAAA,IAAMA,EAAiB,wtHCcvB,IAAMC,EAAsB,6hB,IAgDfC,EAAWC,EAAA,0BALxB,SAAAC,EAAAC,G,uIASyBC,KAAQC,SAAoBC,EAK5BF,KAAUG,WAAkB,KAK5BH,KAAMI,OAAkB,KAKxBJ,KAAUK,WAAkB,KAW3CL,KAAcM,eAAkB,KAoB/BN,KAASO,UAAsB,KAC/BP,KAAYQ,aAAG,MACfR,KAAeS,gBAAG,QAClBT,KAAWU,YAAG,MACdV,KAAgBW,iBAAG,GACnBX,KAAiBY,kBAAG,GACpBZ,KAAYa,aAAG,GACfb,KAAWc,YAAGnB,EACdK,KAAUe,WAAG,MACbf,KAASgB,UAAG,MACZhB,KAAMiB,OAAG,MACTjB,KAAQkB,SAAG,MACXlB,KAAamB,cAAG,MAChBnB,KAAWoB,YAAG,MACdpB,KAAeqB,gBAAG,MAClBrB,KAAMsB,OAAG,MACTtB,KAAuBuB,wBAAG,WAC1BvB,KAAQwB,SAAkB,KAC1BxB,KAAgByB,iBAAkD,GAClEzB,KAAY0B,aAA0B,KACtC1B,KAAW2B,YAAG,MACd3B,KAAS4B,UAAG,MACZ5B,KAAU6B,WAAG,MACb7B,KAAS8B,UAAG,MACZ9B,KAAU+B,WAAG,GAEb/B,KAAOgC,QAAG,KACVhC,KAAQiC,SAAqB,IAu7BvC,CAn7BCnC,EAAAoC,UAAAC,kBAAA,WACE,IAAKnC,KAAKC,SAAU,CAClBmC,QAAQC,IAAI,oCACZrC,KAAKC,SAAW,IAAIqC,EAAgB,CAACC,YAAa,W,GAIhDzC,EAAAoC,UAAAM,iBAAN,W,gIACE,IAAKxC,KAAKG,WAAY,EACpBsC,EAAAzC,KAAK0C,YAAU,MAAAD,SAAA,SAAAA,EAAAE,KAAK,IAAIC,EAAS,oCAAqC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ASvD,MACvB2D,cAAeJ,EAAStD,OACxB/B,WAAYA,EACZ0F,eAAgB,SAAA7L,GAAK,OAAAN,EAAK+G,mBAAmBzG,EAAxB,EACrBS,KAAK,SACLqL,OAAQ,CACN,CAAC7K,KAAM,OAAQR,KAAM,UACrB,CAACQ,KAAM,WAAYR,KAAM,S,IAOvC,KAGDlG,KAAKqB,iBACJwL,EACE,qBAAAE,QAAQ,8CACRxJ,QAAS,mBAAAR,OAAmB/C,KAAKuB,wBAAuB,qGACxD0L,OAAQ,kBAAO9H,EAAK9D,gBAAkB,KAA9B,IAIXrB,KAAKkB,UACJ2L,EAAA,qBACEE,QAAQ,eACRxJ,QAAS,sBAAAR,OAAsB/C,KAAKuB,wBAAuB,gNAC3D0L,OAAQ,WACN9H,EAAKjE,SAAW,MAChBiE,EAAKlE,OAAS,IAChB,KAIFjB,KAAKe,YAAcf,KAAK2B,cACxBkL,EAAA,sBACEA,EAAK,OAAAO,MAAM,mBACTP,EAAA,0B,WA7/BU,I","ignoreList":[]}
|
@@ -1,3 +0,0 @@
|
|
1
|
-
import{r as e,c as t,h as n,F as o}from"./p-CF7i8guW.js";import{VerdocsEndpoint as r,formatFullName as i,getActiveEntitlements as s,isValidEmail as a}from"@verdocs/js-sdk";import{c,g as l}from"./p-BFTU3MAI.js";import{B as u}from"./p-C_Xku1v2.js";import{d as f}from"./p-fL0BKEnm.js";import"./p-dzBXqXlK.js";import"./p-Dl7Xw8F0.js";
|
2
|
-
/*! Axios v1.10.0 Copyright (c) 2025 Matt Zabriskie and contributors */var d;var h;function p(){if(h)return d;h=1;function e(e,t){return function n(){return e.apply(t,arguments)}}const{toString:t}=Object.prototype;const{getPrototypeOf:n}=Object;const{iterator:o,toStringTag:r}=Symbol;const i=(e=>n=>{const o=t.call(n);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null));const s=e=>{e=e.toLowerCase();return t=>i(t)===e};const a=e=>t=>typeof t===e;const{isArray:l}=Array;const u=a("undefined");function f(e){return e!==null&&!u(e)&&e.constructor!==null&&!u(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const p=s("ArrayBuffer");function m(e){let t;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){t=ArrayBuffer.isView(e)}else{t=e&&e.buffer&&p(e.buffer)}return t}const b=a("string");const w=a("function");const g=a("number");const v=e=>e!==null&&typeof e==="object";const y=e=>e===true||e===false;const x=e=>{if(i(e)!=="object"){return false}const t=n(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(r in e)&&!(o in e)};const k=s("Date");const R=s("File");const O=s("Blob");const E=s("FileList");const S=e=>v(e)&&w(e.pipe);const T=e=>{let t;return e&&(typeof FormData==="function"&&e instanceof FormData||w(e.append)&&((t=i(e))==="formdata"||t==="object"&&w(e.toString)&&e.toString()==="[object FormData]"))};const A=s("URLSearchParams");const[j,C,N,F]=["ReadableStream","Request","Response","Headers"].map(s);const P=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function U(e,t,{allOwnKeys:n=false}={}){if(e===null||typeof e==="undefined"){return}let o;let r;if(typeof e!=="object"){e=[e]}if(l(e)){for(o=0,r=e.length;o<r;o++){t.call(null,e[o],o,e)}}else{const r=n?Object.getOwnPropertyNames(e):Object.keys(e);const i=r.length;let s;for(o=0;o<i;o++){s=r[o];t.call(null,e[s],s,e)}}}function B(e,t){t=t.toLowerCase();const n=Object.keys(e);let o=n.length;let r;while(o-- >0){r=n[o];if(t===r.toLowerCase()){return r}}return null}const I=(()=>{if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:c})();const _=e=>!u(e)&&e!==I;function D(){const{caseless:e}=_(this)&&this||{};const t={};const n=(n,o)=>{const r=e&&B(t,o)||o;if(x(t[r])&&x(n)){t[r]=D(t[r],n)}else if(x(n)){t[r]=D({},n)}else if(l(n)){t[r]=n.slice()}else{t[r]=n}};for(let e=0,t=arguments.length;e<t;e++){arguments[e]&&U(arguments[e],n)}return t}const L=(t,n,o,{allOwnKeys:r}={})=>{U(n,((n,r)=>{if(o&&w(n)){t[r]=e(n,o)}else{t[r]=n}}),{allOwnKeys:r});return t};const q=e=>{if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};const z=(e,t,n,o)=>{e.prototype=Object.create(t.prototype,o);e.prototype.constructor=e;Object.defineProperty(e,"super",{value:t.prototype});n&&Object.assign(e.prototype,n)};const M=(e,t,o,r)=>{let i;let s;let a;const c={};t=t||{};if(e==null)return t;do{i=Object.getOwnPropertyNames(e);s=i.length;while(s-- >0){a=i[s];if((!r||r(a,e,t))&&!c[a]){t[a]=e[a];c[a]=true}}e=o!==false&&n(e)}while(e&&(!o||o(e,t))&&e!==Object.prototype);return t};const H=(e,t,n)=>{e=String(e);if(n===undefined||n>e.length){n=e.length}n-=t.length;const o=e.indexOf(t,n);return o!==-1&&o===n};const $=e=>{if(!e)return null;if(l(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);while(t-- >0){n[t]=e[t]}return n};const K=(e=>t=>e&&t instanceof e)(typeof Uint8Array!=="undefined"&&n(Uint8Array));const J=(e,t)=>{const n=e&&e[o];const r=n.call(e);let i;while((i=r.next())&&!i.done){const n=i.value;t.call(e,n[0],n[1])}};const X=(e,t)=>{let n;const o=[];while((n=e.exec(t))!==null){o.push(n)}return o};const W=s("HTMLFormElement");const V=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(t,n,o){return n.toUpperCase()+o}));const G=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype);const Z=s("RegExp");const Q=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e);const o={};U(n,((n,r)=>{let i;if((i=t(n,r,e))!==false){o[r]=i||n}}));Object.defineProperties(e,o)};const Y=e=>{Q(e,((t,n)=>{if(w(e)&&["arguments","caller","callee"].indexOf(n)!==-1){return false}const o=e[n];if(!w(o))return;t.enumerable=false;if("writable"in t){t.writable=false;return}if(!t.set){t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}}}))};const ee=(e,t)=>{const n={};const o=e=>{e.forEach((e=>{n[e]=true}))};l(e)?o(e):o(String(e).split(t));return n};const te=()=>{};const ne=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function oe(e){return!!(e&&w(e.append)&&e[r]==="FormData"&&e[o])}const re=e=>{const t=new Array(10);const n=(e,o)=>{if(v(e)){if(t.indexOf(e)>=0){return}if(!("toJSON"in e)){t[o]=e;const r=l(e)?[]:{};U(e,((e,t)=>{const i=n(e,o+1);!u(i)&&(r[t]=i)}));t[o]=undefined;return r}}return e};return n(e,0)};const ie=s("AsyncFunction");const se=e=>e&&(v(e)||w(e))&&w(e.then)&&w(e.catch);const ae=((e,t)=>{if(e){return setImmediate}return t?((e,t)=>{I.addEventListener("message",(({source:n,data:o})=>{if(n===I&&o===e){t.length&&t.shift()()}}),false);return n=>{t.push(n);I.postMessage(e,"*")}})(`axios@${Math.random()}`,[]):e=>setTimeout(e)})(typeof setImmediate==="function",w(I.postMessage));const ce=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(I):typeof process!=="undefined"&&process.nextTick||ae;const le=e=>e!=null&&w(e[o]);var ue={isArray:l,isArrayBuffer:p,isBuffer:f,isFormData:T,isArrayBufferView:m,isString:b,isNumber:g,isBoolean:y,isObject:v,isPlainObject:x,isReadableStream:j,isRequest:C,isResponse:N,isHeaders:F,isUndefined:u,isDate:k,isFile:R,isBlob:O,isRegExp:Z,isFunction:w,isStream:S,isURLSearchParams:A,isTypedArray:K,isFileList:E,forEach:U,merge:D,extend:L,trim:P,stripBOM:q,inherits:z,toFlatObject:M,kindOf:i,kindOfTest:s,endsWith:H,toArray:$,forEachEntry:J,matchAll:X,isHTMLForm:W,hasOwnProperty:G,hasOwnProp:G,reduceDescriptors:Q,freezeMethods:Y,toObjectSet:ee,toCamelCase:V,noop:te,toFiniteNumber:ne,findKey:B,global:I,isContextDefined:_,isSpecCompliantForm:oe,toJSONObject:re,isAsyncFn:ie,isThenable:se,setImmediate:ae,asap:ce,isIterable:le};function fe(e,t,n,o,r){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack}this.message=e;this.name="AxiosError";t&&(this.code=t);n&&(this.config=n);o&&(this.request=o);if(r){this.response=r;this.status=r.status?r.status:null}}ue.inherits(fe,Error,{toJSON:function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:ue.toJSONObject(this.config),code:this.code,status:this.status}}});const de=fe.prototype;const he={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{he[e]={value:e}}));Object.defineProperties(fe,he);Object.defineProperty(de,"isAxiosError",{value:true});fe.from=(e,t,n,o,r,i)=>{const s=Object.create(de);ue.toFlatObject(e,s,(function e(t){return t!==Error.prototype}),(e=>e!=="isAxiosError"));fe.call(s,e.message,t,n,o,r);s.cause=e;s.name=e.name;i&&Object.assign(s,i);return s};var pe=null;function me(e){return ue.isPlainObject(e)||ue.isArray(e)}function be(e){return ue.endsWith(e,"[]")?e.slice(0,-2):e}function we(e,t,n){if(!e)return t;return e.concat(t).map((function e(t,o){t=be(t);return!n&&o?"["+t+"]":t})).join(n?".":"")}function ge(e){return ue.isArray(e)&&!e.some(me)}const ve=ue.toFlatObject(ue,{},null,(function e(t){return/^is[A-Z]/.test(t)}));function ye(e,t,n){if(!ue.isObject(e)){throw new TypeError("target must be an object")}t=t||new FormData;n=ue.toFlatObject(n,{metaTokens:true,dots:false,indexes:false},false,(function e(t,n){return!ue.isUndefined(n[t])}));const o=n.metaTokens;const r=n.visitor||u;const i=n.dots;const s=n.indexes;const a=n.Blob||typeof Blob!=="undefined"&&Blob;const c=a&&ue.isSpecCompliantForm(t);if(!ue.isFunction(r)){throw new TypeError("visitor must be a function")}function l(e){if(e===null)return"";if(ue.isDate(e)){return e.toISOString()}if(ue.isBoolean(e)){return e.toString()}if(!c&&ue.isBlob(e)){throw new fe("Blob is not supported. Use a Buffer instead.")}if(ue.isArrayBuffer(e)||ue.isTypedArray(e)){return c&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function u(e,n,r){let a=e;if(e&&!r&&typeof e==="object"){if(ue.endsWith(n,"{}")){n=o?n:n.slice(0,-2);e=JSON.stringify(e)}else if(ue.isArray(e)&&ge(e)||(ue.isFileList(e)||ue.endsWith(n,"[]"))&&(a=ue.toArray(e))){n=be(n);a.forEach((function e(o,r){!(ue.isUndefined(o)||o===null)&&t.append(s===true?we([n],r,i):s===null?n:n+"[]",l(o))}));return false}}if(me(e)){return true}t.append(we(r,n,i),l(e));return false}const f=[];const d=Object.assign(ve,{defaultVisitor:u,convertValue:l,isVisitable:me});function h(e,n){if(ue.isUndefined(e))return;if(f.indexOf(e)!==-1){throw Error("Circular reference detected in "+n.join("."))}f.push(e);ue.forEach(e,(function e(o,i){const s=!(ue.isUndefined(o)||o===null)&&r.call(t,o,ue.isString(i)?i.trim():i,n,d);if(s===true){h(o,n?n.concat(i):[i])}}));f.pop()}if(!ue.isObject(e)){throw new TypeError("data must be an object")}h(e);return t}function xe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function e(n){return t[n]}))}function ke(e,t){this._pairs=[];e&&ye(e,this,t)}const Re=ke.prototype;Re.append=function e(t,n){this._pairs.push([t,n])};Re.toString=function e(t){const n=t?function(e){return t.call(this,e,xe)}:xe;return this._pairs.map((function e(t){return n(t[0])+"="+n(t[1])}),"").join("&")};function Oe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Ee(e,t,n){if(!t){return e}const o=n&&n.encode||Oe;if(ue.isFunction(n)){n={serialize:n}}const r=n&&n.serialize;let i;if(r){i=r(t,n)}else{i=ue.isURLSearchParams(t)?t.toString():new ke(t,n).toString(o)}if(i){const t=e.indexOf("#");if(t!==-1){e=e.slice(0,t)}e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Se{constructor(){this.handlers=[]}use(e,t,n){this.handlers.push({fulfilled:e,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1}eject(e){if(this.handlers[e]){this.handlers[e]=null}}clear(){if(this.handlers){this.handlers=[]}}forEach(e){ue.forEach(this.handlers,(function t(n){if(n!==null){e(n)}}))}}var Te=Se;var Ae={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};var je=typeof URLSearchParams!=="undefined"?URLSearchParams:ke;var Ce=typeof FormData!=="undefined"?FormData:null;var Ne=typeof Blob!=="undefined"?Blob:null;var Fe={isBrowser:true,classes:{URLSearchParams:je,FormData:Ce,Blob:Ne},protocols:["http","https","file","blob","url","data"]};const Pe=typeof window!=="undefined"&&typeof document!=="undefined";const Ue=typeof navigator==="object"&&navigator||undefined;const Be=Pe&&(!Ue||["ReactNative","NativeScript","NS"].indexOf(Ue.product)<0);const Ie=(()=>typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function")();const _e=Pe&&window.location.href||"http://localhost";var De=Object.freeze({__proto__:null,hasBrowserEnv:Pe,hasStandardBrowserWebWorkerEnv:Ie,hasStandardBrowserEnv:Be,navigator:Ue,origin:_e});var Le={...De,...Fe};function qe(e,t){return ye(e,new Le.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,o){if(Le.isNode&&ue.isBuffer(e)){this.append(t,e.toString("base64"));return false}return o.defaultVisitor.apply(this,arguments)}},t))}function ze(e){return ue.matchAll(/\w+|\[(\w*)]/g,e).map((e=>e[0]==="[]"?"":e[1]||e[0]))}function Me(e){const t={};const n=Object.keys(e);let o;const r=n.length;let i;for(o=0;o<r;o++){i=n[o];t[i]=e[i]}return t}function He(e){function t(e,n,o,r){let i=e[r++];if(i==="__proto__")return true;const s=Number.isFinite(+i);const a=r>=e.length;i=!i&&ue.isArray(o)?o.length:i;if(a){if(ue.hasOwnProp(o,i)){o[i]=[o[i],n]}else{o[i]=n}return!s}if(!o[i]||!ue.isObject(o[i])){o[i]=[]}const c=t(e,n,o[i],r);if(c&&ue.isArray(o[i])){o[i]=Me(o[i])}return!s}if(ue.isFormData(e)&&ue.isFunction(e.entries)){const n={};ue.forEachEntry(e,((e,o)=>{t(ze(e),o,n,0)}));return n}return null}function $e(e,t,n){if(ue.isString(e)){try{(0,JSON.parse)(e);return ue.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(n||JSON.stringify)(e)}const Ke={transitional:Ae,adapter:["xhr","http","fetch"],transformRequest:[function e(t,n){const o=n.getContentType()||"";const r=o.indexOf("application/json")>-1;const i=ue.isObject(t);if(i&&ue.isHTMLForm(t)){t=new FormData(t)}const s=ue.isFormData(t);if(s){return r?JSON.stringify(He(t)):t}if(ue.isArrayBuffer(t)||ue.isBuffer(t)||ue.isStream(t)||ue.isFile(t)||ue.isBlob(t)||ue.isReadableStream(t)){return t}if(ue.isArrayBufferView(t)){return t.buffer}if(ue.isURLSearchParams(t)){n.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return t.toString()}let a;if(i){if(o.indexOf("application/x-www-form-urlencoded")>-1){return qe(t,this.formSerializer).toString()}if((a=ue.isFileList(t))||o.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return ye(a?{"files[]":t}:t,e&&new e,this.formSerializer)}}if(i||r){n.setContentType("application/json",false);return $e(t)}return t}],transformResponse:[function e(t){const n=this.transitional||Ke.transitional;const o=n&&n.forcedJSONParsing;const r=this.responseType==="json";if(ue.isResponse(t)||ue.isReadableStream(t)){return t}if(t&&ue.isString(t)&&(o&&!this.responseType||r)){const e=n&&n.silentJSONParsing;const o=!e&&r;try{return JSON.parse(t)}catch(e){if(o){if(e.name==="SyntaxError"){throw fe.from(e,fe.ERR_BAD_RESPONSE,this,null,this.response)}throw e}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Le.classes.FormData,Blob:Le.classes.Blob},validateStatus:function e(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};ue.forEach(["delete","get","head","post","put","patch"],(e=>{Ke.headers[e]={}}));var Je=Ke;const Xe=ue.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var We=e=>{const t={};let n;let o;let r;e&&e.split("\n").forEach((function e(i){r=i.indexOf(":");n=i.substring(0,r).trim().toLowerCase();o=i.substring(r+1).trim();if(!n||t[n]&&Xe[n]){return}if(n==="set-cookie"){if(t[n]){t[n].push(o)}else{t[n]=[o]}}else{t[n]=t[n]?t[n]+", "+o:o}}));return t};const Ve=Symbol("internals");function Ge(e){return e&&String(e).trim().toLowerCase()}function Ze(e){if(e===false||e==null){return e}return ue.isArray(e)?e.map(Ze):String(e)}function Qe(e){const t=Object.create(null);const n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;while(o=n.exec(e)){t[o[1]]=o[2]}return t}const Ye=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function et(e,t,n,o,r){if(ue.isFunction(o)){return o.call(this,t,n)}if(r){t=n}if(!ue.isString(t))return;if(ue.isString(o)){return t.indexOf(o)!==-1}if(ue.isRegExp(o)){return o.test(t)}}function tt(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}function nt(e,t){const n=ue.toCamelCase(" "+t);["get","set","has"].forEach((o=>{Object.defineProperty(e,o+n,{value:function(e,n,r){return this[o].call(this,t,e,n,r)},configurable:true})}))}class ot{constructor(e){e&&this.set(e)}set(e,t,n){const o=this;function r(e,t,n){const r=Ge(t);if(!r){throw new Error("header name must be a non-empty string")}const i=ue.findKey(o,r);if(!i||o[i]===undefined||n===true||n===undefined&&o[i]!==false){o[i||t]=Ze(e)}}const i=(e,t)=>ue.forEach(e,((e,n)=>r(e,n,t)));if(ue.isPlainObject(e)||e instanceof this.constructor){i(e,t)}else if(ue.isString(e)&&(e=e.trim())&&!Ye(e)){i(We(e),t)}else if(ue.isObject(e)&&ue.isIterable(e)){let n={},o,r;for(const t of e){if(!ue.isArray(t)){throw TypeError("Object iterator must return a key-value pair")}n[r=t[0]]=(o=n[r])?ue.isArray(o)?[...o,t[1]]:[o,t[1]]:t[1]}i(n,t)}else{e!=null&&r(t,e,n)}return this}get(e,t){e=Ge(e);if(e){const n=ue.findKey(this,e);if(n){const e=this[n];if(!t){return e}if(t===true){return Qe(e)}if(ue.isFunction(t)){return t.call(this,e,n)}if(ue.isRegExp(t)){return t.exec(e)}throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){e=Ge(e);if(e){const n=ue.findKey(this,e);return!!(n&&this[n]!==undefined&&(!t||et(this,this[n],n,t)))}return false}delete(e,t){const n=this;let o=false;function r(e){e=Ge(e);if(e){const r=ue.findKey(n,e);if(r&&(!t||et(n,n[r],r,t))){delete n[r];o=true}}}if(ue.isArray(e)){e.forEach(r)}else{r(e)}return o}clear(e){const t=Object.keys(this);let n=t.length;let o=false;while(n--){const r=t[n];if(!e||et(this,this[r],r,e,true)){delete this[r];o=true}}return o}normalize(e){const t=this;const n={};ue.forEach(this,((o,r)=>{const i=ue.findKey(n,r);if(i){t[i]=Ze(o);delete t[r];return}const s=e?tt(r):String(r).trim();if(s!==r){delete t[r]}t[s]=Ze(o);n[s]=true}));return this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);ue.forEach(this,((n,o)=>{n!=null&&n!==false&&(t[o]=e&&ue.isArray(n)?n.join(", "):n)}));return t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);t.forEach((e=>n.set(e)));return n}static accessor(e){const t=this[Ve]=this[Ve]={accessors:{}};const n=t.accessors;const o=this.prototype;function r(e){const t=Ge(e);if(!n[t]){nt(o,e);n[t]=true}}ue.isArray(e)?e.forEach(r):r(e);return this}}ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ue.reduceDescriptors(ot.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}));ue.freezeMethods(ot);var rt=ot;function it(e,t){const n=this||Je;const o=t||n;const r=rt.from(o.headers);let i=o.data;ue.forEach(e,(function e(o){i=o.call(n,i,r.normalize(),t?t.status:undefined)}));r.normalize();return i}function st(e){return!!(e&&e.__CANCEL__)}function at(e,t,n){fe.call(this,e==null?"canceled":e,fe.ERR_CANCELED,t,n);this.name="CanceledError"}ue.inherits(at,fe,{__CANCEL__:true});function ct(e,t,n){const o=n.config.validateStatus;if(!n.status||!o||o(n.status)){e(n)}else{t(new fe("Request failed with status code "+n.status,[fe.ERR_BAD_REQUEST,fe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}}function lt(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ut(e,t){e=e||10;const n=new Array(e);const o=new Array(e);let r=0;let i=0;let s;t=t!==undefined?t:1e3;return function a(c){const l=Date.now();const u=o[i];if(!s){s=l}n[r]=c;o[r]=l;let f=i;let d=0;while(f!==r){d+=n[f++];f=f%e}r=(r+1)%e;if(r===i){i=(i+1)%e}if(l-s<t){return}const h=u&&l-u;return h?Math.round(d*1e3/h):undefined}}function ft(e,t){let n=0;let o=1e3/t;let r;let i;const s=(t,o=Date.now())=>{n=o;r=null;if(i){clearTimeout(i);i=null}e.apply(null,t)};const a=(...e)=>{const t=Date.now();const a=t-n;if(a>=o){s(e,t)}else{r=e;if(!i){i=setTimeout((()=>{i=null;s(r)}),o-a)}}};const c=()=>r&&s(r);return[a,c]}const dt=(e,t,n=3)=>{let o=0;const r=ut(50,250);return ft((n=>{const i=n.loaded;const s=n.lengthComputable?n.total:undefined;const a=i-o;const c=r(a);const l=i<=s;o=i;const u={loaded:i,total:s,progress:s?i/s:undefined,bytes:a,rate:c?c:undefined,estimated:c&&s&&l?(s-i)/c:undefined,event:n,lengthComputable:s!=null,[t?"download":"upload"]:true};e(u)}),n)};const ht=(e,t)=>{const n=e!=null;return[o=>t[0]({lengthComputable:n,total:e,loaded:o}),t[1]]};const pt=e=>(...t)=>ue.asap((()=>e(...t)));var mt=Le.hasStandardBrowserEnv?((e,t)=>n=>{n=new URL(n,Le.origin);return e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)})(new URL(Le.origin),Le.navigator&&/(msie|trident)/i.test(Le.navigator.userAgent)):()=>true;var bt=Le.hasStandardBrowserEnv?{write(e,t,n,o,r,i){const s=[e+"="+encodeURIComponent(t)];ue.isNumber(n)&&s.push("expires="+new Date(n).toGMTString());ue.isString(o)&&s.push("path="+o);ue.isString(r)&&s.push("domain="+r);i===true&&s.push("secure");document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function wt(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function gt(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function vt(e,t,n){let o=!wt(t);if(e&&(o||n==false)){return gt(e,t)}return t}const yt=e=>e instanceof rt?{...e}:e;function xt(e,t){t=t||{};const n={};function o(e,t,n,o){if(ue.isPlainObject(e)&&ue.isPlainObject(t)){return ue.merge.call({caseless:o},e,t)}else if(ue.isPlainObject(t)){return ue.merge({},t)}else if(ue.isArray(t)){return t.slice()}return t}function r(e,t,n,r){if(!ue.isUndefined(t)){return o(e,t,n,r)}else if(!ue.isUndefined(e)){return o(undefined,e,n,r)}}function i(e,t){if(!ue.isUndefined(t)){return o(undefined,t)}}function s(e,t){if(!ue.isUndefined(t)){return o(undefined,t)}else if(!ue.isUndefined(e)){return o(undefined,e)}}function a(n,r,i){if(i in t){return o(n,r)}else if(i in e){return o(undefined,n)}}const c={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t,n)=>r(yt(e),yt(t),n,true)};ue.forEach(Object.keys(Object.assign({},e,t)),(function o(i){const s=c[i]||r;const l=s(e[i],t[i],i);ue.isUndefined(l)&&s!==a||(n[i]=l)}));return n}var kt=e=>{const t=xt({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:r,xsrfCookieName:i,headers:s,auth:a}=t;t.headers=s=rt.from(s);t.url=Ee(vt(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer);if(a){s.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")))}let c;if(ue.isFormData(n)){if(Le.hasStandardBrowserEnv||Le.hasStandardBrowserWebWorkerEnv){s.setContentType(undefined)}else if((c=s.getContentType())!==false){const[e,...t]=c?c.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}}if(Le.hasStandardBrowserEnv){o&&ue.isFunction(o)&&(o=o(t));if(o||o!==false&&mt(t.url)){const e=r&&i&&bt.read(i);if(e){s.set(r,e)}}}return t};const Rt=typeof XMLHttpRequest!=="undefined";var Ot=Rt&&function(e){return new Promise((function t(n,o){const r=kt(e);let i=r.data;const s=rt.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=r;let u;let f,d;let h,p;function m(){h&&h();p&&p();r.cancelToken&&r.cancelToken.unsubscribe(u);r.signal&&r.signal.removeEventListener("abort",u)}let b=new XMLHttpRequest;b.open(r.method.toUpperCase(),r.url,true);b.timeout=r.timeout;function w(){if(!b){return}const t=rt.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders());const r=!a||a==="text"||a==="json"?b.responseText:b.response;const i={data:r,status:b.status,statusText:b.statusText,headers:t,config:e,request:b};ct((function e(t){n(t);m()}),(function e(t){o(t);m()}),i);b=null}if("onloadend"in b){b.onloadend=w}else{b.onreadystatechange=function e(){if(!b||b.readyState!==4){return}if(b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)){return}setTimeout(w)}}b.onabort=function t(){if(!b){return}o(new fe("Request aborted",fe.ECONNABORTED,e,b));b=null};b.onerror=function t(){o(new fe("Network Error",fe.ERR_NETWORK,e,b));b=null};b.ontimeout=function t(){let n=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||Ae;if(r.timeoutErrorMessage){n=r.timeoutErrorMessage}o(new fe(n,i.clarifyTimeoutError?fe.ETIMEDOUT:fe.ECONNABORTED,e,b));b=null};i===undefined&&s.setContentType(null);if("setRequestHeader"in b){ue.forEach(s.toJSON(),(function e(t,n){b.setRequestHeader(n,t)}))}if(!ue.isUndefined(r.withCredentials)){b.withCredentials=!!r.withCredentials}if(a&&a!=="json"){b.responseType=r.responseType}if(l){[d,p]=dt(l,true);b.addEventListener("progress",d)}if(c&&b.upload){[f,h]=dt(c);b.upload.addEventListener("progress",f);b.upload.addEventListener("loadend",h)}if(r.cancelToken||r.signal){u=t=>{if(!b){return}o(!t||t.type?new at(null,e,b):t);b.abort();b=null};r.cancelToken&&r.cancelToken.subscribe(u);if(r.signal){r.signal.aborted?u():r.signal.addEventListener("abort",u)}}const g=lt(r.url);if(g&&Le.protocols.indexOf(g)===-1){o(new fe("Unsupported protocol "+g+":",fe.ERR_BAD_REQUEST,e));return}b.send(i||null)}))};const Et=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n=new AbortController;let o;const r=function(e){if(!o){o=true;s();const t=e instanceof Error?e:this.reason;n.abort(t instanceof fe?t:new at(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{i=null;r(new fe(`timeout ${t} of ms exceeded`,fe.ETIMEDOUT))}),t);const s=()=>{if(e){i&&clearTimeout(i);i=null;e.forEach((e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}));e=null}};e.forEach((e=>e.addEventListener("abort",r)));const{signal:a}=n;a.unsubscribe=()=>ue.asap(s);return a}};var St=Et;const Tt=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let o=0;let r;while(o<n){r=o+t;yield e.slice(o,r);o=r}};const At=async function*(e,t){for await(const n of jt(e)){yield*Tt(n,t)}};const jt=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e){break}yield n}}finally{await t.cancel()}};const Ct=(e,t,n,o)=>{const r=At(e,t);let i=0;let s;let a=e=>{if(!s){s=true;o&&o(e)}};return new ReadableStream({async pull(e){try{const{done:t,value:o}=await r.next();if(t){a();e.close();return}let s=o.byteLength;if(n){let e=i+=s;n(e)}e.enqueue(new Uint8Array(o))}catch(e){a(e);throw e}},cancel(e){a(e);return r.return()}},{highWaterMark:2})};const Nt=typeof fetch==="function"&&typeof Request==="function"&&typeof Response==="function";const Ft=Nt&&typeof ReadableStream==="function";const Pt=Nt&&(typeof TextEncoder==="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer()));const Ut=(e,...t)=>{try{return!!e(...t)}catch(e){return false}};const Bt=Ft&&Ut((()=>{let e=false;const t=new Request(Le.origin,{body:new ReadableStream,method:"POST",get duplex(){e=true;return"half"}}).headers.has("Content-Type");return e&&!t}));const It=64*1024;const _t=Ft&&Ut((()=>ue.isReadableStream(new Response("").body)));const Dt={stream:_t&&(e=>e.body)};Nt&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach((t=>{!Dt[t]&&(Dt[t]=ue.isFunction(e[t])?e=>e[t]():(e,n)=>{throw new fe(`Response type '${t}' is not supported`,fe.ERR_NOT_SUPPORT,n)})}))})(new Response);const Lt=async e=>{if(e==null){return 0}if(ue.isBlob(e)){return e.size}if(ue.isSpecCompliantForm(e)){const t=new Request(Le.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}if(ue.isArrayBufferView(e)||ue.isArrayBuffer(e)){return e.byteLength}if(ue.isURLSearchParams(e)){e=e+""}if(ue.isString(e)){return(await Pt(e)).byteLength}};const qt=async(e,t)=>{const n=ue.toFiniteNumber(e.getContentLength());return n==null?Lt(t):n};var zt=Nt&&(async e=>{let{url:t,method:n,data:o,signal:r,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:f="same-origin",fetchOptions:d}=kt(e);l=l?(l+"").toLowerCase():"text";let h=St([r,i&&i.toAbortSignal()],s);let p;const m=h&&h.unsubscribe&&(()=>{h.unsubscribe()});let b;try{if(c&&Bt&&n!=="get"&&n!=="head"&&(b=await qt(u,o))!==0){let e=new Request(t,{method:"POST",body:o,duplex:"half"});let n;if(ue.isFormData(o)&&(n=e.headers.get("content-type"))){u.setContentType(n)}if(e.body){const[t,n]=ht(b,dt(pt(c)));o=Ct(e.body,It,t,n)}}if(!ue.isString(f)){f=f?"include":"omit"}const r="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:o,duplex:"half",credentials:r?f:undefined});let i=await fetch(p,d);const s=_t&&(l==="stream"||l==="response");if(_t&&(a||s&&m)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=i[t]}));const t=ue.toFiniteNumber(i.headers.get("content-length"));const[n,o]=a&&ht(t,dt(pt(a),true))||[];i=new Response(Ct(i.body,It,n,(()=>{o&&o();m&&m()})),e)}l=l||"text";let w=await Dt[ue.findKey(Dt,l)||"text"](i,e);!s&&m&&m();return await new Promise(((t,n)=>{ct(t,n,{data:w,headers:rt.from(i.headers),status:i.status,statusText:i.statusText,config:e,request:p})}))}catch(t){m&&m();if(t&&t.name==="TypeError"&&/Load failed|fetch/i.test(t.message)){throw Object.assign(new fe("Network Error",fe.ERR_NETWORK,e,p),{cause:t.cause||t})}throw fe.from(t,t&&t.code,e,p)}});const Mt={http:pe,xhr:Ot,fetch:zt};ue.forEach(Mt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const Ht=e=>`- ${e}`;const $t=e=>ue.isFunction(e)||e===null||e===false;var Kt={getAdapter:e=>{e=ue.isArray(e)?e:[e];const{length:t}=e;let n;let o;const r={};for(let i=0;i<t;i++){n=e[i];let t;o=n;if(!$t(n)){o=Mt[(t=String(n)).toLowerCase()];if(o===undefined){throw new fe(`Unknown adapter '${t}'`)}}if(o){break}r[t||"#"+i]=o}if(!o){const e=Object.entries(r).map((([e,t])=>`adapter ${e} `+(t===false?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(Ht).join("\n"):" "+Ht(e[0]):"as no adapter specified";throw new fe(`There is no suitable adapter to dispatch the request `+n,"ERR_NOT_SUPPORT")}return o},adapters:Mt};function Jt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new at(null,e)}}function Xt(e){Jt(e);e.headers=rt.from(e.headers);e.data=it.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}const t=Kt.getAdapter(e.adapter||Je.adapter);return t(e).then((function t(n){Jt(e);n.data=it.call(e,e.transformResponse,n);n.headers=rt.from(n.headers);return n}),(function t(n){if(!st(n)){Jt(e);if(n&&n.response){n.response.data=it.call(e,e.transformResponse,n.response);n.response.headers=rt.from(n.response.headers)}}return Promise.reject(n)}))}const Wt="1.10.0";const Vt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{Vt[e]=function n(o){return typeof o===e||"a"+(t<1?"n ":" ")+e}}));const Gt={};Vt.transitional=function e(t,n,o){function r(e,t){return"[Axios v"+Wt+"] Transitional option '"+e+"'"+t+(o?". "+o:"")}return(e,o,i)=>{if(t===false){throw new fe(r(o," has been removed"+(n?" in "+n:"")),fe.ERR_DEPRECATED)}if(n&&!Gt[o]){Gt[o]=true;console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))}return t?t(e,o,i):true}};Vt.spelling=function e(t){return(e,n)=>{console.warn(`${n} is likely a misspelling of ${t}`);return true}};function Zt(e,t,n){if(typeof e!=="object"){throw new fe("options must be an object",fe.ERR_BAD_OPTION_VALUE)}const o=Object.keys(e);let r=o.length;while(r-- >0){const i=o[r];const s=t[i];if(s){const t=e[i];const n=t===undefined||s(t,i,e);if(n!==true){throw new fe("option "+i+" must be "+n,fe.ERR_BAD_OPTION_VALUE)}continue}if(n!==true){throw new fe("Unknown option "+i,fe.ERR_BAD_OPTION)}}}var Qt={assertOptions:Zt,validators:Vt};const Yt=Qt.validators;class en{constructor(e){this.defaults=e||{};this.interceptors={request:new Te,response:new Te}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{if(!e.stack){e.stack=n}else if(n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))){e.stack+="\n"+n}}catch(e){}}throw e}}_request(e,t){if(typeof e==="string"){t=t||{};t.url=e}else{t=e||{}}t=xt(this.defaults,t);const{transitional:n,paramsSerializer:o,headers:r}=t;if(n!==undefined){Qt.assertOptions(n,{silentJSONParsing:Yt.transitional(Yt.boolean),forcedJSONParsing:Yt.transitional(Yt.boolean),clarifyTimeoutError:Yt.transitional(Yt.boolean)},false)}if(o!=null){if(ue.isFunction(o)){t.paramsSerializer={serialize:o}}else{Qt.assertOptions(o,{encode:Yt.function,serialize:Yt.function},true)}}if(t.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{t.allowAbsoluteUrls=true}Qt.assertOptions(t,{baseUrl:Yt.spelling("baseURL"),withXsrfToken:Yt.spelling("withXSRFToken")},true);t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=r&&ue.merge(r.common,r[t.method]);r&&ue.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete r[e]}));t.headers=rt.concat(i,r);const s=[];let a=true;this.interceptors.request.forEach((function e(n){if(typeof n.runWhen==="function"&&n.runWhen(t)===false){return}a=a&&n.synchronous;s.unshift(n.fulfilled,n.rejected)}));const c=[];this.interceptors.response.forEach((function e(t){c.push(t.fulfilled,t.rejected)}));let l;let u=0;let f;if(!a){const e=[Xt.bind(this),undefined];e.unshift.apply(e,s);e.push.apply(e,c);f=e.length;l=Promise.resolve(t);while(u<f){l=l.then(e[u++],e[u++])}return l}f=s.length;let d=t;u=0;while(u<f){const e=s[u++];const t=s[u++];try{d=e(d)}catch(e){t.call(this,e);break}}try{l=Xt.call(this,d)}catch(e){return Promise.reject(e)}u=0;f=c.length;while(u<f){l=l.then(c[u++],c[u++])}return l}getUri(e){e=xt(this.defaults,e);const t=vt(e.baseURL,e.url,e.allowAbsoluteUrls);return Ee(t,e.params,e.paramsSerializer)}}ue.forEach(["delete","get","head","options"],(function e(t){en.prototype[t]=function(e,n){return this.request(xt(n||{},{method:t,url:e,data:(n||{}).data}))}}));ue.forEach(["post","put","patch"],(function e(t){function n(e){return function n(o,r,i){return this.request(xt(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:o,data:r}))}}en.prototype[t]=n();en.prototype[t+"Form"]=n(true)}));var tn=en;class nn{constructor(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}let t;this.promise=new Promise((function e(n){t=n}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;while(t-- >0){n._listeners[t](e)}n._listeners=null}));this.promise.then=e=>{let t;const o=new Promise((e=>{n.subscribe(e);t=e})).then(e);o.cancel=function e(){n.unsubscribe(t)};return o};e((function e(o,r,i){if(n.reason){return}n.reason=new at(o,r,i);t(n.reason)}))}throwIfRequested(){if(this.reason){throw this.reason}}subscribe(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}}unsubscribe(e){if(!this._listeners){return}const t=this._listeners.indexOf(e);if(t!==-1){this._listeners.splice(t,1)}}toAbortSignal(){const e=new AbortController;const t=t=>{e.abort(t)};this.subscribe(t);e.signal.unsubscribe=()=>this.unsubscribe(t);return e.signal}static source(){let e;const t=new nn((function t(n){e=n}));return{token:t,cancel:e}}}var on=nn;function rn(e){return function t(n){return e.apply(null,n)}}function sn(e){return ue.isObject(e)&&e.isAxiosError===true}const an={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(an).forEach((([e,t])=>{an[t]=e}));var cn=an;function ln(t){const n=new tn(t);const o=e(tn.prototype.request,n);ue.extend(o,tn.prototype,n,{allOwnKeys:true});ue.extend(o,n,null,{allOwnKeys:true});o.create=function e(n){return ln(xt(t,n))};return o}const un=ln(Je);un.Axios=tn;un.CanceledError=at;un.CancelToken=on;un.isCancel=st;un.VERSION=Wt;un.toFormData=ye;un.AxiosError=fe;un.Cancel=un.CanceledError;un.all=function e(t){return Promise.all(t)};un.spread=rn;un.isAxiosError=sn;un.mergeConfig=xt;un.AxiosHeaders=rt;un.formToJSON=e=>He(ue.isHTMLForm(e)?new FormData(e):e);un.getAdapter=Kt.getAdapter;un.HttpStatusCode=cn;un.default=un;d=un;return d}var m=p();var b=l(m);const w=u.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";const g=()=>b.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:w}}).then((e=>e.data)).catch((e=>{console.log("Unleash: Unable to fetch feature flags",e);throw e}));const v='@-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-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}verdocs-contact-picker form{gap:12px;width:300px;padding:12px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;background-color:#f5f5fa}verdocs-contact-picker form .row{gap:8px;display:-ms-flexbox;display:flex;position:relative;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:start;align-items:flex-start}verdocs-contact-picker form .row .option{gap:4px;display:-ms-flexbox;display:flex;padding:5px 8px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;text-wrap:nowrap}verdocs-contact-picker form .names-row{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .names-row>input{font-size:14px;width:88px}verdocs-contact-picker form .pin-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .pin-code>input{-ms-flex:0 0 197px;flex:0 0 197px;font-size:14px}verdocs-contact-picker form .address{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .address>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form .zip-code{gap:8px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker form .zip-code>input{-ms-flex:1;flex:1;font-size:14px}verdocs-contact-picker form label{display:-ms-flexbox;display:flex;-ms-flex:0 0 80px;flex:0 0 80px;font-size:13px;font-weight:500;color:#5c6575}verdocs-contact-picker form .row.message textarea{width:100%;padding:5px 7px;border-radius:4px;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif}verdocs-contact-picker form input{-ms-flex:1;flex:1;padding:6px;font-size:14px;border-radius:3px;border:1px solid rgba(112, 122, 229, 0.3725490196)}verdocs-contact-picker form input:focus{outline:none}verdocs-contact-picker .buttons{display:-ms-flexbox;display:flex;-webkit-column-gap:6px;-moz-column-gap:6px;column-gap:6px;margin-top:16px;-ms-flex-direction:row;flex-direction:row}verdocs-contact-picker .buttons .flex-fill{-ms-flex:1;flex:1}verdocs-contact-picker ::-webkit-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-moz-placeholder{color:#aaaaaa}verdocs-contact-picker :-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::-ms-input-placeholder{color:#aaaaaa}verdocs-contact-picker ::placeholder{color:#aaaaaa}verdocs-contact-picker [data-lastpass-icon-root]{display:none !important}#verdocs-contact-picker-suggestions .dropdown{max-height:225px;overflow-y:scroll;background:#ffffff;font-family:"Inter", -apple-system, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;-webkit-box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1);box-shadow:0 0 15px 0 rgba(0, 0, 0, 0.1)}#verdocs-contact-picker-suggestions .dropdown .suggestion{display:-ms-flexbox;display:flex;padding:6px 12px;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row}#verdocs-contact-picker-suggestions .dropdown .suggestion svg{width:32px;height:32px}#verdocs-contact-picker-suggestions .dropdown .suggestion .avatar{width:32px;height:32px;-ms-flex:0 0 32px;flex:0 0 32px;margin-right:8px;border-radius:100%}#verdocs-contact-picker-suggestions .dropdown .suggestion .details{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}#verdocs-contact-picker-suggestions .dropdown .suggestion .name{font-size:16px;font-weight:500;margin-bottom:3px;color:#092c4c}#verdocs-contact-picker-suggestions .dropdown .suggestion .destination{font-size:14px;margin-bottom:3px;color:#33364b}#verdocs-contact-picker-suggestions .dropdown .suggestion:hover{background:#eee;cursor:pointer}';const y=`<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-book-user"><path d="M15 13a3 3 0 1 0-6 0"/><path d="M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20"/><circle cx="12" cy="8" r="2"/></svg>`;const x=class{constructor(n){e(this,n);this.searchContacts=t(this,"searchContacts");this.exit=t(this,"exit");this.next=t(this,"next");this.endpoint=r.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId=`verdocs-contact-picker-firstname-${Math.random().toString(36).substring(2,11)}`;this.lastNameFieldId=`verdocs-contact-picker-lastname-${Math.random().toString(36).substring(2,11)}`;this.emailFieldId=`verdocs-contact-picker-email-${Math.random().toString(36).substring(2,11)}`;this.phoneFieldId=`verdocs-contact-picker-phone-${Math.random().toString(36).substring(2,11)}`;this.featureFlags=null;this.activeEntitlements={}}componentWillLoad(){this.endpoint.loadSession();if(this.templateRole){const e=i(this.templateRole);const t=e.split(" ");const n=this.templateRole.first_name||t.shift()||"";const o=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=o;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}s(this.endpoint).then((e=>{this.activeEntitlements=e;console.log("[CONTACT PICKER] Loaded entitlements",e)})).catch((e=>console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)));g().then((e=>{this.featureFlags=e;console.log("[CONTACT PICKER] Loaded feature flags",e)})).catch((e=>{console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))}handleFirstNameChange(e){var t;this.first_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.first_name})}handleLastNameChange(e){var t;this.last_name=e.target.value;(t=this.searchContacts)===null||t===void 0?void 0:t.emit({query:this.last_name})}handleCancel(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.exit)===null||t===void 0?void 0:t.emit()}handleSubmit(e){var t;e.stopPropagation();this.showSuggestions=false;(t=this.next)===null||t===void 0?void 0:t.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})}handleSelectSuggestion(e,t){e.stopPropagation();this.first_name=t.first_name;this.last_name=t.last_name;this.email=t.email;this.phone=t.phone;this.showSuggestions=false}render(){var e,t,r,s,c,l,u,d,h,p,m,b,w,g,v,x,k,R;const O=this.first_name&&this.last_name&&a(this.email);const E=!this.auth_methods.length||this.auth_methods.includes("passcode")&&!!this.passcode||this.auth_methods.includes("kba")&&!!this.first_name&&!!this.last_name||this.auth_methods.includes("email")&&!!this.email||this.auth_methods.includes("sms")&&!!this.phone;const S=O&&E;const T=((r=(t=(e=this.featureFlags)===null||e===void 0?void 0:e.toggles)===null||t===void 0?void 0:t.find((e=>e.name==="sms")))===null||r===void 0?void 0:r.enabled)===true;const A=[];if(((l=(c=(s=this.featureFlags)===null||s===void 0?void 0:s.toggles)===null||c===void 0?void 0:c.find((e=>e.name==="passcode-verification")))===null||l===void 0?void 0:l.enabled)===true){A.push({label:"Passcode",value:"passcode"})}if(((h=(d=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||d===void 0?void 0:d.find((e=>e.name==="email-verification")))===null||h===void 0?void 0:h.enabled)===true){A.push({label:"Email",value:"email"})}if(T&&((b=(m=(p=this.featureFlags)===null||p===void 0?void 0:p.toggles)===null||m===void 0?void 0:m.find((e=>e.name==="sms-verification")))===null||b===void 0?void 0:b.enabled)===true&&!!this.activeEntitlements.sms_auth){A.push({label:"SMS (One-Time Code)",value:"sms"})}if(((v=(g=(w=this.featureFlags)===null||w===void 0?void 0:w.toggles)===null||g===void 0?void 0:g.find((e=>e.name==="kba-verification")))===null||v===void 0?void 0:v.enabled)===true&&!!this.activeEntitlements.kba_auth){A.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((R=(k=(x=this.featureFlags)===null||x===void 0?void 0:x.toggles)===null||k===void 0?void 0:k.find((e=>e.name==="id-verification")))===null||R===void 0?void 0:R.enabled)===true&&!!this.activeEntitlements.id_auth){A.push({label:"ID Check",value:"id"})}return n("form",{key:"5b4d4de3ad06d4cb458b92ca6159fadcbb38a89e",onSubmit:e=>e.preventDefault(),autocomplete:"off"},n("div",{key:"065bd43ea84a5431f4cb370491147377d0b4ed87",class:"row"},n("label",{key:"48e3ab3a13607b42018e400703910d08f053d7c0",htmlFor:this.firstNameFieldId},"Name:"),n("div",{key:"c1acb5b9cfd0cdbd17edce151e66035826ae3e15",class:"names-row"},n("input",{key:"bfd3f91624725b717df1b27d000924503e0cb0b8",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleFirstNameChange(e)}),n("input",{key:"30ae8e6b5c52c45bad07572a9357c575fd248df1",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:()=>{setTimeout((()=>{var e;this.showSuggestions=((e=this.contactSuggestions)===null||e===void 0?void 0:e.length)>0}),100)},onInput:e=>this.handleLastNameChange(e)})),this.showSuggestions&&n("verdocs-portal",{key:"6a03422c1dbe45c1e8a389af0f884f2f4b525aca",anchor:this.firstNameFieldId,onClickAway:()=>{this.showSuggestions=false;document.querySelectorAll(`.verdocs-portal-wrapper`).forEach((e=>e.remove()))},id:"verdocs-contact-picker-suggestions"},n("div",{key:"a9907d3c7b291fde2e86a3a0dd2bfb0f2c1d06b3",class:"dropdown"},this.contactSuggestions.filter((e=>!this.first_name||e.first_name.toLowerCase().includes(this.first_name.toLowerCase()))).map((e=>{var t;return n("div",{key:(t=e.id)!==null&&t!==void 0?t:e.email,class:"suggestion",onClick:t=>this.handleSelectSuggestion(t,e)},e.picture?n("img",{alt:"Avatar",class:"avatar",src:e.picture}):n("div",{class:"avatar",innerHTML:y}),n("div",{class:"details"},n("div",{class:"name"},i(e)),e.email&&n("div",{class:"destination"},e.email),e.phone&&n("div",{class:"destination"},e.phone)))}))))),n("div",{key:"220b7dc0f04eb27279e003aaa196aee58b51ec64",class:"row"},n("label",{key:"7120d789f96a375a3f6237b93a3699866dae5e0e",htmlFor:this.emailFieldId},"Email:"),n("input",{key:"33aa0973927dedcc1d3005411dcdb87c969a65c2",id:this.emailFieldId,name:this.emailFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.email,placeholder:"Invite/verify via email...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.email=e.target.value})),T&&n("div",{key:"8b888dd8490d99235bd1d1b2e6acce6d64fbf5a4",class:"row"},n("label",{key:"702e60156cfbe39cc56c20ca5f9e5b112eb8fbb5",htmlFor:this.phoneFieldId},"Phone:"),n("input",{key:"1f6b416d622b821e63e89bdf75626bc9f97422df",id:this.phoneFieldId,name:this.phoneFieldId,type:"text","data-lpignore":"true",autoComplete:"blocked","aria-autocomplete":"none",value:this.phone,placeholder:"Invite/verify via SMS...",onFocus:()=>this.showSuggestions=false,onInput:e=>{this.phone=f(e.target.value)}})),n(o,{key:"60d3ccc50417d1fbe6a815d6edf37619f945b63e"},A.length>0&&n("div",{key:"f1248b2c40c1cfb22cfa577bc1f5c5895362ded2",class:"row pin-code"},n("label",{key:"d782f794fa6a8d2ca18835db9e8d6e510038f212"},"Verification Methods:"),n("div",{key:"51370acfa10be18fa7783ee28849caaf9ad11fcb"},A.map(((e,t)=>n("div",{class:"option"},n("verdocs-checkbox",{size:"small",id:`verdocs-multi-select-opt-${t}`,value:e.value,checked:this.auth_methods.includes(e.value),onInput:t=>{if(t.target.checked){this.auth_methods=[...this.auth_methods,e.value]}else{this.auth_methods=this.auth_methods.filter((t=>t!==e.value))}}}),n("label",{htmlFor:`verdocs-multi-select-option-${t}`},e.label)))))),this.auth_methods.includes("passcode")&&n("div",{key:"37cc47ae07fcee96a90ca0684307b2fa12436fbd",class:"row pin-code"},n("label",{key:"57b9975fcdf609ebcfd709f2cc646f74163eda15",htmlFor:this.phoneFieldId},"Passcode:"),n("input",{key:"5c9f4d7f4757512fa7c87e91adf731fe256050da",id:"verdocs-passcode",name:"verdocs-passcode",type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.passcode,placeholder:"4-8 digits recommended...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.passcode=e.target.value}))),n("div",{key:"7bed0f7befff14122e821680fce895d64889212c",class:"row pin-code"},n("label",{key:"295f03231ca15e2a25895d8f6dca7b7507fc58fa"},"Delegation:"),n("div",{key:"21d03961df0853b3f1e4a4b3e9445e8a3ecf80ee"},n("div",{key:"1e70e144d4e678e9697039468549ef38606dc3b7",class:"option"},n("verdocs-checkbox",{key:"8f94ea2d0b3f1bc8831c8666d379ebc2a22fbb95",size:"small",id:"verdocs-delegator",checked:this.delegator,onInput:e=>{this.delegator=e.target.checked}}),n("label",{key:"9ea3f9f359f7045aebd80367af0a7431d1e850e4",htmlFor:"verdocs-delegator"},"May delegate signing")))),n("div",{key:"90e07660115c7f41ade3aad5fe4eb93d7d8cb4fd",class:"row message"},n("label",{key:"0268f3ecd123de3c8d0e27b345253385157bfce6",htmlFor:"verdocs-contact-picker-message"},"Message:"),n("textarea",{key:"526671a3e768cc6280e82d04fe4f86d0fd5678bd",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:()=>this.showSuggestions=false,onInput:e=>this.message=e.target.value},this.message)),n("div",{key:"9bfb44085c94a08a9d2957d031e263d398ab170b",class:"buttons"},n("div",{key:"2b21510d850071094dd7005c26de4e8cd14c992d",class:"flex-fill"}),n("verdocs-button",{key:"881527d8167c31490622f3e9f0252cfdd3139d58",variant:"outline",label:"Cancel",size:"small",onClick:e=>this.handleCancel(e)}),n("verdocs-button",{key:"3dbc5efa49eb696eedb2d50c06837b70abea5e80",label:"OK",size:"small",disabled:!S,onClick:!S?()=>{}:e=>this.handleSubmit(e)})))}};x.style=v;export{x as verdocs_contact_picker};
|
3
|
-
//# sourceMappingURL=p-86e18c44.entry.js.map
|