@verdocs/web-sdk 6.9.12 → 6.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (113) hide show
  1. package/dist/cjs/verdocs-adopt-signature-dialog_7.cjs.entry.js +1 -1
  2. package/dist/cjs/verdocs-adopt-signature-dialog_7.cjs.entry.js.map +1 -1
  3. package/dist/cjs/verdocs-auth.cjs.entry.js +3 -0
  4. package/dist/cjs/verdocs-auth.cjs.entry.js.map +1 -1
  5. package/dist/cjs/verdocs-contact-picker.cjs.entry.js +422 -115
  6. package/dist/cjs/verdocs-contact-picker.cjs.entry.js.map +1 -1
  7. package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js +6 -5
  8. package/dist/cjs/verdocs-download-dialog_4.cjs.entry.js.map +1 -1
  9. package/dist/cjs/verdocs-preview_6.cjs.entry.js +3 -0
  10. package/dist/cjs/verdocs-preview_6.cjs.entry.js.map +1 -1
  11. package/dist/cjs/verdocs-sign.cjs.entry.js +79 -20
  12. package/dist/cjs/verdocs-sign.cjs.entry.js.map +1 -1
  13. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js +6 -5
  14. package/dist/collection/components/dialogs/verdocs-download-dialog/verdocs-download-dialog.js.map +1 -1
  15. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js +3 -0
  16. package/dist/collection/components/embeds/verdocs-auth/verdocs-auth.js.map +1 -1
  17. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js +3 -0
  18. package/dist/collection/components/embeds/verdocs-send/verdocs-send.js.map +1 -1
  19. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js +79 -20
  20. package/dist/collection/components/embeds/verdocs-sign/verdocs-sign.js.map +1 -1
  21. package/dist/collection/components/embeds/verdocs-view/verdocs-view.js +1 -1
  22. package/dist/collection/components/embeds/verdocs-view/verdocs-view.js.map +1 -1
  23. package/dist/components/{p-Ce29XBfJ.js → p-CBKrl6B7.js} +2 -2
  24. package/dist/components/{p-Ce29XBfJ.js.map → p-CBKrl6B7.js.map} +1 -1
  25. package/dist/components/p-CPYFXW2q.js +3 -0
  26. package/dist/components/p-CPYFXW2q.js.map +1 -0
  27. package/dist/components/{p-Bpe5Awxh.js → p-CnoHN1S8.js} +2 -2
  28. package/dist/components/p-CnoHN1S8.js.map +1 -0
  29. package/dist/components/{p-BVhOFpVZ.js → p-DfaM_cug.js} +2 -2
  30. package/dist/components/p-DfaM_cug.js.map +1 -0
  31. package/dist/components/verdocs-auth.js +1 -1
  32. package/dist/components/verdocs-auth.js.map +1 -1
  33. package/dist/components/verdocs-build.js +1 -1
  34. package/dist/components/verdocs-contact-picker.js +1 -1
  35. package/dist/components/verdocs-download-dialog.js +1 -1
  36. package/dist/components/verdocs-send.js +1 -1
  37. package/dist/components/verdocs-sign.js +1 -1
  38. package/dist/components/verdocs-sign.js.map +1 -1
  39. package/dist/components/verdocs-view.js +1 -1
  40. package/dist/esm/verdocs-adopt-signature-dialog_7.entry.js +1 -1
  41. package/dist/esm/verdocs-adopt-signature-dialog_7.entry.js.map +1 -1
  42. package/dist/esm/verdocs-auth.entry.js +3 -0
  43. package/dist/esm/verdocs-auth.entry.js.map +1 -1
  44. package/dist/esm/verdocs-contact-picker.entry.js +422 -115
  45. package/dist/esm/verdocs-contact-picker.entry.js.map +1 -1
  46. package/dist/esm/verdocs-download-dialog_4.entry.js +6 -5
  47. package/dist/esm/verdocs-download-dialog_4.entry.js.map +1 -1
  48. package/dist/esm/verdocs-preview_6.entry.js +3 -0
  49. package/dist/esm/verdocs-preview_6.entry.js.map +1 -1
  50. package/dist/esm/verdocs-sign.entry.js +80 -21
  51. package/dist/esm/verdocs-sign.entry.js.map +1 -1
  52. package/dist/esm-es5/verdocs-adopt-signature-dialog_7.entry.js +1 -1
  53. package/dist/esm-es5/verdocs-adopt-signature-dialog_7.entry.js.map +1 -1
  54. package/dist/esm-es5/verdocs-auth.entry.js +1 -1
  55. package/dist/esm-es5/verdocs-auth.entry.js.map +1 -1
  56. package/dist/esm-es5/verdocs-contact-picker.entry.js +2 -2
  57. package/dist/esm-es5/verdocs-contact-picker.entry.js.map +1 -1
  58. package/dist/esm-es5/verdocs-download-dialog_4.entry.js +1 -1
  59. package/dist/esm-es5/verdocs-download-dialog_4.entry.js.map +1 -1
  60. package/dist/esm-es5/verdocs-preview_6.entry.js +1 -1
  61. package/dist/esm-es5/verdocs-preview_6.entry.js.map +1 -1
  62. package/dist/esm-es5/verdocs-sign.entry.js +1 -1
  63. package/dist/esm-es5/verdocs-sign.entry.js.map +1 -1
  64. package/dist/types/components/embeds/verdocs-sign/verdocs-sign.d.ts +5 -0
  65. package/dist/verdocs-web-sdk/p-11c3e5bb.entry.js +2 -0
  66. package/dist/verdocs-web-sdk/p-11c3e5bb.entry.js.map +1 -0
  67. package/dist/verdocs-web-sdk/p-16d655d4.system.entry.js +2 -0
  68. package/dist/verdocs-web-sdk/p-16d655d4.system.entry.js.map +1 -0
  69. package/dist/verdocs-web-sdk/p-1ce27c81.system.entry.js +4 -0
  70. package/dist/verdocs-web-sdk/p-1ce27c81.system.entry.js.map +1 -0
  71. package/dist/verdocs-web-sdk/p-2d72560a.entry.js +2 -0
  72. package/dist/verdocs-web-sdk/p-2d72560a.entry.js.map +1 -0
  73. package/dist/verdocs-web-sdk/p-33cfc977.system.entry.js +2 -0
  74. package/dist/verdocs-web-sdk/p-33cfc977.system.entry.js.map +1 -0
  75. package/dist/verdocs-web-sdk/p-43ee0267.entry.js +2 -0
  76. package/dist/verdocs-web-sdk/p-43ee0267.entry.js.map +1 -0
  77. package/dist/verdocs-web-sdk/p-4e84a5b6.entry.js +3 -0
  78. package/dist/verdocs-web-sdk/p-4e84a5b6.entry.js.map +1 -0
  79. package/dist/verdocs-web-sdk/p-BdZ5Ghsa.system.js +1 -1
  80. package/dist/verdocs-web-sdk/{p-9756028f.entry.js → p-d0e8419b.entry.js} +2 -2
  81. package/dist/verdocs-web-sdk/p-d0e8419b.entry.js.map +1 -0
  82. package/dist/verdocs-web-sdk/{p-64034b55.system.entry.js → p-d60cfa3e.system.entry.js} +2 -2
  83. package/dist/verdocs-web-sdk/{p-64034b55.system.entry.js.map → p-d60cfa3e.system.entry.js.map} +1 -1
  84. package/dist/verdocs-web-sdk/p-e608d2bc.system.entry.js +2 -0
  85. package/dist/verdocs-web-sdk/p-e608d2bc.system.entry.js.map +1 -0
  86. package/dist/verdocs-web-sdk/{p-6abf8f8f.entry.js → p-e95723ac.entry.js} +2 -2
  87. package/dist/verdocs-web-sdk/{p-6abf8f8f.entry.js.map → p-e95723ac.entry.js.map} +1 -1
  88. package/dist/verdocs-web-sdk/{p-f85f8560.system.entry.js → p-edab1fed.system.entry.js} +2 -2
  89. package/dist/verdocs-web-sdk/p-edab1fed.system.entry.js.map +1 -0
  90. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +1 -1
  91. package/package.json +2 -2
  92. package/dist/components/p-BVhOFpVZ.js.map +0 -1
  93. package/dist/components/p-Bpe5Awxh.js.map +0 -1
  94. package/dist/components/p-DeQsR41s.js +0 -3
  95. package/dist/components/p-DeQsR41s.js.map +0 -1
  96. package/dist/verdocs-web-sdk/p-0240a6e1.system.entry.js +0 -2
  97. package/dist/verdocs-web-sdk/p-0240a6e1.system.entry.js.map +0 -1
  98. package/dist/verdocs-web-sdk/p-12676649.entry.js +0 -2
  99. package/dist/verdocs-web-sdk/p-12676649.entry.js.map +0 -1
  100. package/dist/verdocs-web-sdk/p-1a6869c9.system.entry.js +0 -2
  101. package/dist/verdocs-web-sdk/p-1a6869c9.system.entry.js.map +0 -1
  102. package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js +0 -4
  103. package/dist/verdocs-web-sdk/p-3a542ed0.system.entry.js.map +0 -1
  104. package/dist/verdocs-web-sdk/p-3f5ad836.system.entry.js +0 -2
  105. package/dist/verdocs-web-sdk/p-3f5ad836.system.entry.js.map +0 -1
  106. package/dist/verdocs-web-sdk/p-9756028f.entry.js.map +0 -1
  107. package/dist/verdocs-web-sdk/p-9c6cca6e.entry.js +0 -2
  108. package/dist/verdocs-web-sdk/p-9c6cca6e.entry.js.map +0 -1
  109. package/dist/verdocs-web-sdk/p-ae4290c6.entry.js +0 -3
  110. package/dist/verdocs-web-sdk/p-ae4290c6.entry.js.map +0 -1
  111. package/dist/verdocs-web-sdk/p-c89d74b2.entry.js +0 -2
  112. package/dist/verdocs-web-sdk/p-c89d74b2.entry.js.map +0 -1
  113. package/dist/verdocs-web-sdk/p-f85f8560.system.entry.js.map +0 -1
