@eid-easy/eideasy-browser-client 2.13.2 → 2.13.3
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/eideasy-browser-client.js +1 -1
- package/package.json +4 -4
package/CHANGELOG-LATEST.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
## [2.13.
|
|
1
|
+
## [2.13.2](https://github.com/eideasy/eideasy-browser-client/compare/v2.13.1...v2.13.2) (2022-03-22)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* make id card signing compatible with the new web-eid ([fd4a691](https://github.com/eideasy/eideasy-browser-client/commit/fd4a6913405d3a86ce29b1fbe2e410f154bb4fec))
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [2.13.3](https://github.com/eideasy/eideasy-browser-client/compare/v2.13.2...v2.13.3) (2022-03-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* add better user_cancel detection ([75211d3](https://github.com/eideasy/eideasy-browser-client/commit/75211d3f2e5e37687188bc3474bf71550bc61f42))
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [2.13.2](https://github.com/eideasy/eideasy-browser-client/compare/v2.13.1...v2.13.2) (2022-03-22)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.eidEasyBrowserClient=e():t.eidEasyBrowserClient=e()}(self,(function(){return function(){var t,e,n={7757:function(t,e,n){t.exports=n(5666)},9669:function(t,e,n){t.exports=n(1609)},5448:function(t,e,n){"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),c=n(4097),u=n(4109),s=n(7985),d=n(5061);t.exports=function(t){return new Promise((function(e,n){var l=t.data,p=t.headers,f=t.responseType;r.isFormData(l)&&delete p["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+v)}var y=c(t.baseURL,t.url);function m(){if(g){var r="getAllResponseHeaders"in g?u(g.getAllResponseHeaders()):null,i={data:f&&"text"!==f&&"json"!==f?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:t,request:g};o(e,n,i),g=null}}if(g.open(t.method.toUpperCase(),a(y,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(d("Request aborted",t,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",t,null,g)),g=null},g.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(d(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||s(y))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(p,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:g.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),f&&"json"!==f&&(g.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){g&&(g.abort(),n(t),g=null)})),l||(l=null),g.send(l)}))}},1609:function(t,e,n){"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function c(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=c(n(5655));u.Axios=i,u.create=function(t){return c(a(u.defaults,t))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(t){return Promise.all(t)},u.spread=n(8713),u.isAxiosError=n(6268),t.exports=u,t.exports.default=u},5263:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:function(t,e,n){"use strict";var r=n(5263);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},6502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:function(t,e,n){"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),c=n(7185),u=n(4875),s=u.validators;function d(t){this.defaults=t,this.interceptors={request:new i,response:new i}}d.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=c(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:s.transitional(s.boolean,"1.0.0"),forcedJSONParsing:s.transitional(s.boolean,"1.0.0"),clarifyTimeoutError:s.transitional(s.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(i),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var l=t;n.length;){var p=n.shift(),f=n.shift();try{l=p(l)}catch(t){f(t);break}}try{o=a(l)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},d.prototype.getUri=function(t){return t=c(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){d.prototype[t]=function(e,n){return this.request(c(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){d.prototype[t]=function(e,n,r){return this.request(c(r||{},{method:t,url:e,data:n}))}})),t.exports=d},782:function(t,e,n){"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},4097:function(t,e,n){"use strict";var r=n(1793),o=n(7303);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},5061:function(t,e,n){"use strict";var r=n(481);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},3572:function(t,e,n){"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:function(t){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.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:this.config,code:this.code}},t}},7185:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function s(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(i,s),r.forEach(a,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(void 0,e[o])})),r.forEach(c,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var d=o.concat(i).concat(a).concat(c),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(l,s),n}},6026:function(t,e,n){"use strict";var r=n(5061);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:function(t,e,n){"use strict";var r=n(4867),o=n(5655);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},5655:function(t,e,n){"use strict";var r=n(4867),o=n(6016),i=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(5448)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),JSON.stringify(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(a)})),t.exports=s},1849:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},5327:function(t,e,n){"use strict";var r=n(4867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var c=t.indexOf("#");-1!==c&&(t=t.slice(0,c)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},7303:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var c=[];c.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(o)&&c.push("path="+o),r.isString(i)&&c.push("domain="+i),!0===a&&c.push("secure"),document.cookie=c.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:function(t){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:function(t,e,n){"use strict";var r=n(4867),o=["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"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:function(t,e,n){"use strict";var r=n(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function c(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(t,e,n){var o=e&&c(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,c){if(!1===t)throw new Error(a(r," has been removed in "+e));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,c)}},t.exports={isOlderVersion:c,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),o=r.length;o-- >0;){var i=r[o],a=e[i];if(a){var c=t[i],u=void 0===c||a(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:function(t,e,n){"use strict";var r=n(1849),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function c(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function s(t){return"[object Function]"===o.call(t)}function d(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:s,isStream:function(t){return c(t)&&s(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:d,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):i(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return e},extend:function(t,e,n){return d(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},696:function(t){"use strict";t.exports=JSON.parse('{"name":"axios","version":"0.21.2","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},9036:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o;n.r(e),n.d(e,{allMethods:function(){return u},createClient:function(){return Ce},default:function(){return Se},getMethodByHandlingModule:function(){return s},methodActionTypes:function(){return a},methodTypes:function(){return i},moduleNames:function(){return c}});var i={IDENTIFICATION:"identification",SIGNATURE:"signature"},a={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",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-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",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_SIGNATURE:"fi-ftn-advanced-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature"},c={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",idCardSignature:"idCardSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnSignature:"ftnSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature"},u=Object.freeze((r(o={},i.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:c.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:c.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:c.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.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:a.CZ_MOJEID,handlingModule:c.mojeId,supportedCountries:["CZ"]},{actionType:a.FI_FTN_LOGIN,handlingModule:c.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:c.atHandy,supportedCountries:["AT"]}]),r(o,i.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["FI"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["BE"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:c.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.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","RO","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA"]},{actionType:a.OTP_EMAIL,handlingModule:c.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:c.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:c.ftnSignature,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:c.atHandySignature,supportedCountries:["AT"]},{actionType:a.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","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:c.mojeIdSignature,supportedCountries:["CZ"]},{actionType:a.GOOGLE_SIGNATURE,handlingModule:c.googleSignature,supportedCountries:["WORLD"]},{actionType:a.SE_BANKID_SIGNATURE,handlingModule:c.seBankIdSignature,supportedCountries:["SE"]}]),o)),s=function(t,e,n){var r=u[t];if(e&&n){var o=r.find((function(t){return t.handlingModule===e&&(t.supportedCountries.includes(n)||t.supportedCountries.includes("WORLD"))}));if(!o){if(0===r.filter((function(t){return t.handlingModule===e})).length)throw new Error("Could not find matching method configuration for ".concat(t,' module "').concat(e,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(t,'\n module "').concat(e,'".'))}return o}return r.find((function(t){return t.handlingModule===e}))},d=n(2492),l=n.n(d),p=n(9669),f=n.n(p),g=f().CancelToken,h=f().isCancel;f().Cancel,f().interceptors.response.use((function(t){return(e=t.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT","ERROR"].includes(e.status)?Promise.reject(function(t){var e=t.message,n=t.config,r=t.code,o=t.request,i=t.response,a=new Error(e);return a.config=n,r&&(a.code=r),a.request=o,a.response=i,a.isRequestError=!0,a}({message:"Request failed with status code ".concat(t.status),config:t.config,request:t.request,response:t})):t;var e}));var v=function(t){return f()(t)};function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var b=function(t,e){var n,r=e.modifyRequestSettings,o=t;return"function"==typeof r&&(n=r(o)),n&&(o=l()(o,n)),o},I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))},n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))};return Object.freeze({get:e,post:n,CancelToken:g})};function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.identificationModules,n=void 0===e?[]:e,r=t.signingModules,o=void 0===r?[]:r,i=t.settings,a=void 0===i?{}:i,c=t.i18n,s=t.apiEndpoints,d=t.monitoringService,l=E({},a);l.apiEndpoints=s,c.setLanguage(l.language);var p=function(t){l.countryCode=t},f=function(){return l.countryCode},g=function(){return u},h={};n.forEach((function(t){var e=t({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});h[e.MODULE_NAME]=e}));var v={};return o.forEach((function(t){var e=t({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},h),signature:E({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:p,getCountryCode:f})};function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var _=function(t){var e=t.rawSettings,n=t.schema,o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e);return Object.keys(n).forEach((function(t){var r=n[t],i=e[t];if(r.required&&void 0===i)throw new Error('Missing required setting "'.concat(t,'"'));if(void 0===i&&(o[t]=r.default),void 0!==o[t]&&void 0!==r.type&&r.type!==j(o[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(j(o[t]),'"'))})),o},x={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(t){var e=t.data&&t.data.redirect_uri;return e?(window.location!==window.top.location?window.top.location.href=e:window.location.href=e,new Promise((function(){}))):t},type:"function"},remoteMonitoringEnabled:{default:!1}},C=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."}'),S=n.t(C,2),k=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."}'),A=n.t(k,2),N=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."}'),P=n.t(N,2),D=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."}'),R=n.t(D,2),L=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."}'),M=n.t(L,2),U=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:S,en:A,et:P,lt:R,lv:M,ru:n.t(U,2)},F=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.currentLanguage,n=void 0===e?"en":e,r=t.locales,o=void 0===r?G:r,i={currentLanguage:n},a="en",c=function(t){i.currentLanguage=t},u=function(){return i.currentLanguage},s=function(t){var e=o[i.currentLanguage];e||(e=o[a]);var n=e[t]||o[a][t];return n||(n=t),n};return Object.freeze({setLanguage:c,t:s,getCurrentLanguage:u})},B=function(t){var e=t.remoteMonitoringEnabled,n=t.apiEndpoints;return{dispatch:function(t){var r=t.message;if(t.data,e){var o=new URLSearchParams;o.append("message",r),v({url:n.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,headers:{Accept:"*/*","Content-Type":"application/x-www-form-urlencoded"},data:o})}}}};function q(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function z(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){q(i,r,o,a,c,"next",t)}function c(t){q(i,r,o,a,c,"throw",t)}a(void 0)}))}}var H=n(7757),V=n.n(H),J=n(361),K=n.n(J)(),Z=function(t){var e=t;return h(t)&&(e.isCancel=!0),e.response&&e.response.data&&(e.response.data.message&&(e.userMessage=e.response.data.message),e.response.data.errors&&(e.userDetails=e.response.data.errors)),e},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=t.message,r=K({message:n});if(e)r.data=e;else{if(!t.result||!t.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=t.result.data}return r},$=function(t){return t.error},Y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.shouldFormatResult,r=void 0===n||n;return function(){var e=z(V().mark((function e(){var n,o,i=arguments;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(void 0,i);case 2:if(n=e.sent,!(o=$(n))){e.next=6;break}throw Z(o);case 6:return e.abrupt("return",r?W(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()};function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?X(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var tt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var o=r.coreContext,i=r.apiClient,a=o.i18n,c=o.config,u=o.monitoringService;return Object.freeze({MODULE_NAME:t,start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Q(Q({},x),n),o=Q(Q({},c),t),s=_({rawSettings:o,schema:r}),d=s.success,l=s.fail,p=s.finished,f=t.language||a.getCurrentLanguage(),g=i.CancelToken.source(),h=g.token,v=function(){var t=z(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(Q(Q({},s),{},{language:f,i18n:a,monitoringService:u,cancelToken:h,apiClient:i})).then((function(t){d(t)})).catch((function(t){console&&console.error&&console.error(t),l(Z(t))})).finally(p);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return v().catch(console.error),Object.freeze({cancel:function(){g.cancel()}})}})}};function et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var rt=c.idCard,ot=tt(rt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.i18n,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.apiEndpoints.inCurrentMode.readCard({countryCode:t.countryCode,clientId:t.clientId});return t.nonce&&(e+="?nonce=".concat(t.nonce)),o.get({url:e,cancelToken:t.cancelToken})},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=s(i.IDENTIFICATION,rt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},t.next=5,Y(c)(nt(nt({},e),{},{language:r,cancelToken:n})).catch((function(t){throw"ECONNABORTED"===t.code&&(t.userMessage=a.t("id-card-read-timeout")),t}));case 5:return d=t.sent,t.next=8,Y(u)(nt(nt({},e),{},{cancelToken:n,language:r,data:d.data}));case 8:return d=t.sent,t.abrupt("return",d);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0}}),it=function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.fn,r=e.shouldContinue,o=e.interval,i=0,a=function(){var t=z(V().mark((function t(e,c){var u,s;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i+=1,t.prev=1,t.next=4,n();case 4:u=t.sent,s=void 0,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),u=void 0,s=t.t0;case 12:if(!r({result:u,attempts:i,error:s})){t.next=14;break}return t.abrupt("return",setTimeout(a,o,e,c));case 14:return t.abrupt("return",e({result:u,error:s}));case 15:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,n){return t.apply(this,arguments)}}(),t.abrupt("return",new Promise(a));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ut=c.smartId,st=tt(ut,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=s(i.IDENTIFICATION,ut);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,ut);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(ct(ct({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(p)(ct(ct({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:ct({},v.data),cancelToken:u,pollInterval:c,language:d});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var pt=c.mobileId,ft=tt(pt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,v,y;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.started,c=void 0===a?function(){}:a,u=e.idcode,d=e.phone,l=e.pollInterval,p=void 0===l?1e3:l,f=function(t){var e=s(i.IDENTIFICATION,pt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,phone:t.phone,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},g=function(t){var e=s(i.IDENTIFICATION,pt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language},cancelToken:t.cancelToken})},v=function(t){var e=12e4/p,n=0;return it({fn:function(){return g(lt(lt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:1e3})},t.next=6,Y(f)(lt(lt({},e),{},{cancelToken:n,language:r,idcode:u,phone:d}));case 6:return y=t.sent,c(y),t.next=10,Y(v)({config:e,data:y.data,cancelToken:n,language:r,pollInterval:p});case 10:return y=t.sent,t.abrupt("return",y);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),gt=c.eParakstsMobile,ht=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},vt=tt(gt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(ht)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=c.frejaEid,It=tt(bt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=s(i.IDENTIFICATION,bt);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,bt);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,lang:t.language,timeout:2}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(mt(mt({},t.config),{},{data:t.data,language:t.language,cancelToken:t.cancelToken}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(p)(mt(mt({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:mt({},v.data),cancelToken:u,language:d,pollInterval:c});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function Ot(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ot(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var wt=c.zealId,jt=tt(wt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.apiClient,o=e.language,a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:t.clientId})})},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.iframeHolder,n=document.createElement("iframe"),r=t.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",e.innerHTML="";var o=function(t,e,n){var r=new URL(t.data),o=r.searchParams.get("error"),i=r.searchParams.get("code");o?n(o):i?e({data:{code:i}}):n(t.data)},i=new Promise((function(t,e){window.addEventListener("message",(function(n){var i=new URL(r);n.origin===i.origin&&(window.removeEventListener("message",o),o(n,t,e))}))}));return e.appendChild(n),i},u=function(t){var e=s(i.IDENTIFICATION,wt);return r.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{method:e.actionType,code:t.data.code,lang:t.language}})},t.next=6,Y(a)(Et(Et({},e),{},{cancelToken:n}));case 6:return d=t.sent,t.next=9,Y(c)(Et(Et({},e),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=t.sent,t.next=12,Y(u)(Et(Et({},e),{},{cancelToken:n,language:o},d));case 12:return d=t.sent,t.abrupt("return",d);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),Tt=c.mojeId,_t=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},xt=tt(Tt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(_t)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ct=c.finnishTrustNetwork,St=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,o=t.language;return{data:{redirect_uri:e.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:o})}}},kt=tt(Ct,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,a=e.language,t.next=3,Y(St)({apiEndpoints:r,clientId:o,redirectUri:i,language:a});case 3:return c=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(c));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),At=c.atHandy,Nt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Pt=tt(At,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(Nt)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Dt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,n=void 0===e?"":e,r=t.userMessage,o=void 0===r?"":r,i=t.details,a=void 0===i?{}:i;this.message=n,this.userMessage=o,this.details=a,this.stack=(new Error).stack};(Dt.prototype=new Error).name="MethodException";var Rt=Dt,Lt=c.idCardSignature,Mt=function(t){var e=t.iframe,n=new URL(e.src);return{post:function(t){e.contentWindow.postMessage(t,n.origin)}}},Ut=function(t){var e=t.countryCode,n=t.clientId,r=t.apiEndpoints,o=s(i.SIGNATURE,Lt,e);return r.inCurrentMode.idCardIframe({clientId:n,actionType:o.actionType})},Gt=function(t,e){if(t instanceof Error)throw t;var n;throw"no_certificates"===t.result&&(n=e.t("no_certificates")),new Rt({userMessage:n,message:t.message,details:t})},Ft=function(t){var e=t.iframeHolder,n=t.iframeUrl,r=t.i18n,o=document.createElement("iframe");o.setAttribute("src",n),o.setAttribute("referrerpolicy","origin"),o.style.width="0",o.style.height="0",o.style.position="absolute",o.style.border="0",e.innerHTML="";var i=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,i=r.operation,a=r.error,c=r.status;a||"ready"!==i&&"welcome"!==i||"OK"!==c?e(n.data):t(o)}),{once:!0}),window.setTimeout((function(){return e({message:r.t("createIframeTimeout")})}),3e4)}));return e.appendChild(o),i},Bt=function(t){var e=t.messenger,n=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.certificate||n.data.cert;if("ok"===r.toLowerCase()&&o)t({status:r,certificate:o});else{var i={};n.data&&"user_cancel"===n.data.result?i.isCancel=!0:i=n.data,e(i)}}),{once:!0})}));return e.post({operation:"getCertificate"}),n},qt=function(t){var e=t.certificate,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.startSigning();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:e},cancelToken:o})},zt=function(t){var e=t.messenger,n=t.hexDigest,r=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.signature_value||n.data.signature;if("ok"===r.toLowerCase()&&o)t({signature:o});else{var i={};n.data&&"user_cancel"===n.data.result?i.isCancel=!0:i=n.data,e(i)}}),{once:!0})}));return e.post({operation:"getSignature",hexDigest:n}),r},Ht=function(t){var e=t.signature,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.completeSignatureIdCard();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:e},cancelToken:o})},Vt=tt(Lt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(Ut,{shouldFormatResult:!1})({countryCode:e.countryCode,clientId:e.clientId,apiEndpoints:e.apiEndpoints});case 2:return n=t.sent,t.next=5,Y(Ft,{shouldFormatResult:!1})({iframeUrl:n,iframeHolder:e.iframeHolder,i18n:e.i18n}).catch((function(t){return Gt(t,e.i18n)}));case 5:return r=t.sent,t.next=8,Y(Mt,{shouldFormatResult:!1})({iframe:r});case 8:return o=t.sent,t.next=11,Y(Bt,{shouldFormatResult:!1})({messenger:o}).catch((function(t){return Gt(t,e.i18n)}));case 11:return i=t.sent,t.next=14,Y(qt)({certificate:i.certificate,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient});case 14:return a=t.sent,t.next=17,Y(zt,{shouldFormatResult:!1})({messenger:o,hexDigest:a.data.hexDigest});case 17:return c=t.sent,console.log(c),t.abrupt("return",Y(Ht)({signature:c.signature,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient}));case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{iframeHolder:{type:"object"},docId:{type:"string",required:!0}});function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Kt=function(t){var e,n=t.pollInterval,r=void 0===n?2e3:n,o=t.maxPollDuration,i=t.fn,a=t.fnArgs;o&&(e=o/r);var c=0;return{start:function(){return it({fn:function(){return i.apply(void 0,function(t){if(Array.isArray(t))return Jt(t)}(t=a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Jt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jt(t,e):void 0}}(t)||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 t},shouldContinue:function(t){var n=t.result,r=n&&n.data&&n.data.status,o=h(t.error),i=t.error&&!t.error.response&&!o;i&&(c+=1);var a,u,s=!1;return a=t.attempts,(!(u=e)||a<u)&&c<3&&(s=i||"RUNNING"===r),s},interval:r})}}},Zt=c.mobileIdSignature,Wt=function(t){var e=t.phone,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:"mobile-id",phone:e,idcode:n,country:u,lang:s},cancelToken:i})},$t=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:e.token,doc_id:a,timeout:2,lang:o,client_id:c},cancelToken:i})},Yt=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:$t,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Xt=tt(Zt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,l=e.idcode,p=e.phone,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Zt,f),u.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y(Wt)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:l,phone:p,countryCode:f});case 5:return v=t.sent,g(v),t.abrupt("return",Y(Yt)({data:v.data,apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),Qt=c.smartIdSignature,te=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:"smart-id",idcode:n,country:u,lang:s},cancelToken:i})},ee=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c,timeout:2},cancelToken:i})},ne=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:ee,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},re=tt(Qt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Qt,f),d.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y(te)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,countryCode:f,contractId:o});case 5:return v=t.sent,g(v),t.abrupt("return",Y(ne)({data:v.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),oe=c.evroTrustSignature,ie=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=t.email,l=t.phone,p=t.actionType,f=a.inCurrentMode.startSigning();return c.post({url:f,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:u,lang:s},cancelToken:i})},ae=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},ce=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,fn:ae,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},ue=tt(oe,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,h,v,y,m;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.phone,g=e.email,h=e.countryCode,v=e.started,y=s(i.SIGNATURE,oe,h),d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,Y(ie)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,phone:f,email:g,countryCode:h,contractId:o,actionType:y.actionType});case 5:return m=t.sent,v(m),t.abrupt("return",Y(ce)({data:m.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),se=c.otpSignature,de=function(t){var e=t.apiClient,n=t.apiEndpoints,r=t.language,o=t.cancelToken,i=t.docId,a=t.clientId,c=t.emailToken,u=t.smsToken;return e.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:i,timeout:2,lang:r,client_id:a,email_token:c,sms_token:u},cancelToken:o})},le=tt(se,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,l=e.countryCode,p=e.emailToken,f=e.smsToken,g=s(i.SIGNATURE,se,l),console.log(g),u.dispatch({message:"".concat(g.actionType,": signing started")}),t.abrupt("return",Y(de)({apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n,emailToken:p,smsToken:f}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),pe={docId:{type:"string",required:!0}},fe=function(t){var e=t.moduleName,n=t.createModuleCreator,r=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})};return n(e,function(){var t=z(V().mark((function t(n){var o,a,c,u,d,l,p,f,g,h,v,y;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=n.clientId,a=n.docId,c=n.contractId,u=n.cancelToken,d=n.apiEndpoints,l=n.apiClient,p=n.monitoringService,f=n.language,g=n.countryCode,h=n.redirect,v=s(i.SIGNATURE,e,g),p.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,Y(r)({contractId:c,clientId:o,docId:a,cancelToken:u,apiEndpoints:d,apiClient:l,language:f,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",Y(h,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),pe)},ge=fe({moduleName:c.eParakstsMobileSignature,createModuleCreator:tt}),he=fe({moduleName:c.ftnSignature,createModuleCreator:tt}),ve=fe({moduleName:c.atHandySignature,createModuleCreator:tt}),ye=c.zealIdSignature,me=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},be=tt(ye,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.docId,t.next=3,Y(me)({apiEndpoints:r,clientId:o,docId:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ie=fe({moduleName:c.mojeIdSignature,createModuleCreator:tt}),Oe=fe({moduleName:c.googleSignature,createModuleCreator:tt}),Ee=fe({moduleName:c.seBankIdSignature,createModuleCreator:tt}),we=Object.freeze({sandbox:"sandbox",production:"production"});function je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?je(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _e=function(t,e,n){var r={};return Object.keys(t).forEach((function(o){r[o]=function(t,e,n){return function(r){var o=Te(Te({},e),r);return n?n(t(o)):t(o)}}(t[o],e,n)})),r},xe=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Te({base:function(t){return t.baseUrl},readCard:function(t){var n=t.countryCode,r=void 0===n?e.countryCode.toLowerCase():n,o=t.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(o,"/read-card")},eParakstsMobile:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/lv-eparaksts-mobile-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},zealIdIframeUrl:function(t){var e=t.baseUrl,n=t.clientId;return"".concat(e,"/api/identity/").concat(n,"/zealid/get_iframe_url")},mojeId:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/mojeid?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},finnishTrustNetwork:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri,o=t.language;return"".concat(e,"/oauth/start/finnish-ftn-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&lang=").concat(o)},atHandy:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login")},idCardIframe:function(t){var e=t.baseUrl,n=t.clientId,r=t.actionType;return"".concat(e,"/signatures/integration/").concat(n,"/").concat(r)},startSigning:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/start-signing")},completeSignatureIdCard:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/id-card/complete")},completeSignatureMobileId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-smart-id/complete")},completeSignatureEvrotrust:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/evrotrust-signature/complete")},completeOtp:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/non-qualified/complete")},eideasyMonitoring:function(t){var e=t.baseUrl;return"".concat(e,"/confirm_progress")},startZealIdSignature:function(t){var e=t.baseUrl,n=t.clientId,r=t.docId;return"".concat(e,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)}},n),i=(r(t={},we.production,Te({},_e(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"},e.modifyEndpointUrl))),r(t,we.sandbox,Te({},_e(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"},e.modifyEndpointUrl))),t);return{get inCurrentMode(){var t=e.sandbox?we.sandbox:we.production;return i[t]}}},Ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_({rawSettings:t,schema:x}),n=F({currentLanguage:"en"}),r=xe({countryCode:e.countryCode,sandbox:e.sandbox,modifyEndpointUrl:e.modifyEndpointUrl},e.apiEndpoints),o=B({remoteMonitoringEnabled:e.remoteMonitoringEnabled,apiEndpoints:r});return w({settings:e,i18n:n,monitoringService:o,apiEndpoints:r,identificationModules:[ot,st,ft,vt,It,jt,xt,kt,Pt],signingModules:[Vt,Xt,re,ue,le,ge,he,ve,be,Ie,Oe,Ee]})},Se=Ce},8552:function(t,e,n){var r=n(852)(n(5639),"DataView");t.exports=r},1989:function(t,e,n){var r=n(1789),o=n(401),i=n(7667),a=n(1327),c=n(1866);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},8407:function(t,e,n){var r=n(7040),o=n(4125),i=n(2117),a=n(7518),c=n(4705);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},7071:function(t,e,n){var r=n(852)(n(5639),"Map");t.exports=r},3369:function(t,e,n){var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),c=n(5265);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},3818:function(t,e,n){var r=n(852)(n(5639),"Promise");t.exports=r},8525:function(t,e,n){var r=n(852)(n(5639),"Set");t.exports=r},6384:function(t,e,n){var r=n(8407),o=n(7465),i=n(3779),a=n(7599),c=n(4758),u=n(4309);function s(t){var e=this.__data__=new r(t);this.size=e.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,t.exports=s},2705:function(t,e,n){var r=n(5639).Symbol;t.exports=r},1149:function(t,e,n){var r=n(5639).Uint8Array;t.exports=r},577:function(t,e,n){var r=n(852)(n(5639),"WeakMap");t.exports=r},6874:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},7412:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},4963:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},4636:function(t,e,n){var r=n(2545),o=n(5694),i=n(1469),a=n(4144),c=n(5776),u=n(6719),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),d=!n&&o(t),l=!n&&!d&&a(t),p=!n&&!d&&!l&&u(t),f=n||d||l||p,g=f?r(t.length,String):[],h=g.length;for(var v in t)!e&&!s.call(t,v)||f&&("length"==v||l&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||g.push(v);return g}},2488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},6556:function(t,e,n){var r=n(9465),o=n(7813);t.exports=function(t,e,n){(void 0!==n&&!o(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},4865:function(t,e,n){var r=n(9465),o=n(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},8470:function(t,e,n){var r=n(7813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4037:function(t,e,n){var r=n(8363),o=n(3674);t.exports=function(t,e){return t&&r(e,o(e),t)}},3886:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t,e){return t&&r(e,o(e),t)}},9465:function(t,e,n){var r=n(8777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},5990:function(t,e,n){var r=n(6384),o=n(7412),i=n(4865),a=n(4037),c=n(3886),u=n(4626),s=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),g=n(4160),h=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),O=n(3218),E=n(2928),w=n(3674),j=n(1704),T="[object Arguments]",_="[object Function]",x="[object Object]",C={};C[T]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[x]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[_]=C["[object WeakMap]"]=!1,t.exports=function t(e,n,S,k,A,N){var P,D=1&n,R=2&n,L=4&n;if(S&&(P=A?S(e,k,A,N):S(e)),void 0!==P)return P;if(!O(e))return e;var M=m(e);if(M){if(P=h(e),!D)return s(e,P)}else{var U=g(e),G=U==_||"[object GeneratorFunction]"==U;if(b(e))return u(e,D);if(U==x||U==T||G&&!A){if(P=R||G?{}:y(e),!D)return R?l(e,c(P,e)):d(e,a(P,e))}else{if(!C[U])return A?e:{};P=v(e,U,D)}}N||(N=new r);var F=N.get(e);if(F)return F;N.set(e,P),E(e)?e.forEach((function(r){P.add(t(r,n,S,r,e,N))})):I(e)&&e.forEach((function(r,o){P.set(o,t(r,n,S,o,e,N))}));var B=M?void 0:(L?R?f:p:R?j:w)(e);return o(B||e,(function(r,o){B&&(r=e[o=r]),i(P,o,t(r,n,S,o,e,N))})),P}},3118:function(t,e,n){var r=n(3218),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},8483:function(t,e,n){var r=n(5063)();t.exports=r},8866:function(t,e,n){var r=n(2488),o=n(1469);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},4239:function(t,e,n){var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},9454:function(t,e,n){var r=n(4239),o=n(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},5588:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Map]"==r(t)}},8458:function(t,e,n){var r=n(3560),o=n(5346),i=n(3218),a=n(346),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,l=s.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?p:c).test(a(t))}},9221:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Set]"==r(t)}},8749:function(t,e,n){var r=n(4239),o=n(1780),i=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,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},280:function(t,e,n){var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:function(t,e,n){var r=n(3218),o=n(5726),i=n(3498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var c in t)("constructor"!=c||!e&&a.call(t,c))&&n.push(c);return n}},2980:function(t,e,n){var r=n(6384),o=n(6556),i=n(8483),a=n(9783),c=n(3218),u=n(1704),s=n(6390);t.exports=function t(e,n,d,l,p){e!==n&&i(n,(function(i,u){if(p||(p=new r),c(i))a(e,n,u,d,t,l,p);else{var f=l?l(s(e,u),i,u+"",e,n,p):void 0;void 0===f&&(f=i),o(e,u,f)}}),u)}},9783:function(t,e,n){var r=n(6556),o=n(4626),i=n(7133),a=n(278),c=n(8517),u=n(5694),s=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),g=n(8630),h=n(6719),v=n(6390),y=n(9881);t.exports=function(t,e,n,m,b,I,O){var E=v(t,n),w=v(e,n),j=O.get(w);if(j)r(t,n,j);else{var T=I?I(E,w,n+"",t,e,O):void 0,_=void 0===T;if(_){var x=s(w),C=!x&&l(w),S=!x&&!C&&h(w);T=w,x||C||S?s(E)?T=E:d(E)?T=a(E):C?(_=!1,T=o(w,!0)):S?(_=!1,T=i(w,!0)):T=[]:g(w)||u(w)?(T=E,u(E)?T=y(E):f(E)&&!p(E)||(T=c(w))):_=!1}_&&(O.set(w,T),b(T,w,m,I,O),O.delete(w)),r(t,n,T)}}},5976:function(t,e,n){var r=n(6557),o=n(5357),i=n(61);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6560:function(t,e,n){var r=n(5703),o=n(8777),i=n(6557),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},2545:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},4318:function(t,e,n){var r=n(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},4626:function(t,e,n){t=n.nmd(t);var r=n(5639),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}},7157:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},3147:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},419:function(t,e,n){var r=n(2705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},7133:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},278:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},8363:function(t,e,n){var r=n(4865),o=n(9465);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var c=-1,u=e.length;++c<u;){var s=e[c],d=i?i(n[s],t[s],s,n,t):void 0;void 0===d&&(d=t[s]),a?o(n,s,d):r(n,s,d)}return n}},8805:function(t,e,n){var r=n(8363),o=n(9551);t.exports=function(t,e){return r(t,o(t),e)}},1911:function(t,e,n){var r=n(8363),o=n(1442);t.exports=function(t,e){return r(t,o(t),e)}},4429:function(t,e,n){var r=n(5639)["__core-js_shared__"];t.exports=r},1463:function(t,e,n){var r=n(5976),o=n(6612);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e}))}},5063:function(t){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===n(i[u],u,i))break}return e}}},8777:function(t,e,n){var r=n(852),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},1957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8234:function(t,e,n){var r=n(8866),o=n(9551),i=n(3674);t.exports=function(t){return r(t,i,o)}},6904:function(t,e,n){var r=n(8866),o=n(1442),i=n(1704);t.exports=function(t){return r(t,i,o)}},5050:function(t,e,n){var r=n(7019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},852:function(t,e,n){var r=n(8458),o=n(7801);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},5924:function(t,e,n){var r=n(5569)(Object.getPrototypeOf,Object);t.exports=r},9607:function(t,e,n){var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}},9551:function(t,e,n){var r=n(4963),o=n(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=c},1442:function(t,e,n){var r=n(2488),o=n(5924),i=n(9551),a=n(479),c=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:a;t.exports=c},4160:function(t,e,n){var r=n(8552),o=n(7071),i=n(3818),a=n(8525),c=n(577),u=n(4239),s=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",h=s(r),v=s(o),y=s(i),m=s(a),b=s(c),I=u;(r&&I(new r(new ArrayBuffer(1)))!=g||o&&I(new o)!=d||i&&I(i.resolve())!=l||a&&I(new a)!=p||c&&I(new c)!=f)&&(I=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case h:return g;case v:return d;case y:return l;case m:return p;case b:return f}return e}),t.exports=I},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},1789:function(t,e,n){var r=n(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},1327:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},1866:function(t,e,n){var r=n(4536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},9148:function(t,e,n){var r=n(4318),o=n(7157),i=n(3147),a=n(419),c=n(7133);t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,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 c(t,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return i(t);case"[object Set]":return new u;case"[object Symbol]":return a(t)}}},8517:function(t,e,n){var r=n(3118),o=n(5924),i=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},6612:function(t,e,n){var r=n(7813),o=n(8612),i=n(5776),a=n(3218);t.exports=function(t,e,n){if(!a(n))return!1;var c=typeof e;return!!("number"==c?o(n)&&i(e,n.length):"string"==c&&e in n)&&r(n[e],t)}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,n){var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,n){var r=n(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},2117:function(t,e,n){var r=n(8470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7518:function(t,e,n){var r=n(8470);t.exports=function(t){return r(this.__data__,t)>-1}},4705:function(t,e,n){var r=n(8470);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},4785:function(t,e,n){var r=n(1989),o=n(8407),i=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(t,e,n){var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,e,n){var r=n(5050);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},4536:function(t,e,n){var r=n(852)(Object,"create");t.exports=r},6916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},3498:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1167:function(t,e,n){t=n.nmd(t);var r=n(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,c=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},5357:function(t,e,n){var r=n(6874),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,c=o(i.length-e,0),u=Array(c);++a<c;)u[a]=i[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=i[a];return s[e]=n(u),r(t,this,s)}}},5639:function(t,e,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6390:function(t){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},61:function(t,e,n){var r=n(6560),o=n(1275)(r);t.exports=o},1275:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},7465:function(t,e,n){var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,n){var r=n(8407),o=n(7071),i=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},361:function(t,e,n){var r=n(5990);t.exports=function(t){return r(t,5)}},5703:function(t){t.exports=function(t){return function(){return t}}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6557:function(t){t.exports=function(t){return t}},5694:function(t,e,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=u},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),o=n(1780);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},9246:function(t,e,n){var r=n(8612),o=n(7005);t.exports=function(t){return o(t)&&r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),o=n(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;t.exports=u},3560:function(t,e,n){var r=n(4239),o=n(3218);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:function(t,e,n){var r=n(5588),o=n(1717),i=n(1167),a=i&&i.isMap,c=a?o(a):r;t.exports=c},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8630:function(t,e,n){var r=n(4239),o=n(5924),i=n(7005),a=Function.prototype,c=Object.prototype,u=a.toString,s=c.hasOwnProperty,d=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}},2928:function(t,e,n){var r=n(9221),o=n(1717),i=n(1167),a=i&&i.isSet,c=a?o(a):r;t.exports=c},6719:function(t,e,n){var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,c=a?o(a):r;t.exports=c},3674:function(t,e,n){var r=n(4636),o=n(280),i=n(8612);t.exports=function(t){return i(t)?r(t):o(t)}},1704:function(t,e,n){var r=n(4636),o=n(313),i=n(8612);t.exports=function(t){return i(t)?r(t,!0):o(t)}},2492:function(t,e,n){var r=n(2980),o=n(1463)((function(t,e,n){r(t,e,n)}));t.exports=o},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},9881:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t){return r(t,o(t))}},5666:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=T(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(t,e,n);if("normal"===u.type){if(r=n.done?g:p,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",f="executing",g="completed",h={};function v(){}function y(){}function m(){}var b={};b[i]=function(){return this};var I=Object.getPrototypeOf,O=I&&I(I(S([])));O&&O!==n&&r.call(O,i)&&(b=O);var E=m.prototype=v.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function n(o,i,a,c){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function T(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function S(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:k}}function k(){return{value:e,done:!0}}return y.prototype=E.constructor=m,m.constructor=y,y.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},w(j.prototype),j.prototype[a]=function(){return this},t.AsyncIterator=j,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new j(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(E),u(E,c,"Generator"),E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,o),i.loaded=!0,i.exports}return o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},o.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 i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},o(9036)}()}));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.eidEasyBrowserClient=e():t.eidEasyBrowserClient=e()}(self,(function(){return function(){var t,e,n={7757:function(t,e,n){t.exports=n(5666)},9669:function(t,e,n){t.exports=n(1609)},5448:function(t,e,n){"use strict";var r=n(4867),o=n(6026),i=n(4372),a=n(5327),c=n(4097),u=n(4109),s=n(7985),d=n(5061);t.exports=function(t){return new Promise((function(e,n){var l=t.data,p=t.headers,f=t.responseType;r.isFormData(l)&&delete p["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+v)}var y=c(t.baseURL,t.url);function m(){if(g){var r="getAllResponseHeaders"in g?u(g.getAllResponseHeaders()):null,i={data:f&&"text"!==f&&"json"!==f?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:t,request:g};o(e,n,i),g=null}}if(g.open(t.method.toUpperCase(),a(y,t.params,t.paramsSerializer),!0),g.timeout=t.timeout,"onloadend"in g?g.onloadend=m:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(m)},g.onabort=function(){g&&(n(d("Request aborted",t,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",t,null,g)),g=null},g.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(d(e,t,t.transitional&&t.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var b=(t.withCredentials||s(y))&&t.xsrfCookieName?i.read(t.xsrfCookieName):void 0;b&&(p[t.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(p,(function(t,e){void 0===l&&"content-type"===e.toLowerCase()?delete p[e]:g.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(g.withCredentials=!!t.withCredentials),f&&"json"!==f&&(g.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&g.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){g&&(g.abort(),n(t),g=null)})),l||(l=null),g.send(l)}))}},1609:function(t,e,n){"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function c(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=c(n(5655));u.Axios=i,u.create=function(t){return c(a(u.defaults,t))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(t){return Promise.all(t)},u.spread=n(8713),u.isAxiosError=n(6268),t.exports=u,t.exports.default=u},5263:function(t){"use strict";function e(t){this.message=t}e.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},e.prototype.__CANCEL__=!0,t.exports=e},4972:function(t,e,n){"use strict";var r=n(5263);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o((function(e){t=e})),cancel:t}},t.exports=o},6502:function(t){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},321:function(t,e,n){"use strict";var r=n(4867),o=n(5327),i=n(782),a=n(3572),c=n(7185),u=n(4875),s=u.validators;function d(t){this.defaults=t,this.interceptors={request:new i,response:new i}}d.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=c(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=t.transitional;void 0!==e&&u.assertOptions(e,{silentJSONParsing:s.transitional(s.boolean,"1.0.0"),forcedJSONParsing:s.transitional(s.boolean,"1.0.0"),clarifyTimeoutError:s.transitional(s.boolean,"1.0.0")},!1);var n=[],r=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(r=r&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(t){i.push(t.fulfilled,t.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(i),o=Promise.resolve(t);d.length;)o=o.then(d.shift(),d.shift());return o}for(var l=t;n.length;){var p=n.shift(),f=n.shift();try{l=p(l)}catch(t){f(t);break}}try{o=a(l)}catch(t){return Promise.reject(t)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},d.prototype.getUri=function(t){return t=c(this.defaults,t),o(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(t){d.prototype[t]=function(e,n){return this.request(c(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){d.prototype[t]=function(e,n,r){return this.request(c(r||{},{method:t,url:e,data:n}))}})),t.exports=d},782:function(t,e,n){"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=o},4097:function(t,e,n){"use strict";var r=n(1793),o=n(7303);t.exports=function(t,e){return t&&!r(e)?o(t,e):e}},5061:function(t,e,n){"use strict";var r=n(481);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},3572:function(t,e,n){"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=o.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||a.adapter)(t).then((function(e){return c(t),e.data=o.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},481:function(t){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t.isAxiosError=!0,t.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:this.config,code:this.code}},t}},7185:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){e=e||{};var n={},o=["url","method","data"],i=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],c=["validateStatus"];function u(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function s(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(t[o],e[o])}r.forEach(o,(function(t){r.isUndefined(e[t])||(n[t]=u(void 0,e[t]))})),r.forEach(i,s),r.forEach(a,(function(o){r.isUndefined(e[o])?r.isUndefined(t[o])||(n[o]=u(void 0,t[o])):n[o]=u(void 0,e[o])})),r.forEach(c,(function(r){r in e?n[r]=u(t[r],e[r]):r in t&&(n[r]=u(void 0,t[r]))}));var d=o.concat(i).concat(a).concat(c),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(l,s),n}},6026:function(t,e,n){"use strict";var r=n(5061);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},8527:function(t,e,n){"use strict";var r=n(4867),o=n(5655);t.exports=function(t,e,n){var i=this||o;return r.forEach(n,(function(n){t=n.call(i,t,e)})),t}},5655:function(t,e,n){"use strict";var r=n(4867),o=n(6016),i=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function c(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var u,s={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=n(5448)),u),transformRequest:[function(t,e){return o(e,"Accept"),o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(c(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)||e&&"application/json"===e["Content-Type"]?(c(e,"application/json"),JSON.stringify(t)):t}],transformResponse:[function(t){var e=this.transitional,n=e&&e.silentJSONParsing,o=e&&e.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(a){if("SyntaxError"===t.name)throw i(t,this,"E_JSON_PARSE");throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(t){s.headers[t]={}})),r.forEach(["post","put","patch"],(function(t){s.headers[t]=r.merge(a)})),t.exports=s},1849:function(t){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},5327:function(t,e,n){"use strict";var r=n(4867);function o(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))})))})),i=a.join("&")}if(i){var c=t.indexOf("#");-1!==c&&(t=t.slice(0,c)),t+=(-1===t.indexOf("?")?"?":"&")+i}return t}},7303:function(t){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},4372:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var c=[];c.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&c.push("expires="+new Date(n).toGMTString()),r.isString(o)&&c.push("path="+o),r.isString(i)&&c.push("domain="+i),!0===a&&c.push("secure"),document.cookie=c.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:function(t){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},6268:function(t){"use strict";t.exports=function(t){return"object"==typeof t&&!0===t.isAxiosError}},7985:function(t,e,n){"use strict";var r=n(4867);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},6016:function(t,e,n){"use strict";var r=n(4867);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},4109:function(t,e,n){"use strict";var r=n(4867),o=["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"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),(function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}})),a):a}},8713:function(t){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},4875:function(t,e,n){"use strict";var r=n(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var i={},a=r.version.split(".");function c(t,e){for(var n=e?e.split("."):a,r=t.split("."),o=0;o<3;o++){if(n[o]>r[o])return!0;if(n[o]<r[o])return!1}return!1}o.transitional=function(t,e,n){var o=e&&c(e);function a(t,e){return"[Axios v"+r.version+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,c){if(!1===t)throw new Error(a(r," has been removed in "+e));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,c)}},t.exports={isOlderVersion:c,assertOptions:function(t,e,n){if("object"!=typeof t)throw new TypeError("options must be an object");for(var r=Object.keys(t),o=r.length;o-- >0;){var i=r[o],a=e[i];if(a){var c=t[i],u=void 0===c||a(c,i,t);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:function(t,e,n){"use strict";var r=n(1849),o=Object.prototype.toString;function i(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function c(t){return null!==t&&"object"==typeof t}function u(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function s(t){return"[object Function]"===o.call(t)}function d(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),i(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:i,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:s,isStream:function(t){return c(t)&&s(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:d,merge:function t(){var e={};function n(n,r){u(e[r])&&u(n)?e[r]=t(e[r],n):u(n)?e[r]=t({},n):i(n)?e[r]=n.slice():e[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return e},extend:function(t,e,n){return d(e,(function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t}}},696:function(t){"use strict";t.exports=JSON.parse('{"name":"axios","version":"0.21.2","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},9036:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o;n.r(e),n.d(e,{allMethods:function(){return u},createClient:function(){return Ce},default:function(){return Se},getMethodByHandlingModule:function(){return s},methodActionTypes:function(){return a},methodTypes:function(){return i},moduleNames:function(){return c}});var i={IDENTIFICATION:"identification",SIGNATURE:"signature"},a={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",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-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",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_SIGNATURE:"fi-ftn-advanced-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature"},c={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",idCardSignature:"idCardSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnSignature:"ftnSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature"},u=Object.freeze((r(o={},i.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:c.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:c.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:c.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.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:a.CZ_MOJEID,handlingModule:c.mojeId,supportedCountries:["CZ"]},{actionType:a.FI_FTN_LOGIN,handlingModule:c.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:c.atHandy,supportedCountries:["AT"]}]),r(o,i.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["FI"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["BE"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:c.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.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","RO","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA"]},{actionType:a.OTP_EMAIL,handlingModule:c.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:c.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:c.ftnSignature,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:c.atHandySignature,supportedCountries:["AT"]},{actionType:a.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","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:c.mojeIdSignature,supportedCountries:["CZ"]},{actionType:a.GOOGLE_SIGNATURE,handlingModule:c.googleSignature,supportedCountries:["WORLD"]},{actionType:a.SE_BANKID_SIGNATURE,handlingModule:c.seBankIdSignature,supportedCountries:["SE"]}]),o)),s=function(t,e,n){var r=u[t];if(e&&n){var o=r.find((function(t){return t.handlingModule===e&&(t.supportedCountries.includes(n)||t.supportedCountries.includes("WORLD"))}));if(!o){if(0===r.filter((function(t){return t.handlingModule===e})).length)throw new Error("Could not find matching method configuration for ".concat(t,' module "').concat(e,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(t,'\n module "').concat(e,'".'))}return o}return r.find((function(t){return t.handlingModule===e}))},d=n(2492),l=n.n(d),p=n(9669),f=n.n(p),g=f().CancelToken,h=f().isCancel;f().Cancel,f().interceptors.response.use((function(t){return(e=t.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT","ERROR"].includes(e.status)?Promise.reject(function(t){var e=t.message,n=t.config,r=t.code,o=t.request,i=t.response,a=new Error(e);return a.config=n,r&&(a.code=r),a.request=o,a.response=i,a.isRequestError=!0,a}({message:"Request failed with status code ".concat(t.status),config:t.config,request:t.request,response:t})):t;var e}));var v=function(t){return f()(t)};function y(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function m(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?y(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var b=function(t,e){var n,r=e.modifyRequestSettings,o=t;return"function"==typeof r&&(n=r(o)),n&&(o=l()(o,n)),o},I=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))},n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},e),t))};return Object.freeze({get:e,post:n,CancelToken:g})};function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function E(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.identificationModules,n=void 0===e?[]:e,r=t.signingModules,o=void 0===r?[]:r,i=t.settings,a=void 0===i?{}:i,c=t.i18n,s=t.apiEndpoints,d=t.monitoringService,l=E({},a);l.apiEndpoints=s,c.setLanguage(l.language);var p=function(t){l.countryCode=t},f=function(){return l.countryCode},g=function(){return u},h={};n.forEach((function(t){var e=t({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});h[e.MODULE_NAME]=e}));var v={};return o.forEach((function(t){var e=t({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},h),signature:E({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:p,getCountryCode:f})};function j(t){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function T(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var _=function(t){var e=t.rawSettings,n=t.schema,o=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?T(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e);return Object.keys(n).forEach((function(t){var r=n[t],i=e[t];if(r.required&&void 0===i)throw new Error('Missing required setting "'.concat(t,'"'));if(void 0===i&&(o[t]=r.default),void 0!==o[t]&&void 0!==r.type&&r.type!==j(o[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(j(o[t]),'"'))})),o},x={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(t){var e=t.data&&t.data.redirect_uri;return e?(window.location!==window.top.location?window.top.location.href=e:window.location.href=e,new Promise((function(){}))):t},type:"function"},remoteMonitoringEnabled:{default:!1}},C=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."}'),S=n.t(C,2),k=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."}'),A=n.t(k,2),N=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."}'),P=n.t(N,2),D=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."}'),R=n.t(D,2),L=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."}'),M=n.t(L,2),U=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:S,en:A,et:P,lt:R,lv:M,ru:n.t(U,2)},F=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.currentLanguage,n=void 0===e?"en":e,r=t.locales,o=void 0===r?G:r,i={currentLanguage:n},a="en",c=function(t){i.currentLanguage=t},u=function(){return i.currentLanguage},s=function(t){var e=o[i.currentLanguage];e||(e=o[a]);var n=e[t]||o[a][t];return n||(n=t),n};return Object.freeze({setLanguage:c,t:s,getCurrentLanguage:u})},B=function(t){var e=t.remoteMonitoringEnabled,n=t.apiEndpoints;return{dispatch:function(t){var r=t.message;if(t.data,e){var o=new URLSearchParams;o.append("message",r),v({url:n.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,headers:{Accept:"*/*","Content-Type":"application/x-www-form-urlencoded"},data:o})}}}};function q(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void n(t)}c.done?e(u):Promise.resolve(u).then(r,o)}function z(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){q(i,r,o,a,c,"next",t)}function c(t){q(i,r,o,a,c,"throw",t)}a(void 0)}))}}var H=n(7757),V=n.n(H),J=n(361),K=n.n(J)(),Z=function(t){var e=t;return h(t)&&(e.isCancel=!0),e.response&&e.response.data&&(e.response.data.message&&(e.userMessage=e.response.data.message),e.response.data.errors&&(e.userDetails=e.response.data.errors)),e},W=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.data,n=t.message,r=K({message:n});if(e)r.data=e;else{if(!t.result||!t.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=t.result.data}return r},$=function(t){return t.error},Y=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.shouldFormatResult,r=void 0===n||n;return function(){var e=z(V().mark((function e(){var n,o,i=arguments;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.apply(void 0,i);case 2:if(n=e.sent,!(o=$(n))){e.next=6;break}throw Z(o);case 6:return e.abrupt("return",r?W(n):n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}()};function X(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?X(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var tt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(r){var o=r.coreContext,i=r.apiClient,a=o.i18n,c=o.config,u=o.monitoringService;return Object.freeze({MODULE_NAME:t,start:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Q(Q({},x),n),o=Q(Q({},c),t),s=_({rawSettings:o,schema:r}),d=s.success,l=s.fail,p=s.finished,f=t.language||a.getCurrentLanguage(),g=i.CancelToken.source(),h=g.token,v=function(){var t=z(V().mark((function t(){return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e(Q(Q({},s),{},{language:f,i18n:a,monitoringService:u,cancelToken:h,apiClient:i})).then((function(t){d(t)})).catch((function(t){console&&console.error&&console.error(t),l(Z(t))})).finally(p);case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return v().catch(console.error),Object.freeze({cancel:function(){g.cancel()}})}})}};function et(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function nt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?et(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):et(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var rt=c.idCard,ot=tt(rt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.i18n,c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.apiEndpoints.inCurrentMode.readCard({countryCode:t.countryCode,clientId:t.clientId});return t.nonce&&(e+="?nonce=".concat(t.nonce)),o.get({url:e,cancelToken:t.cancelToken})},u=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=s(i.IDENTIFICATION,rt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},t.next=5,Y(c)(nt(nt({},e),{},{language:r,cancelToken:n})).catch((function(t){throw"ECONNABORTED"===t.code&&(t.userMessage=a.t("id-card-read-timeout")),t}));case 5:return d=t.sent,t.next=8,Y(u)(nt(nt({},e),{},{cancelToken:n,language:r,data:d.data}));case 8:return d=t.sent,t.abrupt("return",d);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0}}),it=function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.fn,r=e.shouldContinue,o=e.interval,i=0,a=function(){var t=z(V().mark((function t(e,c){var u,s;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i+=1,t.prev=1,t.next=4,n();case 4:u=t.sent,s=void 0,t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),u=void 0,s=t.t0;case 12:if(!r({result:u,attempts:i,error:s})){t.next=14;break}return t.abrupt("return",setTimeout(a,o,e,c));case 14:return t.abrupt("return",e({result:u,error:s}));case 15:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(e,n){return t.apply(this,arguments)}}(),t.abrupt("return",new Promise(a));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();function at(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ct(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?at(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):at(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ut=c.smartId,st=tt(ut,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=s(i.IDENTIFICATION,ut);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,ut);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(ct(ct({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(p)(ct(ct({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:ct({},v.data),cancelToken:u,pollInterval:c,language:d});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function dt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function lt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?dt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):dt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var pt=c.mobileId,ft=tt(pt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,v,y;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.language,o=e.apiClient,a=e.started,c=void 0===a?function(){}:a,u=e.idcode,d=e.phone,l=e.pollInterval,p=void 0===l?1e3:l,f=function(t){var e=s(i.IDENTIFICATION,pt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,phone:t.phone,country:t.countryCode,method:e.actionType,lang:t.language},cancelToken:t.cancelToken})},g=function(t){var e=s(i.IDENTIFICATION,pt,t.countryCode);return o.post({url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,timeout:2,lang:t.language},cancelToken:t.cancelToken})},v=function(t){var e=12e4/p,n=0;return it({fn:function(){return g(lt(lt({},t.config),{},{data:t.data,cancelToken:t.cancelToken,language:t.language}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:1e3})},t.next=6,Y(f)(lt(lt({},e),{},{cancelToken:n,language:r,idcode:u,phone:d}));case 6:return y=t.sent,c(y),t.next=10,Y(v)({config:e,data:y.data,cancelToken:n,language:r,pollInterval:p});case 10:return y=t.sent,t.abrupt("return",y);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),gt=c.eParakstsMobile,ht=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},vt=tt(gt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(ht)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=c.frejaEid,It=tt(bt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.started,r=void 0===n?function(){}:n,o=e.idcode,a=e.pollInterval,c=void 0===a?1e3:a,u=e.cancelToken,d=e.language,l=e.apiClient,p=function(t){var e=s(i.IDENTIFICATION,bt);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:t.idcode,country:t.countryCode,method:e.actionType,lang:t.language}})},f=function(t){var e=s(i.IDENTIFICATION,bt);return l.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{token:t.data.token,method:e.actionType,lang:t.language,timeout:2}})},g=function(t){var e=1e5/t.pollInterval,n=0;return it({fn:function(){return f(mt(mt({},t.config),{},{data:t.data,language:t.language,cancelToken:t.cancelToken}))},shouldContinue:function(t){var r=t.result,o=r&&r.data&&r.data.status,i=h(t.error),a=t.error&&!t.error.response&&!i;a&&(n+=1);var c=!1;return t.attempts<e&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},t.next=6,Y(p)(mt(mt({},e),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=t.sent,r(v),t.next=10,Y(g)({config:e,data:mt({},v.data),cancelToken:u,language:d,pollInterval:c});case 10:return v=t.sent,t.abrupt("return",v);case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function Ot(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Et(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ot(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var wt=c.zealId,jt=tt(wt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.cancelToken,r=e.apiClient,o=e.language,a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:t.clientId})})},c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.iframeHolder,n=document.createElement("iframe"),r=t.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",e.innerHTML="";var o=function(t,e,n){var r=new URL(t.data),o=r.searchParams.get("error"),i=r.searchParams.get("code");o?n(o):i?e({data:{code:i}}):n(t.data)},i=new Promise((function(t,e){window.addEventListener("message",(function(n){var i=new URL(r);n.origin===i.origin&&(window.removeEventListener("message",o),o(n,t,e))}))}));return e.appendChild(n),i},u=function(t){var e=s(i.IDENTIFICATION,wt);return r.post({cancelToken:t.cancelToken,url:t.apiEndpoints.inCurrentMode.identityFinish(),data:{method:e.actionType,code:t.data.code,lang:t.language}})},t.next=6,Y(a)(Et(Et({},e),{},{cancelToken:n}));case 6:return d=t.sent,t.next=9,Y(c)(Et(Et({},e),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=t.sent,t.next=12,Y(u)(Et(Et({},e),{},{cancelToken:n,language:o},d));case 12:return d=t.sent,t.abrupt("return",d);case 14:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),Tt=c.mojeId,_t=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},xt=tt(Tt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(_t)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ct=c.finnishTrustNetwork,St=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri,o=t.language;return{data:{redirect_uri:e.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:o})}}},kt=tt(Ct,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,a=e.language,t.next=3,Y(St)({apiEndpoints:r,clientId:o,redirectUri:i,language:a});case 3:return c=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(c));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),At=c.atHandy,Nt=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.redirectUri;return{data:{redirect_uri:e.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Pt=tt(At,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.redirectUri,t.next=3,Y(Nt)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Dt=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.message,n=void 0===e?"":e,r=t.userMessage,o=void 0===r?"":r,i=t.details,a=void 0===i?{}:i;this.message=n,this.userMessage=o,this.details=a,this.stack=(new Error).stack};(Dt.prototype=new Error).name="MethodException";var Rt=Dt,Lt=c.idCardSignature,Mt=function(t){var e=t.iframe,n=new URL(e.src);return{post:function(t){e.contentWindow.postMessage(t,n.origin)}}},Ut=function(t){var e=t.countryCode,n=t.clientId,r=t.apiEndpoints,o=s(i.SIGNATURE,Lt,e);return r.inCurrentMode.idCardIframe({clientId:n,actionType:o.actionType})},Gt=function(t,e){if(t instanceof Error)throw t;var n;throw"no_certificates"===t.result&&(n=e.t("no_certificates")),new Rt({userMessage:n,message:t.message,details:t})},Ft=function(t){var e=t.iframeHolder,n=t.iframeUrl,r=t.i18n,o=document.createElement("iframe");o.setAttribute("src",n),o.setAttribute("referrerpolicy","origin"),o.style.width="0",o.style.height="0",o.style.position="absolute",o.style.border="0",e.innerHTML="";var i=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data,i=r.operation,a=r.error,c=r.status;a||"ready"!==i&&"welcome"!==i||"OK"!==c?e(n.data):t(o)}),{once:!0}),window.setTimeout((function(){return e({message:r.t("createIframeTimeout")})}),3e4)}));return e.appendChild(o),i},Bt=function(t){var e=t.messenger,n=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.certificate||n.data.cert;if("ok"===r.toLowerCase()&&o)t({status:r,certificate:o});else{var i={};!n.data||"user_cancel"!==n.data.result&&"user_cancel"!==n.data.message?i=n.data:i.isCancel=!0,e(i)}}),{once:!0})}));return e.post({operation:"getCertificate"}),n},qt=function(t){var e=t.certificate,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.startSigning();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:e},cancelToken:o})},zt=function(t){var e=t.messenger,n=t.hexDigest,r=new Promise((function(t,e){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.signature_value||n.data.signature;if("ok"===r.toLowerCase()&&o)t({signature:o});else{var i={};n.data&&"user_cancel"===n.data.result?i.isCancel=!0:i=n.data,e(i)}}),{once:!0})}));return e.post({operation:"getSignature",hexDigest:n}),r},Ht=function(t){var e=t.signature,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=i.inCurrentMode.completeSignatureIdCard();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:e},cancelToken:o})},Vt=tt(Lt,function(){var t=z(V().mark((function t(e){var n,r,o,i,a,c;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Y(Ut,{shouldFormatResult:!1})({countryCode:e.countryCode,clientId:e.clientId,apiEndpoints:e.apiEndpoints});case 2:return n=t.sent,t.next=5,Y(Ft,{shouldFormatResult:!1})({iframeUrl:n,iframeHolder:e.iframeHolder,i18n:e.i18n}).catch((function(t){return Gt(t,e.i18n)}));case 5:return r=t.sent,t.next=8,Y(Mt,{shouldFormatResult:!1})({iframe:r});case 8:return o=t.sent,t.next=11,Y(Bt,{shouldFormatResult:!1})({messenger:o}).catch((function(t){return Gt(t,e.i18n)}));case 11:return i=t.sent,t.next=14,Y(qt)({certificate:i.certificate,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient});case 14:return a=t.sent,t.next=17,Y(zt,{shouldFormatResult:!1})({messenger:o,hexDigest:a.data.hexDigest});case 17:return c=t.sent,console.log(c),t.abrupt("return",Y(Ht)({signature:c.signature,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient}));case 20:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{iframeHolder:{type:"object"},docId:{type:"string",required:!0}});function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var Kt=function(t){var e,n=t.pollInterval,r=void 0===n?2e3:n,o=t.maxPollDuration,i=t.fn,a=t.fnArgs;o&&(e=o/r);var c=0;return{start:function(){return it({fn:function(){return i.apply(void 0,function(t){if(Array.isArray(t))return Jt(t)}(t=a)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Jt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jt(t,e):void 0}}(t)||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 t},shouldContinue:function(t){var n=t.result,r=n&&n.data&&n.data.status,o=h(t.error),i=t.error&&!t.error.response&&!o;i&&(c+=1);var a,u,s=!1;return a=t.attempts,(!(u=e)||a<u)&&c<3&&(s=i||"RUNNING"===r),s},interval:r})}}},Zt=c.mobileIdSignature,Wt=function(t){var e=t.phone,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:"mobile-id",phone:e,idcode:n,country:u,lang:s},cancelToken:i})},$t=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:e.token,doc_id:a,timeout:2,lang:o,client_id:c},cancelToken:i})},Yt=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:$t,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Xt=tt(Zt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,l=e.idcode,p=e.phone,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Zt,f),u.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y(Wt)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:l,phone:p,countryCode:f});case 5:return v=t.sent,g(v),t.abrupt("return",Y(Yt)({data:v.data,apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),Qt=c.smartIdSignature,te=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:"smart-id",idcode:n,country:u,lang:s},cancelToken:i})},ee=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c,timeout:2},cancelToken:i})},ne=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,maxPollDuration:12e4,fn:ee,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},re=tt(Qt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.countryCode,g=e.started,h=s(i.SIGNATURE,Qt,f),d.dispatch({message:"".concat(h.actionType,": signing started")}),t.next=5,Y(te)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,countryCode:f,contractId:o});case 5:return v=t.sent,g(v),t.abrupt("return",Y(ne)({data:v.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),oe=c.evroTrustSignature,ie=function(t){var e=t.contractId,n=t.idcode,r=t.clientId,o=t.docId,i=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.countryCode,s=t.language,d=t.email,l=t.phone,p=t.actionType,f=a.inCurrentMode.startSigning();return c.post({url:f,withCredentials:!1,data:{doc_id:o,contract_id:e,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:u,lang:s},cancelToken:i})},ae=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:e.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},ce=function(t){var e=t.data,n=t.apiClient,r=t.apiEndpoints,o=t.language,i=t.cancelToken,a=t.docId,c=t.clientId;return Kt({pollInterval:2e3,fn:ae,fnArgs:[{data:e,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},ue=tt(oe,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g,h,v,y,m;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.contractId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,d=e.monitoringService,l=e.language,p=e.idcode,f=e.phone,g=e.email,h=e.countryCode,v=e.started,y=s(i.SIGNATURE,oe,h),d.dispatch({message:"".concat(y.actionType,": signing started")}),t.next=5,Y(ie)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,phone:f,email:g,countryCode:h,contractId:o,actionType:y.actionType});case 5:return m=t.sent,v(m),t.abrupt("return",Y(ce)({data:m.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),se=c.otpSignature,de=function(t){var e=t.apiClient,n=t.apiEndpoints,r=t.language,o=t.cancelToken,i=t.docId,a=t.clientId,c=t.emailToken,u=t.smsToken;return e.post({url:n.inCurrentMode.completeOtp(),withCredentials:!1,data:{doc_id:i,timeout:2,lang:r,client_id:a,email_token:c,sms_token:u},cancelToken:o})},le=tt(se,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,l,p,f,g;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.clientId,r=e.docId,o=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.monitoringService,d=e.language,l=e.countryCode,p=e.emailToken,f=e.smsToken,g=s(i.SIGNATURE,se,l),console.log(g),u.dispatch({message:"".concat(g.actionType,": signing started")}),t.abrupt("return",Y(de)({apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n,emailToken:p,smsToken:f}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),pe={docId:{type:"string",required:!0}},fe=function(t){var e=t.moduleName,n=t.createModuleCreator,r=function(t){var e=t.contractId,n=t.clientId,r=t.docId,o=t.cancelToken,i=t.apiEndpoints,a=t.apiClient,c=t.language,u=t.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:e,client_id:n,sign_type:u,lang:c},cancelToken:o})};return n(e,function(){var t=z(V().mark((function t(n){var o,a,c,u,d,l,p,f,g,h,v,y;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=n.clientId,a=n.docId,c=n.contractId,u=n.cancelToken,d=n.apiEndpoints,l=n.apiClient,p=n.monitoringService,f=n.language,g=n.countryCode,h=n.redirect,v=s(i.SIGNATURE,e,g),p.dispatch({message:"".concat(v.actionType,": signing started")}),t.next=5,Y(r)({contractId:c,clientId:o,docId:a,cancelToken:u,apiEndpoints:d,apiClient:l,language:f,actionType:v.actionType});case 5:return y=t.sent,t.abrupt("return",Y(h,{shouldFormatResult:!1})(y));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),pe)},ge=fe({moduleName:c.eParakstsMobileSignature,createModuleCreator:tt}),he=fe({moduleName:c.ftnSignature,createModuleCreator:tt}),ve=fe({moduleName:c.atHandySignature,createModuleCreator:tt}),ye=c.zealIdSignature,me=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},be=tt(ye,function(){var t=z(V().mark((function t(e){var n,r,o,i,a;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=e.redirect,r=e.apiEndpoints,o=e.clientId,i=e.docId,t.next=3,Y(me)({apiEndpoints:r,clientId:o,docId:i});case 3:return a=t.sent,t.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),Ie=fe({moduleName:c.mojeIdSignature,createModuleCreator:tt}),Oe=fe({moduleName:c.googleSignature,createModuleCreator:tt}),Ee=fe({moduleName:c.seBankIdSignature,createModuleCreator:tt}),we=Object.freeze({sandbox:"sandbox",production:"production"});function je(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?je(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var _e=function(t,e,n){var r={};return Object.keys(t).forEach((function(o){r[o]=function(t,e,n){return function(r){var o=Te(Te({},e),r);return n?n(t(o)):t(o)}}(t[o],e,n)})),r},xe=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Te({base:function(t){return t.baseUrl},readCard:function(t){var n=t.countryCode,r=void 0===n?e.countryCode.toLowerCase():n,o=t.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(o,"/read-card")},eParakstsMobile:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/lv-eparaksts-mobile-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},zealIdIframeUrl:function(t){var e=t.baseUrl,n=t.clientId;return"".concat(e,"/api/identity/").concat(n,"/zealid/get_iframe_url")},mojeId:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/start/mojeid?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},finnishTrustNetwork:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri,o=t.language;return"".concat(e,"/oauth/start/finnish-ftn-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&lang=").concat(o)},atHandy:function(t){var e=t.baseUrl,n=t.clientId,r=t.redirectUri;return"".concat(e,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login")},idCardIframe:function(t){var e=t.baseUrl,n=t.clientId,r=t.actionType;return"".concat(e,"/signatures/integration/").concat(n,"/").concat(r)},startSigning:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/start-signing")},completeSignatureIdCard:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/id-card/complete")},completeSignatureMobileId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/sk-smart-id/complete")},completeSignatureEvrotrust:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/evrotrust-signature/complete")},completeOtp:function(t){var e=t.baseUrl;return"".concat(e,"/api/signatures/non-qualified/complete")},eideasyMonitoring:function(t){var e=t.baseUrl;return"".concat(e,"/confirm_progress")},startZealIdSignature:function(t){var e=t.baseUrl,n=t.clientId,r=t.docId;return"".concat(e,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)}},n),i=(r(t={},we.production,Te({},_e(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"},e.modifyEndpointUrl))),r(t,we.sandbox,Te({},_e(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"},e.modifyEndpointUrl))),t);return{get inCurrentMode(){var t=e.sandbox?we.sandbox:we.production;return i[t]}}},Ce=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_({rawSettings:t,schema:x}),n=F({currentLanguage:"en"}),r=xe({countryCode:e.countryCode,sandbox:e.sandbox,modifyEndpointUrl:e.modifyEndpointUrl},e.apiEndpoints),o=B({remoteMonitoringEnabled:e.remoteMonitoringEnabled,apiEndpoints:r});return w({settings:e,i18n:n,monitoringService:o,apiEndpoints:r,identificationModules:[ot,st,ft,vt,It,jt,xt,kt,Pt],signingModules:[Vt,Xt,re,ue,le,ge,he,ve,be,Ie,Oe,Ee]})},Se=Ce},8552:function(t,e,n){var r=n(852)(n(5639),"DataView");t.exports=r},1989:function(t,e,n){var r=n(1789),o=n(401),i=n(7667),a=n(1327),c=n(1866);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},8407:function(t,e,n){var r=n(7040),o=n(4125),i=n(2117),a=n(7518),c=n(4705);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},7071:function(t,e,n){var r=n(852)(n(5639),"Map");t.exports=r},3369:function(t,e,n){var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),c=n(5265);function u(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,t.exports=u},3818:function(t,e,n){var r=n(852)(n(5639),"Promise");t.exports=r},8525:function(t,e,n){var r=n(852)(n(5639),"Set");t.exports=r},6384:function(t,e,n){var r=n(8407),o=n(7465),i=n(3779),a=n(7599),c=n(4758),u=n(4309);function s(t){var e=this.__data__=new r(t);this.size=e.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,t.exports=s},2705:function(t,e,n){var r=n(5639).Symbol;t.exports=r},1149:function(t,e,n){var r=n(5639).Uint8Array;t.exports=r},577:function(t,e,n){var r=n(852)(n(5639),"WeakMap");t.exports=r},6874:function(t){t.exports=function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}},7412:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}},4963:function(t){t.exports=function(t,e){for(var n=-1,r=null==t?0:t.length,o=0,i=[];++n<r;){var a=t[n];e(a,n,t)&&(i[o++]=a)}return i}},4636:function(t,e,n){var r=n(2545),o=n(5694),i=n(1469),a=n(4144),c=n(5776),u=n(6719),s=Object.prototype.hasOwnProperty;t.exports=function(t,e){var n=i(t),d=!n&&o(t),l=!n&&!d&&a(t),p=!n&&!d&&!l&&u(t),f=n||d||l||p,g=f?r(t.length,String):[],h=g.length;for(var v in t)!e&&!s.call(t,v)||f&&("length"==v||l&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||g.push(v);return g}},2488:function(t){t.exports=function(t,e){for(var n=-1,r=e.length,o=t.length;++n<r;)t[o+n]=e[n];return t}},6556:function(t,e,n){var r=n(9465),o=n(7813);t.exports=function(t,e,n){(void 0!==n&&!o(t[e],n)||void 0===n&&!(e in t))&&r(t,e,n)}},4865:function(t,e,n){var r=n(9465),o=n(7813),i=Object.prototype.hasOwnProperty;t.exports=function(t,e,n){var a=t[e];i.call(t,e)&&o(a,n)&&(void 0!==n||e in t)||r(t,e,n)}},8470:function(t,e,n){var r=n(7813);t.exports=function(t,e){for(var n=t.length;n--;)if(r(t[n][0],e))return n;return-1}},4037:function(t,e,n){var r=n(8363),o=n(3674);t.exports=function(t,e){return t&&r(e,o(e),t)}},3886:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t,e){return t&&r(e,o(e),t)}},9465:function(t,e,n){var r=n(8777);t.exports=function(t,e,n){"__proto__"==e&&r?r(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},5990:function(t,e,n){var r=n(6384),o=n(7412),i=n(4865),a=n(4037),c=n(3886),u=n(4626),s=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),g=n(4160),h=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),O=n(3218),E=n(2928),w=n(3674),j=n(1704),T="[object Arguments]",_="[object Function]",x="[object Object]",C={};C[T]=C["[object Array]"]=C["[object ArrayBuffer]"]=C["[object DataView]"]=C["[object Boolean]"]=C["[object Date]"]=C["[object Float32Array]"]=C["[object Float64Array]"]=C["[object Int8Array]"]=C["[object Int16Array]"]=C["[object Int32Array]"]=C["[object Map]"]=C["[object Number]"]=C[x]=C["[object RegExp]"]=C["[object Set]"]=C["[object String]"]=C["[object Symbol]"]=C["[object Uint8Array]"]=C["[object Uint8ClampedArray]"]=C["[object Uint16Array]"]=C["[object Uint32Array]"]=!0,C["[object Error]"]=C[_]=C["[object WeakMap]"]=!1,t.exports=function t(e,n,S,k,A,N){var P,D=1&n,R=2&n,L=4&n;if(S&&(P=A?S(e,k,A,N):S(e)),void 0!==P)return P;if(!O(e))return e;var M=m(e);if(M){if(P=h(e),!D)return s(e,P)}else{var U=g(e),G=U==_||"[object GeneratorFunction]"==U;if(b(e))return u(e,D);if(U==x||U==T||G&&!A){if(P=R||G?{}:y(e),!D)return R?l(e,c(P,e)):d(e,a(P,e))}else{if(!C[U])return A?e:{};P=v(e,U,D)}}N||(N=new r);var F=N.get(e);if(F)return F;N.set(e,P),E(e)?e.forEach((function(r){P.add(t(r,n,S,r,e,N))})):I(e)&&e.forEach((function(r,o){P.set(o,t(r,n,S,o,e,N))}));var B=M?void 0:(L?R?f:p:R?j:w)(e);return o(B||e,(function(r,o){B&&(r=e[o=r]),i(P,o,t(r,n,S,o,e,N))})),P}},3118:function(t,e,n){var r=n(3218),o=Object.create,i=function(){function t(){}return function(e){if(!r(e))return{};if(o)return o(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();t.exports=i},8483:function(t,e,n){var r=n(5063)();t.exports=r},8866:function(t,e,n){var r=n(2488),o=n(1469);t.exports=function(t,e,n){var i=e(t);return o(t)?i:r(i,n(t))}},4239:function(t,e,n){var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":a&&a in Object(t)?o(t):i(t)}},9454:function(t,e,n){var r=n(4239),o=n(7005);t.exports=function(t){return o(t)&&"[object Arguments]"==r(t)}},5588:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Map]"==r(t)}},8458:function(t,e,n){var r=n(3560),o=n(5346),i=n(3218),a=n(346),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,l=s.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?p:c).test(a(t))}},9221:function(t,e,n){var r=n(4160),o=n(7005);t.exports=function(t){return o(t)&&"[object Set]"==r(t)}},8749:function(t,e,n){var r=n(4239),o=n(1780),i=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,t.exports=function(t){return i(t)&&o(t.length)&&!!a[r(t)]}},280:function(t,e,n){var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return o(t);var e=[];for(var n in Object(t))i.call(t,n)&&"constructor"!=n&&e.push(n);return e}},313:function(t,e,n){var r=n(3218),o=n(5726),i=n(3498),a=Object.prototype.hasOwnProperty;t.exports=function(t){if(!r(t))return i(t);var e=o(t),n=[];for(var c in t)("constructor"!=c||!e&&a.call(t,c))&&n.push(c);return n}},2980:function(t,e,n){var r=n(6384),o=n(6556),i=n(8483),a=n(9783),c=n(3218),u=n(1704),s=n(6390);t.exports=function t(e,n,d,l,p){e!==n&&i(n,(function(i,u){if(p||(p=new r),c(i))a(e,n,u,d,t,l,p);else{var f=l?l(s(e,u),i,u+"",e,n,p):void 0;void 0===f&&(f=i),o(e,u,f)}}),u)}},9783:function(t,e,n){var r=n(6556),o=n(4626),i=n(7133),a=n(278),c=n(8517),u=n(5694),s=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),g=n(8630),h=n(6719),v=n(6390),y=n(9881);t.exports=function(t,e,n,m,b,I,O){var E=v(t,n),w=v(e,n),j=O.get(w);if(j)r(t,n,j);else{var T=I?I(E,w,n+"",t,e,O):void 0,_=void 0===T;if(_){var x=s(w),C=!x&&l(w),S=!x&&!C&&h(w);T=w,x||C||S?s(E)?T=E:d(E)?T=a(E):C?(_=!1,T=o(w,!0)):S?(_=!1,T=i(w,!0)):T=[]:g(w)||u(w)?(T=E,u(E)?T=y(E):f(E)&&!p(E)||(T=c(w))):_=!1}_&&(O.set(w,T),b(T,w,m,I,O),O.delete(w)),r(t,n,T)}}},5976:function(t,e,n){var r=n(6557),o=n(5357),i=n(61);t.exports=function(t,e){return i(o(t,e,r),t+"")}},6560:function(t,e,n){var r=n(5703),o=n(8777),i=n(6557),a=o?function(t,e){return o(t,"toString",{configurable:!0,enumerable:!1,value:r(e),writable:!0})}:i;t.exports=a},2545:function(t){t.exports=function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}},1717:function(t){t.exports=function(t){return function(e){return t(e)}}},4318:function(t,e,n){var r=n(1149);t.exports=function(t){var e=new t.constructor(t.byteLength);return new r(e).set(new r(t)),e}},4626:function(t,e,n){t=n.nmd(t);var r=n(5639),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;t.exports=function(t,e){if(e)return t.slice();var n=t.length,r=c?c(n):new t.constructor(n);return t.copy(r),r}},7157:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}},3147:function(t){var e=/\w*$/;t.exports=function(t){var n=new t.constructor(t.source,e.exec(t));return n.lastIndex=t.lastIndex,n}},419:function(t,e,n){var r=n(2705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;t.exports=function(t){return i?Object(i.call(t)):{}}},7133:function(t,e,n){var r=n(4318);t.exports=function(t,e){var n=e?r(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},278:function(t){t.exports=function(t,e){var n=-1,r=t.length;for(e||(e=Array(r));++n<r;)e[n]=t[n];return e}},8363:function(t,e,n){var r=n(4865),o=n(9465);t.exports=function(t,e,n,i){var a=!n;n||(n={});for(var c=-1,u=e.length;++c<u;){var s=e[c],d=i?i(n[s],t[s],s,n,t):void 0;void 0===d&&(d=t[s]),a?o(n,s,d):r(n,s,d)}return n}},8805:function(t,e,n){var r=n(8363),o=n(9551);t.exports=function(t,e){return r(t,o(t),e)}},1911:function(t,e,n){var r=n(8363),o=n(1442);t.exports=function(t,e){return r(t,o(t),e)}},4429:function(t,e,n){var r=n(5639)["__core-js_shared__"];t.exports=r},1463:function(t,e,n){var r=n(5976),o=n(6612);t.exports=function(t){return r((function(e,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),e=Object(e);++r<i;){var u=n[r];u&&t(e,u,r,a)}return e}))}},5063:function(t){t.exports=function(t){return function(e,n,r){for(var o=-1,i=Object(e),a=r(e),c=a.length;c--;){var u=a[t?c:++o];if(!1===n(i[u],u,i))break}return e}}},8777:function(t,e,n){var r=n(852),o=function(){try{var t=r(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=o},1957:function(t,e,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;t.exports=r},8234:function(t,e,n){var r=n(8866),o=n(9551),i=n(3674);t.exports=function(t){return r(t,i,o)}},6904:function(t,e,n){var r=n(8866),o=n(1442),i=n(1704);t.exports=function(t){return r(t,i,o)}},5050:function(t,e,n){var r=n(7019);t.exports=function(t,e){var n=t.__data__;return r(e)?n["string"==typeof e?"string":"hash"]:n.map}},852:function(t,e,n){var r=n(8458),o=n(7801);t.exports=function(t,e){var n=o(t,e);return r(n)?n:void 0}},5924:function(t,e,n){var r=n(5569)(Object.getPrototypeOf,Object);t.exports=r},9607:function(t,e,n){var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;t.exports=function(t){var e=i.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=a.call(t);return r&&(e?t[c]=n:delete t[c]),o}},9551:function(t,e,n){var r=n(4963),o=n(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(t){return null==t?[]:(t=Object(t),r(a(t),(function(e){return i.call(t,e)})))}:o;t.exports=c},1442:function(t,e,n){var r=n(2488),o=n(5924),i=n(9551),a=n(479),c=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)r(e,i(t)),t=o(t);return e}:a;t.exports=c},4160:function(t,e,n){var r=n(8552),o=n(7071),i=n(3818),a=n(8525),c=n(577),u=n(4239),s=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",h=s(r),v=s(o),y=s(i),m=s(a),b=s(c),I=u;(r&&I(new r(new ArrayBuffer(1)))!=g||o&&I(new o)!=d||i&&I(i.resolve())!=l||a&&I(new a)!=p||c&&I(new c)!=f)&&(I=function(t){var e=u(t),n="[object Object]"==e?t.constructor:void 0,r=n?s(n):"";if(r)switch(r){case h:return g;case v:return d;case y:return l;case m:return p;case b:return f}return e}),t.exports=I},7801:function(t){t.exports=function(t,e){return null==t?void 0:t[e]}},1789:function(t,e,n){var r=n(4536);t.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(t){t.exports=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}},7667:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;if(r){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(e,t)?e[t]:void 0}},1327:function(t,e,n){var r=n(4536),o=Object.prototype.hasOwnProperty;t.exports=function(t){var e=this.__data__;return r?void 0!==e[t]:o.call(e,t)}},1866:function(t,e,n){var r=n(4536);t.exports=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=r&&void 0===e?"__lodash_hash_undefined__":e,this}},3824:function(t){var e=Object.prototype.hasOwnProperty;t.exports=function(t){var n=t.length,r=new t.constructor(n);return n&&"string"==typeof t[0]&&e.call(t,"index")&&(r.index=t.index,r.input=t.input),r}},9148:function(t,e,n){var r=n(4318),o=n(7157),i=n(3147),a=n(419),c=n(7133);t.exports=function(t,e,n){var u=t.constructor;switch(e){case"[object ArrayBuffer]":return r(t);case"[object Boolean]":case"[object Date]":return new u(+t);case"[object DataView]":return o(t,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 c(t,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(t);case"[object RegExp]":return i(t);case"[object Set]":return new u;case"[object Symbol]":return a(t)}}},8517:function(t,e,n){var r=n(3118),o=n(5924),i=n(5726);t.exports=function(t){return"function"!=typeof t.constructor||i(t)?{}:r(o(t))}},5776:function(t){var e=/^(?:0|[1-9]\d*)$/;t.exports=function(t,n){var r=typeof t;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&e.test(t))&&t>-1&&t%1==0&&t<n}},6612:function(t,e,n){var r=n(7813),o=n(8612),i=n(5776),a=n(3218);t.exports=function(t,e,n){if(!a(n))return!1;var c=typeof e;return!!("number"==c?o(n)&&i(e,n.length):"string"==c&&e in n)&&r(n[e],t)}},7019:function(t){t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},5346:function(t,e,n){var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";t.exports=function(t){return!!i&&i in t}},5726:function(t){var e=Object.prototype;t.exports=function(t){var n=t&&t.constructor;return t===("function"==typeof n&&n.prototype||e)}},7040:function(t){t.exports=function(){this.__data__=[],this.size=0}},4125:function(t,e,n){var r=n(8470),o=Array.prototype.splice;t.exports=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():o.call(e,n,1),--this.size,0))}},2117:function(t,e,n){var r=n(8470);t.exports=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]}},7518:function(t,e,n){var r=n(8470);t.exports=function(t){return r(this.__data__,t)>-1}},4705:function(t,e,n){var r=n(8470);t.exports=function(t,e){var n=this.__data__,o=r(n,t);return o<0?(++this.size,n.push([t,e])):n[o][1]=e,this}},4785:function(t,e,n){var r=n(1989),o=n(8407),i=n(7071);t.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(t,e,n){var r=n(5050);t.exports=function(t){var e=r(this,t).delete(t);return this.size-=e?1:0,e}},6e3:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).get(t)}},9916:function(t,e,n){var r=n(5050);t.exports=function(t){return r(this,t).has(t)}},5265:function(t,e,n){var r=n(5050);t.exports=function(t,e){var n=r(this,t),o=n.size;return n.set(t,e),this.size+=n.size==o?0:1,this}},4536:function(t,e,n){var r=n(852)(Object,"create");t.exports=r},6916:function(t,e,n){var r=n(5569)(Object.keys,Object);t.exports=r},3498:function(t){t.exports=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}},1167:function(t,e,n){t=n.nmd(t);var r=n(1957),o=e&&!e.nodeType&&e,i=o&&t&&!t.nodeType&&t,a=i&&i.exports===o&&r.process,c=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(t){}}();t.exports=c},2333:function(t){var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},5569:function(t){t.exports=function(t,e){return function(n){return t(e(n))}}},5357:function(t,e,n){var r=n(6874),o=Math.max;t.exports=function(t,e,n){return e=o(void 0===e?t.length-1:e,0),function(){for(var i=arguments,a=-1,c=o(i.length-e,0),u=Array(c);++a<c;)u[a]=i[e+a];a=-1;for(var s=Array(e+1);++a<e;)s[a]=i[a];return s[e]=n(u),r(t,this,s)}}},5639:function(t,e,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();t.exports=i},6390:function(t){t.exports=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}},61:function(t,e,n){var r=n(6560),o=n(1275)(r);t.exports=o},1275:function(t){var e=Date.now;t.exports=function(t){var n=0,r=0;return function(){var o=e(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}},7465:function(t,e,n){var r=n(8407);t.exports=function(){this.__data__=new r,this.size=0}},3779:function(t){t.exports=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}},7599:function(t){t.exports=function(t){return this.__data__.get(t)}},4758:function(t){t.exports=function(t){return this.__data__.has(t)}},4309:function(t,e,n){var r=n(8407),o=n(7071),i=n(3369);t.exports=function(t,e){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(t,e),this.size=n.size,this}},346:function(t){var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},361:function(t,e,n){var r=n(5990);t.exports=function(t){return r(t,5)}},5703:function(t){t.exports=function(t){return function(){return t}}},7813:function(t){t.exports=function(t,e){return t===e||t!=t&&e!=e}},6557:function(t){t.exports=function(t){return t}},5694:function(t,e,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(t){return o(t)&&a.call(t,"callee")&&!c.call(t,"callee")};t.exports=u},1469:function(t){var e=Array.isArray;t.exports=e},8612:function(t,e,n){var r=n(3560),o=n(1780);t.exports=function(t){return null!=t&&o(t.length)&&!r(t)}},9246:function(t,e,n){var r=n(8612),o=n(7005);t.exports=function(t){return o(t)&&r(t)}},4144:function(t,e,n){t=n.nmd(t);var r=n(5639),o=n(5062),i=e&&!e.nodeType&&e,a=i&&t&&!t.nodeType&&t,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;t.exports=u},3560:function(t,e,n){var r=n(4239),o=n(3218);t.exports=function(t){if(!o(t))return!1;var e=r(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1780:function(t){t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},6688:function(t,e,n){var r=n(5588),o=n(1717),i=n(1167),a=i&&i.isMap,c=a?o(a):r;t.exports=c},3218:function(t){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},7005:function(t){t.exports=function(t){return null!=t&&"object"==typeof t}},8630:function(t,e,n){var r=n(4239),o=n(5924),i=n(7005),a=Function.prototype,c=Object.prototype,u=a.toString,s=c.hasOwnProperty,d=u.call(Object);t.exports=function(t){if(!i(t)||"[object Object]"!=r(t))return!1;var e=o(t);if(null===e)return!0;var n=s.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}},2928:function(t,e,n){var r=n(9221),o=n(1717),i=n(1167),a=i&&i.isSet,c=a?o(a):r;t.exports=c},6719:function(t,e,n){var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,c=a?o(a):r;t.exports=c},3674:function(t,e,n){var r=n(4636),o=n(280),i=n(8612);t.exports=function(t){return i(t)?r(t):o(t)}},1704:function(t,e,n){var r=n(4636),o=n(313),i=n(8612);t.exports=function(t){return i(t)?r(t,!0):o(t)}},2492:function(t,e,n){var r=n(2980),o=n(1463)((function(t,e,n){r(t,e,n)}));t.exports=o},479:function(t){t.exports=function(){return[]}},5062:function(t){t.exports=function(){return!1}},9881:function(t,e,n){var r=n(8363),o=n(1704);t.exports=function(t){return r(t,o(t))}},5666:function(t){var e=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=T(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(t,e,n);if("normal"===u.type){if(r=n.done?g:p,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function d(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var l="suspendedStart",p="suspendedYield",f="executing",g="completed",h={};function v(){}function y(){}function m(){}var b={};b[i]=function(){return this};var I=Object.getPrototypeOf,O=I&&I(I(S([])));O&&O!==n&&r.call(O,i)&&(b=O);var E=m.prototype=v.prototype=Object.create(b);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function j(t,e){function n(o,i,a,c){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return n("throw",t,a,c)}))}c(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function T(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,T(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=d(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function S(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:k}}function k(){return{value:e,done:!0}}return y.prototype=E.constructor=m,m.constructor=y,y.displayName=u(m,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,u(t,c,"GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},w(j.prototype),j.prototype[a]=function(){return this},t.AsyncIterator=j,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new j(s(e,n,r,o),i);return t.isGeneratorFunction(n)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},w(E),u(E,c,"Generator"),E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=S,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(x),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:S(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}}},r={};function o(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t](i,i.exports,o),i.loaded=!0,i.exports}return o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},e=Object.getPrototypeOf?function(t){return Object.getPrototypeOf(t)}:function(t){return t.__proto__},o.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 i=Object.create(null);o.r(i);var a={};t=t||[null,e({}),e([]),e(e)];for(var c=2&r&&n;"object"==typeof c&&!~t.indexOf(c);c=e(c))Object.getOwnPropertyNames(c).forEach((function(t){a[t]=function(){return n[t]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(t,e){for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t},o(9036)}()}));
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eid-easy/eideasy-browser-client",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.3",
|
|
4
4
|
"description": "eideasy-browser-client is a handy tool that you can use to handle the client side parts of the identification and signing flows when using eID Easy API.",
|
|
5
5
|
"main": "dist/eideasy-browser-client.js",
|
|
6
|
-
"sri": "sha256-
|
|
7
|
-
"productionReleaseVersion": "2.13.
|
|
8
|
-
"productionReleaseSri": "sha256-
|
|
6
|
+
"sri": "sha256-SGmnD31MkTjHKUYOK0LWWiUByOk1m9eNdc1YFsCkWhk=",
|
|
7
|
+
"productionReleaseVersion": "2.13.3",
|
|
8
|
+
"productionReleaseSri": "sha256-SGmnD31MkTjHKUYOK0LWWiUByOk1m9eNdc1YFsCkWhk=",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist"
|
|
11
11
|
],
|