@eid-easy/eideasy-widget 2.155.0 → 2.156.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.
- package/CHANGELOG-LATEST.md +2 -2
- package/CHANGELOG.md +9 -0
- package/dist/full/eideasy-widget.common.js +503 -31
- package/dist/full/eideasy-widget.umd.js +503 -31
- package/dist/full/eideasy-widget.umd.min.js +3 -3
- package/dist/index.html +2 -2
- package/package.json +5 -5
|
@@ -15,7 +15,7 @@ return /******/ (function() { // webpackBootstrap
|
|
|
15
15
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
16
16
|
|
|
17
17
|
/*! For license information please see eideasy-browser-client.js.LICENSE.txt */
|
|
18
|
-
!function(e,t){ true?module.exports=t():0}(self,(function(){return function(){var e,t,n={8552:function(e,t,n){var r=n(852)(n(5639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(1789),i=n(401),o=n(7667),a=n(1327),s=n(1866);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},8407:function(e,t,n){var r=n(7040),i=n(4125),o=n(2117),a=n(7518),s=n(4705);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},7071:function(e,t,n){var r=n(852)(n(5639),"Map");e.exports=r},3369:function(e,t,n){var r=n(4785),i=n(1285),o=n(6e3),a=n(9916),s=n(5265);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},3818:function(e,t,n){var r=n(852)(n(5639),"Promise");e.exports=r},8525:function(e,t,n){var r=n(852)(n(5639),"Set");e.exports=r},6384:function(e,t,n){var r=n(8407),i=n(7465),o=n(3779),a=n(7599),s=n(4758),c=n(4309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},2705:function(e,t,n){var r=n(5639).Symbol;e.exports=r},1149:function(e,t,n){var r=n(5639).Uint8Array;e.exports=r},577:function(e,t,n){var r=n(852)(n(5639),"WeakMap");e.exports=r},6874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},7412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},4963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},4636:function(e,t,n){var r=n(2545),i=n(5694),o=n(1469),a=n(4144),s=n(5776),c=n(6719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),d=!n&&i(e),l=!n&&!d&&a(e),p=!n&&!d&&!l&&c(e),f=n||d||l||p,g=f?r(e.length,String):[],h=g.length;for(var y in e)!t&&!u.call(e,y)||f&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,h))||g.push(y);return g}},2488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},6556:function(e,t,n){var r=n(9465),i=n(7813);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},4865:function(e,t,n){var r=n(9465),i=n(7813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},8470:function(e,t,n){var r=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},4037:function(e,t,n){var r=n(8363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},3886:function(e,t,n){var r=n(8363),i=n(1704);e.exports=function(e,t){return e&&r(t,i(t),e)}},9465:function(e,t,n){var r=n(8777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5990:function(e,t,n){var r=n(6384),i=n(7412),o=n(4865),a=n(4037),s=n(3886),c=n(4626),u=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),g=n(4160),h=n(3824),y=n(9148),m=n(8517),v=n(1469),I=n(4144),S=n(6688),T=n(3218),E=n(2928),b=n(3674),C=n(1704),A="[object Arguments]",_="[object Function]",w="[object Object]",N={};N[A]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[w]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[_]=N["[object WeakMap]"]=!1,e.exports=function e(t,n,R,O,D,M){var U,k=1&n,x=2&n,L=4&n;if(R&&(U=D?R(t,O,D,M):R(t)),void 0!==U)return U;if(!T(t))return t;var B=v(t);if(B){if(U=h(t),!k)return u(t,U)}else{var P=g(t),G=P==_||"[object GeneratorFunction]"==P;if(I(t))return c(t,k);if(P==w||P==A||G&&!D){if(U=x||G?{}:m(t),!k)return x?l(t,s(U,t)):d(t,a(U,t))}else{if(!N[P])return D?t:{};U=y(t,P,k)}}M||(M=new r);var j=M.get(t);if(j)return j;M.set(t,U),E(t)?t.forEach((function(r){U.add(e(r,n,R,r,t,M))})):S(t)&&t.forEach((function(r,i){U.set(i,e(r,n,R,i,t,M))}));var F=B?void 0:(L?x?f:p:x?C:b)(t);return i(F||t,(function(r,i){F&&(r=t[i=r]),o(U,i,e(r,n,R,i,t,M))})),U}},3118:function(e,t,n){var r=n(3218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},8483:function(e,t,n){var r=n(5063)();e.exports=r},8866:function(e,t,n){var r=n(2488),i=n(1469);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},4239:function(e,t,n){var r=n(2705),i=n(9607),o=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},9454:function(e,t,n){var r=n(4239),i=n(7005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},5588:function(e,t,n){var r=n(4160),i=n(7005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},8458:function(e,t,n){var r=n(3560),i=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,l=u.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?p:s).test(a(e))}},9221:function(e,t,n){var r=n(4160),i=n(7005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},8749:function(e,t,n){var r=n(4239),i=n(1780),o=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},280:function(e,t,n){var r=n(5726),i=n(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},313:function(e,t,n){var r=n(3218),i=n(5726),o=n(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},2980:function(e,t,n){var r=n(6384),i=n(6556),o=n(8483),a=n(9783),s=n(3218),c=n(1704),u=n(6390);e.exports=function e(t,n,d,l,p){t!==n&&o(n,(function(o,c){if(p||(p=new r),s(o))a(t,n,c,d,e,l,p);else{var f=l?l(u(t,c),o,c+"",t,n,p):void 0;void 0===f&&(f=o),i(t,c,f)}}),c)}},9783:function(e,t,n){var r=n(6556),i=n(4626),o=n(7133),a=n(278),s=n(8517),c=n(5694),u=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),g=n(8630),h=n(6719),y=n(6390),m=n(9881);e.exports=function(e,t,n,v,I,S,T){var E=y(e,n),b=y(t,n),C=T.get(b);if(C)r(e,n,C);else{var A=S?S(E,b,n+"",e,t,T):void 0,_=void 0===A;if(_){var w=u(b),N=!w&&l(b),R=!w&&!N&&h(b);A=b,w||N||R?u(E)?A=E:d(E)?A=a(E):N?(_=!1,A=i(b,!0)):R?(_=!1,A=o(b,!0)):A=[]:g(b)||c(b)?(A=E,c(E)?A=m(E):f(E)&&!p(E)||(A=s(b))):_=!1}_&&(T.set(b,A),I(A,b,v,S,T),T.delete(b)),r(e,n,A)}}},5976:function(e,t,n){var r=n(6557),i=n(5357),o=n(61);e.exports=function(e,t){return o(i(e,t,r),e+"")}},6560:function(e,t,n){var r=n(5703),i=n(8777),o=n(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},2545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},1717:function(e){e.exports=function(e){return function(t){return e(t)}}},4318:function(e,t,n){var r=n(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},4626:function(e,t,n){e=n.nmd(e);var r=n(5639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},7157:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},419:function(e,t,n){var r=n(2705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},7133:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},8363:function(e,t,n){var r=n(4865),i=n(9465);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],d=o?o(n[u],e[u],u,n,e):void 0;void 0===d&&(d=e[u]),a?i(n,u,d):r(n,u,d)}return n}},8805:function(e,t,n){var r=n(8363),i=n(9551);e.exports=function(e,t){return r(e,i(e),t)}},1911:function(e,t,n){var r=n(8363),i=n(1442);e.exports=function(e,t){return r(e,i(e),t)}},4429:function(e,t,n){var r=n(5639)["__core-js_shared__"];e.exports=r},1463:function(e,t,n){var r=n(5976),i=n(6612);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,a)}return t}))}},5063:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}},8777:function(e,t,n){var r=n(852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8234:function(e,t,n){var r=n(8866),i=n(9551),o=n(3674);e.exports=function(e){return r(e,o,i)}},6904:function(e,t,n){var r=n(8866),i=n(1442),o=n(1704);e.exports=function(e){return r(e,o,i)}},5050:function(e,t,n){var r=n(7019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:function(e,t,n){var r=n(8458),i=n(7801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},5924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},9607:function(e,t,n){var r=n(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},9551:function(e,t,n){var r=n(4963),i=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},1442:function(e,t,n){var r=n(2488),i=n(5924),o=n(9551),a=n(479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},4160:function(e,t,n){var r=n(8552),i=n(7071),o=n(3818),a=n(8525),s=n(577),c=n(4239),u=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",h=u(r),y=u(i),m=u(o),v=u(a),I=u(s),S=c;(r&&S(new r(new ArrayBuffer(1)))!=g||i&&S(new i)!=d||o&&S(o.resolve())!=l||a&&S(new a)!=p||s&&S(new s)!=f)&&(S=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case h:return g;case y:return d;case m:return l;case v:return p;case I:return f}return t}),e.exports=S},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1789:function(e,t,n){var r=n(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,n){var r=n(4536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},1327:function(e,t,n){var r=n(4536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},1866:function(e,t,n){var r=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},9148:function(e,t,n){var r=n(4318),i=n(7157),o=n(3147),a=n(419),s=n(7133);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},8517:function(e,t,n){var r=n(3118),i=n(5924),o=n(5726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},6612:function(e,t,n){var r=n(7813),i=n(8612),o=n(5776),a=n(3218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,n){var r,i=n(4429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,n){var r=n(8470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},2117:function(e,t,n){var r=n(8470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7518:function(e,t,n){var r=n(8470);e.exports=function(e){return r(this.__data__,e)>-1}},4705:function(e,t,n){var r=n(8470);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},4785:function(e,t,n){var r=n(1989),i=n(8407),o=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},1285:function(e,t,n){var r=n(5050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).get(e)}},9916:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).has(e)}},5265:function(e,t,n){var r=n(5050);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},4536:function(e,t,n){var r=n(852)(Object,"create");e.exports=r},6916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1167:function(e,t,n){e=n.nmd(e);var r=n(1957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5357:function(e,t,n){var r=n(6874),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),c=Array(s);++a<s;)c[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(c),r(e,this,u)}}},5639:function(e,t,n){var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},6390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},61:function(e,t,n){var r=n(6560),i=n(1275)(r);e.exports=i},1275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},7465:function(e,t,n){var r=n(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,n){var r=n(8407),i=n(7071),o=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},361:function(e,t,n){var r=n(5990);e.exports=function(e){return r(e,5)}},5703:function(e){e.exports=function(e){return function(){return e}}},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},6557:function(e){e.exports=function(e){return e}},5694:function(e,t,n){var r=n(9454),i=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,n){var r=n(3560),i=n(1780);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},9246:function(e,t,n){var r=n(8612),i=n(7005);e.exports=function(e){return i(e)&&r(e)}},4144:function(e,t,n){e=n.nmd(e);var r=n(5639),i=n(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c},3560:function(e,t,n){var r=n(4239),i=n(3218);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,n){var r=n(5588),i=n(1717),o=n(1167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,n){var r=n(4239),i=n(5924),o=n(7005),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,d=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}},2928:function(e,t,n){var r=n(9221),i=n(1717),o=n(1167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},6719:function(e,t,n){var r=n(8749),i=n(1717),o=n(1167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},3674:function(e,t,n){var r=n(4636),i=n(280),o=n(8612);e.exports=function(e){return o(e)?r(e):i(e)}},1704:function(e,t,n){var r=n(4636),i=n(313),o=n(8612);e.exports=function(e){return o(e)?r(e,!0):i(e)}},2492:function(e,t,n){var r=n(2980),i=n(1463)((function(e,t,n){r(e,t,n)}));e.exports=i},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},9881:function(e,t,n){var r=n(8363),i=n(1704);e.exports=function(e){return r(e,i(e))}},7061:function(e,t,n){var r=n(8698).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,o=Object.create(i.prototype),s=new N(r||[]);return a(o,"_invoke",{value:C(e,n,s)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var g={};function h(){}function y(){}function m(){}var v={};l(v,c,(function(){return this}));var I=Object.getPrototypeOf,S=I&&I(I(R([])));S&&S!==n&&o.call(S,c)&&(v=S);var T=m.prototype=h.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(i,a,s,c){var u=f(e[i],e,a);if("throw"!==u.type){var d=u.arg,l=d.value;return l&&"object"==r(l)&&o.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(l).then((function(e){d.value=e,s(d)}),(function(e){return n("throw",e,s,c)}))}c(u.arg)}var i;a(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function C(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=f(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function A(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,A(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,g;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,g):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return y.prototype=m,a(T,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:y,configurable:!0}),y.displayName=l(m,d,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(b.prototype),l(b.prototype,u,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(p(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(T),l(T,d,"Generator"),l(T,c,(function(){return this})),l(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=R,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:R(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),g}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4687:function(e,t,n){var r=n(7061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e](o,o.exports,i),o.loaded=!0,o.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},i.d(o,a),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var o={};return function(){"use strict";i.r(o),i.d(o,{allMethods:function(){return d},createClient:function(){return Vu},default:function(){return Hu},getMethodByHandlingModule:function(){return l},logLevels:function(){return Gt},methodActionTypes:function(){return c},methodTypes:function(){return s},moduleNames:function(){return u}});var e,t={};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,"string");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}function a(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}i.r(t),i.d(t,{hasBrowserEnv:function(){return Se},hasStandardBrowserEnv:function(){return Ee},hasStandardBrowserWebWorkerEnv:function(){return be},navigator:function(){return Te},origin:function(){return Ce}});var s={IDENTIFICATION:"identification",SIGNATURE:"signature"},c={BE_ID_LOGIN:"be-id-login",EE_ID_LOGIN:"ee-id-login",FI_ID_LOGIN:"fi-id-login",PT_ID_LOGIN:"pt-id-login",LV_ID_LOGIN:"lv-id-login",LT_ID_LOGIN:"lt-id-login",RS_ID_LOGIN:"rs-id-login",EE_MOBILE_ID:"mid-login",EE_WEB_EID_LOGIN:"ee-web-eid-login",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LV_EPARAKSTS_ID_LOGIN:"lv-eparaksts-id-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",EDOAPP_EID_LOGIN:"edoapp-eid-login",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ITSME_LOGIN:"itsme-login",ITSME_LOGIN_BASIC:"itsme-login-basic",ITSME_LOGIN_STANDARD:"itsme-login-standard",SE_BANKID_LOGIN:"swedish-bankid-login",IDIN_LOGIN:"idin-login",VERIFAI_LOGIN:"verifai-login",YOONIK_LOGIN:"yoonik-login",PL_MOJEID_LOGIN:"pl-mojeid-login",MIT_ID_LOGIN:"mit-id-login",MIT_ID_2_LOGIN:"mit-id-2-login",NORWEGIAN_BANKID_LOGIN:"norwegian-bankid-login",FTN_LOGIN:"ftn-login",IDIN_CUSTOMER_ID_LOGIN:"idin-customer-id-login",GB_ONE_ID_LOGIN:"gb-one-id-login",VERIFF_LOGIN:"veriff-login",LIDENTITE_NUMERIQUE_LOGIN:"lidentite-numerique-login",ZEAL_ID_SIGNATURE:"zealid-signature",EE_IDCARD_SIGNATURE:"id-signature",EE_MOBILEID_SIGNATURE:"mid-signature",LT_MOBILEID_SIGNATURE:"lt-mid-signature",SMARTID_SIGNATURE:"smart-id-signature",BE_IDCARD_SIGNATURE:"be-id-signature",LV_IDCARD_SIGNATURE:"lv-id-signature",LT_IDCARD_SIGNATURE:"lt-id-signature",FI_IDCARD_SIGNATURE:"fi-id-signature",LU_IDCARD_SIGNATURE:"lu-id-signature",PT_IDCARD_SIGNATURE:"pt-id-signature",HR_IDCARD_SIGNATURE:"hr-id-signature",CZ_IDCARD_SIGNATURE:"cz-id-signature",CERTEUROPE_USB_TOKEN_SIGNATURE:"certeurope-usb-token-signature",CERTSIGN_USB_TOKEN_SIGNATURE:"certsign-usb-token-signature",LV_EPARAKSTS_MOBILE_SIGNATURE:"lv-eparaksts-mobile-signature",AT_HANDY_SIGNATUR_SIGNATURE:"at-handy-signatur-signature",REGISTRU_CENTRAS_SIGNATURE:"registru-centras-signature",OTP_EMAIL:"otp-email-non-qualified",FI_FTN_ADVANCED_FULL_SIGNATURE:"fi-ftn-advanced-full-signature",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",FI_FTN_QUALIFIED_SIGNATURE:"fi-ftn-qes-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",SERPRO_ID_ADVANCED_SIGNATURE:"serpro-id-advanced-signature",CZ_BANKID_ADVANCED_SIGNATURE:"cz-bankid-advanced-signature",ABA_DO_QES_SIGNATURE:"aba-do-qes-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature",D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE:"d-trust-sign-me-qes-signature",D_TRUST_SIGN_ME_ADVANCED_SIGNATURE:"d-trust-sign-me-adv-signature",CHAVE_MOVEL_QUALIFIED_SIGNATURE:"chave-movel-qes-signature",CL_ECERT_ADVANCED_SIGNATURE:"cl-ecert-advanced-signature",MIT_ID_SIMPLE_SIGNATURE:"mit-id-simple-signature",DK_MITID_ADVANCED_SIGNATURE:"dk-mitid-advanced-signature",DK_MITID_QES_SIGNATURE:"dk-mitid-qes-signature",SE_BANK_ID_ADVANCED_SIGNATURE:"se-bankid-advanced-signature",SE_BANK_ID_QES_SIGNATURE:"se-bankid-qes-signature",SE_BANK_ID_ADVANCED_HASH_SIGNATURE:"se-bankid-adv-hash-signature",DK_MIT_ID_ADVANCED_HASH_SIGNATURE:"dk-mitid-adv-hash-signature",NO_BANK_ID_ADVANCED_HASH_SIGNATURE:"no-bankid-adv-hash-signature",IT_SPID_QUALIFIED_HASH_SIGNATURE:"it-spid-qes-hash-signature",NORWEGIAN_BANKID_ADVANCED_SIGNATURE:"norwegian-bankid-adv-signature",NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE:"no-bankid-adv-light-signature",IDIN_SIMPLE_SIGNATURE:"idin-simple-signature",VERIFAI_SIMPLE_SIGNATURE:"verifai-simple-signature",SPID_QUALIFIED_SIGNATURE:"spid-qes-signature",FREJA_SIMPLE_SIGNATURE:"freja-simple-signature",AUDKENNI_QUALIFIED_SIGNATURE:"audkenni-qes-signature",YES_COM_QUALIFIED_SIGNATURE:"yes-com-qes-signature",SIMPLY_SIGN_QES_SIGNATURE:"simply-sign-qes-signature",UANATACA_QUALIFIED_SIGNATURE:"uanataca-qes-signature",INFOCERT_QUALIFIED_SIGNATURE:"infocert-qes-signature",CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE:"certsign-webapi-qes-signature",HALCOM_QUALIFIED_SIGNATURE:"halcom-qes-signature",SWISS_ID_QUALIFIED_SIGNATURE:"swiss-id-qes-signature",SWISS_COM_QUALIFIED_SIGNATURE:"swiss-com-qes-signature",SE_FREJA_EID_ADVANCED_SIGNATURE:"se-frejaeid-advanced-signature",SE_FREJA_EID_QES_SIGNATURE:"se-frejaeid-qes-signature",ITSME_QES_SIGNATURE:"itsme-qes-signature",FR_IDENT_ADVANCED_SIGNATURE:"fr-ident-advanced-signature",GB_ONE_ID_ADVANCED_SIGNATURE:"gb-one-id-advanced-signature",HANDWRITTEN_SIMPLE_SIGNATURE:"handwritten-simple-signature",HARICA_QES_SIGNATURE:"harica-qes-signature",VERIFF_ADVANCED_SIGNATURE:"veriff-advanced-signature",LT_ID_QES_SIGNATURE:"lt-id-qes-signature",CERT_STORE_QES_SIGNATURE:"cert-store-qes-signature",CERT_STORE_ADVANCED_SIGNATURE:"cert-store-advanced-signature",CERT_STORE_ADV_UNVERIFIED_SIGN:"cert-store-adv-unverified-sign",BUYPASS_QES_SIGNATURE:"buypass-qes-signature",FI_FTN_INTESI_ADS_SIGNATURE:"fi-ftn-intesi-adv-signature",TRUST_ASIA_SIGNATURE:"trust-asia-signature",MSC_TRUST_GATE_SIGNATURE:"msc-trust-gate-signature",GSE_ADV_SIGNATURE:"gse-adv-signature",CERTME_QES_SIGNATURE:"certme-qes-signature",ES_LLEIDA_ADV_SIGNATURE:"es-lleida-advanced-signature",ADACOM_QES_SIGNATURE:"adacom-qes-signature",ADACOM_ONE_SHOT_QES_SIGNATURE:"adacom-one-shot-qes-signature",DIIA_QES_SIGNATURE:"diia-qes-signature",EMUDHRA_QES_SIGNATURE:"emudhra-qes-signature",MX_PSC_WORLD_ADVANCED_SIGNATURE:"mx-psc-world-adv-signature",TRANS_SPED_QES_SIGNATURE:"trans-sped-qes-signature",VIDA_ADVANCED_SIGNATURE:"vida-advanced-signature",VN_BKAV_TOKEN_SIGNATURE:"vn-bkav-token-signature",VN_CA2_TOKEN_SIGNATURE:"vn-ca2-token-signature",VN_FAST_TOKEN_SIGNATURE:"vn-fast-token-signature",VN_FPT_TOKEN_SIGNATURE:"vn-fpt-token-signature",VN_SMART_TOKEN_SIGNATURE:"vn-smart-token-signature",VN_VIETTEL_TOKEN_SIGNATURE:"vn-viettel-token-signature",VN_VNPT_TOKEN_SIGNATURE:"vn-vnpt-token-signature"},u={idCard:"idCard",mobileId:"mobileId",webEid:"webEid",eParakstsMobile:"eParakstsMobile",eParakstsSmartCard:"eParakstsSmartCard",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",edoAppEid:"edoAppEid",atHandy:"atHandy",itsme:"itsme",itsmeBasic:"itsmeBasic",itsmeStandard:"itsmeStandard",seBankId:"seBankId",idin:"idin",idinCustomerId:"idinCustomerId",verifai:"verifai",yoonik:"yoonik",plMojeId:"plMojeId",mitId:"mitId",mitId2:"mitId2",norwegianBankId:"norwegianBankId",ftn:"ftn",gbOneId:"gbOneId",veriff:"veriff",lIdentiteNumerique:"lIdentiteNumerique",idCardSignature:"idCardSignature",certEuropeUsbTokenSignature:"certEuropeUsbTokenSignature",certSignUsbTokenSignature:"certSignUsbTokenSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnAdvancedFullSignature:"ftnAdvancedFullSignature",mitIdAdvancedSignature:"mitIdAdvancedSignature",mitIdQesSignature:"mitIdQesSignature",seBankIdAdvancedSignature:"seBankIdAdvancedSignature",seBankIdQesSignature:"seBankIdQesSignature",seBankIdAdvancedHashSignature:"seBankIdAdvancedHashSignature",dkMitIdAdvancedHashSignature:"dkMitIdAdvancedHashSignature",noBankIdAdvancedHashSignature:"noBankIdAdvancedHashSignature",itSpidQualifiedHashSignature:"itSpidQualifiedHashSignature",ftnSignature:"ftnSignature",ftnQesSignature:"ftnQesSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",serproIdAdvancedSignature:"serproIdAdvancedSignature",czBankIDSignature:"czBankIDSignature",abaDoSignature:"abaDoSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature",dTrustSignMeSignature:"dTrustSignMeSignature",dTrustSignMeAdvSignature:"dTrustSignMeAdvSignature",chaveMovelSignature:"chaveMovelSignature",eCertChileSignature:"eCertChileSignature",mitIdSignature:"mitIdSignature",noBankIdAdvSignature:"noBankIdAdvSignature",noBankIdAdvLightSignature:"noBankIdAdvLightSignature",idinSignature:"idinSignature",verifaiSignature:"verifaiSignature",spidQesSignature:"spidQesSignature",frejaSimpleSignature:"frejaSimpleSignature",audkenniQesSignature:"audkenniQesSignature",yesComQesSignature:"yesComQesSignature",simplySignQesSignature:"simplySignQesSignature",uanatacaQesSignature:"uanatacaQesSignature",infoCertQesSignature:"infoCertQesSignature",certsignWebapiQesSignature:"certsignWebapiQesSignature",halcomQesSignature:"halcomQesSignature",swissIdQesSignature:"swissIdQesSignature",swissComQesSignature:"swissComQesSignature",frejaAdvancedSignature:"frejaAdvancedSignature",frejaQesSignature:"frejaQesSignature",itsmeQesSignature:"itsmeQesSignature",frIdentAdvancedSignature:"frIdentAdvancedSignature",gbOneIdAdvancedSignature:"gbOneIdAdvancedSignature",handwrittenSignature:"handwrittenSignature",haricaQesSignature:"haricaQesSignature",veriffAdvancedSignature:"veriffAdvancedSignature",ltIdQesSignature:"ltIdQesSignature",buypassQesSignature:"buypassQesSignature",intesiFtnAdvSignature:"intesiFtnAdvSignature",certStoreQesSignature:"certStoreQesSignature",certStoreAdvancedSignature:"certStoreAdvancedSignature",certStoreAdvancedUnverifiedSignature:"certStoreAdvancedUnverifiedSignature",trustAsiaSignature:"trustAsiaSignature",mscTrustGateSignature:"mscTrustGateSignature",gseAdvSignature:"gseAdvSignature",certMeQesSignature:"certMeQesSignature",esLleidaAdvSignature:"esLleidaAdvSignature",adacomQesSignature:"adacomQesSignature",adacomOneShotQesSignature:"adacomOneShotQesSignature",diiaQesSignature:"diiaQesSignature",emudhraQesSignature:"emudhraQesSignature",mxPscWorldAdvancedSignature:"mxPscWorldAdvancedSignature",transSpedQesSignature:"transSpedQesSignature",vidaAdvancedSignature:"vidaAdvancedSignature",vnBkavTokenSignature:"vnBkavTokenSignature",vnCa2TokenSignature:"vnCa2TokenSignature",vnFastTokenSignature:"vnFastTokenSignature",vnFptTokenSignature:"vnFptTokenSignature",vnSmartTokenSignature:"vnSmartTokenSignature",vnViettelTokenSignature:"vnViettelTokenSignature",vnVnptTokenSignature:"vnVnptTokenSignature"},d=Object.freeze((a(e={},s.IDENTIFICATION,[{actionType:c.BE_ID_LOGIN,handlingModule:u.idCard,supportedCountries:["BE"]},{actionType:c.EE_ID_LOGIN,handlingModule:u.idCard,supportedCountries:["EE"]},{actionType:c.FI_ID_LOGIN,handlingModule:u.idCard,supportedCountries:["FI"]},{actionType:c.LV_ID_LOGIN,handlingModule:u.idCard,supportedCountries:["LV"]},{actionType:c.LT_ID_LOGIN,handlingModule:u.idCard,supportedCountries:["LT"]},{actionType:c.PT_ID_LOGIN,handlingModule:u.idCard,supportedCountries:["PT"]},{actionType:c.RS_ID_LOGIN,handlingModule:u.idCard,supportedCountries:["RS"]},{actionType:c.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:u.eParakstsMobile,supportedCountries:["LV"]},{actionType:c.LV_EPARAKSTS_ID_LOGIN,handlingModule:u.eParakstsSmartCard,supportedCountries:["LV"]},{actionType:c.LT_MOBILE_ID,handlingModule:u.mobileId,supportedCountries:["LT"]},{actionType:c.EE_MOBILE_ID,handlingModule:u.mobileId,supportedCountries:["EE"]},{actionType:c.SMART_ID,handlingModule:u.smartId,supportedCountries:["EE","LV","LT","BE"]},{actionType:c.EE_WEB_EID_LOGIN,handlingModule:u.webEid,supportedCountries:["EE"]},{actionType:c.FREJA_EID_LOGIN,handlingModule:u.frejaEid,supportedCountries:["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","AL","BA","GE","MK","RS","GB","UA","AR","BR","CL","CO","CA","MX","PE","US","AU","HK","JP","NZ","SG","KR","TW","GL","AX"]},{actionType:c.ZEALID_LOGIN,handlingModule:u.zealId,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:c.CZ_MOJEID,handlingModule:u.mojeId,supportedCountries:["CZ"]},{actionType:c.EDOAPP_EID_LOGIN,handlingModule:u.edoAppEid,supportedCountries:["PL"]},{actionType:c.FI_FTN_LOGIN,handlingModule:u.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:c.AT_HANDY_SIGNATUR_LOGIN,handlingModule:u.atHandy,supportedCountries:["AT"]},{actionType:c.ITSME_LOGIN,handlingModule:u.itsme,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:c.ITSME_LOGIN_BASIC,handlingModule:u.itsmeBasic,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:c.ITSME_LOGIN_STANDARD,handlingModule:u.itsmeStandard,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:c.SE_BANKID_LOGIN,handlingModule:u.seBankId,supportedCountries:["SE"]},{actionType:c.IDIN_LOGIN,handlingModule:u.idin,supportedCountries:["NL"]},{actionType:c.IDIN_CUSTOMER_ID_LOGIN,handlingModule:u.idinCustomerId,supportedCountries:["NL"]},{actionType:c.VERIFAI_LOGIN,handlingModule:u.verifai,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:c.YOONIK_LOGIN,handlingModule:u.yoonik,supportedCountries:["WORLD"]},{actionType:c.PL_MOJEID_LOGIN,handlingModule:u.plMojeId,supportedCountries:["PL"]},{actionType:c.MIT_ID_LOGIN,handlingModule:u.mitId,supportedCountries:["DK"]},{actionType:c.MIT_ID_2_LOGIN,handlingModule:u.mitId2,supportedCountries:["DK"]},{actionType:c.NORWEGIAN_BANKID_LOGIN,handlingModule:u.norwegianBankId,supportedCountries:["NO"]},{actionType:c.FTN_LOGIN,handlingModule:u.ftn,supportedCountries:["FI"]},{actionType:c.GB_ONE_ID_LOGIN,handlingModule:u.gbOneId,supportedCountries:["GB"]},{actionType:c.VERIFF_LOGIN,handlingModule:u.veriff,supportedCountries:["AD","AO","AR","AM","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BT","BO","BA","BW","BR","BN","BG","BF","BI","KH","CM","CA","CV","CF","TD","CL","CN","CO","KM","CG","CD","CR","HR","CU","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FJ","FI","FR","GA","GM","GE","DE","GH","GR","GD","GT","GN","GW","GY","HT","VA","HN","HU","IS","IN","ID","IR","IQ","IE","IL","IT","JM","JP","JO","KZ","KE","KI","XK","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MG","MW","MY","MV","ML","MT","MH","MR","MU","MX","FM","MD","MC","MN","ME","MA","MZ","MM","NA","NR","NP","NL","NZ","NI","NE","NG","KP","MK","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PL","PT","QA","RO","RU","RW","KN","LC","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","KR","SS","ES","LK","SD","SR","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TO","TT","TN","TR","TM","TV","UG","UA","AE","GB","US","UY","UZ","VU","VE","VN","YE","ZM","ZW"]},{actionType:c.LIDENTITE_NUMERIQUE_LOGIN,handlingModule:u.lIdentiteNumerique,supportedCountries:["FR"]}]),a(e,s.SIGNATURE,[{actionType:c.EE_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["EE"]},{actionType:c.LV_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["LV"]},{actionType:c.LT_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["LT"]},{actionType:c.FI_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["FI","AX"]},{actionType:c.PT_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["PT"]},{actionType:c.BE_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["BE"]},{actionType:c.HR_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["HR"]},{actionType:c.CZ_IDCARD_SIGNATURE,handlingModule:u.idCardSignature,supportedCountries:["CZ"]},{actionType:c.CERTEUROPE_USB_TOKEN_SIGNATURE,handlingModule:u.certEuropeUsbTokenSignature,supportedCountries:["FR","PL"]},{actionType:c.CERTSIGN_USB_TOKEN_SIGNATURE,handlingModule:u.certSignUsbTokenSignature,supportedCountries:["RO","PL"]},{actionType:c.EE_MOBILEID_SIGNATURE,handlingModule:u.mobileIdSignature,supportedCountries:["EE"]},{actionType:c.LT_MOBILEID_SIGNATURE,handlingModule:u.mobileIdSignature,supportedCountries:["LT"]},{actionType:c.SMARTID_SIGNATURE,handlingModule:u.smartIdSignature,supportedCountries:["EE","LV","LT","BE"]},{actionType:c.EVROTRUST_SIGNATURE,handlingModule:u.evroTrustSignature,supportedCountries:["AL","AD","AM","AU","AT","AZ","BY","BE","BA","BG","CA","HR","CY","CZ","DK","EE","FI","FR","GE","DE","GR","HU","IS","IE","IT","IL","KZ","KE","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","NZ","NO","MK","PL","PT","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA","AX"]},{actionType:c.ITSME_QES_SIGNATURE,handlingModule:u.itsmeQesSignature,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:c.OTP_EMAIL,handlingModule:u.otpSignature,supportedCountries:["WORLD"]},{actionType:c.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:u.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:c.FI_FTN_ADVANCED_SIGNATURE,handlingModule:u.ftnSignature,supportedCountries:["FI","AX"]},{actionType:c.FI_FTN_ADVANCED_FULL_SIGNATURE,handlingModule:u.ftnAdvancedFullSignature,supportedCountries:["FI","AX"]},{actionType:c.FI_FTN_QUALIFIED_SIGNATURE,handlingModule:u.ftnQesSignature,supportedCountries:["FI","AX"]},{actionType:c.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:u.atHandySignature,supportedCountries:["AT","DE"]},{actionType:c.ZEAL_ID_SIGNATURE,handlingModule:u.zealIdSignature,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RS","SE","SI","SK"]},{actionType:c.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:u.mojeIdSignature,supportedCountries:["CZ"]},{actionType:c.SERPRO_ID_ADVANCED_SIGNATURE,handlingModule:u.serproIdAdvancedSignature,supportedCountries:["BR"]},{actionType:c.MX_PSC_WORLD_ADVANCED_SIGNATURE,handlingModule:u.mxPscWorldAdvancedSignature,supportedCountries:["MX"]},{actionType:c.TRANS_SPED_QES_SIGNATURE,handlingModule:u.transSpedQesSignature,supportedCountries:["AF","AL","DZ","AD","AO","AR","AM","AU","AT","AZ","BH","BD","BY","BE","BZ","BJ","BT","BO","BA","BW","BR","BN","BG","BF","BI","KH","CM","CA","CV","CF","TD","CL","CN","CO","KM","CG","CD","CR","HR","CY","CZ","DK","DJ","DO","EC","EG","SV","GQ","ER","EE","ET","FJ","FI","FR","GA","GM","GE","DE","GH","GR","GT","GN","GY","HT","HN","HU","IS","IN","ID","IR","IQ","IE","IL","IT","JM","JP","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MG","MW","MY","MV","ML","MT","MR","MU","MX","MD","MC","MN","ME","MA","MZ","MM","NA","NP","NL","NZ","NI","NE","NG","NO","OM","PK","PA","PG","PY","PE","PH","PL","PT","QA","RO","RU","RW","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","KR","ES","LK","SD","SR","SZ","SE","CH","SY","TJ","TZ","TH","TL","TG","TO","TN","TR","TM","UG","UA","AE","GB","US","UY","UZ","VU","VE","VN","YE","ZM","ZW"]},{actionType:c.CZ_BANKID_ADVANCED_SIGNATURE,handlingModule:u.czBankIDSignature,supportedCountries:["CZ"]},{actionType:c.ABA_DO_QES_SIGNATURE,handlingModule:u.abaDoSignature,supportedCountries:["DO"]},{actionType:c.GOOGLE_SIGNATURE,handlingModule:u.googleSignature,supportedCountries:["WORLD"]},{actionType:c.SE_BANKID_SIGNATURE,handlingModule:u.seBankIdSignature,supportedCountries:["SE"]},{actionType:c.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,handlingModule:u.dTrustSignMeSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","FI","US","BG","HU","LT","LV","EE","HR","SI","IT","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]},{actionType:c.D_TRUST_SIGN_ME_ADVANCED_SIGNATURE,handlingModule:u.dTrustSignMeAdvSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","FI","US","BG","HU","LT","LV","EE","HR","SI","IT","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]},{actionType:c.CHAVE_MOVEL_QUALIFIED_SIGNATURE,handlingModule:u.chaveMovelSignature,supportedCountries:["PT"]},{actionType:c.CL_ECERT_ADVANCED_SIGNATURE,handlingModule:u.eCertChileSignature,supportedCountries:["CL"]},{actionType:c.NORWEGIAN_BANKID_ADVANCED_SIGNATURE,handlingModule:u.noBankIdAdvSignature,supportedCountries:["NO"]},{actionType:c.NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE,handlingModule:u.noBankIdAdvLightSignature,supportedCountries:["NO"]},{actionType:c.MIT_ID_SIMPLE_SIGNATURE,handlingModule:u.mitIdSignature,supportedCountries:["DK","GL"]},{actionType:c.IDIN_SIMPLE_SIGNATURE,handlingModule:u.idinSignature,supportedCountries:["NL"]},{actionType:c.SPID_QUALIFIED_SIGNATURE,handlingModule:u.spidQesSignature,supportedCountries:["IT"]},{actionType:c.VERIFAI_SIMPLE_SIGNATURE,handlingModule:u.verifaiSignature,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:c.FREJA_SIMPLE_SIGNATURE,handlingModule:u.frejaSimpleSignature,supportedCountries:["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","AL","BA","GE","MK","RS","GB","UA","AR","BR","CL","CO","CA","MX","PE","US","AU","HK","JP","NZ","SG","KR","TW","GL","AX"]},{actionType:c.AUDKENNI_QUALIFIED_SIGNATURE,handlingModule:u.audkenniQesSignature,supportedCountries:["IS"]},{actionType:c.YES_COM_QUALIFIED_SIGNATURE,handlingModule:u.yesComQesSignature,supportedCountries:["DE"]},{actionType:c.SIMPLY_SIGN_QES_SIGNATURE,handlingModule:u.simplySignQesSignature,supportedCountries:["PL"]},{actionType:c.UANATACA_QUALIFIED_SIGNATURE,handlingModule:u.uanatacaQesSignature,supportedCountries:["ES"]},{actionType:c.INFOCERT_QUALIFIED_SIGNATURE,handlingModule:u.infoCertQesSignature,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DE","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:c.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE,handlingModule:u.certsignWebapiQesSignature,supportedCountries:["RO"]},{actionType:c.HALCOM_QUALIFIED_SIGNATURE,handlingModule:u.halcomQesSignature,supportedCountries:["SI"]},{actionType:c.SWISS_ID_QUALIFIED_SIGNATURE,handlingModule:u.swissIdQesSignature,supportedCountries:["CH"]},{actionType:c.SWISS_COM_QUALIFIED_SIGNATURE,handlingModule:u.swissComQesSignature,supportedCountries:["CH"]},{actionType:c.DK_MITID_ADVANCED_SIGNATURE,handlingModule:u.mitIdAdvancedSignature,supportedCountries:["DK"]},{actionType:c.DK_MITID_QES_SIGNATURE,handlingModule:u.mitIdQesSignature,supportedCountries:["DK"]},{actionType:c.SE_BANK_ID_ADVANCED_SIGNATURE,handlingModule:u.seBankIdAdvancedSignature,supportedCountries:["SE"]},{actionType:c.SE_BANK_ID_QES_SIGNATURE,handlingModule:u.seBankIdQesSignature,supportedCountries:["SE"]},{actionType:c.SE_BANK_ID_ADVANCED_HASH_SIGNATURE,handlingModule:u.seBankIdAdvancedHashSignature,supportedCountries:["SE"]},{actionType:c.DK_MIT_ID_ADVANCED_HASH_SIGNATURE,handlingModule:u.dkMitIdAdvancedHashSignature,supportedCountries:["DK"]},{actionType:c.NO_BANK_ID_ADVANCED_HASH_SIGNATURE,handlingModule:u.noBankIdAdvancedHashSignature,supportedCountries:["NO"]},{actionType:c.IT_SPID_QUALIFIED_HASH_SIGNATURE,handlingModule:u.itSpidQualifiedHashSignature,supportedCountries:["IT"]},{actionType:c.SE_FREJA_EID_ADVANCED_SIGNATURE,handlingModule:u.frejaAdvancedSignature,supportedCountries:["SE"]},{actionType:c.SE_FREJA_EID_QES_SIGNATURE,handlingModule:u.frejaQesSignature,supportedCountries:["SE"]},{actionType:c.FR_IDENT_ADVANCED_SIGNATURE,handlingModule:u.frIdentAdvancedSignature,supportedCountries:["FR"]},{actionType:c.GB_ONE_ID_ADVANCED_SIGNATURE,handlingModule:u.gbOneIdAdvancedSignature,supportedCountries:["GB"]},{actionType:c.HANDWRITTEN_SIMPLE_SIGNATURE,handlingModule:u.handwrittenSignature,supportedCountries:["WORLD"]},{actionType:c.HARICA_QES_SIGNATURE,handlingModule:u.haricaQesSignature,supportedCountries:["GR"]},{actionType:c.VERIFF_ADVANCED_SIGNATURE,handlingModule:u.veriffAdvancedSignature,supportedCountries:["AD","AO","AR","AM","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BT","BO","BA","BW","BR","BN","BG","BF","BI","KH","CM","CA","CV","CF","TD","CL","CN","CO","KM","CG","CD","CR","HR","CU","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FJ","FI","FR","GA","GM","GE","DE","GH","GR","GD","GT","GN","GW","GY","HT","VA","HN","HU","IS","IN","ID","IR","IQ","IE","IL","IT","JM","JP","JO","KZ","KE","KI","XK","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MG","MW","MY","MV","ML","MT","MH","MR","MU","MX","FM","MD","MC","MN","ME","MA","MZ","MM","NA","NR","NP","NL","NZ","NI","NE","NG","KP","MK","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PL","PT","QA","RO","RU","RW","KN","LC","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","KR","SS","ES","LK","SD","SR","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TO","TT","TN","TR","TM","TV","UG","UA","AE","GB","US","UY","UZ","VU","VE","VN","YE","ZM","ZW"]},{actionType:c.LT_ID_QES_SIGNATURE,handlingModule:u.ltIdQesSignature,supportedCountries:["LT"]},{actionType:c.CERT_STORE_QES_SIGNATURE,handlingModule:u.certStoreQesSignature,supportedCountries:["WORLD"]},{actionType:c.CERT_STORE_ADVANCED_SIGNATURE,handlingModule:u.certStoreAdvancedSignature,supportedCountries:["WORLD"]},{actionType:c.CERT_STORE_ADV_UNVERIFIED_SIGN,handlingModule:u.certStoreAdvancedUnverifiedSignature,supportedCountries:["WORLD"]},{actionType:c.BUYPASS_QES_SIGNATURE,handlingModule:u.buypassQesSignature,supportedCountries:["NO"]},{actionType:c.FI_FTN_INTESI_ADS_SIGNATURE,handlingModule:u.intesiFtnAdvSignature,supportedCountries:["FI"]},{actionType:c.TRUST_ASIA_SIGNATURE,handlingModule:u.trustAsiaSignature,supportedCountries:["CN"]},{actionType:c.MSC_TRUST_GATE_SIGNATURE,handlingModule:u.mscTrustGateSignature,supportedCountries:["MY"]},{actionType:c.GSE_ADV_SIGNATURE,handlingModule:u.gseAdvSignature,supportedCountries:["CO"]},{actionType:c.CERTME_QES_SIGNATURE,handlingModule:u.certMeQesSignature,supportedCountries:["RO"]},{actionType:c.ES_LLEIDA_ADV_SIGNATURE,handlingModule:u.esLleidaAdvSignature,supportedCountries:["ES"]},{actionType:c.ADACOM_QES_SIGNATURE,handlingModule:u.adacomQesSignature,supportedCountries:["GR"]},{actionType:c.ADACOM_ONE_SHOT_QES_SIGNATURE,handlingModule:u.adacomOneShotQesSignature,supportedCountries:["AL","AR","AU","AT","BD","BE","BR","BG","CA","CL","CN","CO","CR","HR","CY","CZ","DK","DO","EC","EG","EE","FI","FR","DE","GB","GR","HU","IS","IE","IN","IL","IT","JP","KE","LV","LT","LU","MY","MT","MX","MK","NL","NZ","NO","PK","PA","PE","PL","PT","KR","RO","RS","SG","SK","SI","ZA","ES","SE","CH","TW","TH","TR","UA","AE","UY","US","VE","VN"]},{actionType:c.DIIA_QES_SIGNATURE,handlingModule:u.diiaQesSignature,supportedCountries:["UA"]},{actionType:c.EMUDHRA_QES_SIGNATURE,handlingModule:u.emudhraQesSignature,supportedCountries:["IN"]},{actionType:c.VIDA_ADVANCED_SIGNATURE,handlingModule:u.vidaAdvancedSignature,supportedCountries:["ID"]},{actionType:c.VN_BKAV_TOKEN_SIGNATURE,handlingModule:u.vnBkavTokenSignature,supportedCountries:["VN"]},{actionType:c.VN_CA2_TOKEN_SIGNATURE,handlingModule:u.vnCa2TokenSignature,supportedCountries:["VN"]},{actionType:c.VN_FAST_TOKEN_SIGNATURE,handlingModule:u.vnFastTokenSignature,supportedCountries:["VN"]},{actionType:c.VN_FPT_TOKEN_SIGNATURE,handlingModule:u.vnFptTokenSignature,supportedCountries:["VN"]},{actionType:c.VN_SMART_TOKEN_SIGNATURE,handlingModule:u.vnSmartTokenSignature,supportedCountries:["VN"]},{actionType:c.VN_VIETTEL_TOKEN_SIGNATURE,handlingModule:u.vnViettelTokenSignature,supportedCountries:["VN"]},{actionType:c.VN_VNPT_TOKEN_SIGNATURE,handlingModule:u.vnVnptTokenSignature,supportedCountries:["VN"]}]),e)),l=function(e,t,n){var r=d[e];if(t&&n){var i=r.find((function(e){return e.handlingModule===t&&(e.supportedCountries.includes(n)||e.supportedCountries.includes("WORLD"))}));if(!i){if(0===r.filter((function(e){return e.handlingModule===t})).length)throw new Error("Could not find matching method configuration for ".concat(e,' module "').concat(t,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(e,'\n module "').concat(t,'".'))}return i}return r.find((function(e){return e.handlingModule===t}))},p=i(2492),f=i.n(p);function g(e,t){return function(){return e.apply(t,arguments)}}const{toString:h}=Object.prototype,{getPrototypeOf:y}=Object,m=(v=Object.create(null),e=>{const t=h.call(e);return v[t]||(v[t]=t.slice(8,-1).toLowerCase())});var v;const I=e=>(e=e.toLowerCase(),t=>m(t)===e),S=e=>t=>typeof t===e,{isArray:T}=Array,E=S("undefined"),b=I("ArrayBuffer"),C=S("string"),A=S("function"),_=S("number"),w=e=>null!==e&&"object"==typeof e,N=e=>{if("object"!==m(e))return!1;const t=y(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},R=I("Date"),O=I("File"),D=I("Blob"),M=I("FileList"),U=I("URLSearchParams"),[k,x,L,B]=["ReadableStream","Request","Response","Headers"].map(I);function P(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),T(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function G(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:__webpack_require__.g,F=e=>!E(e)&&e!==j,V=(H="undefined"!=typeof Uint8Array&&y(Uint8Array),e=>H&&e instanceof H);var H;const q=I("HTMLFormElement"),K=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Q=I("RegExp"),z=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};P(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},Z=I("AsyncFunction"),W=(J="function"==typeof setImmediate,Y=A(j.postMessage),J?setImmediate:Y?(X=`axios@${Math.random()}`,$=[],j.addEventListener("message",(({source:e,data:t})=>{e===j&&t===X&&$.length&&$.shift()()}),!1),e=>{$.push(e),j.postMessage(X,"*")}):e=>setTimeout(e));var J,Y,X,$;const ee="undefined"!=typeof queueMicrotask?queueMicrotask.bind(j):"undefined"!=typeof process&&process.nextTick||W;var te={isArray:T,isArrayBuffer:b,isBuffer:function(e){return null!==e&&!E(e)&&null!==e.constructor&&!E(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||A(e.append)&&("formdata"===(t=m(e))||"object"===t&&A(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&b(e.buffer),t},isString:C,isNumber:_,isBoolean:e=>!0===e||!1===e,isObject:w,isPlainObject:N,isReadableStream:k,isRequest:x,isResponse:L,isHeaders:B,isUndefined:E,isDate:R,isFile:O,isBlob:D,isRegExp:Q,isFunction:A,isStream:e=>w(e)&&A(e.pipe),isURLSearchParams:U,isTypedArray:V,isFileList:M,forEach:P,merge:function e(){const{caseless:t}=F(this)&&this||{},n={},r=(r,i)=>{const o=t&&G(n,i)||i;N(n[o])&&N(r)?n[o]=e(n[o],r):N(r)?n[o]=e({},r):T(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&P(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(P(t,((t,r)=>{n&&A(t)?e[r]=g(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&y(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:I,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(T(e))return e;let t=e.length;if(!_(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:q,hasOwnProperty:K,hasOwnProp:K,reduceDescriptors:z,freezeMethods:e=>{z(e,((t,n)=>{if(A(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];A(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return T(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:G,global:j,isContextDefined:F,isSpecCompliantForm:function(e){return!!(e&&A(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(w(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=T(e)?[]:{};return P(e,((e,t)=>{const o=n(e,r+1);!E(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:Z,isThenable:e=>e&&(w(e)||A(e))&&A(e.then)&&A(e.catch),setImmediate:W,asap:ee};function ne(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}te.inherits(ne,Error,{toJSON:function(){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:te.toJSONObject(this.config),code:this.code,status:this.status}}});const re=ne.prototype,ie={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{ie[e]={value:e}})),Object.defineProperties(ne,ie),Object.defineProperty(re,"isAxiosError",{value:!0}),ne.from=(e,t,n,r,i,o)=>{const a=Object.create(re);return te.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),ne.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var oe=ne;function ae(e){return te.isPlainObject(e)||te.isArray(e)}function se(e){return te.endsWith(e,"[]")?e.slice(0,-2):e}function ce(e,t,n){return e?e.concat(t).map((function(e,t){return e=se(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ue=te.toFlatObject(te,{},null,(function(e){return/^is[A-Z]/.test(e)}));var de=function(e,t,n){if(!te.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=te.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!te.isUndefined(t[e])}))).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&te.isSpecCompliantForm(t);if(!te.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(te.isDate(e))return e.toISOString();if(!s&&te.isBlob(e))throw new oe("Blob is not supported. Use a Buffer instead.");return te.isArrayBuffer(e)||te.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(te.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(te.isArray(e)&&function(e){return te.isArray(e)&&!e.some(ae)}(e)||(te.isFileList(e)||te.endsWith(n,"[]"))&&(s=te.toArray(e)))return n=se(n),s.forEach((function(e,r){!te.isUndefined(e)&&null!==e&&t.append(!0===a?ce([n],r,o):null===a?n:n+"[]",c(e))})),!1;return!!ae(e)||(t.append(ce(i,n,o),c(e)),!1)}const d=[],l=Object.assign(ue,{defaultVisitor:u,convertValue:c,isVisitable:ae});if(!te.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!te.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),te.forEach(n,(function(n,o){!0===(!(te.isUndefined(n)||null===n)&&i.call(t,n,te.isString(o)?o.trim():o,r,l))&&e(n,r?r.concat(o):[o])})),d.pop()}}(e),t};function le(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function pe(e,t){this._pairs=[],e&&de(e,this,t)}const fe=pe.prototype;fe.append=function(e,t){this._pairs.push([e,t])},fe.toString=function(e){const t=e?function(t){return e.call(this,t,le)}:le;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ge=pe;function he(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ye(e,t,n){if(!t)return e;const r=n&&n.encode||he;te.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(t,n):te.isURLSearchParams(t)?t.toString():new ge(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var me=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){te.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},ve={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Ie={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ge,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Se="undefined"!=typeof window&&"undefined"!=typeof document,Te="object"==typeof navigator&&navigator||void 0,Ee=Se&&(!Te||["ReactNative","NativeScript","NS"].indexOf(Te.product)<0),be="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Ce=Se&&window.location.href||"http://localhost";var Ae={...t,...Ie},_e=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;return o=!o&&te.isArray(r)?r.length:o,s?(te.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):(r[o]&&te.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&te.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a)}if(te.isFormData(e)&&te.isFunction(e.entries)){const n={};return te.forEachEntry(e,((e,r)=>{t(function(e){return te.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const we={transitional:ve,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=te.isObject(e);if(i&&te.isHTMLForm(e)&&(e=new FormData(e)),te.isFormData(e))return r?JSON.stringify(_e(e)):e;if(te.isArrayBuffer(e)||te.isBuffer(e)||te.isStream(e)||te.isFile(e)||te.isBlob(e)||te.isReadableStream(e))return e;if(te.isArrayBufferView(e))return e.buffer;if(te.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return de(e,new Ae.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Ae.isNode&&te.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=te.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return de(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(te.isString(e))try{return(0,JSON.parse)(e),te.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||we.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(te.isResponse(e)||te.isReadableStream(e))return e;if(e&&te.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw oe.from(e,oe.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ae.classes.FormData,Blob:Ae.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};te.forEach(["delete","get","head","post","put","patch"],(e=>{we.headers[e]={}}));var Ne=we;const Re=te.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"]),Oe=Symbol("internals");function De(e){return e&&String(e).trim().toLowerCase()}function Me(e){return!1===e||null==e?e:te.isArray(e)?e.map(Me):String(e)}function Ue(e,t,n,r,i){return te.isFunction(r)?r.call(this,t,n):(i&&(t=n),te.isString(t)?te.isString(r)?-1!==t.indexOf(r):te.isRegExp(r)?r.test(t):void 0:void 0)}class ke{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=De(t);if(!i)throw new Error("header name must be a non-empty string");const o=te.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Me(e))}const o=(e,t)=>te.forEach(e,((e,n)=>i(e,n,t)));if(te.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(te.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&Re[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(te.isHeaders(e))for(const[t,r]of e.entries())i(r,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=De(e)){const n=te.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(te.isFunction(t))return t.call(this,e,n);if(te.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=De(e)){const n=te.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ue(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=De(e)){const i=te.findKey(n,e);!i||t&&!Ue(0,n[i],i,t)||(delete n[i],r=!0)}}return te.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!Ue(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return te.forEach(this,((r,i)=>{const o=te.findKey(n,i);if(o)return t[o]=Me(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=Me(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return te.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&te.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Oe]=this[Oe]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=De(e);t[r]||(function(e,t){const n=te.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return te.isArray(e)?e.forEach(r):r(e),this}}ke.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),te.reduceDescriptors(ke.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),te.freezeMethods(ke);var xe=ke;function Le(e,t){const n=this||Ne,r=t||n,i=xe.from(r.headers);let o=r.data;return te.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Be(e){return!(!e||!e.__CANCEL__)}function Pe(e,t,n){oe.call(this,null==e?"canceled":e,oe.ERR_CANCELED,t,n),this.name="CanceledError"}te.inherits(Pe,oe,{__CANCEL__:!0});var Ge=Pe;function je(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new oe("Request failed with status code "+n.status,[oe.ERR_BAD_REQUEST,oe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Fe=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=r[a];i||(i=c),n[o]=s,r[o]=c;let d=a,l=0;for(;d!==o;)l+=n[d++],d%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const p=u&&c-u;return p?Math.round(1e3*l/p):void 0}}(50,250);return function(e,t){let n,r,i=0,o=1e3/t;const a=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),o-s)))},()=>n&&a(n)]}((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,c=i(s);r=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Ve=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},He=e=>(...t)=>te.asap((()=>e(...t)));var qe=Ae.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ae.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ae.origin),Ae.navigator&&/(msie|trident)/i.test(Ae.navigator.userAgent)):()=>!0,Ke=Ae.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];te.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),te.isString(r)&&a.push("path="+r),te.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Qe(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&r||0==n?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const ze=e=>e instanceof xe?{...e}:e;function Ze(e,t){t=t||{};const n={};function r(e,t,n,r){return te.isPlainObject(e)&&te.isPlainObject(t)?te.merge.call({caseless:r},e,t):te.isPlainObject(t)?te.merge({},t):te.isArray(t)?t.slice():t}function i(e,t,n,i){return te.isUndefined(t)?te.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!te.isUndefined(t))return r(void 0,t)}function a(e,t){return te.isUndefined(t)?te.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>i(ze(e),ze(t),0,!0)};return te.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=c[r]||i,a=o(e[r],t[r],r);te.isUndefined(a)&&o!==s||(n[r]=a)})),n}var We=e=>{const t=Ze({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:c}=t;if(t.headers=s=xe.from(s),t.url=ye(Qe(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),te.isFormData(r))if(Ae.hasStandardBrowserEnv||Ae.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Ae.hasStandardBrowserEnv&&(i&&te.isFunction(i)&&(i=i(t)),i||!1!==i&&qe(t.url))){const e=o&&a&&Ke.read(a);e&&s.set(o,e)}return t},Je="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=We(e);let i=r.data;const o=xe.from(r.headers).normalize();let a,s,c,u,d,{responseType:l,onUploadProgress:p,onDownloadProgress:f}=r;function g(){u&&u(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function y(){if(!h)return;const r=xe.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());je((function(e){t(e),g()}),(function(e){n(e),g()}),{data:l&&"text"!==l&&"json"!==l?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout,"onloadend"in h?h.onloadend=y:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(y)},h.onabort=function(){h&&(n(new oe("Request aborted",oe.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new oe("Network Error",oe.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||ve;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new oe(t,i.clarifyTimeoutError?oe.ETIMEDOUT:oe.ECONNABORTED,e,h)),h=null},void 0===i&&o.setContentType(null),"setRequestHeader"in h&&te.forEach(o.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),te.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),l&&"json"!==l&&(h.responseType=r.responseType),f&&([c,d]=Fe(f,!0),h.addEventListener("progress",c)),p&&h.upload&&([s,u]=Fe(p),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{h&&(n(!t||t.type?new Ge(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);m&&-1===Ae.protocols.indexOf(m)?n(new oe("Unsupported protocol "+m+":",oe.ERR_BAD_REQUEST,e)):h.send(i||null)}))},Ye=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof oe?t:new Ge(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new oe(`timeout ${t} of ms exceeded`,oe.ETIMEDOUT))}),t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=()=>te.asap(a),s}};const Xe=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},$e=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Xe(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},et="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,tt=et&&"function"==typeof ReadableStream,nt=et&&("function"==typeof TextEncoder?(rt=new TextEncoder,e=>rt.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var rt;const it=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},ot=tt&&it((()=>{let e=!1;const t=new Request(Ae.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),at=tt&&it((()=>te.isReadableStream(new Response("").body))),st={stream:at&&(e=>e.body)};var ct;et&&(ct=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!st[e]&&(st[e]=te.isFunction(ct[e])?t=>t[e]():(t,n)=>{throw new oe(`Response type '${e}' is not supported`,oe.ERR_NOT_SUPPORT,n)})})));const ut={http:null,xhr:Je,fetch:et&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:d,withCredentials:l="same-origin",fetchOptions:p}=We(e);u=u?(u+"").toLowerCase():"text";let f,g=Ye([i,o&&o.toAbortSignal()],a);const h=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let y;try{if(c&&ot&&"get"!==n&&"head"!==n&&0!==(y=await(async(e,t)=>{const n=te.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(te.isBlob(e))return e.size;if(te.isSpecCompliantForm(e)){const t=new Request(Ae.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return te.isArrayBufferView(e)||te.isArrayBuffer(e)?e.byteLength:(te.isURLSearchParams(e)&&(e+=""),te.isString(e)?(await nt(e)).byteLength:void 0)})(t):n})(d,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(te.isFormData(r)&&(e=n.headers.get("content-type"))&&d.setContentType(e),n.body){const[e,t]=Ve(y,Fe(He(c)));r=$e(n.body,65536,e,t)}}te.isString(l)||(l=l?"include":"omit");const i="credentials"in Request.prototype;f=new Request(t,{...p,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:i?l:void 0});let o=await fetch(f);const a=at&&("stream"===u||"response"===u);if(at&&(s||a&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=te.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&Ve(t,Fe(He(s),!0))||[];o=new Response($e(o.body,65536,n,(()=>{r&&r(),h&&h()})),e)}u=u||"text";let m=await st[te.findKey(st,u)||"text"](o,e);return!a&&h&&h(),await new Promise(((t,n)=>{je(t,n,{data:m,headers:xe.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:f})}))}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new oe("Network Error",oe.ERR_NETWORK,e,f),{cause:t.cause||t});throw oe.from(t,t&&t.code,e,f)}})};te.forEach(ut,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const dt=e=>`- ${e}`,lt=e=>te.isFunction(e)||null===e||!1===e;var pt=e=>{e=te.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!lt(n)&&(r=ut[(t=String(n)).toLowerCase()],void 0===r))throw new oe(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(dt).join("\n"):" "+dt(e[0]):"as no adapter specified";throw new oe("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function ft(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ge(null,e)}function gt(e){return ft(e),e.headers=xe.from(e.headers),e.data=Le.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),pt(e.adapter||Ne.adapter)(e).then((function(t){return ft(e),t.data=Le.call(e,e.transformResponse,t),t.headers=xe.from(t.headers),t}),(function(t){return Be(t)||(ft(e),t&&t.response&&(t.response.data=Le.call(e,e.transformResponse,t.response),t.response.headers=xe.from(t.response.headers))),Promise.reject(t)}))}const ht={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ht[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const yt={};ht.transitional=function(e,t,n){function r(e,t){return"[Axios v1.8.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new oe(r(i," has been removed"+(t?" in "+t:"")),oe.ERR_DEPRECATED);return t&&!yt[i]&&(yt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},ht.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var mt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new oe("options must be an object",oe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new oe("option "+o+" must be "+n,oe.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new oe("Unknown option "+o,oe.ERR_BAD_OPTION)}},validators:ht};const vt=mt.validators;class It{constructor(e){this.defaults=e,this.interceptors={request:new me,response:new me}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ze(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&mt.assertOptions(n,{silentJSONParsing:vt.transitional(vt.boolean),forcedJSONParsing:vt.transitional(vt.boolean),clarifyTimeoutError:vt.transitional(vt.boolean)},!1),null!=r&&(te.isFunction(r)?t.paramsSerializer={serialize:r}:mt.assertOptions(r,{encode:vt.function,serialize:vt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),mt.assertOptions(t,{baseUrl:vt.spelling("baseURL"),withXsrfToken:vt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&te.merge(i.common,i[t.method]);i&&te.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=xe.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let d,l=0;if(!s){const e=[gt.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,c),d=e.length,u=Promise.resolve(t);l<d;)u=u.then(e[l++],e[l++]);return u}d=a.length;let p=t;for(l=0;l<d;){const e=a[l++],t=a[l++];try{p=e(p)}catch(e){t.call(this,e);break}}try{u=gt.call(this,p)}catch(e){return Promise.reject(e)}for(l=0,d=c.length;l<d;)u=u.then(c[l++],c[l++]);return u}getUri(e){return ye(Qe((e=Ze(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}te.forEach(["delete","get","head","options"],(function(e){It.prototype[e]=function(t,n){return this.request(Ze(n||{},{method:e,url:t,data:(n||{}).data}))}})),te.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(Ze(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}It.prototype[e]=t(),It.prototype[e+"Form"]=t(!0)}));var St=It;class Tt{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new Ge(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new Tt((function(t){e=t})),cancel:e}}}var Et=Tt;const bt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(bt).forEach((([e,t])=>{bt[t]=e}));var Ct=bt;const At=function e(t){const n=new St(t),r=g(St.prototype.request,n);return te.extend(r,St.prototype,n,{allOwnKeys:!0}),te.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ze(t,n))},r}(Ne);At.Axios=St,At.CanceledError=Ge,At.CancelToken=Et,At.isCancel=Be,At.VERSION="1.8.2",At.toFormData=de,At.AxiosError=oe,At.Cancel=At.CanceledError,At.all=function(e){return Promise.all(e)},At.spread=function(e){return function(t){return e.apply(null,t)}},At.isAxiosError=function(e){return te.isObject(e)&&!0===e.isAxiosError},At.mergeConfig=Ze,At.AxiosHeaders=xe,At.formToJSON=e=>_e(te.isHTMLForm(e)?new FormData(e):e),At.getAdapter=pt,At.HttpStatusCode=Ct,At.default=At;var _t=At,wt=_t.CancelToken,Nt=_t.isCancel;_t.Cancel,_t.interceptors.response.use((function(e){return(t=e.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT","ERROR"].includes(t.status)?Promise.reject(function(e){var t=e.message,n=e.config,r=e.code,i=e.request,o=e.response,a=new Error(t);return a.config=n,r&&(a.code=r),a.request=i,a.response=o,a.isRequestError=!0,a}({message:"Request failed with status code ".concat(e.status),config:e.config,request:e.request,response:e})):e;var t}));var Rt=function(e){return _t(e)};function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Mt=function(e,t){var n,r=t.modifyRequestSettings,i=e;return"function"==typeof r&&(n=r(i)),n&&(i=f()(i,n)),i},Ut=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Rt(Mt(Dt({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))},n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Rt(Mt(Dt({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))};return Object.freeze({get:t,post:n,CancelToken:wt})};function kt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Lt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.identificationModules,n=void 0===t?[]:t,r=e.signingModules,i=void 0===r?[]:r,o=e.settings,a=void 0===o?{}:o,s=e.i18n,c=e.apiEndpoints,u=e.monitoringService,l=e.iframeMessenger,p=e.logger,f=xt({},a);f.apiEndpoints=c,s.setLanguage(f.language);var g=function(e){f.countryCode=e},h=function(){return f.countryCode},y=function(){return d},m={};n.forEach((function(e){var t=e({coreContext:{config:f,i18n:s,monitoringService:u,logger:p},apiClient:Ut({modifyRequestSettings:f.modifyRequestSettings})});m[t.MODULE_NAME]=t}));var v={};return i.forEach((function(e){var t=e({coreContext:{config:f,i18n:s,monitoringService:u,iframeMessenger:l,logger:p},apiClient:Ut({modifyRequestSettings:f.modifyRequestSettings})});v[t.MODULE_NAME]=t})),Object.freeze({identification:xt({},m),signature:xt({},v),getAllMethods:y,setLanguage:s.setLanguage,setCountryCode:g,getCountryCode:h,getLogs:p.getLogs})};function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Pt=function(e){var t=e.rawSettings,r=e.schema,i=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);return Object.keys(r).forEach((function(e){var o=r[e],a=t[e];if(o.required&&void 0===a)throw new Error('Missing required setting "'.concat(e,'"'));if(void 0===a&&(i[e]=o.default),void 0!==i[e]&&void 0!==o.type&&o.type!==n(i[e]))throw new Error('Expected "'.concat(e,'" to be type of "').concat(o.type,'", but received "').concat(n(i[e]),'"'))})),i},Gt=Object.freeze({debug:10,info:20,error:30}),jt={countryCode:{type:"string"},sandbox:{default:!1,type:"boolean"},clientId:{required:!0,type:"string"},redirectUri:{type:"string"},docId:{type:"string"},contractId:{type:"string"},apiEndpoints:{type:"object"},modifyRequestSettings:{type:"function"},language:{default:"en",type:"string"},success:{default:function(){},type:"function"},fail:{default:function(){},type:"function"},finished:{default:function(){},type:"function"},started:{default:function(){},type:"function"},redirect:{default:function(e){var t=e.data&&e.data.redirect_uri;return t?(window.location!==window.top.location?window.top.location.href=t:window.location.href=t,new Promise((function(){}))):e},type:"function"},remoteMonitoringEnabled:{default:!1},oauthParamState:{type:"string"},consoleLogLevel:{default:Gt.error,type:"number"}},Ft=JSON.parse('{"id-card-read-timeout":"Das Auslesen des Ausweises hat zu lange gedauert. Bitte schließen Sie alle geöffneten Browserfenster und versuchen Sie es erneut.","no_certificates":"Zertifikate konnten nicht gelesen werden. Stellen Sie sicher, dass sich die Karte im Lesegerät befindet und das Lesegerät richtig funktioniert."}'),Vt=i.t(Ft,2),Ht=JSON.parse('{"id-card-read-timeout":"Reading the ID card took too long. Please close all the open browser windows and then try again.","no_certificates":"Could not read certificates. Make sure that the card is in the reader and the reader is working properly."}'),qt=i.t(Ht,2),Kt=JSON.parse('{"id-card-read-timeout":"ID kaardi lugemine võttis liiga kaua aega. Palun sulge kõik brauseri aknad ja proovi uuesti.","no_certificates":"Sertfikaatide lugemine ebaõnnestus. Veendu, et ID kaart on lugejas ning lugeja on arvutiga ühendatud."}'),Qt=i.t(Kt,2),zt=JSON.parse('{"id-card-read-timeout":"Perskaityti asmens tapatybės kortelę užtruko per ilgai. Uždarykite visus atidarytus naršyklės langus ir bandykite dar kartą.","no_certificates":"Nepavyko perskaityti sertifikatų. Įsitikinkite, kad kortelė yra skaitytuve ir skaitytuvas veikia tinkamai."}'),Zt=i.t(zt,2),Wt=JSON.parse('{"id-card-read-timeout":"ID kartes lasīšana aizņēma pārāk ilgu laiku. Lūdzu, aizveriet visus atvērtos pārlūkprogrammas logus un pēc tam mēģiniet vēlreiz.","no_certificates":"Nevarēja nolasīt sertifikātus. Pārliecinieties, vai karte ir lasītājā un lasītājs darbojas pareizi."}'),Jt=i.t(Wt,2),Yt=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),Xt={de:Vt,en:qt,et:Qt,lt:Zt,lv:Jt,ru:i.t(Yt,2)},$t=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currentLanguage,n=void 0===t?"en":t,r=e.locales,i=void 0===r?Xt:r,o={currentLanguage:n},a="en",s=function(e){o.currentLanguage=e},c=function(){return o.currentLanguage},u=function(e){var t=i[o.currentLanguage];t||(t=i[a]);var n=t[e]||i[a][e];return n||(n=e),n};return Object.freeze({setLanguage:s,t:u,getCurrentLanguage:c})},en=function(e){var t=e.clientId,n=e.remoteMonitoringEnabled,r=e.apiEndpoints;return{dispatch:function(e){var i=e.message;n&&Rt({url:r.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,data:{client_id:t,source:"browser-client",message:i}})}}};function tn(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function nn(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){tn(o,r,i,a,s,"next",e)}function s(e){tn(o,r,i,a,s,"throw",e)}a(void 0)}))}}var rn=i(4687),on=i.n(rn),an=i(361),sn=i.n(an)(),cn=function(e){var t=e;return(Nt(e)||"user_cancel"===e.message)&&(t.isCancel=!0),t.response&&t.response.data&&(t.response.data.message&&(t.userMessage=t.response.data.message),t.response.data.errors&&(t.userDetails=t.response.data.errors)),t},un=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data,n=e.message,r=sn({message:n});if(t)r.data=t;else{if(!e.result||!e.result.data)throw new Error('Formatting the result failed.\n The function provided to createStep must return an object that has a "data" property.\n You provided: '.concat(JSON.stringify(r),"\n Set shouldFormatResult to false if you wish to disable autoformatting"));r.data=e.result.data}return r},dn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.error},ln=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.shouldFormatResult,r=void 0===n||n;return function(){var t=nn(on().mark((function t(){var n,i,o=arguments;return on().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.apply(void 0,o);case 2:if(n=t.sent,!(i=dn(n))){t.next=6;break}throw cn(i);case 6:return t.abrupt("return",r?un(n):n);case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()};function pn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function fn(e,t){if(e){if("string"==typeof e)return pn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pn(e,t):void 0}}function gn(e){return function(e){if(Array.isArray(e))return pn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}Error;var hn=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],yn=Symbol(".toJSON was called"),mn=function e(t){var r,i,o=t.from,a=t.seen,s=t.to_,c=t.forceEnumerable,u=t.maxDepth,d=t.depth,l=s||(Array.isArray(o)?[]:{});if(a.push(o),d>=u)return l;if("function"==typeof o.toJSON&&!0!==o[yn])return function(e){e[yn]=!0;var t=e.toJSON();return delete e[yn],t}(o);for(var p=0,f=Object.entries(o);p<f.length;p++){var g=(r=f[p],i=2,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,a,s=[],c=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){u=!0,i=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(r,i)||fn(r,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=g[0],y=g[1];"function"==typeof Buffer&&Buffer.isBuffer(y)?l[h]="[object Buffer]":null===y||"object"!==n(y)||"function"!=typeof y.pipe?"function"!=typeof y&&(y&&"object"===n(y)?a.includes(o[h])?l[h]="[Circular]":(d++,l[h]=e({from:o[h],seen:gn(a),forceEnumerable:c,maxDepth:u,depth:d})):l[h]=y):l[h]="[object Stream]"}for(var m=0,v=hn;m<v.length;m++){var I=v[m],S=I.property,T=I.enumerable;"string"==typeof o[S]&&Object.defineProperty(l,S,{value:o[S],enumerable:!!c||T,configurable:!0,writable:!0})}return l};function vn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.maxDepth,i=void 0===r?Number.POSITIVE_INFINITY:r;return"object"===n(e)&&null!==e?mn({from:e,seen:[],forceEnumerable:!0,maxDepth:i,depth:0}):"function"==typeof e?"[Function: ".concat(e.name||"anonymous","]"):e}function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var i=r.coreContext,o=r.apiClient,a=i.i18n,s=i.config,c=i.monitoringService,u=i.iframeMessenger,d=i.logger;return Object.freeze({MODULE_NAME:e,start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Sn(Sn({},jt),n),i=Sn(Sn({},s),e),l=Pt({rawSettings:i,schema:r}),p=l.success,f=l.fail,g=l.finished,h=e.language||a.getCurrentLanguage(),y=o.CancelToken.source(),m=y.token,v={onCancelByUser:function(){},onRefreshByUser:function(){}},I=function(e){v.onCancelByUser=e},S=function(e){v.onRefreshByUser=e},T=function(){y.cancel()},E=function(){v.onCancelByUser(),T()},b=function(){v.onRefreshByUser()},C=function(){var e=nn(on().mark((function e(){return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(Sn(Sn({},l),{},{language:h,i18n:a,monitoringService:c,cancelToken:m,cancel:T,setOnCancelByUser:I,setOnRefreshByUser:S,apiClient:o,iframeMessenger:u,logger:d})).then((function(e){p(e)})).catch((function(e){d.error(e),c.dispatch({message:JSON.stringify(vn(e))}),f(cn(e))})).finally(g);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return C().catch((function(e){d.error(e),c.dispatch({message:JSON.stringify(vn(e))}),f(cn(e)),g(cn(e))})),Object.freeze({cancel:E,refresh:b})}})}};function En(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?En(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):En(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Cn=u.idCard,An=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,c,u;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,i=t.apiClient,o=t.i18n,a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.apiEndpoints.inCurrentMode.readCard({countryCode:e.countryCode,clientId:e.clientId});return e.nonce&&(t+="?nonce=".concat(e.nonce)),i.get({url:t,cancelToken:e.cancelToken})},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=l(s.IDENTIFICATION,Cn,e.countryCode);return i.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},e.next=5,ln(a)(bn(bn({},t),{},{language:r,cancelToken:n})).catch((function(e){throw"ECONNABORTED"===e.code&&(e.userMessage=o.t("id-card-read-timeout")),e}));case 5:return u=e.sent,e.next=8,ln(c)(bn(bn({},t),{},{cancelToken:n,language:r,data:u.data}));case 8:return u=e.sent,e.abrupt("return",u);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_n=Tn(Cn,An,{countryCode:{type:"string",required:!0}}),wn=Object.freeze({fnTimeout:"EFNTIMEDOUT"}),Nn=function(){var e=nn((function(e){var t=e.fn,n=e.shouldContinue,r=e.interval,i=e.fnTimeoutMs,o=void 0===i?864e5:i;return on().mark((function e(){var i,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=0,a=function(){var e=nn(on().mark((function e(s,c){var u,d;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i+=1,e.prev=1,e.next=4,Promise.race([t(),new Promise((function(e,t){return setTimeout((function(){var e=new Error("Function did not resolve in defined time");e.code=wn.fnTimeout,t(e)}),o)}))]);case 4:u=e.sent,d=void 0,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),u=void 0,d=e.t0;case 12:if(!n({result:u,attempts:i,error:d})){e.next=14;break}return e.abrupt("return",setTimeout(a,r,s,c));case 14:return e.abrupt("return",s({result:u,error:d}));case 15:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}(),e.abrupt("return",new Promise(a));case 3:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Rn=Nn,On=[],Dn=function(e){var t=e.instanceId,n=void 0===t?"":t,r=e.consoleLogLevel,i=void 0===r?Gt.error:r,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"log",t=arguments.length>1?arguments[1]:void 0,r=["[".concat(n,"]: ")].concat(gn(t));On.length>1e4&&On.shift();var o,a,s=r.map((function(e){return e instanceof Error?vn(e):e}));On.push(JSON.stringify([e].concat(gn(s)))),Gt[e]>=i&&(console[e]?(o=console)[e].apply(o,gn(r)):(a=console).log.apply(a,gn(r)))};return Object.freeze({debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o("debug",t)},info:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o("info",t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o("error",t)},getLogs:function(){return On}})},Mn=function(e){var t,n=e.pollInterval,r=void 0===n?2e3:n,i=e.maxPollDuration,o=e.fn,a=e.fnTimeoutMs,s=e.fnArgs,c=e.onPoll,u=void 0===c?function(){}:c,d=e.logger,l=void 0===d?Dn({instanceId:"apiPoller"}):d;i&&(t=i/r);var p=0,f=0,g=function(){var e=f;function n(){return e===f}return new Promise((function(e,i){Rn({fn:function(){return o.apply(void 0,gn(s))},fnTimeoutMs:a,shouldContinue:function(e){if(!n())return!1;var r=e.result;l.info("Active poller result",r&&r.data),u(e);var i=r&&r.data&&r.data.status;if(e.error&&e.error.code===wn.fnTimeout)return console.log("Function did not resolve before the provided timeout, trying again",o),!0;var a=Nt(e.error),s=e.error&&!e.error.response&&!a;s&&(p+=1);var c,d,f=!1;return c=e.attempts,(!(d=t)||c<d)&&p<3&&(f=s||"RUNNING"===i||"IN_PROGRESS"===i),f},interval:r}).then((function(t){n()&&(l.info("Active poller final result",t&&t.data),e(t))})).catch((function(e){n()&&i(e)}))}))};return{start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(t,n){g().then(t).catch(n);var r=e.setOnRefreshByUser;(void 0===r?function(){}:r)((function(){f+=1,l.info("Refresh was called, pollerId: ",f),g().then(t).catch(n)}))}))}}};function Un(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Un(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Un(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xn=u.smartId,Ln=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,c,u,d,p,f,g,h,y;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,i=t.idcode,o=t.pollInterval,a=void 0===o?1e3:o,c=t.cancelToken,u=t.language,d=t.apiClient,p=t.setOnRefreshByUser,f=function(e){var t=l(s.IDENTIFICATION,xn);return d.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},g=function(e){var t=l(s.IDENTIFICATION,xn);return d.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language}})},h=function(e){var t=Mn({pollInterval:e.pollInterval,maxPollDuration:12e4,fn:g,fnArgs:[kn(kn({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language})]});return new Promise((function(e,n){t.start({setOnRefreshByUser:p}).then(e).catch(n)}))},e.next=6,ln(f)(kn(kn({},t),{},{cancelToken:c,language:u,idcode:i}));case 6:return y=e.sent,r(y),e.next=10,ln(h)({config:t,data:kn({},y.data),cancelToken:c,pollInterval:a,language:u});case 10:return y=e.sent,e.abrupt("return",y);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Bn=Tn(xn,Ln,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function Pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pn(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jn=u.webEid,Fn=function(e){var t=e.monitoringService,n=e.moduleName;return Object.freeze({log:function(e){t.dispatch({message:"".concat(n,": ").concat(e)})},logError:function(e,r){var i=JSON.stringify(vn(r));t.dispatch({message:"".concat(n,": ").concat(e,", reason: ").concat(i)})}})},Vn=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,c,u,d,p,f,g,h,y;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=Fn({monitoringService:t.monitoringService,moduleName:"Web eID"}),r=t.cancelToken,i=t.language,o=t.apiClient,a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=l(s.IDENTIFICATION,jn);return{data:{url:e.apiEndpoints.inCurrentMode.integrationIframe({clientId:e.clientId,actionType:t.actionType,docId:""})}}},c=function(){var e=nn((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return on().mark((function t(){var i,o,a;return on().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=e.iframeHolder,o=document.createElement("iframe"),a=e.iframeUrl,o.setAttribute("src",a),o.setAttribute("referrerpolicy","origin"),o.style.border="0",i.innerHTML="",i.appendChild(o),t.prev=8,t.next=11,window.eideasyIframeMessenger.send({iframe:o,message:{operation:"ready"},cancelToken:r});case 11:return t.abrupt("return",new Promise((function(e){e(o)})));case 14:throw t.prev=14,t.t0=t.catch(8),n.logError("Failed to create iframe",t.t0),t.t0;case 18:case"end":return t.stop()}}),t,null,[[8,14]])}))()}));return function(){return e.apply(this,arguments)}}(),u=function(){var e=nn(on().mark((function e(t){var i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=t.iframeHolder,o=i.querySelector("iframe"),e.next=5,window.eideasyIframeMessenger.send({iframe:o,message:{operation:"getAuthToken",nonce:t.nonce},cancelToken:r});case 5:return a=e.sent,e.abrupt("return",new Promise((function(e){e(a)})));case 9:throw e.prev=9,e.t0=e.catch(0),n.logError("Failed to start Web eID",e.t0),e.t0;case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}(),d=function(e){var t=l(s.IDENTIFICATION,jn);return o.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{country:e.countryCode,method:t.actionType,lang:e.language}})},p=function(){var e=nn(on().mark((function e(t){var n;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=l(s.IDENTIFICATION,jn),e.abrupt("return",o.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.token,auth_token:t.authToken,method:n.actionType,lang:t.language}}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),e.next=9,ln(a)(Gn(Gn({},t),{},{cancelToken:r}));case 9:return f=e.sent,e.next=12,ln(c,{shouldFormatResult:!1})(Gn(Gn({},t),{},{cancelToken:r,iframeUrl:f.data.url})).catch((function(e){throw e}));case 12:return e.next=14,ln(d)(Gn(Gn({},t),{},{cancelToken:r,language:i}));case 14:return g=e.sent,e.next=17,ln(u,{shouldFormatResult:!1})(Gn(Gn({},t),{},{nonce:g.data.nonce,data:Gn({},g.data),cancelToken:r,language:i}));case 17:return h=e.sent,e.next=20,ln(p)(Gn(Gn({},t),{},{token:h.token,authToken:g.data.token,cancelToken:r}));case 20:return y=e.sent,e.abrupt("return",y);case 22:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Hn=Tn(jn,Vn,{countryCode:{type:"string",required:!0}});function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qn(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qn=u.mobileId,zn=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,c,u,d,p,f,g,h,y;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,i=t.apiClient,o=t.started,a=void 0===o?function(){}:o,c=t.idcode,u=t.phone,d=t.pollInterval,p=void 0===d?1e3:d,f=function(e){var t=l(s.IDENTIFICATION,Qn,e.countryCode);return i.post({url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,phone:e.phone,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},g=function(e){var t=l(s.IDENTIFICATION,Qn,e.countryCode);return i.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language},cancelToken:e.cancelToken})},h=function(e){var t=12e4/p,n=0;return Rn({fn:function(){return g(Kn(Kn({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language}))},shouldContinue:function(e){var r=e.result,i=r&&r.data&&r.data.status,o=Nt(e.error),a=e.error&&!e.error.response&&!o;a&&(n+=1);var s=!1;return e.attempts<t&&n<3&&(s=a||"RUNNING"===i),s},interval:1e3})},e.next=6,ln(f)(Kn(Kn({},t),{},{cancelToken:n,language:r,idcode:c,phone:u}));case 6:return y=e.sent,a(y),e.next=10,ln(h)({config:t,data:y.data,cancelToken:n,language:r,pollInterval:p});case 10:return y=e.sent,e.abrupt("return",y);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Zn=Tn(Qn,zn,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),Wn=u.eParakstsMobile,Jn=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},Yn=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,ln(Jn)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Xn=Tn(Wn,Yn);function $n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$n(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$n(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var tr=u.frejaEid,nr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,c,u,d,p,f,g,h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,i=t.idcode,o=t.pollInterval,a=void 0===o?1e3:o,c=t.cancelToken,u=t.language,d=t.apiClient,p=function(e){var t=l(s.IDENTIFICATION,tr);return d.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},f=function(e){var t=l(s.IDENTIFICATION,tr);return d.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,lang:e.language,timeout:2}})},g=function(e){var t=1e5/e.pollInterval,n=0;return Rn({fn:function(){return f(er(er({},e.config),{},{data:e.data,language:e.language,cancelToken:e.cancelToken}))},shouldContinue:function(e){var r=e.result,i=r&&r.data&&r.data.status,o=Nt(e.error),a=e.error&&!e.error.response&&!o;a&&(n+=1);var s=!1;return e.attempts<t&&n<3&&(s=a||"RUNNING"===i),s},interval:2e3})},e.next=6,ln(p)(er(er({},t),{},{cancelToken:c,language:u,idcode:i}));case 6:return h=e.sent,r(h),e.next=10,ln(g)({config:t,data:er({},h.data),cancelToken:c,language:u,pollInterval:a});case 10:return h=e.sent,e.abrupt("return",h);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),rr=Tn(tr,nr,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function ir(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function or(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ir(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ir(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ar=u.zealId,sr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,c,u;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.apiClient,i=t.language,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:e.clientId})})},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.iframeHolder,n=document.createElement("iframe"),r=e.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",t.innerHTML="";var i=function(e,t,n){var r=new URL(e.data),i=r.searchParams.get("error"),o=r.searchParams.get("code");i?n(i):o?t({data:{code:o}}):n(e.data)},o=new Promise((function(e,t){window.addEventListener("message",(function(n){var o=new URL(r);n.origin===o.origin&&(window.removeEventListener("message",i),i(n,e,t))}))}));return t.appendChild(n),o},c=function(e){var t=l(s.IDENTIFICATION,ar);return r.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{method:t.actionType,code:e.data.code,lang:e.language}})},e.next=6,ln(o)(or(or({},t),{},{cancelToken:n}));case 6:return u=e.sent,e.next=9,ln(a)(or(or({},t),{},{cancelToken:n,iframeUrl:u.data.url}));case 9:return u=e.sent,e.next=12,ln(c)(or(or({},t),{},{cancelToken:n,language:i},u));case 12:return u=e.sent,e.abrupt("return",u);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),cr=Tn(ar,sr,{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),ur=u.mojeId,dr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},lr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,ln(dr)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pr=Tn(ur,lr),fr=u.edoAppEid,gr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.edoAppEid({clientId:n,redirectUri:r})}}},hr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,ln(gr)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),yr=Tn(fr,hr),mr=u.finnishTrustNetwork,vr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:i})}}},Ir=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(vr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Sr=Tn(mr,Ir),Tr=u.atHandy,Er=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},br=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,ln(Er)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Cr=Tn(Tr,br),Ar=u.itsme,_r=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.itsme({clientId:n,redirectUri:r,language:i})}}},wr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(_r)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Nr=Tn(Ar,wr),Rr=u.itsmeBasic,Or=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.itsmeBasic({clientId:n,redirectUri:r,language:i})}}},Dr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(Or)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Mr=Tn(Rr,Dr),Ur=u.itsmeStandard,kr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.itsmeStandard({clientId:n,redirectUri:r,language:i})}}},xr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(kr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Lr=Tn(Ur,xr),Br=u.seBankId,Pr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.seBankId({clientId:n,redirectUri:r,language:i})}}},Gr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(Pr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),jr=Tn(Br,Gr),Fr=u.idin,Vr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.idin({clientId:n,redirectUri:r,language:i})}}},Hr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(Vr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qr=Tn(Fr,Hr),Kr=u.idinCustomerId,Qr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.idinCustomerId({clientId:n,redirectUri:r,language:i})}}},zr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(Qr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Zr=Tn(Kr,zr),Wr=u.verifai,Jr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.verifai({clientId:n,redirectUri:r,language:i})}}},Yr=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(Jr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Xr=Tn(Wr,Yr),$r=u.yoonik,ei=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.yoonik({clientId:n,redirectUri:r,language:i})}}},ti=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(ei)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ni=Tn($r,ti),ri=u.plMojeId,ii=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.plMojeId({clientId:n,redirectUri:r})}}},oi=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,ln(ii)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ai=Tn(ri,oi),si=u.mitId,ci=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.mitId({clientId:n,redirectUri:r,language:i})}}},ui=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(ci)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),di=Tn(si,ui),li=u.mitId2,pi=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.mitId2({clientId:n,redirectUri:r,language:i})}}},fi=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(pi)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),gi=Tn(li,fi),hi=u.norwegianBankId,yi=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.norwegianBankId({clientId:n,redirectUri:r,language:i})}}},mi=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(yi)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),vi=Tn(hi,mi),Ii=u.ftn,Si=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.ftn({clientId:n,redirectUri:r,language:i})}}},Ti=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(Si)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ei=Tn(Ii,Ti),bi=u.gbOneId,Ci=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.gbOneId({clientId:n,redirectUri:r,language:i})}}},Ai=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,ln(Ci)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),_i=Tn(bi,Ai),wi=u.veriff,Ni=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language,o=e.country;return{data:{redirect_uri:t.inCurrentMode.veriff({clientId:n,redirectUri:r,language:i,country:o})}}},Ri=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s,c;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,s=t.country,e.next=3,ln(Ni)({apiEndpoints:r,clientId:i,redirectUri:o,language:a,country:s});case 3:return c=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(c));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Oi=Tn(wi,Ri),Di=u.lIdentiteNumerique,Mi=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language,o=e.country;return{data:{redirect_uri:t.inCurrentMode.lIdentiteNumerique({clientId:n,redirectUri:r,language:i,country:o})}}},Ui=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a,s,c;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,s=t.country,e.next=3,ln(Mi)({apiEndpoints:r,clientId:i,redirectUri:o,language:a,country:s});case 3:return c=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(c));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ki=Tn(Di,Ui),xi=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.userMessage,i=void 0===r?"":r,o=e.details,a=void 0===o?{}:o;this.message=n,this.userMessage=i,this.details=a,this.stack=(new Error).stack};(xi.prototype=new Error).name="MethodException";var Li=xi,Bi={iframeHolder:{type:"object"},docId:{type:"string",required:!0},signingCertificate:{type:"string",required:!1}},Pi=function(e){var t=e.monitoringService,n=e.moduleName;return Object.freeze({log:function(e){t.dispatch({message:"".concat(n,": ").concat(e)})},logError:function(e,r){var i=JSON.stringify(vn(r));t.dispatch({message:"".concat(n,": ").concat(e,", reason: ").concat(i)})}})},Gi=function(e){var t=e.moduleName,n=e.createModuleCreator,r=function(e){var n=e.countryCode,r=e.clientId,i=e.docId,o=e.apiEndpoints,a=l(s.SIGNATURE,t,n);return o.inCurrentMode.integrationIframe({clientId:r,docId:i,actionType:a.actionType})},i=function(e,t){if(e instanceof Error)throw e;var n;throw"no_certificates"===e.result&&(n=t.t("no_certificates")),new Li({userMessage:n,message:e.message,details:e})},o=function(){var e=nn((function(e){var t=e.iframeHolder,n=e.iframeUrl,r=e.monitor,i=e.iframeMessenger,o=e.cancelToken;return on().mark((function e(){var a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=document.createElement("iframe")).setAttribute("src",n),a.setAttribute("referrerpolicy","origin"),a.setAttribute("allow","clipboard-write"),a.style.width="100%",a.style.height="100%",a.style.position="relative",a.style.border="0",t.innerHTML="",r.log("Trying to create iframe with src: ".concat(n)),t.appendChild(a),e.prev=11,e.next=14,i.send({iframe:a,message:{operation:"ready"},cancelToken:o});case 14:return e.abrupt("return",new Promise((function(e){e(a)})));case 17:throw e.prev=17,e.t0=e.catch(11),r.logError("Failed to create iframe",e.t0),e.t0;case 21:case"end":return e.stop()}}),e,null,[[11,17]])}))()}));return function(t){return e.apply(this,arguments)}}(),a=function(){var e=nn((function(e){var t=e.iframeMessenger,n=e.iframe,r=e.country,i=e.cancelToken;return on().mark((function e(){var o;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.send({iframe:n,message:{operation:"getCertificate",country:r},cancelToken:i});case 2:return o=e.sent,e.abrupt("return",{data:{certificate:o.certificate}});case 4:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),c=function(e){var t=e.certificate,n=e.clientId,r=e.docId,i=e.countryCode,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=a.inCurrentMode.startSigning();return s.post({url:u,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:c,certificate:t,base64_certificate:t,country:i},cancelToken:o})},u=function(e){var t=e.iframeMessenger,n=e.iframe,r=e.hexDigests,i=e.signedInfoDigests,o=e.certificate,a=e.country,s=e.monitor,c=e.cancelToken;return s.log("Trying to sign the digests: ".concat(JSON.stringify(r),", ")+"signedInfoDigests: ".concat(JSON.stringify(i))),t.send({iframe:n,message:{operation:"getSignature",hexDigests:r,signedInfoDigests:i,certificate:o,country:a},cancelToken:c})},d=function(e){var t=e.signatures,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.driver,c=e.actionType,u=o.inCurrentMode.completeSignatureIdCard({actionType:c});return a.post({url:u,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:t[0],signatures:t,driver:s},cancelToken:i})},p=function(e){var t=e.certificate,n=e.country,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.actionType,s=i.inCurrentMode.cscApiAuthorizeCredential();return o.post({url:s,withCredentials:!1,data:{sign_type:a,certificate:t,country:n},cancelToken:r})},f=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.signatures,u=e.actionType;return Mn({pollInterval:2e3,maxPollDuration:36e4,fn:d,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s,signatures:c,actionType:u}]}).start()},g=function(){var e=nn((function(e){var n=e.countryCode,d=e.clientId,g=e.apiEndpoints,h=e.iframeHolder,y=e.i18n,m=e.iframeMessenger,v=e.docId,I=e.cancelToken,S=e.apiClient,T=e.monitoringService,E=e.action,b=e.redirect,C=e.signingCertificate;return on().mark((function e(){var A,_,w,N,R,O,D,M,U;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A=Pi({monitoringService:T,moduleName:t}),_=l(s.SIGNATURE,t,n),e.next=4,ln(r,{shouldFormatResult:!1})({countryCode:n,clientId:d,docId:v,apiEndpoints:g});case 4:return w=e.sent,e.next=7,ln(o,{shouldFormatResult:!1})({iframeUrl:w,iframeHolder:h,i18n:y,monitor:A,iframeMessenger:m,cancelToken:I}).catch((function(e){return i(e,y)}));case 7:if(N=e.sent,R=C){e.next=14;break}return e.next=12,ln(a)({iframeMessenger:m,iframe:N,country:n,monitor:A,cancelToken:I}).catch((function(e){return i(e,y)}));case 12:O=e.sent,R=O.data.certificate;case 14:if("cscApiAuthorizeCredential"!==E){e.next=19;break}return e.next=17,ln(p)({certificate:R,actionType:_.actionType,country:n,cancelToken:I,apiEndpoints:g,apiClient:S});case 17:return D=e.sent,e.abrupt("return",ln(b,{shouldFormatResult:!1})(D));case 19:return e.next=21,ln(c)({certificate:R,clientId:d,docId:v,countryCode:n,cancelToken:I,apiEndpoints:g,apiClient:S,monitor:A,actionType:_.actionType});case 21:return M=e.sent,e.next=24,ln(u,{shouldFormatResult:!1})({iframeMessenger:m,iframe:N,hexDigests:[M.data.hexDigest],signedInfoDigests:M.data.signedInfoDigests,certificate:C,monitor:A,cancelToken:I}).catch((function(e){return i(e,y)}));case 24:return U=e.sent,e.abrupt("return",ln(f)({signatures:U.signatures,clientId:d,docId:v,cancelToken:I,apiEndpoints:g,apiClient:S,actionType:_.actionType}));case 26:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}();return n(t,g,Bi)},ji=Gi({moduleName:u.idCardSignature,createModuleCreator:Tn}),Fi=u.mobileIdSignature,Vi=function(e){var t=e.certificate,n=e.country,r=e.phone,i=e.idcode,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=a.inCurrentMode.cscApiAuthorizeCredential();return s.post({url:c,withCredentials:!1,data:{sign_type:"mid-signature",certificate:t,country:n,phone:r,idcode:i},cancelToken:o})},Hi=function(e){var t=e.phone,n=e.idcode,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:"mobile-id",phone:t,idcode:n,country:c,lang:u},cancelToken:o})},qi=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:t.token,doc_id:a,timeout:2,lang:i,client_id:s},cancelToken:o})},Ki=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,maxPollDuration:12e4,fn:qi,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Qi=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.language,u=e.idcode,d=e.phone,p=e.countryCode,f=e.started,g=e.action,h=e.redirect;return on().mark((function e(){var y,m,v;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("cscApiAuthorizeCredential"!==g){e.next=5;break}return e.next=3,ln(Vi)({country:p,idcode:u,phone:d,cancelToken:r,apiEndpoints:i,apiClient:o});case 3:return y=e.sent,e.abrupt("return",ln(h,{shouldFormatResult:!1})(y));case 5:return m=l(s.SIGNATURE,Fi,p),a.dispatch({message:"".concat(m.actionType,": signing started")}),e.next=9,ln(Hi)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:c,idcode:u,phone:d,countryCode:p});case 9:return v=e.sent,f(v),e.abrupt("return",ln(Ki)({data:v.data,apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),zi=Tn(Fi,Qi,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),Zi=u.smartIdSignature,Wi=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=e.waitForChallengeCode,l=a.inCurrentMode.startSigning();return s.post({url:l,withCredentials:!1,data:{doc_id:i,contract_id:t,client_id:r,sign_type:"smart-id",idcode:n,country:c,lang:u,wait_for_challenge_code:d},cancelToken:o})},Ji=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s,timeout:2},cancelToken:o})},Yi=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.onTryComplete,u=e.setOnRefreshByUser,d=Mn({pollInterval:2e3,maxPollDuration:12e4,onPoll:function(e){c({data:e&&e.result&&e.result.data||{}})},fn:Ji,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]});return new Promise((function(e,t){d.start({setOnRefreshByUser:u}).then(e).catch(t)}))},Xi=function(e){var t=e.country,n=e.cancelToken,r=e.apiEndpoints,i=e.apiClient,o=e.idcode,a=r.inCurrentMode.cscApiAuthorizeCredential();return i.post({url:a,withCredentials:!1,data:{sign_type:"smart-id-signature",country:t,idcode:o},cancelToken:n})},$i=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.idcode,p=e.countryCode,f=e.started,g=e.action,h=e.redirect,y=e.onTryComplete,m=e.waitForChallengeCode,v=void 0===m||m,I=e.setOnRefreshByUser;return on().mark((function e(){var m,S,T;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(m=l(s.SIGNATURE,Zi,p),"cscApiAuthorizeCredential"!==g){e.next=6;break}return e.next=4,ln(Xi)({country:p,idcode:d,cancelToken:i,apiEndpoints:o,apiClient:a});case 4:return S=e.sent,e.abrupt("return",ln(h,{shouldFormatResult:!1})(S));case 6:return c.dispatch({message:"".concat(m.actionType,": signing started")}),e.next=9,ln(Wi)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,idcode:d,countryCode:p,contractId:r,waitForChallengeCode:v});case 9:return T=e.sent,f(T),e.abrupt("return",ln(Yi)({data:T.data,apiClient:a,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t,onTryComplete:y,setOnRefreshByUser:I}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),eo=Tn(Zi,$i,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),to=u.evroTrustSignature,no=function(e){var t=e.country,n=e.phone,r=e.email,i=e.idcode,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=a.inCurrentMode.cscApiAuthorizeCredential();return s.post({url:c,withCredentials:!1,data:{sign_type:"evrotrust-signature",country:t,phone:n,email:r,idcode:i},cancelToken:o})},ro=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=e.email,l=e.phone,p=e.actionType,f=a.inCurrentMode.startSigning();return s.post({url:f,withCredentials:!1,data:{doc_id:i,contract_id:t,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:c,lang:u},cancelToken:o})},io=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},oo=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.setOnRefreshByUser,u=e.logger,d=Mn({pollInterval:2e3,fn:io,fnTimeoutMs:15e3,logger:u,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]});return new Promise((function(e,t){d.start({setOnRefreshByUser:c}).then(e).catch(t)}))},ao=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.idcode,p=e.phone,f=e.email,g=e.countryCode,h=e.started,y=e.action,m=e.redirect,v=e.setOnRefreshByUser,I=e.logger;return on().mark((function e(){var S,T,E;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(S=l(s.SIGNATURE,to,g),c.dispatch({message:"".concat(S.actionType,": signing started")}),I.info("".concat(S.actionType,": signing started")),"cscApiAuthorizeCredential"!==y){e.next=10;break}return I.info("".concat(S.actionType,": cscApiAuthorizeCredential called")),e.next=7,ln(no)({country:g,idcode:d,phone:p,email:f,cancelToken:i,apiEndpoints:o,apiClient:a});case 7:return T=e.sent,I.info("".concat(S.actionType,": authorizationResult"),T),e.abrupt("return",ln(m,{shouldFormatResult:!1})(T));case 10:return e.next=12,ln(ro)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,idcode:d,phone:p,email:f,countryCode:g,contractId:r,actionType:S.actionType});case 12:return E=e.sent,I.info("".concat(S.actionType,": signing start result"),E),h(E),e.abrupt("return",ln(oo)({data:E.data,apiClient:a,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t,setOnRefreshByUser:v,logger:I}));case 16:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),so=Tn(to,ao,{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),co=u.otpSignature,uo=function(){var e=nn((function(e){var t=e.language,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.actionType;return on().mark((function e(){var c;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=o.inCurrentMode.startSigning(),e.abrupt("return",a.post({url:c,withCredentials:!1,data:{doc_id:r,client_id:n,sign_type:s,lang:t},cancelToken:i}));case 2:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),lo=function(e){var t=e.startSigningResult,n=e.confirmationCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},po=function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.language,i=e.cancelToken,o=e.docId,a=e.clientId,s=e.emailToken,c=e.smsToken,u=e.handwrittenSignatureData,d=e.handwrittenSignatureDataUrl;return t.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:o,timeout:2,lang:r,client_id:a,email_token:s,sms_token:c,handwritten_signature_data:u,handwritten_signature_data_url:d},cancelToken:i})},fo=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.language,u=e.countryCode,d=e.emailToken,p=e.smsToken,f=e.handwrittenSignatureData,g=e.handwrittenSignatureDataUrl,h=e.started,y=e.confirmationCodeRequest,m=e.setOnCancelByUser;return on().mark((function e(){var v,I,S;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v=l(s.SIGNATURE,co,u),console.log(v),a.dispatch({message:"".concat(v.actionType,": signing started")}),p||d){e.next=13;break}return e.next=6,ln(uo)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:c,actionType:v.actionType});case 6:return I=e.sent,h(I),e.next=10,ln(lo,{shouldFormatResult:!1})({startSigningResult:I,confirmationCodeRequest:y,setOnCancelByUser:m});case 10:S=e.sent,p=S.smsToken,d=S.emailToken;case 13:return e.abrupt("return",ln(po)({apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,emailToken:d,smsToken:p,handwrittenSignatureData:f,handwrittenSignatureDataUrl:g}));case 14:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),go=Tn(co,fo,{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),ho={docId:{type:"string",required:!0},confirmedBySigner:{validator:function(e){return[null,!0,!1].includes(e)}}},yo=function(e){var t=e.certificate,n=e.country,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.actionType,s=i.inCurrentMode.cscApiAuthorizeCredentialRedirect();return o.post({url:s,withCredentials:!1,data:{sign_type:a,certificate:t,country:n},cancelToken:r})},mo=function(e){var t=e.moduleName,n=e.createModuleCreator,r=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.confirmedBySigner,d=e.country,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,confirmed_by_signer:u,country:d},cancelToken:i})},i=function(){var e=nn((function(e){var n=e.clientId,i=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,p=e.language,f=e.countryCode,g=e.redirect,h=e.confirmedBySigner,y=e.action;return on().mark((function e(){var m,v,I;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(m=l(s.SIGNATURE,t,f),"cscApiAuthorizeCredential"!==y){e.next=6;break}return e.next=4,ln(yo)({country:f,cancelToken:a,apiEndpoints:c,apiClient:u,actionType:m.actionType});case 4:return v=e.sent,e.abrupt("return",ln(g,{shouldFormatResult:!1})(v));case 6:return d.dispatch({message:"".concat(m.actionType,": signing started")}),e.next=9,ln(r)({contractId:o,clientId:n,docId:i,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:m.actionType,confirmedBySigner:h,country:f});case 9:return I=e.sent,e.abrupt("return",ln(g,{shouldFormatResult:!1})(I));case 11:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}();return n(t,i,ho)},vo=mo({moduleName:u.eParakstsMobileSignature,createModuleCreator:Tn}),Io=mo({moduleName:u.ftnAdvancedFullSignature,createModuleCreator:Tn}),So=mo({moduleName:u.ftnSignature,createModuleCreator:Tn}),To=mo({moduleName:u.atHandySignature,createModuleCreator:Tn}),Eo=u.zealIdSignature,bo=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.docId;return{data:{redirect_uri:t.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},Co=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.docId,e.next=3,ln(bo)({apiEndpoints:r,clientId:i,docId:o});case 3:return a=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ao=Tn(Eo,Co),_o=mo({moduleName:u.mojeIdSignature,createModuleCreator:Tn}),wo=mo({moduleName:u.serproIdAdvancedSignature,createModuleCreator:Tn}),No=mo({moduleName:u.czBankIDSignature,createModuleCreator:Tn}),Ro=mo({moduleName:u.abaDoSignature,createModuleCreator:Tn}),Oo=mo({moduleName:u.googleSignature,createModuleCreator:Tn}),Do=mo({moduleName:u.seBankIdSignature,createModuleCreator:Tn}),Mo=u.dTrustSignMeSignature,Uo=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.username,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,username:u},cancelToken:i})},ko=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.username,f=e.redirect;return on().mark((function e(){var g,h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=l(s.SIGNATURE,Mo,d),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,ln(Uo)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,username:p,actionType:g.actionType});case 4:return h=e.sent,e.abrupt("return",ln(f,{shouldFormatResult:!1})(h));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),xo=Tn(Mo,ko,{username:{type:"string",required:!0}}),Lo=u.dTrustSignMeAdvSignature,Bo=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.username,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,username:u},cancelToken:i})},Po=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.username,f=e.redirect;return on().mark((function e(){var g,h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=l(s.SIGNATURE,Lo,d),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,ln(Bo)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,username:p,actionType:g.actionType});case 4:return h=e.sent,e.abrupt("return",ln(f,{shouldFormatResult:!1})(h));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Go=Tn(Lo,Po,{username:{type:"string",required:!0}});function jo(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function Fo(e,t){return e&t}function Vo(e,t){return e|t}function Ho(e,t){return e^t}function qo(e,t){return e&~t}function Ko(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function Qo(e){for(var t=0;0!=e;)e&=e-1,++t;return t}var zo,Zo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Wo(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=Zo.charAt(n>>6)+Zo.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=Zo.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=Zo.charAt(n>>2)+Zo.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}function Jo(e){var t,n="",r=0,i=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var o=Zo.indexOf(e.charAt(t));o<0||(0==r?(n+=jo(o>>2),i=3&o,r=1):1==r?(n+=jo(i<<2|o>>4),i=15&o,r=2):2==r?(n+=jo(i),n+=jo(o>>2),i=3&o,r=3):(n+=jo(i<<2|o>>4),n+=jo(15&o),r=0))}return 1==r&&(n+=jo(i<<2)),n}var Yo,Xo={decode:function(e){var t;if(void 0===Yo){var n="= \f\n\r\t \u2028\u2029";for(Yo=Object.create(null),t=0;t<64;++t)Yo["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(Yo["-"]=62,Yo._=63,t=0;t<n.length;++t)Yo[n.charAt(t)]=-1}var r=[],i=0,o=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if("="==a)break;if(-1!=(a=Yo[a])){if(void 0===a)throw new Error("Illegal character at offset "+t);i|=a,++o>=4?(r[r.length]=i>>16,r[r.length]=i>>8&255,r[r.length]=255&i,i=0,o=0):i<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=i>>10;break;case 3:r[r.length]=i>>16,r[r.length]=i>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=Xo.re.exec(e);if(t)if(t[1])e=t[1];else{if(!t[2])throw new Error("RegExp out of sync");e=t[2]}return Xo.decode(e)}},$o=1e13,ea=function(){function e(e){this.buf=[+e||0]}return e.prototype.mulAdd=function(e,t){var n,r,i=this.buf,o=i.length;for(n=0;n<o;++n)(r=i[n]*e+t)<$o?t=0:r-=(t=0|r/$o)*$o,i[n]=r;t>0&&(i[n]=t)},e.prototype.sub=function(e){var t,n,r=this.buf,i=r.length;for(t=0;t<i;++t)(n=r[t]-e)<0?(n+=$o,e=1):e=0,r[t]=n;for(;0===r[r.length-1];)r.pop()},e.prototype.toString=function(e){if(10!=(e||10))throw new Error("only base 10 is supported");for(var t=this.buf,n=t[t.length-1].toString(),r=t.length-2;r>=0;--r)n+=($o+t[r]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*$o+e[n];return t},e.prototype.simplify=function(){var e=this.buf;return 1==e.length?e[0]:this},e}(),ta=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,na=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function ra(e,t){return e.length>t&&(e=e.substring(0,t)+"…"),e}var ia,oa=function(){function e(t,n){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return e.prototype.get=function(e){if(void 0===e&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset "+e+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(e):this.enc[e]},e.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)},e.prototype.hexDump=function(e,t,n){for(var r="",i=e;i<t;++i)if(r+=this.hexByte(this.get(i)),!0!==n)switch(15&i){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},e.prototype.isASCII=function(e,t){for(var n=e;n<t;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0},e.prototype.parseStringISO=function(e,t){for(var n="",r=e;r<t;++r)n+=String.fromCharCode(this.get(r));return n},e.prototype.parseStringUTF=function(e,t){for(var n="",r=e;r<t;){var i=this.get(r++);n+=i<128?String.fromCharCode(i):i>191&&i<224?String.fromCharCode((31&i)<<6|63&this.get(r++)):String.fromCharCode((15&i)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},e.prototype.parseStringBMP=function(e,t){for(var n,r,i="",o=e;o<t;)n=this.get(o++),r=this.get(o++),i+=String.fromCharCode(n<<8|r);return i},e.prototype.parseTime=function(e,t,n){var r=this.parseStringISO(e,t),i=(n?ta:na).exec(r);return i?(n&&(i[1]=+i[1],i[1]+=+i[1]<70?2e3:1900),r=i[1]+"-"+i[2]+"-"+i[3]+" "+i[4],i[5]&&(r+=":"+i[5],i[6]&&(r+=":"+i[6],i[7]&&(r+="."+i[7]))),i[8]&&(r+=" UTC","Z"!=i[8]&&(r+=i[8],i[9]&&(r+=":"+i[9]))),r):"Unrecognized time: "+r},e.prototype.parseInteger=function(e,t){for(var n,r=this.get(e),i=r>127,o=i?255:0,a="";r==o&&++e<t;)r=this.get(e);if(0==(n=t-e))return i?-1:0;if(n>4){for(a=r,n<<=3;0==(128&(+a^o));)a=+a<<1,--n;a="("+n+" bit)\n"}i&&(r-=256);for(var s=new ea(r),c=e+1;c<t;++c)s.mulAdd(256,this.get(c));return a+s.toString()},e.prototype.parseBitString=function(e,t,n){for(var r=this.get(e),i="("+((t-e-1<<3)-r)+" bit)\n",o="",a=e+1;a<t;++a){for(var s=this.get(a),c=a==t-1?r:0,u=7;u>=c;--u)o+=s>>u&1?"1":"0";if(o.length>n)return i+ra(o,n)}return i+o},e.prototype.parseOctetString=function(e,t,n){if(this.isASCII(e,t))return ra(this.parseStringISO(e,t),n);var r=t-e,i="("+r+" byte)\n";r>(n/=2)&&(t=e+n);for(var o=e;o<t;++o)i+=this.hexByte(this.get(o));return r>n&&(i+="…"),i},e.prototype.parseOID=function(e,t,n){for(var r="",i=new ea,o=0,a=e;a<t;++a){var s=this.get(a);if(i.mulAdd(128,127&s),o+=7,!(128&s)){if(""===r)if((i=i.simplify())instanceof ea)i.sub(80),r="2."+i.toString();else{var c=i<80?i<40?0:1:2;r=c+"."+(i-40*c)}else r+="."+i.toString();if(r.length>n)return ra(r,n);i=new ea,o=0}}return o>0&&(r+=".incomplete"),r},e}(),aa=function(){function e(e,t,n,r,i){if(!(r instanceof sa))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=r,this.sub=i}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(e){if(void 0===this.tag)return null;void 0===e&&(e=1/0);var t=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(t)?"false":"true";case 2:return this.stream.parseInteger(t,t+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);case 6:return this.stream.parseOID(t,t+n,e);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return ra(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return ra(this.stream.parseStringISO(t,t+n),e);case 30:return ra(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(e){void 0===e&&(e="");var t=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(t+=" (encapsulates)"),t+="\n",null!==this.sub){e+=" ";for(var n=0,r=this.sub.length;n<r;++n)t+=this.sub[n].toPrettyString(e)}return t},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(e){var t=e.get(),n=127&t;if(n==t)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(0===n)return null;t=0;for(var r=0;r<n;++r)t=256*t+e.get();return t},e.prototype.getHexStringValue=function(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)},e.decode=function(t){var n;n=t instanceof oa?t:new oa(t,0);var r=new oa(n),i=new sa(n),o=e.decodeLength(n),a=n.pos,s=a-r.pos,c=null,u=function(){var t=[];if(null!==o){for(var r=a+o;n.pos<r;)t[t.length]=e.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+a)}else try{for(;;){var i=e.decode(n);if(i.tag.isEOC())break;t[t.length]=i}o=a-n.pos}catch(e){throw new Error("Exception while decoding undefined length content: "+e)}return t};if(i.tagConstructed)c=u();else if(i.isUniversal()&&(3==i.tagNumber||4==i.tagNumber))try{if(3==i.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");c=u();for(var d=0;d<c.length;++d)if(c[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(e){c=null}if(null===c){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+a);n.pos=a+Math.abs(o)}return new e(r,s,o,i,c)},e}(),sa=function(){function e(e){var t=e.get();if(this.tagClass=t>>6,this.tagConstructed=0!=(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new ea;do{t=e.get(),n.mulAdd(128,127&t)}while(128&t);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return 0===this.tagClass},e.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},e}(),ca=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],ua=(1<<26)/ca[ca.length-1],da=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}return e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(i=!0,o=jo(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=jo(n));return i?o:"0"},e.prototype.negate=function(){var t=ha();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+ba(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=ha();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new pa(t):new fa(t),this.exp(e,n)},e.prototype.clone=function(){var e=ha();return this.copyTo(e),e},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t},e.prototype.equals=function(e){return 0==this.compareTo(e)},e.prototype.min=function(e){return this.compareTo(e)<0?this:e},e.prototype.max=function(e){return this.compareTo(e)>0?this:e},e.prototype.and=function(e){var t=ha();return this.bitwiseTo(e,Fo,t),t},e.prototype.or=function(e){var t=ha();return this.bitwiseTo(e,Vo,t),t},e.prototype.xor=function(e){var t=ha();return this.bitwiseTo(e,Ho,t),t},e.prototype.andNot=function(e){var t=ha();return this.bitwiseTo(e,qo,t),t},e.prototype.not=function(){for(var e=ha(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},e.prototype.shiftLeft=function(e){var t=ha();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},e.prototype.shiftRight=function(e){var t=ha();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},e.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+Ko(this[e]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=Qo(this[n]^t);return e},e.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},e.prototype.setBit=function(e){return this.changeBit(e,Vo)},e.prototype.clearBit=function(e){return this.changeBit(e,qo)},e.prototype.flipBit=function(e){return this.changeBit(e,Ho)},e.prototype.add=function(e){var t=ha();return this.addTo(e,t),t},e.prototype.subtract=function(e){var t=ha();return this.subTo(e,t),t},e.prototype.multiply=function(e){var t=ha();return this.multiplyTo(e,t),t},e.prototype.divide=function(e){var t=ha();return this.divRemTo(e,t,null),t},e.prototype.remainder=function(e){var t=ha();return this.divRemTo(e,null,t),t},e.prototype.divideAndRemainder=function(e){var t=ha(),n=ha();return this.divRemTo(e,t,n),[t,n]},e.prototype.modPow=function(e,t){var n,r,i=e.bitLength(),o=Ea(1);if(i<=0)return o;n=i<18?1:i<48?3:i<144?4:i<768?5:6,r=i<8?new pa(t):t.isEven()?new ga(t):new fa(t);var a=[],s=3,c=n-1,u=(1<<n)-1;if(a[1]=r.convert(this),n>1){var d=ha();for(r.sqrTo(a[1],d);s<=u;)a[s]=ha(),r.mulTo(d,a[s-2],a[s]),s+=2}var l,p,f=e.t-1,g=!0,h=ha();for(i=ba(e[f])-1;f>=0;){for(i>=c?l=e[f]>>i-c&u:(l=(e[f]&(1<<i+1)-1)<<c-i,f>0&&(l|=e[f-1]>>this.DB+i-c)),s=n;0==(1&l);)l>>=1,--s;if((i-=s)<0&&(i+=this.DB,--f),g)a[l].copyTo(o),g=!1;else{for(;s>1;)r.sqrTo(o,h),r.sqrTo(h,o),s-=2;s>0?r.sqrTo(o,h):(p=o,o=h,h=p),r.mulTo(h,a[l],o)}for(;f>=0&&0==(e[f]&1<<i);)r.sqrTo(o,h),p=o,o=h,h=p,--i<0&&(i=this.DB-1,--f)}return r.revert(o)},e.prototype.modInverse=function(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),i=this.clone(),o=Ea(1),a=Ea(0),s=Ea(0),c=Ea(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(t,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(e.ONE)?e.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c},e.prototype.pow=function(e){return this.exp(e,new la)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},e.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=ca[ca.length-1]){for(t=0;t<ca.length;++t)if(n[0]==ca[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<ca.length;){for(var r=ca[t],i=t+1;i<ca.length&&r<ua;)r*=ca[i++];for(r=n.modInt(r);t<i;)if(r%ca[t++]==0)return!1}return n.millerRabin(e)},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.prototype.fromString=function(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&+t[i]:Ta(t,i);s<0?"-"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&0!=(128&+t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.lShiftTo=function(e,t){for(var n=e%this.DB,r=this.DB-n,i=(1<<r)-1,o=Math.floor(e/this.DB),a=this.s<<n&this.DM,s=this.t-1;s>=0;--s)t[s+o+1]=this[s]>>r|a,a=(this[s]&i)<<n;for(s=o-1;s>=0;--s)t[s]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}},e.prototype.subTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},e.prototype.multiplyTo=function(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)},e.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,n,r){var i=t.abs();if(!(i.t<=0)){var o=this.abs();if(o.t<i.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=ha());var a=ha(),s=this.s,c=t.s,u=this.DB-ba(i[i.t-1]);u>0?(i.lShiftTo(u,a),o.lShiftTo(u,r)):(i.copyTo(a),o.copyTo(r));var d=a.t,l=a[d-1];if(0!=l){var p=l*(1<<this.F1)+(d>1?a[d-2]>>this.F2:0),f=this.FV/p,g=(1<<this.F1)/p,h=1<<this.F2,y=r.t,m=y-d,v=null==n?ha():n;for(a.dlShiftTo(m,v),r.compareTo(v)>=0&&(r[r.t++]=1,r.subTo(v,r)),e.ONE.dlShiftTo(d,v),v.subTo(a,a);a.t<d;)a[a.t++]=0;for(;--m>=0;){var I=r[--y]==l?this.DM:Math.floor(r[y]*f+(r[y-1]+h)*g);if((r[y]+=a.am(0,I,r,m,0,d))<I)for(a.dlShiftTo(m,v),r.subTo(v,r);r[y]<--I;)r.subTo(v,r)}null!=n&&(r.drShiftTo(d,n),s!=c&&e.ZERO.subTo(n,n)),r.t=d,r.clamp(),u>0&&r.rShiftTo(u,r),s<0&&e.ZERO.subTo(r,r)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var r=ha(),i=ha(),o=n.convert(this),a=ba(t)-1;for(o.copyTo(r);--a>=0;)if(n.sqrTo(r,i),(t&1<<a)>0)n.mulTo(i,o,r);else{var s=r;r=i,i=s}return n.revert(r)},e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=Ea(n),i=ha(),o=ha(),a="";for(this.divRemTo(r,i,o);i.signum()>0;)a=(n+o.intValue()).toString(e).substr(1)+a,i.divRemTo(r,i,o);return o.intValue().toString(e)+a},e.prototype.fromRadix=function(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,c=0;c<t.length;++c){var u=Ta(t,c);u<0?"-"==t.charAt(c)&&0==this.signum()&&(o=!0):(s=n*s+u,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,n,r){if("number"==typeof n)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Vo,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=[],o=7&t;i.length=1+(t>>3),n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}},e.prototype.bitwiseTo=function(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;r<o;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},e.prototype.changeBit=function(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r},e.prototype.addTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},e.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(var i=n.t-this.t;r<i;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(i=Math.min(e.t,t);r<i;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()},e.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},e.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var i=n.shiftRight(r);(t=t+1>>1)>ca.length&&(t=ca.length);for(var o=ha(),a=0;a<t;++a){o.fromInt(ca[Math.floor(Math.random()*ca.length)]);var s=o.modPow(i,this);if(0!=s.compareTo(e.ONE)&&0!=s.compareTo(n)){for(var c=1;c++<r&&0!=s.compareTo(n);)if(0==(s=s.modPowInt(2,this)).compareTo(e.ONE))return!1;if(0!=s.compareTo(n))return!1}}return!0},e.prototype.square=function(){var e=ha();return this.squareTo(e),e},e.prototype.gcda=function(e,t){var n=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(n.compareTo(r)<0){var i=n;n=r,r=i}var o=n.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)t(n);else{o<a&&(a=o),a>0&&(n.rShiftTo(a,n),r.rShiftTo(a,r));var s=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(s,0):(a>0&&r.lShiftTo(a,r),setTimeout((function(){t(r)}),0))};setTimeout(s,10)}},e.prototype.fromNumberAsync=function(t,n,r,i){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Vo,this),this.isEven()&&this.dAddOffset(1,0);var o=this,a=function(){o.dAddOffset(2,0),o.bitLength()>t&&o.subTo(e.ONE.shiftLeft(t-1),o),o.isProbablePrime(n)?setTimeout((function(){i()}),0):setTimeout(a,0)};setTimeout(a,0)}else{var s=[],c=7&t;s.length=1+(t>>3),n.nextBytes(s),c>0?s[0]&=(1<<c)-1:s[0]=0,this.fromString(s,256)}},e}(),la=function(){function e(){}return e.prototype.convert=function(e){return e},e.prototype.revert=function(e){return e},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},e.prototype.sqrTo=function(e,t){e.squareTo(t)},e}(),pa=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),fa=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=ha();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(da.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=ha();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),ga=function(){function e(e){this.m=e,this.r2=ha(),this.q3=ha(),da.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return e.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=ha();return e.copyTo(t),this.reduce(t),t},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function ha(){return new da(null)}function ya(e,t){return new da(e,t)}var ma="undefined"!=typeof navigator;ma&&"Microsoft Internet Explorer"==navigator.appName?(da.prototype.am=function(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,d=s*c+u*a;i=((c=a*c+((32767&d)<<15)+n[r]+(1073741823&i))>>>30)+(d>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i},ia=30):ma&&"Netscape"!=navigator.appName?(da.prototype.am=function(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},ia=26):(da.prototype.am=function(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,d=s*c+u*a;i=((c=a*c+((16383&d)<<14)+n[r]+i)>>28)+(d>>14)+s*u,n[r++]=268435455&c}return i},ia=28),da.prototype.DB=ia,da.prototype.DM=(1<<ia)-1,da.prototype.DV=1<<ia,da.prototype.FV=Math.pow(2,52),da.prototype.F1=52-ia,da.prototype.F2=2*ia-52;var va,Ia,Sa=[];for(va="0".charCodeAt(0),Ia=0;Ia<=9;++Ia)Sa[va++]=Ia;for(va="a".charCodeAt(0),Ia=10;Ia<36;++Ia)Sa[va++]=Ia;for(va="A".charCodeAt(0),Ia=10;Ia<36;++Ia)Sa[va++]=Ia;function Ta(e,t){var n=Sa[e.charCodeAt(t)];return null==n?-1:n}function Ea(e){var t=ha();return t.fromInt(e),t}function ba(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}da.ZERO=Ea(0),da.ONE=Ea(1);var Ca,Aa,_a=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0},e.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},e}(),wa=null;if(null==wa){wa=[],Aa=0;var Na=void 0;if(window.crypto&&window.crypto.getRandomValues){var Ra=new Uint32Array(256);for(window.crypto.getRandomValues(Ra),Na=0;Na<Ra.length;++Na)wa[Aa++]=255&Ra[Na]}var Oa=0,Da=function(e){if((Oa=Oa||0)>=256||Aa>=256)window.removeEventListener?window.removeEventListener("mousemove",Da,!1):window.detachEvent&&window.detachEvent("onmousemove",Da);else try{var t=e.x+e.y;wa[Aa++]=255&t,Oa+=1}catch(e){}};window.addEventListener?window.addEventListener("mousemove",Da,!1):window.attachEvent&&window.attachEvent("onmousemove",Da)}function Ma(){if(null==Ca){for(Ca=new _a;Aa<256;){var e=Math.floor(65536*Math.random());wa[Aa++]=255&e}for(Ca.init(wa),Aa=0;Aa<wa.length;++Aa)wa[Aa]=0;Aa=0}return Ca.next()}var Ua=function(){function e(){}return e.prototype.nextBytes=function(e){for(var t=0;t<e.length;++t)e[t]=Ma()},e}(),ka=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);for(var t=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);t.compareTo(n)<0;)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},e.prototype.setPublic=function(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=ya(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(e){var t=this.n.bitLength()+7>>3,n=function(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;for(var n=[],r=e.length-1;r>=0&&t>0;){var i=e.charCodeAt(r--);i<128?n[--t]=i:i>127&&i<2048?(n[--t]=63&i|128,n[--t]=i>>6|192):(n[--t]=63&i|128,n[--t]=i>>6&63|128,n[--t]=i>>12|224)}n[--t]=0;for(var o=new Ua,a=[];t>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);n[--t]=a[0]}return n[--t]=2,n[--t]=0,new da(n)}(e,t);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;for(var i=r.toString(16),o=i.length,a=0;a<2*t-o;a++)i="0"+i;return i},e.prototype.setPrivate=function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=ya(e,16),this.e=parseInt(t,16),this.d=ya(n,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(e,t,n,r,i,o,a,s){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=ya(e,16),this.e=parseInt(t,16),this.d=ya(n,16),this.p=ya(r,16),this.q=ya(i,16),this.dmp1=ya(o,16),this.dmq1=ya(a,16),this.coeff=ya(s,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(e,t){var n=new Ua,r=e>>1;this.e=parseInt(t,16);for(var i=new da(t,16);;){for(;this.p=new da(e-r,1,n),0!=this.p.subtract(da.ONE).gcd(i).compareTo(da.ONE)||!this.p.isProbablePrime(10););for(;this.q=new da(r,1,n),0!=this.q.subtract(da.ONE).gcd(i).compareTo(da.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(da.ONE),s=this.q.subtract(da.ONE),c=a.multiply(s);if(0==c.gcd(i).compareTo(da.ONE)){this.n=this.p.multiply(this.q),this.d=i.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(s),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(e){var t=ya(e,16),n=this.doPrivate(t);return null==n?null:function(e,t){for(var n=e.toByteArray(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=t-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var i="";++r<n.length;){var o=255&n[r];o<128?i+=String.fromCharCode(o):o>191&&o<224?(i+=String.fromCharCode((31&o)<<6|63&n[r+1]),++r):(i+=String.fromCharCode((15&o)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return i}(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(e,t,n){var r=new Ua,i=e>>1;this.e=parseInt(t,16);var o=new da(t,16),a=this,s=function(){var t=function(){if(a.p.compareTo(a.q)<=0){var e=a.p;a.p=a.q,a.q=e}var t=a.p.subtract(da.ONE),r=a.q.subtract(da.ONE),i=t.multiply(r);0==i.gcd(o).compareTo(da.ONE)?(a.n=a.p.multiply(a.q),a.d=o.modInverse(i),a.dmp1=a.d.mod(t),a.dmq1=a.d.mod(r),a.coeff=a.q.modInverse(a.p),setTimeout((function(){n()}),0)):setTimeout(s,0)},c=function(){a.q=ha(),a.q.fromNumberAsync(i,1,r,(function(){a.q.subtract(da.ONE).gcda(o,(function(e){0==e.compareTo(da.ONE)&&a.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(c,0)}))}))},u=function(){a.p=ha(),a.p.fromNumberAsync(e-i,1,r,(function(){a.p.subtract(da.ONE).gcda(o,(function(e){0==e.compareTo(da.ONE)&&a.p.isProbablePrime(10)?setTimeout(c,0):setTimeout(u,0)}))}))};setTimeout(u,0)};setTimeout(s,0)},e.prototype.sign=function(e,t,n){var r=function(e,t){if(t<e.length+22)return console.error("Message too long for RSA"),null;for(var n=t-e.length-6,r="",i=0;i<n;i+=2)r+="ff";return ya("0001"+r+"00"+e,16)}((xa[n]||"")+t(e).toString(),this.n.bitLength()/4);if(null==r)return null;var i=this.doPrivate(r);if(null==i)return null;var o=i.toString(16);return 0==(1&o.length)?o:"0"+o},e.prototype.verify=function(e,t,n){var r=ya(t,16),i=this.doPublic(r);return null==i?null:function(e){for(var t in xa)if(xa.hasOwnProperty(t)){var n=xa[t],r=n.length;if(e.substr(0,r)==n)return e.substr(r)}return e}(i.toString(16).replace(/^1f+00/,""))==n(e).toString()},e}(),xa={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},La={};La.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),n){var i;for(i in n)e.prototype[i]=n[i];var o=function(){},a=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(e,t){for(i=0;i<a.length;i+=1){var n=a[i],r=t[n];"function"==typeof r&&r!=Object.prototype[n]&&(e[n]=r)}})}catch(e){}o(e.prototype,n)}}};var Ba={};void 0!==Ba.asn1&&Ba.asn1||(Ba.asn1={}),Ba.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1).length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var r="",i=0;i<n;i++)r+="f";t=new da(r,16).xor(e).add(da.ONE).toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=Ba.asn1,n=t.DERBoolean,r=t.DERInteger,i=t.DERBitString,o=t.DEROctetString,a=t.DERNull,s=t.DERObjectIdentifier,c=t.DEREnumerated,u=t.DERUTF8String,d=t.DERNumericString,l=t.DERPrintableString,p=t.DERTeletexString,f=t.DERIA5String,g=t.DERUTCTime,h=t.DERGeneralizedTime,y=t.DERSequence,m=t.DERSet,v=t.DERTaggedObject,I=t.ASN1Util.newObject,S=Object.keys(e);if(1!=S.length)throw"key of param shall be only one.";var T=S[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+T+":"))throw"undefined key: "+T;if("bool"==T)return new n(e[T]);if("int"==T)return new r(e[T]);if("bitstr"==T)return new i(e[T]);if("octstr"==T)return new o(e[T]);if("null"==T)return new a(e[T]);if("oid"==T)return new s(e[T]);if("enum"==T)return new c(e[T]);if("utf8str"==T)return new u(e[T]);if("numstr"==T)return new d(e[T]);if("prnstr"==T)return new l(e[T]);if("telstr"==T)return new p(e[T]);if("ia5str"==T)return new f(e[T]);if("utctime"==T)return new g(e[T]);if("gentime"==T)return new h(e[T]);if("seq"==T){for(var E=e[T],b=[],C=0;C<E.length;C++){var A=I(E[C]);b.push(A)}return new y({array:b})}if("set"==T){for(E=e[T],b=[],C=0;C<E.length;C++)A=I(E[C]),b.push(A);return new m({array:b})}if("tag"==T){var _=e[T];if("[object Array]"===Object.prototype.toString.call(_)&&3==_.length){var w=I(_[2]);return new v({tag:_[0],explicit:_[1],obj:w})}var N={};if(void 0!==_.explicit&&(N.explicit=_.explicit),void 0!==_.tag&&(N.tag=_.tag),void 0===_.obj)throw"obj shall be specified for 'tag'.";return N.obj=I(_.obj),new v(N)}},this.jsonToASN1HEX=function(e){return this.newObject(e).getEncodedHex()}},Ba.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),r=(t=Math.floor(n/40)+"."+n%40,""),i=2;i<e.length;i+=2){var o=("00000000"+parseInt(e.substr(i,2),16).toString(2)).slice(-8);r+=o.substr(1,7),"0"==o.substr(0,1)&&(t=t+"."+new da(r,2).toString(10),r="")}return t},Ba.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new da(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);return r},Ba.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var e=this.hV.length/2,t=e.toString(16);if(t.length%2==1&&(t="0"+t),e<128)return t;var n=t.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+n).toString(16)+t},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},Ba.asn1.DERAbstractString=function(e){Ba.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},La.lang.extend(Ba.asn1.DERAbstractString,Ba.asn1.ASN1Object),Ba.asn1.DERAbstractTime=function(e){Ba.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){return utc=e.getTime()+6e4*e.getTimezoneOffset(),new Date(utc)},this.formatDate=function(e,t,n){var r=this.zeroPadding,i=this.localDateToUTC(e),o=String(i.getFullYear());"utc"==t&&(o=o.substr(2,2));var a=o+r(String(i.getMonth()+1),2)+r(String(i.getDate()),2)+r(String(i.getHours()),2)+r(String(i.getMinutes()),2)+r(String(i.getSeconds()),2);if(!0===n){var s=i.getMilliseconds();if(0!=s){var c=r(String(s),3);a=a+"."+(c=c.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,r,i,o){var a=new Date(Date.UTC(e,t-1,n,r,i,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},La.lang.extend(Ba.asn1.DERAbstractTime,Ba.asn1.ASN1Object),Ba.asn1.DERAbstractStructured=function(e){Ba.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},La.lang.extend(Ba.asn1.DERAbstractStructured,Ba.asn1.ASN1Object),Ba.asn1.DERBoolean=function(){Ba.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},La.lang.extend(Ba.asn1.DERBoolean,Ba.asn1.ASN1Object),Ba.asn1.DERInteger=function(e){Ba.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=Ba.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new da(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},La.lang.extend(Ba.asn1.DERInteger,Ba.asn1.ASN1Object),Ba.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=Ba.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}Ba.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){var t=8-(e=e.replace(/0+$/,"")).length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";var r="";for(n=0;n<e.length-1;n+=8){var i=e.substr(n,8),o=parseInt(i,2).toString(16);1==o.length&&(o="0"+o),r+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+r},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)1==e[n]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):void 0!==e.hex?this.setHexValueIncludingUnusedBits(e.hex):void 0!==e.bin?this.setByBinaryString(e.bin):void 0!==e.array&&this.setByBooleanArray(e.array))},La.lang.extend(Ba.asn1.DERBitString,Ba.asn1.ASN1Object),Ba.asn1.DEROctetString=function(e){if(void 0!==e&&void 0!==e.obj){var t=Ba.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}Ba.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},La.lang.extend(Ba.asn1.DEROctetString,Ba.asn1.DERAbstractString),Ba.asn1.DERNull=function(){Ba.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},La.lang.extend(Ba.asn1.DERNull,Ba.asn1.ASN1Object),Ba.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new da(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};Ba.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(e){var t=Ba.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},La.lang.extend(Ba.asn1.DERObjectIdentifier,Ba.asn1.ASN1Object),Ba.asn1.DEREnumerated=function(e){Ba.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=Ba.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new da(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},La.lang.extend(Ba.asn1.DEREnumerated,Ba.asn1.ASN1Object),Ba.asn1.DERUTF8String=function(e){Ba.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},La.lang.extend(Ba.asn1.DERUTF8String,Ba.asn1.DERAbstractString),Ba.asn1.DERNumericString=function(e){Ba.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},La.lang.extend(Ba.asn1.DERNumericString,Ba.asn1.DERAbstractString),Ba.asn1.DERPrintableString=function(e){Ba.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},La.lang.extend(Ba.asn1.DERPrintableString,Ba.asn1.DERAbstractString),Ba.asn1.DERTeletexString=function(e){Ba.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},La.lang.extend(Ba.asn1.DERTeletexString,Ba.asn1.DERAbstractString),Ba.asn1.DERIA5String=function(e){Ba.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},La.lang.extend(Ba.asn1.DERIA5String,Ba.asn1.DERAbstractString),Ba.asn1.DERUTCTime=function(e){Ba.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},La.lang.extend(Ba.asn1.DERUTCTime,Ba.asn1.DERAbstractTime),Ba.asn1.DERGeneralizedTime=function(e){Ba.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},La.lang.extend(Ba.asn1.DERGeneralizedTime,Ba.asn1.DERAbstractTime),Ba.asn1.DERSequence=function(e){Ba.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++)e+=this.asn1Array[t].getEncodedHex();return this.hV=e,this.hV}},La.lang.extend(Ba.asn1.DERSequence,Ba.asn1.DERAbstractStructured),Ba.asn1.DERSet=function(e){Ba.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},void 0!==e&&void 0!==e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},La.lang.extend(Ba.asn1.DERSet,Ba.asn1.DERAbstractStructured),Ba.asn1.DERTaggedObject=function(e){Ba.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.tag&&(this.hT=e.tag),void 0!==e.explicit&&(this.isExplicit=e.explicit),void 0!==e.obj&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},La.lang.extend(Ba.asn1.DERTaggedObject,Ba.asn1.ASN1Object);var Pa,Ga=(Pa=function(e,t){return Pa=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Pa(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Pa(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),ja=function(e){function t(n){var r=e.call(this)||this;return n&&("string"==typeof n?r.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return Ga(t,e),t.prototype.parseKey=function(e){try{var t=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?function(e){var t;if(void 0===zo){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(zo={},t=0;t<16;++t)zo[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)zo[n.charAt(t)]=t;for(t=0;t<r.length;++t)zo[r.charAt(t)]=-1}var i=[],o=0,a=0;for(t=0;t<e.length;++t){var s=e.charAt(t);if("="==s)break;if(-1!=(s=zo[s])){if(void 0===s)throw new Error("Illegal character at offset "+t);o|=s,++a>=2?(i[i.length]=o,o=0,a=0):o<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return i}(e):Xo.unarmor(e),i=aa.decode(r);if(3===i.sub.length&&(i=i.sub[2].sub[0]),9===i.sub.length){t=i.sub[1].getHexStringValue(),this.n=ya(t,16),n=i.sub[2].getHexStringValue(),this.e=parseInt(n,16);var o=i.sub[3].getHexStringValue();this.d=ya(o,16);var a=i.sub[4].getHexStringValue();this.p=ya(a,16);var s=i.sub[5].getHexStringValue();this.q=ya(s,16);var c=i.sub[6].getHexStringValue();this.dmp1=ya(c,16);var u=i.sub[7].getHexStringValue();this.dmq1=ya(u,16);var d=i.sub[8].getHexStringValue();this.coeff=ya(d,16)}else{if(2!==i.sub.length)return!1;var l=i.sub[1].sub[0];t=l.sub[0].getHexStringValue(),this.n=ya(t,16),n=l.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(e){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new Ba.asn1.DERInteger({int:0}),new Ba.asn1.DERInteger({bigint:this.n}),new Ba.asn1.DERInteger({int:this.e}),new Ba.asn1.DERInteger({bigint:this.d}),new Ba.asn1.DERInteger({bigint:this.p}),new Ba.asn1.DERInteger({bigint:this.q}),new Ba.asn1.DERInteger({bigint:this.dmp1}),new Ba.asn1.DERInteger({bigint:this.dmq1}),new Ba.asn1.DERInteger({bigint:this.coeff})]};return new Ba.asn1.DERSequence(e).getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return Wo(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new Ba.asn1.DERSequence({array:[new Ba.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new Ba.asn1.DERNull]}),t=new Ba.asn1.DERSequence({array:[new Ba.asn1.DERInteger({bigint:this.n}),new Ba.asn1.DERInteger({int:this.e})]}),n=new Ba.asn1.DERBitString({hex:"00"+t.getEncodedHex()});return new Ba.asn1.DERSequence({array:[e,n]}).getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return Wo(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(!e)return e;var n="(.{1,"+(t=t||64)+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(n,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return(e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return(e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},t.hasPublicKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(ka),Fa=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new ja(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(Jo(e))}catch(e){return!1}},e.prototype.encrypt=function(e){try{return Wo(this.getKey().encrypt(e))}catch(e){return!1}},e.prototype.sign=function(e,t,n){try{return Wo(this.getKey().sign(e,t,n))}catch(e){return!1}},e.prototype.verify=function(e,t,n){try{return this.getKey().verify(e,Jo(t),n)}catch(e){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new ja,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version="3.2.1",e}(),Va=u.chaveMovelSignature,Ha={publicKey:null},qa=function(){var e=nn((function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.cancelToken;return on().mark((function e(){var i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.inCurrentMode.getChaveMovelPublicKey(),e.next=3,t.get({url:i,withCredentials:!1,cancelToken:r});case 3:if((o=e.sent).data.publicKey){e.next=6;break}return e.abrupt("return",{});case 6:return a=atob(o.data.publicKey),Ha.publicKey=a,e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Ka=function(){var e=nn((function(e){var t=e.signingPin,n=e.phone,r=e.language,i=e.clientId,o=e.docId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,u=e.actionType;return on().mark((function e(){var d,l,p;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d=s.inCurrentMode.startSigning(),e.next=3,qa({apiClient:c,apiEndpoints:s,cancelToken:a});case 3:return l=e.sent,(p=new Fa).setPublicKey(l),e.abrupt("return",c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:i,sign_type:u,lang:r,signing_pin:p.encrypt(t),phone:p.encrypt(n)},cancelToken:a}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Qa=function(e){var t=e.startSigningResult,n=e.confirmationCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},za=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.confirmationCode,u=new Fa;return u.setPublicKey(Ha.publicKey),n.post({url:r.inCurrentMode.completeSignatureChaveMovel(),withCredentials:!1,data:{token:t,doc_id:a,lang:i,client_id:s,confirmation_code:u.encrypt(c)},cancelToken:o})},Za=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.countryCode,u=e.language,d=e.started,p=e.confirmationCodeRequest,f=e.signingPin,g=e.phone,h=e.setOnCancelByUser;return on().mark((function e(){var y,m,v;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y=l(s.SIGNATURE,Va,c),a.dispatch({message:"".concat(y.actionType,": signing started")}),e.next=4,ln(Ka)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:u,actionType:y.actionType,signingPin:f,phone:g});case 4:return m=e.sent,d(m),e.next=8,ln(Qa,{shouldFormatResult:!1})({startSigningResult:m,confirmationCodeRequest:p,setOnCancelByUser:h});case 8:return v=e.sent,e.abrupt("return",ln(za)({token:m.data.token,apiClient:o,apiEndpoints:i,language:u,cancelToken:r,docId:n,clientId:t,confirmationCode:v}));case 10:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Wa=Tn(Va,Za,{pin:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),Ja=u.eCertChileSignature,Ya=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.idcode,d=e.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,idcode:u,email:d},cancelToken:i})},Xa=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.idcode,f=e.email,g=e.redirect;return on().mark((function e(){var h,y;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=l(s.SIGNATURE,Ja,d),c.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,ln(Ya)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,idcode:p,email:f,actionType:h.actionType});case 4:return y=e.sent,e.abrupt("return",ln(g,{shouldFormatResult:!1})(y));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),$a=Tn(Ja,Xa,{idcode:{type:"string",required:!0},email:{type:"string",required:!0}}),es=mo({moduleName:u.mitIdSignature,createModuleCreator:Tn}),ts=u.ftnQesSignature,ns=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.phone,d=e.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,phone:u,email:d},cancelToken:i})},rs=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.phone,f=e.email,g=e.redirect;return on().mark((function e(){var h,y;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=l(s.SIGNATURE,ts,d),c.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,ln(ns)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,phone:p,email:f,actionType:h.actionType});case 4:return y=e.sent,e.abrupt("return",ln(g,{shouldFormatResult:!1})(y));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),is=Tn(ts,rs,{phone:{type:"string",required:!0},email:{type:"string",required:!0}}),os=u.noBankIdAdvSignature,as=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.name,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,name:u},cancelToken:i})},ss=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.name,f=e.redirect;return on().mark((function e(){var g,h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=l(s.SIGNATURE,os,d),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,ln(as)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,name:p,actionType:g.actionType});case 4:return h=e.sent,e.abrupt("return",ln(f,{shouldFormatResult:!1})(h));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),cs=Tn(os,ss,{name:{type:"string",required:!0}}),us=mo({moduleName:u.noBankIdAdvLightSignature,createModuleCreator:Tn}),ds=Gi({moduleName:u.certEuropeUsbTokenSignature,createModuleCreator:Tn}),ls=Gi({moduleName:u.certSignUsbTokenSignature,createModuleCreator:Tn}),ps=mo({moduleName:u.idinSignature,createModuleCreator:Tn}),fs=mo({moduleName:u.verifaiSignature,createModuleCreator:Tn}),gs=u.spidQesSignature,hs=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.phone,d=e.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,phone:u,email:d},cancelToken:i})},ys=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.phone,f=e.email,g=e.redirect;return on().mark((function e(){var h,y;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=l(s.SIGNATURE,gs,d),c.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,ln(hs)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,phone:p,email:f,actionType:h.actionType});case 4:return y=e.sent,e.abrupt("return",ln(g,{shouldFormatResult:!1})(y));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ms=Tn(gs,ys,{email:{type:"string",required:!0},phone:{type:"string",required:!0}}),vs=u.frejaSimpleSignature,Is=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},Ss=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureFrejaSimple(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Ts=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:Ss,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Es=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.idcode,u=e.countryCode,d=e.language,p=e.started;return on().mark((function e(){var f,g;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=l(s.SIGNATURE,vs,u),a.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,ln(Is)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:d,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,p(g),e.abrupt("return",ln(Ts)({data:g.data,apiClient:o,apiEndpoints:i,language:d,cancelToken:r,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),bs=Tn(vs,Es,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Cs=u.audkenniQesSignature,As=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},_s=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.continueSignatureAudkenni(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},ws=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureAudkenni(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Ns=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:_s,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Rs=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:ws,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Os=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.idcode,u=e.countryCode,d=e.language,p=e.started;return on().mark((function e(){var f,g,h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=l(s.SIGNATURE,Cs,u),a.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,ln(As)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:d,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,e.next=7,ln(Ns)({data:g.data,apiClient:o,apiEndpoints:i,language:d,cancelToken:r,docId:n,clientId:t});case 7:return h=e.sent,p(h),e.abrupt("return",ln(Rs)({data:h.data,apiClient:o,apiEndpoints:i,language:d,cancelToken:r,docId:n,clientId:t}));case 10:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Ds=Tn(Cs,Os,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Ms=mo({moduleName:u.yesComQesSignature,createModuleCreator:Tn}),Us=mo({moduleName:u.simplySignQesSignature,createModuleCreator:Tn}),ks=u.uanatacaQesSignature,xs=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.username,d=e.password,l=e.pin,p=o.inCurrentMode.startSigning();return a.post({url:p,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,username:u,password:d,pin:l},cancelToken:i})},Ls=function(e){var t=e.startSigningResult,n=e.confirmationCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},Bs=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.confirmationCode;return n.post({url:r.inCurrentMode.completeSignatureUanataca(),withCredentials:!1,data:{token:t,doc_id:a,lang:i,client_id:s,confirmation_code:c},cancelToken:o})},Ps=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.username,f=e.password,g=e.pin,h=e.confirmationCodeRequest,y=e.setOnCancelByUser,m=e.started;return on().mark((function e(){var v,I,S;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v=l(s.SIGNATURE,ks,d),c.dispatch({message:"".concat(v.actionType,": signing started")}),e.next=4,ln(xs)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,username:p,password:f,pin:g,actionType:v.actionType});case 4:return I=e.sent,m(I),e.next=8,ln(Ls,{shouldFormatResult:!1})({startSigningResult:I,confirmationCodeRequest:h,setOnCancelByUser:y});case 8:return S=e.sent,e.abrupt("return",ln(Bs)({token:I.data.token,apiClient:a,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t,confirmationCode:S}));case 10:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Gs=Tn(ks,Ps,{username:{type:"string",required:!0},password:{type:"string",required:!0},pin:{type:"string",required:!0}}),js=u.infoCertQesSignature,Fs=function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.language,s=e.actionType,c=e.userId,u=i.inCurrentMode.startSigning();return o.post({url:u,withCredentials:!1,data:{doc_id:n,client_id:t,sign_type:s,lang:a,user_id:c},cancelToken:r})},Vs=function(e){var t=e.startSigningResult,n=e.otpCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},Hs=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.pin,u=e.otp;return n.post({url:r.inCurrentMode.completeSignatureInfoCert(),withCredentials:!1,data:{token:t,doc_id:a,lang:i,client_id:s,pin:c,otp:u},cancelToken:o})},qs=function(e){var t=e.country,n=e.userId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=i.inCurrentMode.cscApiAuthorizeCredential();return o.post({url:a,withCredentials:!1,data:{sign_type:"infocert-qes-signature",user_id:n,country:t},cancelToken:r})},Ks=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.otp,u=e.pin;return Mn({pollInterval:2e3,fn:Hs,fnArgs:[{token:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s,otp:c,pin:u}]}).start()},Qs=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.language,u=e.countryCode,d=e.userId,p=e.action,f=e.otpCodeRequest,g=e.setOnCancelByUser,h=e.started,y=e.logger,m=e.redirect;return on().mark((function e(){var v,I,S,T,E,b;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v=l(s.SIGNATURE,js,u),a.dispatch({message:"".concat(v.actionType,": signing started")}),"cscApiAuthorizeCredential"!==p){e.next=9;break}return y.info("".concat(v.actionType,": cscApiAuthorizeCredential called")),e.next=6,ln(qs)({country:u,userId:d,cancelToken:r,apiEndpoints:i,apiClient:o,logger:y});case 6:return I=e.sent,y.info("".concat(v.actionType,": authorizationResult"),I),e.abrupt("return",ln(m,{shouldFormatResult:!1})(I));case 9:return e.next=11,ln(Fs)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:c,userId:d,actionType:v.actionType});case 11:return S=e.sent,h(S),e.next=15,ln(Vs,{shouldFormatResult:!1})({startSigningResult:S,otpCodeRequest:f,setOnCancelByUser:g});case 15:return T=e.sent,E=T.otp,b=T.pin,e.abrupt("return",ln(Ks)({token:S.data.token,apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,otp:E,pin:b}));case 19:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),zs=Tn(js,Qs,{userId:{type:"string",required:!0}}),Zs=mo({moduleName:u.certsignWebapiQesSignature,createModuleCreator:Tn}),Ws=u.halcomQesSignature,Js=function(e){var t=e.certificate,n=e.country,r=e.phone,i=e.email,o=e.username,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,u=s.inCurrentMode.cscApiAuthorizeCredential();return c.post({url:u,withCredentials:!1,data:{sign_type:"halcom-qes-signature",certificate:t,country:n,phone:r,email:i,username:o},cancelToken:a})},Ys=function(e){var t=e.contractId,n=e.username,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=e.email,l=e.phone,p=e.actionType,f=a.inCurrentMode.startSigning();return s.post({url:f,withCredentials:!1,data:{doc_id:i,contract_id:t,client_id:r,sign_type:p,username:n,email:d,phone:l,country:c,lang:u},cancelToken:o})},Xs=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureHalcom(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},$s=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:Xs,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},ec=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.username,p=e.phone,f=e.email,g=e.countryCode,h=e.started,y=e.action,m=e.redirect;return on().mark((function e(){var v,I,S;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v=l(s.SIGNATURE,Ws,g),c.dispatch({message:"".concat(v.actionType,": signing started")}),"cscApiAuthorizeCredential"!==y){e.next=7;break}return e.next=5,ln(Js)({country:g,username:d,phone:p,email:f,cancelToken:i,apiEndpoints:o,apiClient:a});case 5:return I=e.sent,e.abrupt("return",ln(m,{shouldFormatResult:!1})(I));case 7:return e.next=9,ln(Ys)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,username:d,phone:p,email:f,countryCode:g,contractId:r,actionType:v.actionType});case 9:return S=e.sent,h(S),e.abrupt("return",ln($s)({data:S.data,apiClient:a,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),tc=Tn(Ws,ec,{countryCode:{type:"string",required:!0},username:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),nc=u.swissIdQesSignature,rc=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.countryCode,c=e.language,u=e.email,d=e.actionType,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:d,email:u,country:s,lang:c},cancelToken:i})},ic=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSwissId(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},oc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:ic,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},ac=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.email,p=e.countryCode,f=e.started;return on().mark((function e(){var g,h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=l(s.SIGNATURE,nc,p),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,ln(rc)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,email:d,countryCode:p,contractId:r,actionType:g.actionType});case 4:return h=e.sent,f(h),e.abrupt("return",ln(oc)({data:h.data,apiClient:a,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),sc=Tn(nc,ac,{countryCode:{type:"string",required:!0},email:{type:"string",required:!0},docId:{type:"string",required:!0}}),cc=u.swissComQesSignature,uc=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.countryCode,c=e.language,u=e.phone,d=e.actionType,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:d,phone:u,country:s,lang:c},cancelToken:i})},dc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSwissCom(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},lc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:dc,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},pc=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.phone,p=e.countryCode,f=e.started;return on().mark((function e(){var g,h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=l(s.SIGNATURE,cc,p),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,ln(uc)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,phone:d,countryCode:p,contractId:r,actionType:g.actionType});case 4:return h=e.sent,f(h),e.abrupt("return",ln(lc)({data:h.data,apiClient:a,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),fc=Tn(cc,pc,{countryCode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),gc=mo({moduleName:u.mitIdAdvancedSignature,createModuleCreator:Tn}),hc=mo({moduleName:u.mitIdQesSignature,createModuleCreator:Tn}),yc=mo({moduleName:u.seBankIdAdvancedSignature,createModuleCreator:Tn}),mc=mo({moduleName:u.seBankIdQesSignature,createModuleCreator:Tn}),vc=u.frejaAdvancedSignature,Ic=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},Sc=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.idcode,u=e.countryCode,d=e.language,p=e.redirect;return on().mark((function e(){var f,g;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=l(s.SIGNATURE,vc,u),a.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,ln(Ic)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:d,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,e.abrupt("return",ln(p,{shouldFormatResult:!1})(g));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Tc=Tn(vc,Sc,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Ec=u.frejaQesSignature,bc=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},Cc=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.idcode,u=e.countryCode,d=e.language,p=e.redirect;return on().mark((function e(){var f,g;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=l(s.SIGNATURE,Ec,u),a.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,ln(bc)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:d,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,e.abrupt("return",ln(p,{shouldFormatResult:!1})(g));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Ac=Tn(Ec,Cc,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),_c=mo({moduleName:u.gbOneIdAdvancedSignature,createModuleCreator:Tn}),wc=u.handwrittenSignature,Nc=function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.language,i=e.cancelToken,o=e.docId,a=e.clientId,s=e.emailToken,c=e.smsToken,u=e.handwrittenSignatureData,d=e.handwrittenSignatureDataUrl;return t.post({url:n.inCurrentMode.completeHandwritten(),withCredentials:!1,data:{doc_id:o,timeout:2,lang:r,client_id:a,email_token:s,sms_token:c,handwritten_signature_data:u,handwritten_signature_data_url:d},cancelToken:i})},Rc=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.language,u=e.countryCode,d=e.emailToken,p=e.smsToken,f=e.handwrittenSignatureData,g=e.handwrittenSignatureDataUrl;return on().mark((function e(){var h;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=l(s.SIGNATURE,wc,u),console.log(h),a.dispatch({message:"".concat(h.actionType,": signing started")}),e.abrupt("return",ln(Nc)({apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,emailToken:d,smsToken:p,handwrittenSignatureData:f,handwrittenSignatureDataUrl:g}));case 4:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Oc=Tn(wc,Rc,{docId:{type:"string",required:!0}}),Dc=u.haricaQesSignature,Mc=function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.actionType,s=i.inCurrentMode.startSigning();return o.post({url:s,withCredentials:!1,data:{doc_id:n,client_id:t,sign_type:a},cancelToken:r})},Uc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.username,u=e.password,d=e.otpCode;return n.post({url:r.inCurrentMode.completeSignatureHaricaQes(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s,otp_code:d,username:c,password:u},cancelToken:o})},kc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.username,u=e.password,d=e.otpCode;return Mn({pollInterval:2e3,fn:Uc,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s,username:c,password:u,otpCode:d}]}).start()},xc=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.language,u=e.username,d=e.password,p=e.otpCode,f=e.countryCode,g=e.started;return on().mark((function e(){var h,y;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=l(s.SIGNATURE,Dc,f),a.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,ln(Mc)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,actionType:h.actionType});case 4:return y=e.sent,g(y),e.abrupt("return",ln(kc)({data:y.data,apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,username:u,password:d,otpCode:p}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Lc=Tn(Dc,xc,{countryCode:{type:"string",required:!0},username:{type:"string",required:!0},password:{type:"string",required:!0},otpCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Bc=mo({moduleName:u.veriffAdvancedSignature,createModuleCreator:Tn}),Pc=u.ltIdQesSignature,Gc=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},jc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureLtIdQes(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Fc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:jc,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Vc=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.idcode,c=e.countryCode,u=e.language,d=e.started;return on().mark((function e(){var p,f;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=l(s.SIGNATURE,Pc,c),e.next=3,ln(Gc)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:a,language:u,actionType:p.actionType,countryCode:c});case 3:return f=e.sent,d(f),e.abrupt("return",ln(Fc)({data:f.data,apiClient:o,apiEndpoints:i,language:u,cancelToken:r,docId:n,clientId:t}));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Hc=Tn(Pc,Vc,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),qc=Gi({moduleName:u.certStoreQesSignature,createModuleCreator:Tn}),Kc=Gi({moduleName:u.certStoreAdvancedSignature,createModuleCreator:Tn}),Qc=Gi({moduleName:u.certStoreAdvancedUnverifiedSignature,createModuleCreator:Tn}),zc=mo({moduleName:u.buypassQesSignature,createModuleCreator:Tn}),Zc=mo({moduleName:u.intesiFtnAdvSignature,createModuleCreator:Tn}),Wc=mo({moduleName:u.trustAsiaSignature,createModuleCreator:Tn}),Jc=mo({moduleName:u.mscTrustGateSignature,createModuleCreator:Tn}),Yc=mo({moduleName:u.gseAdvSignature,createModuleCreator:Tn}),Xc=mo({moduleName:u.certMeQesSignature,createModuleCreator:Tn}),$c=u.esLleidaAdvSignature,eu=function(e){var t=e.certificate,n=e.country,r=e.pin,i=e.username,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=a.inCurrentMode.cscApiAuthorizeCredential();return s.post({url:c,withCredentials:!1,data:{sign_type:"es-lleida-advanced-signature",certificate:t,country:n,pin:r,username:i},cancelToken:o})},tu=function(e){var t=e.username,n=e.pin,r=e.language,i=e.clientId,o=e.docId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,u=e.actionType,d=s.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:i,sign_type:u,lang:r,username:t,pin:n},cancelToken:a})},nu=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureEsLleida(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},ru=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:nu,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},iu=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.monitoringService,c=e.username,u=e.pin,d=e.countryCode,p=e.language,f=e.started,g=e.action,h=e.redirect;return on().mark((function e(){var y,m,v;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(y=l(s.SIGNATURE,$c,d),a.dispatch({message:"".concat(y.actionType,": signing started")}),"cscApiAuthorizeCredential"!==g){e.next=7;break}return e.next=5,ln(eu)({country:d,username:c,pin:u,cancelToken:r,apiEndpoints:i,apiClient:o});case 5:return m=e.sent,e.abrupt("return",ln(h,{shouldFormatResult:!1})(m));case 7:return e.next=9,ln(tu)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:p,username:c,pin:u,countryCode:d,actionType:y.actionType});case 9:return v=e.sent,f(v),e.abrupt("return",ln(ru)({data:v.data,apiClient:o,apiEndpoints:i,language:p,cancelToken:r,docId:n,clientId:t}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ou=Tn($c,iu,{username:{type:"string",required:!0},pin:{type:"string",required:!0},docId:{type:"string",required:!0}}),au=mo({moduleName:u.seBankIdAdvancedHashSignature,createModuleCreator:Tn}),su=mo({moduleName:u.dkMitIdAdvancedHashSignature,createModuleCreator:Tn}),cu=mo({moduleName:u.noBankIdAdvancedHashSignature,createModuleCreator:Tn}),uu=mo({moduleName:u.itSpidQualifiedHashSignature,createModuleCreator:Tn}),du=mo({moduleName:u.adacomQesSignature,createModuleCreator:Tn}),lu=mo({moduleName:u.adacomOneShotQesSignature,createModuleCreator:Tn}),pu=u.diiaQesSignature,fu=function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.countryCode,s=e.language,c=e.actionType,u=i.inCurrentMode.startSigning();return o.post({url:u,withCredentials:!1,data:{doc_id:n,client_id:t,sign_type:c,country:a,lang:s},cancelToken:r})},gu=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureDiiaQes(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},hu=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Mn({pollInterval:2e3,fn:gu,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},yu=function(){var e=nn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,c=e.monitoringService,u=e.language,d=e.countryCode,p=e.started;return on().mark((function e(){var f,g;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=l(s.SIGNATURE,pu,d),c.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,ln(fu)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:a,language:u,countryCode:d,contractId:r,actionType:f.actionType});case 4:return g=e.sent,p(g),e.abrupt("return",ln(hu)({data:g.data,apiClient:a,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),mu=Tn(pu,yu),vu=mo({moduleName:u.emudhraQesSignature,createModuleCreator:Tn}),Iu=mo({moduleName:u.mxPscWorldAdvancedSignature,createModuleCreator:Tn}),Su=mo({moduleName:u.transSpedQesSignature,createModuleCreator:Tn}),Tu=mo({moduleName:u.vidaAdvancedSignature,createModuleCreator:Tn}),Eu=Gi({moduleName:u.vnBkavTokenSignature,createModuleCreator:Tn}),bu=Gi({moduleName:u.vnCa2TokenSignature,createModuleCreator:Tn}),Cu=Gi({moduleName:u.vnFastTokenSignature,createModuleCreator:Tn}),Au=Gi({moduleName:u.vnFptTokenSignature,createModuleCreator:Tn}),_u=Gi({moduleName:u.vnSmartTokenSignature,createModuleCreator:Tn}),wu=Gi({moduleName:u.vnViettelTokenSignature,createModuleCreator:Tn}),Nu=Gi({moduleName:u.vnVnptTokenSignature,createModuleCreator:Tn}),Ru=Object.freeze({sandbox:"sandbox",production:"production"});function Ou(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Du(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ou(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ou(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Mu=function(e,t,n){var r={};return Object.keys(e).forEach((function(i){r[i]=function(e,t,n){return function(r){var i=Du(Du({},t),r);return n?n(e(i)):e(i)}}(e[i],t,n)})),r},Uu=function(e){var t=e.method,n=e.baseUrl,r=e.clientId,i=e.redirectUri,o=e.state,a=e.language,s=e.country,c="".concat(n,"/oauth/start/").concat(t,"?client_id=").concat(r,"&redirect_uri=").concat(i,"&response_type=code");return a&&(c+="&lang=".concat(a)),o&&(c+="&state=".concat(o)),s&&(c+="&country=".concat(s)),c},ku=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Du({base:function(e){return e.baseUrl},readCard:function(e){var n=e.countryCode,r=void 0===n?t.countryCode.toLowerCase():n,i=e.clientId,o="eideasy.com";return t.sandbox&&["EE","BE","LT"].includes(r)&&(o="test.eideasy.com"),"https://".concat(r,".").concat(o,"/api/identity/").concat(i,"/read-card")},zealIdIframeUrl:function(e){var t=e.baseUrl,n=e.clientId;return"".concat(t,"/api/identity/").concat(n,"/zealid/get_iframe_url")},eParakstsMobile:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"lv-eparaksts-mobile-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},eParakstsSmartCard:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"lv-eparaksts-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},mojeId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"mojeid",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},edoAppEid:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"edoapp-eid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},itsme:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"itsme-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},itsmeBasic:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"itsme-login-basic",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},itsmeStandard:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"itsme-login-standard",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},seBankId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"swedish-bankid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},finnishTrustNetwork:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"finnish-ftn-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},idin:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"idin-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},idinCustomerId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"idin-customer-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},verifai:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"verifai-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},yoonik:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"yoonik-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},plMojeId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"pl-mojeid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},mitId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"mit-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},mitId2:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"mit-id-2-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},norwegianBankId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"norwegian-bankid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},atHandy:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri,i=e.state,o="".concat(t,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login");return i&&(o+="&state=".concat(i)),o},ftn:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"ftn-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},gbOneId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Uu({method:"gb-one-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},veriff:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language,a=e.country;return Uu({method:"veriff-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o,country:a})},lIdentiteNumerique:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language,a=e.country;return Uu({method:"lidentite-numerique-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o,country:a})},integrationIframe:function(e){var t=e.baseUrl,n=e.clientId,r=e.actionType,i=e.docId;return"".concat(t,"/web-element/os-broker/").concat(n,"/").concat(r,"?doc_id=").concat(i)},startSigning:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/start-signing")},completeSignatureIdCard:function(e){var t=e.baseUrl,n=e.actionType;return"".concat(t,"/api/signatures/").concat(n,"/complete")},completeSignatureMobileId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-smart-id/complete")},completeSignatureDiiaQes:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/diia-qes-signature/complete")},completeSignatureEvrotrust:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/evrotrust-signature/complete")},completeSignatureHalcom:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/halcom-qes-signature/complete")},completeSignatureSwissId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/swiss-id-qes-signature/complete")},completeSignatureSwissCom:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/swiss-com-qes-signature/complete")},completeSignatureEsLleida:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/es-lleida-advanced-signature/complete")},completeSignatureHaricaQes:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/harica-qes-signature/complete")},completeSignatureDTrustSignMe:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/d-trust-sign-me-qes-signature/complete")},completeSignatureDTrustSignMeAdv:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/d-trust-sign-me-adv-signature/complete")},completeSignatureFrejaSimple:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/freja-simple-signature/complete")},continueSignatureAudkenni:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/audkenni-qes-signature/continue")},completeSignatureAudkenni:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/audkenni-qes-signature/complete")},completeSignatureChaveMovel:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/chave-movel-qes-signature/complete")},completeSignatureUanataca:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/uanataca-qes-signature/complete")},completeSignatureInfoCert:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/infocert-qes-signature/complete")},completeOtp:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/non-qualified/complete")},completeHandwritten:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/handwritten-simple-signature/complete")},completeSignatureLtIdQes:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/lt-id-qes-signature/complete")},eideasyMonitoring:function(e){var t=e.baseUrl;return"".concat(t,"/api/monitor")},startZealIdSignature:function(e){var t=e.baseUrl,n=e.clientId,r=e.docId;return"".concat(t,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)},getChaveMovelPublicKey:function(e){var t=e.baseUrl;return"".concat(t,"/api/chave-movel-public-key")},cscApiAuthorizeCredential:function(e){var t=e.baseUrl;return"".concat(t,"/csc/authorize-credential")},cscApiAuthorizeCredentialRedirect:function(e){var t=e.baseUrl;return"".concat(t,"/csc/authorize-credential-redirect")}},n),i=(a(e={},Ru.production,Du({},Mu(r,{baseUrl:n.base?n.base():"https://id.eideasy.com",state:t.state},t.modifyEndpointUrl))),a(e,Ru.sandbox,Du({},Mu(r,{baseUrl:n.base?n.base():"https://test.eideasy.com",state:t.state},t.modifyEndpointUrl))),e);return{get inCurrentMode(){var e=t.sandbox?Ru.sandbox:Ru.production;return i[e]}}},xu=u.eParakstsSmartCard,Lu=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.eParakstsSmartCard({clientId:n,redirectUri:r})}}},Bu=function(){var e=nn(on().mark((function e(t){var n,r,i,o,a;return on().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,ln(Lu)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",ln(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Pu=Tn(xu,Bu),Gu=mo({moduleName:u.itsmeQesSignature,createModuleCreator:Tn}),ju=mo({moduleName:u.frIdentAdvancedSignature,createModuleCreator:Tn}),Fu=function(){var e=null;function t(t){if(e&&(!t.data||"EIDEASY_ID_CARD_INTEGRATION"===t.data.sender)&&e.message.operation===t.data.operation)if(!t.data||"user_cancel"!==t.data.result&&"user_cancel"!==t.data.message)"OK"===t.data.status?e.resolve(t.data):e.reject(t.data);else{e.reject({isCancel:!0})}}return window.addEventListener("message",t,!1),Object.freeze({send:function(t){var n=t.iframe,r=t.message,i=t.cancelToken;e&&e.reject(new Error("Operation cancelled by new operation"));var o={message:r};e=o,o.promise=new Promise((function(e,t){o.resolve=e,o.reject=t,i&&i.promise.then((function(){var e=new Error("Operation cancelled by user");e.isCancel=!0,t(e)}))}));var a=new URL(n.src);return n.contentWindow.postMessage(r,a.origin),o.promise},clearPendingMessage:function(){e=null},destroy:function(){window.removeEventListener("message",t,!1)}})},Vu=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Pt({rawSettings:e,schema:jt}),n=$t({currentLanguage:"en"}),r=ku({countryCode:t.countryCode,sandbox:t.sandbox,modifyEndpointUrl:t.modifyEndpointUrl,state:t.oauthParamState},t.apiEndpoints),i=en({clientId:t.clientId,remoteMonitoringEnabled:t.remoteMonitoringEnabled,apiEndpoints:r}),o=Dn({instanceId:Math.floor(1e5+9e5*Math.random()),consoleLogLevel:t.consoleLogLevel}),a=window.eideasyIframeMessenger;return a||(a=Fu(),window.eideasyIframeMessenger=a),Lt({settings:t,i18n:n,monitoringService:i,apiEndpoints:r,iframeMessenger:a,logger:o,identificationModules:[_n,Bn,Hn,Zn,Xn,Pu,rr,cr,pr,yr,Sr,Cr,Nr,Mr,Lr,jr,qr,Zr,Xr,ni,ai,di,gi,vi,Ei,_i,Oi,ki],signingModules:[ji,zi,eo,so,go,vo,Io,So,is,To,Ao,_o,wo,No,Ro,Oo,Do,xo,Go,Wa,$a,es,cs,us,ds,ls,ps,fs,ms,bs,Ds,Ms,Us,Gs,zs,Zs,tc,sc,fc,gc,hc,yc,mc,Tc,Ac,Gu,ju,_c,Oc,Lc,Bc,Hc,qc,Kc,Qc,zc,Zc,au,su,cu,uu,Wc,Jc,Yc,Xc,ou,du,lu,mu,vu,Iu,Su,Tu,Eu,bu,Cu,Au,_u,wu,Nu]})},Hu=Vu}(),o}()}));
|
|
18
|
+
!function(e,t){ true?module.exports=t():0}(self,(function(){return function(){var e,t,n={8552:function(e,t,n){var r=n(852)(n(5639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(1789),i=n(401),o=n(7667),a=n(1327),s=n(1866);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},8407:function(e,t,n){var r=n(7040),i=n(4125),o=n(2117),a=n(7518),s=n(4705);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},7071:function(e,t,n){var r=n(852)(n(5639),"Map");e.exports=r},3369:function(e,t,n){var r=n(4785),i=n(1285),o=n(6e3),a=n(9916),s=n(5265);function c(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=o,c.prototype.has=a,c.prototype.set=s,e.exports=c},3818:function(e,t,n){var r=n(852)(n(5639),"Promise");e.exports=r},8525:function(e,t,n){var r=n(852)(n(5639),"Set");e.exports=r},6384:function(e,t,n){var r=n(8407),i=n(7465),o=n(3779),a=n(7599),s=n(4758),c=n(4309);function u(e){var t=this.__data__=new r(e);this.size=t.size}u.prototype.clear=i,u.prototype.delete=o,u.prototype.get=a,u.prototype.has=s,u.prototype.set=c,e.exports=u},2705:function(e,t,n){var r=n(5639).Symbol;e.exports=r},1149:function(e,t,n){var r=n(5639).Uint8Array;e.exports=r},577:function(e,t,n){var r=n(852)(n(5639),"WeakMap");e.exports=r},6874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},7412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},4963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,o=[];++n<r;){var a=e[n];t(a,n,e)&&(o[i++]=a)}return o}},4636:function(e,t,n){var r=n(2545),i=n(5694),o=n(1469),a=n(4144),s=n(5776),c=n(6719),u=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=o(e),d=!n&&i(e),l=!n&&!d&&a(e),p=!n&&!d&&!l&&c(e),f=n||d||l||p,g=f?r(e.length,String):[],h=g.length;for(var y in e)!t&&!u.call(e,y)||f&&("length"==y||l&&("offset"==y||"parent"==y)||p&&("buffer"==y||"byteLength"==y||"byteOffset"==y)||s(y,h))||g.push(y);return g}},2488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e}},6556:function(e,t,n){var r=n(9465),i=n(7813);e.exports=function(e,t,n){(void 0!==n&&!i(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},4865:function(e,t,n){var r=n(9465),i=n(7813),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];o.call(e,t)&&i(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},8470:function(e,t,n){var r=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},4037:function(e,t,n){var r=n(8363),i=n(3674);e.exports=function(e,t){return e&&r(t,i(t),e)}},3886:function(e,t,n){var r=n(8363),i=n(1704);e.exports=function(e,t){return e&&r(t,i(t),e)}},9465:function(e,t,n){var r=n(8777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5990:function(e,t,n){var r=n(6384),i=n(7412),o=n(4865),a=n(4037),s=n(3886),c=n(4626),u=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),g=n(4160),h=n(3824),y=n(9148),m=n(8517),v=n(1469),I=n(4144),S=n(6688),T=n(3218),E=n(2928),b=n(3674),C=n(1704),A="[object Arguments]",_="[object Function]",w="[object Object]",N={};N[A]=N["[object Array]"]=N["[object ArrayBuffer]"]=N["[object DataView]"]=N["[object Boolean]"]=N["[object Date]"]=N["[object Float32Array]"]=N["[object Float64Array]"]=N["[object Int8Array]"]=N["[object Int16Array]"]=N["[object Int32Array]"]=N["[object Map]"]=N["[object Number]"]=N[w]=N["[object RegExp]"]=N["[object Set]"]=N["[object String]"]=N["[object Symbol]"]=N["[object Uint8Array]"]=N["[object Uint8ClampedArray]"]=N["[object Uint16Array]"]=N["[object Uint32Array]"]=!0,N["[object Error]"]=N[_]=N["[object WeakMap]"]=!1,e.exports=function e(t,n,R,O,D,M){var U,k=1&n,x=2&n,L=4&n;if(R&&(U=D?R(t,O,D,M):R(t)),void 0!==U)return U;if(!T(t))return t;var B=v(t);if(B){if(U=h(t),!k)return u(t,U)}else{var P=g(t),G=P==_||"[object GeneratorFunction]"==P;if(I(t))return c(t,k);if(P==w||P==A||G&&!D){if(U=x||G?{}:m(t),!k)return x?l(t,s(U,t)):d(t,a(U,t))}else{if(!N[P])return D?t:{};U=y(t,P,k)}}M||(M=new r);var j=M.get(t);if(j)return j;M.set(t,U),E(t)?t.forEach((function(r){U.add(e(r,n,R,r,t,M))})):S(t)&&t.forEach((function(r,i){U.set(i,e(r,n,R,i,t,M))}));var F=B?void 0:(L?x?f:p:x?C:b)(t);return i(F||t,(function(r,i){F&&(r=t[i=r]),o(U,i,e(r,n,R,i,t,M))})),U}},3118:function(e,t,n){var r=n(3218),i=Object.create,o=function(){function e(){}return function(t){if(!r(t))return{};if(i)return i(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=o},8483:function(e,t,n){var r=n(5063)();e.exports=r},8866:function(e,t,n){var r=n(2488),i=n(1469);e.exports=function(e,t,n){var o=t(e);return i(e)?o:r(o,n(e))}},4239:function(e,t,n){var r=n(2705),i=n(9607),o=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?i(e):o(e)}},9454:function(e,t,n){var r=n(4239),i=n(7005);e.exports=function(e){return i(e)&&"[object Arguments]"==r(e)}},5588:function(e,t,n){var r=n(4160),i=n(7005);e.exports=function(e){return i(e)&&"[object Map]"==r(e)}},8458:function(e,t,n){var r=n(3560),i=n(5346),o=n(3218),a=n(346),s=/^\[object .+?Constructor\]$/,c=Function.prototype,u=Object.prototype,d=c.toString,l=u.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!o(e)||i(e))&&(r(e)?p:s).test(a(e))}},9221:function(e,t,n){var r=n(4160),i=n(7005);e.exports=function(e){return i(e)&&"[object Set]"==r(e)}},8749:function(e,t,n){var r=n(4239),i=n(1780),o=n(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return o(e)&&i(e.length)&&!!a[r(e)]}},280:function(e,t,n){var r=n(5726),i=n(6916),o=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=[];for(var n in Object(e))o.call(e,n)&&"constructor"!=n&&t.push(n);return t}},313:function(e,t,n){var r=n(3218),i=n(5726),o=n(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=i(e),n=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&n.push(s);return n}},2980:function(e,t,n){var r=n(6384),i=n(6556),o=n(8483),a=n(9783),s=n(3218),c=n(1704),u=n(6390);e.exports=function e(t,n,d,l,p){t!==n&&o(n,(function(o,c){if(p||(p=new r),s(o))a(t,n,c,d,e,l,p);else{var f=l?l(u(t,c),o,c+"",t,n,p):void 0;void 0===f&&(f=o),i(t,c,f)}}),c)}},9783:function(e,t,n){var r=n(6556),i=n(4626),o=n(7133),a=n(278),s=n(8517),c=n(5694),u=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),g=n(8630),h=n(6719),y=n(6390),m=n(9881);e.exports=function(e,t,n,v,I,S,T){var E=y(e,n),b=y(t,n),C=T.get(b);if(C)r(e,n,C);else{var A=S?S(E,b,n+"",e,t,T):void 0,_=void 0===A;if(_){var w=u(b),N=!w&&l(b),R=!w&&!N&&h(b);A=b,w||N||R?u(E)?A=E:d(E)?A=a(E):N?(_=!1,A=i(b,!0)):R?(_=!1,A=o(b,!0)):A=[]:g(b)||c(b)?(A=E,c(E)?A=m(E):f(E)&&!p(E)||(A=s(b))):_=!1}_&&(T.set(b,A),I(A,b,v,S,T),T.delete(b)),r(e,n,A)}}},5976:function(e,t,n){var r=n(6557),i=n(5357),o=n(61);e.exports=function(e,t){return o(i(e,t,r),e+"")}},6560:function(e,t,n){var r=n(5703),i=n(8777),o=n(6557),a=i?function(e,t){return i(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:o;e.exports=a},2545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},1717:function(e){e.exports=function(e){return function(t){return e(t)}}},4318:function(e,t,n){var r=n(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},4626:function(e,t,n){e=n.nmd(e);var r=n(5639),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i?r.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=s?s(n):new e.constructor(n);return e.copy(r),r}},7157:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},419:function(e,t,n){var r=n(2705),i=r?r.prototype:void 0,o=i?i.valueOf:void 0;e.exports=function(e){return o?Object(o.call(e)):{}}},7133:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},8363:function(e,t,n){var r=n(4865),i=n(9465);e.exports=function(e,t,n,o){var a=!n;n||(n={});for(var s=-1,c=t.length;++s<c;){var u=t[s],d=o?o(n[u],e[u],u,n,e):void 0;void 0===d&&(d=e[u]),a?i(n,u,d):r(n,u,d)}return n}},8805:function(e,t,n){var r=n(8363),i=n(9551);e.exports=function(e,t){return r(e,i(e),t)}},1911:function(e,t,n){var r=n(8363),i=n(1442);e.exports=function(e,t){return r(e,i(e),t)}},4429:function(e,t,n){var r=n(5639)["__core-js_shared__"];e.exports=r},1463:function(e,t,n){var r=n(5976),i=n(6612);e.exports=function(e){return r((function(t,n){var r=-1,o=n.length,a=o>1?n[o-1]:void 0,s=o>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(o--,a):void 0,s&&i(n[0],n[1],s)&&(a=o<3?void 0:a,o=1),t=Object(t);++r<o;){var c=n[r];c&&e(t,c,r,a)}return t}))}},5063:function(e){e.exports=function(e){return function(t,n,r){for(var i=-1,o=Object(t),a=r(t),s=a.length;s--;){var c=a[e?s:++i];if(!1===n(o[c],c,o))break}return t}}},8777:function(e,t,n){var r=n(852),i=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=i},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8234:function(e,t,n){var r=n(8866),i=n(9551),o=n(3674);e.exports=function(e){return r(e,o,i)}},6904:function(e,t,n){var r=n(8866),i=n(1442),o=n(1704);e.exports=function(e){return r(e,o,i)}},5050:function(e,t,n){var r=n(7019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:function(e,t,n){var r=n(8458),i=n(7801);e.exports=function(e,t){var n=i(e,t);return r(n)?n:void 0}},5924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},9607:function(e,t,n){var r=n(2705),i=Object.prototype,o=i.hasOwnProperty,a=i.toString,s=r?r.toStringTag:void 0;e.exports=function(e){var t=o.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var i=a.call(e);return r&&(t?e[s]=n:delete e[s]),i}},9551:function(e,t,n){var r=n(4963),i=n(479),o=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return o.call(e,t)})))}:i;e.exports=s},1442:function(e,t,n){var r=n(2488),i=n(5924),o=n(9551),a=n(479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,o(e)),e=i(e);return t}:a;e.exports=s},4160:function(e,t,n){var r=n(8552),i=n(7071),o=n(3818),a=n(8525),s=n(577),c=n(4239),u=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",h=u(r),y=u(i),m=u(o),v=u(a),I=u(s),S=c;(r&&S(new r(new ArrayBuffer(1)))!=g||i&&S(new i)!=d||o&&S(o.resolve())!=l||a&&S(new a)!=p||s&&S(new s)!=f)&&(S=function(e){var t=c(e),n="[object Object]"==t?e.constructor:void 0,r=n?u(n):"";if(r)switch(r){case h:return g;case y:return d;case m:return l;case v:return p;case I:return f}return t}),e.exports=S},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1789:function(e,t,n){var r=n(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,n){var r=n(4536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return i.call(t,e)?t[e]:void 0}},1327:function(e,t,n){var r=n(4536),i=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:i.call(t,e)}},1866:function(e,t,n){var r=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},9148:function(e,t,n){var r=n(4318),i=n(7157),o=n(3147),a=n(419),s=n(7133);e.exports=function(e,t,n){var c=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new c(+e);case"[object DataView]":return i(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,n);case"[object Map]":case"[object Set]":return new c;case"[object Number]":case"[object String]":return new c(e);case"[object RegExp]":return o(e);case"[object Symbol]":return a(e)}}},8517:function(e,t,n){var r=n(3118),i=n(5924),o=n(5726);e.exports=function(e){return"function"!=typeof e.constructor||o(e)?{}:r(i(e))}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},6612:function(e,t,n){var r=n(7813),i=n(8612),o=n(5776),a=n(3218);e.exports=function(e,t,n){if(!a(n))return!1;var s=typeof t;return!!("number"==s?i(n)&&o(t,n.length):"string"==s&&t in n)&&r(n[t],e)}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,n){var r,i=n(4429),o=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!o&&o in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,n){var r=n(8470),i=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():i.call(t,n,1),--this.size,0))}},2117:function(e,t,n){var r=n(8470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7518:function(e,t,n){var r=n(8470);e.exports=function(e){return r(this.__data__,e)>-1}},4705:function(e,t,n){var r=n(8470);e.exports=function(e,t){var n=this.__data__,i=r(n,e);return i<0?(++this.size,n.push([e,t])):n[i][1]=t,this}},4785:function(e,t,n){var r=n(1989),i=n(8407),o=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(o||i),string:new r}}},1285:function(e,t,n){var r=n(5050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).get(e)}},9916:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).has(e)}},5265:function(e,t,n){var r=n(5050);e.exports=function(e,t){var n=r(this,e),i=n.size;return n.set(e,t),this.size+=n.size==i?0:1,this}},4536:function(e,t,n){var r=n(852)(Object,"create");e.exports=r},6916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1167:function(e,t,n){e=n.nmd(e);var r=n(1957),i=t&&!t.nodeType&&t,o=i&&e&&!e.nodeType&&e,a=o&&o.exports===i&&r.process,s=function(){try{return o&&o.require&&o.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5357:function(e,t,n){var r=n(6874),i=Math.max;e.exports=function(e,t,n){return t=i(void 0===t?e.length-1:t,0),function(){for(var o=arguments,a=-1,s=i(o.length-t,0),c=Array(s);++a<s;)c[a]=o[t+a];a=-1;for(var u=Array(t+1);++a<t;)u[a]=o[a];return u[t]=n(c),r(e,this,u)}}},5639:function(e,t,n){var r=n(1957),i="object"==typeof self&&self&&self.Object===Object&&self,o=r||i||Function("return this")();e.exports=o},6390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},61:function(e,t,n){var r=n(6560),i=n(1275)(r);e.exports=i},1275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var i=t(),o=16-(i-r);if(r=i,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},7465:function(e,t,n){var r=n(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,n){var r=n(8407),i=n(7071),o=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!i||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new o(a)}return n.set(e,t),this.size=n.size,this}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},361:function(e,t,n){var r=n(5990);e.exports=function(e){return r(e,5)}},5703:function(e){e.exports=function(e){return function(){return e}}},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},6557:function(e){e.exports=function(e){return e}},5694:function(e,t,n){var r=n(9454),i=n(7005),o=Object.prototype,a=o.hasOwnProperty,s=o.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return i(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,n){var r=n(3560),i=n(1780);e.exports=function(e){return null!=e&&i(e.length)&&!r(e)}},9246:function(e,t,n){var r=n(8612),i=n(7005);e.exports=function(e){return i(e)&&r(e)}},4144:function(e,t,n){e=n.nmd(e);var r=n(5639),i=n(5062),o=t&&!t.nodeType&&t,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o?r.Buffer:void 0,c=(s?s.isBuffer:void 0)||i;e.exports=c},3560:function(e,t,n){var r=n(4239),i=n(3218);e.exports=function(e){if(!i(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,n){var r=n(5588),i=n(1717),o=n(1167),a=o&&o.isMap,s=a?i(a):r;e.exports=s},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,n){var r=n(4239),i=n(5924),o=n(7005),a=Function.prototype,s=Object.prototype,c=a.toString,u=s.hasOwnProperty,d=c.call(Object);e.exports=function(e){if(!o(e)||"[object Object]"!=r(e))return!1;var t=i(e);if(null===t)return!0;var n=u.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==d}},2928:function(e,t,n){var r=n(9221),i=n(1717),o=n(1167),a=o&&o.isSet,s=a?i(a):r;e.exports=s},6719:function(e,t,n){var r=n(8749),i=n(1717),o=n(1167),a=o&&o.isTypedArray,s=a?i(a):r;e.exports=s},3674:function(e,t,n){var r=n(4636),i=n(280),o=n(8612);e.exports=function(e){return o(e)?r(e):i(e)}},1704:function(e,t,n){var r=n(4636),i=n(313),o=n(8612);e.exports=function(e){return o(e)?r(e,!0):i(e)}},2492:function(e,t,n){var r=n(2980),i=n(1463)((function(e,t,n){r(e,t,n)}));e.exports=i},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},9881:function(e,t,n){var r=n(8363),i=n(1704);e.exports=function(e){return r(e,i(e))}},7061:function(e,t,n){var r=n(8698).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},c=s.iterator||"@@iterator",u=s.asyncIterator||"@@asyncIterator",d=s.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof h?t:h,o=Object.create(i.prototype),s=new N(r||[]);return a(o,"_invoke",{value:C(e,n,s)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var g={};function h(){}function y(){}function m(){}var v={};l(v,c,(function(){return this}));var I=Object.getPrototypeOf,S=I&&I(I(R([])));S&&S!==n&&o.call(S,c)&&(v=S);var T=m.prototype=h.prototype=Object.create(v);function E(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function b(e,t){function n(i,a,s,c){var u=f(e[i],e,a);if("throw"!==u.type){var d=u.arg,l=d.value;return l&&"object"==r(l)&&o.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,s,c)}),(function(e){n("throw",e,s,c)})):t.resolve(l).then((function(e){d.value=e,s(d)}),(function(e){return n("throw",e,s,c)}))}c(u.arg)}var i;a(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function C(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return{value:void 0,done:!0}}for(n.method=i,n.arg=o;;){var a=n.delegate;if(a){var s=A(a,n);if(s){if(s===g)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=f(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function A(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,A(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=f(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,g;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,g):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function w(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function R(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return y.prototype=m,a(T,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:y,configurable:!0}),y.displayName=l(m,d,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,l(e,d,"GeneratorFunction")),e.prototype=Object.create(T),e},t.awrap=function(e){return{__await:e}},E(b.prototype),l(b.prototype,u,(function(){return this})),t.AsyncIterator=b,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var a=new b(p(e,n,r,i),o);return t.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(T),l(T,d,"Generator"),l(T,c,(function(){return this})),l(T,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=R,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(w),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var s=o.call(i,"catchLoc"),c=o.call(i,"finallyLoc");if(s&&c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),w(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;w(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:R(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),g}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},8698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4687:function(e,t,n){var r=n(7061)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var o=r[e]={id:e,loaded:!1,exports:{}};return n[e](o,o.exports,i),o.loaded=!0,o.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},i.d(o,a),o},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var o={};return function(){"use strict";i.r(o),i.d(o,{allMethods:function(){return u},createClient:function(){return Ku},default:function(){return Qu},getMethodByHandlingModule:function(){return d},logLevels:function(){return Pt},methodActionTypes:function(){return s},methodTypes:function(){return a},moduleNames:function(){return c}});var e,t={};function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,"string");if("object"!==n(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}i.r(t),i.d(t,{hasBrowserEnv:function(){return Ie},hasStandardBrowserEnv:function(){return Te},hasStandardBrowserWebWorkerEnv:function(){return Ee},navigator:function(){return Se},origin:function(){return be}});var a={IDENTIFICATION:"identification",SIGNATURE:"signature"},s={BE_ID_LOGIN:"be-id-login",EE_ID_LOGIN:"ee-id-login",FI_ID_LOGIN:"fi-id-login",PT_ID_LOGIN:"pt-id-login",LV_ID_LOGIN:"lv-id-login",LT_ID_LOGIN:"lt-id-login",RS_ID_LOGIN:"rs-id-login",EE_MOBILE_ID:"mid-login",EE_WEB_EID_LOGIN:"ee-web-eid-login",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LV_EPARAKSTS_ID_LOGIN:"lv-eparaksts-id-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",EDOAPP_EID_LOGIN:"edoapp-eid-login",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ITSME_LOGIN:"itsme-login",ITSME_LOGIN_BASIC:"itsme-login-basic",ITSME_LOGIN_STANDARD:"itsme-login-standard",SE_BANKID_LOGIN:"swedish-bankid-login",IDIN_LOGIN:"idin-login",VERIFAI_LOGIN:"verifai-login",YOONIK_LOGIN:"yoonik-login",PL_MOJEID_LOGIN:"pl-mojeid-login",MIT_ID_LOGIN:"mit-id-login",MIT_ID_2_LOGIN:"mit-id-2-login",NORWEGIAN_BANKID_LOGIN:"norwegian-bankid-login",FTN_LOGIN:"ftn-login",IDIN_CUSTOMER_ID_LOGIN:"idin-customer-id-login",GB_ONE_ID_LOGIN:"gb-one-id-login",VERIFF_LOGIN:"veriff-login",LIDENTITE_NUMERIQUE_LOGIN:"lidentite-numerique-login",ZEAL_ID_SIGNATURE:"zealid-signature",EE_IDCARD_SIGNATURE:"id-signature",EE_MOBILEID_SIGNATURE:"mid-signature",LT_MOBILEID_SIGNATURE:"lt-mid-signature",SMARTID_SIGNATURE:"smart-id-signature",BE_IDCARD_SIGNATURE:"be-id-signature",LV_IDCARD_SIGNATURE:"lv-id-signature",LT_IDCARD_SIGNATURE:"lt-id-signature",FI_IDCARD_SIGNATURE:"fi-id-signature",LU_IDCARD_SIGNATURE:"lu-id-signature",PT_IDCARD_SIGNATURE:"pt-id-signature",HR_IDCARD_SIGNATURE:"hr-id-signature",CZ_IDCARD_SIGNATURE:"cz-id-signature",CERTEUROPE_USB_TOKEN_SIGNATURE:"certeurope-usb-token-signature",CERTSIGN_USB_TOKEN_SIGNATURE:"certsign-usb-token-signature",LV_EPARAKSTS_MOBILE_SIGNATURE:"lv-eparaksts-mobile-signature",AT_HANDY_SIGNATUR_SIGNATURE:"at-handy-signatur-signature",REGISTRU_CENTRAS_SIGNATURE:"registru-centras-signature",OTP_EMAIL:"otp-email-non-qualified",FI_FTN_ADVANCED_FULL_SIGNATURE:"fi-ftn-advanced-full-signature",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",FI_FTN_QUALIFIED_SIGNATURE:"fi-ftn-qes-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",SERPRO_ID_ADVANCED_SIGNATURE:"serpro-id-advanced-signature",CZ_BANKID_ADVANCED_SIGNATURE:"cz-bankid-advanced-signature",ABA_DO_QES_SIGNATURE:"aba-do-qes-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature",D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE:"d-trust-sign-me-qes-signature",D_TRUST_SIGN_ME_ADVANCED_SIGNATURE:"d-trust-sign-me-adv-signature",CHAVE_MOVEL_QUALIFIED_SIGNATURE:"chave-movel-qes-signature",CL_ECERT_ADVANCED_SIGNATURE:"cl-ecert-advanced-signature",MIT_ID_SIMPLE_SIGNATURE:"mit-id-simple-signature",DK_MITID_ADVANCED_SIGNATURE:"dk-mitid-advanced-signature",DK_MITID_QES_SIGNATURE:"dk-mitid-qes-signature",SE_BANK_ID_ADVANCED_SIGNATURE:"se-bankid-advanced-signature",SE_BANK_ID_QES_SIGNATURE:"se-bankid-qes-signature",SE_BANK_ID_ADVANCED_HASH_SIGNATURE:"se-bankid-adv-hash-signature",DK_MIT_ID_ADVANCED_HASH_SIGNATURE:"dk-mitid-adv-hash-signature",NO_BANK_ID_ADVANCED_HASH_SIGNATURE:"no-bankid-adv-hash-signature",IT_SPID_QUALIFIED_HASH_SIGNATURE:"it-spid-qes-hash-signature",NORWEGIAN_BANKID_ADVANCED_SIGNATURE:"norwegian-bankid-adv-signature",NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE:"no-bankid-adv-light-signature",IDIN_SIMPLE_SIGNATURE:"idin-simple-signature",VERIFAI_SIMPLE_SIGNATURE:"verifai-simple-signature",SPID_QUALIFIED_SIGNATURE:"spid-qes-signature",FREJA_SIMPLE_SIGNATURE:"freja-simple-signature",AUDKENNI_QUALIFIED_SIGNATURE:"audkenni-qes-signature",YES_COM_QUALIFIED_SIGNATURE:"yes-com-qes-signature",SIMPLY_SIGN_QES_SIGNATURE:"simply-sign-qes-signature",UANATACA_QUALIFIED_SIGNATURE:"uanataca-qes-signature",INFOCERT_QUALIFIED_SIGNATURE:"infocert-qes-signature",CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE:"certsign-webapi-qes-signature",HALCOM_QUALIFIED_SIGNATURE:"halcom-qes-signature",SWISS_ID_QUALIFIED_SIGNATURE:"swiss-id-qes-signature",SWISS_COM_QUALIFIED_SIGNATURE:"swiss-com-qes-signature",SE_FREJA_EID_ADVANCED_SIGNATURE:"se-frejaeid-advanced-signature",SE_FREJA_EID_QES_SIGNATURE:"se-frejaeid-qes-signature",ITSME_QES_SIGNATURE:"itsme-qes-signature",FR_IDENT_ADVANCED_SIGNATURE:"fr-ident-advanced-signature",GB_ONE_ID_ADVANCED_SIGNATURE:"gb-one-id-advanced-signature",HANDWRITTEN_SIMPLE_SIGNATURE:"handwritten-simple-signature",HARICA_QES_SIGNATURE:"harica-qes-signature",VERIFF_ADVANCED_SIGNATURE:"veriff-advanced-signature",LT_ID_QES_SIGNATURE:"lt-id-qes-signature",CERT_STORE_QES_SIGNATURE:"cert-store-qes-signature",CERT_STORE_ADVANCED_SIGNATURE:"cert-store-advanced-signature",CERT_STORE_ADV_UNVERIFIED_SIGN:"cert-store-adv-unverified-sign",BUYPASS_QES_SIGNATURE:"buypass-qes-signature",FI_FTN_INTESI_ADS_SIGNATURE:"fi-ftn-intesi-adv-signature",TRUST_ASIA_SIGNATURE:"trust-asia-signature",MSC_TRUST_GATE_SIGNATURE:"msc-trust-gate-signature",GSE_ADV_SIGNATURE:"gse-adv-signature",CERTME_QES_SIGNATURE:"certme-qes-signature",ES_LLEIDA_ADV_SIGNATURE:"es-lleida-advanced-signature",ADACOM_QES_SIGNATURE:"adacom-qes-signature",ADACOM_ONE_SHOT_QES_SIGNATURE:"adacom-one-shot-qes-signature",DIIA_QES_SIGNATURE:"diia-qes-signature",EMUDHRA_QES_SIGNATURE:"emudhra-qes-signature",MX_PSC_WORLD_ADVANCED_SIGNATURE:"mx-psc-world-adv-signature",TRANS_SPED_QES_SIGNATURE:"trans-sped-qes-signature",VIDA_ADVANCED_SIGNATURE:"vida-advanced-signature",VN_BKAV_TOKEN_SIGNATURE:"vn-bkav-token-signature",VN_CA2_TOKEN_SIGNATURE:"vn-ca2-token-signature",VN_FAST_TOKEN_SIGNATURE:"vn-fast-token-signature",VN_FPT_TOKEN_SIGNATURE:"vn-fpt-token-signature",VN_SMART_TOKEN_SIGNATURE:"vn-smart-token-signature",VN_VIETTEL_TOKEN_SIGNATURE:"vn-viettel-token-signature",VN_VNPT_TOKEN_SIGNATURE:"vn-vnpt-token-signature",DIGILOGIX_QES_SIGNATURE:"digilogix-qes-signature"},c={idCard:"idCard",mobileId:"mobileId",webEid:"webEid",eParakstsMobile:"eParakstsMobile",eParakstsSmartCard:"eParakstsSmartCard",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",edoAppEid:"edoAppEid",atHandy:"atHandy",itsme:"itsme",itsmeBasic:"itsmeBasic",itsmeStandard:"itsmeStandard",seBankId:"seBankId",idin:"idin",idinCustomerId:"idinCustomerId",verifai:"verifai",yoonik:"yoonik",plMojeId:"plMojeId",mitId:"mitId",mitId2:"mitId2",norwegianBankId:"norwegianBankId",ftn:"ftn",gbOneId:"gbOneId",veriff:"veriff",lIdentiteNumerique:"lIdentiteNumerique",idCardSignature:"idCardSignature",certEuropeUsbTokenSignature:"certEuropeUsbTokenSignature",certSignUsbTokenSignature:"certSignUsbTokenSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnAdvancedFullSignature:"ftnAdvancedFullSignature",mitIdAdvancedSignature:"mitIdAdvancedSignature",mitIdQesSignature:"mitIdQesSignature",seBankIdAdvancedSignature:"seBankIdAdvancedSignature",seBankIdQesSignature:"seBankIdQesSignature",seBankIdAdvancedHashSignature:"seBankIdAdvancedHashSignature",dkMitIdAdvancedHashSignature:"dkMitIdAdvancedHashSignature",noBankIdAdvancedHashSignature:"noBankIdAdvancedHashSignature",itSpidQualifiedHashSignature:"itSpidQualifiedHashSignature",ftnSignature:"ftnSignature",ftnQesSignature:"ftnQesSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",serproIdAdvancedSignature:"serproIdAdvancedSignature",czBankIDSignature:"czBankIDSignature",abaDoSignature:"abaDoSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature",dTrustSignMeSignature:"dTrustSignMeSignature",dTrustSignMeAdvSignature:"dTrustSignMeAdvSignature",chaveMovelSignature:"chaveMovelSignature",eCertChileSignature:"eCertChileSignature",mitIdSignature:"mitIdSignature",noBankIdAdvSignature:"noBankIdAdvSignature",noBankIdAdvLightSignature:"noBankIdAdvLightSignature",idinSignature:"idinSignature",verifaiSignature:"verifaiSignature",spidQesSignature:"spidQesSignature",frejaSimpleSignature:"frejaSimpleSignature",audkenniQesSignature:"audkenniQesSignature",yesComQesSignature:"yesComQesSignature",simplySignQesSignature:"simplySignQesSignature",uanatacaQesSignature:"uanatacaQesSignature",infoCertQesSignature:"infoCertQesSignature",certsignWebapiQesSignature:"certsignWebapiQesSignature",halcomQesSignature:"halcomQesSignature",swissIdQesSignature:"swissIdQesSignature",swissComQesSignature:"swissComQesSignature",frejaAdvancedSignature:"frejaAdvancedSignature",frejaQesSignature:"frejaQesSignature",itsmeQesSignature:"itsmeQesSignature",frIdentAdvancedSignature:"frIdentAdvancedSignature",gbOneIdAdvancedSignature:"gbOneIdAdvancedSignature",handwrittenSignature:"handwrittenSignature",haricaQesSignature:"haricaQesSignature",veriffAdvancedSignature:"veriffAdvancedSignature",ltIdQesSignature:"ltIdQesSignature",buypassQesSignature:"buypassQesSignature",intesiFtnAdvSignature:"intesiFtnAdvSignature",certStoreQesSignature:"certStoreQesSignature",certStoreAdvancedSignature:"certStoreAdvancedSignature",certStoreAdvancedUnverifiedSignature:"certStoreAdvancedUnverifiedSignature",trustAsiaSignature:"trustAsiaSignature",mscTrustGateSignature:"mscTrustGateSignature",gseAdvSignature:"gseAdvSignature",certMeQesSignature:"certMeQesSignature",esLleidaAdvSignature:"esLleidaAdvSignature",adacomQesSignature:"adacomQesSignature",adacomOneShotQesSignature:"adacomOneShotQesSignature",diiaQesSignature:"diiaQesSignature",emudhraQesSignature:"emudhraQesSignature",mxPscWorldAdvancedSignature:"mxPscWorldAdvancedSignature",transSpedQesSignature:"transSpedQesSignature",vidaAdvancedSignature:"vidaAdvancedSignature",vnBkavTokenSignature:"vnBkavTokenSignature",vnCa2TokenSignature:"vnCa2TokenSignature",vnFastTokenSignature:"vnFastTokenSignature",vnFptTokenSignature:"vnFptTokenSignature",vnSmartTokenSignature:"vnSmartTokenSignature",vnViettelTokenSignature:"vnViettelTokenSignature",vnVnptTokenSignature:"vnVnptTokenSignature",digilogixQesSignature:"digilogixQesSignature"},u=Object.freeze((r(e={},a.IDENTIFICATION,[{actionType:s.BE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["BE"]},{actionType:s.EE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["EE"]},{actionType:s.FI_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["FI"]},{actionType:s.LV_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LV"]},{actionType:s.LT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LT"]},{actionType:s.PT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["PT"]},{actionType:s.RS_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["RS"]},{actionType:s.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:c.eParakstsMobile,supportedCountries:["LV"]},{actionType:s.LV_EPARAKSTS_ID_LOGIN,handlingModule:c.eParakstsSmartCard,supportedCountries:["LV"]},{actionType:s.LT_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["LT"]},{actionType:s.EE_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["EE"]},{actionType:s.SMART_ID,handlingModule:c.smartId,supportedCountries:["EE","LV","LT","BE"]},{actionType:s.EE_WEB_EID_LOGIN,handlingModule:c.webEid,supportedCountries:["EE"]},{actionType:s.FREJA_EID_LOGIN,handlingModule:c.frejaEid,supportedCountries:["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","AL","BA","GE","MK","RS","GB","UA","AR","BR","CL","CO","CA","MX","PE","US","AU","HK","JP","NZ","SG","KR","TW","GL","AX"]},{actionType:s.ZEALID_LOGIN,handlingModule:c.zealId,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:s.CZ_MOJEID,handlingModule:c.mojeId,supportedCountries:["CZ"]},{actionType:s.EDOAPP_EID_LOGIN,handlingModule:c.edoAppEid,supportedCountries:["PL"]},{actionType:s.FI_FTN_LOGIN,handlingModule:c.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:s.AT_HANDY_SIGNATUR_LOGIN,handlingModule:c.atHandy,supportedCountries:["AT"]},{actionType:s.ITSME_LOGIN,handlingModule:c.itsme,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:s.ITSME_LOGIN_BASIC,handlingModule:c.itsmeBasic,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:s.ITSME_LOGIN_STANDARD,handlingModule:c.itsmeStandard,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:s.SE_BANKID_LOGIN,handlingModule:c.seBankId,supportedCountries:["SE"]},{actionType:s.IDIN_LOGIN,handlingModule:c.idin,supportedCountries:["NL"]},{actionType:s.IDIN_CUSTOMER_ID_LOGIN,handlingModule:c.idinCustomerId,supportedCountries:["NL"]},{actionType:s.VERIFAI_LOGIN,handlingModule:c.verifai,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:s.YOONIK_LOGIN,handlingModule:c.yoonik,supportedCountries:["WORLD"]},{actionType:s.PL_MOJEID_LOGIN,handlingModule:c.plMojeId,supportedCountries:["PL"]},{actionType:s.MIT_ID_LOGIN,handlingModule:c.mitId,supportedCountries:["DK"]},{actionType:s.MIT_ID_2_LOGIN,handlingModule:c.mitId2,supportedCountries:["DK"]},{actionType:s.NORWEGIAN_BANKID_LOGIN,handlingModule:c.norwegianBankId,supportedCountries:["NO"]},{actionType:s.FTN_LOGIN,handlingModule:c.ftn,supportedCountries:["FI"]},{actionType:s.GB_ONE_ID_LOGIN,handlingModule:c.gbOneId,supportedCountries:["GB"]},{actionType:s.VERIFF_LOGIN,handlingModule:c.veriff,supportedCountries:["AD","AO","AR","AM","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BT","BO","BA","BW","BR","BN","BG","BF","BI","KH","CM","CA","CV","CF","TD","CL","CN","CO","KM","CG","CD","CR","HR","CU","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FJ","FI","FR","GA","GM","GE","DE","GH","GR","GD","GT","GN","GW","GY","HT","VA","HN","HU","IS","IN","ID","IR","IQ","IE","IL","IT","JM","JP","JO","KZ","KE","KI","XK","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MG","MW","MY","MV","ML","MT","MH","MR","MU","MX","FM","MD","MC","MN","ME","MA","MZ","MM","NA","NR","NP","NL","NZ","NI","NE","NG","KP","MK","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PL","PT","QA","RO","RU","RW","KN","LC","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","KR","SS","ES","LK","SD","SR","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TO","TT","TN","TR","TM","TV","UG","UA","AE","GB","US","UY","UZ","VU","VE","VN","YE","ZM","ZW"]},{actionType:s.LIDENTITE_NUMERIQUE_LOGIN,handlingModule:c.lIdentiteNumerique,supportedCountries:["FR"]}]),r(e,a.SIGNATURE,[{actionType:s.EE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["EE"]},{actionType:s.LV_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LV"]},{actionType:s.LT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LT"]},{actionType:s.FI_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["FI","AX"]},{actionType:s.PT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["PT"]},{actionType:s.BE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["BE"]},{actionType:s.HR_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["HR"]},{actionType:s.CZ_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["CZ"]},{actionType:s.CERTEUROPE_USB_TOKEN_SIGNATURE,handlingModule:c.certEuropeUsbTokenSignature,supportedCountries:["FR","PL"]},{actionType:s.CERTSIGN_USB_TOKEN_SIGNATURE,handlingModule:c.certSignUsbTokenSignature,supportedCountries:["RO","PL"]},{actionType:s.EE_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["EE"]},{actionType:s.LT_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["LT"]},{actionType:s.SMARTID_SIGNATURE,handlingModule:c.smartIdSignature,supportedCountries:["EE","LV","LT","BE"]},{actionType:s.EVROTRUST_SIGNATURE,handlingModule:c.evroTrustSignature,supportedCountries:["AL","AD","AM","AU","AT","AZ","BY","BE","BA","BG","CA","HR","CY","CZ","DK","EE","FI","FR","GE","DE","GR","HU","IS","IE","IT","IL","KZ","KE","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","NZ","NO","MK","PL","PT","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA","AX"]},{actionType:s.ITSME_QES_SIGNATURE,handlingModule:c.itsmeQesSignature,supportedCountries:["BE","DK","EE","FI","FR","DE","IS","IE","IT","LU","NO","PT","SE","ES","NL","GB"]},{actionType:s.OTP_EMAIL,handlingModule:c.otpSignature,supportedCountries:["WORLD"]},{actionType:s.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:c.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:s.FI_FTN_ADVANCED_SIGNATURE,handlingModule:c.ftnSignature,supportedCountries:["FI","AX"]},{actionType:s.FI_FTN_ADVANCED_FULL_SIGNATURE,handlingModule:c.ftnAdvancedFullSignature,supportedCountries:["FI","AX"]},{actionType:s.FI_FTN_QUALIFIED_SIGNATURE,handlingModule:c.ftnQesSignature,supportedCountries:["FI","AX"]},{actionType:s.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:c.atHandySignature,supportedCountries:["AT","DE"]},{actionType:s.ZEAL_ID_SIGNATURE,handlingModule:c.zealIdSignature,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RS","SE","SI","SK"]},{actionType:s.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:c.mojeIdSignature,supportedCountries:["CZ"]},{actionType:s.SERPRO_ID_ADVANCED_SIGNATURE,handlingModule:c.serproIdAdvancedSignature,supportedCountries:["BR"]},{actionType:s.MX_PSC_WORLD_ADVANCED_SIGNATURE,handlingModule:c.mxPscWorldAdvancedSignature,supportedCountries:["MX"]},{actionType:s.TRANS_SPED_QES_SIGNATURE,handlingModule:c.transSpedQesSignature,supportedCountries:["AF","AL","DZ","AD","AO","AR","AM","AU","AT","AZ","BH","BD","BY","BE","BZ","BJ","BT","BO","BA","BW","BR","BN","BG","BF","BI","KH","CM","CA","CV","CF","TD","CL","CN","CO","KM","CG","CD","CR","HR","CY","CZ","DK","DJ","DO","EC","EG","SV","GQ","ER","EE","ET","FJ","FI","FR","GA","GM","GE","DE","GH","GR","GT","GN","GY","HT","HN","HU","IS","IN","ID","IR","IQ","IE","IL","IT","JM","JP","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MG","MW","MY","MV","ML","MT","MR","MU","MX","MD","MC","MN","ME","MA","MZ","MM","NA","NP","NL","NZ","NI","NE","NG","NO","OM","PK","PA","PG","PY","PE","PH","PL","PT","QA","RO","RU","RW","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","KR","ES","LK","SD","SR","SZ","SE","CH","SY","TJ","TZ","TH","TL","TG","TO","TN","TR","TM","UG","UA","AE","GB","US","UY","UZ","VU","VE","VN","YE","ZM","ZW"]},{actionType:s.CZ_BANKID_ADVANCED_SIGNATURE,handlingModule:c.czBankIDSignature,supportedCountries:["CZ"]},{actionType:s.ABA_DO_QES_SIGNATURE,handlingModule:c.abaDoSignature,supportedCountries:["DO"]},{actionType:s.GOOGLE_SIGNATURE,handlingModule:c.googleSignature,supportedCountries:["WORLD"]},{actionType:s.SE_BANKID_SIGNATURE,handlingModule:c.seBankIdSignature,supportedCountries:["SE"]},{actionType:s.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,handlingModule:c.dTrustSignMeSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","FI","US","BG","HU","LT","LV","EE","HR","SI","IT","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]},{actionType:s.D_TRUST_SIGN_ME_ADVANCED_SIGNATURE,handlingModule:c.dTrustSignMeAdvSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","FI","US","BG","HU","LT","LV","EE","HR","SI","IT","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]},{actionType:s.CHAVE_MOVEL_QUALIFIED_SIGNATURE,handlingModule:c.chaveMovelSignature,supportedCountries:["PT"]},{actionType:s.CL_ECERT_ADVANCED_SIGNATURE,handlingModule:c.eCertChileSignature,supportedCountries:["CL"]},{actionType:s.NORWEGIAN_BANKID_ADVANCED_SIGNATURE,handlingModule:c.noBankIdAdvSignature,supportedCountries:["NO"]},{actionType:s.NORWEGIAN_BANKID_ADVANCED_LIGHT_SIGNATURE,handlingModule:c.noBankIdAdvLightSignature,supportedCountries:["NO"]},{actionType:s.MIT_ID_SIMPLE_SIGNATURE,handlingModule:c.mitIdSignature,supportedCountries:["DK","GL"]},{actionType:s.IDIN_SIMPLE_SIGNATURE,handlingModule:c.idinSignature,supportedCountries:["NL"]},{actionType:s.SPID_QUALIFIED_SIGNATURE,handlingModule:c.spidQesSignature,supportedCountries:["IT"]},{actionType:s.VERIFAI_SIMPLE_SIGNATURE,handlingModule:c.verifaiSignature,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IR","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","KP","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RU","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:s.FREJA_SIMPLE_SIGNATURE,handlingModule:c.frejaSimpleSignature,supportedCountries:["AT","BE","BG","HR","CY","CZ","DK","EE","FI","FR","DE","GR","HU","IE","IT","LV","LT","LU","MT","NL","PL","PT","RO","SK","SI","ES","SE","IS","LI","NO","AL","BA","GE","MK","RS","GB","UA","AR","BR","CL","CO","CA","MX","PE","US","AU","HK","JP","NZ","SG","KR","TW","GL","AX"]},{actionType:s.AUDKENNI_QUALIFIED_SIGNATURE,handlingModule:c.audkenniQesSignature,supportedCountries:["IS"]},{actionType:s.YES_COM_QUALIFIED_SIGNATURE,handlingModule:c.yesComQesSignature,supportedCountries:["DE"]},{actionType:s.SIMPLY_SIGN_QES_SIGNATURE,handlingModule:c.simplySignQesSignature,supportedCountries:["PL"]},{actionType:s.UANATACA_QUALIFIED_SIGNATURE,handlingModule:c.uanatacaQesSignature,supportedCountries:["ES"]},{actionType:s.INFOCERT_QUALIFIED_SIGNATURE,handlingModule:c.infoCertQesSignature,supportedCountries:["AF","AX","AL","DZ","AS","AD","AO","AI","AQ","AG","AR","AM","AW","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BM","BT","BO","BA","BW","BV","BR","IO","BN","BG","BF","BI","CV","KH","CM","CA","KY","CF","TD","CL","CN","CX","CC","CO","KM","CG","CD","CK","CR","CI","HR","CU","CY","CZ","DK","DE","DJ","DM","DO","EC","EG","ER","GQ","ER","EE","ET","FK","FO","FJ","FI","FR","GF","PF","TF","GA","GM","GE","GH","GI","GR","GL","GD","GP","GU","GT","GN","GW","GY","HT","HM","VA","HN","HK","HU","IS","IN","ID","IQ","IE","IM","IL","IT","JM","JP","JE","JO","KZ","KE","KI","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MO","MK","MG","MW","MY","MV","ML","MT","MH","MQ","MR","MU","YT","MX","FM","MD","MC","MN","ME","MS","MA","MZ","MM","NA","NR","NP","NL","NC","NZ","NI","NE","NG","NU","NF","MP","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PN","PL","PT","PR","QA","RE","RO","RW","BL","SH","KN","LC","MF","PM","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","GS","KR","SS","ES","LK","SD","SR","SJ","SZ","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TK","TO","TT","TN","TR","TM","TC","TV","UG","UA","AE","GB","UM","US","UY","UZ","VU","VE","VN","VG","VI","WF","EH","YE","ZM","ZW"]},{actionType:s.CERTSIGN_WEBAPI_QUALIFIED_SIGNATURE,handlingModule:c.certsignWebapiQesSignature,supportedCountries:["RO"]},{actionType:s.HALCOM_QUALIFIED_SIGNATURE,handlingModule:c.halcomQesSignature,supportedCountries:["SI"]},{actionType:s.SWISS_ID_QUALIFIED_SIGNATURE,handlingModule:c.swissIdQesSignature,supportedCountries:["CH"]},{actionType:s.SWISS_COM_QUALIFIED_SIGNATURE,handlingModule:c.swissComQesSignature,supportedCountries:["CH"]},{actionType:s.DK_MITID_ADVANCED_SIGNATURE,handlingModule:c.mitIdAdvancedSignature,supportedCountries:["DK"]},{actionType:s.DK_MITID_QES_SIGNATURE,handlingModule:c.mitIdQesSignature,supportedCountries:["DK"]},{actionType:s.SE_BANK_ID_ADVANCED_SIGNATURE,handlingModule:c.seBankIdAdvancedSignature,supportedCountries:["SE"]},{actionType:s.SE_BANK_ID_QES_SIGNATURE,handlingModule:c.seBankIdQesSignature,supportedCountries:["SE"]},{actionType:s.SE_BANK_ID_ADVANCED_HASH_SIGNATURE,handlingModule:c.seBankIdAdvancedHashSignature,supportedCountries:["SE"]},{actionType:s.DK_MIT_ID_ADVANCED_HASH_SIGNATURE,handlingModule:c.dkMitIdAdvancedHashSignature,supportedCountries:["DK"]},{actionType:s.NO_BANK_ID_ADVANCED_HASH_SIGNATURE,handlingModule:c.noBankIdAdvancedHashSignature,supportedCountries:["NO"]},{actionType:s.IT_SPID_QUALIFIED_HASH_SIGNATURE,handlingModule:c.itSpidQualifiedHashSignature,supportedCountries:["IT"]},{actionType:s.SE_FREJA_EID_ADVANCED_SIGNATURE,handlingModule:c.frejaAdvancedSignature,supportedCountries:["SE"]},{actionType:s.SE_FREJA_EID_QES_SIGNATURE,handlingModule:c.frejaQesSignature,supportedCountries:["SE"]},{actionType:s.FR_IDENT_ADVANCED_SIGNATURE,handlingModule:c.frIdentAdvancedSignature,supportedCountries:["FR"]},{actionType:s.GB_ONE_ID_ADVANCED_SIGNATURE,handlingModule:c.gbOneIdAdvancedSignature,supportedCountries:["GB"]},{actionType:s.HANDWRITTEN_SIMPLE_SIGNATURE,handlingModule:c.handwrittenSignature,supportedCountries:["WORLD"]},{actionType:s.HARICA_QES_SIGNATURE,handlingModule:c.haricaQesSignature,supportedCountries:["GR"]},{actionType:s.VERIFF_ADVANCED_SIGNATURE,handlingModule:c.veriffAdvancedSignature,supportedCountries:["AD","AO","AR","AM","AU","AT","AZ","BS","BH","BD","BB","BY","BE","BZ","BJ","BT","BO","BA","BW","BR","BN","BG","BF","BI","KH","CM","CA","CV","CF","TD","CL","CN","CO","KM","CG","CD","CR","HR","CU","CY","CZ","CI","DK","DJ","DM","DO","EC","EG","SV","GQ","ER","EE","SZ","ET","FJ","FI","FR","GA","GM","GE","DE","GH","GR","GD","GT","GN","GW","GY","HT","VA","HN","HU","IS","IN","ID","IR","IQ","IE","IL","IT","JM","JP","JO","KZ","KE","KI","XK","KW","KG","LA","LV","LB","LS","LR","LY","LI","LT","LU","MG","MW","MY","MV","ML","MT","MH","MR","MU","MX","FM","MD","MC","MN","ME","MA","MZ","MM","NA","NR","NP","NL","NZ","NI","NE","NG","KP","MK","NO","OM","PK","PW","PS","PA","PG","PY","PE","PH","PL","PT","QA","RO","RU","RW","KN","LC","VC","WS","SM","ST","SA","SN","RS","SC","SL","SG","SK","SI","SB","SO","ZA","KR","SS","ES","LK","SD","SR","SE","CH","SY","TW","TJ","TZ","TH","TL","TG","TO","TT","TN","TR","TM","TV","UG","UA","AE","GB","US","UY","UZ","VU","VE","VN","YE","ZM","ZW"]},{actionType:s.LT_ID_QES_SIGNATURE,handlingModule:c.ltIdQesSignature,supportedCountries:["LT"]},{actionType:s.CERT_STORE_QES_SIGNATURE,handlingModule:c.certStoreQesSignature,supportedCountries:["WORLD"]},{actionType:s.CERT_STORE_ADVANCED_SIGNATURE,handlingModule:c.certStoreAdvancedSignature,supportedCountries:["WORLD"]},{actionType:s.CERT_STORE_ADV_UNVERIFIED_SIGN,handlingModule:c.certStoreAdvancedUnverifiedSignature,supportedCountries:["WORLD"]},{actionType:s.BUYPASS_QES_SIGNATURE,handlingModule:c.buypassQesSignature,supportedCountries:["NO"]},{actionType:s.FI_FTN_INTESI_ADS_SIGNATURE,handlingModule:c.intesiFtnAdvSignature,supportedCountries:["FI"]},{actionType:s.TRUST_ASIA_SIGNATURE,handlingModule:c.trustAsiaSignature,supportedCountries:["CN"]},{actionType:s.MSC_TRUST_GATE_SIGNATURE,handlingModule:c.mscTrustGateSignature,supportedCountries:["MY"]},{actionType:s.GSE_ADV_SIGNATURE,handlingModule:c.gseAdvSignature,supportedCountries:["CO"]},{actionType:s.CERTME_QES_SIGNATURE,handlingModule:c.certMeQesSignature,supportedCountries:["RO"]},{actionType:s.ES_LLEIDA_ADV_SIGNATURE,handlingModule:c.esLleidaAdvSignature,supportedCountries:["ES"]},{actionType:s.ADACOM_QES_SIGNATURE,handlingModule:c.adacomQesSignature,supportedCountries:["GR"]},{actionType:s.ADACOM_ONE_SHOT_QES_SIGNATURE,handlingModule:c.adacomOneShotQesSignature,supportedCountries:["AL","AR","AU","AT","BD","BE","BR","BG","CA","CL","CN","CO","CR","HR","CY","CZ","DK","DO","EC","EG","EE","FI","FR","DE","GB","GR","HU","IS","IE","IN","IL","IT","JP","KE","LV","LT","LU","MY","MT","MX","MK","NL","NZ","NO","PK","PA","PE","PL","PT","KR","RO","RS","SG","SK","SI","ZA","ES","SE","CH","TW","TH","TR","UA","AE","UY","US","VE","VN"]},{actionType:s.DIIA_QES_SIGNATURE,handlingModule:c.diiaQesSignature,supportedCountries:["UA"]},{actionType:s.EMUDHRA_QES_SIGNATURE,handlingModule:c.emudhraQesSignature,supportedCountries:["IN"]},{actionType:s.VIDA_ADVANCED_SIGNATURE,handlingModule:c.vidaAdvancedSignature,supportedCountries:["ID"]},{actionType:s.VN_BKAV_TOKEN_SIGNATURE,handlingModule:c.vnBkavTokenSignature,supportedCountries:["VN"]},{actionType:s.VN_CA2_TOKEN_SIGNATURE,handlingModule:c.vnCa2TokenSignature,supportedCountries:["VN"]},{actionType:s.VN_FAST_TOKEN_SIGNATURE,handlingModule:c.vnFastTokenSignature,supportedCountries:["VN"]},{actionType:s.VN_FPT_TOKEN_SIGNATURE,handlingModule:c.vnFptTokenSignature,supportedCountries:["VN"]},{actionType:s.VN_SMART_TOKEN_SIGNATURE,handlingModule:c.vnSmartTokenSignature,supportedCountries:["VN"]},{actionType:s.VN_VIETTEL_TOKEN_SIGNATURE,handlingModule:c.vnViettelTokenSignature,supportedCountries:["VN"]},{actionType:s.VN_VNPT_TOKEN_SIGNATURE,handlingModule:c.vnVnptTokenSignature,supportedCountries:["VN"]},{actionType:s.DIGILOGIX_QES_SIGNATURE,handlingModule:c.digilogixQesSignature,supportedCountries:["AR"]}]),e)),d=function(e,t,n){var r=u[e];if(t&&n){var i=r.find((function(e){return e.handlingModule===t&&(e.supportedCountries.includes(n)||e.supportedCountries.includes("WORLD"))}));if(!i){if(0===r.filter((function(e){return e.handlingModule===t})).length)throw new Error("Could not find matching method configuration for ".concat(e,' module "').concat(t,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(e,'\n module "').concat(t,'".'))}return i}return r.find((function(e){return e.handlingModule===t}))},l=i(2492),p=i.n(l);function f(e,t){return function(){return e.apply(t,arguments)}}const{toString:g}=Object.prototype,{getPrototypeOf:h}=Object,y=(m=Object.create(null),e=>{const t=g.call(e);return m[t]||(m[t]=t.slice(8,-1).toLowerCase())});var m;const v=e=>(e=e.toLowerCase(),t=>y(t)===e),I=e=>t=>typeof t===e,{isArray:S}=Array,T=I("undefined"),E=v("ArrayBuffer"),b=I("string"),C=I("function"),A=I("number"),_=e=>null!==e&&"object"==typeof e,w=e=>{if("object"!==y(e))return!1;const t=h(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},N=v("Date"),R=v("File"),O=v("Blob"),D=v("FileList"),M=v("URLSearchParams"),[U,k,x,L]=["ReadableStream","Request","Response","Headers"].map(v);function B(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),S(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const i=n?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(r=0;r<o;r++)a=i[r],t.call(null,e[a],a,e)}}function P(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const G="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:__webpack_require__.g,j=e=>!T(e)&&e!==G,F=(V="undefined"!=typeof Uint8Array&&h(Uint8Array),e=>V&&e instanceof V);var V;const q=v("HTMLFormElement"),H=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),K=v("RegExp"),Q=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};B(n,((n,i)=>{let o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},z=v("AsyncFunction"),Z=(W="function"==typeof setImmediate,J=C(G.postMessage),W?setImmediate:J?(Y=`axios@${Math.random()}`,X=[],G.addEventListener("message",(({source:e,data:t})=>{e===G&&t===Y&&X.length&&X.shift()()}),!1),e=>{X.push(e),G.postMessage(Y,"*")}):e=>setTimeout(e));var W,J,Y,X;const $="undefined"!=typeof queueMicrotask?queueMicrotask.bind(G):"undefined"!=typeof process&&process.nextTick||Z;var ee={isArray:S,isArrayBuffer:E,isBuffer:function(e){return null!==e&&!T(e)&&null!==e.constructor&&!T(e.constructor)&&C(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||C(e.append)&&("formdata"===(t=y(e))||"object"===t&&C(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&E(e.buffer),t},isString:b,isNumber:A,isBoolean:e=>!0===e||!1===e,isObject:_,isPlainObject:w,isReadableStream:U,isRequest:k,isResponse:x,isHeaders:L,isUndefined:T,isDate:N,isFile:R,isBlob:O,isRegExp:K,isFunction:C,isStream:e=>_(e)&&C(e.pipe),isURLSearchParams:M,isTypedArray:F,isFileList:D,forEach:B,merge:function e(){const{caseless:t}=j(this)&&this||{},n={},r=(r,i)=>{const o=t&&P(n,i)||i;w(n[o])&&w(r)?n[o]=e(n[o],r):w(r)?n[o]=e({},r):S(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&B(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:r}={})=>(B(t,((t,r)=>{n&&C(t)?e[r]=f(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&h(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:y,kindOfTest:v,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(S(e))return e;let t=e.length;if(!A(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:q,hasOwnProperty:H,hasOwnProp:H,reduceDescriptors:Q,freezeMethods:e=>{Q(e,((t,n)=>{if(C(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];C(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return S(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:P,global:G,isContextDefined:j,isSpecCompliantForm:function(e){return!!(e&&C(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(_(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const i=S(e)?[]:{};return B(e,((e,t)=>{const o=n(e,r+1);!T(o)&&(i[t]=o)})),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(_(e)||C(e))&&C(e.then)&&C(e.catch),setImmediate:Z,asap:$};function te(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}ee.inherits(te,Error,{toJSON:function(){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:ee.toJSONObject(this.config),code:this.code,status:this.status}}});const ne=te.prototype,re={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{re[e]={value:e}})),Object.defineProperties(te,re),Object.defineProperty(ne,"isAxiosError",{value:!0}),te.from=(e,t,n,r,i,o)=>{const a=Object.create(ne);return ee.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),te.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var ie=te;function oe(e){return ee.isPlainObject(e)||ee.isArray(e)}function ae(e){return ee.endsWith(e,"[]")?e.slice(0,-2):e}function se(e,t,n){return e?e.concat(t).map((function(e,t){return e=ae(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ce=ee.toFlatObject(ee,{},null,(function(e){return/^is[A-Z]/.test(e)}));var ue=function(e,t,n){if(!ee.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=ee.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!ee.isUndefined(t[e])}))).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&ee.isSpecCompliantForm(t);if(!ee.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(ee.isDate(e))return e.toISOString();if(!s&&ee.isBlob(e))throw new ie("Blob is not supported. Use a Buffer instead.");return ee.isArrayBuffer(e)||ee.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(ee.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(ee.isArray(e)&&function(e){return ee.isArray(e)&&!e.some(oe)}(e)||(ee.isFileList(e)||ee.endsWith(n,"[]"))&&(s=ee.toArray(e)))return n=ae(n),s.forEach((function(e,r){!ee.isUndefined(e)&&null!==e&&t.append(!0===a?se([n],r,o):null===a?n:n+"[]",c(e))})),!1;return!!oe(e)||(t.append(se(i,n,o),c(e)),!1)}const d=[],l=Object.assign(ce,{defaultVisitor:u,convertValue:c,isVisitable:oe});if(!ee.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!ee.isUndefined(n)){if(-1!==d.indexOf(n))throw Error("Circular reference detected in "+r.join("."));d.push(n),ee.forEach(n,(function(n,o){!0===(!(ee.isUndefined(n)||null===n)&&i.call(t,n,ee.isString(o)?o.trim():o,r,l))&&e(n,r?r.concat(o):[o])})),d.pop()}}(e),t};function de(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function le(e,t){this._pairs=[],e&&ue(e,this,t)}const pe=le.prototype;pe.append=function(e,t){this._pairs.push([e,t])},pe.toString=function(e){const t=e?function(t){return e.call(this,t,de)}:de;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var fe=le;function ge(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function he(e,t,n){if(!t)return e;const r=n&&n.encode||ge;ee.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(o=i?i(t,n):ee.isURLSearchParams(t)?t.toString():new fe(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var ye=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ee.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},me={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},ve={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:fe,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Ie="undefined"!=typeof window&&"undefined"!=typeof document,Se="object"==typeof navigator&&navigator||void 0,Te=Ie&&(!Se||["ReactNative","NativeScript","NS"].indexOf(Se.product)<0),Ee="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,be=Ie&&window.location.href||"http://localhost";var Ce={...t,...ve},Ae=function(e){function t(e,n,r,i){let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;return o=!o&&ee.isArray(r)?r.length:o,s?(ee.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):(r[o]&&ee.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&ee.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}(r[o])),!a)}if(ee.isFormData(e)&&ee.isFunction(e.entries)){const n={};return ee.forEachEntry(e,((e,r)=>{t(function(e){return ee.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null};const _e={transitional:me,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=ee.isObject(e);if(i&&ee.isHTMLForm(e)&&(e=new FormData(e)),ee.isFormData(e))return r?JSON.stringify(Ae(e)):e;if(ee.isArrayBuffer(e)||ee.isBuffer(e)||ee.isStream(e)||ee.isFile(e)||ee.isBlob(e)||ee.isReadableStream(e))return e;if(ee.isArrayBufferView(e))return e.buffer;if(ee.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ue(e,new Ce.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Ce.isNode&&ee.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=ee.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return ue(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(ee.isString(e))try{return(0,JSON.parse)(e),ee.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||_e.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(ee.isResponse(e)||ee.isReadableStream(e))return e;if(e&&ee.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw ie.from(e,ie.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ce.classes.FormData,Blob:Ce.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ee.forEach(["delete","get","head","post","put","patch"],(e=>{_e.headers[e]={}}));var we=_e;const Ne=ee.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"]),Re=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function De(e){return!1===e||null==e?e:ee.isArray(e)?e.map(De):String(e)}function Me(e,t,n,r,i){return ee.isFunction(r)?r.call(this,t,n):(i&&(t=n),ee.isString(t)?ee.isString(r)?-1!==t.indexOf(r):ee.isRegExp(r)?r.test(t):void 0:void 0)}class Ue{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=Oe(t);if(!i)throw new Error("header name must be a non-empty string");const o=ee.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=De(e))}const o=(e,t)=>ee.forEach(e,((e,n)=>i(e,n,t)));if(ee.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(ee.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach((function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&Ne[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(ee.isHeaders(e))for(const[t,r]of e.entries())i(r,t,n);else null!=e&&i(t,e,n);return this}get(e,t){if(e=Oe(e)){const n=ee.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(ee.isFunction(t))return t.call(this,e,n);if(ee.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Oe(e)){const n=ee.findKey(this,e);return!(!n||void 0===this[n]||t&&!Me(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=Oe(e)){const i=ee.findKey(n,e);!i||t&&!Me(0,n[i],i,t)||(delete n[i],r=!0)}}return ee.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!Me(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return ee.forEach(this,((r,i)=>{const o=ee.findKey(n,i);if(o)return t[o]=De(r),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(i):String(i).trim();a!==i&&delete t[i],t[a]=De(r),n[a]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ee.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&ee.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Re]=this[Re]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Oe(e);t[r]||(function(e,t){const n=ee.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})}))}(n,e),t[r]=!0)}return ee.isArray(e)?e.forEach(r):r(e),this}}Ue.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ee.reduceDescriptors(Ue.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),ee.freezeMethods(Ue);var ke=Ue;function xe(e,t){const n=this||we,r=t||n,i=ke.from(r.headers);let o=r.data;return ee.forEach(e,(function(e){o=e.call(n,o,i.normalize(),t?t.status:void 0)})),i.normalize(),o}function Le(e){return!(!e||!e.__CANCEL__)}function Be(e,t,n){ie.call(this,null==e?"canceled":e,ie.ERR_CANCELED,t,n),this.name="CanceledError"}ee.inherits(Be,ie,{__CANCEL__:!0});var Pe=Be;function Ge(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new ie("Request failed with status code "+n.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const je=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),u=r[a];i||(i=c),n[o]=s,r[o]=c;let d=a,l=0;for(;d!==o;)l+=n[d++],d%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i<t)return;const p=u&&c-u;return p?Math.round(1e3*l/p):void 0}}(50,250);return function(e,t){let n,r,i=0,o=1e3/t;const a=(t,o=Date.now())=>{i=o,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?a(e,t):(n=e,r||(r=setTimeout((()=>{r=null,a(n)}),o-s)))},()=>n&&a(n)]}((n=>{const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=o-r,c=i(s);r=o,e({loaded:o,total:a,progress:a?o/a:void 0,bytes:s,rate:c||void 0,estimated:c&&a&&o<=a?(a-o)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})}),n)},Fe=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Ve=e=>(...t)=>ee.asap((()=>e(...t)));var qe=Ce.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ce.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ce.origin),Ce.navigator&&/(msie|trident)/i.test(Ce.navigator.userAgent)):()=>!0,He=Ce.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const a=[e+"="+encodeURIComponent(t)];ee.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),ee.isString(r)&&a.push("path="+r),ee.isString(i)&&a.push("domain="+i),!0===o&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function Ke(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&r||0==n?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Qe=e=>e instanceof ke?{...e}:e;function ze(e,t){t=t||{};const n={};function r(e,t,n,r){return ee.isPlainObject(e)&&ee.isPlainObject(t)?ee.merge.call({caseless:r},e,t):ee.isPlainObject(t)?ee.merge({},t):ee.isArray(t)?t.slice():t}function i(e,t,n,i){return ee.isUndefined(t)?ee.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function o(e,t){if(!ee.isUndefined(t))return r(void 0,t)}function a(e,t){return ee.isUndefined(t)?ee.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}const c={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>i(Qe(e),Qe(t),0,!0)};return ee.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=c[r]||i,a=o(e[r],t[r],r);ee.isUndefined(a)&&o!==s||(n[r]=a)})),n}var Ze=e=>{const t=ze({},e);let n,{data:r,withXSRFToken:i,xsrfHeaderName:o,xsrfCookieName:a,headers:s,auth:c}=t;if(t.headers=s=ke.from(s),t.url=he(Ke(t.baseURL,t.url),e.params,e.paramsSerializer),c&&s.set("Authorization","Basic "+btoa((c.username||"")+":"+(c.password?unescape(encodeURIComponent(c.password)):""))),ee.isFormData(r))if(Ce.hasStandardBrowserEnv||Ce.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(!1!==(n=s.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];s.setContentType([e||"multipart/form-data",...t].join("; "))}if(Ce.hasStandardBrowserEnv&&(i&&ee.isFunction(i)&&(i=i(t)),i||!1!==i&&qe(t.url))){const e=o&&a&&He.read(a);e&&s.set(o,e)}return t},We="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=Ze(e);let i=r.data;const o=ke.from(r.headers).normalize();let a,s,c,u,d,{responseType:l,onUploadProgress:p,onDownloadProgress:f}=r;function g(){u&&u(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(a),r.signal&&r.signal.removeEventListener("abort",a)}let h=new XMLHttpRequest;function y(){if(!h)return;const r=ke.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders());Ge((function(e){t(e),g()}),(function(e){n(e),g()}),{data:l&&"text"!==l&&"json"!==l?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h}),h=null}h.open(r.method.toUpperCase(),r.url,!0),h.timeout=r.timeout,"onloadend"in h?h.onloadend=y:h.onreadystatechange=function(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(y)},h.onabort=function(){h&&(n(new ie("Request aborted",ie.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new ie("Network Error",ie.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||me;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new ie(t,i.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,h)),h=null},void 0===i&&o.setContentType(null),"setRequestHeader"in h&&ee.forEach(o.toJSON(),(function(e,t){h.setRequestHeader(t,e)})),ee.isUndefined(r.withCredentials)||(h.withCredentials=!!r.withCredentials),l&&"json"!==l&&(h.responseType=r.responseType),f&&([c,d]=je(f,!0),h.addEventListener("progress",c)),p&&h.upload&&([s,u]=je(p),h.upload.addEventListener("progress",s),h.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(a=t=>{h&&(n(!t||t.type?new Pe(null,e,h):t),h.abort(),h=null)},r.cancelToken&&r.cancelToken.subscribe(a),r.signal&&(r.signal.aborted?a():r.signal.addEventListener("abort",a)));const m=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);m&&-1===Ce.protocols.indexOf(m)?n(new ie("Unsupported protocol "+m+":",ie.ERR_BAD_REQUEST,e)):h.send(i||null)}))},Je=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof ie?t:new Pe(t instanceof Error?t.message:t))}};let o=t&&setTimeout((()=>{o=null,i(new ie(`timeout ${t} of ms exceeded`,ie.ETIMEDOUT))}),t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach((e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)})),e=null)};e.forEach((e=>e.addEventListener("abort",i)));const{signal:s}=r;return s.unsubscribe=()=>ee.asap(a),s}};const Ye=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Xe=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*Ye(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},$e="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,et=$e&&"function"==typeof ReadableStream,tt=$e&&("function"==typeof TextEncoder?(nt=new TextEncoder,e=>nt.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var nt;const rt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},it=et&&rt((()=>{let e=!1;const t=new Request(Ce.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),ot=et&&rt((()=>ee.isReadableStream(new Response("").body))),at={stream:ot&&(e=>e.body)};var st;$e&&(st=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!at[e]&&(at[e]=ee.isFunction(st[e])?t=>t[e]():(t,n)=>{throw new ie(`Response type '${e}' is not supported`,ie.ERR_NOT_SUPPORT,n)})})));const ct={http:null,xhr:We,fetch:$e&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:a,onDownloadProgress:s,onUploadProgress:c,responseType:u,headers:d,withCredentials:l="same-origin",fetchOptions:p}=Ze(e);u=u?(u+"").toLowerCase():"text";let f,g=Je([i,o&&o.toAbortSignal()],a);const h=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let y;try{if(c&&it&&"get"!==n&&"head"!==n&&0!==(y=await(async(e,t)=>{const n=ee.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(ee.isBlob(e))return e.size;if(ee.isSpecCompliantForm(e)){const t=new Request(Ce.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ee.isArrayBufferView(e)||ee.isArrayBuffer(e)?e.byteLength:(ee.isURLSearchParams(e)&&(e+=""),ee.isString(e)?(await tt(e)).byteLength:void 0)})(t):n})(d,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(ee.isFormData(r)&&(e=n.headers.get("content-type"))&&d.setContentType(e),n.body){const[e,t]=Fe(y,je(Ve(c)));r=Xe(n.body,65536,e,t)}}ee.isString(l)||(l=l?"include":"omit");const i="credentials"in Request.prototype;f=new Request(t,{...p,signal:g,method:n.toUpperCase(),headers:d.normalize().toJSON(),body:r,duplex:"half",credentials:i?l:void 0});let o=await fetch(f);const a=ot&&("stream"===u||"response"===u);if(ot&&(s||a&&h)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=ee.toFiniteNumber(o.headers.get("content-length")),[n,r]=s&&Fe(t,je(Ve(s),!0))||[];o=new Response(Xe(o.body,65536,n,(()=>{r&&r(),h&&h()})),e)}u=u||"text";let m=await at[ee.findKey(at,u)||"text"](o,e);return!a&&h&&h(),await new Promise(((t,n)=>{Ge(t,n,{data:m,headers:ke.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:f})}))}catch(t){if(h&&h(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new ie("Network Error",ie.ERR_NETWORK,e,f),{cause:t.cause||t});throw ie.from(t,t&&t.code,e,f)}})};ee.forEach(ct,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const ut=e=>`- ${e}`,dt=e=>ee.isFunction(e)||null===e||!1===e;var lt=e=>{e=ee.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){let t;if(n=e[o],r=n,!dt(n)&&(r=ct[(t=String(n)).toLowerCase()],void 0===r))throw new ie(`Unknown adapter '${t}'`);if(r)break;i[t||"#"+o]=r}if(!r){const e=Object.entries(i).map((([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(ut).join("\n"):" "+ut(e[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function pt(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pe(null,e)}function ft(e){return pt(e),e.headers=ke.from(e.headers),e.data=xe.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),lt(e.adapter||we.adapter)(e).then((function(t){return pt(e),t.data=xe.call(e,e.transformResponse,t),t.headers=ke.from(t.headers),t}),(function(t){return Le(t)||(pt(e),t&&t.response&&(t.response.data=xe.call(e,e.transformResponse,t.response),t.response.headers=ke.from(t.response.headers))),Promise.reject(t)}))}const gt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{gt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ht={};gt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.8.2] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,o)=>{if(!1===e)throw new ie(r(i," has been removed"+(t?" in "+t:"")),ie.ERR_DEPRECATED);return t&&!ht[i]&&(ht[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}},gt.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var yt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],a=t[o];if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new ie("option "+o+" must be "+n,ie.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new ie("Unknown option "+o,ie.ERR_BAD_OPTION)}},validators:gt};const mt=yt.validators;class vt{constructor(e){this.defaults=e,this.interceptors={request:new ye,response:new ye}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ze(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&yt.assertOptions(n,{silentJSONParsing:mt.transitional(mt.boolean),forcedJSONParsing:mt.transitional(mt.boolean),clarifyTimeoutError:mt.transitional(mt.boolean)},!1),null!=r&&(ee.isFunction(r)?t.paramsSerializer={serialize:r}:yt.assertOptions(r,{encode:mt.function,serialize:mt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),yt.assertOptions(t,{baseUrl:mt.spelling("baseURL"),withXsrfToken:mt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=i&&ee.merge(i.common,i[t.method]);i&&ee.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete i[e]})),t.headers=ke.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,a.unshift(e.fulfilled,e.rejected))}));const c=[];let u;this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));let d,l=0;if(!s){const e=[ft.bind(this),void 0];for(e.unshift.apply(e,a),e.push.apply(e,c),d=e.length,u=Promise.resolve(t);l<d;)u=u.then(e[l++],e[l++]);return u}d=a.length;let p=t;for(l=0;l<d;){const e=a[l++],t=a[l++];try{p=e(p)}catch(e){t.call(this,e);break}}try{u=ft.call(this,p)}catch(e){return Promise.reject(e)}for(l=0,d=c.length;l<d;)u=u.then(c[l++],c[l++]);return u}getUri(e){return he(Ke((e=ze(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}ee.forEach(["delete","get","head","options"],(function(e){vt.prototype[e]=function(t,n){return this.request(ze(n||{},{method:e,url:t,data:(n||{}).data}))}})),ee.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,i){return this.request(ze(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}vt.prototype[e]=t(),vt.prototype[e+"Form"]=t(!0)}));var It=vt;class St{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,i){n.reason||(n.reason=new Pe(e,r,i),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new St((function(t){e=t})),cancel:e}}}var Tt=St;const Et={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Et).forEach((([e,t])=>{Et[t]=e}));var bt=Et;const Ct=function e(t){const n=new It(t),r=f(It.prototype.request,n);return ee.extend(r,It.prototype,n,{allOwnKeys:!0}),ee.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ze(t,n))},r}(we);Ct.Axios=It,Ct.CanceledError=Pe,Ct.CancelToken=Tt,Ct.isCancel=Le,Ct.VERSION="1.8.2",Ct.toFormData=ue,Ct.AxiosError=ie,Ct.Cancel=Ct.CanceledError,Ct.all=function(e){return Promise.all(e)},Ct.spread=function(e){return function(t){return e.apply(null,t)}},Ct.isAxiosError=function(e){return ee.isObject(e)&&!0===e.isAxiosError},Ct.mergeConfig=ze,Ct.AxiosHeaders=ke,Ct.formToJSON=e=>Ae(ee.isHTMLForm(e)?new FormData(e):e),Ct.getAdapter=lt,Ct.HttpStatusCode=bt,Ct.default=Ct;var At=Ct,_t=At.CancelToken,wt=At.isCancel;At.Cancel,At.interceptors.response.use((function(e){return(t=e.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT","ERROR"].includes(t.status)?Promise.reject(function(e){var t=e.message,n=e.config,r=e.code,i=e.request,o=e.response,a=new Error(t);return a.config=n,r&&(a.code=r),a.request=i,a.response=o,a.isRequestError=!0,a}({message:"Request failed with status code ".concat(e.status),config:e.config,request:e.request,response:e})):e;var t}));var Nt=function(e){return At(e)};function Rt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ot(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rt(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Dt=function(e,t){var n,r=t.modifyRequestSettings,i=e;return"function"==typeof r&&(n=r(i)),n&&(i=p()(i,n)),i},Mt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Nt(Dt(Ot({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))},n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Nt(Dt(Ot({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))};return Object.freeze({get:t,post:n,CancelToken:_t})};function Ut(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ut(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ut(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.identificationModules,n=void 0===t?[]:t,r=e.signingModules,i=void 0===r?[]:r,o=e.settings,a=void 0===o?{}:o,s=e.i18n,c=e.apiEndpoints,d=e.monitoringService,l=e.iframeMessenger,p=e.logger,f=kt({},a);f.apiEndpoints=c,s.setLanguage(f.language);var g=function(e){f.countryCode=e},h=function(){return f.countryCode},y=function(){return u},m={};n.forEach((function(e){var t=e({coreContext:{config:f,i18n:s,monitoringService:d,logger:p},apiClient:Mt({modifyRequestSettings:f.modifyRequestSettings})});m[t.MODULE_NAME]=t}));var v={};return i.forEach((function(e){var t=e({coreContext:{config:f,i18n:s,monitoringService:d,iframeMessenger:l,logger:p},apiClient:Mt({modifyRequestSettings:f.modifyRequestSettings})});v[t.MODULE_NAME]=t})),Object.freeze({identification:kt({},m),signature:kt({},v),getAllMethods:y,setLanguage:s.setLanguage,setCountryCode:g,getCountryCode:h,getLogs:p.getLogs})};function Lt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Bt=function(e){var t=e.rawSettings,i=e.schema,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);return Object.keys(i).forEach((function(e){var r=i[e],a=t[e];if(r.required&&void 0===a)throw new Error('Missing required setting "'.concat(e,'"'));if(void 0===a&&(o[e]=r.default),void 0!==o[e]&&void 0!==r.type&&r.type!==n(o[e]))throw new Error('Expected "'.concat(e,'" to be type of "').concat(r.type,'", but received "').concat(n(o[e]),'"'))})),o},Pt=Object.freeze({debug:10,info:20,error:30}),Gt={countryCode:{type:"string"},sandbox:{default:!1,type:"boolean"},clientId:{required:!0,type:"string"},redirectUri:{type:"string"},docId:{type:"string"},contractId:{type:"string"},apiEndpoints:{type:"object"},modifyRequestSettings:{type:"function"},language:{default:"en",type:"string"},success:{default:function(){},type:"function"},fail:{default:function(){},type:"function"},finished:{default:function(){},type:"function"},started:{default:function(){},type:"function"},redirect:{default:function(e){var t=e.data&&e.data.redirect_uri;return t?(window.location!==window.top.location?window.top.location.href=t:window.location.href=t,new Promise((function(){}))):e},type:"function"},remoteMonitoringEnabled:{default:!1},oauthParamState:{type:"string"},consoleLogLevel:{default:Pt.error,type:"number"}},jt=JSON.parse('{"id-card-read-timeout":"Das Auslesen des Ausweises hat zu lange gedauert. Bitte schließen Sie alle geöffneten Browserfenster und versuchen Sie es erneut.","no_certificates":"Zertifikate konnten nicht gelesen werden. Stellen Sie sicher, dass sich die Karte im Lesegerät befindet und das Lesegerät richtig funktioniert."}'),Ft=i.t(jt,2),Vt=JSON.parse('{"id-card-read-timeout":"Reading the ID card took too long. Please close all the open browser windows and then try again.","no_certificates":"Could not read certificates. Make sure that the card is in the reader and the reader is working properly."}'),qt=i.t(Vt,2),Ht=JSON.parse('{"id-card-read-timeout":"ID kaardi lugemine võttis liiga kaua aega. Palun sulge kõik brauseri aknad ja proovi uuesti.","no_certificates":"Sertfikaatide lugemine ebaõnnestus. Veendu, et ID kaart on lugejas ning lugeja on arvutiga ühendatud."}'),Kt=i.t(Ht,2),Qt=JSON.parse('{"id-card-read-timeout":"Perskaityti asmens tapatybės kortelę užtruko per ilgai. Uždarykite visus atidarytus naršyklės langus ir bandykite dar kartą.","no_certificates":"Nepavyko perskaityti sertifikatų. Įsitikinkite, kad kortelė yra skaitytuve ir skaitytuvas veikia tinkamai."}'),zt=i.t(Qt,2),Zt=JSON.parse('{"id-card-read-timeout":"ID kartes lasīšana aizņēma pārāk ilgu laiku. Lūdzu, aizveriet visus atvērtos pārlūkprogrammas logus un pēc tam mēģiniet vēlreiz.","no_certificates":"Nevarēja nolasīt sertifikātus. Pārliecinieties, vai karte ir lasītājā un lasītājs darbojas pareizi."}'),Wt=i.t(Zt,2),Jt=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),Yt={de:Ft,en:qt,et:Kt,lt:zt,lv:Wt,ru:i.t(Jt,2)},Xt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currentLanguage,n=void 0===t?"en":t,r=e.locales,i=void 0===r?Yt:r,o={currentLanguage:n},a="en",s=function(e){o.currentLanguage=e},c=function(){return o.currentLanguage},u=function(e){var t=i[o.currentLanguage];t||(t=i[a]);var n=t[e]||i[a][e];return n||(n=e),n};return Object.freeze({setLanguage:s,t:u,getCurrentLanguage:c})},$t=function(e){var t=e.clientId,n=e.remoteMonitoringEnabled,r=e.apiEndpoints;return{dispatch:function(e){var i=e.message;n&&Nt({url:r.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,data:{client_id:t,source:"browser-client",message:i}})}}};function en(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,i)}function tn(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){en(o,r,i,a,s,"next",e)}function s(e){en(o,r,i,a,s,"throw",e)}a(void 0)}))}}var nn=i(4687),rn=i.n(nn),on=i(361),an=i.n(on)(),sn=function(e){var t=e;return(wt(e)||"user_cancel"===e.message)&&(t.isCancel=!0),t.response&&t.response.data&&(t.response.data.message&&(t.userMessage=t.response.data.message),t.response.data.errors&&(t.userDetails=t.response.data.errors)),t},cn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data,n=e.message,r=an({message:n});if(t)r.data=t;else{if(!e.result||!e.result.data)throw new Error('Formatting the result failed.\n The function provided to createStep must return an object that has a "data" property.\n You provided: '.concat(JSON.stringify(r),"\n Set shouldFormatResult to false if you wish to disable autoformatting"));r.data=e.result.data}return r},un=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.error},dn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.shouldFormatResult,r=void 0===n||n;return function(){var t=tn(rn().mark((function t(){var n,i,o=arguments;return rn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.apply(void 0,o);case 2:if(n=t.sent,!(i=un(n))){t.next=6;break}throw sn(i);case 6:return t.abrupt("return",r?cn(n):n);case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()};class ln extends Error{name="NonError";constructor(e){super(ln._prepareSuperMessage(e))}static _prepareSuperMessage(e){try{return JSON.stringify(e)}catch{return String(e)}}}const pn=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],fn=Symbol(".toJSON was called"),gn=({from:e,seen:t,to_:n,forceEnumerable:r,maxDepth:i,depth:o})=>{const a=n||(Array.isArray(e)?[]:{});if(t.push(e),o>=i)return a;if("function"==typeof e.toJSON&&!0!==e[fn])return(e=>{e[fn]=!0;const t=e.toJSON();return delete e[fn],t})(e);for(const[n,s]of Object.entries(e))"function"==typeof Buffer&&Buffer.isBuffer(s)?a[n]="[object Buffer]":null===s||"object"!=typeof s||"function"!=typeof s.pipe?"function"!=typeof s&&(s&&"object"==typeof s?t.includes(e[n])?a[n]="[Circular]":(o++,a[n]=gn({from:e[n],seen:[...t],forceEnumerable:r,maxDepth:i,depth:o})):a[n]=s):a[n]="[object Stream]";for(const{property:t,enumerable:n}of pn)"string"==typeof e[t]&&Object.defineProperty(a,t,{value:e[t],enumerable:!!r||n,configurable:!0,writable:!0});return a};function hn(e,t={}){const{maxDepth:n=Number.POSITIVE_INFINITY}=t;return"object"==typeof e&&null!==e?gn({from:e,seen:[],forceEnumerable:!0,maxDepth:n,depth:0}):"function"==typeof e?`[Function: ${e.name||"anonymous"}]`:e}function yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yn(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vn=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var i=r.coreContext,o=r.apiClient,a=i.i18n,s=i.config,c=i.monitoringService,u=i.iframeMessenger,d=i.logger;return Object.freeze({MODULE_NAME:e,start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=mn(mn({},Gt),n),i=mn(mn({},s),e),l=Bt({rawSettings:i,schema:r}),p=l.success,f=l.fail,g=l.finished,h=e.language||a.getCurrentLanguage(),y=o.CancelToken.source(),m=y.token,v={onCancelByUser:function(){},onRefreshByUser:function(){}},I=function(e){v.onCancelByUser=e},S=function(e){v.onRefreshByUser=e},T=function(){y.cancel()},E=function(){v.onCancelByUser(),T()},b=function(){v.onRefreshByUser()},C=function(){var e=tn(rn().mark((function e(){return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(mn(mn({},l),{},{language:h,i18n:a,monitoringService:c,cancelToken:m,cancel:T,setOnCancelByUser:I,setOnRefreshByUser:S,apiClient:o,iframeMessenger:u,logger:d})).then((function(e){p(e)})).catch((function(e){d.error(e),c.dispatch({message:JSON.stringify(hn(e))}),f(sn(e))})).finally(g);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return C().catch((function(e){d.error(e),c.dispatch({message:JSON.stringify(hn(e))}),f(sn(e)),g(sn(e))})),Object.freeze({cancel:E,refresh:b})}})}};function In(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Sn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?In(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):In(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tn=c.idCard,En=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,s,c,u;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,i=t.apiClient,o=t.i18n,s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.apiEndpoints.inCurrentMode.readCard({countryCode:e.countryCode,clientId:e.clientId});return e.nonce&&(t+="?nonce=".concat(e.nonce)),i.get({url:t,cancelToken:e.cancelToken})},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=d(a.IDENTIFICATION,Tn,e.countryCode);return i.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},e.next=5,dn(s)(Sn(Sn({},t),{},{language:r,cancelToken:n})).catch((function(e){throw"ECONNABORTED"===e.code&&(e.userMessage=o.t("id-card-read-timeout")),e}));case 5:return u=e.sent,e.next=8,dn(c)(Sn(Sn({},t),{},{cancelToken:n,language:r,data:u.data}));case 8:return u=e.sent,e.abrupt("return",u);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),bn=vn(Tn,En,{countryCode:{type:"string",required:!0}});function Cn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function An(e){return function(e){if(Array.isArray(e))return Cn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Cn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Cn(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var _n=Object.freeze({fnTimeout:"EFNTIMEDOUT"}),wn=function(){var e=tn((function(e){var t=e.fn,n=e.shouldContinue,r=e.interval,i=e.fnTimeoutMs,o=void 0===i?864e5:i;return rn().mark((function e(){var i,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=0,a=function(){var e=tn(rn().mark((function e(s,c){var u,d;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i+=1,e.prev=1,e.next=4,Promise.race([t(),new Promise((function(e,t){return setTimeout((function(){var e=new Error("Function did not resolve in defined time");e.code=_n.fnTimeout,t(e)}),o)}))]);case 4:u=e.sent,d=void 0,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),u=void 0,d=e.t0;case 12:if(!n({result:u,attempts:i,error:d})){e.next=14;break}return e.abrupt("return",setTimeout(a,r,s,c));case 14:return e.abrupt("return",s({result:u,error:d}));case 15:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}(),e.abrupt("return",new Promise(a));case 3:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Nn=wn,Rn=[],On=function(e){var t=e.instanceId,n=void 0===t?"":t,r=e.consoleLogLevel,i=void 0===r?Pt.error:r,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"log",t=arguments.length>1?arguments[1]:void 0,r=["[".concat(n,"]: ")].concat(An(t));Rn.length>1e4&&Rn.shift();var o,a,s=r.map((function(e){return e instanceof Error?hn(e):e}));Rn.push(JSON.stringify([e].concat(An(s)))),Pt[e]>=i&&(console[e]?(o=console)[e].apply(o,An(r)):(a=console).log.apply(a,An(r)))};return Object.freeze({debug:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o("debug",t)},info:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o("info",t)},error:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];o("error",t)},getLogs:function(){return Rn}})},Dn=function(e){var t,n=e.pollInterval,r=void 0===n?2e3:n,i=e.maxPollDuration,o=e.fn,a=e.fnTimeoutMs,s=e.fnArgs,c=e.onPoll,u=void 0===c?function(){}:c,d=e.logger,l=void 0===d?On({instanceId:"apiPoller"}):d;i&&(t=i/r);var p=0,f=0,g=function(){var e=f;function n(){return e===f}return new Promise((function(e,i){Nn({fn:function(){return o.apply(void 0,An(s))},fnTimeoutMs:a,shouldContinue:function(e){if(!n())return!1;var r=e.result;l.info("Active poller result",r&&r.data),u(e);var i=r&&r.data&&r.data.status;if(e.error&&e.error.code===_n.fnTimeout)return console.log("Function did not resolve before the provided timeout, trying again",o),!0;var a=wt(e.error),s=e.error&&!e.error.response&&!a;s&&(p+=1);var c,d,f=!1;return c=e.attempts,(!(d=t)||c<d)&&p<3&&(f=s||"RUNNING"===i||"IN_PROGRESS"===i),f},interval:r}).then((function(t){n()&&(l.info("Active poller final result",t&&t.data),e(t))})).catch((function(e){n()&&i(e)}))}))};return{start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return new Promise((function(t,n){g().then(t).catch(n);var r=e.setOnRefreshByUser;(void 0===r?function(){}:r)((function(){f+=1,l.info("Refresh was called, pollerId: ",f),g().then(t).catch(n)}))}))}}};function Mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Un(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mn(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var kn=c.smartId,xn=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,s,c,u,l,p,f,g,h,y;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,i=t.idcode,o=t.pollInterval,s=void 0===o?1e3:o,c=t.cancelToken,u=t.language,l=t.apiClient,p=t.setOnRefreshByUser,f=function(e){var t=d(a.IDENTIFICATION,kn);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},g=function(e){var t=d(a.IDENTIFICATION,kn);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language}})},h=function(e){var t=Dn({pollInterval:e.pollInterval,maxPollDuration:12e4,fn:g,fnArgs:[Un(Un({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language})]});return new Promise((function(e,n){t.start({setOnRefreshByUser:p}).then(e).catch(n)}))},e.next=6,dn(f)(Un(Un({},t),{},{cancelToken:c,language:u,idcode:i}));case 6:return y=e.sent,r(y),e.next=10,dn(h)({config:t,data:Un({},y.data),cancelToken:c,pollInterval:s,language:u});case 10:return y=e.sent,e.abrupt("return",y);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ln=vn(kn,xn,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function Bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Gn=c.webEid,jn=function(e){var t=e.monitoringService,n=e.moduleName;return Object.freeze({log:function(e){t.dispatch({message:"".concat(n,": ").concat(e)})},logError:function(e,r){var i=JSON.stringify(hn(r));t.dispatch({message:"".concat(n,": ").concat(e,", reason: ").concat(i)})}})},Fn=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,s,c,u,l,p,f,g,h,y;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=jn({monitoringService:t.monitoringService,moduleName:"Web eID"}),r=t.cancelToken,i=t.language,o=t.apiClient,s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=d(a.IDENTIFICATION,Gn);return{data:{url:e.apiEndpoints.inCurrentMode.integrationIframe({clientId:e.clientId,actionType:t.actionType,docId:""})}}},c=function(){var e=tn((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return rn().mark((function t(){var i,o,a;return rn().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=e.iframeHolder,o=document.createElement("iframe"),a=e.iframeUrl,o.setAttribute("src",a),o.setAttribute("referrerpolicy","origin"),o.style.border="0",i.innerHTML="",i.appendChild(o),t.prev=8,t.next=11,window.eideasyIframeMessenger.send({iframe:o,message:{operation:"ready"},cancelToken:r});case 11:return t.abrupt("return",new Promise((function(e){e(o)})));case 14:throw t.prev=14,t.t0=t.catch(8),n.logError("Failed to create iframe",t.t0),t.t0;case 18:case"end":return t.stop()}}),t,null,[[8,14]])}))()}));return function(){return e.apply(this,arguments)}}(),u=function(){var e=tn(rn().mark((function e(t){var i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,i=t.iframeHolder,o=i.querySelector("iframe"),e.next=5,window.eideasyIframeMessenger.send({iframe:o,message:{operation:"getAuthToken",nonce:t.nonce},cancelToken:r});case 5:return a=e.sent,e.abrupt("return",new Promise((function(e){e(a)})));case 9:throw e.prev=9,e.t0=e.catch(0),n.logError("Failed to start Web eID",e.t0),e.t0;case 13:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(t){return e.apply(this,arguments)}}(),l=function(e){var t=d(a.IDENTIFICATION,Gn);return o.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{country:e.countryCode,method:t.actionType,lang:e.language}})},p=function(){var e=tn(rn().mark((function e(t){var n;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=d(a.IDENTIFICATION,Gn),e.abrupt("return",o.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.token,auth_token:t.authToken,method:n.actionType,lang:t.language}}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),e.next=9,dn(s)(Pn(Pn({},t),{},{cancelToken:r}));case 9:return f=e.sent,e.next=12,dn(c,{shouldFormatResult:!1})(Pn(Pn({},t),{},{cancelToken:r,iframeUrl:f.data.url})).catch((function(e){throw e}));case 12:return e.next=14,dn(l)(Pn(Pn({},t),{},{cancelToken:r,language:i}));case 14:return g=e.sent,e.next=17,dn(u,{shouldFormatResult:!1})(Pn(Pn({},t),{},{nonce:g.data.nonce,data:Pn({},g.data),cancelToken:r,language:i}));case 17:return h=e.sent,e.next=20,dn(p)(Pn(Pn({},t),{},{token:h.token,authToken:g.data.token,cancelToken:r}));case 20:return y=e.sent,e.abrupt("return",y);case 22:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Vn=vn(Gn,Fn,{countryCode:{type:"string",required:!0}});function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qn(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Kn=c.mobileId,Qn=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,s,c,u,l,p,f,g,h,y;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,i=t.apiClient,o=t.started,s=void 0===o?function(){}:o,c=t.idcode,u=t.phone,l=t.pollInterval,p=void 0===l?1e3:l,f=function(e){var t=d(a.IDENTIFICATION,Kn,e.countryCode);return i.post({url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,phone:e.phone,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},g=function(e){var t=d(a.IDENTIFICATION,Kn,e.countryCode);return i.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language},cancelToken:e.cancelToken})},h=function(e){var t=12e4/p,n=0;return Nn({fn:function(){return g(Hn(Hn({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language}))},shouldContinue:function(e){var r=e.result,i=r&&r.data&&r.data.status,o=wt(e.error),a=e.error&&!e.error.response&&!o;a&&(n+=1);var s=!1;return e.attempts<t&&n<3&&(s=a||"RUNNING"===i),s},interval:1e3})},e.next=6,dn(f)(Hn(Hn({},t),{},{cancelToken:n,language:r,idcode:c,phone:u}));case 6:return y=e.sent,s(y),e.next=10,dn(h)({config:t,data:y.data,cancelToken:n,language:r,pollInterval:p});case 10:return y=e.sent,e.abrupt("return",y);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),zn=vn(Kn,Qn,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),Zn=c.eParakstsMobile,Wn=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},Jn=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,dn(Wn)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Yn=vn(Zn,Jn);function Xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $n(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var er=c.frejaEid,tr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,s,c,u,l,p,f,g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,i=t.idcode,o=t.pollInterval,s=void 0===o?1e3:o,c=t.cancelToken,u=t.language,l=t.apiClient,p=function(e){var t=d(a.IDENTIFICATION,er);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},f=function(e){var t=d(a.IDENTIFICATION,er);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,lang:e.language,timeout:2}})},g=function(e){var t=1e5/e.pollInterval,n=0;return Nn({fn:function(){return f($n($n({},e.config),{},{data:e.data,language:e.language,cancelToken:e.cancelToken}))},shouldContinue:function(e){var r=e.result,i=r&&r.data&&r.data.status,o=wt(e.error),a=e.error&&!e.error.response&&!o;a&&(n+=1);var s=!1;return e.attempts<t&&n<3&&(s=a||"RUNNING"===i),s},interval:2e3})},e.next=6,dn(p)($n($n({},t),{},{cancelToken:c,language:u,idcode:i}));case 6:return h=e.sent,r(h),e.next=10,dn(g)({config:t,data:$n({},h.data),cancelToken:c,language:u,pollInterval:s});case 10:return h=e.sent,e.abrupt("return",h);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),nr=vn(er,tr,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rr(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var or=c.zealId,ar=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,s,c,u;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.apiClient,i=t.language,o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:e.clientId})})},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.iframeHolder,n=document.createElement("iframe"),r=e.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",t.innerHTML="";var i=function(e,t,n){var r=new URL(e.data),i=r.searchParams.get("error"),o=r.searchParams.get("code");i?n(i):o?t({data:{code:o}}):n(e.data)},o=new Promise((function(e,t){window.addEventListener("message",(function(n){var o=new URL(r);n.origin===o.origin&&(window.removeEventListener("message",i),i(n,e,t))}))}));return t.appendChild(n),o},c=function(e){var t=d(a.IDENTIFICATION,or);return r.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{method:t.actionType,code:e.data.code,lang:e.language}})},e.next=6,dn(o)(ir(ir({},t),{},{cancelToken:n}));case 6:return u=e.sent,e.next=9,dn(s)(ir(ir({},t),{},{cancelToken:n,iframeUrl:u.data.url}));case 9:return u=e.sent,e.next=12,dn(c)(ir(ir({},t),{},{cancelToken:n,language:i},u));case 12:return u=e.sent,e.abrupt("return",u);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),sr=vn(or,ar,{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),cr=c.mojeId,ur=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},dr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,dn(ur)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),lr=vn(cr,dr),pr=c.edoAppEid,fr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.edoAppEid({clientId:n,redirectUri:r})}}},gr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,dn(fr)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),hr=vn(pr,gr),yr=c.finnishTrustNetwork,mr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:i})}}},vr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(mr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ir=vn(yr,vr),Sr=c.atHandy,Tr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Er=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,dn(Tr)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),br=vn(Sr,Er),Cr=c.itsme,Ar=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.itsme({clientId:n,redirectUri:r,language:i})}}},_r=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Ar)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),wr=vn(Cr,_r),Nr=c.itsmeBasic,Rr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.itsmeBasic({clientId:n,redirectUri:r,language:i})}}},Or=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Rr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Dr=vn(Nr,Or),Mr=c.itsmeStandard,Ur=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.itsmeStandard({clientId:n,redirectUri:r,language:i})}}},kr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Ur)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),xr=vn(Mr,kr),Lr=c.seBankId,Br=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.seBankId({clientId:n,redirectUri:r,language:i})}}},Pr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Br)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Gr=vn(Lr,Pr),jr=c.idin,Fr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.idin({clientId:n,redirectUri:r,language:i})}}},Vr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Fr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),qr=vn(jr,Vr),Hr=c.idinCustomerId,Kr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.idinCustomerId({clientId:n,redirectUri:r,language:i})}}},Qr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Kr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),zr=vn(Hr,Qr),Zr=c.verifai,Wr=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.verifai({clientId:n,redirectUri:r,language:i})}}},Jr=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Wr)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Yr=vn(Zr,Jr),Xr=c.yoonik,$r=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.yoonik({clientId:n,redirectUri:r,language:i})}}},ei=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn($r)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ti=vn(Xr,ei),ni=c.plMojeId,ri=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.plMojeId({clientId:n,redirectUri:r})}}},ii=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,dn(ri)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),oi=vn(ni,ii),ai=c.mitId,si=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.mitId({clientId:n,redirectUri:r,language:i})}}},ci=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(si)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ui=vn(ai,ci),di=c.mitId2,li=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.mitId2({clientId:n,redirectUri:r,language:i})}}},pi=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(li)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),fi=vn(di,pi),gi=c.norwegianBankId,hi=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.norwegianBankId({clientId:n,redirectUri:r,language:i})}}},yi=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(hi)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),mi=vn(gi,yi),vi=c.ftn,Ii=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.ftn({clientId:n,redirectUri:r,language:i})}}},Si=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(Ii)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ti=vn(vi,Si),Ei=c.gbOneId,bi=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language;return{data:{redirect_uri:t.inCurrentMode.gbOneId({clientId:n,redirectUri:r,language:i})}}},Ci=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,e.next=3,dn(bi)({apiEndpoints:r,clientId:i,redirectUri:o,language:a});case 3:return s=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(s));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ai=vn(Ei,Ci),_i=c.veriff,wi=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language,o=e.country;return{data:{redirect_uri:t.inCurrentMode.veriff({clientId:n,redirectUri:r,language:i,country:o})}}},Ni=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s,c;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,s=t.country,e.next=3,dn(wi)({apiEndpoints:r,clientId:i,redirectUri:o,language:a,country:s});case 3:return c=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(c));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ri=vn(_i,Ni),Oi=c.lIdentiteNumerique,Di=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,i=e.language,o=e.country;return{data:{redirect_uri:t.inCurrentMode.lIdentiteNumerique({clientId:n,redirectUri:r,language:i,country:o})}}},Mi=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a,s,c;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,a=t.language,s=t.country,e.next=3,dn(Di)({apiEndpoints:r,clientId:i,redirectUri:o,language:a,country:s});case 3:return c=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(c));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Ui=vn(Oi,Mi),ki=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.userMessage,i=void 0===r?"":r,o=e.details,a=void 0===o?{}:o;this.message=n,this.userMessage=i,this.details=a,this.stack=(new Error).stack};(ki.prototype=new Error).name="MethodException";var xi=ki,Li={iframeHolder:{type:"object"},docId:{type:"string",required:!0},signingCertificate:{type:"string",required:!1}},Bi=function(e){var t=e.monitoringService,n=e.moduleName;return Object.freeze({log:function(e){t.dispatch({message:"".concat(n,": ").concat(e)})},logError:function(e,r){var i=JSON.stringify(hn(r));t.dispatch({message:"".concat(n,": ").concat(e,", reason: ").concat(i)})}})},Pi=function(e){var t=e.moduleName,n=e.createModuleCreator,r=function(e){var n=e.countryCode,r=e.clientId,i=e.docId,o=e.apiEndpoints,s=d(a.SIGNATURE,t,n);return o.inCurrentMode.integrationIframe({clientId:r,docId:i,actionType:s.actionType})},i=function(e,t){if(e instanceof Error)throw e;var n;throw"no_certificates"===e.result&&(n=t.t("no_certificates")),new xi({userMessage:n,message:e.message,details:e})},o=function(){var e=tn((function(e){var t=e.iframeHolder,n=e.iframeUrl,r=e.monitor,i=e.iframeMessenger,o=e.cancelToken;return rn().mark((function e(){var a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return(a=document.createElement("iframe")).setAttribute("src",n),a.setAttribute("referrerpolicy","origin"),a.setAttribute("allow","clipboard-write"),a.style.width="100%",a.style.height="100%",a.style.position="relative",a.style.border="0",t.innerHTML="",r.log("Trying to create iframe with src: ".concat(n)),t.appendChild(a),e.prev=11,e.next=14,i.send({iframe:a,message:{operation:"ready"},cancelToken:o});case 14:return e.abrupt("return",new Promise((function(e){e(a)})));case 17:throw e.prev=17,e.t0=e.catch(11),r.logError("Failed to create iframe",e.t0),e.t0;case 21:case"end":return e.stop()}}),e,null,[[11,17]])}))()}));return function(t){return e.apply(this,arguments)}}(),s=function(){var e=tn((function(e){var t=e.iframeMessenger,n=e.iframe,r=e.country,i=e.cancelToken;return rn().mark((function e(){var o;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.send({iframe:n,message:{operation:"getCertificate",country:r},cancelToken:i});case 2:return o=e.sent,e.abrupt("return",{data:{certificate:o.certificate}});case 4:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),c=function(e){var t=e.certificate,n=e.clientId,r=e.docId,i=e.countryCode,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=a.inCurrentMode.startSigning();return s.post({url:u,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:c,certificate:t,base64_certificate:t,country:i},cancelToken:o})},u=function(e){var t=e.iframeMessenger,n=e.iframe,r=e.hexDigests,i=e.signedInfoDigests,o=e.certificate,a=e.country,s=e.monitor,c=e.cancelToken;return s.log("Trying to sign the digests: ".concat(JSON.stringify(r),", ")+"signedInfoDigests: ".concat(JSON.stringify(i))),t.send({iframe:n,message:{operation:"getSignature",hexDigests:r,signedInfoDigests:i,certificate:o,country:a},cancelToken:c})},l=function(e){var t=e.signatures,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.driver,c=e.actionType,u=o.inCurrentMode.completeSignatureIdCard({actionType:c});return a.post({url:u,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:t[0],signatures:t,driver:s},cancelToken:i})},p=function(e){var t=e.certificate,n=e.country,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.actionType,s=i.inCurrentMode.cscApiAuthorizeCredential();return o.post({url:s,withCredentials:!1,data:{sign_type:a,certificate:t,country:n},cancelToken:r})},f=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.signatures,u=e.actionType;return Dn({pollInterval:2e3,maxPollDuration:36e4,fn:l,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s,signatures:c,actionType:u}]}).start()},g=function(){var e=tn((function(e){var n=e.countryCode,l=e.clientId,g=e.apiEndpoints,h=e.iframeHolder,y=e.i18n,m=e.iframeMessenger,v=e.docId,I=e.cancelToken,S=e.apiClient,T=e.monitoringService,E=e.action,b=e.redirect,C=e.signingCertificate;return rn().mark((function e(){var A,_,w,N,R,O,D,M,U;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return A=Bi({monitoringService:T,moduleName:t}),_=d(a.SIGNATURE,t,n),e.next=4,dn(r,{shouldFormatResult:!1})({countryCode:n,clientId:l,docId:v,apiEndpoints:g});case 4:return w=e.sent,e.next=7,dn(o,{shouldFormatResult:!1})({iframeUrl:w,iframeHolder:h,i18n:y,monitor:A,iframeMessenger:m,cancelToken:I}).catch((function(e){return i(e,y)}));case 7:if(N=e.sent,R=C){e.next=14;break}return e.next=12,dn(s)({iframeMessenger:m,iframe:N,country:n,monitor:A,cancelToken:I}).catch((function(e){return i(e,y)}));case 12:O=e.sent,R=O.data.certificate;case 14:if("cscApiAuthorizeCredential"!==E){e.next=19;break}return e.next=17,dn(p)({certificate:R,actionType:_.actionType,country:n,cancelToken:I,apiEndpoints:g,apiClient:S});case 17:return D=e.sent,e.abrupt("return",dn(b,{shouldFormatResult:!1})(D));case 19:return e.next=21,dn(c)({certificate:R,clientId:l,docId:v,countryCode:n,cancelToken:I,apiEndpoints:g,apiClient:S,monitor:A,actionType:_.actionType});case 21:return M=e.sent,e.next=24,dn(u,{shouldFormatResult:!1})({iframeMessenger:m,iframe:N,hexDigests:[M.data.hexDigest],signedInfoDigests:M.data.signedInfoDigests,certificate:C,monitor:A,cancelToken:I}).catch((function(e){return i(e,y)}));case 24:return U=e.sent,e.abrupt("return",dn(f)({signatures:U.signatures,clientId:l,docId:v,cancelToken:I,apiEndpoints:g,apiClient:S,actionType:_.actionType}));case 26:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}();return n(t,g,Li)},Gi=Pi({moduleName:c.idCardSignature,createModuleCreator:vn}),ji=c.mobileIdSignature,Fi=function(e){var t=e.certificate,n=e.country,r=e.phone,i=e.idcode,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=a.inCurrentMode.cscApiAuthorizeCredential();return s.post({url:c,withCredentials:!1,data:{sign_type:"mid-signature",certificate:t,country:n,phone:r,idcode:i},cancelToken:o})},Vi=function(e){var t=e.phone,n=e.idcode,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:"mobile-id",phone:t,idcode:n,country:c,lang:u},cancelToken:o})},qi=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:t.token,doc_id:a,timeout:2,lang:i,client_id:s},cancelToken:o})},Hi=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,maxPollDuration:12e4,fn:qi,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Ki=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.language,u=e.idcode,l=e.phone,p=e.countryCode,f=e.started,g=e.action,h=e.redirect;return rn().mark((function e(){var y,m,v;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("cscApiAuthorizeCredential"!==g){e.next=5;break}return e.next=3,dn(Fi)({country:p,idcode:u,phone:l,cancelToken:r,apiEndpoints:i,apiClient:o});case 3:return y=e.sent,e.abrupt("return",dn(h,{shouldFormatResult:!1})(y));case 5:return m=d(a.SIGNATURE,ji,p),s.dispatch({message:"".concat(m.actionType,": signing started")}),e.next=9,dn(Vi)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:c,idcode:u,phone:l,countryCode:p});case 9:return v=e.sent,f(v),e.abrupt("return",dn(Hi)({data:v.data,apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Qi=vn(ji,Ki,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),zi=c.smartIdSignature,Zi=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=e.waitForChallengeCode,l=a.inCurrentMode.startSigning();return s.post({url:l,withCredentials:!1,data:{doc_id:i,contract_id:t,client_id:r,sign_type:"smart-id",idcode:n,country:c,lang:u,wait_for_challenge_code:d},cancelToken:o})},Wi=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s,timeout:2},cancelToken:o})},Ji=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.onTryComplete,u=e.setOnRefreshByUser,d=Dn({pollInterval:2e3,maxPollDuration:12e4,onPoll:function(e){c({data:e&&e.result&&e.result.data||{}})},fn:Wi,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]});return new Promise((function(e,t){d.start({setOnRefreshByUser:u}).then(e).catch(t)}))},Yi=function(e){var t=e.country,n=e.cancelToken,r=e.apiEndpoints,i=e.apiClient,o=e.idcode,a=r.inCurrentMode.cscApiAuthorizeCredential();return i.post({url:a,withCredentials:!1,data:{sign_type:"smart-id-signature",country:t,idcode:o},cancelToken:n})},Xi=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.idcode,p=e.countryCode,f=e.started,g=e.action,h=e.redirect,y=e.onTryComplete,m=e.waitForChallengeCode,v=void 0===m||m,I=e.setOnRefreshByUser;return rn().mark((function e(){var m,S,T;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(m=d(a.SIGNATURE,zi,p),"cscApiAuthorizeCredential"!==g){e.next=6;break}return e.next=4,dn(Yi)({country:p,idcode:l,cancelToken:i,apiEndpoints:o,apiClient:s});case 4:return S=e.sent,e.abrupt("return",dn(h,{shouldFormatResult:!1})(S));case 6:return c.dispatch({message:"".concat(m.actionType,": signing started")}),e.next=9,dn(Zi)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,idcode:l,countryCode:p,contractId:r,waitForChallengeCode:v});case 9:return T=e.sent,f(T),e.abrupt("return",dn(Ji)({data:T.data,apiClient:s,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t,onTryComplete:y,setOnRefreshByUser:I}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),$i=vn(zi,Xi,{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),eo=c.evroTrustSignature,to=function(e){var t=e.country,n=e.phone,r=e.email,i=e.idcode,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=a.inCurrentMode.cscApiAuthorizeCredential();return s.post({url:c,withCredentials:!1,data:{sign_type:"evrotrust-signature",country:t,phone:n,email:r,idcode:i},cancelToken:o})},no=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=e.email,l=e.phone,p=e.actionType,f=a.inCurrentMode.startSigning();return s.post({url:f,withCredentials:!1,data:{doc_id:i,contract_id:t,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:c,lang:u},cancelToken:o})},ro=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},io=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.setOnRefreshByUser,u=e.logger,d=Dn({pollInterval:2e3,fn:ro,fnTimeoutMs:15e3,logger:u,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]});return new Promise((function(e,t){d.start({setOnRefreshByUser:c}).then(e).catch(t)}))},oo=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.idcode,p=e.phone,f=e.email,g=e.countryCode,h=e.started,y=e.action,m=e.redirect,v=e.setOnRefreshByUser,I=e.logger;return rn().mark((function e(){var S,T,E;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(S=d(a.SIGNATURE,eo,g),c.dispatch({message:"".concat(S.actionType,": signing started")}),I.info("".concat(S.actionType,": signing started")),"cscApiAuthorizeCredential"!==y){e.next=10;break}return I.info("".concat(S.actionType,": cscApiAuthorizeCredential called")),e.next=7,dn(to)({country:g,idcode:l,phone:p,email:f,cancelToken:i,apiEndpoints:o,apiClient:s});case 7:return T=e.sent,I.info("".concat(S.actionType,": authorizationResult"),T),e.abrupt("return",dn(m,{shouldFormatResult:!1})(T));case 10:return e.next=12,dn(no)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,idcode:l,phone:p,email:f,countryCode:g,contractId:r,actionType:S.actionType});case 12:return E=e.sent,I.info("".concat(S.actionType,": signing start result"),E),h(E),e.abrupt("return",dn(io)({data:E.data,apiClient:s,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t,setOnRefreshByUser:v,logger:I}));case 16:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ao=vn(eo,oo,{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),so=c.otpSignature,co=function(){var e=tn((function(e){var t=e.language,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.actionType;return rn().mark((function e(){var c;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return c=o.inCurrentMode.startSigning(),e.abrupt("return",a.post({url:c,withCredentials:!1,data:{doc_id:r,client_id:n,sign_type:s,lang:t},cancelToken:i}));case 2:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),uo=function(e){var t=e.startSigningResult,n=e.confirmationCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},lo=function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.language,i=e.cancelToken,o=e.docId,a=e.clientId,s=e.emailToken,c=e.smsToken,u=e.handwrittenSignatureData,d=e.handwrittenSignatureDataUrl;return t.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:o,timeout:2,lang:r,client_id:a,email_token:s,sms_token:c,handwritten_signature_data:u,handwritten_signature_data_url:d},cancelToken:i})},po=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.language,u=e.countryCode,l=e.emailToken,p=e.smsToken,f=e.handwrittenSignatureData,g=e.handwrittenSignatureDataUrl,h=e.started,y=e.confirmationCodeRequest,m=e.setOnCancelByUser;return rn().mark((function e(){var v,I,S;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v=d(a.SIGNATURE,so,u),console.log(v),s.dispatch({message:"".concat(v.actionType,": signing started")}),p||l){e.next=13;break}return e.next=6,dn(co)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:c,actionType:v.actionType});case 6:return I=e.sent,h(I),e.next=10,dn(uo,{shouldFormatResult:!1})({startSigningResult:I,confirmationCodeRequest:y,setOnCancelByUser:m});case 10:S=e.sent,p=S.smsToken,l=S.emailToken;case 13:return e.abrupt("return",dn(lo)({apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,emailToken:l,smsToken:p,handwrittenSignatureData:f,handwrittenSignatureDataUrl:g}));case 14:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),fo=vn(so,po,{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),go={docId:{type:"string",required:!0},confirmedBySigner:{validator:function(e){return[null,!0,!1].includes(e)}}},ho=function(e){var t=e.certificate,n=e.country,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.actionType,s=i.inCurrentMode.cscApiAuthorizeCredentialRedirect();return o.post({url:s,withCredentials:!1,data:{sign_type:a,certificate:t,country:n},cancelToken:r})},yo=function(e){var t=e.moduleName,n=e.createModuleCreator,r=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.confirmedBySigner,d=e.country,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,confirmed_by_signer:u,country:d},cancelToken:i})},i=function(){var e=tn((function(e){var n=e.clientId,i=e.docId,o=e.contractId,s=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,l=e.monitoringService,p=e.language,f=e.countryCode,g=e.redirect,h=e.confirmedBySigner,y=e.action;return rn().mark((function e(){var m,v,I;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(m=d(a.SIGNATURE,t,f),"cscApiAuthorizeCredential"!==y){e.next=6;break}return e.next=4,dn(ho)({country:f,cancelToken:s,apiEndpoints:c,apiClient:u,actionType:m.actionType});case 4:return v=e.sent,e.abrupt("return",dn(g,{shouldFormatResult:!1})(v));case 6:return l.dispatch({message:"".concat(m.actionType,": signing started")}),e.next=9,dn(r)({contractId:o,clientId:n,docId:i,cancelToken:s,apiEndpoints:c,apiClient:u,language:p,actionType:m.actionType,confirmedBySigner:h,country:f});case 9:return I=e.sent,e.abrupt("return",dn(g,{shouldFormatResult:!1})(I));case 11:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}();return n(t,i,go)},mo=yo({moduleName:c.eParakstsMobileSignature,createModuleCreator:vn}),vo=yo({moduleName:c.ftnAdvancedFullSignature,createModuleCreator:vn}),Io=yo({moduleName:c.ftnSignature,createModuleCreator:vn}),So=yo({moduleName:c.atHandySignature,createModuleCreator:vn}),To=c.zealIdSignature,Eo=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.docId;return{data:{redirect_uri:t.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},bo=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.docId,e.next=3,dn(Eo)({apiEndpoints:r,clientId:i,docId:o});case 3:return a=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Co=vn(To,bo),Ao=yo({moduleName:c.mojeIdSignature,createModuleCreator:vn}),_o=yo({moduleName:c.serproIdAdvancedSignature,createModuleCreator:vn}),wo=yo({moduleName:c.czBankIDSignature,createModuleCreator:vn}),No=yo({moduleName:c.abaDoSignature,createModuleCreator:vn}),Ro=yo({moduleName:c.googleSignature,createModuleCreator:vn}),Oo=yo({moduleName:c.seBankIdSignature,createModuleCreator:vn}),Do=c.dTrustSignMeSignature,Mo=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.username,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,username:u},cancelToken:i})},Uo=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.username,f=e.redirect;return rn().mark((function e(){var g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=d(a.SIGNATURE,Do,l),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,dn(Mo)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,username:p,actionType:g.actionType});case 4:return h=e.sent,e.abrupt("return",dn(f,{shouldFormatResult:!1})(h));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ko=vn(Do,Uo,{username:{type:"string",required:!0}}),xo=c.dTrustSignMeAdvSignature,Lo=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.username,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,username:u},cancelToken:i})},Bo=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.username,f=e.redirect;return rn().mark((function e(){var g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=d(a.SIGNATURE,xo,l),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,dn(Lo)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,username:p,actionType:g.actionType});case 4:return h=e.sent,e.abrupt("return",dn(f,{shouldFormatResult:!1})(h));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Po=vn(xo,Bo,{username:{type:"string",required:!0}});function Go(e){return"0123456789abcdefghijklmnopqrstuvwxyz".charAt(e)}function jo(e,t){return e&t}function Fo(e,t){return e|t}function Vo(e,t){return e^t}function qo(e,t){return e&~t}function Ho(e){if(0==e)return-1;var t=0;return 0==(65535&e)&&(e>>=16,t+=16),0==(255&e)&&(e>>=8,t+=8),0==(15&e)&&(e>>=4,t+=4),0==(3&e)&&(e>>=2,t+=2),0==(1&e)&&++t,t}function Ko(e){for(var t=0;0!=e;)e&=e-1,++t;return t}var Qo,zo="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function Zo(e){var t,n,r="";for(t=0;t+3<=e.length;t+=3)n=parseInt(e.substring(t,t+3),16),r+=zo.charAt(n>>6)+zo.charAt(63&n);for(t+1==e.length?(n=parseInt(e.substring(t,t+1),16),r+=zo.charAt(n<<2)):t+2==e.length&&(n=parseInt(e.substring(t,t+2),16),r+=zo.charAt(n>>2)+zo.charAt((3&n)<<4));(3&r.length)>0;)r+="=";return r}function Wo(e){var t,n="",r=0,i=0;for(t=0;t<e.length&&"="!=e.charAt(t);++t){var o=zo.indexOf(e.charAt(t));o<0||(0==r?(n+=Go(o>>2),i=3&o,r=1):1==r?(n+=Go(i<<2|o>>4),i=15&o,r=2):2==r?(n+=Go(i),n+=Go(o>>2),i=3&o,r=3):(n+=Go(i<<2|o>>4),n+=Go(15&o),r=0))}return 1==r&&(n+=Go(i<<2)),n}var Jo,Yo={decode:function(e){var t;if(void 0===Jo){var n="= \f\n\r\t \u2028\u2029";for(Jo=Object.create(null),t=0;t<64;++t)Jo["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(t)]=t;for(Jo["-"]=62,Jo._=63,t=0;t<n.length;++t)Jo[n.charAt(t)]=-1}var r=[],i=0,o=0;for(t=0;t<e.length;++t){var a=e.charAt(t);if("="==a)break;if(-1!=(a=Jo[a])){if(void 0===a)throw new Error("Illegal character at offset "+t);i|=a,++o>=4?(r[r.length]=i>>16,r[r.length]=i>>8&255,r[r.length]=255&i,i=0,o=0):i<<=6}}switch(o){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=i>>10;break;case 3:r[r.length]=i>>16,r[r.length]=i>>8&255}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var t=Yo.re.exec(e);if(t)if(t[1])e=t[1];else{if(!t[2])throw new Error("RegExp out of sync");e=t[2]}return Yo.decode(e)}},Xo=1e13,$o=function(){function e(e){this.buf=[+e||0]}return e.prototype.mulAdd=function(e,t){var n,r,i=this.buf,o=i.length;for(n=0;n<o;++n)(r=i[n]*e+t)<Xo?t=0:r-=(t=0|r/Xo)*Xo,i[n]=r;t>0&&(i[n]=t)},e.prototype.sub=function(e){var t,n,r=this.buf,i=r.length;for(t=0;t<i;++t)(n=r[t]-e)<0?(n+=Xo,e=1):e=0,r[t]=n;for(;0===r[r.length-1];)r.pop()},e.prototype.toString=function(e){if(10!=(e||10))throw new Error("only base 10 is supported");for(var t=this.buf,n=t[t.length-1].toString(),r=t.length-2;r>=0;--r)n+=(Xo+t[r]).toString().substring(1);return n},e.prototype.valueOf=function(){for(var e=this.buf,t=0,n=e.length-1;n>=0;--n)t=t*Xo+e[n];return t},e.prototype.simplify=function(){var e=this.buf;return 1==e.length?e[0]:this},e}(),ea=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,ta=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function na(e,t){return e.length>t&&(e=e.substring(0,t)+"…"),e}var ra,ia=function(){function e(t,n){this.hexDigits="0123456789ABCDEF",t instanceof e?(this.enc=t.enc,this.pos=t.pos):(this.enc=t,this.pos=n)}return e.prototype.get=function(e){if(void 0===e&&(e=this.pos++),e>=this.enc.length)throw new Error("Requesting byte offset "+e+" on a stream of length "+this.enc.length);return"string"==typeof this.enc?this.enc.charCodeAt(e):this.enc[e]},e.prototype.hexByte=function(e){return this.hexDigits.charAt(e>>4&15)+this.hexDigits.charAt(15&e)},e.prototype.hexDump=function(e,t,n){for(var r="",i=e;i<t;++i)if(r+=this.hexByte(this.get(i)),!0!==n)switch(15&i){case 7:r+=" ";break;case 15:r+="\n";break;default:r+=" "}return r},e.prototype.isASCII=function(e,t){for(var n=e;n<t;++n){var r=this.get(n);if(r<32||r>176)return!1}return!0},e.prototype.parseStringISO=function(e,t){for(var n="",r=e;r<t;++r)n+=String.fromCharCode(this.get(r));return n},e.prototype.parseStringUTF=function(e,t){for(var n="",r=e;r<t;){var i=this.get(r++);n+=i<128?String.fromCharCode(i):i>191&&i<224?String.fromCharCode((31&i)<<6|63&this.get(r++)):String.fromCharCode((15&i)<<12|(63&this.get(r++))<<6|63&this.get(r++))}return n},e.prototype.parseStringBMP=function(e,t){for(var n,r,i="",o=e;o<t;)n=this.get(o++),r=this.get(o++),i+=String.fromCharCode(n<<8|r);return i},e.prototype.parseTime=function(e,t,n){var r=this.parseStringISO(e,t),i=(n?ea:ta).exec(r);return i?(n&&(i[1]=+i[1],i[1]+=+i[1]<70?2e3:1900),r=i[1]+"-"+i[2]+"-"+i[3]+" "+i[4],i[5]&&(r+=":"+i[5],i[6]&&(r+=":"+i[6],i[7]&&(r+="."+i[7]))),i[8]&&(r+=" UTC","Z"!=i[8]&&(r+=i[8],i[9]&&(r+=":"+i[9]))),r):"Unrecognized time: "+r},e.prototype.parseInteger=function(e,t){for(var n,r=this.get(e),i=r>127,o=i?255:0,a="";r==o&&++e<t;)r=this.get(e);if(0==(n=t-e))return i?-1:0;if(n>4){for(a=r,n<<=3;0==(128&(+a^o));)a=+a<<1,--n;a="("+n+" bit)\n"}i&&(r-=256);for(var s=new $o(r),c=e+1;c<t;++c)s.mulAdd(256,this.get(c));return a+s.toString()},e.prototype.parseBitString=function(e,t,n){for(var r=this.get(e),i="("+((t-e-1<<3)-r)+" bit)\n",o="",a=e+1;a<t;++a){for(var s=this.get(a),c=a==t-1?r:0,u=7;u>=c;--u)o+=s>>u&1?"1":"0";if(o.length>n)return i+na(o,n)}return i+o},e.prototype.parseOctetString=function(e,t,n){if(this.isASCII(e,t))return na(this.parseStringISO(e,t),n);var r=t-e,i="("+r+" byte)\n";r>(n/=2)&&(t=e+n);for(var o=e;o<t;++o)i+=this.hexByte(this.get(o));return r>n&&(i+="…"),i},e.prototype.parseOID=function(e,t,n){for(var r="",i=new $o,o=0,a=e;a<t;++a){var s=this.get(a);if(i.mulAdd(128,127&s),o+=7,!(128&s)){if(""===r)if((i=i.simplify())instanceof $o)i.sub(80),r="2."+i.toString();else{var c=i<80?i<40?0:1:2;r=c+"."+(i-40*c)}else r+="."+i.toString();if(r.length>n)return na(r,n);i=new $o,o=0}}return o>0&&(r+=".incomplete"),r},e}(),oa=function(){function e(e,t,n,r,i){if(!(r instanceof aa))throw new Error("Invalid tag value.");this.stream=e,this.header=t,this.length=n,this.tag=r,this.sub=i}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(e){if(void 0===this.tag)return null;void 0===e&&(e=1/0);var t=this.posContent(),n=Math.abs(this.length);if(!this.tag.isUniversal())return null!==this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);switch(this.tag.tagNumber){case 1:return 0===this.stream.get(t)?"false":"true";case 2:return this.stream.parseInteger(t,t+n);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+n,e);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+n,e);case 6:return this.stream.parseOID(t,t+n,e);case 16:case 17:return null!==this.sub?"("+this.sub.length+" elem)":"(no elem)";case 12:return na(this.stream.parseStringUTF(t,t+n),e);case 18:case 19:case 20:case 21:case 22:case 26:return na(this.stream.parseStringISO(t,t+n),e);case 30:return na(this.stream.parseStringBMP(t,t+n),e);case 23:case 24:return this.stream.parseTime(t,t+n,23==this.tag.tagNumber)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(null===this.sub?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(e){void 0===e&&(e="");var t=e+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":!this.tag.isUniversal()||3!=this.tag.tagNumber&&4!=this.tag.tagNumber||null===this.sub||(t+=" (encapsulates)"),t+="\n",null!==this.sub){e+=" ";for(var n=0,r=this.sub.length;n<r;++n)t+=this.sub[n].toPrettyString(e)}return t},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(e){var t=e.get(),n=127&t;if(n==t)return n;if(n>6)throw new Error("Length over 48 bits not supported at position "+(e.pos-1));if(0===n)return null;t=0;for(var r=0;r<n;++r)t=256*t+e.get();return t},e.prototype.getHexStringValue=function(){var e=this.toHexString(),t=2*this.header,n=2*this.length;return e.substr(t,n)},e.decode=function(t){var n;n=t instanceof ia?t:new ia(t,0);var r=new ia(n),i=new aa(n),o=e.decodeLength(n),a=n.pos,s=a-r.pos,c=null,u=function(){var t=[];if(null!==o){for(var r=a+o;n.pos<r;)t[t.length]=e.decode(n);if(n.pos!=r)throw new Error("Content size is not correct for container starting at offset "+a)}else try{for(;;){var i=e.decode(n);if(i.tag.isEOC())break;t[t.length]=i}o=a-n.pos}catch(e){throw new Error("Exception while decoding undefined length content: "+e)}return t};if(i.tagConstructed)c=u();else if(i.isUniversal()&&(3==i.tagNumber||4==i.tagNumber))try{if(3==i.tagNumber&&0!=n.get())throw new Error("BIT STRINGs with unused bits cannot encapsulate.");c=u();for(var d=0;d<c.length;++d)if(c[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch(e){c=null}if(null===c){if(null===o)throw new Error("We can't skip over an invalid tag with undefined length at offset "+a);n.pos=a+Math.abs(o)}return new e(r,s,o,i,c)},e}(),aa=function(){function e(e){var t=e.get();if(this.tagClass=t>>6,this.tagConstructed=0!=(32&t),this.tagNumber=31&t,31==this.tagNumber){var n=new $o;do{t=e.get(),n.mulAdd(128,127&t)}while(128&t);this.tagNumber=n.simplify()}}return e.prototype.isUniversal=function(){return 0===this.tagClass},e.prototype.isEOC=function(){return 0===this.tagClass&&0===this.tagNumber},e}(),sa=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],ca=(1<<26)/sa[sa.length-1],ua=function(){function e(e,t,n){null!=e&&("number"==typeof e?this.fromNumber(e,t,n):null==t&&"string"!=typeof e?this.fromString(e,256):this.fromString(e,t))}return e.prototype.toString=function(e){if(this.s<0)return"-"+this.negate().toString(e);var t;if(16==e)t=4;else if(8==e)t=3;else if(2==e)t=1;else if(32==e)t=5;else{if(4!=e)return this.toRadix(e);t=2}var n,r=(1<<t)-1,i=!1,o="",a=this.t,s=this.DB-a*this.DB%t;if(a-- >0)for(s<this.DB&&(n=this[a]>>s)>0&&(i=!0,o=Go(n));a>=0;)s<t?(n=(this[a]&(1<<s)-1)<<t-s,n|=this[--a]>>(s+=this.DB-t)):(n=this[a]>>(s-=t)&r,s<=0&&(s+=this.DB,--a)),n>0&&(i=!0),i&&(o+=Go(n));return i?o:"0"},e.prototype.negate=function(){var t=ga();return e.ZERO.subTo(this,t),t},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(e){var t=this.s-e.s;if(0!=t)return t;var n=this.t;if(0!=(t=n-e.t))return this.s<0?-t:t;for(;--n>=0;)if(0!=(t=this[n]-e[n]))return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Ea(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(t){var n=ga();return this.abs().divRemTo(t,null,n),this.s<0&&n.compareTo(e.ZERO)>0&&t.subTo(n,n),n},e.prototype.modPowInt=function(e,t){var n;return n=e<256||t.isEven()?new la(t):new pa(t),this.exp(e,n)},e.prototype.clone=function(){var e=ga();return this.copyTo(e),e},e.prototype.intValue=function(){if(this.s<0){if(1==this.t)return this[0]-this.DV;if(0==this.t)return-1}else{if(1==this.t)return this[0];if(0==this.t)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return 0==this.t?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return 0==this.t?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||1==this.t&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var e=this.t,t=[];t[0]=this.s;var n,r=this.DB-e*this.DB%8,i=0;if(e-- >0)for(r<this.DB&&(n=this[e]>>r)!=(this.s&this.DM)>>r&&(t[i++]=n|this.s<<this.DB-r);e>=0;)r<8?(n=(this[e]&(1<<r)-1)<<8-r,n|=this[--e]>>(r+=this.DB-8)):(n=this[e]>>(r-=8)&255,r<=0&&(r+=this.DB,--e)),0!=(128&n)&&(n|=-256),0==i&&(128&this.s)!=(128&n)&&++i,(i>0||n!=this.s)&&(t[i++]=n);return t},e.prototype.equals=function(e){return 0==this.compareTo(e)},e.prototype.min=function(e){return this.compareTo(e)<0?this:e},e.prototype.max=function(e){return this.compareTo(e)>0?this:e},e.prototype.and=function(e){var t=ga();return this.bitwiseTo(e,jo,t),t},e.prototype.or=function(e){var t=ga();return this.bitwiseTo(e,Fo,t),t},e.prototype.xor=function(e){var t=ga();return this.bitwiseTo(e,Vo,t),t},e.prototype.andNot=function(e){var t=ga();return this.bitwiseTo(e,qo,t),t},e.prototype.not=function(){for(var e=ga(),t=0;t<this.t;++t)e[t]=this.DM&~this[t];return e.t=this.t,e.s=~this.s,e},e.prototype.shiftLeft=function(e){var t=ga();return e<0?this.rShiftTo(-e,t):this.lShiftTo(e,t),t},e.prototype.shiftRight=function(e){var t=ga();return e<0?this.lShiftTo(-e,t):this.rShiftTo(e,t),t},e.prototype.getLowestSetBit=function(){for(var e=0;e<this.t;++e)if(0!=this[e])return e*this.DB+Ho(this[e]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var e=0,t=this.s&this.DM,n=0;n<this.t;++n)e+=Ko(this[n]^t);return e},e.prototype.testBit=function(e){var t=Math.floor(e/this.DB);return t>=this.t?0!=this.s:0!=(this[t]&1<<e%this.DB)},e.prototype.setBit=function(e){return this.changeBit(e,Fo)},e.prototype.clearBit=function(e){return this.changeBit(e,qo)},e.prototype.flipBit=function(e){return this.changeBit(e,Vo)},e.prototype.add=function(e){var t=ga();return this.addTo(e,t),t},e.prototype.subtract=function(e){var t=ga();return this.subTo(e,t),t},e.prototype.multiply=function(e){var t=ga();return this.multiplyTo(e,t),t},e.prototype.divide=function(e){var t=ga();return this.divRemTo(e,t,null),t},e.prototype.remainder=function(e){var t=ga();return this.divRemTo(e,null,t),t},e.prototype.divideAndRemainder=function(e){var t=ga(),n=ga();return this.divRemTo(e,t,n),[t,n]},e.prototype.modPow=function(e,t){var n,r,i=e.bitLength(),o=Ta(1);if(i<=0)return o;n=i<18?1:i<48?3:i<144?4:i<768?5:6,r=i<8?new la(t):t.isEven()?new fa(t):new pa(t);var a=[],s=3,c=n-1,u=(1<<n)-1;if(a[1]=r.convert(this),n>1){var d=ga();for(r.sqrTo(a[1],d);s<=u;)a[s]=ga(),r.mulTo(d,a[s-2],a[s]),s+=2}var l,p,f=e.t-1,g=!0,h=ga();for(i=Ea(e[f])-1;f>=0;){for(i>=c?l=e[f]>>i-c&u:(l=(e[f]&(1<<i+1)-1)<<c-i,f>0&&(l|=e[f-1]>>this.DB+i-c)),s=n;0==(1&l);)l>>=1,--s;if((i-=s)<0&&(i+=this.DB,--f),g)a[l].copyTo(o),g=!1;else{for(;s>1;)r.sqrTo(o,h),r.sqrTo(h,o),s-=2;s>0?r.sqrTo(o,h):(p=o,o=h,h=p),r.mulTo(h,a[l],o)}for(;f>=0&&0==(e[f]&1<<i);)r.sqrTo(o,h),p=o,o=h,h=p,--i<0&&(i=this.DB-1,--f)}return r.revert(o)},e.prototype.modInverse=function(t){var n=t.isEven();if(this.isEven()&&n||0==t.signum())return e.ZERO;for(var r=t.clone(),i=this.clone(),o=Ta(1),a=Ta(0),s=Ta(0),c=Ta(1);0!=r.signum();){for(;r.isEven();)r.rShiftTo(1,r),n?(o.isEven()&&a.isEven()||(o.addTo(this,o),a.subTo(t,a)),o.rShiftTo(1,o)):a.isEven()||a.subTo(t,a),a.rShiftTo(1,a);for(;i.isEven();)i.rShiftTo(1,i),n?(s.isEven()&&c.isEven()||(s.addTo(this,s),c.subTo(t,c)),s.rShiftTo(1,s)):c.isEven()||c.subTo(t,c),c.rShiftTo(1,c);r.compareTo(i)>=0?(r.subTo(i,r),n&&o.subTo(s,o),a.subTo(c,a)):(i.subTo(r,i),n&&s.subTo(o,s),c.subTo(a,c))}return 0!=i.compareTo(e.ONE)?e.ZERO:c.compareTo(t)>=0?c.subtract(t):c.signum()<0?(c.addTo(t,c),c.signum()<0?c.add(t):c):c},e.prototype.pow=function(e){return this.exp(e,new da)},e.prototype.gcd=function(e){var t=this.s<0?this.negate():this.clone(),n=e.s<0?e.negate():e.clone();if(t.compareTo(n)<0){var r=t;t=n,n=r}var i=t.getLowestSetBit(),o=n.getLowestSetBit();if(o<0)return t;for(i<o&&(o=i),o>0&&(t.rShiftTo(o,t),n.rShiftTo(o,n));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=n.getLowestSetBit())>0&&n.rShiftTo(i,n),t.compareTo(n)>=0?(t.subTo(n,t),t.rShiftTo(1,t)):(n.subTo(t,n),n.rShiftTo(1,n));return o>0&&n.lShiftTo(o,n),n},e.prototype.isProbablePrime=function(e){var t,n=this.abs();if(1==n.t&&n[0]<=sa[sa.length-1]){for(t=0;t<sa.length;++t)if(n[0]==sa[t])return!0;return!1}if(n.isEven())return!1;for(t=1;t<sa.length;){for(var r=sa[t],i=t+1;i<sa.length&&r<ca;)r*=sa[i++];for(r=n.modInt(r);t<i;)if(r%sa[t++]==0)return!1}return n.millerRabin(e)},e.prototype.copyTo=function(e){for(var t=this.t-1;t>=0;--t)e[t]=this[t];e.t=this.t,e.s=this.s},e.prototype.fromInt=function(e){this.t=1,this.s=e<0?-1:0,e>0?this[0]=e:e<-1?this[0]=e+this.DV:this.t=0},e.prototype.fromString=function(t,n){var r;if(16==n)r=4;else if(8==n)r=3;else if(256==n)r=8;else if(2==n)r=1;else if(32==n)r=5;else{if(4!=n)return void this.fromRadix(t,n);r=2}this.t=0,this.s=0;for(var i=t.length,o=!1,a=0;--i>=0;){var s=8==r?255&+t[i]:Sa(t,i);s<0?"-"==t.charAt(i)&&(o=!0):(o=!1,0==a?this[this.t++]=s:a+r>this.DB?(this[this.t-1]|=(s&(1<<this.DB-a)-1)<<a,this[this.t++]=s>>this.DB-a):this[this.t-1]|=s<<a,(a+=r)>=this.DB&&(a-=this.DB))}8==r&&0!=(128&+t[0])&&(this.s=-1,a>0&&(this[this.t-1]|=(1<<this.DB-a)-1<<a)),this.clamp(),o&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var e=this.s&this.DM;this.t>0&&this[this.t-1]==e;)--this.t},e.prototype.dlShiftTo=function(e,t){var n;for(n=this.t-1;n>=0;--n)t[n+e]=this[n];for(n=e-1;n>=0;--n)t[n]=0;t.t=this.t+e,t.s=this.s},e.prototype.drShiftTo=function(e,t){for(var n=e;n<this.t;++n)t[n-e]=this[n];t.t=Math.max(this.t-e,0),t.s=this.s},e.prototype.lShiftTo=function(e,t){for(var n=e%this.DB,r=this.DB-n,i=(1<<r)-1,o=Math.floor(e/this.DB),a=this.s<<n&this.DM,s=this.t-1;s>=0;--s)t[s+o+1]=this[s]>>r|a,a=(this[s]&i)<<n;for(s=o-1;s>=0;--s)t[s]=0;t[o]=a,t.t=this.t+o+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(e,t){t.s=this.s;var n=Math.floor(e/this.DB);if(n>=this.t)t.t=0;else{var r=e%this.DB,i=this.DB-r,o=(1<<r)-1;t[0]=this[n]>>r;for(var a=n+1;a<this.t;++a)t[a-n-1]|=(this[a]&o)<<i,t[a-n]=this[a]>>r;r>0&&(t[this.t-n-1]|=(this.s&o)<<i),t.t=this.t-n,t.clamp()}},e.prototype.subTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]-e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r-=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r-=e[n],t[n++]=r&this.DM,r>>=this.DB;r-=e.s}t.s=r<0?-1:0,r<-1?t[n++]=this.DV+r:r>0&&(t[n++]=r),t.t=n,t.clamp()},e.prototype.multiplyTo=function(t,n){var r=this.abs(),i=t.abs(),o=r.t;for(n.t=o+i.t;--o>=0;)n[o]=0;for(o=0;o<i.t;++o)n[o+r.t]=r.am(0,i[o],n,o,0,r.t);n.s=0,n.clamp(),this.s!=t.s&&e.ZERO.subTo(n,n)},e.prototype.squareTo=function(e){for(var t=this.abs(),n=e.t=2*t.t;--n>=0;)e[n]=0;for(n=0;n<t.t-1;++n){var r=t.am(n,t[n],e,2*n,0,1);(e[n+t.t]+=t.am(n+1,2*t[n],e,2*n+1,r,t.t-n-1))>=t.DV&&(e[n+t.t]-=t.DV,e[n+t.t+1]=1)}e.t>0&&(e[e.t-1]+=t.am(n,t[n],e,2*n,0,1)),e.s=0,e.clamp()},e.prototype.divRemTo=function(t,n,r){var i=t.abs();if(!(i.t<=0)){var o=this.abs();if(o.t<i.t)return null!=n&&n.fromInt(0),void(null!=r&&this.copyTo(r));null==r&&(r=ga());var a=ga(),s=this.s,c=t.s,u=this.DB-Ea(i[i.t-1]);u>0?(i.lShiftTo(u,a),o.lShiftTo(u,r)):(i.copyTo(a),o.copyTo(r));var d=a.t,l=a[d-1];if(0!=l){var p=l*(1<<this.F1)+(d>1?a[d-2]>>this.F2:0),f=this.FV/p,g=(1<<this.F1)/p,h=1<<this.F2,y=r.t,m=y-d,v=null==n?ga():n;for(a.dlShiftTo(m,v),r.compareTo(v)>=0&&(r[r.t++]=1,r.subTo(v,r)),e.ONE.dlShiftTo(d,v),v.subTo(a,a);a.t<d;)a[a.t++]=0;for(;--m>=0;){var I=r[--y]==l?this.DM:Math.floor(r[y]*f+(r[y-1]+h)*g);if((r[y]+=a.am(0,I,r,m,0,d))<I)for(a.dlShiftTo(m,v),r.subTo(v,r);r[y]<--I;)r.subTo(v,r)}null!=n&&(r.drShiftTo(d,n),s!=c&&e.ZERO.subTo(n,n)),r.t=d,r.clamp(),u>0&&r.rShiftTo(u,r),s<0&&e.ZERO.subTo(r,r)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var e=this[0];if(0==(1&e))return 0;var t=3&e;return(t=(t=(t=(t=t*(2-(15&e)*t)&15)*(2-(255&e)*t)&255)*(2-((65535&e)*t&65535))&65535)*(2-e*t%this.DV)%this.DV)>0?this.DV-t:-t},e.prototype.isEven=function(){return 0==(this.t>0?1&this[0]:this.s)},e.prototype.exp=function(t,n){if(t>4294967295||t<1)return e.ONE;var r=ga(),i=ga(),o=n.convert(this),a=Ea(t)-1;for(o.copyTo(r);--a>=0;)if(n.sqrTo(r,i),(t&1<<a)>0)n.mulTo(i,o,r);else{var s=r;r=i,i=s}return n.revert(r)},e.prototype.chunkSize=function(e){return Math.floor(Math.LN2*this.DB/Math.log(e))},e.prototype.toRadix=function(e){if(null==e&&(e=10),0==this.signum()||e<2||e>36)return"0";var t=this.chunkSize(e),n=Math.pow(e,t),r=Ta(n),i=ga(),o=ga(),a="";for(this.divRemTo(r,i,o);i.signum()>0;)a=(n+o.intValue()).toString(e).substr(1)+a,i.divRemTo(r,i,o);return o.intValue().toString(e)+a},e.prototype.fromRadix=function(t,n){this.fromInt(0),null==n&&(n=10);for(var r=this.chunkSize(n),i=Math.pow(n,r),o=!1,a=0,s=0,c=0;c<t.length;++c){var u=Sa(t,c);u<0?"-"==t.charAt(c)&&0==this.signum()&&(o=!0):(s=n*s+u,++a>=r&&(this.dMultiply(i),this.dAddOffset(s,0),a=0,s=0))}a>0&&(this.dMultiply(Math.pow(n,a)),this.dAddOffset(s,0)),o&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(t,n,r){if("number"==typeof n)if(t<2)this.fromInt(1);else for(this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Fo,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(n);)this.dAddOffset(2,0),this.bitLength()>t&&this.subTo(e.ONE.shiftLeft(t-1),this);else{var i=[],o=7&t;i.length=1+(t>>3),n.nextBytes(i),o>0?i[0]&=(1<<o)-1:i[0]=0,this.fromString(i,256)}},e.prototype.bitwiseTo=function(e,t,n){var r,i,o=Math.min(e.t,this.t);for(r=0;r<o;++r)n[r]=t(this[r],e[r]);if(e.t<this.t){for(i=e.s&this.DM,r=o;r<this.t;++r)n[r]=t(this[r],i);n.t=this.t}else{for(i=this.s&this.DM,r=o;r<e.t;++r)n[r]=t(i,e[r]);n.t=e.t}n.s=t(this.s,e.s),n.clamp()},e.prototype.changeBit=function(t,n){var r=e.ONE.shiftLeft(t);return this.bitwiseTo(r,n,r),r},e.prototype.addTo=function(e,t){for(var n=0,r=0,i=Math.min(e.t,this.t);n<i;)r+=this[n]+e[n],t[n++]=r&this.DM,r>>=this.DB;if(e.t<this.t){for(r+=e.s;n<this.t;)r+=this[n],t[n++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;n<e.t;)r+=e[n],t[n++]=r&this.DM,r>>=this.DB;r+=e.s}t.s=r<0?-1:0,r>0?t[n++]=r:r<-1&&(t[n++]=this.DV+r),t.t=n,t.clamp()},e.prototype.dMultiply=function(e){this[this.t]=this.am(0,e-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(e,t){if(0!=e){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=e;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(e,t,n){var r=Math.min(this.t+e.t,t);for(n.s=0,n.t=r;r>0;)n[--r]=0;for(var i=n.t-this.t;r<i;++r)n[r+this.t]=this.am(0,e[r],n,r,0,this.t);for(i=Math.min(e.t,t);r<i;++r)this.am(0,e[r],n,r,0,t-r);n.clamp()},e.prototype.multiplyUpperTo=function(e,t,n){--t;var r=n.t=this.t+e.t-t;for(n.s=0;--r>=0;)n[r]=0;for(r=Math.max(t-this.t,0);r<e.t;++r)n[this.t+r-t]=this.am(t-r,e[r],n,0,0,this.t+r-t);n.clamp(),n.drShiftTo(1,n)},e.prototype.modInt=function(e){if(e<=0)return 0;var t=this.DV%e,n=this.s<0?e-1:0;if(this.t>0)if(0==t)n=this[0]%e;else for(var r=this.t-1;r>=0;--r)n=(t*n+this[r])%e;return n},e.prototype.millerRabin=function(t){var n=this.subtract(e.ONE),r=n.getLowestSetBit();if(r<=0)return!1;var i=n.shiftRight(r);(t=t+1>>1)>sa.length&&(t=sa.length);for(var o=ga(),a=0;a<t;++a){o.fromInt(sa[Math.floor(Math.random()*sa.length)]);var s=o.modPow(i,this);if(0!=s.compareTo(e.ONE)&&0!=s.compareTo(n)){for(var c=1;c++<r&&0!=s.compareTo(n);)if(0==(s=s.modPowInt(2,this)).compareTo(e.ONE))return!1;if(0!=s.compareTo(n))return!1}}return!0},e.prototype.square=function(){var e=ga();return this.squareTo(e),e},e.prototype.gcda=function(e,t){var n=this.s<0?this.negate():this.clone(),r=e.s<0?e.negate():e.clone();if(n.compareTo(r)<0){var i=n;n=r,r=i}var o=n.getLowestSetBit(),a=r.getLowestSetBit();if(a<0)t(n);else{o<a&&(a=o),a>0&&(n.rShiftTo(a,n),r.rShiftTo(a,r));var s=function(){(o=n.getLowestSetBit())>0&&n.rShiftTo(o,n),(o=r.getLowestSetBit())>0&&r.rShiftTo(o,r),n.compareTo(r)>=0?(n.subTo(r,n),n.rShiftTo(1,n)):(r.subTo(n,r),r.rShiftTo(1,r)),n.signum()>0?setTimeout(s,0):(a>0&&r.lShiftTo(a,r),setTimeout((function(){t(r)}),0))};setTimeout(s,10)}},e.prototype.fromNumberAsync=function(t,n,r,i){if("number"==typeof n)if(t<2)this.fromInt(1);else{this.fromNumber(t,r),this.testBit(t-1)||this.bitwiseTo(e.ONE.shiftLeft(t-1),Fo,this),this.isEven()&&this.dAddOffset(1,0);var o=this,a=function(){o.dAddOffset(2,0),o.bitLength()>t&&o.subTo(e.ONE.shiftLeft(t-1),o),o.isProbablePrime(n)?setTimeout((function(){i()}),0):setTimeout(a,0)};setTimeout(a,0)}else{var s=[],c=7&t;s.length=1+(t>>3),n.nextBytes(s),c>0?s[0]&=(1<<c)-1:s[0]=0,this.fromString(s,256)}},e}(),da=function(){function e(){}return e.prototype.convert=function(e){return e},e.prototype.revert=function(e){return e},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n)},e.prototype.sqrTo=function(e,t){e.squareTo(t)},e}(),la=function(){function e(e){this.m=e}return e.prototype.convert=function(e){return e.s<0||e.compareTo(this.m)>=0?e.mod(this.m):e},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){e.divRemTo(this.m,null,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),pa=function(){function e(e){this.m=e,this.mp=e.invDigit(),this.mpl=32767&this.mp,this.mph=this.mp>>15,this.um=(1<<e.DB-15)-1,this.mt2=2*e.t}return e.prototype.convert=function(e){var t=ga();return e.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),e.s<0&&t.compareTo(ua.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(e){var t=ga();return e.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(e){for(;e.t<=this.mt2;)e[e.t++]=0;for(var t=0;t<this.m.t;++t){var n=32767&e[t],r=n*this.mpl+((n*this.mph+(e[t]>>15)*this.mpl&this.um)<<15)&e.DM;for(e[n=t+this.m.t]+=this.m.am(0,r,e,t,0,this.m.t);e[n]>=e.DV;)e[n]-=e.DV,e[++n]++}e.clamp(),e.drShiftTo(this.m.t,e),e.compareTo(this.m)>=0&&e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}(),fa=function(){function e(e){this.m=e,this.r2=ga(),this.q3=ga(),ua.ONE.dlShiftTo(2*e.t,this.r2),this.mu=this.r2.divide(e)}return e.prototype.convert=function(e){if(e.s<0||e.t>2*this.m.t)return e.mod(this.m);if(e.compareTo(this.m)<0)return e;var t=ga();return e.copyTo(t),this.reduce(t),t},e.prototype.revert=function(e){return e},e.prototype.reduce=function(e){for(e.drShiftTo(this.m.t-1,this.r2),e.t>this.m.t+1&&(e.t=this.m.t+1,e.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);e.compareTo(this.r2)<0;)e.dAddOffset(1,this.m.t+1);for(e.subTo(this.r2,e);e.compareTo(this.m)>=0;)e.subTo(this.m,e)},e.prototype.mulTo=function(e,t,n){e.multiplyTo(t,n),this.reduce(n)},e.prototype.sqrTo=function(e,t){e.squareTo(t),this.reduce(t)},e}();function ga(){return new ua(null)}function ha(e,t){return new ua(e,t)}var ya="undefined"!=typeof navigator;ya&&"Microsoft Internet Explorer"==navigator.appName?(ua.prototype.am=function(e,t,n,r,i,o){for(var a=32767&t,s=t>>15;--o>=0;){var c=32767&this[e],u=this[e++]>>15,d=s*c+u*a;i=((c=a*c+((32767&d)<<15)+n[r]+(1073741823&i))>>>30)+(d>>>15)+s*u+(i>>>30),n[r++]=1073741823&c}return i},ra=30):ya&&"Netscape"!=navigator.appName?(ua.prototype.am=function(e,t,n,r,i,o){for(;--o>=0;){var a=t*this[e++]+n[r]+i;i=Math.floor(a/67108864),n[r++]=67108863&a}return i},ra=26):(ua.prototype.am=function(e,t,n,r,i,o){for(var a=16383&t,s=t>>14;--o>=0;){var c=16383&this[e],u=this[e++]>>14,d=s*c+u*a;i=((c=a*c+((16383&d)<<14)+n[r]+i)>>28)+(d>>14)+s*u,n[r++]=268435455&c}return i},ra=28),ua.prototype.DB=ra,ua.prototype.DM=(1<<ra)-1,ua.prototype.DV=1<<ra,ua.prototype.FV=Math.pow(2,52),ua.prototype.F1=52-ra,ua.prototype.F2=2*ra-52;var ma,va,Ia=[];for(ma="0".charCodeAt(0),va=0;va<=9;++va)Ia[ma++]=va;for(ma="a".charCodeAt(0),va=10;va<36;++va)Ia[ma++]=va;for(ma="A".charCodeAt(0),va=10;va<36;++va)Ia[ma++]=va;function Sa(e,t){var n=Ia[e.charCodeAt(t)];return null==n?-1:n}function Ta(e){var t=ga();return t.fromInt(e),t}function Ea(e){var t,n=1;return 0!=(t=e>>>16)&&(e=t,n+=16),0!=(t=e>>8)&&(e=t,n+=8),0!=(t=e>>4)&&(e=t,n+=4),0!=(t=e>>2)&&(e=t,n+=2),0!=(t=e>>1)&&(e=t,n+=1),n}ua.ZERO=Ta(0),ua.ONE=Ta(1);var ba,Ca,Aa=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(e){var t,n,r;for(t=0;t<256;++t)this.S[t]=t;for(n=0,t=0;t<256;++t)n=n+this.S[t]+e[t%e.length]&255,r=this.S[t],this.S[t]=this.S[n],this.S[n]=r;this.i=0,this.j=0},e.prototype.next=function(){var e;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,e=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=e,this.S[e+this.S[this.i]&255]},e}(),_a=null;if(null==_a){_a=[],Ca=0;var wa=void 0;if(window.crypto&&window.crypto.getRandomValues){var Na=new Uint32Array(256);for(window.crypto.getRandomValues(Na),wa=0;wa<Na.length;++wa)_a[Ca++]=255&Na[wa]}var Ra=0,Oa=function(e){if((Ra=Ra||0)>=256||Ca>=256)window.removeEventListener?window.removeEventListener("mousemove",Oa,!1):window.detachEvent&&window.detachEvent("onmousemove",Oa);else try{var t=e.x+e.y;_a[Ca++]=255&t,Ra+=1}catch(e){}};window.addEventListener?window.addEventListener("mousemove",Oa,!1):window.attachEvent&&window.attachEvent("onmousemove",Oa)}function Da(){if(null==ba){for(ba=new Aa;Ca<256;){var e=Math.floor(65536*Math.random());_a[Ca++]=255&e}for(ba.init(_a),Ca=0;Ca<_a.length;++Ca)_a[Ca]=0;Ca=0}return ba.next()}var Ma=function(){function e(){}return e.prototype.nextBytes=function(e){for(var t=0;t<e.length;++t)e[t]=Da()},e}(),Ua=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(e){return e.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(e){if(null==this.p||null==this.q)return e.modPow(this.d,this.n);for(var t=e.mod(this.p).modPow(this.dmp1,this.p),n=e.mod(this.q).modPow(this.dmq1,this.q);t.compareTo(n)<0;)t=t.add(this.p);return t.subtract(n).multiply(this.coeff).mod(this.p).multiply(this.q).add(n)},e.prototype.setPublic=function(e,t){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=ha(e,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(e){var t=this.n.bitLength()+7>>3,n=function(e,t){if(t<e.length+11)return console.error("Message too long for RSA"),null;for(var n=[],r=e.length-1;r>=0&&t>0;){var i=e.charCodeAt(r--);i<128?n[--t]=i:i>127&&i<2048?(n[--t]=63&i|128,n[--t]=i>>6|192):(n[--t]=63&i|128,n[--t]=i>>6&63|128,n[--t]=i>>12|224)}n[--t]=0;for(var o=new Ma,a=[];t>2;){for(a[0]=0;0==a[0];)o.nextBytes(a);n[--t]=a[0]}return n[--t]=2,n[--t]=0,new ua(n)}(e,t);if(null==n)return null;var r=this.doPublic(n);if(null==r)return null;for(var i=r.toString(16),o=i.length,a=0;a<2*t-o;a++)i="0"+i;return i},e.prototype.setPrivate=function(e,t,n){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=ha(e,16),this.e=parseInt(t,16),this.d=ha(n,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(e,t,n,r,i,o,a,s){null!=e&&null!=t&&e.length>0&&t.length>0?(this.n=ha(e,16),this.e=parseInt(t,16),this.d=ha(n,16),this.p=ha(r,16),this.q=ha(i,16),this.dmp1=ha(o,16),this.dmq1=ha(a,16),this.coeff=ha(s,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(e,t){var n=new Ma,r=e>>1;this.e=parseInt(t,16);for(var i=new ua(t,16);;){for(;this.p=new ua(e-r,1,n),0!=this.p.subtract(ua.ONE).gcd(i).compareTo(ua.ONE)||!this.p.isProbablePrime(10););for(;this.q=new ua(r,1,n),0!=this.q.subtract(ua.ONE).gcd(i).compareTo(ua.ONE)||!this.q.isProbablePrime(10););if(this.p.compareTo(this.q)<=0){var o=this.p;this.p=this.q,this.q=o}var a=this.p.subtract(ua.ONE),s=this.q.subtract(ua.ONE),c=a.multiply(s);if(0==c.gcd(i).compareTo(ua.ONE)){this.n=this.p.multiply(this.q),this.d=i.modInverse(c),this.dmp1=this.d.mod(a),this.dmq1=this.d.mod(s),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(e){var t=ha(e,16),n=this.doPrivate(t);return null==n?null:function(e,t){for(var n=e.toByteArray(),r=0;r<n.length&&0==n[r];)++r;if(n.length-r!=t-1||2!=n[r])return null;for(++r;0!=n[r];)if(++r>=n.length)return null;for(var i="";++r<n.length;){var o=255&n[r];o<128?i+=String.fromCharCode(o):o>191&&o<224?(i+=String.fromCharCode((31&o)<<6|63&n[r+1]),++r):(i+=String.fromCharCode((15&o)<<12|(63&n[r+1])<<6|63&n[r+2]),r+=2)}return i}(n,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(e,t,n){var r=new Ma,i=e>>1;this.e=parseInt(t,16);var o=new ua(t,16),a=this,s=function(){var t=function(){if(a.p.compareTo(a.q)<=0){var e=a.p;a.p=a.q,a.q=e}var t=a.p.subtract(ua.ONE),r=a.q.subtract(ua.ONE),i=t.multiply(r);0==i.gcd(o).compareTo(ua.ONE)?(a.n=a.p.multiply(a.q),a.d=o.modInverse(i),a.dmp1=a.d.mod(t),a.dmq1=a.d.mod(r),a.coeff=a.q.modInverse(a.p),setTimeout((function(){n()}),0)):setTimeout(s,0)},c=function(){a.q=ga(),a.q.fromNumberAsync(i,1,r,(function(){a.q.subtract(ua.ONE).gcda(o,(function(e){0==e.compareTo(ua.ONE)&&a.q.isProbablePrime(10)?setTimeout(t,0):setTimeout(c,0)}))}))},u=function(){a.p=ga(),a.p.fromNumberAsync(e-i,1,r,(function(){a.p.subtract(ua.ONE).gcda(o,(function(e){0==e.compareTo(ua.ONE)&&a.p.isProbablePrime(10)?setTimeout(c,0):setTimeout(u,0)}))}))};setTimeout(u,0)};setTimeout(s,0)},e.prototype.sign=function(e,t,n){var r=function(e,t){if(t<e.length+22)return console.error("Message too long for RSA"),null;for(var n=t-e.length-6,r="",i=0;i<n;i+=2)r+="ff";return ha("0001"+r+"00"+e,16)}((ka[n]||"")+t(e).toString(),this.n.bitLength()/4);if(null==r)return null;var i=this.doPrivate(r);if(null==i)return null;var o=i.toString(16);return 0==(1&o.length)?o:"0"+o},e.prototype.verify=function(e,t,n){var r=ha(t,16),i=this.doPublic(r);return null==i?null:function(e){for(var t in ka)if(ka.hasOwnProperty(t)){var n=ka[t],r=n.length;if(e.substr(0,r)==n)return e.substr(r)}return e}(i.toString(16).replace(/^1f+00/,""))==n(e).toString()},e}(),ka={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"},xa={};xa.lang={extend:function(e,t,n){if(!t||!e)throw new Error("YAHOO.lang.extend failed, please check that all dependencies are included.");var r=function(){};if(r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e,e.superclass=t.prototype,t.prototype.constructor==Object.prototype.constructor&&(t.prototype.constructor=t),n){var i;for(i in n)e.prototype[i]=n[i];var o=function(){},a=["toString","valueOf"];try{/MSIE/.test(navigator.userAgent)&&(o=function(e,t){for(i=0;i<a.length;i+=1){var n=a[i],r=t[n];"function"==typeof r&&r!=Object.prototype[n]&&(e[n]=r)}})}catch(e){}o(e.prototype,n)}}};var La={};void 0!==La.asn1&&La.asn1||(La.asn1={}),La.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var t=e.toString(16);return t.length%2==1&&(t="0"+t),t},this.bigIntToMinTwosComplementsHex=function(e){var t=e.toString(16);if("-"!=t.substr(0,1))t.length%2==1?t="0"+t:t.match(/^[0-7]/)||(t="00"+t);else{var n=t.substr(1).length;n%2==1?n+=1:t.match(/^[0-7]/)||(n+=2);for(var r="",i=0;i<n;i++)r+="f";t=new ua(r,16).xor(e).add(ua.ONE).toString(16).replace(/^-/,"")}return t},this.getPEMStringFromHex=function(e,t){return hextopem(e,t)},this.newObject=function(e){var t=La.asn1,n=t.DERBoolean,r=t.DERInteger,i=t.DERBitString,o=t.DEROctetString,a=t.DERNull,s=t.DERObjectIdentifier,c=t.DEREnumerated,u=t.DERUTF8String,d=t.DERNumericString,l=t.DERPrintableString,p=t.DERTeletexString,f=t.DERIA5String,g=t.DERUTCTime,h=t.DERGeneralizedTime,y=t.DERSequence,m=t.DERSet,v=t.DERTaggedObject,I=t.ASN1Util.newObject,S=Object.keys(e);if(1!=S.length)throw"key of param shall be only one.";var T=S[0];if(-1==":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+T+":"))throw"undefined key: "+T;if("bool"==T)return new n(e[T]);if("int"==T)return new r(e[T]);if("bitstr"==T)return new i(e[T]);if("octstr"==T)return new o(e[T]);if("null"==T)return new a(e[T]);if("oid"==T)return new s(e[T]);if("enum"==T)return new c(e[T]);if("utf8str"==T)return new u(e[T]);if("numstr"==T)return new d(e[T]);if("prnstr"==T)return new l(e[T]);if("telstr"==T)return new p(e[T]);if("ia5str"==T)return new f(e[T]);if("utctime"==T)return new g(e[T]);if("gentime"==T)return new h(e[T]);if("seq"==T){for(var E=e[T],b=[],C=0;C<E.length;C++){var A=I(E[C]);b.push(A)}return new y({array:b})}if("set"==T){for(E=e[T],b=[],C=0;C<E.length;C++)A=I(E[C]),b.push(A);return new m({array:b})}if("tag"==T){var _=e[T];if("[object Array]"===Object.prototype.toString.call(_)&&3==_.length){var w=I(_[2]);return new v({tag:_[0],explicit:_[1],obj:w})}var N={};if(void 0!==_.explicit&&(N.explicit=_.explicit),void 0!==_.tag&&(N.tag=_.tag),void 0===_.obj)throw"obj shall be specified for 'tag'.";return N.obj=I(_.obj),new v(N)}},this.jsonToASN1HEX=function(e){return this.newObject(e).getEncodedHex()}},La.asn1.ASN1Util.oidHexToInt=function(e){for(var t="",n=parseInt(e.substr(0,2),16),r=(t=Math.floor(n/40)+"."+n%40,""),i=2;i<e.length;i+=2){var o=("00000000"+parseInt(e.substr(i,2),16).toString(2)).slice(-8);r+=o.substr(1,7),"0"==o.substr(0,1)&&(t=t+"."+new ua(r,2).toString(10),r="")}return t},La.asn1.ASN1Util.oidIntToHex=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new ua(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);return r},La.asn1.ASN1Object=function(){this.getLengthHexFromValue=function(){if(void 0===this.hV||null==this.hV)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+"".length+",v="+this.hV;var e=this.hV.length/2,t=e.toString(16);if(t.length%2==1&&(t="0"+t),e<128)return t;var n=t.length/2;if(n>15)throw"ASN.1 length too long to represent by 8x: n = "+e.toString(16);return(128+n).toString(16)+t},this.getEncodedHex=function(){return(null==this.hTLV||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},La.asn1.DERAbstractString=function(e){La.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(this.s)},this.setStringHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?this.setString(e):void 0!==e.str?this.setString(e.str):void 0!==e.hex&&this.setStringHex(e.hex))},xa.lang.extend(La.asn1.DERAbstractString,La.asn1.ASN1Object),La.asn1.DERAbstractTime=function(e){La.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(e){return utc=e.getTime()+6e4*e.getTimezoneOffset(),new Date(utc)},this.formatDate=function(e,t,n){var r=this.zeroPadding,i=this.localDateToUTC(e),o=String(i.getFullYear());"utc"==t&&(o=o.substr(2,2));var a=o+r(String(i.getMonth()+1),2)+r(String(i.getDate()),2)+r(String(i.getHours()),2)+r(String(i.getMinutes()),2)+r(String(i.getSeconds()),2);if(!0===n){var s=i.getMilliseconds();if(0!=s){var c=r(String(s),3);a=a+"."+(c=c.replace(/[0]+$/,""))}}return a+"Z"},this.zeroPadding=function(e,t){return e.length>=t?e:new Array(t-e.length+1).join("0")+e},this.getString=function(){return this.s},this.setString=function(e){this.hTLV=null,this.isModified=!0,this.s=e,this.hV=stohex(e)},this.setByDateValue=function(e,t,n,r,i,o){var a=new Date(Date.UTC(e,t-1,n,r,i,o,0));this.setByDate(a)},this.getFreshValueHex=function(){return this.hV}},xa.lang.extend(La.asn1.DERAbstractTime,La.asn1.ASN1Object),La.asn1.DERAbstractStructured=function(e){La.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array=e},this.appendASN1Object=function(e){this.hTLV=null,this.isModified=!0,this.asn1Array.push(e)},this.asn1Array=new Array,void 0!==e&&void 0!==e.array&&(this.asn1Array=e.array)},xa.lang.extend(La.asn1.DERAbstractStructured,La.asn1.ASN1Object),La.asn1.DERBoolean=function(){La.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},xa.lang.extend(La.asn1.DERBoolean,La.asn1.ASN1Object),La.asn1.DERInteger=function(e){La.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=La.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new ua(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.bigint?this.setByBigInteger(e.bigint):void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},xa.lang.extend(La.asn1.DERInteger,La.asn1.ASN1Object),La.asn1.DERBitString=function(e){if(void 0!==e&&void 0!==e.obj){var t=La.asn1.ASN1Util.newObject(e.obj);e.hex="00"+t.getEncodedHex()}La.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(e){this.hTLV=null,this.isModified=!0,this.hV=e},this.setUnusedBitsAndHexValue=function(e,t){if(e<0||7<e)throw"unused bits shall be from 0 to 7: u = "+e;var n="0"+e;this.hTLV=null,this.isModified=!0,this.hV=n+t},this.setByBinaryString=function(e){var t=8-(e=e.replace(/0+$/,"")).length%8;8==t&&(t=0);for(var n=0;n<=t;n++)e+="0";var r="";for(n=0;n<e.length-1;n+=8){var i=e.substr(n,8),o=parseInt(i,2).toString(16);1==o.length&&(o="0"+o),r+=o}this.hTLV=null,this.isModified=!0,this.hV="0"+t+r},this.setByBooleanArray=function(e){for(var t="",n=0;n<e.length;n++)1==e[n]?t+="1":t+="0";this.setByBinaryString(t)},this.newFalseArray=function(e){for(var t=new Array(e),n=0;n<e;n++)t[n]=!1;return t},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):void 0!==e.hex?this.setHexValueIncludingUnusedBits(e.hex):void 0!==e.bin?this.setByBinaryString(e.bin):void 0!==e.array&&this.setByBooleanArray(e.array))},xa.lang.extend(La.asn1.DERBitString,La.asn1.ASN1Object),La.asn1.DEROctetString=function(e){if(void 0!==e&&void 0!==e.obj){var t=La.asn1.ASN1Util.newObject(e.obj);e.hex=t.getEncodedHex()}La.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},xa.lang.extend(La.asn1.DEROctetString,La.asn1.DERAbstractString),La.asn1.DERNull=function(){La.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},xa.lang.extend(La.asn1.DERNull,La.asn1.ASN1Object),La.asn1.DERObjectIdentifier=function(e){var t=function(e){var t=e.toString(16);return 1==t.length&&(t="0"+t),t},n=function(e){var n="",r=new ua(e,10).toString(2),i=7-r.length%7;7==i&&(i=0);for(var o="",a=0;a<i;a++)o+="0";for(r=o+r,a=0;a<r.length-1;a+=7){var s=r.substr(a,7);a!=r.length-7&&(s="1"+s),n+=t(parseInt(s,2))}return n};La.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(e){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=e},this.setValueOidString=function(e){if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var r="",i=e.split("."),o=40*parseInt(i[0])+parseInt(i[1]);r+=t(o),i.splice(0,2);for(var a=0;a<i.length;a++)r+=n(i[a]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(e){var t=La.asn1.x509.OID.name2oid(e);if(""===t)throw"DERObjectIdentifier oidName undefined: "+e;this.setValueOidString(t)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&("string"==typeof e?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):void 0!==e.oid?this.setValueOidString(e.oid):void 0!==e.hex?this.setValueHex(e.hex):void 0!==e.name&&this.setValueName(e.name))},xa.lang.extend(La.asn1.DERObjectIdentifier,La.asn1.ASN1Object),La.asn1.DEREnumerated=function(e){La.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(e){this.hTLV=null,this.isModified=!0,this.hV=La.asn1.ASN1Util.bigIntToMinTwosComplementsHex(e)},this.setByInteger=function(e){var t=new ua(String(e),10);this.setByBigInteger(t)},this.setValueHex=function(e){this.hV=e},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.int?this.setByInteger(e.int):"number"==typeof e?this.setByInteger(e):void 0!==e.hex&&this.setValueHex(e.hex))},xa.lang.extend(La.asn1.DEREnumerated,La.asn1.ASN1Object),La.asn1.DERUTF8String=function(e){La.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},xa.lang.extend(La.asn1.DERUTF8String,La.asn1.DERAbstractString),La.asn1.DERNumericString=function(e){La.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},xa.lang.extend(La.asn1.DERNumericString,La.asn1.DERAbstractString),La.asn1.DERPrintableString=function(e){La.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},xa.lang.extend(La.asn1.DERPrintableString,La.asn1.DERAbstractString),La.asn1.DERTeletexString=function(e){La.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},xa.lang.extend(La.asn1.DERTeletexString,La.asn1.DERAbstractString),La.asn1.DERIA5String=function(e){La.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},xa.lang.extend(La.asn1.DERIA5String,La.asn1.DERAbstractString),La.asn1.DERUTCTime=function(e){La.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{12}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date))},xa.lang.extend(La.asn1.DERUTCTime,La.asn1.DERAbstractTime),La.asn1.DERGeneralizedTime=function(e){La.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(e){this.hTLV=null,this.isModified=!0,this.date=e,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return void 0===this.date&&void 0===this.s&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},void 0!==e&&(void 0!==e.str?this.setString(e.str):"string"==typeof e&&e.match(/^[0-9]{14}Z$/)?this.setString(e):void 0!==e.hex?this.setStringHex(e.hex):void 0!==e.date&&this.setByDate(e.date),!0===e.millis&&(this.withMillis=!0))},xa.lang.extend(La.asn1.DERGeneralizedTime,La.asn1.DERAbstractTime),La.asn1.DERSequence=function(e){La.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var e="",t=0;t<this.asn1Array.length;t++)e+=this.asn1Array[t].getEncodedHex();return this.hV=e,this.hV}},xa.lang.extend(La.asn1.DERSequence,La.asn1.DERAbstractStructured),La.asn1.DERSet=function(e){La.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var e=new Array,t=0;t<this.asn1Array.length;t++){var n=this.asn1Array[t];e.push(n.getEncodedHex())}return 1==this.sortFlag&&e.sort(),this.hV=e.join(""),this.hV},void 0!==e&&void 0!==e.sortflag&&0==e.sortflag&&(this.sortFlag=!1)},xa.lang.extend(La.asn1.DERSet,La.asn1.DERAbstractStructured),La.asn1.DERTaggedObject=function(e){La.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(e,t,n){this.hT=t,this.isExplicit=e,this.asn1Object=n,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=n.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},void 0!==e&&(void 0!==e.tag&&(this.hT=e.tag),void 0!==e.explicit&&(this.isExplicit=e.explicit),void 0!==e.obj&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},xa.lang.extend(La.asn1.DERTaggedObject,La.asn1.ASN1Object);var Ba,Pa=(Ba=function(e,t){return Ba=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Ba(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Ba(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),Ga=function(e){function t(n){var r=e.call(this)||this;return n&&("string"==typeof n?r.parseKey(n):(t.hasPrivateKeyProperty(n)||t.hasPublicKeyProperty(n))&&r.parsePropertiesFrom(n)),r}return Pa(t,e),t.prototype.parseKey=function(e){try{var t=0,n=0,r=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/.test(e)?function(e){var t;if(void 0===Qo){var n="0123456789ABCDEF",r=" \f\n\r\t \u2028\u2029";for(Qo={},t=0;t<16;++t)Qo[n.charAt(t)]=t;for(n=n.toLowerCase(),t=10;t<16;++t)Qo[n.charAt(t)]=t;for(t=0;t<r.length;++t)Qo[r.charAt(t)]=-1}var i=[],o=0,a=0;for(t=0;t<e.length;++t){var s=e.charAt(t);if("="==s)break;if(-1!=(s=Qo[s])){if(void 0===s)throw new Error("Illegal character at offset "+t);o|=s,++a>=2?(i[i.length]=o,o=0,a=0):o<<=4}}if(a)throw new Error("Hex encoding incomplete: 4 bits missing");return i}(e):Yo.unarmor(e),i=oa.decode(r);if(3===i.sub.length&&(i=i.sub[2].sub[0]),9===i.sub.length){t=i.sub[1].getHexStringValue(),this.n=ha(t,16),n=i.sub[2].getHexStringValue(),this.e=parseInt(n,16);var o=i.sub[3].getHexStringValue();this.d=ha(o,16);var a=i.sub[4].getHexStringValue();this.p=ha(a,16);var s=i.sub[5].getHexStringValue();this.q=ha(s,16);var c=i.sub[6].getHexStringValue();this.dmp1=ha(c,16);var u=i.sub[7].getHexStringValue();this.dmq1=ha(u,16);var d=i.sub[8].getHexStringValue();this.coeff=ha(d,16)}else{if(2!==i.sub.length)return!1;var l=i.sub[1].sub[0];t=l.sub[0].getHexStringValue(),this.n=ha(t,16),n=l.sub[1].getHexStringValue(),this.e=parseInt(n,16)}return!0}catch(e){return!1}},t.prototype.getPrivateBaseKey=function(){var e={array:[new La.asn1.DERInteger({int:0}),new La.asn1.DERInteger({bigint:this.n}),new La.asn1.DERInteger({int:this.e}),new La.asn1.DERInteger({bigint:this.d}),new La.asn1.DERInteger({bigint:this.p}),new La.asn1.DERInteger({bigint:this.q}),new La.asn1.DERInteger({bigint:this.dmp1}),new La.asn1.DERInteger({bigint:this.dmq1}),new La.asn1.DERInteger({bigint:this.coeff})]};return new La.asn1.DERSequence(e).getEncodedHex()},t.prototype.getPrivateBaseKeyB64=function(){return Zo(this.getPrivateBaseKey())},t.prototype.getPublicBaseKey=function(){var e=new La.asn1.DERSequence({array:[new La.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new La.asn1.DERNull]}),t=new La.asn1.DERSequence({array:[new La.asn1.DERInteger({bigint:this.n}),new La.asn1.DERInteger({int:this.e})]}),n=new La.asn1.DERBitString({hex:"00"+t.getEncodedHex()});return new La.asn1.DERSequence({array:[e,n]}).getEncodedHex()},t.prototype.getPublicBaseKeyB64=function(){return Zo(this.getPublicBaseKey())},t.wordwrap=function(e,t){if(!e)return e;var n="(.{1,"+(t=t||64)+"})( +|$\n?)|(.{1,"+t+"})";return e.match(RegExp(n,"g")).join("\n")},t.prototype.getPrivateKey=function(){var e="-----BEGIN RSA PRIVATE KEY-----\n";return(e+=t.wordwrap(this.getPrivateBaseKeyB64())+"\n")+"-----END RSA PRIVATE KEY-----"},t.prototype.getPublicKey=function(){var e="-----BEGIN PUBLIC KEY-----\n";return(e+=t.wordwrap(this.getPublicBaseKeyB64())+"\n")+"-----END PUBLIC KEY-----"},t.hasPublicKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")},t.hasPrivateKeyProperty=function(e){return(e=e||{}).hasOwnProperty("n")&&e.hasOwnProperty("e")&&e.hasOwnProperty("d")&&e.hasOwnProperty("p")&&e.hasOwnProperty("q")&&e.hasOwnProperty("dmp1")&&e.hasOwnProperty("dmq1")&&e.hasOwnProperty("coeff")},t.prototype.parsePropertiesFrom=function(e){this.n=e.n,this.e=e.e,e.hasOwnProperty("d")&&(this.d=e.d,this.p=e.p,this.q=e.q,this.dmp1=e.dmp1,this.dmq1=e.dmq1,this.coeff=e.coeff)},t}(Ua),ja=function(){function e(e){void 0===e&&(e={}),e=e||{},this.default_key_size=e.default_key_size?parseInt(e.default_key_size,10):1024,this.default_public_exponent=e.default_public_exponent||"010001",this.log=e.log||!1,this.key=null}return e.prototype.setKey=function(e){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Ga(e)},e.prototype.setPrivateKey=function(e){this.setKey(e)},e.prototype.setPublicKey=function(e){this.setKey(e)},e.prototype.decrypt=function(e){try{return this.getKey().decrypt(Wo(e))}catch(e){return!1}},e.prototype.encrypt=function(e){try{return Zo(this.getKey().encrypt(e))}catch(e){return!1}},e.prototype.sign=function(e,t,n){try{return Zo(this.getKey().sign(e,t,n))}catch(e){return!1}},e.prototype.verify=function(e,t,n){try{return this.getKey().verify(e,Wo(t),n)}catch(e){return!1}},e.prototype.getKey=function(e){if(!this.key){if(this.key=new Ga,e&&"[object Function]"==={}.toString.call(e))return void this.key.generateAsync(this.default_key_size,this.default_public_exponent,e);this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version="3.2.1",e}(),Fa=c.chaveMovelSignature,Va={publicKey:null},qa=function(){var e=tn((function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.cancelToken;return rn().mark((function e(){var i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.inCurrentMode.getChaveMovelPublicKey(),e.next=3,t.get({url:i,withCredentials:!1,cancelToken:r});case 3:if((o=e.sent).data.publicKey){e.next=6;break}return e.abrupt("return",{});case 6:return a=atob(o.data.publicKey),Va.publicKey=a,e.abrupt("return",a);case 9:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Ha=function(){var e=tn((function(e){var t=e.signingPin,n=e.phone,r=e.language,i=e.clientId,o=e.docId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,u=e.actionType;return rn().mark((function e(){var d,l,p;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d=s.inCurrentMode.startSigning(),e.next=3,qa({apiClient:c,apiEndpoints:s,cancelToken:a});case 3:return l=e.sent,(p=new ja).setPublicKey(l),e.abrupt("return",c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:i,sign_type:u,lang:r,signing_pin:p.encrypt(t),phone:p.encrypt(n)},cancelToken:a}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Ka=function(e){var t=e.startSigningResult,n=e.confirmationCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},Qa=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.confirmationCode,u=new ja;return u.setPublicKey(Va.publicKey),n.post({url:r.inCurrentMode.completeSignatureChaveMovel(),withCredentials:!1,data:{token:t,doc_id:a,lang:i,client_id:s,confirmation_code:u.encrypt(c)},cancelToken:o})},za=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.countryCode,u=e.language,l=e.started,p=e.confirmationCodeRequest,f=e.signingPin,g=e.phone,h=e.setOnCancelByUser;return rn().mark((function e(){var y,m,v;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return y=d(a.SIGNATURE,Fa,c),s.dispatch({message:"".concat(y.actionType,": signing started")}),e.next=4,dn(Ha)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:u,actionType:y.actionType,signingPin:f,phone:g});case 4:return m=e.sent,l(m),e.next=8,dn(Ka,{shouldFormatResult:!1})({startSigningResult:m,confirmationCodeRequest:p,setOnCancelByUser:h});case 8:return v=e.sent,e.abrupt("return",dn(Qa)({token:m.data.token,apiClient:o,apiEndpoints:i,language:u,cancelToken:r,docId:n,clientId:t,confirmationCode:v}));case 10:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Za=vn(Fa,za,{pin:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),Wa=c.eCertChileSignature,Ja=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.idcode,d=e.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,idcode:u,email:d},cancelToken:i})},Ya=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.idcode,f=e.email,g=e.redirect;return rn().mark((function e(){var h,y;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=d(a.SIGNATURE,Wa,l),c.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,dn(Ja)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,idcode:p,email:f,actionType:h.actionType});case 4:return y=e.sent,e.abrupt("return",dn(g,{shouldFormatResult:!1})(y));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Xa=vn(Wa,Ya,{idcode:{type:"string",required:!0},email:{type:"string",required:!0}}),$a=yo({moduleName:c.mitIdSignature,createModuleCreator:vn}),es=c.ftnQesSignature,ts=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.phone,d=e.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,phone:u,email:d},cancelToken:i})},ns=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.phone,f=e.email,g=e.redirect;return rn().mark((function e(){var h,y;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=d(a.SIGNATURE,es,l),c.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,dn(ts)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,phone:p,email:f,actionType:h.actionType});case 4:return y=e.sent,e.abrupt("return",dn(g,{shouldFormatResult:!1})(y));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),rs=vn(es,ns,{phone:{type:"string",required:!0},email:{type:"string",required:!0}}),is=c.noBankIdAdvSignature,os=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.name,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,name:u},cancelToken:i})},as=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.name,f=e.redirect;return rn().mark((function e(){var g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=d(a.SIGNATURE,is,l),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,dn(os)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,name:p,actionType:g.actionType});case 4:return h=e.sent,e.abrupt("return",dn(f,{shouldFormatResult:!1})(h));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ss=vn(is,as,{name:{type:"string",required:!0}}),cs=yo({moduleName:c.noBankIdAdvLightSignature,createModuleCreator:vn}),us=Pi({moduleName:c.certEuropeUsbTokenSignature,createModuleCreator:vn}),ds=Pi({moduleName:c.certSignUsbTokenSignature,createModuleCreator:vn}),ls=yo({moduleName:c.idinSignature,createModuleCreator:vn}),ps=yo({moduleName:c.verifaiSignature,createModuleCreator:vn}),fs=c.spidQesSignature,gs=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.phone,d=e.email,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,phone:u,email:d},cancelToken:i})},hs=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.phone,f=e.email,g=e.redirect;return rn().mark((function e(){var h,y;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=d(a.SIGNATURE,fs,l),c.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,dn(gs)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,phone:p,email:f,actionType:h.actionType});case 4:return y=e.sent,e.abrupt("return",dn(g,{shouldFormatResult:!1})(y));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ys=vn(fs,hs,{email:{type:"string",required:!0},phone:{type:"string",required:!0}}),ms=c.frejaSimpleSignature,vs=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},Is=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureFrejaSimple(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Ss=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:Is,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Ts=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.idcode,u=e.countryCode,l=e.language,p=e.started;return rn().mark((function e(){var f,g;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=d(a.SIGNATURE,ms,u),s.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,dn(vs)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:l,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,p(g),e.abrupt("return",dn(Ss)({data:g.data,apiClient:o,apiEndpoints:i,language:l,cancelToken:r,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Es=vn(ms,Ts,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),bs=c.audkenniQesSignature,Cs=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},As=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.continueSignatureAudkenni(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},_s=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureAudkenni(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},ws=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:As,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Ns=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:_s,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Rs=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.idcode,u=e.countryCode,l=e.language,p=e.started;return rn().mark((function e(){var f,g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=d(a.SIGNATURE,bs,u),s.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,dn(Cs)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:l,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,e.next=7,dn(ws)({data:g.data,apiClient:o,apiEndpoints:i,language:l,cancelToken:r,docId:n,clientId:t});case 7:return h=e.sent,p(h),e.abrupt("return",dn(Ns)({data:h.data,apiClient:o,apiEndpoints:i,language:l,cancelToken:r,docId:n,clientId:t}));case 10:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Os=vn(bs,Rs,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Ds=yo({moduleName:c.yesComQesSignature,createModuleCreator:vn}),Ms=yo({moduleName:c.simplySignQesSignature,createModuleCreator:vn}),Us=c.uanatacaQesSignature,ks=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.username,d=e.password,l=e.pin,p=o.inCurrentMode.startSigning();return a.post({url:p,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,username:u,password:d,pin:l},cancelToken:i})},xs=function(e){var t=e.startSigningResult,n=e.confirmationCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},Ls=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.confirmationCode;return n.post({url:r.inCurrentMode.completeSignatureUanataca(),withCredentials:!1,data:{token:t,doc_id:a,lang:i,client_id:s,confirmation_code:c},cancelToken:o})},Bs=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.username,f=e.password,g=e.pin,h=e.confirmationCodeRequest,y=e.setOnCancelByUser,m=e.started;return rn().mark((function e(){var v,I,S;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v=d(a.SIGNATURE,Us,l),c.dispatch({message:"".concat(v.actionType,": signing started")}),e.next=4,dn(ks)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,username:p,password:f,pin:g,actionType:v.actionType});case 4:return I=e.sent,m(I),e.next=8,dn(xs,{shouldFormatResult:!1})({startSigningResult:I,confirmationCodeRequest:h,setOnCancelByUser:y});case 8:return S=e.sent,e.abrupt("return",dn(Ls)({token:I.data.token,apiClient:s,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t,confirmationCode:S}));case 10:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Ps=vn(Us,Bs,{username:{type:"string",required:!0},password:{type:"string",required:!0},pin:{type:"string",required:!0}}),Gs=c.infoCertQesSignature,js=function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.language,s=e.actionType,c=e.userId,u=i.inCurrentMode.startSigning();return o.post({url:u,withCredentials:!1,data:{doc_id:n,client_id:t,sign_type:s,lang:a,user_id:c},cancelToken:r})},Fs=function(e){var t=e.startSigningResult,n=e.otpCodeRequest,r=e.setOnCancelByUser;return new Promise((function(e,i){r((function(){var e=new Error("USER_REFUSED");e.isCancel=!0,i(e)})),n({data:t.data},e,i)}))},Vs=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.pin,u=e.otp;return n.post({url:r.inCurrentMode.completeSignatureInfoCert(),withCredentials:!1,data:{token:t,doc_id:a,lang:i,client_id:s,pin:c,otp:u},cancelToken:o})},qs=function(e){var t=e.country,n=e.userId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=i.inCurrentMode.cscApiAuthorizeCredential();return o.post({url:a,withCredentials:!1,data:{sign_type:"infocert-qes-signature",user_id:n,country:t},cancelToken:r})},Hs=function(e){var t=e.token,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.otp,u=e.pin;return Dn({pollInterval:2e3,fn:Vs,fnArgs:[{token:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s,otp:c,pin:u}]}).start()},Ks=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.language,u=e.countryCode,l=e.userId,p=e.action,f=e.otpCodeRequest,g=e.setOnCancelByUser,h=e.started,y=e.logger,m=e.redirect;return rn().mark((function e(){var v,I,S,T,E,b;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v=d(a.SIGNATURE,Gs,u),s.dispatch({message:"".concat(v.actionType,": signing started")}),"cscApiAuthorizeCredential"!==p){e.next=9;break}return y.info("".concat(v.actionType,": cscApiAuthorizeCredential called")),e.next=6,dn(qs)({country:u,userId:l,cancelToken:r,apiEndpoints:i,apiClient:o,logger:y});case 6:return I=e.sent,y.info("".concat(v.actionType,": authorizationResult"),I),e.abrupt("return",dn(m,{shouldFormatResult:!1})(I));case 9:return e.next=11,dn(js)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:c,userId:l,actionType:v.actionType});case 11:return S=e.sent,h(S),e.next=15,dn(Fs,{shouldFormatResult:!1})({startSigningResult:S,otpCodeRequest:f,setOnCancelByUser:g});case 15:return T=e.sent,E=T.otp,b=T.pin,e.abrupt("return",dn(Hs)({token:S.data.token,apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,otp:E,pin:b}));case 19:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Qs=vn(Gs,Ks,{userId:{type:"string",required:!0}}),zs=yo({moduleName:c.certsignWebapiQesSignature,createModuleCreator:vn}),Zs=c.halcomQesSignature,Ws=function(e){var t=e.certificate,n=e.country,r=e.phone,i=e.email,o=e.username,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,u=s.inCurrentMode.cscApiAuthorizeCredential();return c.post({url:u,withCredentials:!1,data:{sign_type:"halcom-qes-signature",certificate:t,country:n,phone:r,email:i,username:o},cancelToken:a})},Js=function(e){var t=e.contractId,n=e.username,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.countryCode,u=e.language,d=e.email,l=e.phone,p=e.actionType,f=a.inCurrentMode.startSigning();return s.post({url:f,withCredentials:!1,data:{doc_id:i,contract_id:t,client_id:r,sign_type:p,username:n,email:d,phone:l,country:c,lang:u},cancelToken:o})},Ys=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureHalcom(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},Xs=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:Ys,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},$s=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.username,p=e.phone,f=e.email,g=e.countryCode,h=e.started,y=e.action,m=e.redirect;return rn().mark((function e(){var v,I,S;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(v=d(a.SIGNATURE,Zs,g),c.dispatch({message:"".concat(v.actionType,": signing started")}),"cscApiAuthorizeCredential"!==y){e.next=7;break}return e.next=5,dn(Ws)({country:g,username:l,phone:p,email:f,cancelToken:i,apiEndpoints:o,apiClient:s});case 5:return I=e.sent,e.abrupt("return",dn(m,{shouldFormatResult:!1})(I));case 7:return e.next=9,dn(Js)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,username:l,phone:p,email:f,countryCode:g,contractId:r,actionType:v.actionType});case 9:return S=e.sent,h(S),e.abrupt("return",dn(Xs)({data:S.data,apiClient:s,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ec=vn(Zs,$s,{countryCode:{type:"string",required:!0},username:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),tc=c.swissIdQesSignature,nc=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.countryCode,c=e.language,u=e.email,d=e.actionType,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:d,email:u,country:s,lang:c},cancelToken:i})},rc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSwissId(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},ic=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:rc,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},oc=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.email,p=e.countryCode,f=e.started;return rn().mark((function e(){var g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=d(a.SIGNATURE,tc,p),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,dn(nc)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,email:l,countryCode:p,contractId:r,actionType:g.actionType});case 4:return h=e.sent,f(h),e.abrupt("return",dn(ic)({data:h.data,apiClient:s,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),ac=vn(tc,oc,{countryCode:{type:"string",required:!0},email:{type:"string",required:!0},docId:{type:"string",required:!0}}),sc=c.swissComQesSignature,cc=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.countryCode,c=e.language,u=e.phone,d=e.actionType,l=o.inCurrentMode.startSigning();return a.post({url:l,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:d,phone:u,country:s,lang:c},cancelToken:i})},uc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSwissCom(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},dc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:uc,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},lc=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.phone,p=e.countryCode,f=e.started;return rn().mark((function e(){var g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=d(a.SIGNATURE,sc,p),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,dn(cc)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,phone:l,countryCode:p,contractId:r,actionType:g.actionType});case 4:return h=e.sent,f(h),e.abrupt("return",dn(dc)({data:h.data,apiClient:s,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),pc=vn(sc,lc,{countryCode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),fc=yo({moduleName:c.mitIdAdvancedSignature,createModuleCreator:vn}),gc=yo({moduleName:c.mitIdQesSignature,createModuleCreator:vn}),hc=yo({moduleName:c.seBankIdAdvancedSignature,createModuleCreator:vn}),yc=yo({moduleName:c.seBankIdQesSignature,createModuleCreator:vn}),mc=c.frejaAdvancedSignature,vc=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},Ic=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.idcode,u=e.countryCode,l=e.language,p=e.redirect;return rn().mark((function e(){var f,g;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=d(a.SIGNATURE,mc,u),s.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,dn(vc)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:l,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,e.abrupt("return",dn(p,{shouldFormatResult:!1})(g));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Sc=vn(mc,Ic,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Tc=c.frejaQesSignature,Ec=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},bc=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.idcode,u=e.countryCode,l=e.language,p=e.redirect;return rn().mark((function e(){var f,g;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=d(a.SIGNATURE,Tc,u),s.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,dn(Ec)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:c,language:l,actionType:f.actionType,countryCode:u});case 4:return g=e.sent,e.abrupt("return",dn(p,{shouldFormatResult:!1})(g));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Cc=vn(Tc,bc,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Ac=yo({moduleName:c.gbOneIdAdvancedSignature,createModuleCreator:vn}),_c=c.handwrittenSignature,wc=function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.language,i=e.cancelToken,o=e.docId,a=e.clientId,s=e.emailToken,c=e.smsToken,u=e.handwrittenSignatureData,d=e.handwrittenSignatureDataUrl;return t.post({url:n.inCurrentMode.completeHandwritten(),withCredentials:!1,data:{doc_id:o,timeout:2,lang:r,client_id:a,email_token:s,sms_token:c,handwritten_signature_data:u,handwritten_signature_data_url:d},cancelToken:i})},Nc=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.language,u=e.countryCode,l=e.emailToken,p=e.smsToken,f=e.handwrittenSignatureData,g=e.handwrittenSignatureDataUrl;return rn().mark((function e(){var h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=d(a.SIGNATURE,_c,u),console.log(h),s.dispatch({message:"".concat(h.actionType,": signing started")}),e.abrupt("return",dn(wc)({apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,emailToken:l,smsToken:p,handwrittenSignatureData:f,handwrittenSignatureDataUrl:g}));case 4:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Rc=vn(_c,Nc,{docId:{type:"string",required:!0}}),Oc=c.haricaQesSignature,Dc=function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.actionType,s=i.inCurrentMode.startSigning();return o.post({url:s,withCredentials:!1,data:{doc_id:n,client_id:t,sign_type:a},cancelToken:r})},Mc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.username,u=e.password,d=e.otpCode;return n.post({url:r.inCurrentMode.completeSignatureHaricaQes(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s,otp_code:d,username:c,password:u},cancelToken:o})},Uc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId,c=e.username,u=e.password,d=e.otpCode;return Dn({pollInterval:2e3,fn:Mc,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s,username:c,password:u,otpCode:d}]}).start()},kc=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.language,u=e.username,l=e.password,p=e.otpCode,f=e.countryCode,g=e.started;return rn().mark((function e(){var h,y;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return h=d(a.SIGNATURE,Oc,f),s.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=4,dn(Dc)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,actionType:h.actionType});case 4:return y=e.sent,g(y),e.abrupt("return",dn(Uc)({data:y.data,apiClient:o,apiEndpoints:i,language:c,cancelToken:r,docId:n,clientId:t,username:u,password:l,otpCode:p}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),xc=vn(Oc,kc,{countryCode:{type:"string",required:!0},username:{type:"string",required:!0},password:{type:"string",required:!0},otpCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),Lc=yo({moduleName:c.veriffAdvancedSignature,createModuleCreator:vn}),Bc=c.ltIdQesSignature,Pc=function(e){var t=e.idcode,n=e.language,r=e.clientId,i=e.docId,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=e.actionType,u=e.countryCode,d=a.inCurrentMode.startSigning();return s.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:r,sign_type:c,lang:n,country:u,idcode:t},cancelToken:o})},Gc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureLtIdQes(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},jc=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:Gc,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},Fc=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.idcode,c=e.countryCode,u=e.language,l=e.started;return rn().mark((function e(){var p,f;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return p=d(a.SIGNATURE,Bc,c),e.next=3,dn(Pc)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,idcode:s,language:u,actionType:p.actionType,countryCode:c});case 3:return f=e.sent,l(f),e.abrupt("return",dn(jc)({data:f.data,apiClient:o,apiEndpoints:i,language:u,cancelToken:r,docId:n,clientId:t}));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Vc=vn(Bc,Fc,{idcode:{type:"string",required:!0},countryCode:{type:"string",required:!0},docId:{type:"string",required:!0}}),qc=Pi({moduleName:c.certStoreQesSignature,createModuleCreator:vn}),Hc=Pi({moduleName:c.certStoreAdvancedSignature,createModuleCreator:vn}),Kc=Pi({moduleName:c.certStoreAdvancedUnverifiedSignature,createModuleCreator:vn}),Qc=yo({moduleName:c.buypassQesSignature,createModuleCreator:vn}),zc=yo({moduleName:c.intesiFtnAdvSignature,createModuleCreator:vn}),Zc=yo({moduleName:c.trustAsiaSignature,createModuleCreator:vn}),Wc=yo({moduleName:c.mscTrustGateSignature,createModuleCreator:vn}),Jc=yo({moduleName:c.gseAdvSignature,createModuleCreator:vn}),Yc=yo({moduleName:c.certMeQesSignature,createModuleCreator:vn}),Xc=c.esLleidaAdvSignature,$c=function(e){var t=e.certificate,n=e.country,r=e.pin,i=e.username,o=e.cancelToken,a=e.apiEndpoints,s=e.apiClient,c=a.inCurrentMode.cscApiAuthorizeCredential();return s.post({url:c,withCredentials:!1,data:{sign_type:"es-lleida-advanced-signature",certificate:t,country:n,pin:r,username:i},cancelToken:o})},eu=function(e){var t=e.username,n=e.pin,r=e.language,i=e.clientId,o=e.docId,a=e.cancelToken,s=e.apiEndpoints,c=e.apiClient,u=e.actionType,d=s.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:i,sign_type:u,lang:r,username:t,pin:n},cancelToken:a})},tu=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureEsLleida(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},nu=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:tu,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},ru=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,s=e.monitoringService,c=e.username,u=e.pin,l=e.countryCode,p=e.language,f=e.started,g=e.action,h=e.redirect;return rn().mark((function e(){var y,m,v;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(y=d(a.SIGNATURE,Xc,l),s.dispatch({message:"".concat(y.actionType,": signing started")}),"cscApiAuthorizeCredential"!==g){e.next=7;break}return e.next=5,dn($c)({country:l,username:c,pin:u,cancelToken:r,apiEndpoints:i,apiClient:o});case 5:return m=e.sent,e.abrupt("return",dn(h,{shouldFormatResult:!1})(m));case 7:return e.next=9,dn(eu)({clientId:t,docId:n,cancelToken:r,apiEndpoints:i,apiClient:o,language:p,username:c,pin:u,countryCode:l,actionType:y.actionType});case 9:return v=e.sent,f(v),e.abrupt("return",dn(nu)({data:v.data,apiClient:o,apiEndpoints:i,language:p,cancelToken:r,docId:n,clientId:t}));case 12:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),iu=vn(Xc,ru,{username:{type:"string",required:!0},pin:{type:"string",required:!0},docId:{type:"string",required:!0}}),ou=yo({moduleName:c.seBankIdAdvancedHashSignature,createModuleCreator:vn}),au=yo({moduleName:c.dkMitIdAdvancedHashSignature,createModuleCreator:vn}),su=yo({moduleName:c.noBankIdAdvancedHashSignature,createModuleCreator:vn}),cu=yo({moduleName:c.itSpidQualifiedHashSignature,createModuleCreator:vn}),uu=yo({moduleName:c.adacomQesSignature,createModuleCreator:vn}),du=yo({moduleName:c.adacomOneShotQesSignature,createModuleCreator:vn}),lu=c.diiaQesSignature,pu=function(e){var t=e.clientId,n=e.docId,r=e.cancelToken,i=e.apiEndpoints,o=e.apiClient,a=e.countryCode,s=e.language,c=e.actionType,u=i.inCurrentMode.startSigning();return o.post({url:u,withCredentials:!1,data:{doc_id:n,client_id:t,sign_type:c,country:a,lang:s},cancelToken:r})},fu=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureDiiaQes(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:i,client_id:s},cancelToken:o})},gu=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,i=e.language,o=e.cancelToken,a=e.docId,s=e.clientId;return Dn({pollInterval:2e3,fn:fu,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:i,cancelToken:o,docId:a,clientId:s}]}).start()},hu=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.started;return rn().mark((function e(){var f,g;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return f=d(a.SIGNATURE,lu,l),c.dispatch({message:"".concat(f.actionType,": signing started")}),e.next=4,dn(pu)({clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,countryCode:l,contractId:r,actionType:f.actionType});case 4:return g=e.sent,p(g),e.abrupt("return",dn(gu)({data:g.data,apiClient:s,apiEndpoints:o,language:u,cancelToken:i,docId:n,clientId:t}));case 7:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),yu=vn(lu,hu),mu=yo({moduleName:c.emudhraQesSignature,createModuleCreator:vn}),vu=yo({moduleName:c.mxPscWorldAdvancedSignature,createModuleCreator:vn}),Iu=yo({moduleName:c.transSpedQesSignature,createModuleCreator:vn}),Su=yo({moduleName:c.vidaAdvancedSignature,createModuleCreator:vn}),Tu=Pi({moduleName:c.vnBkavTokenSignature,createModuleCreator:vn}),Eu=Pi({moduleName:c.vnCa2TokenSignature,createModuleCreator:vn}),bu=Pi({moduleName:c.vnFastTokenSignature,createModuleCreator:vn}),Cu=Pi({moduleName:c.vnFptTokenSignature,createModuleCreator:vn}),Au=Pi({moduleName:c.vnSmartTokenSignature,createModuleCreator:vn}),_u=Pi({moduleName:c.vnViettelTokenSignature,createModuleCreator:vn}),wu=Pi({moduleName:c.vnVnptTokenSignature,createModuleCreator:vn}),Nu=c.digilogixQesSignature,Ru=function(e){var t=e.contractId,n=e.clientId,r=e.docId,i=e.cancelToken,o=e.apiEndpoints,a=e.apiClient,s=e.language,c=e.actionType,u=e.idcode,d=o.inCurrentMode.startSigning();return a.post({url:d,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:c,lang:s,idcode:u},cancelToken:i})},Ou=function(){var e=tn((function(e){var t=e.clientId,n=e.docId,r=e.contractId,i=e.cancelToken,o=e.apiEndpoints,s=e.apiClient,c=e.monitoringService,u=e.language,l=e.countryCode,p=e.idcode,f=e.redirect;return rn().mark((function e(){var g,h;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return g=d(a.SIGNATURE,Nu,l),c.dispatch({message:"".concat(g.actionType,": signing started")}),e.next=4,dn(Ru)({contractId:r,clientId:t,docId:n,cancelToken:i,apiEndpoints:o,apiClient:s,language:u,idcode:p,actionType:g.actionType});case 4:return h=e.sent,e.abrupt("return",dn(f,{shouldFormatResult:!1})(h));case 6:case"end":return e.stop()}}),e)}))()}));return function(t){return e.apply(this,arguments)}}(),Du=vn(Nu,Ou,{idcode:{type:"string",required:!0}}),Mu=Object.freeze({sandbox:"sandbox",production:"production"});function Uu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ku(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uu(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var xu=function(e,t,n){var r={};return Object.keys(e).forEach((function(i){r[i]=function(e,t,n){return function(r){var i=ku(ku({},t),r);return n?n(e(i)):e(i)}}(e[i],t,n)})),r},Lu=function(e){var t=e.method,n=e.baseUrl,r=e.clientId,i=e.redirectUri,o=e.state,a=e.language,s=e.country,c="".concat(n,"/oauth/start/").concat(t,"?client_id=").concat(r,"&redirect_uri=").concat(i,"&response_type=code");return a&&(c+="&lang=".concat(a)),o&&(c+="&state=".concat(o)),s&&(c+="&country=".concat(s)),c},Bu=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=ku({base:function(e){return e.baseUrl},readCard:function(e){var n=e.countryCode,r=void 0===n?t.countryCode.toLowerCase():n,i=e.clientId,o="eideasy.com";return t.sandbox&&["EE","BE","LT"].includes(r)&&(o="test.eideasy.com"),"https://".concat(r,".").concat(o,"/api/identity/").concat(i,"/read-card")},zealIdIframeUrl:function(e){var t=e.baseUrl,n=e.clientId;return"".concat(t,"/api/identity/").concat(n,"/zealid/get_iframe_url")},eParakstsMobile:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"lv-eparaksts-mobile-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},eParakstsSmartCard:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"lv-eparaksts-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},mojeId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"mojeid",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},edoAppEid:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"edoapp-eid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},itsme:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"itsme-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},itsmeBasic:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"itsme-login-basic",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},itsmeStandard:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"itsme-login-standard",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},seBankId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"swedish-bankid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},finnishTrustNetwork:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"finnish-ftn-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},idin:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"idin-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},idinCustomerId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"idin-customer-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},verifai:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"verifai-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},yoonik:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"yoonik-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},plMojeId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"pl-mojeid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},mitId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"mit-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},mitId2:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"mit-id-2-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},norwegianBankId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"norwegian-bankid-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},atHandy:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri,i=e.state,o="".concat(t,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login");return i&&(o+="&state=".concat(i)),o},ftn:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"ftn-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},gbOneId:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language;return Lu({method:"gb-one-id-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o})},veriff:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language,a=e.country;return Lu({method:"veriff-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o,country:a})},lIdentiteNumerique:function(e){var t=e.baseUrl,n=e.state,r=e.clientId,i=e.redirectUri,o=e.language,a=e.country;return Lu({method:"lidentite-numerique-login",baseUrl:t,state:n,clientId:r,redirectUri:i,language:o,country:a})},integrationIframe:function(e){var t=e.baseUrl,n=e.clientId,r=e.actionType,i=e.docId;return"".concat(t,"/web-element/os-broker/").concat(n,"/").concat(r,"?doc_id=").concat(i)},startSigning:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/start-signing")},completeSignatureIdCard:function(e){var t=e.baseUrl,n=e.actionType;return"".concat(t,"/api/signatures/").concat(n,"/complete")},completeSignatureMobileId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-smart-id/complete")},completeSignatureDiiaQes:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/diia-qes-signature/complete")},completeSignatureEvrotrust:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/evrotrust-signature/complete")},completeSignatureHalcom:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/halcom-qes-signature/complete")},completeSignatureSwissId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/swiss-id-qes-signature/complete")},completeSignatureSwissCom:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/swiss-com-qes-signature/complete")},completeSignatureEsLleida:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/es-lleida-advanced-signature/complete")},completeSignatureHaricaQes:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/harica-qes-signature/complete")},completeSignatureDTrustSignMe:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/d-trust-sign-me-qes-signature/complete")},completeSignatureDTrustSignMeAdv:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/d-trust-sign-me-adv-signature/complete")},completeSignatureFrejaSimple:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/freja-simple-signature/complete")},continueSignatureAudkenni:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/audkenni-qes-signature/continue")},completeSignatureAudkenni:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/audkenni-qes-signature/complete")},completeSignatureChaveMovel:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/chave-movel-qes-signature/complete")},completeSignatureUanataca:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/uanataca-qes-signature/complete")},completeSignatureInfoCert:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/infocert-qes-signature/complete")},completeOtp:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/non-qualified/complete")},completeHandwritten:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/handwritten-simple-signature/complete")},completeSignatureLtIdQes:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/lt-id-qes-signature/complete")},eideasyMonitoring:function(e){var t=e.baseUrl;return"".concat(t,"/api/monitor")},startZealIdSignature:function(e){var t=e.baseUrl,n=e.clientId,r=e.docId;return"".concat(t,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)},getChaveMovelPublicKey:function(e){var t=e.baseUrl;return"".concat(t,"/api/chave-movel-public-key")},cscApiAuthorizeCredential:function(e){var t=e.baseUrl;return"".concat(t,"/csc/authorize-credential")},cscApiAuthorizeCredentialRedirect:function(e){var t=e.baseUrl;return"".concat(t,"/csc/authorize-credential-redirect")}},n),o=(r(e={},Mu.production,ku({},xu(i,{baseUrl:n.base?n.base():"https://id.eideasy.com",state:t.state},t.modifyEndpointUrl))),r(e,Mu.sandbox,ku({},xu(i,{baseUrl:n.base?n.base():"https://test.eideasy.com",state:t.state},t.modifyEndpointUrl))),e);return{get inCurrentMode(){var e=t.sandbox?Mu.sandbox:Mu.production;return o[e]}}},Pu=c.eParakstsSmartCard,Gu=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.eParakstsSmartCard({clientId:n,redirectUri:r})}}},ju=function(){var e=tn(rn().mark((function e(t){var n,r,i,o,a;return rn().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,i=t.clientId,o=t.redirectUri,e.next=3,dn(Gu)({apiEndpoints:r,clientId:i,redirectUri:o});case 3:return a=e.sent,e.abrupt("return",dn(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),Fu=vn(Pu,ju),Vu=yo({moduleName:c.itsmeQesSignature,createModuleCreator:vn}),qu=yo({moduleName:c.frIdentAdvancedSignature,createModuleCreator:vn}),Hu=function(){var e=null;function t(t){if(e&&(!t.data||"EIDEASY_ID_CARD_INTEGRATION"===t.data.sender)&&e.message.operation===t.data.operation)if(!t.data||"user_cancel"!==t.data.result&&"user_cancel"!==t.data.message)"OK"===t.data.status?e.resolve(t.data):e.reject(t.data);else{e.reject({isCancel:!0})}}return window.addEventListener("message",t,!1),Object.freeze({send:function(t){var n=t.iframe,r=t.message,i=t.cancelToken;e&&e.reject(new Error("Operation cancelled by new operation"));var o={message:r};e=o,o.promise=new Promise((function(e,t){o.resolve=e,o.reject=t,i&&i.promise.then((function(){var e=new Error("Operation cancelled by user");e.isCancel=!0,t(e)}))}));var a=new URL(n.src);return n.contentWindow.postMessage(r,a.origin),o.promise},clearPendingMessage:function(){e=null},destroy:function(){window.removeEventListener("message",t,!1)}})},Ku=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Bt({rawSettings:e,schema:Gt}),n=Xt({currentLanguage:"en"}),r=Bu({countryCode:t.countryCode,sandbox:t.sandbox,modifyEndpointUrl:t.modifyEndpointUrl,state:t.oauthParamState},t.apiEndpoints),i=$t({clientId:t.clientId,remoteMonitoringEnabled:t.remoteMonitoringEnabled,apiEndpoints:r}),o=On({instanceId:Math.floor(1e5+9e5*Math.random()),consoleLogLevel:t.consoleLogLevel}),a=window.eideasyIframeMessenger;return a||(a=Hu(),window.eideasyIframeMessenger=a),xt({settings:t,i18n:n,monitoringService:i,apiEndpoints:r,iframeMessenger:a,logger:o,identificationModules:[bn,Ln,Vn,zn,Yn,Fu,nr,sr,lr,hr,Ir,br,wr,Dr,xr,Gr,qr,zr,Yr,ti,oi,ui,fi,mi,Ti,Ai,Ri,Ui],signingModules:[Gi,Qi,$i,ao,fo,mo,vo,Io,rs,So,Co,Ao,_o,wo,No,Ro,Oo,ko,Po,Za,Xa,$a,ss,cs,us,ds,ls,ps,ys,Es,Os,Ds,Ms,Ps,Qs,zs,ec,ac,pc,fc,gc,hc,yc,Sc,Cc,Vu,qu,Ac,Rc,xc,Lc,Vc,qc,Hc,Kc,Qc,zc,ou,au,su,cu,Zc,Wc,Jc,Yc,iu,uu,du,yu,mu,vu,Iu,Su,Tu,Eu,bu,Cu,Au,_u,wu,Du]})},Qu=Ku}(),o}()}));
|
|
19
19
|
|
|
20
20
|
/***/ }),
|
|
21
21
|
|
|
@@ -16372,6 +16372,143 @@ module.exports = {
|
|
|
16372
16372
|
|
|
16373
16373
|
/***/ }),
|
|
16374
16374
|
|
|
16375
|
+
/***/ 76533:
|
|
16376
|
+
/***/ (function(module) {
|
|
16377
|
+
|
|
16378
|
+
module.exports = {
|
|
16379
|
+
functional: true,
|
|
16380
|
+
render(_h, _vm) {
|
|
16381
|
+
const {
|
|
16382
|
+
_c,
|
|
16383
|
+
_v,
|
|
16384
|
+
data,
|
|
16385
|
+
children = []
|
|
16386
|
+
} = _vm;
|
|
16387
|
+
const {
|
|
16388
|
+
class: classNames,
|
|
16389
|
+
staticClass,
|
|
16390
|
+
style,
|
|
16391
|
+
staticStyle,
|
|
16392
|
+
attrs = {},
|
|
16393
|
+
...rest
|
|
16394
|
+
} = data;
|
|
16395
|
+
return _c('svg', {
|
|
16396
|
+
class: [classNames, staticClass],
|
|
16397
|
+
style: [style, staticStyle],
|
|
16398
|
+
attrs: Object.assign({
|
|
16399
|
+
"viewBox": "0 0 63.617 19.503",
|
|
16400
|
+
"xmlns:xlink": "http://www.w3.org/1999/xlink",
|
|
16401
|
+
"xmlns": "http://www.w3.org/2000/svg"
|
|
16402
|
+
}, attrs),
|
|
16403
|
+
...rest
|
|
16404
|
+
}, children.concat([_c('defs', [_c('linearGradient', {
|
|
16405
|
+
attrs: {
|
|
16406
|
+
"id": "id-15a"
|
|
16407
|
+
}
|
|
16408
|
+
}, [_c('stop', {
|
|
16409
|
+
attrs: {
|
|
16410
|
+
"offset": ".509",
|
|
16411
|
+
"stop-color": "#1565c0"
|
|
16412
|
+
}
|
|
16413
|
+
}), _c('stop', {
|
|
16414
|
+
attrs: {
|
|
16415
|
+
"offset": "1",
|
|
16416
|
+
"stop-color": "#47abfc"
|
|
16417
|
+
}
|
|
16418
|
+
})]), _c('linearGradient', {
|
|
16419
|
+
attrs: {
|
|
16420
|
+
"xlink:href": "#id-15a",
|
|
16421
|
+
"id": "id-16b",
|
|
16422
|
+
"x1": "15.993",
|
|
16423
|
+
"y1": "24.935",
|
|
16424
|
+
"x2": "15.993",
|
|
16425
|
+
"y2": "18.552",
|
|
16426
|
+
"gradientUnits": "userSpaceOnUse"
|
|
16427
|
+
}
|
|
16428
|
+
}), _c('linearGradient', {
|
|
16429
|
+
attrs: {
|
|
16430
|
+
"xlink:href": "#id-15a",
|
|
16431
|
+
"id": "id-17c",
|
|
16432
|
+
"gradientUnits": "userSpaceOnUse",
|
|
16433
|
+
"x1": "15.993",
|
|
16434
|
+
"y1": "24.935",
|
|
16435
|
+
"x2": "15.993",
|
|
16436
|
+
"y2": "18.552"
|
|
16437
|
+
}
|
|
16438
|
+
})]), _c('path', {
|
|
16439
|
+
attrs: {
|
|
16440
|
+
"d": "M8.616 8.536c1.369-2.057 6.24-5.201 11.272-6.884 9.53-3.185 20.38-1.703 28.66 3.915 3.573 2.425 4.765 3.762 3.354 4.556a1.433 1.433 0 01-1.592-.184l-1.407-1.125C38.066.144 21.706.239 11.377 9.034c-.68.578-.802.74-1.46 1.166-.656.427-2.308-.152-1.3-1.664z",
|
|
16441
|
+
"fill": "#48adff"
|
|
16442
|
+
}
|
|
16443
|
+
}), _c('path', {
|
|
16444
|
+
attrs: {
|
|
16445
|
+
"d": "M54.71 17.84c.905-.912 1.646-1.772 1.646-1.91 0-.138-.74-.998-1.646-1.911l-1.646-1.661h3.722l.763.796.762.796.821-.796.821-.796h3.664l-1.646 1.66c-.905.914-1.646 1.774-1.646 1.912 0 .138.74.998 1.646 1.91l1.646 1.662H60.164l-.899-.928-.899-.927-.95.927-.95.928h-3.402z",
|
|
16446
|
+
"fill": "#1565c0"
|
|
16447
|
+
}
|
|
16448
|
+
}), _c('path', {
|
|
16449
|
+
staticStyle: {
|
|
16450
|
+
"line-height": "normal",
|
|
16451
|
+
"font-variant-ligatures": "normal",
|
|
16452
|
+
"font-variant-position": "normal",
|
|
16453
|
+
"font-variant-caps": "normal",
|
|
16454
|
+
"font-variant-numeric": "normal",
|
|
16455
|
+
"font-variant-alternates": "normal",
|
|
16456
|
+
"font-variant-east-asian": "normal",
|
|
16457
|
+
"font-feature-settings": "normal",
|
|
16458
|
+
"font-variation-settings": "normal",
|
|
16459
|
+
"text-indent": "0",
|
|
16460
|
+
"text-align": "start",
|
|
16461
|
+
"text-decoration-line": "none",
|
|
16462
|
+
"text-decoration-style": "solid",
|
|
16463
|
+
"text-decoration-color": "#000",
|
|
16464
|
+
"text-transform": "none",
|
|
16465
|
+
"text-orientation": "mixed",
|
|
16466
|
+
"white-space": "normal",
|
|
16467
|
+
"shape-padding": "0",
|
|
16468
|
+
"shape-margin": "0",
|
|
16469
|
+
"inline-size": "0",
|
|
16470
|
+
"isolation": "auto",
|
|
16471
|
+
"mix-blend-mode": "normal",
|
|
16472
|
+
"solid-color": "#000",
|
|
16473
|
+
"solid-opacity": "1",
|
|
16474
|
+
"-inkscape-stroke": "none"
|
|
16475
|
+
},
|
|
16476
|
+
attrs: {
|
|
16477
|
+
"d": "M32.073 12.358h-.205a1.045 1.045 0 00-1.044 1.047v5.086c0 .557.559 1.01 1.249 1.01h3.38l3.616-.006h.009a1 1 0 001.006-1.005v-2.509l-.01-2.595v-.02a1 1 0 00-.998-1.008h-3.501zm3.417 2.39l.972.007a.877.877 0 01.869.873 268.602 268.602 0 000 .61c0 .484-.394.879-.878.881l-.967.006c-.188 0-.66-.001-1.083-.004a.805.805 0 01-.798-.789 28.327 28.327 0 01-.002-.796.794.794 0 01.798-.793l1.09.005z",
|
|
16478
|
+
"color": "#000",
|
|
16479
|
+
"font-weight": "400",
|
|
16480
|
+
"font-family": "sans-serif",
|
|
16481
|
+
"overflow": "visible",
|
|
16482
|
+
"fill": "#1565c0"
|
|
16483
|
+
}
|
|
16484
|
+
}), _c('path', {
|
|
16485
|
+
attrs: {
|
|
16486
|
+
"d": "M23.842 12.358h2.616v4.762h3.969v2.382h-6.582zM20.637 12.358h2.646v7.144h-2.646zM11.048 18.632c-.038-.079-.07-.405-.07-.73-.004-1.41.001-2.822.002-4.232 0-.166.055-.423.122-.575a1.262 1.262 0 01.902-.687 3 3 0 01.657-.05h6.857a.588.588 0 01.587.58l.02 1.537h-6.367v2.645h2.17c.531 0 1.061 0 1.472-.002.422-.001.478-.19.125-.421l-2.576-1.684s3.448-.004 5.173-.003l-.006 2.855v.664c-.002.54-.47.977-1.046.974h-.003a164.303 164.303 0 00-.714-.001H12.525a1.982 1.982 0 01-.578-.086 1.48 1.48 0 01-.9-.784z",
|
|
16487
|
+
"fill": "#1565c0"
|
|
16488
|
+
}
|
|
16489
|
+
}), _c('path', {
|
|
16490
|
+
attrs: {
|
|
16491
|
+
"d": "M14.67 18.019h2.646v7.143H14.67z",
|
|
16492
|
+
"fill": "url(#id-16b)",
|
|
16493
|
+
"transform": "translate(-6.732 -5.66)"
|
|
16494
|
+
}
|
|
16495
|
+
}), _c('path', {
|
|
16496
|
+
attrs: {
|
|
16497
|
+
"d": "M4.98 12.355c-1.66.01-3.317.007-4.98.003v7.144h4.975c3.406-.52 3.364-6.598.005-7.147zM2.381 14.74h1.005c2.14 0 2.129 2.381-.098 2.381h-.907v-1.19zM40.565 18.632c-.037-.079-.068-.405-.07-.73-.003-1.41.002-2.822.003-4.232 0-.166.055-.423.122-.575a1.262 1.262 0 01.902-.687 3 3 0 01.657-.05h6.857a.588.588 0 01.587.58l.02 1.537h-6.367v2.645h2.17c.531 0 1.061 0 1.472-.002.422-.001.478-.19.125-.421l-2.576-1.684s3.448-.004 5.173-.003l-.006 2.855v.664c-.002.54-.47.977-1.046.974h-.003a164.303 164.303 0 00-.715-.001h-5.827a1.982 1.982 0 01-.578-.086 1.48 1.48 0 01-.9-.784z",
|
|
16498
|
+
"fill": "#1565c0"
|
|
16499
|
+
}
|
|
16500
|
+
}), _c('path', {
|
|
16501
|
+
attrs: {
|
|
16502
|
+
"d": "M14.67 18.019h2.646v7.143H14.67z",
|
|
16503
|
+
"transform": "translate(35.412 -5.66)",
|
|
16504
|
+
"fill": "url(#id-17c)"
|
|
16505
|
+
}
|
|
16506
|
+
})]));
|
|
16507
|
+
}
|
|
16508
|
+
};
|
|
16509
|
+
|
|
16510
|
+
/***/ }),
|
|
16511
|
+
|
|
16375
16512
|
/***/ 82551:
|
|
16376
16513
|
/***/ (function(module) {
|
|
16377
16514
|
|
|
@@ -18264,7 +18401,7 @@ module.exports = {
|
|
|
18264
18401
|
...rest
|
|
18265
18402
|
}, children.concat([_c('defs', [_c('linearGradient', {
|
|
18266
18403
|
attrs: {
|
|
18267
|
-
"id": "id-
|
|
18404
|
+
"id": "id-0a",
|
|
18268
18405
|
"x1": "124.883",
|
|
18269
18406
|
"y1": "17.983",
|
|
18270
18407
|
"x2": "117.483",
|
|
@@ -18293,7 +18430,7 @@ module.exports = {
|
|
|
18293
18430
|
}
|
|
18294
18431
|
})]), _c('linearGradient', {
|
|
18295
18432
|
attrs: {
|
|
18296
|
-
"id": "id-
|
|
18433
|
+
"id": "id-1b",
|
|
18297
18434
|
"x1": "116.71",
|
|
18298
18435
|
"y1": "31.343",
|
|
18299
18436
|
"x2": "102.594",
|
|
@@ -18322,7 +18459,7 @@ module.exports = {
|
|
|
18322
18459
|
}
|
|
18323
18460
|
})]), _c('linearGradient', {
|
|
18324
18461
|
attrs: {
|
|
18325
|
-
"id": "id-
|
|
18462
|
+
"id": "id-2c",
|
|
18326
18463
|
"x1": "106.335",
|
|
18327
18464
|
"y1": "23.516",
|
|
18328
18465
|
"x2": "140.192",
|
|
@@ -18346,18 +18483,18 @@ module.exports = {
|
|
|
18346
18483
|
}
|
|
18347
18484
|
}), _c('path', {
|
|
18348
18485
|
attrs: {
|
|
18349
|
-
"fill": "url(#id-
|
|
18486
|
+
"fill": "url(#id-0a)",
|
|
18350
18487
|
"d": "M126.585 16.359l-6.919 4.057V1.094l6.919 6.917v8.348z"
|
|
18351
18488
|
}
|
|
18352
18489
|
}), _c('path', {
|
|
18353
18490
|
attrs: {
|
|
18354
|
-
"fill": "url(#id-
|
|
18491
|
+
"fill": "url(#id-1b)",
|
|
18355
18492
|
"d": "M106.335 11.382h6.634v23.101h-6.634z"
|
|
18356
18493
|
}
|
|
18357
18494
|
}), _c('path', {
|
|
18358
18495
|
attrs: {
|
|
18359
18496
|
"d": "M140.191 13.257a.789.789 0 00-.2-.505.935.935 0 00-.82-.191 42.336 42.336 0 00-32.84 21.922h6.634c7.037-12.392 17.369-17.99 26.691-20.609.416-.138.544-.391.535-.617z",
|
|
18360
|
-
"fill": "url(#id-
|
|
18497
|
+
"fill": "url(#id-2c)"
|
|
18361
18498
|
}
|
|
18362
18499
|
}), _c('path', {
|
|
18363
18500
|
attrs: {
|
|
@@ -19105,7 +19242,7 @@ module.exports = {
|
|
|
19105
19242
|
...rest
|
|
19106
19243
|
}, children.concat([_c('defs', [_c('radialGradient', {
|
|
19107
19244
|
attrs: {
|
|
19108
|
-
"id": "id-
|
|
19245
|
+
"id": "id-19b",
|
|
19109
19246
|
"cx": "70.69",
|
|
19110
19247
|
"cy": "120.71",
|
|
19111
19248
|
"r": "20.17",
|
|
@@ -19125,7 +19262,7 @@ module.exports = {
|
|
|
19125
19262
|
}
|
|
19126
19263
|
})]), _c('radialGradient', {
|
|
19127
19264
|
attrs: {
|
|
19128
|
-
"id": "id-
|
|
19265
|
+
"id": "id-20c",
|
|
19129
19266
|
"cx": "84.22",
|
|
19130
19267
|
"cy": "123.44",
|
|
19131
19268
|
"r": "24.08",
|
|
@@ -19144,7 +19281,7 @@ module.exports = {
|
|
|
19144
19281
|
}
|
|
19145
19282
|
})]), _c('radialGradient', {
|
|
19146
19283
|
attrs: {
|
|
19147
|
-
"id": "id-
|
|
19284
|
+
"id": "id-21d",
|
|
19148
19285
|
"cx": "106.44",
|
|
19149
19286
|
"cy": "89.14",
|
|
19150
19287
|
"r": "41.36",
|
|
@@ -19164,7 +19301,7 @@ module.exports = {
|
|
|
19164
19301
|
}
|
|
19165
19302
|
})]), _c('radialGradient', {
|
|
19166
19303
|
attrs: {
|
|
19167
|
-
"id": "id-
|
|
19304
|
+
"id": "id-22e",
|
|
19168
19305
|
"cx": "53.82",
|
|
19169
19306
|
"cy": "72.57",
|
|
19170
19307
|
"r": "27.02",
|
|
@@ -19184,7 +19321,7 @@ module.exports = {
|
|
|
19184
19321
|
}
|
|
19185
19322
|
})]), _c('radialGradient', {
|
|
19186
19323
|
attrs: {
|
|
19187
|
-
"id": "id-
|
|
19324
|
+
"id": "id-23f",
|
|
19188
19325
|
"cx": "88.49",
|
|
19189
19326
|
"cy": "104.89",
|
|
19190
19327
|
"r": "47.74",
|
|
@@ -19204,7 +19341,7 @@ module.exports = {
|
|
|
19204
19341
|
}
|
|
19205
19342
|
})]), _c('radialGradient', {
|
|
19206
19343
|
attrs: {
|
|
19207
|
-
"id": "id-
|
|
19344
|
+
"id": "id-24g",
|
|
19208
19345
|
"cx": "47.21",
|
|
19209
19346
|
"cy": "114.1",
|
|
19210
19347
|
"r": "55.18",
|
|
@@ -19223,7 +19360,7 @@ module.exports = {
|
|
|
19223
19360
|
}
|
|
19224
19361
|
})]), _c('linearGradient', {
|
|
19225
19362
|
attrs: {
|
|
19226
|
-
"id": "id-
|
|
19363
|
+
"id": "id-18a",
|
|
19227
19364
|
"x1": "69.55",
|
|
19228
19365
|
"y1": "48.21",
|
|
19229
19366
|
"x2": "60.12",
|
|
@@ -19269,37 +19406,37 @@ module.exports = {
|
|
|
19269
19406
|
}), _c('path', {
|
|
19270
19407
|
attrs: {
|
|
19271
19408
|
"d": "M70.92 110.13l-.39-.08a7.12 7.12 0 01-2.07-.92c-4.14-2.79-3.07-9-5.25-12.94a11.37 11.37 0 00-3-3.28l-.11-.09c-.48.48-1.19 1.23-2.34 2.38a32 32 0 00-2.51 2.89 35.66 35.66 0 016.6 9.2c2 4.49 2.54 9.38 4.1 14a17.94 17.94 0 002.32 4.88 6.09 6.09 0 002.66 2.21v-18.3z",
|
|
19272
|
-
"fill": "url(#id-
|
|
19409
|
+
"fill": "url(#id-18a)"
|
|
19273
19410
|
}
|
|
19274
19411
|
}), _c('path', {
|
|
19275
19412
|
attrs: {
|
|
19276
19413
|
"d": "M66 53.19c.44.48 1 1.06 1.5 1.58s1.18 1.22 1.91 1.92c.45.43 1 1 1.47 1.4V36.94a5.66 5.66 0 00-1.49-.1 12.91 12.91 0 00-3.69.76 9.5 9.5 0 00-2.91 1.64 5.53 5.53 0 00-1.92 3.12 8 8 0 00.84 5 18.86 18.86 0 001.77 3s.5.61.78.92c.57.58 1.16 1.24 1.74 1.91z",
|
|
19277
|
-
"fill": "url(#id-
|
|
19414
|
+
"fill": "url(#id-19b)"
|
|
19278
19415
|
}
|
|
19279
19416
|
}), _c('path', {
|
|
19280
19417
|
attrs: {
|
|
19281
19418
|
"d": "M99.75 69.55a27.37 27.37 0 00-2.39-9.26 23.91 23.91 0 00-4.74-6.78c-.19-.19-.39-.39-.59-.57a25 25 0 00-3.56-2.77 25.86 25.86 0 00-3.93-2.07 23.36 23.36 0 00-7.07-1.75 12.66 12.66 0 00-6.56 1v10.7c1.2 1.1 2.64 2.42 3.37 3.07.51.45 1 .88 1.51 1.32l1.49 1.25L78.83 65c.64.54 2.94 2.4 3.21 2.63l.45.36 5.81 4.71.13.1c.78.63 4.79 3.86 6.76 5.55s3.45 3 3.59 3.15a48.15 48.15 0 00.87-5.32 37.1 37.1 0 00.1-6.63z",
|
|
19282
|
-
"fill": "url(#id-
|
|
19419
|
+
"fill": "url(#id-20c)"
|
|
19283
19420
|
}
|
|
19284
19421
|
}), _c('path', {
|
|
19285
19422
|
attrs: {
|
|
19286
19423
|
"d": "M112.35 100.58a26.08 26.08 0 00-3.28-7.42 50.76 50.76 0 00-7.27-8.8c-1-1-2-1.9-3-2.85-.1.45-.35 1.52-.85 3.15-.26.85-.73 2.25-.91 2.78-.27.77-.79 2.15-1.14 3-.48 1.25-1.24 3-1.92 4.46C93 97 92.45 98 91.36 100c-.49.89-.91 1.74-1.52 2.8-.21.36-.43.74-.69 1.16-.11.17-1.37 2.21-1.5 2.44-.25.39-.53.84-.7 1.09-1.51 2.31-1.64 2.42-1.88 2.76-.56.76.2-.28-.86 1.21L81.7 115c-.37.51-1.62 2.15-3 3.86s-2.8 3.58-3.43 4.33l-4.41 5.2v10.45c1.86-.15 3.8-.41 5.79-.77a66.86 66.86 0 007.54-1.87 62.31 62.31 0 006.38-2.38 54.74 54.74 0 005.46-2.76 44.25 44.25 0 006.42-4.51 32.83 32.83 0 005.91-6.52 26.15 26.15 0 003.78-8.35 25.76 25.76 0 00.76-5.21 20.55 20.55 0 00-.55-5.89z",
|
|
19287
|
-
"fill": "url(#id-
|
|
19424
|
+
"fill": "url(#id-21d)"
|
|
19288
19425
|
}
|
|
19289
19426
|
}), _c('path', {
|
|
19290
19427
|
attrs: {
|
|
19291
19428
|
"d": "M68.26 126.22a17.94 17.94 0 01-2.32-4.88c-1.56-4.66-2.06-9.55-4.1-14a35.73 35.73 0 00-6.59-9.2 27.3 27.3 0 00-1.93 2.86 16.66 16.66 0 00-1.32 2.85 14.29 14.29 0 00-.44 1.71 12 12 0 00-.2 1.8 12.3 12.3 0 00.14 2.33 14.14 14.14 0 00.64 2.5 17.21 17.21 0 001.42 3l.25.41a24.12 24.12 0 004.26 5.11 32.86 32.86 0 002.93 2.41c.69.49 1.39 1 2.11 1.41 1 .6 1.95 1.16 2.95 1.68 1.36.7 3.5 1.67 4.87 2.22a6.09 6.09 0 01-2.67-2.21z",
|
|
19292
|
-
"fill": "url(#id-
|
|
19429
|
+
"fill": "url(#id-22e)"
|
|
19293
19430
|
}
|
|
19294
19431
|
}), _c('path', {
|
|
19295
19432
|
attrs: {
|
|
19296
19433
|
"d": "M98.78 81.5c-.14-.13-1.75-1.58-3.59-3.15s-6-4.92-6.76-5.55l-.13-.1-5.81-4.7c-.22-.17-.37-.3-.45-.37-.27-.22-2.57-2.08-3.21-2.62l-1.55-1.3-1.48-1.23c-.54-.44-1-.87-1.52-1.33-.73-.64-2.17-2-3.37-3.06-.46-.43-1-1-1.46-1.39-.73-.7-1.29-1.26-1.91-1.92s-1.06-1.1-1.5-1.58c-.62-.67-1.21-1.33-1.74-1.95l-.6-.7c.35.57 1.08 1.62 1.45 2.14 1 1.48.81 1.17 1.81 2.67.68 1 1.83 2.86 2.46 3.92a4.1 4.1 0 01.22.41 16.8 16.8 0 011 2.25 4.12 4.12 0 01.25 1.1v65.38l4.41-5.2c.63-.75 2.07-2.58 3.43-4.33s2.58-3.35 3-3.86l2.51-3.58c1.06-1.49.3-.45.86-1.21.24-.34.37-.45 1.88-2.76l.7-1.09c.13-.23 1.39-2.27 1.5-2.45.26-.41.48-.79.69-1.15.61-1.06 1-1.91 1.52-2.8 1.09-2 1.62-3 2.6-5.08.68-1.48 1.44-3.22 1.92-4.46.35-.87.87-2.26 1.13-3 .19-.54.66-1.93.92-2.78.5-1.64.75-2.71.85-3.16z",
|
|
19297
|
-
"fill": "url(#id-
|
|
19434
|
+
"fill": "url(#id-23f)"
|
|
19298
19435
|
}
|
|
19299
19436
|
}), _c('path', {
|
|
19300
19437
|
attrs: {
|
|
19301
19438
|
"d": "M55.24 98.09a32 32 0 012.51-2.89c1.15-1.15 1.86-1.89 2.34-2.38-4-3.15-9.55-5.51-8.31-11.39 1.11-5.27 8.37-4.37 11.17-8.21 1.35-1.84 1.85-4.1 2.77-6.15a6.38 6.38 0 015.19-4 4.11 4.11 0 00-.25-1.11 16.13 16.13 0 00-1-2.24 3.36 3.36 0 00-.22-.42c-.63-1.05-1.78-2.89-2.46-3.92-1-1.5-.78-1.19-1.81-2.66-.37-.53-1.1-1.58-1.45-2.15a1.89 1.89 0 01-.18-.22 18.47 18.47 0 01-1.77-3l-.26-.63-3.24 2.4c-2.56 1.88-5.14 3.74-7.63 5.71-1.64 1.29-3.25 2.63-4.79 4a44.59 44.59 0 00-4.27 4.4c-2.47 3-4.42 6.36-4.7 10.2a13.06 13.06 0 000 1.88 13.62 13.62 0 00.26 2 15.73 15.73 0 002.94 6.4 36.68 36.68 0 005.5 5.65l1 .89c2.35 2 4.74 4 7 6.2.64.6 1.25 1.23 1.86 1.87l-.19-.21z",
|
|
19302
|
-
"fill": "url(#id-
|
|
19439
|
+
"fill": "url(#id-24g)"
|
|
19303
19440
|
}
|
|
19304
19441
|
})]));
|
|
19305
19442
|
}
|
|
@@ -21056,7 +21193,7 @@ module.exports = {
|
|
|
21056
21193
|
...rest
|
|
21057
21194
|
}, children.concat([_c('defs', [_c('linearGradient', {
|
|
21058
21195
|
attrs: {
|
|
21059
|
-
"id": "id-
|
|
21196
|
+
"id": "id-3a",
|
|
21060
21197
|
"x1": "45.313%",
|
|
21061
21198
|
"x2": "33.822%",
|
|
21062
21199
|
"y1": "69.296%",
|
|
@@ -21074,7 +21211,7 @@ module.exports = {
|
|
|
21074
21211
|
}
|
|
21075
21212
|
})]), _c('linearGradient', {
|
|
21076
21213
|
attrs: {
|
|
21077
|
-
"id": "id-
|
|
21214
|
+
"id": "id-5c",
|
|
21078
21215
|
"x1": "17.248%",
|
|
21079
21216
|
"x2": "58.688%",
|
|
21080
21217
|
"y1": "34.281%",
|
|
@@ -21092,7 +21229,7 @@ module.exports = {
|
|
|
21092
21229
|
}
|
|
21093
21230
|
})]), _c('path', {
|
|
21094
21231
|
attrs: {
|
|
21095
|
-
"id": "id-
|
|
21232
|
+
"id": "id-4b",
|
|
21096
21233
|
"d": "M75.617 68.105a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 2.602.373 1.911 1.185.796 1.933-8.547 5.606-15.608 3.737-24.527 0-8.92-3.738-12.264-.748-18.21 0-19.325 2.99-35.676 1.121-49.055-5.606a46.935 46.935 0 01-2.198-1.804c-3.08 3.497-5.197 5.593-6.35 6.289-1.857 1.12-8.546 4.11-17.094 4.11-5.698 0-10.53-.622-14.493-1.868-3.634-1.163-5.616-1.91-5.946-2.242-.744-.748-1.292-2.03 2.742-2.435 14.52-1.922 27.079-6.737 32.47-14.862-2.721-5.544-3.682-11.738-2.88-18.584C35.38 43.895 40.09 42 51.232 30.431c7.665-8.521 1.458-17.002-1.547-20.327a304.822 304.822 0 01-1.301-1.454c-1.174-1.359-1.17-1.35-2.76-.563a299.293 299.293 0 01-4.228 2.039c-.25.117-.938.46-.842.097.214-.822 6.12-3.842 6.014-4.07-.106-.23-7.504 1.596-7.67 1.608-.165.013-.315-.439-.108-.51.206-.076 2.191-.754 3.292-1.119 1.094-.362 3.5-1.141 3.283-1.262-.216-.124-8.341-.632-8.458-.64-.03-.002-.052-.028-.067-.066v-.297c.015-.038.039-.066.07-.073 1.92-.462 8.359-.207 8.507-.363.148-.157-.193-1.103-.231-1.657-.069-1.026.35-1.762 1.12-1.774h.04c.092.001.19.013.292.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852z"
|
|
21097
21234
|
}
|
|
21098
21235
|
})]), _c('g', {
|
|
@@ -21107,12 +21244,12 @@ module.exports = {
|
|
|
21107
21244
|
}
|
|
21108
21245
|
}), _c('use', {
|
|
21109
21246
|
attrs: {
|
|
21110
|
-
"fill": "url(#id-
|
|
21111
|
-
"xlink:href": "#id-
|
|
21247
|
+
"fill": "url(#id-3a)",
|
|
21248
|
+
"xlink:href": "#id-4b"
|
|
21112
21249
|
}
|
|
21113
21250
|
}), _c('path', {
|
|
21114
21251
|
attrs: {
|
|
21115
|
-
"fill": "url(#id-
|
|
21252
|
+
"fill": "url(#id-5c)",
|
|
21116
21253
|
"d": "M140.16 94.148c-9.194 1.408-11.705 1.1-14.296-.017-5.142-2.01-9.086-7.663-25.24-5.574-16.152 2.089-46.802-2.089-54.671-15.873-5.247-9.19-.586-18.872 13.981-29.046 5.452-3.472 9.006-9.315 10.663-17.53C72.25 17.904 64.062 9.215 46.03.039A1.13 1.13 0 0146.308 0h.038c.093.001.19.013.293.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 1.303.187 1.78.484 1.792.828z"
|
|
21117
21254
|
}
|
|
21118
21255
|
}), _c('g', {
|
|
@@ -27629,6 +27766,32 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
27629
27766
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
27630
27767
|
|
|
27631
27768
|
|
|
27769
|
+
/***/ }),
|
|
27770
|
+
|
|
27771
|
+
/***/ 62187:
|
|
27772
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
27773
|
+
|
|
27774
|
+
"use strict";
|
|
27775
|
+
__webpack_require__.r(__webpack_exports__);
|
|
27776
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
|
|
27777
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
27778
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23645);
|
|
27779
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
27780
|
+
// Imports
|
|
27781
|
+
|
|
27782
|
+
|
|
27783
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
27784
|
+
// Module
|
|
27785
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".DigilogixButton_reset-list_z5bHR{margin:0;padding:0;list-style:none;display:block}.DigilogixButton_uppercase-sm_ATdNQ{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.DigilogixButton_icon_BFyTH{display:block;width:142px;height:32px}", ""]);
|
|
27786
|
+
// Exports
|
|
27787
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
27788
|
+
"reset-list": "DigilogixButton_reset-list_z5bHR",
|
|
27789
|
+
"uppercase-sm": "DigilogixButton_uppercase-sm_ATdNQ",
|
|
27790
|
+
"icon": "DigilogixButton_icon_BFyTH"
|
|
27791
|
+
};
|
|
27792
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
27793
|
+
|
|
27794
|
+
|
|
27632
27795
|
/***/ }),
|
|
27633
27796
|
|
|
27634
27797
|
/***/ 94165:
|
|
@@ -29488,6 +29651,32 @@ ___CSS_LOADER_EXPORT___.locals = {
|
|
|
29488
29651
|
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
29489
29652
|
|
|
29490
29653
|
|
|
29654
|
+
/***/ }),
|
|
29655
|
+
|
|
29656
|
+
/***/ 56679:
|
|
29657
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29658
|
+
|
|
29659
|
+
"use strict";
|
|
29660
|
+
__webpack_require__.r(__webpack_exports__);
|
|
29661
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8081);
|
|
29662
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0__);
|
|
29663
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(23645);
|
|
29664
|
+
/* harmony import */ var _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1__);
|
|
29665
|
+
// Imports
|
|
29666
|
+
|
|
29667
|
+
|
|
29668
|
+
var ___CSS_LOADER_EXPORT___ = _node_modules_css_loader_dist_runtime_api_js__WEBPACK_IMPORTED_MODULE_1___default()((_node_modules_css_loader_dist_runtime_noSourceMaps_js__WEBPACK_IMPORTED_MODULE_0___default()));
|
|
29669
|
+
// Module
|
|
29670
|
+
___CSS_LOADER_EXPORT___.push([module.id, ".SignatureDigilogix_reset-list_VqWGo{margin:0;padding:0;list-style:none;display:block}.SignatureDigilogix_uppercase-sm_vNRcS{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.SignatureDigilogix_formContainer_qHeC1{max-width:263px;margin:0 auto}", ""]);
|
|
29671
|
+
// Exports
|
|
29672
|
+
___CSS_LOADER_EXPORT___.locals = {
|
|
29673
|
+
"reset-list": "SignatureDigilogix_reset-list_VqWGo",
|
|
29674
|
+
"uppercase-sm": "SignatureDigilogix_uppercase-sm_vNRcS",
|
|
29675
|
+
"formContainer": "SignatureDigilogix_formContainer_qHeC1"
|
|
29676
|
+
};
|
|
29677
|
+
/* harmony default export */ __webpack_exports__["default"] = (___CSS_LOADER_EXPORT___);
|
|
29678
|
+
|
|
29679
|
+
|
|
29491
29680
|
/***/ }),
|
|
29492
29681
|
|
|
29493
29682
|
/***/ 47473:
|
|
@@ -31842,6 +32031,22 @@ var update = add("06abf44d", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
31842
32031
|
|
|
31843
32032
|
/***/ }),
|
|
31844
32033
|
|
|
32034
|
+
/***/ 50365:
|
|
32035
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32036
|
+
|
|
32037
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
32038
|
+
|
|
32039
|
+
// load the styles
|
|
32040
|
+
var content = __webpack_require__(62187);
|
|
32041
|
+
if(content.__esModule) content = content.default;
|
|
32042
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
32043
|
+
if(content.locals) module.exports = content.locals;
|
|
32044
|
+
// add the styles to the DOM
|
|
32045
|
+
var add = (__webpack_require__(54402)/* ["default"] */ .Z)
|
|
32046
|
+
var update = add("25b87514", content, true, {"sourceMap":false,"shadowMode":false});
|
|
32047
|
+
|
|
32048
|
+
/***/ }),
|
|
32049
|
+
|
|
31845
32050
|
/***/ 46700:
|
|
31846
32051
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
31847
32052
|
|
|
@@ -32962,6 +33167,22 @@ var update = add("7122a390", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
32962
33167
|
|
|
32963
33168
|
/***/ }),
|
|
32964
33169
|
|
|
33170
|
+
/***/ 4909:
|
|
33171
|
+
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
33172
|
+
|
|
33173
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
33174
|
+
|
|
33175
|
+
// load the styles
|
|
33176
|
+
var content = __webpack_require__(56679);
|
|
33177
|
+
if(content.__esModule) content = content.default;
|
|
33178
|
+
if(typeof content === 'string') content = [[module.id, content, '']];
|
|
33179
|
+
if(content.locals) module.exports = content.locals;
|
|
33180
|
+
// add the styles to the DOM
|
|
33181
|
+
var add = (__webpack_require__(54402)/* ["default"] */ .Z)
|
|
33182
|
+
var update = add("3c6349d8", content, true, {"sourceMap":false,"shadowMode":false});
|
|
33183
|
+
|
|
33184
|
+
/***/ }),
|
|
33185
|
+
|
|
32965
33186
|
/***/ 50381:
|
|
32966
33187
|
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
|
32967
33188
|
|
|
@@ -43620,7 +43841,8 @@ const viewNames = {
|
|
|
43620
43841
|
SignatureLtIdQes: 'SignatureLtIdQes',
|
|
43621
43842
|
SignatureIframe: 'SignatureIframe',
|
|
43622
43843
|
SignatureEsLleidaAdvanced: 'SignatureEsLleidaAdvanced',
|
|
43623
|
-
SignatureDiia: 'SignatureDiia'
|
|
43844
|
+
SignatureDiia: 'SignatureDiia',
|
|
43845
|
+
SignatureDigilogix: 'SignatureDigilogix'
|
|
43624
43846
|
};
|
|
43625
43847
|
/* harmony default export */ var views_viewNames = (viewNames);
|
|
43626
43848
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/HeaderContentSubView.vue?vue&type=script&lang=js&
|
|
@@ -48934,6 +49156,73 @@ var VnVnptTokenButton_component = normalizeComponent(
|
|
|
48934
49156
|
)
|
|
48935
49157
|
|
|
48936
49158
|
/* harmony default export */ var VnVnptTokenButton = (VnVnptTokenButton_component.exports);
|
|
49159
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/methodButtons/DigilogixButton.vue?vue&type=template&id=4520a5e0&
|
|
49160
|
+
var DigilogixButtonvue_type_template_id_4520a5e0_render = function render() {
|
|
49161
|
+
var _vm = this,
|
|
49162
|
+
_c = _vm._self._c;
|
|
49163
|
+
return _c('MethodButtonBase', {
|
|
49164
|
+
scopedSlots: _vm._u([{
|
|
49165
|
+
key: "slot1",
|
|
49166
|
+
fn: function () {
|
|
49167
|
+
return [_c('IconDigilogix', {
|
|
49168
|
+
class: _vm.$style.icon
|
|
49169
|
+
})];
|
|
49170
|
+
},
|
|
49171
|
+
proxy: true
|
|
49172
|
+
}])
|
|
49173
|
+
});
|
|
49174
|
+
};
|
|
49175
|
+
var DigilogixButtonvue_type_template_id_4520a5e0_staticRenderFns = [];
|
|
49176
|
+
|
|
49177
|
+
// EXTERNAL MODULE: ./src/assets/svg/digilogix_logo.svg
|
|
49178
|
+
var digilogix_logo = __webpack_require__(76533);
|
|
49179
|
+
var digilogix_logo_default = /*#__PURE__*/__webpack_require__.n(digilogix_logo);
|
|
49180
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/methodButtons/DigilogixButton.vue?vue&type=script&lang=js&
|
|
49181
|
+
|
|
49182
|
+
|
|
49183
|
+
/* harmony default export */ var DigilogixButtonvue_type_script_lang_js_ = ({
|
|
49184
|
+
name: 'DigilogixButton',
|
|
49185
|
+
components: {
|
|
49186
|
+
MethodButtonBase: MethodButtonBase,
|
|
49187
|
+
IconDigilogix: (digilogix_logo_default())
|
|
49188
|
+
}
|
|
49189
|
+
});
|
|
49190
|
+
;// CONCATENATED MODULE: ./src/components/methodButtons/DigilogixButton.vue?vue&type=script&lang=js&
|
|
49191
|
+
/* harmony default export */ var methodButtons_DigilogixButtonvue_type_script_lang_js_ = (DigilogixButtonvue_type_script_lang_js_);
|
|
49192
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-63.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-63.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-63.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/methodButtons/DigilogixButton.vue?vue&type=style&index=0&id=4520a5e0&prod&lang=scss&module=true&
|
|
49193
|
+
var DigilogixButtonvue_type_style_index_0_id_4520a5e0_prod_lang_scss_module_true_ = __webpack_require__(50365);
|
|
49194
|
+
var DigilogixButtonvue_type_style_index_0_id_4520a5e0_prod_lang_scss_module_true_default = /*#__PURE__*/__webpack_require__.n(DigilogixButtonvue_type_style_index_0_id_4520a5e0_prod_lang_scss_module_true_);
|
|
49195
|
+
;// CONCATENATED MODULE: ./src/components/methodButtons/DigilogixButton.vue?vue&type=style&index=0&id=4520a5e0&prod&lang=scss&module=true&
|
|
49196
|
+
|
|
49197
|
+
;// CONCATENATED MODULE: ./src/components/methodButtons/DigilogixButton.vue
|
|
49198
|
+
|
|
49199
|
+
|
|
49200
|
+
|
|
49201
|
+
;
|
|
49202
|
+
|
|
49203
|
+
|
|
49204
|
+
|
|
49205
|
+
|
|
49206
|
+
function DigilogixButton_injectStyles (context) {
|
|
49207
|
+
|
|
49208
|
+
this["$style"] = ((DigilogixButtonvue_type_style_index_0_id_4520a5e0_prod_lang_scss_module_true_default()).locals || (DigilogixButtonvue_type_style_index_0_id_4520a5e0_prod_lang_scss_module_true_default()))
|
|
49209
|
+
|
|
49210
|
+
}
|
|
49211
|
+
|
|
49212
|
+
/* normalize component */
|
|
49213
|
+
|
|
49214
|
+
var DigilogixButton_component = normalizeComponent(
|
|
49215
|
+
methodButtons_DigilogixButtonvue_type_script_lang_js_,
|
|
49216
|
+
DigilogixButtonvue_type_template_id_4520a5e0_render,
|
|
49217
|
+
DigilogixButtonvue_type_template_id_4520a5e0_staticRenderFns,
|
|
49218
|
+
false,
|
|
49219
|
+
DigilogixButton_injectStyles,
|
|
49220
|
+
null,
|
|
49221
|
+
null
|
|
49222
|
+
|
|
49223
|
+
)
|
|
49224
|
+
|
|
49225
|
+
/* harmony default export */ var DigilogixButton = (DigilogixButton_component.exports);
|
|
48937
49226
|
;// CONCATENATED MODULE: ./src/components/methodButtons/methodButtons.js
|
|
48938
49227
|
|
|
48939
49228
|
|
|
@@ -49010,6 +49299,7 @@ var VnVnptTokenButton_component = normalizeComponent(
|
|
|
49010
49299
|
|
|
49011
49300
|
|
|
49012
49301
|
|
|
49302
|
+
|
|
49013
49303
|
|
|
49014
49304
|
|
|
49015
49305
|
const methodButtons = Object.freeze({
|
|
@@ -49089,7 +49379,8 @@ const methodButtons = Object.freeze({
|
|
|
49089
49379
|
VnFtpTokenButton: VnFtpTokenButton,
|
|
49090
49380
|
VnSmartTokenButton: VnSmartTokenButton,
|
|
49091
49381
|
VnViettelTokenButton: VnViettelTokenButton,
|
|
49092
|
-
VnVnptTokenButton: VnVnptTokenButton
|
|
49382
|
+
VnVnptTokenButton: VnVnptTokenButton,
|
|
49383
|
+
DigilogixButton: DigilogixButton
|
|
49093
49384
|
});
|
|
49094
49385
|
/* harmony default export */ var methodButtons_methodButtons = (methodButtons);
|
|
49095
49386
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/methodButtons/MethodButton.vue?vue&type=script&lang=js&
|
|
@@ -58500,6 +58791,177 @@ var SignatureDiia_component = normalizeComponent(
|
|
|
58500
58791
|
)
|
|
58501
58792
|
|
|
58502
58793
|
/* harmony default export */ var SignatureDiia = (SignatureDiia_component.exports);
|
|
58794
|
+
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/views/SignatureDigilogix.vue?vue&type=template&id=0dc6fd7c&
|
|
58795
|
+
var SignatureDigilogixvue_type_template_id_0dc6fd7c_render = function render() {
|
|
58796
|
+
var _vm = this,
|
|
58797
|
+
_c = _vm._self._c;
|
|
58798
|
+
return _c('div', {
|
|
58799
|
+
class: _vm.$style.formContainer
|
|
58800
|
+
}, [_c('AppForm', {
|
|
58801
|
+
attrs: {
|
|
58802
|
+
"id": "smartIdSignatureForm",
|
|
58803
|
+
"schema": _vm.schema,
|
|
58804
|
+
"on-submit": _vm.sign,
|
|
58805
|
+
"errors": _vm.fieldErrors
|
|
58806
|
+
},
|
|
58807
|
+
model: {
|
|
58808
|
+
value: _vm.formValue,
|
|
58809
|
+
callback: function ($$v) {
|
|
58810
|
+
_vm.formValue = $$v;
|
|
58811
|
+
},
|
|
58812
|
+
expression: "formValue"
|
|
58813
|
+
}
|
|
58814
|
+
})], 1);
|
|
58815
|
+
};
|
|
58816
|
+
var SignatureDigilogixvue_type_template_id_0dc6fd7c_staticRenderFns = [];
|
|
58817
|
+
|
|
58818
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/views/SignatureDigilogix.vue?vue&type=script&lang=js&
|
|
58819
|
+
|
|
58820
|
+
|
|
58821
|
+
|
|
58822
|
+
/* harmony default export */ var SignatureDigilogixvue_type_script_lang_js_ = ({
|
|
58823
|
+
name: 'SignatureDigilogix',
|
|
58824
|
+
components: {
|
|
58825
|
+
AppForm: AppForm
|
|
58826
|
+
},
|
|
58827
|
+
data() {
|
|
58828
|
+
return {
|
|
58829
|
+
fieldErrors: {},
|
|
58830
|
+
authProcess: {}
|
|
58831
|
+
};
|
|
58832
|
+
},
|
|
58833
|
+
computed: {
|
|
58834
|
+
inputValues() {
|
|
58835
|
+
return this.$root.$options.storeGetters.inputValues();
|
|
58836
|
+
},
|
|
58837
|
+
additionalMethodConfig() {
|
|
58838
|
+
return this.$root.$options.storeGetters.additionalMethodConfig();
|
|
58839
|
+
},
|
|
58840
|
+
schema() {
|
|
58841
|
+
return [{
|
|
58842
|
+
type: 'text',
|
|
58843
|
+
name: 'idcode',
|
|
58844
|
+
label: this.$t('CUIL number'),
|
|
58845
|
+
validation: ['required']
|
|
58846
|
+
}, {
|
|
58847
|
+
type: 'submit',
|
|
58848
|
+
label: this.$t('Sign')
|
|
58849
|
+
}];
|
|
58850
|
+
},
|
|
58851
|
+
formValue: {
|
|
58852
|
+
get() {
|
|
58853
|
+
return {
|
|
58854
|
+
idcode: this.inputValues.idcode
|
|
58855
|
+
};
|
|
58856
|
+
},
|
|
58857
|
+
set(newValues) {
|
|
58858
|
+
this.updateInputValues(newValues);
|
|
58859
|
+
}
|
|
58860
|
+
}
|
|
58861
|
+
},
|
|
58862
|
+
methods: {
|
|
58863
|
+
updateInputValues(newValues) {
|
|
58864
|
+
this.$root.$options.storeActions.updateInputValues(newValues);
|
|
58865
|
+
},
|
|
58866
|
+
loadingStart() {
|
|
58867
|
+
this.$root.$options.storeActions.loadingStart();
|
|
58868
|
+
},
|
|
58869
|
+
loadingEnd() {
|
|
58870
|
+
this.$root.$options.storeActions.loadingEnd();
|
|
58871
|
+
},
|
|
58872
|
+
addFlashMessage(message) {
|
|
58873
|
+
this.$root.$options.storeActions.addFlashMessage(message);
|
|
58874
|
+
},
|
|
58875
|
+
clearFlashMessages() {
|
|
58876
|
+
this.$root.$options.storeActions.clearFlashMessages();
|
|
58877
|
+
},
|
|
58878
|
+
startSignatureProcessing() {
|
|
58879
|
+
this.$root.$options.storeActions.startSignatureProcessing();
|
|
58880
|
+
},
|
|
58881
|
+
endSignatureProcessing() {
|
|
58882
|
+
this.$root.$options.storeActions.endSignatureProcessing();
|
|
58883
|
+
},
|
|
58884
|
+
clearErrors() {
|
|
58885
|
+
this.fieldErrors = {};
|
|
58886
|
+
},
|
|
58887
|
+
cancel() {
|
|
58888
|
+
const {
|
|
58889
|
+
cancel
|
|
58890
|
+
} = this.authProcess;
|
|
58891
|
+
if (cancel) {
|
|
58892
|
+
cancel();
|
|
58893
|
+
}
|
|
58894
|
+
},
|
|
58895
|
+
sign() {
|
|
58896
|
+
this.loadingStart();
|
|
58897
|
+
this.clearFlashMessages();
|
|
58898
|
+
this.clearErrors();
|
|
58899
|
+
const additionalMethodConfig = this.additionalMethodConfig || {};
|
|
58900
|
+
this.authProcess = this.$root.$options.eidEasyClient.signature.digilogixQesSignature.start({
|
|
58901
|
+
...this.formValue,
|
|
58902
|
+
started: result => {
|
|
58903
|
+
if (result.data && result.data.challenge) {
|
|
58904
|
+
this.challenge = result.data.challenge;
|
|
58905
|
+
this.loadingEnd();
|
|
58906
|
+
this.startSignatureProcessing();
|
|
58907
|
+
}
|
|
58908
|
+
},
|
|
58909
|
+
fail: error => {
|
|
58910
|
+
if (!error.isCancel) {
|
|
58911
|
+
this.addFlashMessage(error);
|
|
58912
|
+
}
|
|
58913
|
+
this.fieldErrors = src_getFieldErrors(error);
|
|
58914
|
+
this.$root.$options.eidEasyOnFail(error);
|
|
58915
|
+
},
|
|
58916
|
+
success: result => {
|
|
58917
|
+
this.$root.$options.eidEasyOnSuccess(result);
|
|
58918
|
+
},
|
|
58919
|
+
finished: () => {
|
|
58920
|
+
this.challenge = undefined;
|
|
58921
|
+
this.endSignatureProcessing();
|
|
58922
|
+
this.loadingEnd();
|
|
58923
|
+
},
|
|
58924
|
+
...additionalMethodConfig
|
|
58925
|
+
});
|
|
58926
|
+
}
|
|
58927
|
+
}
|
|
58928
|
+
});
|
|
58929
|
+
;// CONCATENATED MODULE: ./src/views/SignatureDigilogix.vue?vue&type=script&lang=js&
|
|
58930
|
+
/* harmony default export */ var views_SignatureDigilogixvue_type_script_lang_js_ = (SignatureDigilogixvue_type_script_lang_js_);
|
|
58931
|
+
// EXTERNAL MODULE: ./node_modules/vue-style-loader/index.js??clonedRuleSet-63.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-63.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63.use[2]!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-63.use[3]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-63.use[4]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/views/SignatureDigilogix.vue?vue&type=style&index=0&id=0dc6fd7c&prod&lang=scss&module=true&
|
|
58932
|
+
var SignatureDigilogixvue_type_style_index_0_id_0dc6fd7c_prod_lang_scss_module_true_ = __webpack_require__(4909);
|
|
58933
|
+
var SignatureDigilogixvue_type_style_index_0_id_0dc6fd7c_prod_lang_scss_module_true_default = /*#__PURE__*/__webpack_require__.n(SignatureDigilogixvue_type_style_index_0_id_0dc6fd7c_prod_lang_scss_module_true_);
|
|
58934
|
+
;// CONCATENATED MODULE: ./src/views/SignatureDigilogix.vue?vue&type=style&index=0&id=0dc6fd7c&prod&lang=scss&module=true&
|
|
58935
|
+
|
|
58936
|
+
;// CONCATENATED MODULE: ./src/views/SignatureDigilogix.vue
|
|
58937
|
+
|
|
58938
|
+
|
|
58939
|
+
|
|
58940
|
+
;
|
|
58941
|
+
|
|
58942
|
+
|
|
58943
|
+
|
|
58944
|
+
|
|
58945
|
+
function SignatureDigilogix_injectStyles (context) {
|
|
58946
|
+
|
|
58947
|
+
this["$style"] = ((SignatureDigilogixvue_type_style_index_0_id_0dc6fd7c_prod_lang_scss_module_true_default()).locals || (SignatureDigilogixvue_type_style_index_0_id_0dc6fd7c_prod_lang_scss_module_true_default()))
|
|
58948
|
+
|
|
58949
|
+
}
|
|
58950
|
+
|
|
58951
|
+
/* normalize component */
|
|
58952
|
+
|
|
58953
|
+
var SignatureDigilogix_component = normalizeComponent(
|
|
58954
|
+
views_SignatureDigilogixvue_type_script_lang_js_,
|
|
58955
|
+
SignatureDigilogixvue_type_template_id_0dc6fd7c_render,
|
|
58956
|
+
SignatureDigilogixvue_type_template_id_0dc6fd7c_staticRenderFns,
|
|
58957
|
+
false,
|
|
58958
|
+
SignatureDigilogix_injectStyles,
|
|
58959
|
+
null,
|
|
58960
|
+
null
|
|
58961
|
+
|
|
58962
|
+
)
|
|
58963
|
+
|
|
58964
|
+
/* harmony default export */ var SignatureDigilogix = (SignatureDigilogix_component.exports);
|
|
58503
58965
|
;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/loaders/templateLoader.js??ruleSet[1].rules[3]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/views/WebEidLogin.vue?vue&type=template&id=6ffd3660&
|
|
58504
58966
|
var WebEidLoginvue_type_template_id_6ffd3660_render = function render() {
|
|
58505
58967
|
var _vm = this,
|
|
@@ -58646,6 +59108,7 @@ var WebEidLogin_component = normalizeComponent(
|
|
|
58646
59108
|
|
|
58647
59109
|
|
|
58648
59110
|
|
|
59111
|
+
|
|
58649
59112
|
|
|
58650
59113
|
|
|
58651
59114
|
const views = Object.freeze({
|
|
@@ -58687,7 +59150,8 @@ const views = Object.freeze({
|
|
|
58687
59150
|
SignatureLtIdQes: SignatureLtIdQes,
|
|
58688
59151
|
SignatureIframe: SignatureIframe,
|
|
58689
59152
|
SignatureEsLleidaAdvanced: SignatureEsLleidaAdvanced,
|
|
58690
|
-
SignatureDiia: SignatureDiia
|
|
59153
|
+
SignatureDiia: SignatureDiia,
|
|
59154
|
+
SignatureDigilogix: SignatureDigilogix
|
|
58691
59155
|
});
|
|
58692
59156
|
/* harmony default export */ var views_views = (views);
|
|
58693
59157
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-82.use[1]!./node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./src/components/AppLayout.vue?vue&type=script&lang=js&
|
|
@@ -62749,7 +63213,8 @@ const methodButtonNames = {
|
|
|
62749
63213
|
VnFtpTokenButton: 'VnFtpTokenButton',
|
|
62750
63214
|
VnSmartTokenButton: 'VnSmartTokenButton',
|
|
62751
63215
|
VnViettelTokenButton: 'VnViettelTokenButton',
|
|
62752
|
-
VnVnptTokenButton: 'VnVnptTokenButton'
|
|
63216
|
+
VnVnptTokenButton: 'VnVnptTokenButton',
|
|
63217
|
+
DigilogixButton: 'DigilogixButton'
|
|
62753
63218
|
};
|
|
62754
63219
|
/* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
|
|
62755
63220
|
;// CONCATENATED MODULE: ./src/createMethodsConfig.js
|
|
@@ -63554,6 +64019,13 @@ const allWidgetMethods = Object.freeze({
|
|
|
63554
64019
|
translationKeys: {
|
|
63555
64020
|
title: 'vnpt token'
|
|
63556
64021
|
}
|
|
64022
|
+
}, {
|
|
64023
|
+
actionType: eideasy_browser_client.methodActionTypes.DIGILOGIX_QES_SIGNATURE,
|
|
64024
|
+
buttonName: methodButtons_methodButtonNames.DigilogixButton,
|
|
64025
|
+
viewName: views_viewNames.SignatureDigilogix,
|
|
64026
|
+
translationKeys: {
|
|
64027
|
+
title: 'Digilogix'
|
|
64028
|
+
}
|
|
63557
64029
|
}]
|
|
63558
64030
|
});
|
|
63559
64031
|
const getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
|