@@ -1,3 +1,3 @@
1
- var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i))e[i]=r[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function i(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,a){function o(e){try{s(n.next(e))}catch(e){a(e)}}function u(e){try{s(n["throw"](e))}catch(e){a(e)}}function s(e){e.done?t(e.value):i(e.value).then(o,u)}s((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=u(0),o["throw"]=u(1),o["return"]=u(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(r){return s([e,r])}}function s(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(t=0)),t)try{if(n=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;i=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){t.label=u[1];break}if(u[0]===6&&t.label<a[1]){t.label=a[1];a=u;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(u);break}if(a[2])t.ops.pop();t.trys.pop();continue}u=r.call(e,t)}catch(e){u=[6,e];i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __asyncValues=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],t;return r?r.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,a){t=e[r](t),i(n,a,t.done,t.value)}))}}function i(e,r,t,n){Promise.resolve(n).then((function(r){e({value:r,done:t})}),r)}};var __await=this&&this.__await||function(e){return this instanceof __await?(this.v=e,this):new __await(e)};var __asyncDelegator=this&&this.__asyncDelegator||function(e){var r,t;return r={},n("next"),n("throw",(function(e){throw e})),n("return"),r[Symbol.iterator]=function(){return this},r;function n(n,i){r[n]=e[n]?function(r){return(t=!t)?{value:__await(e[n](r)),done:false}:i?i(r):r}:i}};var __asyncGenerator=this&&this.__asyncGenerator||function(e,r,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t.apply(e,r||[]),i,a=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(r){return Promise.resolve(r).then(e,l)}}function u(e,r){if(n[e]){i[e]=function(r){return new Promise((function(t,n){a.push([e,r,t,n])>1||s(e,r)}))};if(r)i[e]=r(i[e])}}function s(e,r){try{f(n[e](r))}catch(e){d(a[0][3],e)}}function f(e){e.value instanceof __await?Promise.resolve(e.value.v).then(c,l):d(a[0][2],e)}function c(e){s("next",e)}function l(e){s("throw",e)}function d(e,r){if(e(r),a.shift(),a.length)s(a[0][0],a[0][1])}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,i=r.length,a;n<i;n++){if(a||!(n in r)){if(!a)a=Array.prototype.slice.call(r,0,n);a[n]=r[n]}}return e.concat(a||Array.prototype.slice.call(r))};var __values=this&&this.__values||function(e){var r=typeof Symbol==="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};import{r as registerInstance,c as createEvent,h,F as Fragment}from"./index-CjTHbolG.js";import{VerdocsEndpoint,formatFullName,getActiveEntitlements,isValidEmail}from"@verdocs/js-sdk";import{c as commonjsGlobal,g as getDefaultExportFromCjs}from"./_commonjsHelpers-BFTU3MAI.js";import{B as BETA_ORIGINS}from"./Environment-C_Xku1v2.js";import{f as convertToE164}from"./utils-D9l-GFdv.js";import"./index-BglCURB-.js";import"./Types-CIxfEdV7.js";
2
- /*! Axios v1.17.0 Copyright (c) 2026 Matt Zabriskie and contributors */var axios_1;var hasRequiredAxios;function requireAxios(){var e=this;if(hasRequiredAxios)return axios_1;hasRequiredAxios=1;function r(e,r){return function t(){return e.apply(r,arguments)}}var t=Object.prototype.toString;var n=Object.getPrototypeOf;var i=Symbol.iterator,a=Symbol.toStringTag;var o=function(e){return function(r){var n=t.call(r);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));var u=function(e){e=e.toLowerCase();return function(r){return o(r)===e}};var s=function(e){return function(r){return typeof r===e}};var f=Array.isArray;var c=s("undefined");function l(e){return e!==null&&!c(e)&&e.constructor!==null&&!c(e.constructor)&&p(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var d=u("ArrayBuffer");function v(e){var r;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){r=ArrayBuffer.isView(e)}else{r=e&&e.buffer&&d(e.buffer)}return r}var h=s("string");var p=s("function");var m=s("number");var b=function(e){return e!==null&&typeof e==="object"};var w=function(e){return e===true||e===false};var y=function(e){if(o(e)!=="object"){return false}var r=n(e);return(r===null||r===Object.prototype||Object.getPrototypeOf(r)===null)&&!(a in e)&&!(i in e)};var g=function(e){if(!b(e)||l(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};var x=u("Date");var _=u("File");var k=function(e){return!!(e&&typeof e.uri!=="undefined")};var O=function(e){return e&&typeof e.getParts!=="undefined"};var E=u("Blob");var R=u("FileList");var j=function(e){return b(e)&&p(e.pipe)};function S(){if(typeof globalThis!=="undefined")return globalThis;if(typeof self!=="undefined")return self;if(typeof window!=="undefined")return window;if(typeof commonjsGlobal!=="undefined")return commonjsGlobal;return{}}var A=S();var T=typeof A.FormData!=="undefined"?A.FormData:undefined;var C=function(e){if(!e)return false;if(T&&e instanceof T)return true;var r=n(e);if(!r||r===Object.prototype)return false;if(!p(e.append))return false;var t=o(e);return t==="formdata"||t==="object"&&p(e.toString)&&e.toString()==="[object FormData]"};var F=u("URLSearchParams");var N=["ReadableStream","Request","Response","Headers"].map(u),P=N[0],I=N[1],B=N[2],U=N[3];var D=function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function L(e,r,t){var n=t===void 0?{}:t,i=n.allOwnKeys,a=i===void 0?false:i;if(e===null||typeof e==="undefined"){return}var o;var u;if(typeof e!=="object"){e=[e]}if(f(e)){for(o=0,u=e.length;o<u;o++){r.call(null,e[o],o,e)}}else{if(l(e)){return}var s=a?Object.getOwnPropertyNames(e):Object.keys(e);var c=s.length;var d=void 0;for(o=0;o<c;o++){d=s[o];r.call(null,e[d],d,e)}}}function M(e,r){if(l(e)){return null}r=r.toLowerCase();var t=Object.keys(e);var n=t.length;var i;while(n-- >0){i=t[n];if(r===i.toLowerCase()){return i}}return null}var z=function(){if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:commonjsGlobal}();var q=function(e){return!c(e)&&e!==z};function H(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t=q(this)&&this||{},n=t.caseless,i=t.skipUndefined;var a={};var o=function(e,r){if(r==="__proto__"||r==="constructor"||r==="prototype"){return}var t=n&&typeof r==="string"&&M(a,r)||r;var o=re(a,t)?a[t]:undefined;if(y(o)&&y(e)){a[t]=H(o,e)}else if(y(e)){a[t]=H({},e)}else if(f(e)){a[t]=e.slice()}else if(!i||!c(e)){a[t]=e}};for(var u=0,s=e.length;u<s;u++){var d=e[u];if(!d||l(d)){continue}L(d,o);if(typeof d!=="object"||f(d)){continue}var v=Object.getOwnPropertySymbols(d);for(var h=0;h<v.length;h++){var p=v[h];if(te.call(d,p)){o(d[p],p)}}}return a}var V=function(e,t,n,i){var a=i===void 0?{}:i,o=a.allOwnKeys;L(t,(function(t,i){if(n&&p(t)){Object.defineProperty(e,i,{__proto__:null,value:r(t,n),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(e,i,{__proto__:null,value:t,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:o});return e};var G=function(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};var K=function(e,r,t,n){e.prototype=Object.create(r.prototype,n);Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{__proto__:null,value:r.prototype});t&&Object.assign(e.prototype,t)};var J=function(e,r,t,i){var a;var o;var u;var s={};r=r||{};if(e==null)return r;do{a=Object.getOwnPropertyNames(e);o=a.length;while(o-- >0){u=a[o];if((!i||i(u,e,r))&&!s[u]){r[u]=e[u];s[u]=true}}e=t!==false&&n(e)}while(e&&(!t||t(e,r))&&e!==Object.prototype);return r};var X=function(e,r,t){e=String(e);if(t===undefined||t>e.length){t=e.length}t-=r.length;var n=e.indexOf(r,t);return n!==-1&&n===t};var W=function(e){if(!e)return null;if(f(e))return e;var r=e.length;if(!m(r))return null;var t=new Array(r);while(r-- >0){t[r]=e[r]}return t};var $=function(e){return function(r){return e&&r instanceof e}}(typeof Uint8Array!=="undefined"&&n(Uint8Array));var Z=function(e,r){var t=e&&e[i];var n=t.call(e);var a;while((a=n.next())&&!a.done){var o=a.value;r.call(e,o[0],o[1])}};var Y=function(e,r){var t;var n=[];while((t=e.exec(r))!==null){n.push(t)}return n};var Q=u("HTMLFormElement");var ee=function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(r,t,n){return t.toUpperCase()+n}))};var re=function(e){var r=e.hasOwnProperty;return function(e,t){return r.call(e,t)}}(Object.prototype);var te=Object.prototype.propertyIsEnumerable;var ne=u("RegExp");var ie=function(e,r){var t=Object.getOwnPropertyDescriptors(e);var n={};L(t,(function(t,i){var a;if((a=r(t,i,e))!==false){n[i]=a||t}}));Object.defineProperties(e,n)};var ae=function(e){ie(e,(function(r,t){if(p(e)&&["arguments","caller","callee"].includes(t)){return false}var n=e[t];if(!p(n))return;r.enumerable=false;if("writable"in r){r.writable=false;return}if(!r.set){r.set=function(){throw Error("Can not rewrite read-only method '"+t+"'")}}}))};var oe=function(e,r){var t={};var n=function(e){e.forEach((function(e){t[e]=true}))};f(e)?n(e):n(String(e).split(r));return t};var ue=function(){};var se=function(e,r){return e!=null&&Number.isFinite(e=+e)?e:r};function fe(e){return!!(e&&p(e.append)&&e[a]==="FormData"&&e[i])}var ce=function(e){var r=new WeakSet;var t=function(e){if(b(e)){if(r.has(e)){return}if(l(e)){return e}if(!("toJSON"in e)){r.add(e);var n=f(e)?[]:{};L(e,(function(e,r){var i=t(e);!c(i)&&(n[r]=i)}));r.delete(e);return n}}return e};return t(e)};var le=u("AsyncFunction");var de=function(e){return e&&(b(e)||p(e))&&p(e.then)&&p(e.catch)};var ve=function(e,r){if(e){return setImmediate}return r?function(e,r){z.addEventListener("message",(function(t){var n=t.source,i=t.data;if(n===z&&i===e){r.length&&r.shift()()}}),false);return function(t){r.push(t);z.postMessage(e,"*")}}("axios@".concat(Math.random()),[]):function(e){return setTimeout(e)}}(typeof setImmediate==="function",p(z.postMessage));var he=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(z):typeof process!=="undefined"&&process.nextTick||ve;var pe=function(e){return e!=null&&p(e[i])};var me={isArray:f,isArrayBuffer:d,isBuffer:l,isFormData:C,isArrayBufferView:v,isString:h,isNumber:m,isBoolean:w,isObject:b,isPlainObject:y,isEmptyObject:g,isReadableStream:P,isRequest:I,isResponse:B,isHeaders:U,isUndefined:c,isDate:x,isFile:_,isReactNativeBlob:k,isReactNative:O,isBlob:E,isRegExp:ne,isFunction:p,isStream:j,isURLSearchParams:F,isTypedArray:$,isFileList:R,forEach:L,merge:H,extend:V,trim:D,stripBOM:G,inherits:K,toFlatObject:J,kindOf:o,kindOfTest:u,endsWith:X,toArray:W,forEachEntry:Z,matchAll:Y,isHTMLForm:Q,hasOwnProperty:re,hasOwnProp:re,reduceDescriptors:ie,freezeMethods:ae,toObjectSet:oe,toCamelCase:ee,noop:ue,toFiniteNumber:se,findKey:M,global:z,isContextDefined:q,isSpecCompliantForm:fe,toJSONObject:ce,isAsyncFn:le,isThenable:de,setImmediate:ve,asap:he,isIterable:pe};var be=me.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=function(e){var r={};var t;var n;var i;e&&e.split("\n").forEach((function e(a){i=a.indexOf(":");t=a.substring(0,i).trim().toLowerCase();n=a.substring(i+1).trim();if(!t||r[t]&&be[t]){return}if(t==="set-cookie"){if(r[t]){r[t].push(n)}else{r[t]=[n]}}else{r[t]=r[t]?r[t]+", "+n:n}}));return r};function ye(e){var r=0;var t=e.length;while(r<t){var n=e.charCodeAt(r);if(n!==9&&n!==32){break}r+=1}while(t>r){var n=e.charCodeAt(t-1);if(n!==9&&n!==32){break}t-=1}return r===0&&t===e.length?e:e.slice(r,t)}var ge=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g");var xe=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function _e(e,r){if(me.isArray(e)){return e.map((function(e){return _e(e,r)}))}return ye(String(e).replace(r,""))}var ke=function(e){return _e(e,ge)};var Oe=function(e){return _e(e,xe)};function Ee(e){var r=Object.create(null);me.forEach(e.toJSON(),(function(e,t){r[t]=Oe(e)}));return r}var Re=Symbol("internals");function je(e){return e&&String(e).trim().toLowerCase()}function Se(e){if(e===false||e==null){return e}return me.isArray(e)?e.map(Se):ke(String(e))}function Ae(e){var r=Object.create(null);var t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var n;while(n=t.exec(e)){r[n[1]]=n[2]}return r}var Te=function(e){return/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())};function Ce(e,r,t,n,i){if(me.isFunction(n)){return n.call(this,r,t)}if(i){r=t}if(!me.isString(r))return;if(me.isString(n)){return r.indexOf(n)!==-1}if(me.isRegExp(n)){return n.test(r)}}function Fe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,r,t){return r.toUpperCase()+t}))}function Ne(e,r){var t=me.toCamelCase(" "+r);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+t,{__proto__:null,value:function(e,t,i){return this[n].call(this,r,e,t,i)},configurable:true})}))}var Pe=function(){function e(e){e&&this.set(e)}e.prototype.set=function(e,r,t){var n=this;function i(e,r,t){var i=je(r);if(!i){return}var a=me.findKey(n,i);if(!a||n[a]===undefined||t===true||t===undefined&&n[a]!==false){n[a||r]=Se(e)}}var a=function(e,r){return me.forEach(e,(function(e,t){return i(e,t,r)}))};if(me.isPlainObject(e)||e instanceof this.constructor){a(e,r)}else if(me.isString(e)&&(e=e.trim())&&!Te(e)){a(we(e),r)}else if(me.isObject(e)&&me.isIterable(e)){var o={},u=void 0,s=void 0;for(var f=0,c=e;f<c.length;f++){var l=c[f];if(!me.isArray(l)){throw new TypeError("Object iterator must return a key-value pair")}o[s=l[0]]=(u=o[s])?me.isArray(u)?__spreadArray(__spreadArray([],u,true),[l[1]],false):[u,l[1]]:l[1]}a(o,r)}else{e!=null&&i(r,e,t)}return this};e.prototype.get=function(e,r){e=je(e);if(e){var t=me.findKey(this,e);if(t){var n=this[t];if(!r){return n}if(r===true){return Ae(n)}if(me.isFunction(r)){return r.call(this,n,t)}if(me.isRegExp(r)){return r.exec(n)}throw new TypeError("parser must be boolean|regexp|function")}}};e.prototype.has=function(e,r){e=je(e);if(e){var t=me.findKey(this,e);return!!(t&&this[t]!==undefined&&(!r||Ce(this,this[t],t,r)))}return false};e.prototype.delete=function(e,r){var t=this;var n=false;function i(e){e=je(e);if(e){var i=me.findKey(t,e);if(i&&(!r||Ce(t,t[i],i,r))){delete t[i];n=true}}}if(me.isArray(e)){e.forEach(i)}else{i(e)}return n};e.prototype.clear=function(e){var r=Object.keys(this);var t=r.length;var n=false;while(t--){var i=r[t];if(!e||Ce(this,this[i],i,e,true)){delete this[i];n=true}}return n};e.prototype.normalize=function(e){var r=this;var t={};me.forEach(this,(function(n,i){var a=me.findKey(t,i);if(a){r[a]=Se(n);delete r[i];return}var o=e?Fe(i):String(i).trim();if(o!==i){delete r[i]}r[o]=Se(n);t[o]=true}));return this};e.prototype.concat=function(){var e;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return(e=this.constructor).concat.apply(e,__spreadArray([this],r,false))};e.prototype.toJSON=function(e){var r=Object.create(null);me.forEach(this,(function(t,n){t!=null&&t!==false&&(r[n]=e&&me.isArray(t)?t.join(", "):t)}));return r};e.prototype[Symbol.iterator]=function(){return Object.entries(this.toJSON())[Symbol.iterator]()};e.prototype.toString=function(){return Object.entries(this.toJSON()).map((function(e){var r=e[0],t=e[1];return r+": "+t})).join("\n")};e.prototype.getSetCookie=function(){return this.get("set-cookie")||[]};Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return"AxiosHeaders"},enumerable:false,configurable:true});e.from=function(e){return e instanceof this?e:new this(e)};e.concat=function(e){var r=[];for(var t=1;t<arguments.length;t++){r[t-1]=arguments[t]}var n=new this(e);r.forEach((function(e){return n.set(e)}));return n};e.accessor=function(e){var r=this[Re]=this[Re]={accessors:{}};var t=r.accessors;var n=this.prototype;function i(e){var r=je(e);if(!t[r]){Ne(n,e);t[r]=true}}me.isArray(e)?e.forEach(i):i(e);return this};return e}();Pe.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);me.reduceDescriptors(Pe.prototype,(function(e,r){var t=e.value;var n=r[0].toUpperCase()+r.slice(1);return{get:function(){return t},set:function(e){this[n]=e}}}));me.freezeMethods(Pe);var Ie="[REDACTED ****]";function Be(e){if(me.hasOwnProp(e,"toJSON")){return true}var r=Object.getPrototypeOf(e);while(r&&r!==Object.prototype){if(me.hasOwnProp(r,"toJSON")){return true}r=Object.getPrototypeOf(r)}return false}function Ue(e,r){var t=new Set(r.map((function(e){return String(e).toLowerCase()})));var n=[];var i=function(e){if(e===null||typeof e!=="object")return e;if(me.isBuffer(e))return e;if(n.indexOf(e)!==-1)return undefined;if(e instanceof Pe){e=e.toJSON()}n.push(e);var r;if(me.isArray(e)){r=[];e.forEach((function(e,t){var n=i(e);if(!me.isUndefined(n)){r[t]=n}}))}else{if(!me.isPlainObject(e)&&Be(e)){n.pop();return e}r=Object.create(null);for(var a=0,o=Object.entries(e);a<o.length;a++){var u=o[a],s=u[0],f=u[1];var c=t.has(s.toLowerCase())?Ie:i(f);if(!me.isUndefined(c)){r[s]=c}}}n.pop();return r};return i(e)}var De=function(e){__extends(r,e);function r(r,t,n,i,a){var o=e.call(this,r)||this;Object.defineProperty(o,"message",{__proto__:null,value:r,enumerable:true,writable:true,configurable:true});o.name="AxiosError";o.isAxiosError=true;t&&(o.code=t);n&&(o.config=n);i&&(o.request=i);if(a){o.response=a;o.status=a.status}return o}r.from=function(e,t,n,i,a,o){var u=new r(e.message,t||e.code,n,i,a);u.cause=e;u.name=e.name;if(e.status!=null&&u.status==null){u.status=e.status}o&&Object.assign(u,o);return u};r.prototype.toJSON=function(){var e=this.config;var r=e&&me.hasOwnProp(e,"redact")?e.redact:undefined;var t=me.isArray(r)&&r.length>0?Ue(e,r):me.toJSONObject(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:t,code:this.code,status:this.status}};return r}(Error);De.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";De.ERR_BAD_OPTION="ERR_BAD_OPTION";De.ECONNABORTED="ECONNABORTED";De.ETIMEDOUT="ETIMEDOUT";De.ECONNREFUSED="ECONNREFUSED";De.ERR_NETWORK="ERR_NETWORK";De.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";De.ERR_DEPRECATED="ERR_DEPRECATED";De.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";De.ERR_BAD_REQUEST="ERR_BAD_REQUEST";De.ERR_CANCELED="ERR_CANCELED";De.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";De.ERR_INVALID_URL="ERR_INVALID_URL";De.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Le=null;function Me(e){return me.isPlainObject(e)||me.isArray(e)}function ze(e){return me.endsWith(e,"[]")?e.slice(0,-2):e}function qe(e,r,t){if(!e)return r;return e.concat(r).map((function e(r,n){r=ze(r);return!t&&n?"["+r+"]":r})).join(t?".":"")}function He(e){return me.isArray(e)&&!e.some(Me)}var Ve=me.toFlatObject(me,{},null,(function e(r){return/^is[A-Z]/.test(r)}));function Ge(e,r,t){if(!me.isObject(e)){throw new TypeError("target must be an object")}r=r||new FormData;t=me.toFlatObject(t,{metaTokens:true,dots:false,indexes:false},false,(function e(r,t){return!me.isUndefined(t[r])}));var n=t.metaTokens;var i=t.visitor||l;var a=t.dots;var o=t.indexes;var u=t.Blob||typeof Blob!=="undefined"&&Blob;var s=t.maxDepth===undefined?100:t.maxDepth;var f=u&&me.isSpecCompliantForm(r);if(!me.isFunction(i)){throw new TypeError("visitor must be a function")}function c(e){if(e===null)return"";if(me.isDate(e)){return e.toISOString()}if(me.isBoolean(e)){return e.toString()}if(!f&&me.isBlob(e)){throw new De("Blob is not supported. Use a Buffer instead.")}if(me.isArrayBuffer(e)||me.isTypedArray(e)){return f&&typeof Blob==="function"?new Blob([e]):Buffer.from(e)}return e}function l(e,t,i){var u=e;if(me.isReactNative(r)&&me.isReactNativeBlob(e)){r.append(qe(i,t,a),c(e));return false}if(e&&!i&&typeof e==="object"){if(me.endsWith(t,"{}")){t=n?t:t.slice(0,-2);e=JSON.stringify(e)}else if(me.isArray(e)&&He(e)||(me.isFileList(e)||me.endsWith(t,"[]"))&&(u=me.toArray(e))){t=ze(t);u.forEach((function e(n,i){!(me.isUndefined(n)||n===null)&&r.append(o===true?qe([t],i,a):o===null?t:t+"[]",c(n))}));return false}}if(Me(e)){return true}r.append(qe(i,t,a),c(e));return false}var d=[];var v=Object.assign(Ve,{defaultVisitor:l,convertValue:c,isVisitable:Me});function h(e,t,n){if(n===void 0){n=0}if(me.isUndefined(e))return;if(n>s){throw new De("Object is too deeply nested ("+n+" levels). Max depth: "+s,De.ERR_FORM_DATA_DEPTH_EXCEEDED)}if(d.indexOf(e)!==-1){throw new Error("Circular reference detected in "+t.join("."))}d.push(e);me.forEach(e,(function e(a,o){var u=!(me.isUndefined(a)||a===null)&&i.call(r,a,me.isString(o)?o.trim():o,t,v);if(u===true){h(a,t?t.concat(o):[o],n+1)}}));d.pop()}if(!me.isObject(e)){throw new TypeError("data must be an object")}h(e);return r}function Ke(e){var r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function e(t){return r[t]}))}function Je(e,r){this._pairs=[];e&&Ge(e,this,r)}var Xe=Je.prototype;Xe.append=function e(r,t){this._pairs.push([r,t])};Xe.toString=function e(r){var t=r?function(e){return r.call(this,e,Ke)}:Ke;return this._pairs.map((function e(r){return t(r[0])+"="+t(r[1])}),"").join("&")};function We(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function $e(e,r,t){if(!r){return e}var n=t&&t.encode||We;var i=me.isFunction(t)?{serialize:t}:t;var a=i&&i.serialize;var o;if(a){o=a(r,i)}else{o=me.isURLSearchParams(r)?r.toString():new Je(r,i).toString(n)}if(o){var u=e.indexOf("#");if(u!==-1){e=e.slice(0,u)}e+=(e.indexOf("?")===-1?"?":"&")+o}return e}var Ze=function(){function e(){this.handlers=[]}e.prototype.use=function(e,r,t){this.handlers.push({fulfilled:e,rejected:r,synchronous:t?t.synchronous:false,runWhen:t?t.runWhen:null});return this.handlers.length-1};e.prototype.eject=function(e){if(this.handlers[e]){this.handlers[e]=null}};e.prototype.clear=function(){if(this.handlers){this.handlers=[]}};e.prototype.forEach=function(e){me.forEach(this.handlers,(function r(t){if(t!==null){e(t)}}))};return e}();var Ye={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false,legacyInterceptorReqResOrdering:true,advertiseZstdAcceptEncoding:false};var Qe=typeof URLSearchParams!=="undefined"?URLSearchParams:Je;var er=typeof FormData!=="undefined"?FormData:null;var rr=typeof Blob!=="undefined"?Blob:null;var tr={isBrowser:true,classes:{URLSearchParams:Qe,FormData:er,Blob:rr},protocols:["http","https","file","blob","url","data"]};var nr=typeof window!=="undefined"&&typeof document!=="undefined";var ir=typeof navigator==="object"&&navigator||undefined;var ar=nr&&(!ir||["ReactNative","NativeScript","NS"].indexOf(ir.product)<0);var or=function(){return typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"}();var ur=nr&&window.location.href||"http://localhost";var sr=Object.freeze({__proto__:null,hasBrowserEnv:nr,hasStandardBrowserEnv:ar,hasStandardBrowserWebWorkerEnv:or,navigator:ir,origin:ur});var fr=__assign(__assign({},sr),tr);function cr(e,r){return Ge(e,new fr.classes.URLSearchParams,__assign({visitor:function(e,r,t,n){if(fr.isNode&&me.isBuffer(e)){this.append(r,e.toString("base64"));return false}return n.defaultVisitor.apply(this,arguments)}},r))}function lr(e){return me.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return e[0]==="[]"?"":e[1]||e[0]}))}function dr(e){var r={};var t=Object.keys(e);var n;var i=t.length;var a;for(n=0;n<i;n++){a=t[n];r[a]=e[a]}return r}function vr(e){function r(e,t,n,i){var a=e[i++];if(a==="__proto__")return true;var o=Number.isFinite(+a);var u=i>=e.length;a=!a&&me.isArray(n)?n.length:a;if(u){if(me.hasOwnProp(n,a)){n[a]=me.isArray(n[a])?n[a].concat(t):[n[a],t]}else{n[a]=t}return!o}if(!me.hasOwnProp(n,a)||!me.isObject(n[a])){n[a]=[]}var s=r(e,t,n[a],i);if(s&&me.isArray(n[a])){n[a]=dr(n[a])}return!o}if(me.isFormData(e)&&me.isFunction(e.entries)){var t={};me.forEachEntry(e,(function(e,n){r(lr(e),n,t,0)}));return t}return null}var hr=function(e,r){return e!=null&&me.hasOwnProp(e,r)?e[r]:undefined};function pr(e,r,t){if(me.isString(e)){try{(0,JSON.parse)(e);return me.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(t||JSON.stringify)(e)}var mr={transitional:Ye,adapter:["xhr","http","fetch"],transformRequest:[function e(r,t){var n=t.getContentType()||"";var i=n.indexOf("application/json")>-1;var a=me.isObject(r);if(a&&me.isHTMLForm(r)){r=new FormData(r)}var o=me.isFormData(r);if(o){return i?JSON.stringify(vr(r)):r}if(me.isArrayBuffer(r)||me.isBuffer(r)||me.isStream(r)||me.isFile(r)||me.isBlob(r)||me.isReadableStream(r)){return r}if(me.isArrayBufferView(r)){return r.buffer}if(me.isURLSearchParams(r)){t.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return r.toString()}var u;if(a){var s=hr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1){return cr(r,s).toString()}if((u=me.isFileList(r))||n.indexOf("multipart/form-data")>-1){var f=hr(this,"env");var c=f&&f.FormData;return Ge(u?{"files[]":r}:r,c&&new c,s)}}if(a||i){t.setContentType("application/json",false);return pr(r)}return r}],transformResponse:[function e(r){var t=hr(this,"transitional")||mr.transitional;var n=t&&t.forcedJSONParsing;var i=hr(this,"responseType");var a=i==="json";if(me.isResponse(r)||me.isReadableStream(r)){return r}if(r&&me.isString(r)&&(n&&!i||a)){var o=t&&t.silentJSONParsing;var u=!o&&a;try{return JSON.parse(r,hr(this,"parseReviver"))}catch(e){if(u){if(e.name==="SyntaxError"){throw De.from(e,De.ERR_BAD_RESPONSE,this,null,hr(this,"response"))}throw e}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fr.classes.FormData,Blob:fr.classes.Blob},validateStatus:function e(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};me.forEach(["delete","get","head","post","put","patch","query"],(function(e){mr.headers[e]={}}));function br(e,r){var t=this||mr;var n=r||t;var i=Pe.from(n.headers);var a=n.data;me.forEach(e,(function e(n){a=n.call(t,a,i.normalize(),r?r.status:undefined)}));i.normalize();return a}function wr(e){return!!(e&&e.__CANCEL__)}var yr=function(e){__extends(r,e);function r(r,t,n){var i=e.call(this,r==null?"canceled":r,De.ERR_CANCELED,t,n)||this;i.name="CanceledError";i.__CANCEL__=true;return i}return r}(De);function gr(e,r,t){var n=t.config.validateStatus;if(!t.status||!n||n(t.status)){e(t)}else{r(new De("Request failed with status code "+t.status,t.status>=400&&t.status<500?De.ERR_BAD_REQUEST:De.ERR_BAD_RESPONSE,t.config,t.request,t))}}function xr(e){var r=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return r&&r[1]||""}function _r(e,r){e=e||10;var t=new Array(e);var n=new Array(e);var i=0;var a=0;var o;r=r!==undefined?r:1e3;return function u(s){var f=Date.now();var c=n[a];if(!o){o=f}t[i]=s;n[i]=f;var l=a;var d=0;while(l!==i){d+=t[l++];l=l%e}i=(i+1)%e;if(i===a){a=(a+1)%e}if(f-o<r){return}var v=c&&f-c;return v?Math.round(d*1e3/v):undefined}}function kr(e,r){var t=0;var n=1e3/r;var i;var a;var o=function(r,n){if(n===void 0){n=Date.now()}t=n;i=null;if(a){clearTimeout(a);a=null}e.apply(void 0,r)};var u=function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var u=Date.now();var s=u-t;if(s>=n){o(e,u)}else{i=e;if(!a){a=setTimeout((function(){a=null;o(i)}),n-s)}}};var s=function(){return i&&o(i)};return[u,s]}var Or=function(e,r,t){if(t===void 0){t=3}var n=0;var i=_r(50,250);return kr((function(t){var a;if(!t||typeof t.loaded!=="number"){return}var o=t.loaded;var u=t.lengthComputable?t.total:undefined;var s=u!=null?Math.min(o,u):o;var f=Math.max(0,s-n);var c=i(f);n=Math.max(n,s);var l=(a={loaded:s,total:u,progress:u?s/u:undefined,bytes:f,rate:c?c:undefined,estimated:c&&u?(u-s)/c:undefined,event:t,lengthComputable:u!=null},a[r?"download":"upload"]=true,a);e(l)}),t)};var Er=function(e,r){var t=e!=null;return[function(n){return r[0]({lengthComputable:t,total:e,loaded:n})},r[1]]};var Rr=function(e){return function(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return me.asap((function(){return e.apply(void 0,r)}))}};var jr=fr.hasStandardBrowserEnv?function(e,r){return function(t){t=new URL(t,fr.origin);return e.protocol===t.protocol&&e.host===t.host&&(r||e.port===t.port)}}(new URL(fr.origin),fr.navigator&&/(msie|trident)/i.test(fr.navigator.userAgent)):function(){return true};var Sr=fr.hasStandardBrowserEnv?{write:function(e,r,t,n,i,a,o){if(typeof document==="undefined")return;var u=["".concat(e,"=").concat(encodeURIComponent(r))];if(me.isNumber(t)){u.push("expires=".concat(new Date(t).toUTCString()))}if(me.isString(n)){u.push("path=".concat(n))}if(me.isString(i)){u.push("domain=".concat(i))}if(a===true){u.push("secure")}if(me.isString(o)){u.push("SameSite=".concat(o))}document.cookie=u.join("; ")},read:function(e){if(typeof document==="undefined")return null;var r=document.cookie.split(";");for(var t=0;t<r.length;t++){var n=r[t].replace(/^\s+/,"");var i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===e){return decodeURIComponent(n.slice(i+1))}}return null},remove:function(e){this.write(e,"",Date.now()-864e5,"/")}}:{write:function(){},read:function(){return null},remove:function(){}};function Ar(e){if(typeof e!=="string"){return false}return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Tr(e,r){return r?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e}function Cr(e,r,t){var n=!Ar(r);if(e&&(n||t===false)){return Tr(e,r)}return r}var Fr=function(e){return e instanceof Pe?__assign({},e):e};function Nr(e,r){r=r||{};var t=Object.create(null);Object.defineProperty(t,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:false,writable:true,configurable:true});function n(e,r,t,n){if(me.isPlainObject(e)&&me.isPlainObject(r)){return me.merge.call({caseless:n},e,r)}else if(me.isPlainObject(r)){return me.merge({},r)}else if(me.isArray(r)){return r.slice()}return r}function i(e,r,t,i){if(!me.isUndefined(r)){return n(e,r,t,i)}else if(!me.isUndefined(e)){return n(undefined,e,t,i)}}function a(e,r){if(!me.isUndefined(r)){return n(undefined,r)}}function o(e,r){if(!me.isUndefined(r)){return n(undefined,r)}else if(!me.isUndefined(e)){return n(undefined,e)}}function u(t,i,a){if(me.hasOwnProp(r,a)){return n(t,i)}else if(me.hasOwnProp(e,a)){return n(undefined,t)}}var s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:u,headers:function(e,r,t){return i(Fr(e),Fr(r),t,true)}};me.forEach(Object.keys(__assign(__assign({},e),r)),(function n(a){if(a==="__proto__"||a==="constructor"||a==="prototype")return;var o=me.hasOwnProp(s,a)?s[a]:i;var f=me.hasOwnProp(e,a)?e[a]:undefined;var c=me.hasOwnProp(r,a)?r[a]:undefined;var l=o(f,c,a);me.isUndefined(l)&&o!==u||(t[a]=l)}));return t}var Pr=["content-type","content-length"];function Ir(e,r,t){if(t!=="content-only"){e.set(r);return}Object.entries(r).forEach((function(r){var t=r[0],n=r[1];if(Pr.includes(t.toLowerCase())){e.set(t,n)}}))}var Br=function(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(function(e,r){return String.fromCharCode(parseInt(r,16))}))};function Ur(e){var r=Nr({},e);var t=function(e){return me.hasOwnProp(r,e)?r[e]:undefined};var n=t("data");var i=t("withXSRFToken");var a=t("xsrfHeaderName");var o=t("xsrfCookieName");var u=t("headers");var s=t("auth");var f=t("baseURL");var c=t("allowAbsoluteUrls");var l=t("url");r.headers=u=Pe.from(u);r.url=$e(Cr(f,l,c),t("params"),t("paramsSerializer"));if(s){u.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?Br(s.password):"")))}if(me.isFormData(n)){if(fr.hasStandardBrowserEnv||fr.hasStandardBrowserWebWorkerEnv||me.isReactNative(n)){u.setContentType(undefined)}else if(me.isFunction(n.getHeaders)){Ir(u,n.getHeaders(),t("formDataHeaderPolicy"))}}if(fr.hasStandardBrowserEnv){if(me.isFunction(i)){i=i(r)}var d=i===true||i==null&&jr(r.url);if(d){var v=a&&o&&Sr.read(o);if(v){u.set(a,v)}}}return r}var Dr=typeof XMLHttpRequest!=="undefined";var Lr=Dr&&function(e){return new Promise((function r(t,n){var i,a;var o=Ur(e);var u=o.data;var s=Pe.from(o.headers).normalize();var f=o.responseType,c=o.onUploadProgress,l=o.onDownloadProgress;var d;var v,h;var p,m;function b(){p&&p();m&&m();o.cancelToken&&o.cancelToken.unsubscribe(d);o.signal&&o.signal.removeEventListener("abort",d)}var w=new XMLHttpRequest;w.open(o.method.toUpperCase(),o.url,true);w.timeout=o.timeout;function y(){if(!w){return}var r=Pe.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders());var i=!f||f==="text"||f==="json"?w.responseText:w.response;var a={data:i,status:w.status,statusText:w.statusText,headers:r,config:e,request:w};gr((function e(r){t(r);b()}),(function e(r){n(r);b()}),a);w=null}if("onloadend"in w){w.onloadend=y}else{w.onreadystatechange=function e(){if(!w||w.readyState!==4){return}if(w.status===0&&!(w.responseURL&&w.responseURL.startsWith("file:"))){return}setTimeout(y)}}w.onabort=function r(){if(!w){return}n(new De("Request aborted",De.ECONNABORTED,e,w));b();w=null};w.onerror=function r(t){var i=t&&t.message?t.message:"Network Error";var a=new De(i,De.ERR_NETWORK,e,w);a.event=t||null;n(a);b();w=null};w.ontimeout=function r(){var t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";var i=o.transitional||Ye;if(o.timeoutErrorMessage){t=o.timeoutErrorMessage}n(new De(t,i.clarifyTimeoutError?De.ETIMEDOUT:De.ECONNABORTED,e,w));b();w=null};u===undefined&&s.setContentType(null);if("setRequestHeader"in w){me.forEach(Ee(s),(function e(r,t){w.setRequestHeader(t,r)}))}if(!me.isUndefined(o.withCredentials)){w.withCredentials=!!o.withCredentials}if(f&&f!=="json"){w.responseType=o.responseType}if(l){i=Or(l,true),h=i[0],m=i[1];w.addEventListener("progress",h)}if(c&&w.upload){a=Or(c),v=a[0],p=a[1];w.upload.addEventListener("progress",v);w.upload.addEventListener("loadend",p)}if(o.cancelToken||o.signal){d=function(r){if(!w){return}n(!r||r.type?new yr(null,e,w):r);w.abort();b();w=null};o.cancelToken&&o.cancelToken.subscribe(d);if(o.signal){o.signal.aborted?d():o.signal.addEventListener("abort",d)}}var g=xr(o.url);if(g&&!fr.protocols.includes(g)){n(new De("Unsupported protocol "+g+":",De.ERR_BAD_REQUEST,e));return}w.send(u||null)}))};var Mr=function(e,r){e=e?e.filter(Boolean):[];if(!r&&!e.length){return}var t=new AbortController;var n=false;var i=function(e){if(!n){n=true;o();var r=e instanceof Error?e:this.reason;t.abort(r instanceof De?r:new yr(r instanceof Error?r.message:r))}};var a=r&&setTimeout((function(){a=null;i(new De("timeout of ".concat(r,"ms exceeded"),De.ETIMEDOUT))}),r);var o=function(){if(!e){return}a&&clearTimeout(a);a=null;e.forEach((function(e){e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}));e=null};e.forEach((function(e){return e.addEventListener("abort",i)}));var u=t.signal;u.unsubscribe=function(){return me.asap(o)};return u};var zr=function(e,r){var t,n,i;return __generator(this,(function(a){switch(a.label){case 0:t=e.byteLength;if(!(t<r))return[3,2];return[4,e];case 1:a.sent();return[2];case 2:n=0;a.label=3;case 3:if(!(n<t))return[3,5];i=n+r;return[4,e.slice(n,i)];case 4:a.sent();n=i;return[3,3];case 5:return[2]}}))};var qr=function(e,r){return __asyncGenerator(this,arguments,(function(){var t,n,i,a,o;var u,s,f,c;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,7,8,13]);t=true,n=__asyncValues(Hr(e));l.label=1;case 1:return[4,__await(n.next())];case 2:if(!(i=l.sent(),u=i.done,!u))return[3,6];c=i.value;t=false;a=c;return[5,__values(__asyncDelegator(__asyncValues(zr(a,r))))];case 3:return[4,__await.apply(void 0,[l.sent()])];case 4:l.sent();l.label=5;case 5:t=true;return[3,1];case 6:return[3,13];case 7:o=l.sent();s={error:o};return[3,13];case 8:l.trys.push([8,,11,12]);if(!(!t&&!u&&(f=n.return)))return[3,10];return[4,__await(f.call(n))];case 9:l.sent();l.label=10;case 10:return[3,12];case 11:if(s)throw s.error;return[7];case 12:return[7];case 13:return[2]}}))}))};var Hr=function(e){return __asyncGenerator(this,arguments,(function(){var r,t,n,i;return __generator(this,(function(a){switch(a.label){case 0:if(!e[Symbol.asyncIterator])return[3,4];return[5,__values(__asyncDelegator(__asyncValues(e)))];case 1:return[4,__await.apply(void 0,[a.sent()])];case 2:a.sent();return[4,__await(void 0)];case 3:return[2,a.sent()];case 4:r=e.getReader();a.label=5;case 5:a.trys.push([5,,12,14]);a.label=6;case 6:return[4,__await(r.read())];case 7:t=a.sent(),n=t.done,i=t.value;if(n){return[3,11]}return[4,__await(i)];case 8:return[4,a.sent()];case 9:a.sent();a.label=10;case 10:return[3,6];case 11:return[3,14];case 12:return[4,__await(r.cancel())];case 13:a.sent();return[7];case 14:return[2]}}))}))};var Vr=function(e,r,t,n){var i=qr(e,r);var a=0;var o;var u=function(e){if(!o){o=true;n&&n(e)}};return new ReadableStream({pull:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,o,s,f,c;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,2,,3]);return[4,i.next()];case 1:r=l.sent(),n=r.done,o=r.value;if(n){u();e.close();return[2]}s=o.byteLength;if(t){f=a+=s;t(f)}e.enqueue(new Uint8Array(o));return[3,3];case 2:c=l.sent();u(c);throw c;case 3:return[2]}}))}))},cancel:function(e){u(e);return i.return()}},{highWaterMark:2})};function Gr(e){if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;var r=e.indexOf(",");if(r<0)return 0;var t=e.slice(5,r);var n=e.slice(r+1);var i=/;base64/i.test(t);if(i){var a=n.length;var o=n.length;for(var u=0;u<o;u++){if(n.charCodeAt(u)===37&&u+2<o){var s=n.charCodeAt(u+1);var f=n.charCodeAt(u+2);var c=(s>=48&&s<=57||s>=65&&s<=70||s>=97&&s<=102)&&(f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102);if(c){a-=2;u+=2}}}var l=0;var d=o-1;var v=function(e){return e>=2&&n.charCodeAt(e-2)===37&&n.charCodeAt(e-1)===51&&(n.charCodeAt(e)===68||n.charCodeAt(e)===100)};if(d>=0){if(n.charCodeAt(d)===61){l++;d--}else if(v(d)){l++;d-=3}}if(l===1&&d>=0){if(n.charCodeAt(d)===61){l++}else if(v(d)){l++}}var h=Math.floor(a/4);var p=h*3-(l||0);return p>0?p:0}if(typeof Buffer!=="undefined"&&typeof Buffer.byteLength==="function"){return Buffer.byteLength(n,"utf8")}var m=0;for(var u=0,o=n.length;u<o;u++){var b=n.charCodeAt(u);if(b<128){m+=1}else if(b<2048){m+=2}else if(b>=55296&&b<=56319&&u+1<o){var w=n.charCodeAt(u+1);if(w>=56320&&w<=57343){m+=4;u++}else{m+=3}}else{m+=3}}return m}var Kr="1.17.0";var Jr=64*1024;var Xr=me.isFunction;var Wr=function(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(function(e,r){return String.fromCharCode(parseInt(r,16))}))};var $r=function(e){if(!me.isString(e)){return e}try{return decodeURIComponent(e)}catch(r){return e}};var Zr=function(e){var r=[];for(var t=1;t<arguments.length;t++){r[t-1]=arguments[t]}try{return!!e.apply(void 0,r)}catch(e){return false}};var Yr=function(e){var r=e.indexOf("://");var t=e;if(r!==-1){t=t.slice(r+3)}return t.includes("@")||t.includes(":")};var Qr=function(r){var t=me.global!==undefined&&me.global!==null?me.global:globalThis;var n=t.ReadableStream,i=t.TextEncoder;r=me.merge.call({skipUndefined:true},{Request:t.Request,Response:t.Response},r);var a=r.fetch,o=r.Request,u=r.Response;var s=a?Xr(a):typeof fetch==="function";var f=Xr(o);var c=Xr(u);if(!s){return false}var l=s&&Xr(n);var d=s&&(typeof i==="function"?function(e){return function(r){return e.encode(r)}}(new i):function(r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=Uint8Array.bind;return[4,new o(r).arrayBuffer()];case 1:return[2,new(e.apply(Uint8Array,[void 0,t.sent()]))]}}))}))});var v=f&&l&&Zr((function(){var e=false;var r=new o(fr.origin,{body:new n,method:"POST",get duplex(){e=true;return"half"}});var t=r.headers.has("Content-Type");if(r.body!=null){r.body.cancel()}return e&&!t}));var h=c&&l&&Zr((function(){return me.isReadableStream(new u("").body)}));var p={stream:h&&function(e){return e.body}};s&&function(){["text","arrayBuffer","blob","formData","stream"].forEach((function(e){!p[e]&&(p[e]=function(r,t){var n=r&&r[e];if(n){return n.call(r)}throw new De("Response type '".concat(e,"' is not supported"),De.ERR_NOT_SUPPORT,t)})}))}();var m=function(r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(r==null){return[2,0]}if(me.isBlob(r)){return[2,r.size]}if(!me.isSpecCompliantForm(r))return[3,2];e=new o(fr.origin,{method:"POST",body:r});return[4,e.arrayBuffer()];case 1:return[2,t.sent().byteLength];case 2:if(me.isArrayBufferView(r)||me.isArrayBuffer(r)){return[2,r.byteLength]}if(me.isURLSearchParams(r)){r=r+""}if(!me.isString(r))return[3,4];return[4,d(r)];case 3:return[2,t.sent().byteLength];case 4:return[2]}}))}))};var b=function(r,t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){e=me.toFiniteNumber(r.getContentLength());return[2,e==null?m(t):e]}))}))};return function(r){return __awaiter(e,void 0,void 0,(function(){var e,t,n,s,c,l,d,m,w,y,g,x,_,k,O,E,R,j,S,A,T,C,F,N,P,I,B,U,D,L,M,z,q,H,V,G,K,J,X,W,$,Z,Y,Q,ee,re,te,ne,ie,ae,oe,ue,se,fe,ce,le;return __generator(this,(function(de){switch(de.label){case 0:e=Ur(r),t=e.url,n=e.method,s=e.data,c=e.signal,l=e.cancelToken,d=e.timeout,m=e.onDownloadProgress,w=e.onUploadProgress,y=e.responseType,g=e.headers,x=e.withCredentials,_=x===void 0?"same-origin":x,k=e.fetchOptions,O=e.maxContentLength,E=e.maxBodyLength;R=me.isNumber(O)&&O>-1;j=me.isNumber(E)&&E>-1;S=function(e){return me.hasOwnProp(r,e)?r[e]:undefined};A=a||fetch;y=y?(y+"").toLowerCase():"text";T=Mr([c,l&&l.toAbortSignal()],d);C=null;F=T&&T.unsubscribe&&function(){T.unsubscribe()};de.label=1;case 1:de.trys.push([1,9,,10]);P=undefined;I=S("auth");if(I){B=I.username||"";U=I.password||"";P={username:B,password:U}}if(Yr(t)){D=new URL(t,fr.origin);if(!P&&(D.username||D.password)){L=$r(D.username);M=$r(D.password);P={username:L,password:M}}if(D.username||D.password){D.username="";D.password="";t=D.href}}if(P){g.delete("authorization");g.set("Authorization","Basic "+btoa(Wr((P.username||"")+":"+(P.password||""))))}if(R&&typeof t==="string"&&t.startsWith("data:")){z=Gr(t);if(z>O){throw new De("maxContentLength size of "+O+" exceeded",De.ERR_BAD_RESPONSE,r,C)}}if(!(j&&n!=="get"&&n!=="head"))return[3,3];return[4,b(g,s)];case 2:q=de.sent();if(typeof q==="number"&&isFinite(q)&&q>E){throw new De("Request body larger than maxBodyLength limit",De.ERR_BAD_REQUEST,r,C)}de.label=3;case 3:H=w&&v&&n!=="get"&&n!=="head";if(!H)return[3,5];return[4,b(g,s)];case 4:H=(N=de.sent())!==0;de.label=5;case 5:if(H){V=new o(t,{method:"POST",body:s,duplex:"half"});G=void 0;if(me.isFormData(s)&&(G=V.headers.get("content-type"))){g.setContentType(G)}if(V.body){K=Er(N,Or(Rr(w))),J=K[0],X=K[1];s=Vr(V.body,Jr,J,X)}}if(!me.isString(_)){_=_?"include":"omit"}W=f&&"credentials"in o.prototype;if(me.isFormData(s)){$=g.getContentType();if($&&/^multipart\/form-data/i.test($)&&!/boundary=/i.test($)){g.delete("content-type")}}g.set("User-Agent","axios/"+Kr,false);Z=__assign(__assign({},k),{signal:T,method:n.toUpperCase(),headers:Ee(g.normalize()),body:s,duplex:"half",credentials:W?_:undefined});C=f&&new o(t,Z);return[4,f?A(C,k):A(t,Z)];case 6:Y=de.sent();if(R){Q=me.toFiniteNumber(Y.headers.get("content-length"));if(Q!=null&&Q>O){throw new De("maxContentLength size of "+O+" exceeded",De.ERR_BAD_RESPONSE,r,C)}}ee=h&&(y==="stream"||y==="response");if(h&&Y.body&&(m||R||ee&&F)){re={};["status","statusText","headers"].forEach((function(e){re[e]=Y[e]}));te=me.toFiniteNumber(Y.headers.get("content-length"));ne=m&&Er(te,Or(Rr(m),true))||[],ie=ne[0],ae=ne[1];oe=0;ue=function(e){if(R){oe=e;if(oe>O){throw new De("maxContentLength size of "+O+" exceeded",De.ERR_BAD_RESPONSE,r,C)}}ie&&ie(e)};Y=new u(Vr(Y.body,Jr,ue,(function(){ae&&ae();F&&F()})),re)}y=y||"text";return[4,p[me.findKey(p,y)||"text"](Y,r)];case 7:se=de.sent();if(R&&!h&&!ee){fe=void 0;if(se!=null){if(typeof se.byteLength==="number"){fe=se.byteLength}else if(typeof se.size==="number"){fe=se.size}else if(typeof se==="string"){fe=typeof i==="function"?(new i).encode(se).byteLength:se.length}}if(typeof fe==="number"&&fe>O){throw new De("maxContentLength size of "+O+" exceeded",De.ERR_BAD_RESPONSE,r,C)}}!ee&&F&&F();return[4,new Promise((function(e,t){gr(e,t,{data:se,headers:Pe.from(Y.headers),status:Y.status,statusText:Y.statusText,config:r,request:C})}))];case 8:return[2,de.sent()];case 9:ce=de.sent();F&&F();if(T&&T.aborted&&T.reason instanceof De){le=T.reason;le.config=r;C&&(le.request=C);ce!==le&&(le.cause=ce);throw le}if(ce&&ce.name==="TypeError"&&/Load failed|fetch/i.test(ce.message)){throw Object.assign(new De("Network Error",De.ERR_NETWORK,r,C,ce&&ce.response),{cause:ce.cause||ce})}throw De.from(ce,ce&&ce.code,r,C,ce&&ce.response);case 10:return[2]}}))}))}};var et=new Map;var rt=function(e){var r=e&&e.env||{};var t=r.fetch,n=r.Request,i=r.Response;var a=[n,i,t];var o=a.length,u=o,s,f,c=et;while(u--){s=a[u];f=c.get(s);f===undefined&&c.set(s,f=u?new Map:Qr(r));c=f}return f};rt();var tt={http:Le,xhr:Lr,fetch:{get:rt}};me.forEach(tt,(function(e,r){if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:r})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:r})}}));var nt=function(e){return"- ".concat(e)};var it=function(e){return me.isFunction(e)||e===null||e===false};function at(e,r){e=me.isArray(e)?e:[e];var t=e.length;var n;var i;var a={};for(var o=0;o<t;o++){n=e[o];var u=void 0;i=n;if(!it(n)){i=tt[(u=String(n)).toLowerCase()];if(i===undefined){throw new De("Unknown adapter '".concat(u,"'"))}}if(i&&(me.isFunction(i)||(i=i.get(r)))){break}a[u||"#"+o]=i}if(!i){var s=Object.entries(a).map((function(e){var r=e[0],t=e[1];return"adapter ".concat(r," ")+(t===false?"is not supported by the environment":"is not available in the build")}));var f=t?s.length>1?"since :\n"+s.map(nt).join("\n"):" "+nt(s[0]):"as no adapter specified";throw new De("There is no suitable adapter to dispatch the request "+f,"ERR_NOT_SUPPORT")}return i}var ot={getAdapter:at,adapters:tt};function ut(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new yr(null,e)}}function st(e){ut(e);e.headers=Pe.from(e.headers);e.data=br.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}var r=ot.getAdapter(e.adapter||mr.adapter,e);return r(e).then((function r(t){ut(e);e.response=t;try{t.data=br.call(e,e.transformResponse,t)}finally{delete e.response}t.headers=Pe.from(t.headers);return t}),(function r(t){if(!wr(t)){ut(e);if(t&&t.response){e.response=t.response;try{t.response.data=br.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Pe.from(t.response.headers)}}return Promise.reject(t)}))}var ft={};["object","boolean","number","function","string","symbol"].forEach((function(e,r){ft[e]=function t(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}}));var ct={};ft.transitional=function e(r,t,n){function i(e,r){return"[Axios v"+Kr+"] Transitional option '"+e+"'"+r+(n?". "+n:"")}return function(e,n,a){if(r===false){throw new De(i(n," has been removed"+(t?" in "+t:"")),De.ERR_DEPRECATED)}if(t&&!ct[n]){ct[n]=true;console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))}return r?r(e,n,a):true}};ft.spelling=function e(r){return function(e,t){console.warn("".concat(t," is likely a misspelling of ").concat(r));return true}};function lt(e,r,t){if(typeof e!=="object"){throw new De("options must be an object",De.ERR_BAD_OPTION_VALUE)}var n=Object.keys(e);var i=n.length;while(i-- >0){var a=n[i];var o=Object.prototype.hasOwnProperty.call(r,a)?r[a]:undefined;if(o){var u=e[a];var s=u===undefined||o(u,a,e);if(s!==true){throw new De("option "+a+" must be "+s,De.ERR_BAD_OPTION_VALUE)}continue}if(t!==true){throw new De("Unknown option "+a,De.ERR_BAD_OPTION)}}}var dt={assertOptions:lt,validators:ft};var vt=dt.validators;var ht=function(){function e(e){this.defaults=e||{};this.interceptors={request:new Ze,response:new Ze}}e.prototype.request=function(e,r){return __awaiter(this,void 0,void 0,(function(){var t,n,i,a,o,u;return __generator(this,(function(s){switch(s.label){case 0:s.trys.push([0,2,,3]);return[4,this._request(e,r)];case 1:return[2,s.sent()];case 2:t=s.sent();if(t instanceof Error){n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;i=function(){if(!n.stack){return""}var e=n.stack.indexOf("\n");return e===-1?"":n.stack.slice(e+1)}();try{if(!t.stack){t.stack=i}else if(i){a=i.indexOf("\n");o=a===-1?-1:i.indexOf("\n",a+1);u=o===-1?"":i.slice(o+1);if(!String(t.stack).endsWith(u)){t.stack+="\n"+i}}}catch(e){}}throw t;case 3:return[2]}}))}))};e.prototype._request=function(e,r){if(typeof e==="string"){r=r||{};r.url=e}else{r=e||{}}r=Nr(this.defaults,r);var t=r.transitional,n=r.paramsSerializer,i=r.headers;if(t!==undefined){dt.assertOptions(t,{silentJSONParsing:vt.transitional(vt.boolean),forcedJSONParsing:vt.transitional(vt.boolean),clarifyTimeoutError:vt.transitional(vt.boolean),legacyInterceptorReqResOrdering:vt.transitional(vt.boolean),advertiseZstdAcceptEncoding:vt.transitional(vt.boolean)},false)}if(n!=null){if(me.isFunction(n)){r.paramsSerializer={serialize:n}}else{dt.assertOptions(n,{encode:vt.function,serialize:vt.function},true)}}if(r.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{r.allowAbsoluteUrls=true}dt.assertOptions(r,{baseUrl:vt.spelling("baseURL"),withXsrfToken:vt.spelling("withXSRFToken")},true);r.method=(r.method||this.defaults.method||"get").toLowerCase();var a=i&&me.merge(i.common,i[r.method]);i&&me.forEach(["delete","get","head","post","put","patch","query","common"],(function(e){delete i[e]}));r.headers=Pe.concat(a,i);var o=[];var u=true;this.interceptors.request.forEach((function e(t){if(typeof t.runWhen==="function"&&t.runWhen(r)===false){return}u=u&&t.synchronous;var n=r.transitional||Ye;var i=n&&n.legacyInterceptorReqResOrdering;if(i){o.unshift(t.fulfilled,t.rejected)}else{o.push(t.fulfilled,t.rejected)}}));var s=[];this.interceptors.response.forEach((function e(r){s.push(r.fulfilled,r.rejected)}));var f;var c=0;var l;if(!u){var d=[st.bind(this),undefined];d.unshift.apply(d,o);d.push.apply(d,s);l=d.length;f=Promise.resolve(r);while(c<l){f=f.then(d[c++],d[c++])}return f}l=o.length;var v=r;while(c<l){var h=o[c++];var p=o[c++];try{v=h(v)}catch(e){p.call(this,e);break}}try{f=st.call(this,v)}catch(e){return Promise.reject(e)}c=0;l=s.length;while(c<l){f=f.then(s[c++],s[c++])}return f};e.prototype.getUri=function(e){e=Nr(this.defaults,e);var r=Cr(e.baseURL,e.url,e.allowAbsoluteUrls);return $e(r,e.params,e.paramsSerializer)};return e}();me.forEach(["delete","get","head","options"],(function e(r){ht.prototype[r]=function(e,t){return this.request(Nr(t||{},{method:r,url:e,data:(t||{}).data}))}}));me.forEach(["post","put","patch","query"],(function e(r){function t(e){return function t(n,i,a){return this.request(Nr(a||{},{method:r,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}ht.prototype[r]=t();if(r!=="query"){ht.prototype[r+"Form"]=t(true)}}));var pt=function(){function e(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var r;this.promise=new Promise((function e(t){r=t}));var t=this;this.promise.then((function(e){if(!t._listeners)return;var r=t._listeners.length;while(r-- >0){t._listeners[r](e)}t._listeners=null}));this.promise.then=function(e){var r;var n=new Promise((function(e){t.subscribe(e);r=e})).then(e);n.cancel=function e(){t.unsubscribe(r)};return n};e((function e(n,i,a){if(t.reason){return}t.reason=new yr(n,i,a);r(t.reason)}))}e.prototype.throwIfRequested=function(){if(this.reason){throw this.reason}};e.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}};e.prototype.unsubscribe=function(e){if(!this._listeners){return}var r=this._listeners.indexOf(e);if(r!==-1){this._listeners.splice(r,1)}};e.prototype.toAbortSignal=function(){var e=this;var r=new AbortController;var t=function(e){r.abort(e)};this.subscribe(t);r.signal.unsubscribe=function(){return e.unsubscribe(t)};return r.signal};e.source=function(){var r;var t=new e((function e(t){r=t}));return{token:t,cancel:r}};return e}();function mt(e){return function r(t){return e.apply(null,t)}}function bt(e){return me.isObject(e)&&e.isAxiosError===true}var wt={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(wt).forEach((function(e){var r=e[0],t=e[1];wt[t]=r}));function yt(e){var t=new ht(e);var n=r(ht.prototype.request,t);me.extend(n,ht.prototype,t,{allOwnKeys:true});me.extend(n,t,null,{allOwnKeys:true});n.create=function r(t){return yt(Nr(e,t))};return n}var gt=yt(mr);gt.Axios=ht;gt.CanceledError=yr;gt.CancelToken=pt;gt.isCancel=wr;gt.VERSION=Kr;gt.toFormData=Ge;gt.AxiosError=De;gt.Cancel=gt.CanceledError;gt.all=function e(r){return Promise.all(r)};gt.spread=mt;gt.isAxiosError=bt;gt.mergeConfig=Nr;gt.AxiosHeaders=Pe;gt.formToJSON=function(e){return vr(me.isHTMLForm(e)?new FormData(e):e)};gt.getAdapter=ot.getAdapter;gt.HttpStatusCode=wt;gt.default=gt;axios_1=gt;return axios_1}var axiosExports=requireAxios();var axios=getDefaultExportFromCjs(axiosExports);var API_KEY=BETA_ORIGINS.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";var getFeatureFlags=function(){return axios.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:API_KEY}}).then((function(e){return e.data})).catch((function(e){console.log("Unleash: Unable to fetch feature flags",e);throw e}))};var verdocsContactPickerCss=function(){return'verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", 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:start;align-items:flex-start;-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:var(--verdocs-primary-font, "Inter", "Barlow", 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:var(--verdocs-primary-font, "Inter", "Barlow", 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}'};var addrBookIcon='<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>';var VerdocsContactPicker=function(){function e(e){registerInstance(this,e);this.searchContacts=createEvent(this,"searchContacts");this.exit=createEvent(this,"exit");this.next=createEvent(this,"next");this.endpoint=VerdocsEndpoint.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.name_locked=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId="verdocs-contact-picker-firstname-".concat(Math.random().toString(36).substring(2,11));this.lastNameFieldId="verdocs-contact-picker-lastname-".concat(Math.random().toString(36).substring(2,11));this.emailFieldId="verdocs-contact-picker-email-".concat(Math.random().toString(36).substring(2,11));this.phoneFieldId="verdocs-contact-picker-phone-".concat(Math.random().toString(36).substring(2,11));this.featureFlags=null;this.activeEntitlements={}}e.prototype.componentWillLoad=function(){var e=this;this.endpoint.loadSession();if(this.templateRole){var r=formatFullName(this.templateRole);var t=r.split(" ");var n=this.templateRole.first_name||t.shift()||"";var i=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=i;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.name_locked=this.delegator?false:this.templateRole.name_locked||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}getActiveEntitlements(this.endpoint).then((function(r){e.activeEntitlements=r;console.log("[CONTACT PICKER] Loaded entitlements",r)})).catch((function(e){return console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)}));getFeatureFlags().then((function(r){e.featureFlags=r;console.log("[CONTACT PICKER] Loaded feature flags",r)})).catch((function(e){console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))};e.prototype.handleFirstNameChange=function(e){var r;this.first_name=e.target.value;(r=this.searchContacts)===null||r===void 0?void 0:r.emit({query:this.first_name})};e.prototype.handleLastNameChange=function(e){var r;this.last_name=e.target.value;(r=this.searchContacts)===null||r===void 0?void 0:r.emit({query:this.last_name})};e.prototype.handleCancel=function(e){var r;e.stopPropagation();this.showSuggestions=false;(r=this.exit)===null||r===void 0?void 0:r.emit()};e.prototype.handleSubmit=function(e){var r;e.stopPropagation();this.showSuggestions=false;(r=this.next)===null||r===void 0?void 0:r.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,name_locked:this.name_locked,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})};e.prototype.handleSelectSuggestion=function(e,r){e.stopPropagation();this.first_name=r.first_name;this.last_name=r.last_name;this.email=r.email;this.phone=r.phone;this.showSuggestions=false};e.prototype.render=function(){var e=this;var r,t,n,i,a,o,u,s,f,c,l,d,v,p,m,b,w,y;var g=this.first_name&&this.last_name&&isValidEmail(this.email);var x=!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;var _=g&&x;var k=((n=(t=(r=this.featureFlags)===null||r===void 0?void 0:r.toggles)===null||t===void 0?void 0:t.find((function(e){return e.name==="sms"})))===null||n===void 0?void 0:n.enabled)===true;var O=[];if(((o=(a=(i=this.featureFlags)===null||i===void 0?void 0:i.toggles)===null||a===void 0?void 0:a.find((function(e){return e.name==="passcode-verification"})))===null||o===void 0?void 0:o.enabled)===true){O.push({label:"Passcode",value:"passcode"})}if(((f=(s=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||s===void 0?void 0:s.find((function(e){return e.name==="email-verification"})))===null||f===void 0?void 0:f.enabled)===true){O.push({label:"Email",value:"email"})}if(k&&((d=(l=(c=this.featureFlags)===null||c===void 0?void 0:c.toggles)===null||l===void 0?void 0:l.find((function(e){return e.name==="sms-verification"})))===null||d===void 0?void 0:d.enabled)===true&&!!this.activeEntitlements.sms_auth){O.push({label:"SMS (One-Time Code)",value:"sms"})}if(((m=(p=(v=this.featureFlags)===null||v===void 0?void 0:v.toggles)===null||p===void 0?void 0:p.find((function(e){return e.name==="kba-verification"})))===null||m===void 0?void 0:m.enabled)===true&&!!this.activeEntitlements.kba_auth){O.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((y=(w=(b=this.featureFlags)===null||b===void 0?void 0:b.toggles)===null||w===void 0?void 0:w.find((function(e){return e.name==="id-verification"})))===null||y===void 0?void 0:y.enabled)===true&&!!this.activeEntitlements.id_auth){O.push({label:"ID Check",value:"id"})}return h("form",{key:"374d6f0907e09a4c312bcd666eaabf578f8671b5",onSubmit:function(e){return e.preventDefault()},autocomplete:"off"},h("div",{key:"bbdb01e7229992ff75b3b124fde6a8606769d53c",class:"row"},h("label",{key:"546da7ec599b17cc2e514dcaf47fe41d7107ec11",htmlFor:this.firstNameFieldId},"Name:"),h("div",{key:"e5819a8cb2c261c302a4923561578c5928063e64",class:"names-row"},h("input",{key:"05a471f19b8018993d50f4ba9776864392c13c9d",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:function(){setTimeout((function(){var r;e.showSuggestions=((r=e.contactSuggestions)===null||r===void 0?void 0:r.length)>0}),100)},onInput:function(r){return e.handleFirstNameChange(r)}}),h("input",{key:"4e56ab4161e6bd7894c636619282915243c8aeec",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:function(){setTimeout((function(){var r;e.showSuggestions=((r=e.contactSuggestions)===null||r===void 0?void 0:r.length)>0}),100)},onInput:function(r){return e.handleLastNameChange(r)}})),this.showSuggestions&&h("verdocs-portal",{key:"0a856517832b4dc417627675a0327e5a5e9e4710",anchor:this.firstNameFieldId,onClickAway:function(){e.showSuggestions=false;document.querySelectorAll(".verdocs-portal-wrapper").forEach((function(e){return e.remove()}))},id:"verdocs-contact-picker-suggestions"},h("div",{key:"6c0c1747e5ed512ad463c26f220b34db395e8f2c",class:"dropdown"},this.contactSuggestions.filter((function(r){return!e.first_name||r.first_name.toLowerCase().includes(e.first_name.toLowerCase())})).map((function(r){var t;return h("div",{key:(t=r.id)!==null&&t!==void 0?t:r.email,class:"suggestion",onClick:function(t){return e.handleSelectSuggestion(t,r)}},r.picture?h("img",{alt:"Avatar",class:"avatar",src:r.picture}):h("div",{class:"avatar",innerHTML:addrBookIcon}),h("div",{class:"details"},h("div",{class:"name"},formatFullName(r)),r.email&&h("div",{class:"destination"},r.email),r.phone&&h("div",{class:"destination"},r.phone)))}))))),h("div",{key:"85552b20424fb4884fa88d22c78375fe5c6513e0",class:"row"},h("label",{key:"2b438ee30f3c0115d0445e3f5bfe4ae8b7635073",htmlFor:this.emailFieldId},"Email:"),h("input",{key:"a349fb9e534ed7786268d9aac9184fc38a8a102e",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:function(){return e.showSuggestions=false},onInput:function(r){return e.email=r.target.value}})),k&&h("div",{key:"f015a535d0a37d94eb73b145342d00dde7b63a50",class:"row"},h("label",{key:"eff877e183e38de65ca11e535b81e11b5ee1bd92",htmlFor:this.phoneFieldId},"Phone:"),h("input",{key:"41db6e4607189c0b0da0ef658b1fbafcfeab92ba",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:function(){return e.showSuggestions=false},onInput:function(r){e.phone=convertToE164(r.target.value)}})),h(Fragment,{key:"c037e234e206b1cd45bf91649f211ebe42f885fe"},O.length>0&&h("div",{key:"23fa9db672498199d7c053b258669e0676852322",class:"row pin-code"},h("label",{key:"d5208d3cd083716589aa6c18dbd85ba88ca208b3"},"Verification Methods:"),h("div",{key:"f239551b28d2ca51b8f9ab5ec64bfdfdce4bf823"},O.map((function(r,t){return h("div",{class:"option"},h("verdocs-checkbox",{size:"small",id:"verdocs-multi-select-opt-".concat(t),value:r.value,checked:e.auth_methods.includes(r.value),onInput:function(t){if(t.target.checked){e.auth_methods=__spreadArray(__spreadArray([],e.auth_methods,true),[r.value],false)}else{e.auth_methods=e.auth_methods.filter((function(e){return e!==r.value}))}}}),h("label",{htmlFor:"verdocs-multi-select-option-".concat(t)},r.label))})))),this.auth_methods.includes("passcode")&&h("div",{key:"d57e7078dfefb1c816a15c52a8aa44eae62a5557",class:"row pin-code"},h("label",{key:"df97978ae0e4c176c7d6ca38850537d3d6db5ce3",htmlFor:this.phoneFieldId},"Passcode:"),h("input",{key:"7791e5a2d856bdd9dbbfcf8c339531e3e5c5e52b",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:function(){return e.showSuggestions=false},onInput:function(r){return e.passcode=r.target.value}}))),h("div",{key:"7de2d50963399db273bd1d38941ea967a2d92827",class:"row pin-code"},h("label",{key:"d0202a6e0969b405d303cdc291dee95048460b43",style:{marginTop:"6px"}},"Options:"),h("div",{key:"52f68972a5fee697972fa9baa284ca6a37830ab9"},h("div",{key:"8e15a3caa1e4ce0cbb943fb7bfaaf274d4410de3",class:"option"},h("verdocs-checkbox",{key:"7d21cafec340458f1c6a06b577fad30bbd5680eb",size:"small",id:"verdocs-delegator",checked:this.delegator,disabled:this.name_locked,onInput:function(r){e.delegator=r.target.checked;if(e.delegator)e.name_locked=false}}),h("label",{key:"2b96fb477ce41038cf9d115e9fabf102d670d801",htmlFor:"verdocs-delegator"},"May delegate signing")),h("div",{key:"7f616562ee03e6026bf09b355ae20720b45655b0",class:"option"},h("verdocs-checkbox",{key:"47bfa40e403ddf6da8cba33fda8ebff05625d353",size:"small",id:"verdocs-name-locked",checked:this.name_locked,disabled:this.delegator,onInput:function(r){e.name_locked=r.target.checked;if(e.name_locked)e.delegator=false}}),h("label",{key:"382d0b92f8999dc1a0adaa91d00c6c0f95a17552",htmlFor:"verdocs-name-locked"},"Name locked")))),h("div",{key:"6797886d95d1e08dc0c018e89cf6040aa60b02ff",class:"row message"},h("label",{key:"cb6f04c40e1b6601d0292e248b26cb4f2519e7d9",htmlFor:"verdocs-contact-picker-message"},"Message:"),h("textarea",{key:"018a9162f52e73650283a7f2271a99352008085c",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:function(){return e.showSuggestions=false},onInput:function(r){return e.message=r.target.value}},this.message)),h("div",{key:"d2f04563ad450f4c6c0c19735a064d01182cf458",class:"buttons"},h("div",{key:"43f240077f3c5b3e252c60a277668c94c9163b24",class:"flex-fill"}),h("verdocs-button",{key:"f758cb6d10b3deb58d13aaf54c212e6455933104",variant:"outline",label:"Cancel",size:"small",onClick:function(r){return e.handleCancel(r)}}),h("verdocs-button",{key:"3aa451a2d6d23ada4a7a5ddb5843b22954b69161",label:"OK",size:"small",disabled:!_,onClick:!_?function(){}:function(r){return e.handleSubmit(r)}})))};return e}();VerdocsContactPicker.style=verdocsContactPickerCss();export{VerdocsContactPicker as verdocs_contact_picker};
1
+ var __extends=this&&this.__extends||function(){var e=function(r,t){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var t in r)if(Object.prototype.hasOwnProperty.call(r,t))e[t]=r[t]};return e(r,t)};return function(r,t){if(typeof t!=="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(r,t);function n(){this.constructor=r}r.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}();var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++){r=arguments[t];for(var i in r)if(Object.prototype.hasOwnProperty.call(r,i))e[i]=r[i]}return e};return __assign.apply(this,arguments)};var __awaiter=this&&this.__awaiter||function(e,r,t,n){function i(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,a){function o(e){try{f(n.next(e))}catch(e){a(e)}}function u(e){try{f(n["throw"](e))}catch(e){a(e)}}function f(e){e.done?t(e.value):i(e.value).then(o,u)}f((n=n.apply(e,r||[])).next())}))};var __generator=this&&this.__generator||function(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=u(0),o["throw"]=u(1),o["return"]=u(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function u(e){return function(r){return f([e,r])}}function f(u){if(n)throw new TypeError("Generator is already executing.");while(o&&(o=0,u[0]&&(t=0)),t)try{if(n=1,i&&(a=u[0]&2?i["return"]:u[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;if(i=0,a)u=[u[0]&2,a.value];switch(u[0]){case 0:case 1:a=u;break;case 4:t.label++;return{value:u[1],done:false};case 5:t.label++;i=u[1];u=[0];continue;case 7:u=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){t=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){t.label=u[1];break}if(u[0]===6&&t.label<a[1]){t.label=a[1];a=u;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(u);break}if(a[2])t.ops.pop();t.trys.pop();continue}u=r.call(e,t)}catch(e){u=[6,e];i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:true}}};var __asyncValues=this&&this.__asyncValues||function(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=e[Symbol.asyncIterator],t;return r?r.call(e):(e=typeof __values==="function"?__values(e):e[Symbol.iterator](),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,a){t=e[r](t),i(n,a,t.done,t.value)}))}}function i(e,r,t,n){Promise.resolve(n).then((function(r){e({value:r,done:t})}),r)}};var __await=this&&this.__await||function(e){return this instanceof __await?(this.v=e,this):new __await(e)};var __asyncDelegator=this&&this.__asyncDelegator||function(e){var r,t;return r={},n("next"),n("throw",(function(e){throw e})),n("return"),r[Symbol.iterator]=function(){return this},r;function n(n,i){r[n]=e[n]?function(r){return(t=!t)?{value:__await(e[n](r)),done:false}:i?i(r):r}:i}};var __asyncGenerator=this&&this.__asyncGenerator||function(e,r,t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=t.apply(e,r||[]),i,a=[];return i=Object.create((typeof AsyncIterator==="function"?AsyncIterator:Object).prototype),u("next"),u("throw"),u("return",o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(r){return Promise.resolve(r).then(e,l)}}function u(e,r){if(n[e]){i[e]=function(r){return new Promise((function(t,n){a.push([e,r,t,n])>1||f(e,r)}))};if(r)i[e]=r(i[e])}}function f(e,r){try{s(n[e](r))}catch(e){d(a[0][3],e)}}function s(e){e.value instanceof __await?Promise.resolve(e.value.v).then(c,l):d(a[0][2],e)}function c(e){f("next",e)}function l(e){f("throw",e)}function d(e,r){if(e(r),a.shift(),a.length)f(a[0][0],a[0][1])}};var __spreadArray=this&&this.__spreadArray||function(e,r,t){if(t||arguments.length===2)for(var n=0,i=r.length,a;n<i;n++){if(a||!(n in r)){if(!a)a=Array.prototype.slice.call(r,0,n);a[n]=r[n]}}return e.concat(a||Array.prototype.slice.call(r))};var __values=this&&this.__values||function(e){var r=typeof Symbol==="function"&&Symbol.iterator,t=r&&e[r],n=0;if(t)return t.call(e);if(e&&typeof e.length==="number")return{next:function(){if(e&&n>=e.length)e=void 0;return{value:e&&e[n++],done:!e}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")};import{r as registerInstance,c as createEvent,h,F as Fragment}from"./index-CjTHbolG.js";import{VerdocsEndpoint,formatFullName,getActiveEntitlements,isValidEmail}from"@verdocs/js-sdk";import{c as commonjsGlobal,g as getDefaultExportFromCjs}from"./_commonjsHelpers-BFTU3MAI.js";import{B as BETA_ORIGINS}from"./Environment-C_Xku1v2.js";import{f as convertToE164}from"./utils-D9l-GFdv.js";import"./index-BglCURB-.js";import"./Types-CIxfEdV7.js";
2
+ /*! Axios v1.18.1 Copyright (c) 2026 Matt Zabriskie and contributors */var axios_1;var hasRequiredAxios;function requireAxios(){var e=this;if(hasRequiredAxios)return axios_1;hasRequiredAxios=1;function r(e,r){return function t(){return e.apply(r,arguments)}}var t=Object.prototype.toString;var n=Object.getPrototypeOf;var i=Symbol.iterator,a=Symbol.toStringTag;var o=function(e){var r=e.hasOwnProperty;return function(e,t){return r.call(e,t)}}(Object.prototype);var u=function(e,r){var t=e;var i=[];while(t!=null&&t!==Object.prototype){if(i.indexOf(t)!==-1){return false}i.push(t);if(o(t,r)){return true}t=n(t)}return false};var f=function(e,r){return e!=null&&u(e,r)?e[r]:undefined};var s=function(e){return function(r){var n=t.call(r);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));var c=function(e){e=e.toLowerCase();return function(r){return s(r)===e}};var l=function(e){return function(r){return typeof r===e}};var d=Array.isArray;var v=l("undefined");function h(e){return e!==null&&!v(e)&&e.constructor!==null&&!v(e.constructor)&&w(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}var p=c("ArrayBuffer");function m(e){var r;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){r=ArrayBuffer.isView(e)}else{r=e&&e.buffer&&p(e.buffer)}return r}var b=l("string");var w=l("function");var y=l("number");var g=function(e){return e!==null&&typeof e==="object"};var x=function(e){return e===true||e===false};var _=function(e){if(!g(e)){return false}var r=n(e);return(r===null||r===Object.prototype||n(r)===null)&&!u(e,a)&&!u(e,i)};var k=function(e){if(!g(e)||h(e)){return false}try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return false}};var O=c("Date");var E=c("File");var R=function(e){return!!(e&&typeof e.uri!=="undefined")};var S=function(e){return e&&typeof e.getParts!=="undefined"};var j=c("Blob");var A=c("FileList");var T=function(e){return g(e)&&w(e.pipe)};function C(){if(typeof globalThis!=="undefined")return globalThis;if(typeof self!=="undefined")return self;if(typeof window!=="undefined")return window;if(typeof commonjsGlobal!=="undefined")return commonjsGlobal;return{}}var F=C();var N=typeof F.FormData!=="undefined"?F.FormData:undefined;var I=function(e){if(!e)return false;if(N&&e instanceof N)return true;var r=n(e);if(!r||r===Object.prototype)return false;if(!w(e.append))return false;var t=s(e);return t==="formdata"||t==="object"&&w(e.toString)&&e.toString()==="[object FormData]"};var P=c("URLSearchParams");var U=["ReadableStream","Request","Response","Headers"].map(c),B=U[0],D=U[1],L=U[2],M=U[3];var z=function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")};function q(e,r,t){var n=t===void 0?{}:t,i=n.allOwnKeys,a=i===void 0?false:i;if(e===null||typeof e==="undefined"){return}var o;var u;if(typeof e!=="object"){e=[e]}if(d(e)){for(o=0,u=e.length;o<u;o++){r.call(null,e[o],o,e)}}else{if(h(e)){return}var f=a?Object.getOwnPropertyNames(e):Object.keys(e);var s=f.length;var c=void 0;for(o=0;o<s;o++){c=f[o];r.call(null,e[c],c,e)}}}function H(e,r){if(h(e)){return null}r=r.toLowerCase();var t=Object.keys(e);var n=t.length;var i;while(n-- >0){i=t[n];if(r===i.toLowerCase()){return i}}return null}var V=function(){if(typeof globalThis!=="undefined")return globalThis;return typeof self!=="undefined"?self:typeof window!=="undefined"?window:commonjsGlobal}();var G=function(e){return!v(e)&&e!==V};function K(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var t=G(this)&&this||{},n=t.caseless,i=t.skipUndefined;var a={};var u=function(e,r){if(r==="__proto__"||r==="constructor"||r==="prototype"){return}var t=n&&typeof r==="string"&&H(a,r)||r;var u=o(a,t)?a[t]:undefined;if(_(u)&&_(e)){a[t]=K(u,e)}else if(_(e)){a[t]=K({},e)}else if(d(e)){a[t]=e.slice()}else if(!i||!v(e)){a[t]=e}};for(var f=0,s=e.length;f<s;f++){var c=e[f];if(!c||h(c)){continue}q(c,u);if(typeof c!=="object"||d(c)){continue}var l=Object.getOwnPropertySymbols(c);for(var p=0;p<l.length;p++){var m=l[p];if(ie.call(c,m)){u(c[m],m)}}}return a}var J=function(e,t,n,i){var a=i===void 0?{}:i,o=a.allOwnKeys;q(t,(function(t,i){if(n&&w(t)){Object.defineProperty(e,i,{__proto__:null,value:r(t,n),writable:true,enumerable:true,configurable:true})}else{Object.defineProperty(e,i,{__proto__:null,value:t,writable:true,enumerable:true,configurable:true})}}),{allOwnKeys:o});return e};var X=function(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e};var W=function(e,r,t,n){e.prototype=Object.create(r.prototype,n);Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:true,enumerable:false,configurable:true});Object.defineProperty(e,"super",{__proto__:null,value:r.prototype});t&&Object.assign(e.prototype,t)};var $=function(e,r,t,i){var a;var o;var u;var f={};r=r||{};if(e==null)return r;do{a=Object.getOwnPropertyNames(e);o=a.length;while(o-- >0){u=a[o];if((!i||i(u,e,r))&&!f[u]){r[u]=e[u];f[u]=true}}e=t!==false&&n(e)}while(e&&(!t||t(e,r))&&e!==Object.prototype);return r};var Z=function(e,r,t){e=String(e);if(t===undefined||t>e.length){t=e.length}t-=r.length;var n=e.indexOf(r,t);return n!==-1&&n===t};var Y=function(e){if(!e)return null;if(d(e))return e;var r=e.length;if(!y(r))return null;var t=new Array(r);while(r-- >0){t[r]=e[r]}return t};var Q=function(e){return function(r){return e&&r instanceof e}}(typeof Uint8Array!=="undefined"&&n(Uint8Array));var ee=function(e,r){var t=e&&e[i];var n=t.call(e);var a;while((a=n.next())&&!a.done){var o=a.value;r.call(e,o[0],o[1])}};var re=function(e,r){var t;var n=[];while((t=e.exec(r))!==null){n.push(t)}return n};var te=c("HTMLFormElement");var ne=function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function e(r,t,n){return t.toUpperCase()+n}))};var ie=Object.prototype.propertyIsEnumerable;var ae=c("RegExp");var oe=function(e,r){var t=Object.getOwnPropertyDescriptors(e);var n={};q(t,(function(t,i){var a;if((a=r(t,i,e))!==false){n[i]=a||t}}));Object.defineProperties(e,n)};var ue=function(e){oe(e,(function(r,t){if(w(e)&&["arguments","caller","callee"].includes(t)){return false}var n=e[t];if(!w(n))return;r.enumerable=false;if("writable"in r){r.writable=false;return}if(!r.set){r.set=function(){throw Error("Can not rewrite read-only method '"+t+"'")}}}))};var fe=function(e,r){var t={};var n=function(e){e.forEach((function(e){t[e]=true}))};d(e)?n(e):n(String(e).split(r));return t};var se=function(){};var ce=function(e,r){return e!=null&&Number.isFinite(e=+e)?e:r};function le(e){return!!(e&&w(e.append)&&e[a]==="FormData"&&e[i])}var de=function(e){var r=new WeakSet;var t=function(e){if(g(e)){if(r.has(e)){return}if(h(e)){return e}if(!("toJSON"in e)){r.add(e);var n=d(e)?[]:{};q(e,(function(e,r){var i=t(e);!v(i)&&(n[r]=i)}));r.delete(e);return n}}return e};return t(e)};var ve=c("AsyncFunction");var he=function(e){return e&&(g(e)||w(e))&&w(e.then)&&w(e.catch)};var pe=function(e,r){if(e){return setImmediate}return r?function(e,r){V.addEventListener("message",(function(t){var n=t.source,i=t.data;if(n===V&&i===e){r.length&&r.shift()()}}),false);return function(t){r.push(t);V.postMessage(e,"*")}}("axios@".concat(Math.random()),[]):function(e){return setTimeout(e)}}(typeof setImmediate==="function",w(V.postMessage));var me=typeof queueMicrotask!=="undefined"?queueMicrotask.bind(V):typeof process!=="undefined"&&process.nextTick||pe;var be=function(e){return e!=null&&w(e[i])};var we=function(e){return e!=null&&u(e,i)&&be(e)};var ye={isArray:d,isArrayBuffer:p,isBuffer:h,isFormData:I,isArrayBufferView:m,isString:b,isNumber:y,isBoolean:x,isObject:g,isPlainObject:_,isEmptyObject:k,isReadableStream:B,isRequest:D,isResponse:L,isHeaders:M,isUndefined:v,isDate:O,isFile:E,isReactNativeBlob:R,isReactNative:S,isBlob:j,isRegExp:ae,isFunction:w,isStream:T,isURLSearchParams:P,isTypedArray:Q,isFileList:A,forEach:q,merge:K,extend:J,trim:z,stripBOM:X,inherits:W,toFlatObject:$,kindOf:s,kindOfTest:c,endsWith:Z,toArray:Y,forEachEntry:ee,matchAll:re,isHTMLForm:te,hasOwnProperty:o,hasOwnProp:o,hasOwnInPrototypeChain:u,getSafeProp:f,reduceDescriptors:oe,freezeMethods:ue,toObjectSet:fe,toCamelCase:ne,noop:se,toFiniteNumber:ce,findKey:H,global:V,isContextDefined:G,isSpecCompliantForm:le,toJSONObject:de,isAsyncFn:ve,isThenable:he,setImmediate:pe,asap:me,isIterable:be,isSafeIterable:we};var ge=ye.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 xe=function(e){var r={};var t;var n;var i;e&&e.split("\n").forEach((function e(a){i=a.indexOf(":");t=a.substring(0,i).trim().toLowerCase();n=a.substring(i+1).trim();if(!t||r[t]&&ge[t]){return}if(t==="set-cookie"){if(r[t]){r[t].push(n)}else{r[t]=[n]}}else{r[t]=r[t]?r[t]+", "+n:n}}));return r};function _e(e){var r=0;var t=e.length;while(r<t){var n=e.charCodeAt(r);if(n!==9&&n!==32){break}r+=1}while(t>r){var n=e.charCodeAt(t-1);if(n!==9&&n!==32){break}t-=1}return r===0&&t===e.length?e:e.slice(r,t)}var ke=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g");var Oe=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function Ee(e,r){if(ye.isArray(e)){return e.map((function(e){return Ee(e,r)}))}return _e(String(e).replace(r,""))}var Re=function(e){return Ee(e,ke)};var Se=function(e){return Ee(e,Oe)};function je(e){var r=Object.create(null);ye.forEach(e.toJSON(),(function(e,t){r[t]=Se(e)}));return r}var Ae=Symbol("internals");function Te(e){return e&&String(e).trim().toLowerCase()}function Ce(e){if(e===false||e==null){return e}return ye.isArray(e)?e.map(Ce):Re(String(e))}function Fe(e){var r=Object.create(null);var t=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;var n;while(n=t.exec(e)){r[n[1]]=n[2]}return r}var Ne=function(e){return/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())};function Ie(e,r,t,n,i){if(ye.isFunction(n)){return n.call(this,r,t)}if(i){r=t}if(!ye.isString(r))return;if(ye.isString(n)){return r.indexOf(n)!==-1}if(ye.isRegExp(n)){return n.test(r)}}function Pe(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,r,t){return r.toUpperCase()+t}))}function Ue(e,r){var t=ye.toCamelCase(" "+r);["get","set","has"].forEach((function(n){Object.defineProperty(e,n+t,{__proto__:null,value:function(e,t,i){return this[n].call(this,r,e,t,i)},configurable:true})}))}var Be=function(){function e(e){e&&this.set(e)}e.prototype.set=function(e,r,t){var n=this;function i(e,r,t){var i=Te(r);if(!i){return}var a=ye.findKey(n,i);if(!a||n[a]===undefined||t===true||t===undefined&&n[a]!==false){n[a||r]=Ce(e)}}var a=function(e,r){return ye.forEach(e,(function(e,t){return i(e,t,r)}))};if(ye.isPlainObject(e)||e instanceof this.constructor){a(e,r)}else if(ye.isString(e)&&(e=e.trim())&&!Ne(e)){a(xe(e),r)}else if(ye.isObject(e)&&ye.isSafeIterable(e)){var o=Object.create(null),u=void 0,f=void 0;for(var s=0,c=e;s<c.length;s++){var l=c[s];if(!ye.isArray(l)){throw new TypeError("Object iterator must return a key-value pair")}f=l[0];if(ye.hasOwnProp(o,f)){u=o[f];o[f]=ye.isArray(u)?__spreadArray(__spreadArray([],u,true),[l[1]],false):[u,l[1]]}else{o[f]=l[1]}}a(o,r)}else{e!=null&&i(r,e,t)}return this};e.prototype.get=function(e,r){e=Te(e);if(e){var t=ye.findKey(this,e);if(t){var n=this[t];if(!r){return n}if(r===true){return Fe(n)}if(ye.isFunction(r)){return r.call(this,n,t)}if(ye.isRegExp(r)){return r.exec(n)}throw new TypeError("parser must be boolean|regexp|function")}}};e.prototype.has=function(e,r){e=Te(e);if(e){var t=ye.findKey(this,e);return!!(t&&this[t]!==undefined&&(!r||Ie(this,this[t],t,r)))}return false};e.prototype.delete=function(e,r){var t=this;var n=false;function i(e){e=Te(e);if(e){var i=ye.findKey(t,e);if(i&&(!r||Ie(t,t[i],i,r))){delete t[i];n=true}}}if(ye.isArray(e)){e.forEach(i)}else{i(e)}return n};e.prototype.clear=function(e){var r=Object.keys(this);var t=r.length;var n=false;while(t--){var i=r[t];if(!e||Ie(this,this[i],i,e,true)){delete this[i];n=true}}return n};e.prototype.normalize=function(e){var r=this;var t={};ye.forEach(this,(function(n,i){var a=ye.findKey(t,i);if(a){r[a]=Ce(n);delete r[i];return}var o=e?Pe(i):String(i).trim();if(o!==i){delete r[i]}r[o]=Ce(n);t[o]=true}));return this};e.prototype.concat=function(){var e;var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return(e=this.constructor).concat.apply(e,__spreadArray([this],r,false))};e.prototype.toJSON=function(e){var r=Object.create(null);ye.forEach(this,(function(t,n){t!=null&&t!==false&&(r[n]=e&&ye.isArray(t)?t.join(", "):t)}));return r};e.prototype[Symbol.iterator]=function(){return Object.entries(this.toJSON())[Symbol.iterator]()};e.prototype.toString=function(){return Object.entries(this.toJSON()).map((function(e){var r=e[0],t=e[1];return r+": "+t})).join("\n")};e.prototype.getSetCookie=function(){return this.get("set-cookie")||[]};Object.defineProperty(e.prototype,Symbol.toStringTag,{get:function(){return"AxiosHeaders"},enumerable:false,configurable:true});e.from=function(e){return e instanceof this?e:new this(e)};e.concat=function(e){var r=[];for(var t=1;t<arguments.length;t++){r[t-1]=arguments[t]}var n=new this(e);r.forEach((function(e){return n.set(e)}));return n};e.accessor=function(e){var r=this[Ae]=this[Ae]={accessors:{}};var t=r.accessors;var n=this.prototype;function i(e){var r=Te(e);if(!t[r]){Ue(n,e);t[r]=true}}ye.isArray(e)?e.forEach(i):i(e);return this};return e}();Be.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);ye.reduceDescriptors(Be.prototype,(function(e,r){var t=e.value;var n=r[0].toUpperCase()+r.slice(1);return{get:function(){return t},set:function(e){this[n]=e}}}));ye.freezeMethods(Be);var De="[REDACTED ****]";function Le(e){if(ye.hasOwnProp(e,"toJSON")){return true}var r=Object.getPrototypeOf(e);while(r&&r!==Object.prototype){if(ye.hasOwnProp(r,"toJSON")){return true}r=Object.getPrototypeOf(r)}return false}function Me(e,r){var t=new Set(r.map((function(e){return String(e).toLowerCase()})));var n=[];var i=function(e){if(e===null||typeof e!=="object")return e;if(ye.isBuffer(e))return e;if(n.indexOf(e)!==-1)return undefined;if(e instanceof Be){e=e.toJSON()}n.push(e);var r;if(ye.isArray(e)){r=[];e.forEach((function(e,t){var n=i(e);if(!ye.isUndefined(n)){r[t]=n}}))}else{if(!ye.isPlainObject(e)&&Le(e)){n.pop();return e}r=Object.create(null);for(var a=0,o=Object.entries(e);a<o.length;a++){var u=o[a],f=u[0],s=u[1];var c=t.has(f.toLowerCase())?De:i(s);if(!ye.isUndefined(c)){r[f]=c}}}n.pop();return r};return i(e)}var ze=function(e){__extends(r,e);function r(r,t,n,i,a){var o=e.call(this,r)||this;Object.defineProperty(o,"message",{__proto__:null,value:r,enumerable:true,writable:true,configurable:true});o.name="AxiosError";o.isAxiosError=true;t&&(o.code=t);n&&(o.config=n);i&&(o.request=i);if(a){o.response=a;o.status=a.status}return o}r.from=function(e,t,n,i,a,o){var u=new r(e.message,t||e.code,n,i,a);Object.defineProperty(u,"cause",{__proto__:null,value:e,writable:true,enumerable:false,configurable:true});u.name=e.name;if(e.status!=null&&u.status==null){u.status=e.status}o&&Object.assign(u,o);return u};r.prototype.toJSON=function(){var e=this.config;var r=e&&ye.hasOwnProp(e,"redact")?e.redact:undefined;var t=ye.isArray(r)&&r.length>0?Me(e,r):ye.toJSONObject(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:t,code:this.code,status:this.status}};return r}(Error);ze.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";ze.ERR_BAD_OPTION="ERR_BAD_OPTION";ze.ECONNABORTED="ECONNABORTED";ze.ETIMEDOUT="ETIMEDOUT";ze.ECONNREFUSED="ECONNREFUSED";ze.ERR_NETWORK="ERR_NETWORK";ze.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";ze.ERR_DEPRECATED="ERR_DEPRECATED";ze.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";ze.ERR_BAD_REQUEST="ERR_BAD_REQUEST";ze.ERR_CANCELED="ERR_CANCELED";ze.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";ze.ERR_INVALID_URL="ERR_INVALID_URL";ze.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var qe=null;var He=100;function Ve(e){return ye.isPlainObject(e)||ye.isArray(e)}function Ge(e){return ye.endsWith(e,"[]")?e.slice(0,-2):e}function Ke(e,r,t){if(!e)return r;return e.concat(r).map((function e(r,n){r=Ge(r);return!t&&n?"["+r+"]":r})).join(t?".":"")}function Je(e){return ye.isArray(e)&&!e.some(Ve)}var Xe=ye.toFlatObject(ye,{},null,(function e(r){return/^is[A-Z]/.test(r)}));function We(e,r,t){if(!ye.isObject(e)){throw new TypeError("target must be an object")}r=r||new FormData;t=ye.toFlatObject(t,{metaTokens:true,dots:false,indexes:false},false,(function e(r,t){return!ye.isUndefined(t[r])}));var n=t.metaTokens;var i=t.visitor||h;var a=t.dots;var o=t.indexes;var u=t.Blob||typeof Blob!=="undefined"&&Blob;var f=t.maxDepth===undefined?He:t.maxDepth;var s=u&&ye.isSpecCompliantForm(r);var c=[];if(!ye.isFunction(i)){throw new TypeError("visitor must be a function")}function l(e){if(e===null)return"";if(ye.isDate(e)){return e.toISOString()}if(ye.isBoolean(e)){return e.toString()}if(!s&&ye.isBlob(e)){throw new ze("Blob is not supported. Use a Buffer instead.")}if(ye.isArrayBuffer(e)||ye.isTypedArray(e)){if(s&&typeof u==="function"){return new u([e])}if(typeof Buffer!=="undefined"){return Buffer.from(e)}throw new ze("Blob is not supported. Use a Buffer instead.",ze.ERR_NOT_SUPPORT)}return e}function d(e){if(e>f){throw new ze("Object is too deeply nested ("+e+" levels). Max depth: "+f,ze.ERR_FORM_DATA_DEPTH_EXCEEDED)}}function v(e,r){if(f===Infinity){return JSON.stringify(e)}var t=[];return JSON.stringify(e,(function e(n,i){if(!ye.isObject(i)){return i}while(t.length&&t[t.length-1]!==this){t.pop()}t.push(i);d(r+t.length-1);return i}))}function h(e,t,i){var u=e;if(ye.isReactNative(r)&&ye.isReactNativeBlob(e)){r.append(Ke(i,t,a),l(e));return false}if(e&&!i&&typeof e==="object"){if(ye.endsWith(t,"{}")){t=n?t:t.slice(0,-2);e=v(e,1)}else if(ye.isArray(e)&&Je(e)||(ye.isFileList(e)||ye.endsWith(t,"[]"))&&(u=ye.toArray(e))){t=Ge(t);u.forEach((function e(n,i){!(ye.isUndefined(n)||n===null)&&r.append(o===true?Ke([t],i,a):o===null?t:t+"[]",l(n))}));return false}}if(Ve(e)){return true}r.append(Ke(i,t,a),l(e));return false}var p=Object.assign(Xe,{defaultVisitor:h,convertValue:l,isVisitable:Ve});function m(e,t,n){if(n===void 0){n=0}if(ye.isUndefined(e))return;d(n);if(c.indexOf(e)!==-1){throw new Error("Circular reference detected in "+t.join("."))}c.push(e);ye.forEach(e,(function e(a,o){var u=!(ye.isUndefined(a)||a===null)&&i.call(r,a,ye.isString(o)?o.trim():o,t,p);if(u===true){m(a,t?t.concat(o):[o],n+1)}}));c.pop()}if(!ye.isObject(e)){throw new TypeError("data must be an object")}m(e);return r}function $e(e){var r={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,(function e(t){return r[t]}))}function Ze(e,r){this._pairs=[];e&&We(e,this,r)}var Ye=Ze.prototype;Ye.append=function e(r,t){this._pairs.push([r,t])};Ye.toString=function e(r){var t=this;var n=r?function(e){return r.call(t,e,$e)}:$e;return this._pairs.map((function e(r){return n(r[0])+"="+n(r[1])}),"").join("&")};function Qe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function er(e,r,t){if(!r){return e}e=e||"";var n=ye.isFunction(t)?{serialize:t}:t;var i=ye.getSafeProp(n,"encode")||Qe;var a=ye.getSafeProp(n,"serialize");var o;if(a){o=a(r,n)}else{o=ye.isURLSearchParams(r)?r.toString():new Ze(r,n).toString(i)}if(o){var u=e.indexOf("#");if(u!==-1){e=e.slice(0,u)}e+=(e.indexOf("?")===-1?"?":"&")+o}return e}var rr=function(){function e(){this.handlers=[]}e.prototype.use=function(e,r,t){this.handlers.push({fulfilled:e,rejected:r,synchronous:t?t.synchronous:false,runWhen:t?t.runWhen:null});return this.handlers.length-1};e.prototype.eject=function(e){if(this.handlers[e]){this.handlers[e]=null}};e.prototype.clear=function(){if(this.handlers){this.handlers=[]}};e.prototype.forEach=function(e){ye.forEach(this.handlers,(function r(t){if(t!==null){e(t)}}))};return e}();var tr={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false,legacyInterceptorReqResOrdering:true,advertiseZstdAcceptEncoding:false,validateStatusUndefinedResolves:true};var nr=typeof URLSearchParams!=="undefined"?URLSearchParams:Ze;var ir=typeof FormData!=="undefined"?FormData:null;var ar=typeof Blob!=="undefined"?Blob:null;var or={isBrowser:true,classes:{URLSearchParams:nr,FormData:ir,Blob:ar},protocols:["http","https","file","blob","url","data"]};var ur=typeof window!=="undefined"&&typeof document!=="undefined";var fr=typeof navigator==="object"&&navigator||undefined;var sr=ur&&(!fr||["ReactNative","NativeScript","NS"].indexOf(fr.product)<0);var cr=function(){return typeof WorkerGlobalScope!=="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==="function"}();var lr=ur&&window.location.href||"http://localhost";var dr=Object.freeze({__proto__:null,hasBrowserEnv:ur,hasStandardBrowserEnv:sr,hasStandardBrowserWebWorkerEnv:cr,navigator:fr,origin:lr});var vr=__assign(__assign({},dr),or);function hr(e,r){return We(e,new vr.classes.URLSearchParams,__assign({visitor:function(e,r,t,n){if(vr.isNode&&ye.isBuffer(e)){this.append(r,e.toString("base64"));return false}return n.defaultVisitor.apply(this,arguments)}},r))}var pr=He;function mr(e){if(e>pr){throw new ze("FormData field is too deeply nested ("+e+" levels). Max depth: "+pr,ze.ERR_FORM_DATA_DEPTH_EXCEEDED)}}function br(e){var r=[];var t=/\w+|\[(\w*)]/g;var n;while((n=t.exec(e))!==null){mr(r.length);r.push(n[0]==="[]"?"":n[1]||n[0])}return r}function wr(e){var r={};var t=Object.keys(e);var n;var i=t.length;var a;for(n=0;n<i;n++){a=t[n];r[a]=e[a]}return r}function yr(e){function r(e,t,n,i){mr(i);var a=e[i++];if(a==="__proto__")return true;var o=Number.isFinite(+a);var u=i>=e.length;a=!a&&ye.isArray(n)?n.length:a;if(u){if(ye.hasOwnProp(n,a)){n[a]=ye.isArray(n[a])?n[a].concat(t):[n[a],t]}else{n[a]=t}return!o}if(!ye.hasOwnProp(n,a)||!ye.isObject(n[a])){n[a]=[]}var f=r(e,t,n[a],i);if(f&&ye.isArray(n[a])){n[a]=wr(n[a])}return!o}if(ye.isFormData(e)&&ye.isFunction(e.entries)){var t={};ye.forEachEntry(e,(function(e,n){r(br(e),n,t,0)}));return t}return null}var gr=function(e,r){return e!=null&&ye.hasOwnProp(e,r)?e[r]:undefined};function xr(e,r,t){if(ye.isString(e)){try{(0,JSON.parse)(e);return ye.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(t||JSON.stringify)(e)}var _r={transitional:tr,adapter:["xhr","http","fetch"],transformRequest:[function e(r,t){var n=t.getContentType()||"";var i=n.indexOf("application/json")>-1;var a=ye.isObject(r);if(a&&ye.isHTMLForm(r)){r=new FormData(r)}var o=ye.isFormData(r);if(o){return i?JSON.stringify(yr(r)):r}if(ye.isArrayBuffer(r)||ye.isBuffer(r)||ye.isStream(r)||ye.isFile(r)||ye.isBlob(r)||ye.isReadableStream(r)){return r}if(ye.isArrayBufferView(r)){return r.buffer}if(ye.isURLSearchParams(r)){t.setContentType("application/x-www-form-urlencoded;charset=utf-8",false);return r.toString()}var u;if(a){var f=gr(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1){return hr(r,f).toString()}if((u=ye.isFileList(r))||n.indexOf("multipart/form-data")>-1){var s=gr(this,"env");var c=s&&s.FormData;return We(u?{"files[]":r}:r,c&&new c,f)}}if(a||i){t.setContentType("application/json",false);return xr(r)}return r}],transformResponse:[function e(r){var t=gr(this,"transitional")||_r.transitional;var n=t&&t.forcedJSONParsing;var i=gr(this,"responseType");var a=i==="json";if(ye.isResponse(r)||ye.isReadableStream(r)){return r}if(r&&ye.isString(r)&&(n&&!i||a)){var o=t&&t.silentJSONParsing;var u=!o&&a;try{return JSON.parse(r,gr(this,"parseReviver"))}catch(e){if(u){if(e.name==="SyntaxError"){throw ze.from(e,ze.ERR_BAD_RESPONSE,this,null,gr(this,"response"))}throw e}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vr.classes.FormData,Blob:vr.classes.Blob},validateStatus:function e(r){return r>=200&&r<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":undefined}}};ye.forEach(["delete","get","head","post","put","patch","query"],(function(e){_r.headers[e]={}}));function kr(e,r){var t=this||_r;var n=r||t;var i=Be.from(n.headers);var a=n.data;ye.forEach(e,(function e(n){a=n.call(t,a,i.normalize(),r?r.status:undefined)}));i.normalize();return a}function Or(e){return!!(e&&e.__CANCEL__)}var Er=function(e){__extends(r,e);function r(r,t,n){var i=e.call(this,r==null?"canceled":r,ze.ERR_CANCELED,t,n)||this;i.name="CanceledError";i.__CANCEL__=true;return i}return r}(ze);function Rr(e,r,t){var n=t.config.validateStatus;if(!t.status||!n||n(t.status)){e(t)}else{r(new ze("Request failed with status code "+t.status,t.status>=400&&t.status<500?ze.ERR_BAD_REQUEST:ze.ERR_BAD_RESPONSE,t.config,t.request,t))}}function Sr(e){var r=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return r&&r[1]||""}function jr(e,r){e=e||10;var t=new Array(e);var n=new Array(e);var i=0;var a=0;var o;r=r!==undefined?r:1e3;return function u(f){var s=Date.now();var c=n[a];if(!o){o=s}t[i]=f;n[i]=s;var l=a;var d=0;while(l!==i){d+=t[l++];l=l%e}i=(i+1)%e;if(i===a){a=(a+1)%e}if(s-o<r){return}var v=c&&s-c;return v?Math.round(d*1e3/v):undefined}}function Ar(e,r){var t=0;var n=1e3/r;var i;var a;var o=function(r,n){if(n===void 0){n=Date.now()}t=n;i=null;if(a){clearTimeout(a);a=null}e.apply(void 0,r)};var u=function(){var e=[];for(var r=0;r<arguments.length;r++){e[r]=arguments[r]}var u=Date.now();var f=u-t;if(f>=n){o(e,u)}else{i=e;if(!a){a=setTimeout((function(){a=null;o(i)}),n-f)}}};var f=function(){return i&&o(i)};return[u,f]}var Tr=function(e,r,t){if(t===void 0){t=3}var n=0;var i=jr(50,250);return Ar((function(t){var a;if(!t||typeof t.loaded!=="number"){return}var o=t.loaded;var u=t.lengthComputable?t.total:undefined;var f=u!=null?Math.min(o,u):o;var s=Math.max(0,f-n);var c=i(s);n=Math.max(n,f);var l=(a={loaded:f,total:u,progress:u?f/u:undefined,bytes:s,rate:c?c:undefined,estimated:c&&u?(u-f)/c:undefined,event:t,lengthComputable:u!=null},a[r?"download":"upload"]=true,a);e(l)}),t)};var Cr=function(e,r){var t=e!=null;return[function(n){return r[0]({lengthComputable:t,total:e,loaded:n})},r[1]]};var Fr=function(e){return function(){var r=[];for(var t=0;t<arguments.length;t++){r[t]=arguments[t]}return ye.asap((function(){return e.apply(void 0,r)}))}};var Nr=vr.hasStandardBrowserEnv?function(e,r){return function(t){t=new URL(t,vr.origin);return e.protocol===t.protocol&&e.host===t.host&&(r||e.port===t.port)}}(new URL(vr.origin),vr.navigator&&/(msie|trident)/i.test(vr.navigator.userAgent)):function(){return true};var Ir=vr.hasStandardBrowserEnv?{write:function(e,r,t,n,i,a,o){if(typeof document==="undefined")return;var u=["".concat(e,"=").concat(encodeURIComponent(r))];if(ye.isNumber(t)){u.push("expires=".concat(new Date(t).toUTCString()))}if(ye.isString(n)){u.push("path=".concat(n))}if(ye.isString(i)){u.push("domain=".concat(i))}if(a===true){u.push("secure")}if(ye.isString(o)){u.push("SameSite=".concat(o))}document.cookie=u.join("; ")},read:function(e){if(typeof document==="undefined")return null;var r=document.cookie.split(";");for(var t=0;t<r.length;t++){var n=r[t].replace(/^\s+/,"");var i=n.indexOf("=");if(i!==-1&&n.slice(0,i)===e){try{return decodeURIComponent(n.slice(i+1))}catch(e){return n.slice(i+1)}}}return null},remove:function(e){this.write(e,"",Date.now()-864e5,"/")}}:{write:function(){},read:function(){return null},remove:function(){}};function Pr(e){if(typeof e!=="string"){return false}return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Ur(e,r){return r?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e}var Br=/^https?:(?!\/\/)/i;var Dr=/[\t\n\r]/g;function Lr(e){var r=0;while(r<e.length&&e.charCodeAt(r)<=32){r++}return e.slice(r)}function Mr(e){return Lr(e).replace(Dr,"")}function zr(e,r){if(typeof e==="string"&&Br.test(Mr(e))){throw new ze('Invalid URL: missing "//" after protocol',ze.ERR_INVALID_URL,r)}}function qr(e,r,t,n){zr(r,n);var i=!Pr(r);if(e&&(i||t===false)){zr(e,n);return Ur(e,r)}return r}var Hr=function(e){return e instanceof Be?__assign({},e):e};function Vr(e,r){e=e||{};r=r||{};var t=Object.create(null);Object.defineProperty(t,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:false,writable:true,configurable:true});function n(e,r,t,n){if(ye.isPlainObject(e)&&ye.isPlainObject(r)){return ye.merge.call({caseless:n},e,r)}else if(ye.isPlainObject(r)){return ye.merge({},r)}else if(ye.isArray(r)){return r.slice()}return r}function i(e,r,t,i){if(!ye.isUndefined(r)){return n(e,r,t,i)}else if(!ye.isUndefined(e)){return n(undefined,e,t,i)}}function a(e,r){if(!ye.isUndefined(r)){return n(undefined,r)}}function o(e,r){if(!ye.isUndefined(r)){return n(undefined,r)}else if(!ye.isUndefined(e)){return n(undefined,e)}}function u(t){var n=ye.hasOwnProp(r,"transitional")?r.transitional:undefined;if(!ye.isUndefined(n)){if(ye.isPlainObject(n)){if(ye.hasOwnProp(n,t)){return n[t]}}else{return undefined}}var i=ye.hasOwnProp(e,"transitional")?e.transitional:undefined;if(ye.isPlainObject(i)&&ye.hasOwnProp(i,t)){return i[t]}return undefined}function f(t,i,a){if(ye.hasOwnProp(r,a)){return n(t,i)}else if(ye.hasOwnProp(e,a)){return n(undefined,t)}}var s={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:f,headers:function(e,r,t){return i(Hr(e),Hr(r),t,true)}};ye.forEach(Object.keys(__assign(__assign({},e),r)),(function n(a){if(a==="__proto__"||a==="constructor"||a==="prototype")return;var o=ye.hasOwnProp(s,a)?s[a]:i;var u=ye.hasOwnProp(e,a)?e[a]:undefined;var c=ye.hasOwnProp(r,a)?r[a]:undefined;var l=o(u,c,a);ye.isUndefined(l)&&o!==f||(t[a]=l)}));if(ye.hasOwnProp(r,"validateStatus")&&ye.isUndefined(r.validateStatus)&&u("validateStatusUndefinedResolves")===false){if(ye.hasOwnProp(e,"validateStatus")){t.validateStatus=n(undefined,e.validateStatus)}else{delete t.validateStatus}}return t}var Gr=["content-type","content-length"];function Kr(e,r,t){if(t!=="content-only"){e.set(r);return}Object.entries(r||{}).forEach((function(r){var t=r[0],n=r[1];if(Gr.includes(t.toLowerCase())){e.set(t,n)}}))}var Jr=function(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(function(e,r){return String.fromCharCode(parseInt(r,16))}))};function Xr(e){var r=Vr({},e);var t=function(e){return ye.hasOwnProp(r,e)?r[e]:undefined};var n=t("data");var i=t("withXSRFToken");var a=t("xsrfHeaderName");var o=t("xsrfCookieName");var u=t("headers");var f=t("auth");var s=t("baseURL");var c=t("allowAbsoluteUrls");var l=t("url");r.headers=u=Be.from(u);r.url=er(qr(s,l,c,r),t("params"),t("paramsSerializer"));if(f){var d=ye.getSafeProp(f,"username")||"";var v=ye.getSafeProp(f,"password")||"";try{u.set("Authorization","Basic "+btoa(d+":"+(v?Jr(v):"")))}catch(r){throw ze.from(r,ze.ERR_BAD_OPTION_VALUE,e)}}if(ye.isFormData(n)){if(vr.hasStandardBrowserEnv||vr.hasStandardBrowserWebWorkerEnv||ye.isReactNative(n)){u.setContentType(undefined)}else if(ye.isFunction(n.getHeaders)){Kr(u,n.getHeaders(),t("formDataHeaderPolicy"))}}if(vr.hasStandardBrowserEnv){if(ye.isFunction(i)){i=i(r)}var h=i===true||i==null&&Nr(r.url);if(h){var p=a&&o&&Ir.read(o);if(p){u.set(a,p)}}}return r}var Wr=typeof XMLHttpRequest!=="undefined";var $r=Wr&&function(e){return new Promise((function r(t,n){var i,a;var o=Xr(e);var u=o.data;var f=Be.from(o.headers).normalize();var s=o.responseType,c=o.onUploadProgress,l=o.onDownloadProgress;var d;var v,h;var p,m;function b(){p&&p();m&&m();o.cancelToken&&o.cancelToken.unsubscribe(d);o.signal&&o.signal.removeEventListener("abort",d)}var w=new XMLHttpRequest;w.open(o.method.toUpperCase(),o.url,true);w.timeout=o.timeout;function y(){if(!w){return}var r=Be.from("getAllResponseHeaders"in w&&w.getAllResponseHeaders());var i=!s||s==="text"||s==="json"?w.responseText:w.response;var a={data:i,status:w.status,statusText:w.statusText,headers:r,config:e,request:w};Rr((function e(r){t(r);b()}),(function e(r){n(r);b()}),a);w=null}if("onloadend"in w){w.onloadend=y}else{w.onreadystatechange=function e(){if(!w||w.readyState!==4){return}if(w.status===0&&!(w.responseURL&&w.responseURL.startsWith("file:"))){return}setTimeout(y)}}w.onabort=function r(){if(!w){return}n(new ze("Request aborted",ze.ECONNABORTED,e,w));b();w=null};w.onerror=function r(t){var i=t&&t.message?t.message:"Network Error";var a=new ze(i,ze.ERR_NETWORK,e,w);a.event=t||null;n(a);b();w=null};w.ontimeout=function r(){var t=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";var i=o.transitional||tr;if(o.timeoutErrorMessage){t=o.timeoutErrorMessage}n(new ze(t,i.clarifyTimeoutError?ze.ETIMEDOUT:ze.ECONNABORTED,e,w));b();w=null};u===undefined&&f.setContentType(null);if("setRequestHeader"in w){ye.forEach(je(f),(function e(r,t){w.setRequestHeader(t,r)}))}if(!ye.isUndefined(o.withCredentials)){w.withCredentials=!!o.withCredentials}if(s&&s!=="json"){w.responseType=o.responseType}if(l){i=Tr(l,true),h=i[0],m=i[1];w.addEventListener("progress",h)}if(c&&w.upload){a=Tr(c),v=a[0],p=a[1];w.upload.addEventListener("progress",v);w.upload.addEventListener("loadend",p)}if(o.cancelToken||o.signal){d=function(r){if(!w){return}n(!r||r.type?new Er(null,e,w):r);w.abort();b();w=null};o.cancelToken&&o.cancelToken.subscribe(d);if(o.signal){o.signal.aborted?d():o.signal.addEventListener("abort",d)}}var g=Sr(o.url);if(g&&!vr.protocols.includes(g)){n(new ze("Unsupported protocol "+g+":",ze.ERR_BAD_REQUEST,e));b();return}w.send(u||null)}))};var Zr=function(e,r){e=e?e.filter(Boolean):[];if(!r&&!e.length){return}var t=new AbortController;var n=false;var i=function(e){if(!n){n=true;o();var r=e instanceof Error?e:this.reason;t.abort(r instanceof ze?r:new Er(r instanceof Error?r.message:r))}};var a=r&&setTimeout((function(){a=null;i(new ze("timeout of ".concat(r,"ms exceeded"),ze.ETIMEDOUT))}),r);var o=function(){if(!e){return}a&&clearTimeout(a);a=null;e.forEach((function(e){e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}));e=null};e.forEach((function(e){return e.addEventListener("abort",i,{once:true})}));var u=t.signal;u.unsubscribe=function(){return ye.asap(o)};return u};var Yr=function(e,r){var t,n,i;return __generator(this,(function(a){switch(a.label){case 0:t=e.byteLength;if(!(t<r))return[3,2];return[4,e];case 1:a.sent();return[2];case 2:n=0;a.label=3;case 3:if(!(n<t))return[3,5];i=n+r;return[4,e.slice(n,i)];case 4:a.sent();n=i;return[3,3];case 5:return[2]}}))};var Qr=function(e,r){return __asyncGenerator(this,arguments,(function(){var t,n,i,a,o;var u,f,s,c;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,7,8,13]);t=true,n=__asyncValues(et(e));l.label=1;case 1:return[4,__await(n.next())];case 2:if(!(i=l.sent(),u=i.done,!u))return[3,6];c=i.value;t=false;a=c;return[5,__values(__asyncDelegator(__asyncValues(Yr(a,r))))];case 3:return[4,__await.apply(void 0,[l.sent()])];case 4:l.sent();l.label=5;case 5:t=true;return[3,1];case 6:return[3,13];case 7:o=l.sent();f={error:o};return[3,13];case 8:l.trys.push([8,,11,12]);if(!(!t&&!u&&(s=n.return)))return[3,10];return[4,__await(s.call(n))];case 9:l.sent();l.label=10;case 10:return[3,12];case 11:if(f)throw f.error;return[7];case 12:return[7];case 13:return[2]}}))}))};var et=function(e){return __asyncGenerator(this,arguments,(function(){var r,t,n,i;return __generator(this,(function(a){switch(a.label){case 0:if(!e[Symbol.asyncIterator])return[3,4];return[5,__values(__asyncDelegator(__asyncValues(e)))];case 1:return[4,__await.apply(void 0,[a.sent()])];case 2:a.sent();return[4,__await(void 0)];case 3:return[2,a.sent()];case 4:r=e.getReader();a.label=5;case 5:a.trys.push([5,,12,14]);a.label=6;case 6:return[4,__await(r.read())];case 7:t=a.sent(),n=t.done,i=t.value;if(n){return[3,11]}return[4,__await(i)];case 8:return[4,a.sent()];case 9:a.sent();a.label=10;case 10:return[3,6];case 11:return[3,14];case 12:return[4,__await(r.cancel())];case 13:a.sent();return[7];case 14:return[2]}}))}))};var rt=function(e,r,t,n){var i=Qr(e,r);var a=0;var o;var u=function(e){if(!o){o=true;n&&n(e)}};return new ReadableStream({pull:function(e){return __awaiter(this,void 0,void 0,(function(){var r,n,o,f,s,c;return __generator(this,(function(l){switch(l.label){case 0:l.trys.push([0,2,,3]);return[4,i.next()];case 1:r=l.sent(),n=r.done,o=r.value;if(n){u();e.close();return[2]}f=o.byteLength;if(t){s=a+=f;t(s)}e.enqueue(new Uint8Array(o));return[3,3];case 2:c=l.sent();u(c);throw c;case 3:return[2]}}))}))},cancel:function(e){u(e);return i.return()}},{highWaterMark:2})};var tt=function(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102};var nt=function(e,r,t){return r+2<t&&tt(e.charCodeAt(r+1))&&tt(e.charCodeAt(r+2))};function it(e){if(!e||typeof e!=="string")return 0;if(!e.startsWith("data:"))return 0;var r=e.indexOf(",");if(r<0)return 0;var t=e.slice(5,r);var n=e.slice(r+1);var i=/;base64/i.test(t);if(i){var a=n.length;var o=n.length;for(var u=0;u<o;u++){if(n.charCodeAt(u)===37&&u+2<o){var f=n.charCodeAt(u+1);var s=n.charCodeAt(u+2);var c=tt(f)&&tt(s);if(c){a-=2;u+=2}}}var l=0;var d=o-1;var v=function(e){return e>=2&&n.charCodeAt(e-2)===37&&n.charCodeAt(e-1)===51&&(n.charCodeAt(e)===68||n.charCodeAt(e)===100)};if(d>=0){if(n.charCodeAt(d)===61){l++;d--}else if(v(d)){l++;d-=3}}if(l===1&&d>=0){if(n.charCodeAt(d)===61){l++}else if(v(d)){l++}}var h=Math.floor(a/4);var p=h*3-(l||0);return p>0?p:0}var m=0;for(var u=0,o=n.length;u<o;u++){var b=n.charCodeAt(u);if(b===37&&nt(n,u,o)){m+=1;u+=2}else if(b<128){m+=1}else if(b<2048){m+=2}else if(b>=55296&&b<=56319&&u+1<o){var w=n.charCodeAt(u+1);if(w>=56320&&w<=57343){m+=4;u++}else{m+=3}}else{m+=3}}return m}var at="1.18.1";var ot=64*1024;var ut=ye.isFunction;var ft=function(e){return encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(function(e,r){return String.fromCharCode(parseInt(r,16))}))};var st=function(e){if(!ye.isString(e)){return e}try{return decodeURIComponent(e)}catch(r){return e}};var ct=function(e){var r=[];for(var t=1;t<arguments.length;t++){r[t-1]=arguments[t]}try{return!!e.apply(void 0,r)}catch(e){return false}};var lt=function(e){var r=e.indexOf("://");var t=e;if(r!==-1){t=t.slice(r+3)}return t.includes("@")||t.includes(":")};var dt=function(r){var t=ye.global!==undefined&&ye.global!==null?ye.global:globalThis;var n=t.ReadableStream,i=t.TextEncoder;r=ye.merge.call({skipUndefined:true},{Request:t.Request,Response:t.Response},r);var a=r.fetch,o=r.Request,u=r.Response;var f=a?ut(a):typeof fetch==="function";var s=ut(o);var c=ut(u);if(!f){return false}var l=f&&ut(n);var d=f&&(typeof i==="function"?function(e){return function(r){return e.encode(r)}}(new i):function(r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:e=Uint8Array.bind;return[4,new o(r).arrayBuffer()];case 1:return[2,new(e.apply(Uint8Array,[void 0,t.sent()]))]}}))}))});var v=s&&l&&ct((function(){var e=false;var r=new o(vr.origin,{body:new n,method:"POST",get duplex(){e=true;return"half"}});var t=r.headers.has("Content-Type");if(r.body!=null){r.body.cancel()}return e&&!t}));var h=c&&l&&ct((function(){return ye.isReadableStream(new u("").body)}));var p={stream:h&&function(e){return e.body}};f&&function(){["text","arrayBuffer","blob","formData","stream"].forEach((function(e){!p[e]&&(p[e]=function(r,t){var n=r&&r[e];if(n){return n.call(r)}throw new ze("Response type '".concat(e,"' is not supported"),ze.ERR_NOT_SUPPORT,t)})}))}();var m=function(r){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:if(r==null){return[2,0]}if(ye.isBlob(r)){return[2,r.size]}if(!ye.isSpecCompliantForm(r))return[3,2];e=new o(vr.origin,{method:"POST",body:r});return[4,e.arrayBuffer()];case 1:return[2,t.sent().byteLength];case 2:if(ye.isArrayBufferView(r)||ye.isArrayBuffer(r)){return[2,r.byteLength]}if(ye.isURLSearchParams(r)){r=r+""}if(!ye.isString(r))return[3,4];return[4,d(r)];case 3:return[2,t.sent().byteLength];case 4:return[2]}}))}))};var b=function(r,t){return __awaiter(e,void 0,void 0,(function(){var e;return __generator(this,(function(n){e=ye.toFiniteNumber(r.getContentLength());return[2,e==null?m(t):e]}))}))};return function(r){return __awaiter(e,void 0,void 0,(function(){var e,t,n,f,c,d,w,y,g,x,_,k,O,E,R,S,j,A,T,C,F,N,I,P,U,B,D,L,M,z,q,H,V,G,K,J,X,W,$,Z,Y,Q,ee,re,te,ne,ie,ae,oe,ue,fe,se,ce,le,de,ve,he,pe,me,be,we,ge;return __generator(this,(function(xe){switch(xe.label){case 0:e=Xr(r),t=e.url,n=e.method,f=e.data,c=e.signal,d=e.cancelToken,w=e.timeout,y=e.onDownloadProgress,g=e.onUploadProgress,x=e.responseType,_=e.headers,k=e.withCredentials,O=k===void 0?"same-origin":k,E=e.fetchOptions,R=e.maxContentLength,S=e.maxBodyLength;j=ye.isNumber(R)&&R>-1;A=ye.isNumber(S)&&S>-1;T=function(e){return ye.hasOwnProp(r,e)?r[e]:undefined};C=a||fetch;x=x?(x+"").toLowerCase():"text";F=Zr([c,d&&d.toAbortSignal()],w);N=null;I=F&&F.unsubscribe&&function(){F.unsubscribe()};U=null;B=function(){return new ze("Request body larger than maxBodyLength limit",ze.ERR_BAD_REQUEST,r,N)};xe.label=1;case 1:xe.trys.push([1,12,,13]);D=undefined;L=T("auth");if(L){M=ye.getSafeProp(L,"username")||"";z=ye.getSafeProp(L,"password")||"";D={username:M,password:z}}if(lt(t)){q=new URL(t,vr.origin);if(!D&&(q.username||q.password)){H=st(q.username);V=st(q.password);D={username:H,password:V}}if(q.username||q.password){q.username="";q.password="";t=q.href}}if(D){_.delete("authorization");_.set("Authorization","Basic "+btoa(ft((D.username||"")+":"+(D.password||""))))}if(j&&typeof t==="string"&&t.startsWith("data:")){G=it(t);if(G>R){throw new ze("maxContentLength size of "+R+" exceeded",ze.ERR_BAD_RESPONSE,r,N)}}if(!(A&&n!=="get"&&n!=="head"))return[3,3];return[4,m(f)];case 2:K=xe.sent();if(typeof K==="number"&&isFinite(K)){P=K;if(K>S){throw B()}}xe.label=3;case 3:J=A&&(ye.isReadableStream(f)||ye.isStream(f));X=function(e,r,t){return rt(e,ot,(function(e){if(A&&e>S){throw U=B()}r&&r(e)}),t)};if(!(v&&n!=="get"&&n!=="head"&&(g||J)))return[3,7];if(!(P==null))return[3,5];return[4,b(_,f)];case 4:W=xe.sent();return[3,6];case 5:W=P;xe.label=6;case 6:P=W;if(P!==0||J){$=new o(t,{method:"POST",body:f,duplex:"half"});Z=void 0;if(ye.isFormData(f)&&(Z=$.headers.get("content-type"))){_.setContentType(Z)}if($.body){Y=g&&Cr(P,Tr(Fr(g)))||[],Q=Y[0],ee=Y[1];f=X($.body,Q,ee)}}return[3,8];case 7:if(J&&!s&&l&&n!=="get"&&n!=="head"){f=X(f)}else if(J&&s&&!v&&n!=="get"&&n!=="head"){throw new ze("Stream request bodies are not supported by the current fetch implementation",ze.ERR_NOT_SUPPORT,r,N)}xe.label=8;case 8:if(!ye.isString(O)){O=O?"include":"omit"}re=s&&"credentials"in o.prototype;if(ye.isFormData(f)){te=_.getContentType();if(te&&/^multipart\/form-data/i.test(te)&&!/boundary=/i.test(te)){_.delete("content-type")}}_.set("User-Agent","axios/"+at,false);ne=__assign(__assign({},E),{signal:F,method:n.toUpperCase(),headers:je(_.normalize()),body:f,duplex:"half",credentials:re?O:undefined});N=s&&new o(t,ne);return[4,s?C(N,E):C(t,ne)];case 9:ie=xe.sent();ae=Be.from(ie.headers);if(j){oe=ye.toFiniteNumber(ae.getContentLength());if(oe!=null&&oe>R){throw new ze("maxContentLength size of "+R+" exceeded",ze.ERR_BAD_RESPONSE,r,N)}}ue=h&&(x==="stream"||x==="response");if(h&&ie.body&&(y||j||ue&&I)){fe={};["status","statusText","headers"].forEach((function(e){fe[e]=ie[e]}));se=ye.toFiniteNumber(ae.getContentLength());ce=y&&Cr(se,Tr(Fr(y),true))||[],le=ce[0],de=ce[1];ve=0;he=function(e){if(j){ve=e;if(ve>R){throw new ze("maxContentLength size of "+R+" exceeded",ze.ERR_BAD_RESPONSE,r,N)}}le&&le(e)};ie=new u(rt(ie.body,ot,he,(function(){de&&de();I&&I()})),fe)}x=x||"text";return[4,p[ye.findKey(p,x)||"text"](ie,r)];case 10:pe=xe.sent();if(j&&!h&&!ue){me=void 0;if(pe!=null){if(typeof pe.byteLength==="number"){me=pe.byteLength}else if(typeof pe.size==="number"){me=pe.size}else if(typeof pe==="string"){me=typeof i==="function"?(new i).encode(pe).byteLength:pe.length}}if(typeof me==="number"&&me>R){throw new ze("maxContentLength size of "+R+" exceeded",ze.ERR_BAD_RESPONSE,r,N)}}!ue&&I&&I();return[4,new Promise((function(e,t){Rr(e,t,{data:pe,headers:Be.from(ie.headers),status:ie.status,statusText:ie.statusText,config:r,request:N})}))];case 11:return[2,xe.sent()];case 12:be=xe.sent();I&&I();if(F&&F.aborted&&F.reason instanceof ze){we=F.reason;we.config=r;N&&(we.request=N);if(be!==we){Object.defineProperty(we,"cause",{__proto__:null,value:be,writable:true,enumerable:false,configurable:true})}throw we}if(U){N&&!U.request&&(U.request=N);throw U}if(be instanceof ze){N&&!be.request&&(be.request=N);throw be}if(be&&be.name==="TypeError"&&/Load failed|fetch/i.test(be.message)){ge=new ze("Network Error",ze.ERR_NETWORK,r,N,be&&be.response);Object.defineProperty(ge,"cause",{__proto__:null,value:be.cause||be,writable:true,enumerable:false,configurable:true});throw ge}throw ze.from(be,be&&be.code,r,N,be&&be.response);case 13:return[2]}}))}))}};var vt=new Map;var ht=function(e){var r=e&&e.env||{};var t=r.fetch,n=r.Request,i=r.Response;var a=[n,i,t];var o=a.length,u=o,f,s,c=vt;while(u--){f=a[u];s=c.get(f);s===undefined&&c.set(f,s=u?new Map:dt(r));c=s}return s};ht();var pt={http:qe,xhr:$r,fetch:{get:ht}};ye.forEach(pt,(function(e,r){if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:r})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:r})}}));var mt=function(e){return"- ".concat(e)};var bt=function(e){return ye.isFunction(e)||e===null||e===false};function wt(e,r){e=ye.isArray(e)?e:[e];var t=e.length;var n;var i;var a={};for(var o=0;o<t;o++){n=e[o];var u=void 0;i=n;if(!bt(n)){i=pt[(u=String(n)).toLowerCase()];if(i===undefined){throw new ze("Unknown adapter '".concat(u,"'"))}}if(i&&(ye.isFunction(i)||(i=i.get(r)))){break}a[u||"#"+o]=i}if(!i){var f=Object.entries(a).map((function(e){var r=e[0],t=e[1];return"adapter ".concat(r," ")+(t===false?"is not supported by the environment":"is not available in the build")}));var s=t?f.length>1?"since :\n"+f.map(mt).join("\n"):" "+mt(f[0]):"as no adapter specified";throw new ze("There is no suitable adapter to dispatch the request "+s,ze.ERR_NOT_SUPPORT)}return i}var yt={getAdapter:wt,adapters:pt};function gt(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}if(e.signal&&e.signal.aborted){throw new Er(null,e)}}function xt(e){gt(e);e.headers=Be.from(e.headers);e.data=kr.call(e,e.transformRequest);if(["post","put","patch"].indexOf(e.method)!==-1){e.headers.setContentType("application/x-www-form-urlencoded",false)}var r=yt.getAdapter(e.adapter||_r.adapter,e);return r(e).then((function r(t){gt(e);e.response=t;try{t.data=kr.call(e,e.transformResponse,t)}finally{delete e.response}t.headers=Be.from(t.headers);return t}),(function r(t){if(!Or(t)){gt(e);if(t&&t.response){e.response=t.response;try{t.response.data=kr.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Be.from(t.response.headers)}}return Promise.reject(t)}))}var _t={};["object","boolean","number","function","string","symbol"].forEach((function(e,r){_t[e]=function t(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}}));var kt={};_t.transitional=function e(r,t,n){function i(e,r){return"[Axios v"+at+"] Transitional option '"+e+"'"+r+(n?". "+n:"")}return function(e,n,a){if(r===false){throw new ze(i(n," has been removed"+(t?" in "+t:"")),ze.ERR_DEPRECATED)}if(t&&!kt[n]){kt[n]=true;console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))}return r?r(e,n,a):true}};_t.spelling=function e(r){return function(e,t){console.warn("".concat(t," is likely a misspelling of ").concat(r));return true}};function Ot(e,r,t){if(typeof e!=="object"||e===null){throw new ze("options must be an object",ze.ERR_BAD_OPTION_VALUE)}var n=Object.keys(e);var i=n.length;while(i-- >0){var a=n[i];var o=Object.prototype.hasOwnProperty.call(r,a)?r[a]:undefined;if(o){var u=e[a];var f=u===undefined||o(u,a,e);if(f!==true){throw new ze("option "+a+" must be "+f,ze.ERR_BAD_OPTION_VALUE)}continue}if(t!==true){throw new ze("Unknown option "+a,ze.ERR_BAD_OPTION)}}}var Et={assertOptions:Ot,validators:_t};var Rt=Et.validators;var St=function(){function e(e){this.defaults=e||{};this.interceptors={request:new rr,response:new rr}}e.prototype.request=function(e,r){return __awaiter(this,void 0,void 0,(function(){var t,n,i,a,o,u;return __generator(this,(function(f){switch(f.label){case 0:f.trys.push([0,2,,3]);return[4,this._request(e,r)];case 1:return[2,f.sent()];case 2:t=f.sent();if(t instanceof Error){n={};Error.captureStackTrace?Error.captureStackTrace(n):n=new Error;i=function(){if(!n.stack){return""}var e=n.stack.indexOf("\n");return e===-1?"":n.stack.slice(e+1)}();try{if(!t.stack){t.stack=i}else if(i){a=i.indexOf("\n");o=a===-1?-1:i.indexOf("\n",a+1);u=o===-1?"":i.slice(o+1);if(!String(t.stack).endsWith(u)){t.stack+="\n"+i}}}catch(e){}}throw t;case 3:return[2]}}))}))};e.prototype._request=function(e,r){if(typeof e==="string"){r=r||{};r.url=e}else{r=e||{}}r=Vr(this.defaults,r);var t=r.transitional,n=r.paramsSerializer,i=r.headers;if(t!==undefined){Et.assertOptions(t,{silentJSONParsing:Rt.transitional(Rt.boolean),forcedJSONParsing:Rt.transitional(Rt.boolean),clarifyTimeoutError:Rt.transitional(Rt.boolean),legacyInterceptorReqResOrdering:Rt.transitional(Rt.boolean),advertiseZstdAcceptEncoding:Rt.transitional(Rt.boolean),validateStatusUndefinedResolves:Rt.transitional(Rt.boolean)},false)}if(n!=null){if(ye.isFunction(n)){r.paramsSerializer={serialize:n}}else{Et.assertOptions(n,{encode:Rt.function,serialize:Rt.function},true)}}if(r.allowAbsoluteUrls!==undefined);else if(this.defaults.allowAbsoluteUrls!==undefined){r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls}else{r.allowAbsoluteUrls=true}Et.assertOptions(r,{baseUrl:Rt.spelling("baseURL"),withXsrfToken:Rt.spelling("withXSRFToken")},true);r.method=(r.method||this.defaults.method||"get").toLowerCase();var a=i&&ye.merge(i.common,i[r.method]);i&&ye.forEach(["delete","get","head","post","put","patch","query","common"],(function(e){delete i[e]}));r.headers=Be.concat(a,i);var o=[];var u=true;this.interceptors.request.forEach((function e(t){if(typeof t.runWhen==="function"&&t.runWhen(r)===false){return}u=u&&t.synchronous;var n=r.transitional||tr;var i=n&&n.legacyInterceptorReqResOrdering;if(i){o.unshift(t.fulfilled,t.rejected)}else{o.push(t.fulfilled,t.rejected)}}));var f=[];this.interceptors.response.forEach((function e(r){f.push(r.fulfilled,r.rejected)}));var s;var c=0;var l;if(!u){var d=[xt.bind(this),undefined];d.unshift.apply(d,o);d.push.apply(d,f);l=d.length;s=Promise.resolve(r);while(c<l){s=s.then(d[c++],d[c++])}return s}l=o.length;var v=r;while(c<l){var h=o[c++];var p=o[c++];try{v=h(v)}catch(e){p.call(this,e);break}}try{s=xt.call(this,v)}catch(e){return Promise.reject(e)}c=0;l=f.length;while(c<l){s=s.then(f[c++],f[c++])}return s};e.prototype.getUri=function(e){e=Vr(this.defaults,e);var r=qr(e.baseURL,e.url,e.allowAbsoluteUrls,e);return er(r,e.params,e.paramsSerializer)};return e}();ye.forEach(["delete","get","head","options"],(function e(r){St.prototype[r]=function(e,t){return this.request(Vr(t||{},{method:r,url:e,data:t&&ye.hasOwnProp(t,"data")?t.data:undefined}))}}));ye.forEach(["post","put","patch","query"],(function e(r){function t(e){return function t(n,i,a){return this.request(Vr(a||{},{method:r,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}St.prototype[r]=t();if(r!=="query"){St.prototype[r+"Form"]=t(true)}}));var jt=function(){function e(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var r;this.promise=new Promise((function e(t){r=t}));var t=this;this.promise.then((function(e){if(!t._listeners)return;var r=t._listeners.length;while(r-- >0){t._listeners[r](e)}t._listeners=null}));this.promise.then=function(e){var r;var n=new Promise((function(e){t.subscribe(e);r=e})).then(e);n.cancel=function e(){t.unsubscribe(r)};return n};e((function e(n,i,a){if(t.reason){return}t.reason=new Er(n,i,a);r(t.reason)}))}e.prototype.throwIfRequested=function(){if(this.reason){throw this.reason}};e.prototype.subscribe=function(e){if(this.reason){e(this.reason);return}if(this._listeners){this._listeners.push(e)}else{this._listeners=[e]}};e.prototype.unsubscribe=function(e){if(!this._listeners){return}var r=this._listeners.indexOf(e);if(r!==-1){this._listeners.splice(r,1)}};e.prototype.toAbortSignal=function(){var e=this;var r=new AbortController;var t=function(e){r.abort(e)};this.subscribe(t);r.signal.unsubscribe=function(){return e.unsubscribe(t)};return r.signal};e.source=function(){var r;var t=new e((function e(t){r=t}));return{token:t,cancel:r}};return e}();function At(e){return function r(t){return e.apply(null,t)}}function Tt(e){return ye.isObject(e)&&e.isAxiosError===true}var Ct={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ct).forEach((function(e){var r=e[0],t=e[1];Ct[t]=r}));function Ft(e){var t=new St(e);var n=r(St.prototype.request,t);ye.extend(n,St.prototype,t,{allOwnKeys:true});ye.extend(n,t,null,{allOwnKeys:true});n.create=function r(t){return Ft(Vr(e,t))};return n}var Nt=Ft(_r);Nt.Axios=St;Nt.CanceledError=Er;Nt.CancelToken=jt;Nt.isCancel=Or;Nt.VERSION=at;Nt.toFormData=We;Nt.AxiosError=ze;Nt.Cancel=Nt.CanceledError;Nt.all=function e(r){return Promise.all(r)};Nt.spread=At;Nt.isAxiosError=Tt;Nt.mergeConfig=Vr;Nt.AxiosHeaders=Be;Nt.formToJSON=function(e){return yr(ye.isHTMLForm(e)?new FormData(e):e)};Nt.getAdapter=yt.getAdapter;Nt.HttpStatusCode=Ct;Nt.default=Nt;axios_1=Nt;return axios_1}var axiosExports=requireAxios();var axios=getDefaultExportFromCjs(axiosExports);var API_KEY=BETA_ORIGINS.includes(window.location.origin)?"default:development.6348f953f52485d19daf03992f2123a36e9eae59c5ca7f8736dc2b67":"default:production.4808a77b2a149e1796391b480b4fb501d73aa1e11123f60e07809ced";var getFeatureFlags=function(){return axios.get("https://unleash.verdocs.com/api/frontend",{headers:{Accept:"application/json",Authorization:API_KEY}}).then((function(e){return e.data})).catch((function(e){console.log("Unleash: Unable to fetch feature flags",e);throw e}))};var verdocsContactPickerCss=function(){return'verdocs-contact-picker{display:block;border:1px solid #ebebeb;background-color:#ffffff;font-family:var(--verdocs-primary-font, "Inter", "Barlow", 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:start;align-items:flex-start;-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:var(--verdocs-primary-font, "Inter", "Barlow", 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:var(--verdocs-primary-font, "Inter", "Barlow", 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}'};var addrBookIcon='<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>';var VerdocsContactPicker=function(){function e(e){registerInstance(this,e);this.searchContacts=createEvent(this,"searchContacts");this.exit=createEvent(this,"exit");this.next=createEvent(this,"next");this.endpoint=VerdocsEndpoint.getDefault();this.templateRole=null;this.contactSuggestions=[];this.showSuggestions=false;this.showMessage=false;this.delegator=false;this.name_locked=false;this.auth_methods=[];this.passcode="";this.firstNameFieldId="verdocs-contact-picker-firstname-".concat(Math.random().toString(36).substring(2,11));this.lastNameFieldId="verdocs-contact-picker-lastname-".concat(Math.random().toString(36).substring(2,11));this.emailFieldId="verdocs-contact-picker-email-".concat(Math.random().toString(36).substring(2,11));this.phoneFieldId="verdocs-contact-picker-phone-".concat(Math.random().toString(36).substring(2,11));this.featureFlags=null;this.activeEntitlements={}}e.prototype.componentWillLoad=function(){var e=this;this.endpoint.loadSession();if(this.templateRole){var r=formatFullName(this.templateRole);var t=r.split(" ");var n=this.templateRole.first_name||t.shift()||"";var i=this.templateRole.last_name||t.join(" ")||"";this.first_name=n;this.last_name=i;this.email=this.templateRole.email||"";this.phone=this.templateRole.phone||"";this.delegator=this.templateRole.delegator||false;this.name_locked=this.delegator?false:this.templateRole.name_locked||false;this.message=this.templateRole.message||"";this.showMessage=this.message!=="";this.auth_methods=this.templateRole.auth_methods||[];this.passcode=this.templateRole.passcode||""}getActiveEntitlements(this.endpoint).then((function(r){e.activeEntitlements=r;console.log("[CONTACT PICKER] Loaded entitlements",r)})).catch((function(e){return console.log("[CONTACT PICKER] Error loading entitlements, some features may be disabled.",e)}));getFeatureFlags().then((function(r){e.featureFlags=r;console.log("[CONTACT PICKER] Loaded feature flags",r)})).catch((function(e){console.log("[CONTACT PICKER] Unable to fetch feature flags, some features may be disabled.",e)}))};e.prototype.handleFirstNameChange=function(e){var r;this.first_name=e.target.value;(r=this.searchContacts)===null||r===void 0?void 0:r.emit({query:this.first_name})};e.prototype.handleLastNameChange=function(e){var r;this.last_name=e.target.value;(r=this.searchContacts)===null||r===void 0?void 0:r.emit({query:this.last_name})};e.prototype.handleCancel=function(e){var r;e.stopPropagation();this.showSuggestions=false;(r=this.exit)===null||r===void 0?void 0:r.emit()};e.prototype.handleSubmit=function(e){var r;e.stopPropagation();this.showSuggestions=false;(r=this.next)===null||r===void 0?void 0:r.emit({first_name:this.first_name,last_name:this.last_name,email:this.email,phone:this.phone,message:this.message,delegator:this.delegator,name_locked:this.name_locked,auth_methods:this.auth_methods,passcode:this.passcode,address:this.address,zip:this.zip})};e.prototype.handleSelectSuggestion=function(e,r){e.stopPropagation();this.first_name=r.first_name;this.last_name=r.last_name;this.email=r.email;this.phone=r.phone;this.showSuggestions=false};e.prototype.render=function(){var e=this;var r,t,n,i,a,o,u,f,s,c,l,d,v,p,m,b,w,y;var g=this.first_name&&this.last_name&&isValidEmail(this.email);var x=!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;var _=g&&x;var k=((n=(t=(r=this.featureFlags)===null||r===void 0?void 0:r.toggles)===null||t===void 0?void 0:t.find((function(e){return e.name==="sms"})))===null||n===void 0?void 0:n.enabled)===true;var O=[];if(((o=(a=(i=this.featureFlags)===null||i===void 0?void 0:i.toggles)===null||a===void 0?void 0:a.find((function(e){return e.name==="passcode-verification"})))===null||o===void 0?void 0:o.enabled)===true){O.push({label:"Passcode",value:"passcode"})}if(((s=(f=(u=this.featureFlags)===null||u===void 0?void 0:u.toggles)===null||f===void 0?void 0:f.find((function(e){return e.name==="email-verification"})))===null||s===void 0?void 0:s.enabled)===true){O.push({label:"Email",value:"email"})}if(k&&((d=(l=(c=this.featureFlags)===null||c===void 0?void 0:c.toggles)===null||l===void 0?void 0:l.find((function(e){return e.name==="sms-verification"})))===null||d===void 0?void 0:d.enabled)===true&&!!this.activeEntitlements.sms_auth){O.push({label:"SMS (One-Time Code)",value:"sms"})}if(((m=(p=(v=this.featureFlags)===null||v===void 0?void 0:v.toggles)===null||p===void 0?void 0:p.find((function(e){return e.name==="kba-verification"})))===null||m===void 0?void 0:m.enabled)===true&&!!this.activeEntitlements.kba_auth){O.push({label:"Knowledge-Based (KBA)",value:"kba"})}if(((y=(w=(b=this.featureFlags)===null||b===void 0?void 0:b.toggles)===null||w===void 0?void 0:w.find((function(e){return e.name==="id-verification"})))===null||y===void 0?void 0:y.enabled)===true&&!!this.activeEntitlements.id_auth){O.push({label:"ID Check",value:"id"})}return h("form",{key:"374d6f0907e09a4c312bcd666eaabf578f8671b5",onSubmit:function(e){return e.preventDefault()},autocomplete:"off"},h("div",{key:"bbdb01e7229992ff75b3b124fde6a8606769d53c",class:"row"},h("label",{key:"546da7ec599b17cc2e514dcaf47fe41d7107ec11",htmlFor:this.firstNameFieldId},"Name:"),h("div",{key:"e5819a8cb2c261c302a4923561578c5928063e64",class:"names-row"},h("input",{key:"05a471f19b8018993d50f4ba9776864392c13c9d",id:this.firstNameFieldId,name:this.firstNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.first_name,placeholder:"First...",onFocus:function(){setTimeout((function(){var r;e.showSuggestions=((r=e.contactSuggestions)===null||r===void 0?void 0:r.length)>0}),100)},onInput:function(r){return e.handleFirstNameChange(r)}}),h("input",{key:"4e56ab4161e6bd7894c636619282915243c8aeec",id:this.lastNameFieldId,name:this.lastNameFieldId,type:"text","data-lpignore":"true",autocomplete:"blocked","aria-autocomplete":"none",value:this.last_name,placeholder:"Last...",onFocus:function(){setTimeout((function(){var r;e.showSuggestions=((r=e.contactSuggestions)===null||r===void 0?void 0:r.length)>0}),100)},onInput:function(r){return e.handleLastNameChange(r)}})),this.showSuggestions&&h("verdocs-portal",{key:"0a856517832b4dc417627675a0327e5a5e9e4710",anchor:this.firstNameFieldId,onClickAway:function(){e.showSuggestions=false;document.querySelectorAll(".verdocs-portal-wrapper").forEach((function(e){return e.remove()}))},id:"verdocs-contact-picker-suggestions"},h("div",{key:"6c0c1747e5ed512ad463c26f220b34db395e8f2c",class:"dropdown"},this.contactSuggestions.filter((function(r){return!e.first_name||r.first_name.toLowerCase().includes(e.first_name.toLowerCase())})).map((function(r){var t;return h("div",{key:(t=r.id)!==null&&t!==void 0?t:r.email,class:"suggestion",onClick:function(t){return e.handleSelectSuggestion(t,r)}},r.picture?h("img",{alt:"Avatar",class:"avatar",src:r.picture}):h("div",{class:"avatar",innerHTML:addrBookIcon}),h("div",{class:"details"},h("div",{class:"name"},formatFullName(r)),r.email&&h("div",{class:"destination"},r.email),r.phone&&h("div",{class:"destination"},r.phone)))}))))),h("div",{key:"85552b20424fb4884fa88d22c78375fe5c6513e0",class:"row"},h("label",{key:"2b438ee30f3c0115d0445e3f5bfe4ae8b7635073",htmlFor:this.emailFieldId},"Email:"),h("input",{key:"a349fb9e534ed7786268d9aac9184fc38a8a102e",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:function(){return e.showSuggestions=false},onInput:function(r){return e.email=r.target.value}})),k&&h("div",{key:"f015a535d0a37d94eb73b145342d00dde7b63a50",class:"row"},h("label",{key:"eff877e183e38de65ca11e535b81e11b5ee1bd92",htmlFor:this.phoneFieldId},"Phone:"),h("input",{key:"41db6e4607189c0b0da0ef658b1fbafcfeab92ba",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:function(){return e.showSuggestions=false},onInput:function(r){e.phone=convertToE164(r.target.value)}})),h(Fragment,{key:"c037e234e206b1cd45bf91649f211ebe42f885fe"},O.length>0&&h("div",{key:"23fa9db672498199d7c053b258669e0676852322",class:"row pin-code"},h("label",{key:"d5208d3cd083716589aa6c18dbd85ba88ca208b3"},"Verification Methods:"),h("div",{key:"f239551b28d2ca51b8f9ab5ec64bfdfdce4bf823"},O.map((function(r,t){return h("div",{class:"option"},h("verdocs-checkbox",{size:"small",id:"verdocs-multi-select-opt-".concat(t),value:r.value,checked:e.auth_methods.includes(r.value),onInput:function(t){if(t.target.checked){e.auth_methods=__spreadArray(__spreadArray([],e.auth_methods,true),[r.value],false)}else{e.auth_methods=e.auth_methods.filter((function(e){return e!==r.value}))}}}),h("label",{htmlFor:"verdocs-multi-select-option-".concat(t)},r.label))})))),this.auth_methods.includes("passcode")&&h("div",{key:"d57e7078dfefb1c816a15c52a8aa44eae62a5557",class:"row pin-code"},h("label",{key:"df97978ae0e4c176c7d6ca38850537d3d6db5ce3",htmlFor:this.phoneFieldId},"Passcode:"),h("input",{key:"7791e5a2d856bdd9dbbfcf8c339531e3e5c5e52b",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:function(){return e.showSuggestions=false},onInput:function(r){return e.passcode=r.target.value}}))),h("div",{key:"7de2d50963399db273bd1d38941ea967a2d92827",class:"row pin-code"},h("label",{key:"d0202a6e0969b405d303cdc291dee95048460b43",style:{marginTop:"6px"}},"Options:"),h("div",{key:"52f68972a5fee697972fa9baa284ca6a37830ab9"},h("div",{key:"8e15a3caa1e4ce0cbb943fb7bfaaf274d4410de3",class:"option"},h("verdocs-checkbox",{key:"7d21cafec340458f1c6a06b577fad30bbd5680eb",size:"small",id:"verdocs-delegator",checked:this.delegator,disabled:this.name_locked,onInput:function(r){e.delegator=r.target.checked;if(e.delegator)e.name_locked=false}}),h("label",{key:"2b96fb477ce41038cf9d115e9fabf102d670d801",htmlFor:"verdocs-delegator"},"May delegate signing")),h("div",{key:"7f616562ee03e6026bf09b355ae20720b45655b0",class:"option"},h("verdocs-checkbox",{key:"47bfa40e403ddf6da8cba33fda8ebff05625d353",size:"small",id:"verdocs-name-locked",checked:this.name_locked,disabled:this.delegator,onInput:function(r){e.name_locked=r.target.checked;if(e.name_locked)e.delegator=false}}),h("label",{key:"382d0b92f8999dc1a0adaa91d00c6c0f95a17552",htmlFor:"verdocs-name-locked"},"Name locked")))),h("div",{key:"6797886d95d1e08dc0c018e89cf6040aa60b02ff",class:"row message"},h("label",{key:"cb6f04c40e1b6601d0292e248b26cb4f2519e7d9",htmlFor:"verdocs-contact-picker-message"},"Message:"),h("textarea",{key:"018a9162f52e73650283a7f2271a99352008085c",id:"verdocs-contact-picker-message",name:"verdocs-contact-picker-message","data-lpignore":"true",autocomplete:"blocked",placeholder:"Optional message to include in invitation...",onFocus:function(){return e.showSuggestions=false},onInput:function(r){return e.message=r.target.value}},this.message)),h("div",{key:"d2f04563ad450f4c6c0c19735a064d01182cf458",class:"buttons"},h("div",{key:"43f240077f3c5b3e252c60a277668c94c9163b24",class:"flex-fill"}),h("verdocs-button",{key:"f758cb6d10b3deb58d13aaf54c212e6455933104",variant:"outline",label:"Cancel",size:"small",onClick:function(r){return e.handleCancel(r)}}),h("verdocs-button",{key:"3aa451a2d6d23ada4a7a5ddb5843b22954b69161",label:"OK",size:"small",disabled:!_,onClick:!_?function(){}:function(r){return e.handleSubmit(r)}})))};return e}();VerdocsContactPicker.style=verdocsContactPickerCss();export{VerdocsContactPicker as verdocs_contact_picker};
3
3
  //# sourceMappingURL=verdocs-contact-picker.entry.js.map