@eid-easy/eideasy-widget 2.3.0-beta.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +45 -23
- package/dist/full/eideasy-widget.common.js +573 -536
- package/dist/full/eideasy-widget.common.js.map +1 -1
- package/dist/full/eideasy-widget.umd.js +561 -524
- package/dist/full/eideasy-widget.umd.js.map +1 -1
- package/dist/full/eideasy-widget.umd.min.js +3 -3
- package/dist/full/eideasy-widget.umd.min.js.map +1 -1
- package/dist/index.html +23 -3
- package/package.json +5 -5
|
@@ -1964,7 +1964,7 @@ module.exports = {
|
|
|
1964
1964
|
/***/ "0ea0":
|
|
1965
1965
|
/***/ (function(module, exports, __webpack_require__) {
|
|
1966
1966
|
|
|
1967
|
-
/* WEBPACK VAR INJECTION */(function(process) {!function(t,e){ true?module.exports=e():undefined}(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 p=t.data,l=t.headers,f=t.responseType;r.isFormData(p)&&delete l["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.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&&(l[t.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[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)})),p||(p=null),g.send(p)}))}},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 p=t;n.length;){var l=n.shift(),f=n.shift();try{p=l(p)}catch(t){f(t);break}}try{o=a(p)}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),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(p,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"}]}')},4490: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 Se},default:function(){return ke},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"},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"},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"]}]),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),p=n.n(d),l=n(9669),f=n.n(l),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"].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=p()(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,p=E({},a);p.apiEndpoints=s,c.setLanguage(p.language);var l=function(t){p.countryCode=t},f=function(){return p.countryCode},g=function(){return u},h={};n.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});h[e.MODULE_NAME]=e}));var v={};return o.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},h),signature:E({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:l,getCountryCode:f})};function T(t){return(T="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 j(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?j(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(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!==T(o[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(T(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 ordnungsgemäß 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."}'),L=n.t(D,2),R=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(R,2),U=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:S,en:A,et:P,lt:L,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},$=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},W=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=W(n))){e.next=6;break}throw Z(o);case 6:return e.abrupt("return",r?$(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,p=s.fail,l=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),p(Z(t))})).finally(l);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,p,l,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,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,ut);return p.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 p.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(l)(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 pt(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 lt=c.mobileId,ft=tt(lt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,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,p=e.pollInterval,l=void 0===p?1e3:p,f=function(t){var e=s(i.IDENTIFICATION,lt,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,lt,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/l,n=0;return it({fn:function(){return g(pt(pt({},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)(pt(pt({},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:l});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,p,l,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,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,bt);return p.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 p.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(l)(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,Tt=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}}),jt=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(jt,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 Lt=Dt,Rt=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,Rt,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 Lt({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,o=r.result,i=r.cert;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{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,o=r.result,i=r.signature;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{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(Rt,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.cert,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,t.abrupt("return",Y(Ht)({signature:c.signature,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient}));case 19: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,$t=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})},Wt=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:Wt,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,p,l,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,p=e.idcode,l=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($t)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:p,phone:l,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,p,l,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,p=e.language,l=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:p,idcode:l,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:p,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,p=t.phone,l=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:l,idcode:n,email:d,phone:p,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,p,l,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,p=e.language,l=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:p,idcode:l,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:p,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})},pe=tt(se,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,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,p=e.countryCode,l=e.emailToken,f=e.smsToken,g=s(i.SIGNATURE,se,p),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:l,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"}}),le=c.eParakstsMobileSignature,fe=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})},ge=tt(le,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;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,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,le,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(fe)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),he=c.ftnSignature,ve=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})},ye=tt(he,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;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,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,he,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(ve)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),me=c.atHandySignature,be=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})},Ie=tt(me,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;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,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,me,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(be)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),Oe=c.zealIdSignature,Ee=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},we=tt(Oe,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(Ee)({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)}}()),Te=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 _e(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 xe=function(t,e){var n={};return Object.keys(t).forEach((function(r){n[r]=function(t,e){return function(n){var r=_e(_e({},e),n);return t(r)}}(t[r],e)})),n},Ce=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=_e({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={},Te.production,_e({},xe(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"}))),r(t,Te.sandbox,_e({},xe(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"}))),t);return{get inCurrentMode(){var t=e.sandbox?Te.sandbox:Te.production;return i[t]}}},Se=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_({rawSettings:t,schema:x}),n=F({currentLanguage:"en"}),r=Ce({countryCode:e.countryCode,sandbox:e.sandbox},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,Tt,xt,kt,Pt],signingModules:[Vt,Xt,re,ue,pe,ge,ye,Ie,we]})},ke=Se},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),p=!n&&!d&&a(t),l=!n&&!d&&!p&&u(t),f=n||d||p||l,g=f?r(t.length,String):[],h=g.length;for(var v in t)!e&&!s.call(t,v)||f&&("length"==v||p&&("offset"==v||"parent"==v)||l&&("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),p=n(1911),l=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),T=n(1704),j="[object Arguments]",_="[object Function]",x="[object Object]",C={};C[j]=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,L=2&n,R=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==j||G&&!A){if(P=L||G?{}:y(e),!D)return L?p(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:(R?L?f:l:L?T: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,p=s.hasOwnProperty,l=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?l: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,p,l){e!==n&&i(n,(function(i,u){if(l||(l=new r),c(i))a(e,n,u,d,t,p,l);else{var f=p?p(s(e,u),i,u+"",e,n,l):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),p=n(4144),l=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),T=O.get(w);if(T)r(t,n,T);else{var j=I?I(E,w,n+"",t,e,O):void 0,_=void 0===j;if(_){var x=s(w),C=!x&&p(w),S=!x&&!C&&h(w);j=w,x||C||S?s(E)?j=E:d(E)?j=a(E):C?(_=!1,j=o(w,!0)):S?(_=!1,j=i(w,!0)):j=[]:g(w)||u(w)?(j=E,u(E)?j=y(E):f(E)&&!l(E)||(j=c(w))):_=!1}_&&(O.set(w,j),b(j,w,m,I,O),O.delete(w)),r(t,n,j)}}},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]",p="[object Promise]",l="[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())!=p||a&&I(new a)!=l||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 p;case m:return l;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=p;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=j(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===p)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:l,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 p="suspendedStart",l="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 T(t,e){function n(o,i,a,c){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(p).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 j(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,j(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(T.prototype),T.prototype[a]=function(){return this},t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new T(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(4490)}()}));
|
|
1967
|
+
/* WEBPACK VAR INJECTION */(function(process) {!function(t,e){ true?module.exports=e():undefined}(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 p=t.data,l=t.headers,f=t.responseType;r.isFormData(p)&&delete l["Content-Type"];var g=new XMLHttpRequest;if(t.auth){var h=t.auth.username||"",v=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";l.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&&(l[t.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(l,(function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[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)})),p||(p=null),g.send(p)}))}},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 p=t;n.length;){var l=n.shift(),f=n.shift();try{p=l(p)}catch(t){f(t);break}}try{o=a(p)}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),p=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===d.indexOf(t)}));return r.forEach(p,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"}]}')},4490: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 Se},default:function(){return ke},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"},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"},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"]}]),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),p=n.n(d),l=n(9669),f=n.n(l),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"].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=p()(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,p=E({},a);p.apiEndpoints=s,c.setLanguage(p.language);var l=function(t){p.countryCode=t},f=function(){return p.countryCode},g=function(){return u},h={};n.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});h[e.MODULE_NAME]=e}));var v={};return o.forEach((function(t){var e=t({coreContext:{config:p,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:p.modifyRequestSettings})});v[e.MODULE_NAME]=e})),Object.freeze({identification:E({},h),signature:E({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:l,getCountryCode:f})};function T(t){return(T="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 j(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?j(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(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!==T(o[t]))throw new Error('Expected "'.concat(t,'" to be type of "').concat(r.type,'", but received "').concat(T(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 ordnungsgemäß 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."}'),L=n.t(D,2),R=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."}'),U=n.t(R,2),M=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:S,en:A,et:P,lt:L,lv:U,ru:n.t(M,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},$=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},W=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=W(n))){e.next=6;break}throw Z(o);case 6:return e.abrupt("return",r?$(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,p=s.fail,l=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),p(Z(t))})).finally(l);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,p,l,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,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,ut);return p.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 p.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(l)(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 pt(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 lt=c.mobileId,ft=tt(lt,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,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,p=e.pollInterval,l=void 0===p?1e3:p,f=function(t){var e=s(i.IDENTIFICATION,lt,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,lt,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/l,n=0;return it({fn:function(){return g(pt(pt({},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)(pt(pt({},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:l});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,p,l,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,p=e.apiClient,l=function(t){var e=s(i.IDENTIFICATION,bt);return p.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 p.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(l)(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,Tt=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}}),jt=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(jt,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 Lt=Dt,Rt=c.idCardSignature,Ut=function(t){var e=t.iframe,n=new URL(e.src);return{post:function(t){e.contentWindow.postMessage(t,n.origin)}}},Mt=function(t){var e=t.countryCode,n=t.clientId,r=t.apiEndpoints,o=s(i.SIGNATURE,Rt,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 Lt({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,o=r.result,i=r.cert;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{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,o=r.result,i=r.signature;if("ok"===o&&i)t(n.data);else{var a={};n.data&&"user_cancel"===n.data.result?a.isCancel=!0:a=n.data,e(a)}}),{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(Rt,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(Mt,{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(Ut,{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.cert,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,t.abrupt("return",Y(Ht)({signature:c.signature,clientId:e.clientId,docId:e.docId,cancelToken:e.cancelToken,apiEndpoints:e.apiEndpoints,apiClient:e.apiClient}));case 19: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,$t=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})},Wt=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:Wt,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,p,l,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,p=e.idcode,l=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($t)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:p,phone:l,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,p,l,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,p=e.language,l=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:p,idcode:l,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:p,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,p=t.phone,l=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:l,idcode:n,email:d,phone:p,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,p,l,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,p=e.language,l=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:p,idcode:l,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:p,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})},pe=tt(se,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,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,p=e.countryCode,l=e.emailToken,f=e.smsToken,g=s(i.SIGNATURE,se,p),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:l,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"}}),le=c.eParakstsMobileSignature,fe=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})},ge=tt(le,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;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,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,le,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(fe)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),he=c.ftnSignature,ve=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})},ye=tt(he,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;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,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,he,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(ve)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),me=c.atHandySignature,be=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})},Ie=tt(me,function(){var t=z(V().mark((function t(e){var n,r,o,a,c,u,d,p,l,f,g,h;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,p=e.language,l=e.countryCode,f=e.redirect,g=s(i.SIGNATURE,me,l),d.dispatch({message:"".concat(g.actionType,": signing started")}),t.next=5,Y(be)({contractId:o,clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:p,actionType:g.actionType});case 5:return h=t.sent,t.abrupt("return",Y(f,{shouldFormatResult:!1})(h));case 7:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),{docId:{type:"string",required:!0}}),Oe=c.zealIdSignature,Ee=function(t){var e=t.apiEndpoints,n=t.clientId,r=t.docId;return{data:{redirect_uri:e.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},we=tt(Oe,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(Ee)({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)}}()),Te=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 _e(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 xe=function(t,e,n){var r={};return Object.keys(t).forEach((function(o){r[o]=function(t,e,n){return function(r){var o=_e(_e({},e),r);return n?n(t(o)):t(o)}}(t[o],e,n)})),r},Ce=function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=_e({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={},Te.production,_e({},xe(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"},e.modifyEndpointUrl))),r(t,Te.sandbox,_e({},xe(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"},e.modifyEndpointUrl))),t);return{get inCurrentMode(){var t=e.sandbox?Te.sandbox:Te.production;return i[t]}}},Se=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=_({rawSettings:t,schema:x}),n=F({currentLanguage:"en"}),r=Ce({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,Tt,xt,kt,Pt],signingModules:[Vt,Xt,re,ue,pe,ge,ye,Ie,we]})},ke=Se},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),p=!n&&!d&&a(t),l=!n&&!d&&!p&&u(t),f=n||d||p||l,g=f?r(t.length,String):[],h=g.length;for(var v in t)!e&&!s.call(t,v)||f&&("length"==v||p&&("offset"==v||"parent"==v)||l&&("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),p=n(1911),l=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),T=n(1704),j="[object Arguments]",_="[object Function]",x="[object Object]",C={};C[j]=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,L=2&n,R=4&n;if(S&&(P=A?S(e,k,A,N):S(e)),void 0!==P)return P;if(!O(e))return e;var U=m(e);if(U){if(P=h(e),!D)return s(e,P)}else{var M=g(e),G=M==_||"[object GeneratorFunction]"==M;if(b(e))return u(e,D);if(M==x||M==j||G&&!A){if(P=L||G?{}:y(e),!D)return L?p(e,c(P,e)):d(e,a(P,e))}else{if(!C[M])return A?e:{};P=v(e,M,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=U?void 0:(R?L?f:l:L?T: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,p=s.hasOwnProperty,l=RegExp("^"+d.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(t){return!(!i(t)||o(t))&&(r(t)?l: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,p,l){e!==n&&i(n,(function(i,u){if(l||(l=new r),c(i))a(e,n,u,d,t,p,l);else{var f=p?p(s(e,u),i,u+"",e,n,l):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),p=n(4144),l=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),T=O.get(w);if(T)r(t,n,T);else{var j=I?I(E,w,n+"",t,e,O):void 0,_=void 0===j;if(_){var x=s(w),C=!x&&p(w),S=!x&&!C&&h(w);j=w,x||C||S?s(E)?j=E:d(E)?j=a(E):C?(_=!1,j=o(w,!0)):S?(_=!1,j=i(w,!0)):j=[]:g(w)||u(w)?(j=E,u(E)?j=y(E):f(E)&&!l(E)||(j=c(w))):_=!1}_&&(O.set(w,j),b(j,w,m,I,O),O.delete(w)),r(t,n,j)}}},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]",p="[object Promise]",l="[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())!=p||a&&I(new a)!=l||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 p;case m:return l;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=p;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=j(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===p)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:l,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 p="suspendedStart",l="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 T(t,e){function n(o,i,a,c){var u=d(t[o],t,i);if("throw"!==u.type){var s=u.arg,p=s.value;return p&&"object"==typeof p&&r.call(p,"__await")?e.resolve(p.__await).then((function(t){n("next",t,a,c)}),(function(t){n("throw",t,a,c)})):e.resolve(p).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 j(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,j(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(T.prototype),T.prototype[a]=function(){return this},t.AsyncIterator=T,t.async=function(e,n,r,o,i){void 0===i&&(i=Promise);var a=new T(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(4490)}()}));
|
|
1968
1968
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362")))
|
|
1969
1969
|
|
|
1970
1970
|
/***/ }),
|
|
@@ -23758,7 +23758,7 @@ module.exports = {
|
|
|
23758
23758
|
}, attrs)
|
|
23759
23759
|
}, rest), children.concat([_c('defs', [_c('linearGradient', {
|
|
23760
23760
|
attrs: {
|
|
23761
|
-
"id": "id-
|
|
23761
|
+
"id": "id-0a",
|
|
23762
23762
|
"x1": "45.313%",
|
|
23763
23763
|
"x2": "33.822%",
|
|
23764
23764
|
"y1": "69.296%",
|
|
@@ -23776,7 +23776,7 @@ module.exports = {
|
|
|
23776
23776
|
}
|
|
23777
23777
|
})]), _c('linearGradient', {
|
|
23778
23778
|
attrs: {
|
|
23779
|
-
"id": "id-
|
|
23779
|
+
"id": "id-2c",
|
|
23780
23780
|
"x1": "17.248%",
|
|
23781
23781
|
"x2": "58.688%",
|
|
23782
23782
|
"y1": "34.281%",
|
|
@@ -23794,7 +23794,7 @@ module.exports = {
|
|
|
23794
23794
|
}
|
|
23795
23795
|
})]), _c('path', {
|
|
23796
23796
|
attrs: {
|
|
23797
|
-
"id": "id-
|
|
23797
|
+
"id": "id-1b",
|
|
23798
23798
|
"d": "M75.617 68.105a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 2.602.373 1.911 1.185.796 1.933-8.547 5.606-15.608 3.737-24.527 0-8.92-3.738-12.264-.748-18.21 0-19.325 2.99-35.676 1.121-49.055-5.606a46.935 46.935 0 01-2.198-1.804c-3.08 3.497-5.197 5.593-6.35 6.289-1.857 1.12-8.546 4.11-17.094 4.11-5.698 0-10.53-.622-14.493-1.868-3.634-1.163-5.616-1.91-5.946-2.242-.744-.748-1.292-2.03 2.742-2.435 14.52-1.922 27.079-6.737 32.47-14.862-2.721-5.544-3.682-11.738-2.88-18.584C35.38 43.895 40.09 42 51.232 30.431c7.665-8.521 1.458-17.002-1.547-20.327a304.822 304.822 0 01-1.301-1.454c-1.174-1.359-1.17-1.35-2.76-.563a299.293 299.293 0 01-4.228 2.039c-.25.117-.938.46-.842.097.214-.822 6.12-3.842 6.014-4.07-.106-.23-7.504 1.596-7.67 1.608-.165.013-.315-.439-.108-.51.206-.076 2.191-.754 3.292-1.119 1.094-.362 3.5-1.141 3.283-1.262-.216-.124-8.341-.632-8.458-.64-.03-.002-.052-.028-.067-.066v-.297c.015-.038.039-.066.07-.073 1.92-.462 8.359-.207 8.507-.363.148-.157-.193-1.103-.231-1.657-.069-1.026.35-1.762 1.12-1.774h.04c.092.001.19.013.292.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852z"
|
|
23799
23799
|
}
|
|
23800
23800
|
})]), _c('g', {
|
|
@@ -23809,12 +23809,12 @@ module.exports = {
|
|
|
23809
23809
|
}
|
|
23810
23810
|
}), _c('use', {
|
|
23811
23811
|
attrs: {
|
|
23812
|
-
"fill": "url(#id-
|
|
23813
|
-
"xlink:href": "#id-
|
|
23812
|
+
"fill": "url(#id-0a)",
|
|
23813
|
+
"xlink:href": "#id-1b"
|
|
23814
23814
|
}
|
|
23815
23815
|
}), _c('path', {
|
|
23816
23816
|
attrs: {
|
|
23817
|
-
"fill": "url(#id-
|
|
23817
|
+
"fill": "url(#id-2c)",
|
|
23818
23818
|
"d": "M140.16 94.148c-9.194 1.408-11.705 1.1-14.296-.017-5.142-2.01-9.086-7.663-25.24-5.574-16.152 2.089-46.802-2.089-54.671-15.873-5.247-9.19-.586-18.872 13.981-29.046 5.452-3.472 9.006-9.315 10.663-17.53C72.25 17.904 64.062 9.215 46.03.039A1.13 1.13 0 0146.308 0h.038c.093.001.19.013.293.036 1.866.41 3.704 1.01 5.535 1.605 1.665.54 2.59.639 3.883.313 1.292-.326 2.034-.737 3.231-.651 4.516.009 9.529 2.096 14.536 6s12.49 16.84 9.198 25.28c-4.97 12.74-5.177 10.025-7.662 17.126-.18.814-.354 1.581-.517 2.312-.919 4.871-1.048 10.056.381 14.88.044.117.09.234.136.352.12.309.206.593.257.852a21.83 21.83 0 002.601 5.096c9.291 13.456 23.041 10.092 28.616 9.344 5.574-.747 13.007-1.121 17.094 2.243 4.088 3.364 6.352 6.033 14.441 8.532 1.303.187 1.78.484 1.792.828z"
|
|
23819
23819
|
}
|
|
23820
23820
|
}), _c('g', {
|
|
@@ -29891,7 +29891,7 @@ module.exports = {
|
|
|
29891
29891
|
}, attrs)
|
|
29892
29892
|
}, rest), children.concat([_c('defs', [_c('linearGradient', {
|
|
29893
29893
|
attrs: {
|
|
29894
|
-
"id": "id-
|
|
29894
|
+
"id": "id-3a",
|
|
29895
29895
|
"x1": "124.883",
|
|
29896
29896
|
"y1": "17.983",
|
|
29897
29897
|
"x2": "117.483",
|
|
@@ -29920,7 +29920,7 @@ module.exports = {
|
|
|
29920
29920
|
}
|
|
29921
29921
|
})]), _c('linearGradient', {
|
|
29922
29922
|
attrs: {
|
|
29923
|
-
"id": "id-
|
|
29923
|
+
"id": "id-4b",
|
|
29924
29924
|
"x1": "116.71",
|
|
29925
29925
|
"y1": "31.343",
|
|
29926
29926
|
"x2": "102.594",
|
|
@@ -29949,7 +29949,7 @@ module.exports = {
|
|
|
29949
29949
|
}
|
|
29950
29950
|
})]), _c('linearGradient', {
|
|
29951
29951
|
attrs: {
|
|
29952
|
-
"id": "id-
|
|
29952
|
+
"id": "id-5c",
|
|
29953
29953
|
"x1": "106.335",
|
|
29954
29954
|
"y1": "23.516",
|
|
29955
29955
|
"x2": "140.192",
|
|
@@ -29973,18 +29973,18 @@ module.exports = {
|
|
|
29973
29973
|
}
|
|
29974
29974
|
}), _c('path', {
|
|
29975
29975
|
attrs: {
|
|
29976
|
-
"fill": "url(#id-
|
|
29976
|
+
"fill": "url(#id-3a)",
|
|
29977
29977
|
"d": "M126.585 16.359l-6.919 4.057V1.094l6.919 6.917v8.348z"
|
|
29978
29978
|
}
|
|
29979
29979
|
}), _c('path', {
|
|
29980
29980
|
attrs: {
|
|
29981
|
-
"fill": "url(#id-
|
|
29981
|
+
"fill": "url(#id-4b)",
|
|
29982
29982
|
"d": "M106.335 11.382h6.634v23.101h-6.634z"
|
|
29983
29983
|
}
|
|
29984
29984
|
}), _c('path', {
|
|
29985
29985
|
attrs: {
|
|
29986
29986
|
"d": "M140.191 13.257a.789.789 0 00-.2-.505.935.935 0 00-.82-.191 42.336 42.336 0 00-32.84 21.922h6.634c7.037-12.392 17.369-17.99 26.691-20.609.416-.138.544-.391.535-.617z",
|
|
29987
|
-
"fill": "url(#id-
|
|
29987
|
+
"fill": "url(#id-5c)"
|
|
29988
29988
|
}
|
|
29989
29989
|
}), _c('path', {
|
|
29990
29990
|
attrs: {
|
|
@@ -36304,12 +36304,12 @@ if (typeof window !== 'undefined') {
|
|
|
36304
36304
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
36305
36305
|
var vue_runtime_esm = __webpack_require__("2b0e");
|
|
36306
36306
|
|
|
36307
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36307
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=template&id=19154cdc&
|
|
36308
36308
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.app},[_c('AppLayout')],1)}
|
|
36309
36309
|
var staticRenderFns = []
|
|
36310
36310
|
|
|
36311
36311
|
|
|
36312
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=
|
|
36312
|
+
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=19154cdc&
|
|
36313
36313
|
|
|
36314
36314
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
36315
36315
|
var es_array_for_each = __webpack_require__("4160");
|
|
@@ -36439,14 +36439,14 @@ var removeCallingCode_removeCallingCode = function removeCallingCode(phoneNumber
|
|
|
36439
36439
|
};
|
|
36440
36440
|
|
|
36441
36441
|
/* harmony default export */ var src_removeCallingCode = (removeCallingCode_removeCallingCode);
|
|
36442
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36442
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppLayout.vue?vue&type=template&id=6944d6ad&
|
|
36443
36443
|
var AppLayoutvue_type_template_id_6944d6ad_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.layout},[_c('AppHeader',[(_vm.currentView === 'MethodSelection')?_c('HeaderContentCountry'):_c('HeaderContentSubView')],1),_c('div',{class:_vm.$style.main},[_c('FlashMessages',{attrs:{"messages":_vm.flashMessages}}),_c('transition',{attrs:{"name":_vm.$style.fade}},[_c('LoadingOverlay',{directives:[{name:"show",rawName:"v-show",value:(_vm.isLoading),expression:"isLoading"}]})],1),_c(_vm.currentView,{tag:"component"})],1),_c('AppFooter',[_c('a',{class:_vm.$style.eidEasyLink,attrs:{"href":"https://eideasy.com","target":"_blank"}},[_vm._v(" "+_vm._s(_vm.$t("powered-by-eideasy"))+" ")])])],1)}
|
|
36444
36444
|
var AppLayoutvue_type_template_id_6944d6ad_staticRenderFns = []
|
|
36445
36445
|
|
|
36446
36446
|
|
|
36447
36447
|
// CONCATENATED MODULE: ./src/components/AppLayout.vue?vue&type=template&id=6944d6ad&
|
|
36448
36448
|
|
|
36449
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36449
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppFooter.vue?vue&type=template&id=44d30f7c&
|
|
36450
36450
|
var AppFootervue_type_template_id_44d30f7c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.footer},[_c('div',{class:_vm.$style.text},[_vm._t("default")],2)])}
|
|
36451
36451
|
var AppFootervue_type_template_id_44d30f7c_staticRenderFns = []
|
|
36452
36452
|
|
|
@@ -36591,7 +36591,7 @@ var component = normalizeComponent(
|
|
|
36591
36591
|
)
|
|
36592
36592
|
|
|
36593
36593
|
/* harmony default export */ var AppFooter = (component.exports);
|
|
36594
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36594
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppHeader.vue?vue&type=template&id=832d58bc&
|
|
36595
36595
|
var AppHeadervue_type_template_id_832d58bc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.header},[_vm._t("default")],2)}
|
|
36596
36596
|
var AppHeadervue_type_template_id_832d58bc_staticRenderFns = []
|
|
36597
36597
|
|
|
@@ -36636,14 +36636,14 @@ var AppHeader_component = normalizeComponent(
|
|
|
36636
36636
|
)
|
|
36637
36637
|
|
|
36638
36638
|
/* harmony default export */ var AppHeader = (AppHeader_component.exports);
|
|
36639
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36639
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
36640
36640
|
var LoadingOverlayvue_type_template_id_95dd2808_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.loadingOverlay},[_c('div',{class:_vm.$style.spinnerHolder},[_c('AppSpinner')],1)])}
|
|
36641
36641
|
var LoadingOverlayvue_type_template_id_95dd2808_staticRenderFns = []
|
|
36642
36642
|
|
|
36643
36643
|
|
|
36644
36644
|
// CONCATENATED MODULE: ./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
36645
36645
|
|
|
36646
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36646
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppSpinner.vue?vue&type=template&id=85241afa&
|
|
36647
36647
|
var AppSpinnervue_type_template_id_85241afa_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.spinner, _vm.schemeClassName]})}
|
|
36648
36648
|
var AppSpinnervue_type_template_id_85241afa_staticRenderFns = []
|
|
36649
36649
|
|
|
@@ -36842,7 +36842,7 @@ var LoadingOverlay_component = normalizeComponent(
|
|
|
36842
36842
|
)
|
|
36843
36843
|
|
|
36844
36844
|
/* harmony default export */ var LoadingOverlay = (LoadingOverlay_component.exports);
|
|
36845
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36845
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FlashMessages.vue?vue&type=template&id=f6812b02&
|
|
36846
36846
|
var FlashMessagesvue_type_template_id_f6812b02_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.flashMessages),function(message){return _c('AppAlert',{key:message.text,attrs:{"scheme":message.scheme}},[_vm._v(" "+_vm._s(message.text)+" ")])}),1)}
|
|
36847
36847
|
var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
36848
36848
|
|
|
@@ -36852,7 +36852,7 @@ var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
|
36852
36852
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
36853
36853
|
var es_array_map = __webpack_require__("d81d");
|
|
36854
36854
|
|
|
36855
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36855
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppAlert.vue?vue&type=template&id=69107074&
|
|
36856
36856
|
var AppAlertvue_type_template_id_69107074_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.alert, _vm.schemeClassName]},[_vm._t("header"),_vm._t("default")],2)}
|
|
36857
36857
|
var AppAlertvue_type_template_id_69107074_staticRenderFns = []
|
|
36858
36858
|
|
|
@@ -36961,14 +36961,14 @@ var FlashMessages_component = normalizeComponent(
|
|
|
36961
36961
|
)
|
|
36962
36962
|
|
|
36963
36963
|
/* harmony default export */ var FlashMessages = (FlashMessages_component.exports);
|
|
36964
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36964
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/HeaderContentCountry.vue?vue&type=template&id=731f6bea&
|
|
36965
36965
|
var HeaderContentCountryvue_type_template_id_731f6bea_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.headerRow},[_c('div',{class:[_vm.$style.left, _vm.$style.regionTitle]},[_vm._v(" "+_vm._s(_vm.$t('country'))+" ")]),_c('div',{class:_vm.$style.right},[_c('CountrySelect',{attrs:{"selected-country":_vm.countryCode,"available-countries":_vm.availableCountries,"on-input":function (value) { return _vm.changeCountry(value.countryCode); }}})],1)])}
|
|
36966
36966
|
var HeaderContentCountryvue_type_template_id_731f6bea_staticRenderFns = []
|
|
36967
36967
|
|
|
36968
36968
|
|
|
36969
36969
|
// CONCATENATED MODULE: ./src/components/HeaderContentCountry.vue?vue&type=template&id=731f6bea&
|
|
36970
36970
|
|
|
36971
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36971
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/CountrySelect.vue?vue&type=template&id=302b7386&
|
|
36972
36972
|
var CountrySelectvue_type_template_id_302b7386_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-select',{class:_vm.$style.select,attrs:{"value":_vm.value,"options":_vm.options,"clearable":false},on:{"input":_vm.onInput},scopedSlots:_vm._u([{key:"option",fn:function(option){return [_c('CountrySelectOption',{attrs:{"option":option}})]}},{key:"selected-option-container",fn:function(ref){
|
|
36973
36973
|
var option = ref.option;
|
|
36974
36974
|
return [_c('div',{staticClass:"vs__selected"},[_c('CountrySelectOption',{attrs:{"option":option}})],1)]}},{key:"open-indicator",fn:function(ref){
|
|
@@ -36979,7 +36979,7 @@ var CountrySelectvue_type_template_id_302b7386_staticRenderFns = []
|
|
|
36979
36979
|
|
|
36980
36980
|
// CONCATENATED MODULE: ./src/components/CountrySelect.vue?vue&type=template&id=302b7386&
|
|
36981
36981
|
|
|
36982
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
36982
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/CountrySelectOption.vue?vue&type=template&id=45e2b7c2&
|
|
36983
36983
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.option},[_c(_vm.dynamicIcon,{tag:"component"}),_c('div',{class:_vm.$style.optionText},[_vm._v(" "+_vm._s(_vm.option.label)+" ")])],1)}
|
|
36984
36984
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_staticRenderFns = []
|
|
36985
36985
|
|
|
@@ -37211,14 +37211,14 @@ var HeaderContentCountry_component = normalizeComponent(
|
|
|
37211
37211
|
)
|
|
37212
37212
|
|
|
37213
37213
|
/* harmony default export */ var HeaderContentCountry = (HeaderContentCountry_component.exports);
|
|
37214
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37214
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/HeaderContentSubView.vue?vue&type=template&id=f18aa962&
|
|
37215
37215
|
var HeaderContentSubViewvue_type_template_id_f18aa962_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.headerRow},[_c('div',{class:_vm.$style.left},[_c('BackButton',{attrs:{"on-click":function () { return _vm.changeView(_vm.viewNames.MethodSelection); },"disabled":!_vm.userActionsEnabled}})],1),_c('div',{class:_vm.$style.right},[_c('div',{class:_vm.$style.titleGroup},[_c('div',{class:_vm.$style.viewTitle},[_vm._v(" "+_vm._s(_vm.$t(_vm.currentViewTitleKey))+" ")]),_c('div',{class:_vm.$style.flagIcon,attrs:{"aria-label":_vm.$t('country') + ': ' + _vm.currentCountryName}},[_c(_vm.currentFlagIcon,{tag:"component"})],1)])])])}
|
|
37216
37216
|
var HeaderContentSubViewvue_type_template_id_f18aa962_staticRenderFns = []
|
|
37217
37217
|
|
|
37218
37218
|
|
|
37219
37219
|
// CONCATENATED MODULE: ./src/components/HeaderContentSubView.vue?vue&type=template&id=f18aa962&
|
|
37220
37220
|
|
|
37221
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37221
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/BackButton.vue?vue&type=template&id=74078486&
|
|
37222
37222
|
var BackButtonvue_type_template_id_74078486_render = function () {
|
|
37223
37223
|
var _obj;
|
|
37224
37224
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:[_vm.$style.button, ( _obj = {}, _obj[_vm.$style.disabled] = _vm.disabled, _obj )],attrs:{"href":"#"},on:{"click":function($event){$event.preventDefault();return _vm.handleClick($event)}}},[_c('div',{class:_vm.$style.backIcon},[_c('div',{class:_vm.$style.backCaret})]),_c('div',{class:_vm.$style.text},[_vm._v(" "+_vm._s(_vm.$t('back'))+" ")])])}
|
|
@@ -37363,14 +37363,14 @@ var HeaderContentSubView_component = normalizeComponent(
|
|
|
37363
37363
|
)
|
|
37364
37364
|
|
|
37365
37365
|
/* harmony default export */ var HeaderContentSubView = (HeaderContentSubView_component.exports);
|
|
37366
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37367
|
-
var
|
|
37366
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/MethodSelection.vue?vue&type=template&id=510fefee&
|
|
37367
|
+
var MethodSelectionvue_type_template_id_510fefee_render = function () {
|
|
37368
37368
|
var _obj;
|
|
37369
37369
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.methodSelection, ( _obj = {}, _obj[_vm.$style.methodSelectionThin] = _vm.isThinLayout, _obj )]},[_c('div',{class:_vm.$style.row},_vm._l((_vm.identificationMethodsInCurrentCountry),function(method){return _c('div',{key:method.actionType,class:_vm.$style.unit},[_c('MethodButton',{attrs:{"button-name":method.buttonName,"disabled":_vm.isLoading,"on-click":function () { return _vm.selectMethod(method.actionType); },"aria-label":_vm.$t('login-method') + ' ' + _vm.$t(method.translationKeys.title)}})],1)}),0),_c('div',{class:_vm.$style.row},_vm._l((_vm.signingMethodsInCurrentCountry),function(method){return _c('div',{key:method.actionType,class:_vm.$style.unit},[_c('MethodButton',{attrs:{"button-name":method.buttonName,"disabled":_vm.isLoading,"on-click":function () { return _vm.selectMethod(method.actionType); },"aria-label":_vm.$t('signature-method') + ' ' + _vm.$t(method.translationKeys.title)}})],1)}),0),_c('div',{ref:"iframeHolder"})])}
|
|
37370
|
-
var
|
|
37370
|
+
var MethodSelectionvue_type_template_id_510fefee_staticRenderFns = []
|
|
37371
37371
|
|
|
37372
37372
|
|
|
37373
|
-
// CONCATENATED MODULE: ./src/views/MethodSelection.vue?vue&type=template&id=
|
|
37373
|
+
// CONCATENATED MODULE: ./src/views/MethodSelection.vue?vue&type=template&id=510fefee&
|
|
37374
37374
|
|
|
37375
37375
|
// EXTERNAL MODULE: ./node_modules/regenerator-runtime/runtime.js
|
|
37376
37376
|
var runtime = __webpack_require__("96cf");
|
|
@@ -37417,487 +37417,21 @@ function _asyncToGenerator(fn) {
|
|
|
37417
37417
|
});
|
|
37418
37418
|
};
|
|
37419
37419
|
}
|
|
37420
|
-
//
|
|
37421
|
-
var es_array_concat = __webpack_require__("99af");
|
|
37422
|
-
|
|
37423
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
37424
|
-
var es_array_find = __webpack_require__("7db0");
|
|
37425
|
-
|
|
37426
|
-
// CONCATENATED MODULE: ./src/featureFlags.js
|
|
37427
|
-
|
|
37428
|
-
|
|
37429
|
-
var flags = {// example
|
|
37430
|
-
|
|
37431
|
-
/*
|
|
37432
|
-
FF_FREJA_EID_LOGIN: {
|
|
37433
|
-
created: '2021-08-02',
|
|
37434
|
-
enabledInEnvs: ['development'],
|
|
37435
|
-
},
|
|
37436
|
-
*/
|
|
37437
|
-
};
|
|
37438
|
-
|
|
37439
|
-
var createFeatureFlags = function createFeatureFlags(_ref) {
|
|
37440
|
-
var env = _ref.env;
|
|
37441
|
-
|
|
37442
|
-
var enabled = function enabled(flag) {
|
|
37443
|
-
var isEnabled = false;
|
|
37444
|
-
|
|
37445
|
-
if (flags[flag] && flags[flag].enabledInEnvs.includes(env)) {
|
|
37446
|
-
isEnabled = true;
|
|
37447
|
-
}
|
|
37448
|
-
|
|
37449
|
-
return isEnabled;
|
|
37450
|
-
};
|
|
37451
|
-
|
|
37452
|
-
return {
|
|
37453
|
-
enabled: enabled
|
|
37454
|
-
};
|
|
37455
|
-
};
|
|
37456
|
-
|
|
37457
|
-
var featureFlags = createFeatureFlags({
|
|
37458
|
-
env: "production" || false
|
|
37459
|
-
});
|
|
37460
|
-
/* harmony default export */ var src_featureFlags = (featureFlags);
|
|
37461
|
-
// CONCATENATED MODULE: ./src/components/methodButtons/methodButtonNames.js
|
|
37462
|
-
var methodButtonNames = {
|
|
37463
|
-
IdCardButton: 'IdCardButton',
|
|
37464
|
-
IdCardButtonEE: 'IdCardButtonEE',
|
|
37465
|
-
IdCardButtonFi: 'IdCardButtonFi',
|
|
37466
|
-
IdCardButtonBe: 'IdCardButtonBe',
|
|
37467
|
-
SmartIdButton: 'SmartIdButton',
|
|
37468
|
-
MobileIdButton: 'MobileIdButton',
|
|
37469
|
-
MobileIdButtonEE: 'MobileIdButtonEE',
|
|
37470
|
-
EparakstsMobileButton: 'EparakstsMobileButton',
|
|
37471
|
-
FrejaEidButton: 'FrejaEidButton',
|
|
37472
|
-
ZealIdButton: 'ZealIdButton',
|
|
37473
|
-
MojeIdButton: 'MojeIdButton',
|
|
37474
|
-
FinnishTrustNetworkButton: 'FinnishTrustNetworkButton',
|
|
37475
|
-
AtHandyButton: 'AtHandyButton',
|
|
37476
|
-
IdCardButtonLv: 'IdCardButtonLv',
|
|
37477
|
-
IdCardButtonPt: 'IdCardButtonPt',
|
|
37478
|
-
OtpButton: 'OtpButton'
|
|
37479
|
-
};
|
|
37480
|
-
/* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
|
|
37481
|
-
// EXTERNAL MODULE: ./node_modules/@eid-easy/eideasy-browser-client/dist/eideasy-browser-client.js
|
|
37482
|
-
var eideasy_browser_client = __webpack_require__("0ea0");
|
|
37483
|
-
var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_browser_client);
|
|
37484
|
-
|
|
37485
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=template&id=e497ed0c&
|
|
37486
|
-
var SignatureFtnvue_type_template_id_e497ed0c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.note},[_vm._v(" "+_vm._s(_vm.$t('pre-sign-confirmation', {method: _vm.$t('finnish-online-bank')}))+" ")]),_c('div',{class:_vm.$style.formContainer},[_c('AppButton',{attrs:{"on-click":_vm.sign}},[_vm._v(" "+_vm._s(_vm.$t('Sign'))+" ")])],1)])}
|
|
37487
|
-
var SignatureFtnvue_type_template_id_e497ed0c_staticRenderFns = []
|
|
37488
|
-
|
|
37489
|
-
|
|
37490
|
-
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=template&id=e497ed0c&
|
|
37491
|
-
|
|
37492
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
37493
|
-
var AppButtonvue_type_template_id_7bb31c31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:[_vm.$style.button, _vm.schemeClassName],attrs:{"type":_vm.type},on:{"click":_vm.handleClick}},[_vm._t("default")],2)}
|
|
37494
|
-
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
37495
|
-
|
|
37496
|
-
|
|
37497
|
-
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
37498
|
-
|
|
37499
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
37500
|
-
|
|
37501
|
-
/* harmony default export */ var AppButtonvue_type_script_lang_js_ = ({
|
|
37502
|
-
name: 'AppButton',
|
|
37503
|
-
mixins: [src_schemeMixin(['primary', 'secondary'])],
|
|
37504
|
-
props: {
|
|
37505
|
-
type: String,
|
|
37506
|
-
onClick: Function
|
|
37507
|
-
},
|
|
37508
|
-
methods: {
|
|
37509
|
-
handleClick: function handleClick(e) {
|
|
37510
|
-
if (!this.disabled && this.onClick) {
|
|
37511
|
-
this.onClick(e);
|
|
37512
|
-
}
|
|
37513
|
-
}
|
|
37514
|
-
}
|
|
37515
|
-
});
|
|
37516
|
-
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
37517
|
-
/* harmony default export */ var components_AppButtonvue_type_script_lang_js_ = (AppButtonvue_type_script_lang_js_);
|
|
37518
|
-
// EXTERNAL MODULE: ./src/components/AppButton.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
37519
|
-
var AppButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("e513");
|
|
37520
|
-
|
|
37521
|
-
// CONCATENATED MODULE: ./src/components/AppButton.vue
|
|
37522
|
-
|
|
37523
|
-
|
|
37524
|
-
|
|
37525
|
-
|
|
37526
|
-
|
|
37527
|
-
|
|
37528
|
-
|
|
37529
|
-
|
|
37530
|
-
function AppButton_injectStyles (context) {
|
|
37531
|
-
|
|
37532
|
-
this["$style"] = (AppButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || AppButtonvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
37533
|
-
|
|
37534
|
-
}
|
|
37535
|
-
|
|
37536
|
-
/* normalize component */
|
|
37537
|
-
|
|
37538
|
-
var AppButton_component = normalizeComponent(
|
|
37539
|
-
components_AppButtonvue_type_script_lang_js_,
|
|
37540
|
-
AppButtonvue_type_template_id_7bb31c31_render,
|
|
37541
|
-
AppButtonvue_type_template_id_7bb31c31_staticRenderFns,
|
|
37542
|
-
false,
|
|
37543
|
-
AppButton_injectStyles,
|
|
37544
|
-
null,
|
|
37545
|
-
null
|
|
37546
|
-
|
|
37547
|
-
)
|
|
37548
|
-
|
|
37549
|
-
/* harmony default export */ var AppButton = (AppButton_component.exports);
|
|
37550
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
37551
|
-
|
|
37552
|
-
|
|
37553
|
-
|
|
37554
|
-
/* harmony default export */ var SignatureFtnvue_type_script_lang_js_ = ({
|
|
37555
|
-
name: 'SignatureFtn',
|
|
37556
|
-
components: {
|
|
37557
|
-
AppButton: AppButton
|
|
37558
|
-
},
|
|
37559
|
-
data: function data() {
|
|
37560
|
-
return {
|
|
37561
|
-
signingProcess: {}
|
|
37562
|
-
};
|
|
37563
|
-
},
|
|
37564
|
-
computed: {
|
|
37565
|
-
additionalMethodConfig: function additionalMethodConfig() {
|
|
37566
|
-
return this.$root.$options.storeGetters.additionalMethodConfig();
|
|
37567
|
-
}
|
|
37568
|
-
},
|
|
37569
|
-
methods: {
|
|
37570
|
-
loadingStart: function loadingStart() {
|
|
37571
|
-
this.$root.$options.storeActions.loadingStart();
|
|
37572
|
-
},
|
|
37573
|
-
loadingEnd: function loadingEnd() {
|
|
37574
|
-
this.$root.$options.storeActions.loadingEnd();
|
|
37575
|
-
},
|
|
37576
|
-
addFlashMessage: function addFlashMessage(message) {
|
|
37577
|
-
this.$root.$options.storeActions.addFlashMessage(message);
|
|
37578
|
-
},
|
|
37579
|
-
clearFlashMessages: function clearFlashMessages() {
|
|
37580
|
-
this.$root.$options.storeActions.clearFlashMessages();
|
|
37581
|
-
},
|
|
37582
|
-
sign: function sign() {
|
|
37583
|
-
var _this = this;
|
|
37584
|
-
|
|
37585
|
-
this.loadingStart();
|
|
37586
|
-
this.clearFlashMessages();
|
|
37587
|
-
var additionalMethodConfig = this.additionalMethodConfig || {};
|
|
37588
|
-
this.signingProcess = this.$root.$options.eidEasyClient.signature.ftnSignature.start(_objectSpread2({
|
|
37589
|
-
fail: function fail(error) {
|
|
37590
|
-
if (!error.isCancel) {
|
|
37591
|
-
_this.addFlashMessage(error);
|
|
37592
|
-
}
|
|
37593
|
-
|
|
37594
|
-
_this.$root.$options.eidEasyOnFail(error);
|
|
37595
|
-
},
|
|
37596
|
-
success: function success(result) {
|
|
37597
|
-
_this.$root.$options.eidEasyOnSuccess(result);
|
|
37598
|
-
},
|
|
37599
|
-
finished: function finished() {
|
|
37600
|
-
_this.loadingEnd();
|
|
37601
|
-
}
|
|
37602
|
-
}, additionalMethodConfig));
|
|
37603
|
-
}
|
|
37604
|
-
}
|
|
37605
|
-
});
|
|
37606
|
-
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
37607
|
-
/* harmony default export */ var views_SignatureFtnvue_type_script_lang_js_ = (SignatureFtnvue_type_script_lang_js_);
|
|
37608
|
-
// EXTERNAL MODULE: ./src/views/SignatureFtn.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
37609
|
-
var SignatureFtnvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("268a");
|
|
37610
|
-
|
|
37611
|
-
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue
|
|
37612
|
-
|
|
37613
|
-
|
|
37614
|
-
|
|
37615
|
-
|
|
37616
|
-
|
|
37617
|
-
|
|
37618
|
-
|
|
37619
|
-
|
|
37620
|
-
function SignatureFtn_injectStyles (context) {
|
|
37621
|
-
|
|
37622
|
-
this["$style"] = (SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"].locals || SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
37623
|
-
|
|
37624
|
-
}
|
|
37625
|
-
|
|
37626
|
-
/* normalize component */
|
|
37627
|
-
|
|
37628
|
-
var SignatureFtn_component = normalizeComponent(
|
|
37629
|
-
views_SignatureFtnvue_type_script_lang_js_,
|
|
37630
|
-
SignatureFtnvue_type_template_id_e497ed0c_render,
|
|
37631
|
-
SignatureFtnvue_type_template_id_e497ed0c_staticRenderFns,
|
|
37632
|
-
false,
|
|
37633
|
-
SignatureFtn_injectStyles,
|
|
37634
|
-
null,
|
|
37635
|
-
null
|
|
37636
|
-
|
|
37637
|
-
)
|
|
37638
|
-
|
|
37639
|
-
/* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
|
|
37640
|
-
// CONCATENATED MODULE: ./src/config.js
|
|
37641
|
-
|
|
37642
|
-
|
|
37643
|
-
|
|
37644
|
-
|
|
37645
|
-
|
|
37646
|
-
|
|
37647
|
-
|
|
37648
|
-
|
|
37649
|
-
|
|
37650
|
-
|
|
37651
|
-
var _Object$freeze, _availableMethods;
|
|
37652
|
-
|
|
37653
|
-
|
|
37654
|
-
|
|
37655
|
-
|
|
37656
|
-
|
|
37657
|
-
|
|
37658
|
-
var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].IDENTIFICATION, [{
|
|
37659
|
-
actionType: eideasy_browser_client["methodActionTypes"].BE_ID_LOGIN,
|
|
37660
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
37661
|
-
translationKeys: {
|
|
37662
|
-
title: 'id-card'
|
|
37663
|
-
}
|
|
37664
|
-
}, {
|
|
37665
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_ID_LOGIN,
|
|
37666
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
37667
|
-
translationKeys: {
|
|
37668
|
-
title: 'id-card'
|
|
37669
|
-
}
|
|
37670
|
-
}, {
|
|
37671
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_ID_LOGIN,
|
|
37672
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
37673
|
-
translationKeys: {
|
|
37674
|
-
title: 'id-card'
|
|
37675
|
-
}
|
|
37676
|
-
}, {
|
|
37677
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_ID_LOGIN,
|
|
37678
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
37679
|
-
translationKeys: {
|
|
37680
|
-
title: 'id-card'
|
|
37681
|
-
}
|
|
37682
|
-
}, {
|
|
37683
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_ID_LOGIN,
|
|
37684
|
-
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
37685
|
-
translationKeys: {
|
|
37686
|
-
title: 'id-card'
|
|
37687
|
-
}
|
|
37688
|
-
}, {
|
|
37689
|
-
actionType: eideasy_browser_client["methodActionTypes"].PT_ID_LOGIN,
|
|
37690
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
37691
|
-
translationKeys: {
|
|
37692
|
-
title: 'id-card'
|
|
37693
|
-
}
|
|
37694
|
-
}, {
|
|
37695
|
-
actionType: eideasy_browser_client["methodActionTypes"].RS_ID_LOGIN,
|
|
37696
|
-
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
37697
|
-
translationKeys: {
|
|
37698
|
-
title: 'id-card'
|
|
37699
|
-
}
|
|
37700
|
-
}, {
|
|
37701
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILE_ID,
|
|
37702
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
37703
|
-
viewName: views_viewNames.MobileIdAuth,
|
|
37704
|
-
translationKeys: {
|
|
37705
|
-
title: 'mobile-id'
|
|
37706
|
-
}
|
|
37707
|
-
}, {
|
|
37708
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_LOGIN,
|
|
37709
|
-
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
37710
|
-
translationKeys: {
|
|
37711
|
-
title: 'eparaksts-mobile'
|
|
37712
|
-
}
|
|
37713
|
-
}, {
|
|
37714
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILE_ID,
|
|
37715
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
37716
|
-
viewName: views_viewNames.MobileIdAuth,
|
|
37717
|
-
translationKeys: {
|
|
37718
|
-
title: 'mobile-id'
|
|
37719
|
-
}
|
|
37720
|
-
}, {
|
|
37721
|
-
actionType: eideasy_browser_client["methodActionTypes"].SMART_ID,
|
|
37722
|
-
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
37723
|
-
viewName: views_viewNames.SmartIdAuth,
|
|
37724
|
-
translationKeys: {
|
|
37725
|
-
title: 'smart-id'
|
|
37726
|
-
}
|
|
37727
|
-
}, {
|
|
37728
|
-
actionType: eideasy_browser_client["methodActionTypes"].FREJA_EID_LOGIN,
|
|
37729
|
-
buttonName: methodButtons_methodButtonNames.FrejaEidButton,
|
|
37730
|
-
viewName: views_viewNames.IdentificationFrejaId,
|
|
37731
|
-
translationKeys: {
|
|
37732
|
-
title: 'freja-eid'
|
|
37733
|
-
}
|
|
37734
|
-
}, {
|
|
37735
|
-
actionType: eideasy_browser_client["methodActionTypes"].ZEALID_LOGIN,
|
|
37736
|
-
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
37737
|
-
viewName: views_viewNames.IdentificationZealId,
|
|
37738
|
-
translationKeys: {
|
|
37739
|
-
title: 'zeal-id'
|
|
37740
|
-
}
|
|
37741
|
-
}, {
|
|
37742
|
-
actionType: eideasy_browser_client["methodActionTypes"].CZ_MOJEID,
|
|
37743
|
-
buttonName: methodButtons_methodButtonNames.MojeIdButton,
|
|
37744
|
-
translationKeys: {
|
|
37745
|
-
title: 'moje-id'
|
|
37746
|
-
}
|
|
37747
|
-
}, {
|
|
37748
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_LOGIN,
|
|
37749
|
-
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
37750
|
-
translationKeys: {
|
|
37751
|
-
title: 'finnish-online-bank'
|
|
37752
|
-
}
|
|
37753
|
-
}, {
|
|
37754
|
-
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_LOGIN,
|
|
37755
|
-
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
37756
|
-
translationKeys: {
|
|
37757
|
-
title: 'austrian-handy-signatur'
|
|
37758
|
-
}
|
|
37759
|
-
}]), _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].SIGNATURE, [{
|
|
37760
|
-
actionType: eideasy_browser_client["methodActionTypes"].BE_IDCARD_SIGNATURE,
|
|
37761
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
37762
|
-
translationKeys: {
|
|
37763
|
-
title: 'id-card'
|
|
37764
|
-
}
|
|
37765
|
-
}, {
|
|
37766
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_IDCARD_SIGNATURE,
|
|
37767
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
37768
|
-
translationKeys: {
|
|
37769
|
-
title: 'id-card'
|
|
37770
|
-
}
|
|
37771
|
-
}, {
|
|
37772
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_IDCARD_SIGNATURE,
|
|
37773
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
37774
|
-
translationKeys: {
|
|
37775
|
-
title: 'id-card'
|
|
37776
|
-
}
|
|
37777
|
-
}, {
|
|
37778
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_IDCARD_SIGNATURE,
|
|
37779
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
37780
|
-
translationKeys: {
|
|
37781
|
-
title: 'id-card'
|
|
37782
|
-
}
|
|
37783
|
-
}, {
|
|
37784
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_IDCARD_SIGNATURE,
|
|
37785
|
-
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
37786
|
-
translationKeys: {
|
|
37787
|
-
title: 'id-card'
|
|
37788
|
-
}
|
|
37789
|
-
}, {
|
|
37790
|
-
actionType: eideasy_browser_client["methodActionTypes"].PT_IDCARD_SIGNATURE,
|
|
37791
|
-
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
37792
|
-
translationKeys: {
|
|
37793
|
-
title: 'id-card'
|
|
37794
|
-
}
|
|
37795
|
-
}, {
|
|
37796
|
-
actionType: eideasy_browser_client["methodActionTypes"].SMARTID_SIGNATURE,
|
|
37797
|
-
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
37798
|
-
viewName: views_viewNames.SignatureSmartId,
|
|
37799
|
-
translationKeys: {
|
|
37800
|
-
title: 'smart-id'
|
|
37801
|
-
}
|
|
37802
|
-
}, {
|
|
37803
|
-
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILEID_SIGNATURE,
|
|
37804
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
37805
|
-
viewName: views_viewNames.SignatureMobileId,
|
|
37806
|
-
translationKeys: {
|
|
37807
|
-
title: 'mobile-id'
|
|
37808
|
-
}
|
|
37809
|
-
}, {
|
|
37810
|
-
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILEID_SIGNATURE,
|
|
37811
|
-
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
37812
|
-
viewName: views_viewNames.SignatureMobileId,
|
|
37813
|
-
translationKeys: {
|
|
37814
|
-
title: 'mobile-id'
|
|
37815
|
-
}
|
|
37816
|
-
}, {
|
|
37817
|
-
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_SIGNATURE,
|
|
37818
|
-
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
37819
|
-
translationKeys: {
|
|
37820
|
-
title: 'eparaksts-mobile'
|
|
37821
|
-
}
|
|
37822
|
-
}, {
|
|
37823
|
-
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_ADVANCED_SIGNATURE,
|
|
37824
|
-
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
37825
|
-
viewName: views_viewNames.SignatureFtn,
|
|
37826
|
-
translationKeys: {
|
|
37827
|
-
title: 'finnish-online-bank'
|
|
37828
|
-
}
|
|
37829
|
-
}, {
|
|
37830
|
-
actionType: eideasy_browser_client["methodActionTypes"].OTP_EMAIL,
|
|
37831
|
-
buttonName: methodButtons_methodButtonNames.OtpButton,
|
|
37832
|
-
viewName: views_viewNames.SignatureOtp,
|
|
37833
|
-
translationKeys: {
|
|
37834
|
-
title: 'email-sms'
|
|
37835
|
-
}
|
|
37836
|
-
}, {
|
|
37837
|
-
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_SIGNATURE,
|
|
37838
|
-
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
37839
|
-
translationKeys: {
|
|
37840
|
-
title: 'austrian-handy-signatur'
|
|
37841
|
-
}
|
|
37842
|
-
}, {
|
|
37843
|
-
actionType: eideasy_browser_client["methodActionTypes"].ZEAL_ID_SIGNATURE,
|
|
37844
|
-
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
37845
|
-
translationKeys: {
|
|
37846
|
-
title: 'zeal-id'
|
|
37847
|
-
}
|
|
37848
|
-
}]), _Object$freeze));
|
|
37849
|
-
|
|
37850
|
-
var config_getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
|
|
37851
|
-
var methods = [];
|
|
37852
|
-
widgetMethods.forEach(function (widgetMethod) {
|
|
37853
|
-
var clientMethod = clientMethods.find(function (clientMethod) {
|
|
37854
|
-
return clientMethod.actionType === widgetMethod.actionType;
|
|
37855
|
-
});
|
|
37856
|
-
|
|
37857
|
-
if (clientMethod) {
|
|
37858
|
-
methods.push(_objectSpread2(_objectSpread2({}, clientMethod), widgetMethod));
|
|
37859
|
-
}
|
|
37860
|
-
});
|
|
37861
|
-
return methods;
|
|
37862
|
-
}; // intersection of all the methods provided by the eideasy-browser-client and all the methods in this widget
|
|
37863
|
-
|
|
37864
|
-
|
|
37865
|
-
var availableMethods = (_availableMethods = {}, _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].IDENTIFICATION, config_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].IDENTIFICATION], allWidgetMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION])), _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].SIGNATURE, config_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].SIGNATURE], allWidgetMethods[eideasy_browser_client["methodTypes"].SIGNATURE])), _availableMethods);
|
|
37866
|
-
|
|
37867
|
-
var config_createGetMethodsByActionType = function createGetMethodsByActionType(methods) {
|
|
37868
|
-
var identificationMethods = methods[eideasy_browser_client["methodTypes"].IDENTIFICATION].map(function (method) {
|
|
37869
|
-
method.methodType = eideasy_browser_client["methodTypes"].IDENTIFICATION;
|
|
37870
|
-
return method;
|
|
37871
|
-
});
|
|
37872
|
-
var signatureMethods = methods[eideasy_browser_client["methodTypes"].SIGNATURE].map(function (method) {
|
|
37873
|
-
method.methodType = eideasy_browser_client["methodTypes"].SIGNATURE;
|
|
37874
|
-
return method;
|
|
37875
|
-
});
|
|
37876
|
-
var allMethods = [].concat(_toConsumableArray(identificationMethods), _toConsumableArray(signatureMethods));
|
|
37877
|
-
var methodsByActionType = {};
|
|
37878
|
-
allMethods.forEach(function (method) {
|
|
37879
|
-
return methodsByActionType[method.actionType] = method;
|
|
37880
|
-
});
|
|
37881
|
-
return methodsByActionType;
|
|
37882
|
-
};
|
|
37883
|
-
|
|
37884
|
-
var config_methodsByActionType = config_createGetMethodsByActionType(availableMethods);
|
|
37885
|
-
|
|
37886
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"2df7fcf6-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
37420
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
37887
37421
|
var MethodButtonvue_type_template_id_7ae5ce06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a',{class:_vm.$style.methodButton,attrs:{"href":"#","role":"button","disabled":_vm.disabled},on:{"click":function($event){$event.preventDefault();return _vm.handleClick($event)}}},[_c(_vm.buttonName,{tag:"Component"})],1)}
|
|
37888
37422
|
var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
|
|
37889
37423
|
|
|
37890
37424
|
|
|
37891
37425
|
// CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
37892
37426
|
|
|
37893
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37427
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
37894
37428
|
var IdCardButtonvue_type_template_id_e4be1d66_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCard',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
|
|
37895
37429
|
var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
|
|
37896
37430
|
|
|
37897
37431
|
|
|
37898
37432
|
// CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
37899
37433
|
|
|
37900
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37434
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MethodButtonBase.vue?vue&type=template&id=1891359c&
|
|
37901
37435
|
var MethodButtonBasevue_type_template_id_1891359c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.row},[_c('div',{class:_vm.$style.unit},[_vm._t("slot1")],2),_c('div',{class:_vm.$style.unit},[_vm._t("slot2")],2)])}
|
|
37902
37436
|
var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
|
|
37903
37437
|
|
|
@@ -37990,7 +37524,7 @@ var IdCardButton_component = normalizeComponent(
|
|
|
37990
37524
|
)
|
|
37991
37525
|
|
|
37992
37526
|
/* harmony default export */ var IdCardButton = (IdCardButton_component.exports);
|
|
37993
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37527
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonEE.vue?vue&type=template&id=02178dd2&
|
|
37994
37528
|
var IdCardButtonEEvue_type_template_id_02178dd2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconIdCardEE',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
37995
37529
|
var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
|
|
37996
37530
|
|
|
@@ -38045,7 +37579,7 @@ var IdCardButtonEE_component = normalizeComponent(
|
|
|
38045
37579
|
)
|
|
38046
37580
|
|
|
38047
37581
|
/* harmony default export */ var IdCardButtonEE = (IdCardButtonEE_component.exports);
|
|
38048
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/SmartIdButton.vue?vue&type=template&id=3c6e7a06&
|
|
38049
37583
|
var SmartIdButtonvue_type_template_id_3c6e7a06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconSmartId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38050
37584
|
var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
|
|
38051
37585
|
|
|
@@ -38100,7 +37634,7 @@ var SmartIdButton_component = normalizeComponent(
|
|
|
38100
37634
|
)
|
|
38101
37635
|
|
|
38102
37636
|
/* harmony default export */ var SmartIdButton = (SmartIdButton_component.exports);
|
|
38103
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37637
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MobileIdButton.vue?vue&type=template&id=ba752324&
|
|
38104
37638
|
var MobileIdButtonvue_type_template_id_ba752324_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconMobileId',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('mobile-id'))+" ")]},proxy:true}])})}
|
|
38105
37639
|
var MobileIdButtonvue_type_template_id_ba752324_staticRenderFns = []
|
|
38106
37640
|
|
|
@@ -38155,7 +37689,7 @@ var MobileIdButton_component = normalizeComponent(
|
|
|
38155
37689
|
)
|
|
38156
37690
|
|
|
38157
37691
|
/* harmony default export */ var MobileIdButton = (MobileIdButton_component.exports);
|
|
38158
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37692
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MobileIdButtonEE.vue?vue&type=template&id=a70f6cfc&
|
|
38159
37693
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconMobiilId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38160
37694
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_staticRenderFns = []
|
|
38161
37695
|
|
|
@@ -38210,7 +37744,7 @@ var MobileIdButtonEE_component = normalizeComponent(
|
|
|
38210
37744
|
)
|
|
38211
37745
|
|
|
38212
37746
|
/* harmony default export */ var MobileIdButtonEE = (MobileIdButtonEE_component.exports);
|
|
38213
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37747
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/EparakstsMobileButton.vue?vue&type=template&id=88907130&
|
|
38214
37748
|
var EparakstsMobileButtonvue_type_template_id_88907130_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('EparakstsMobileIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('eparaksts-mobile'))+" ")]},proxy:true}])})}
|
|
38215
37749
|
var EparakstsMobileButtonvue_type_template_id_88907130_staticRenderFns = []
|
|
38216
37750
|
|
|
@@ -38265,7 +37799,7 @@ var EparakstsMobileButton_component = normalizeComponent(
|
|
|
38265
37799
|
)
|
|
38266
37800
|
|
|
38267
37801
|
/* harmony default export */ var EparakstsMobileButton = (EparakstsMobileButton_component.exports);
|
|
38268
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37802
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/FrejaEidButton.vue?vue&type=template&id=c62614cc&
|
|
38269
37803
|
var FrejaEidButtonvue_type_template_id_c62614cc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconFrejaEid',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38270
37804
|
var FrejaEidButtonvue_type_template_id_c62614cc_staticRenderFns = []
|
|
38271
37805
|
|
|
@@ -38320,7 +37854,7 @@ var FrejaEidButton_component = normalizeComponent(
|
|
|
38320
37854
|
)
|
|
38321
37855
|
|
|
38322
37856
|
/* harmony default export */ var FrejaEidButton = (FrejaEidButton_component.exports);
|
|
38323
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37857
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/ZealIdButton.vue?vue&type=template&id=cc1917ce&
|
|
38324
37858
|
var ZealIdButtonvue_type_template_id_cc1917ce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconZealId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38325
37859
|
var ZealIdButtonvue_type_template_id_cc1917ce_staticRenderFns = []
|
|
38326
37860
|
|
|
@@ -38375,7 +37909,7 @@ var ZealIdButton_component = normalizeComponent(
|
|
|
38375
37909
|
)
|
|
38376
37910
|
|
|
38377
37911
|
/* harmony default export */ var ZealIdButton = (ZealIdButton_component.exports);
|
|
38378
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37912
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonBe.vue?vue&type=template&id=706e58f9&
|
|
38379
37913
|
var IdCardButtonBevue_type_template_id_706e58f9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('BelgianEidIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
|
|
38380
37914
|
var IdCardButtonBevue_type_template_id_706e58f9_staticRenderFns = []
|
|
38381
37915
|
|
|
@@ -38430,7 +37964,7 @@ var IdCardButtonBe_component = normalizeComponent(
|
|
|
38430
37964
|
)
|
|
38431
37965
|
|
|
38432
37966
|
/* harmony default export */ var IdCardButtonBe = (IdCardButtonBe_component.exports);
|
|
38433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
37967
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/MojeIdButton.vue?vue&type=template&id=4d0b2384&
|
|
38434
37968
|
var MojeIdButtonvue_type_template_id_4d0b2384_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{class:_vm.$style.base,scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconMojeId',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
38435
37969
|
var MojeIdButtonvue_type_template_id_4d0b2384_staticRenderFns = []
|
|
38436
37970
|
|
|
@@ -38485,7 +38019,7 @@ var MojeIdButton_component = normalizeComponent(
|
|
|
38485
38019
|
)
|
|
38486
38020
|
|
|
38487
38021
|
/* harmony default export */ var MojeIdButton = (MojeIdButton_component.exports);
|
|
38488
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38022
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/FinnishTrustNetworkButton.vue?vue&type=template&id=bf091c0a&
|
|
38489
38023
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('online-bank'))+" ")]},proxy:true}])})}
|
|
38490
38024
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_staticRenderFns = []
|
|
38491
38025
|
|
|
@@ -38522,7 +38056,7 @@ var FinnishTrustNetworkButton_component = normalizeComponent(
|
|
|
38522
38056
|
)
|
|
38523
38057
|
|
|
38524
38058
|
/* harmony default export */ var FinnishTrustNetworkButton = (FinnishTrustNetworkButton_component.exports);
|
|
38525
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38059
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/AtHandyButton.vue?vue&type=template&id=10386e1a&
|
|
38526
38060
|
var AtHandyButtonvue_type_template_id_10386e1a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('IconAtHandy',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" Handy-Signatur ")]},proxy:true}])})}
|
|
38527
38061
|
var AtHandyButtonvue_type_template_id_10386e1a_staticRenderFns = []
|
|
38528
38062
|
|
|
@@ -38577,7 +38111,7 @@ var AtHandyButton_component = normalizeComponent(
|
|
|
38577
38111
|
)
|
|
38578
38112
|
|
|
38579
38113
|
/* harmony default export */ var AtHandyButton = (AtHandyButton_component.exports);
|
|
38580
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38114
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonFi.vue?vue&type=template&id=d5d98516&
|
|
38581
38115
|
var IdCardButtonFivue_type_template_id_d5d98516_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('FiIdIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('varmennekortti'))+" ")]},proxy:true}])})}
|
|
38582
38116
|
var IdCardButtonFivue_type_template_id_d5d98516_staticRenderFns = []
|
|
38583
38117
|
|
|
@@ -38632,7 +38166,7 @@ var IdCardButtonFi_component = normalizeComponent(
|
|
|
38632
38166
|
)
|
|
38633
38167
|
|
|
38634
38168
|
/* harmony default export */ var IdCardButtonFi = (IdCardButtonFi_component.exports);
|
|
38635
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38169
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonLv.vue?vue&type=template&id=e8b99834&
|
|
38636
38170
|
var IdCardButtonLvvue_type_template_id_e8b99834_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('LvIdIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('eparaksts-eid'))+" ")]},proxy:true}])})}
|
|
38637
38171
|
var IdCardButtonLvvue_type_template_id_e8b99834_staticRenderFns = []
|
|
38638
38172
|
|
|
@@ -38687,7 +38221,7 @@ var IdCardButtonLv_component = normalizeComponent(
|
|
|
38687
38221
|
)
|
|
38688
38222
|
|
|
38689
38223
|
/* harmony default export */ var IdCardButtonLv = (IdCardButtonLv_component.exports);
|
|
38690
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38224
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/IdCardButtonPt.vue?vue&type=template&id=b726caca&
|
|
38691
38225
|
var IdCardButtonPtvue_type_template_id_b726caca_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_c('PtIdIcon',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('id-card'))+" ")]},proxy:true}])})}
|
|
38692
38226
|
var IdCardButtonPtvue_type_template_id_b726caca_staticRenderFns = []
|
|
38693
38227
|
|
|
@@ -38742,7 +38276,7 @@ var IdCardButtonPt_component = normalizeComponent(
|
|
|
38742
38276
|
)
|
|
38743
38277
|
|
|
38744
38278
|
/* harmony default export */ var IdCardButtonPt = (IdCardButtonPt_component.exports);
|
|
38745
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38279
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/methodButtons/OtpButton.vue?vue&type=template&id=4585c7b9&
|
|
38746
38280
|
var OtpButtonvue_type_template_id_4585c7b9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('MethodButtonBase',{scopedSlots:_vm._u([{key:"slot1",fn:function(){return [_vm._v(" "+_vm._s(_vm.$t('email-sms'))+" ")]},proxy:true}])})}
|
|
38747
38281
|
var OtpButtonvue_type_template_id_4585c7b9_staticRenderFns = []
|
|
38748
38282
|
|
|
@@ -38874,7 +38408,6 @@ var MethodButton_component = normalizeComponent(
|
|
|
38874
38408
|
|
|
38875
38409
|
|
|
38876
38410
|
|
|
38877
|
-
|
|
38878
38411
|
/* harmony default export */ var MethodSelectionvue_type_script_lang_js_ = ({
|
|
38879
38412
|
name: 'MethodSelection',
|
|
38880
38413
|
components: {
|
|
@@ -38898,6 +38431,9 @@ var MethodButton_component = normalizeComponent(
|
|
|
38898
38431
|
},
|
|
38899
38432
|
isThinLayout: function isThinLayout() {
|
|
38900
38433
|
return this.identificationMethodsInCurrentCountry.length % 2 !== 0 || this.signingMethodsInCurrentCountry.length % 2 !== 0;
|
|
38434
|
+
},
|
|
38435
|
+
methodsByActionType: function methodsByActionType() {
|
|
38436
|
+
return this.$root.$options.eidEasyMethodsConfig.methodsByActionType;
|
|
38901
38437
|
}
|
|
38902
38438
|
},
|
|
38903
38439
|
watch: {
|
|
@@ -38907,7 +38443,7 @@ var MethodButton_component = normalizeComponent(
|
|
|
38907
38443
|
return;
|
|
38908
38444
|
}
|
|
38909
38445
|
|
|
38910
|
-
var method =
|
|
38446
|
+
var method = this.methodsByActionType[newMethod.actionType]; // if a method doesn't have a viewname then it means that this method
|
|
38911
38447
|
// has no sub views and doesn't need any additional user input and can therefore be started immediately
|
|
38912
38448
|
|
|
38913
38449
|
if (!method.viewName) {
|
|
@@ -39024,8 +38560,8 @@ function MethodSelection_injectStyles (context) {
|
|
|
39024
38560
|
|
|
39025
38561
|
var MethodSelection_component = normalizeComponent(
|
|
39026
38562
|
views_MethodSelectionvue_type_script_lang_js_,
|
|
39027
|
-
|
|
39028
|
-
|
|
38563
|
+
MethodSelectionvue_type_template_id_510fefee_render,
|
|
38564
|
+
MethodSelectionvue_type_template_id_510fefee_staticRenderFns,
|
|
39029
38565
|
false,
|
|
39030
38566
|
MethodSelection_injectStyles,
|
|
39031
38567
|
null,
|
|
@@ -39034,14 +38570,14 @@ var MethodSelection_component = normalizeComponent(
|
|
|
39034
38570
|
)
|
|
39035
38571
|
|
|
39036
38572
|
/* harmony default export */ var MethodSelection = (MethodSelection_component.exports);
|
|
39037
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38573
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
39038
38574
|
var SmartIdAuthvue_type_template_id_097b8df2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}}),_c('AppButton',{attrs:{"scheme":"secondary","on-click":function () { return _vm.cancel(); }}},[_vm._v(" "+_vm._s(_vm.$t('cancel'))+" ")])],1):_c('div',[_c('AppForm',{attrs:{"id":"smartIdForm","schema":_vm.schema,"on-submit":_vm.authenticate,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
39039
38575
|
var SmartIdAuthvue_type_template_id_097b8df2_staticRenderFns = []
|
|
39040
38576
|
|
|
39041
38577
|
|
|
39042
38578
|
// CONCATENATED MODULE: ./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
39043
38579
|
|
|
39044
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38580
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppForm.vue?vue&type=template&id=f7509fbc&
|
|
39045
38581
|
var AppFormvue_type_template_id_f7509fbc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('form',{attrs:{"id":_vm.id},on:{"submit":function($event){$event.preventDefault();return _vm.handleSubmit($event)}}},_vm._l((_vm.schema),function(item){return _c('div',{key:item.name + item.label,class:_vm.$style.formElement},[_c(_vm.formComponentsByType[item.type],_vm._b({tag:"Component",on:{"input":function (value) { return _vm.handleInput(item.name, value); }}},'Component',Object.assign({}, item,
|
|
39046
38582
|
{id: _vm.formComponentId(item.name),
|
|
39047
38583
|
value: _vm.formValue[item.name],
|
|
@@ -39052,16 +38588,77 @@ var AppFormvue_type_template_id_f7509fbc_staticRenderFns = []
|
|
|
39052
38588
|
|
|
39053
38589
|
// CONCATENATED MODULE: ./src/components/AppForm.vue?vue&type=template&id=f7509fbc&
|
|
39054
38590
|
|
|
38591
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.concat.js
|
|
38592
|
+
var es_array_concat = __webpack_require__("99af");
|
|
38593
|
+
|
|
39055
38594
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
39056
38595
|
var es_array_reduce = __webpack_require__("13d5");
|
|
39057
38596
|
|
|
39058
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38597
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
39059
38598
|
var FormButtonvue_type_template_id_6eab7190_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('AppButton',{attrs:{"type":_vm.type}},[_vm._v(" "+_vm._s(_vm.label)+" ")])}
|
|
39060
38599
|
var FormButtonvue_type_template_id_6eab7190_staticRenderFns = []
|
|
39061
38600
|
|
|
39062
38601
|
|
|
39063
38602
|
// CONCATENATED MODULE: ./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
39064
38603
|
|
|
38604
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
38605
|
+
var AppButtonvue_type_template_id_7bb31c31_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('button',{class:[_vm.$style.button, _vm.schemeClassName],attrs:{"type":_vm.type},on:{"click":_vm.handleClick}},[_vm._t("default")],2)}
|
|
38606
|
+
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
38607
|
+
|
|
38608
|
+
|
|
38609
|
+
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=template&id=7bb31c31&
|
|
38610
|
+
|
|
38611
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
38612
|
+
|
|
38613
|
+
/* harmony default export */ var AppButtonvue_type_script_lang_js_ = ({
|
|
38614
|
+
name: 'AppButton',
|
|
38615
|
+
mixins: [src_schemeMixin(['primary', 'secondary'])],
|
|
38616
|
+
props: {
|
|
38617
|
+
type: String,
|
|
38618
|
+
onClick: Function
|
|
38619
|
+
},
|
|
38620
|
+
methods: {
|
|
38621
|
+
handleClick: function handleClick(e) {
|
|
38622
|
+
if (!this.disabled && this.onClick) {
|
|
38623
|
+
this.onClick(e);
|
|
38624
|
+
}
|
|
38625
|
+
}
|
|
38626
|
+
}
|
|
38627
|
+
});
|
|
38628
|
+
// CONCATENATED MODULE: ./src/components/AppButton.vue?vue&type=script&lang=js&
|
|
38629
|
+
/* harmony default export */ var components_AppButtonvue_type_script_lang_js_ = (AppButtonvue_type_script_lang_js_);
|
|
38630
|
+
// EXTERNAL MODULE: ./src/components/AppButton.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
38631
|
+
var AppButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("e513");
|
|
38632
|
+
|
|
38633
|
+
// CONCATENATED MODULE: ./src/components/AppButton.vue
|
|
38634
|
+
|
|
38635
|
+
|
|
38636
|
+
|
|
38637
|
+
|
|
38638
|
+
|
|
38639
|
+
|
|
38640
|
+
|
|
38641
|
+
|
|
38642
|
+
function AppButton_injectStyles (context) {
|
|
38643
|
+
|
|
38644
|
+
this["$style"] = (AppButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || AppButtonvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
38645
|
+
|
|
38646
|
+
}
|
|
38647
|
+
|
|
38648
|
+
/* normalize component */
|
|
38649
|
+
|
|
38650
|
+
var AppButton_component = normalizeComponent(
|
|
38651
|
+
components_AppButtonvue_type_script_lang_js_,
|
|
38652
|
+
AppButtonvue_type_template_id_7bb31c31_render,
|
|
38653
|
+
AppButtonvue_type_template_id_7bb31c31_staticRenderFns,
|
|
38654
|
+
false,
|
|
38655
|
+
AppButton_injectStyles,
|
|
38656
|
+
null,
|
|
38657
|
+
null
|
|
38658
|
+
|
|
38659
|
+
)
|
|
38660
|
+
|
|
38661
|
+
/* harmony default export */ var AppButton = (AppButton_component.exports);
|
|
39065
38662
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormButton.vue?vue&type=script&lang=js&
|
|
39066
38663
|
|
|
39067
38664
|
/* harmony default export */ var FormButtonvue_type_script_lang_js_ = ({
|
|
@@ -39096,7 +38693,7 @@ var FormButton_component = normalizeComponent(
|
|
|
39096
38693
|
)
|
|
39097
38694
|
|
|
39098
38695
|
/* harmony default export */ var FormButton = (FormButton_component.exports);
|
|
39099
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38696
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/FormField.vue?vue&type=template&id=5f6d450f&
|
|
39100
38697
|
var FormFieldvue_type_template_id_5f6d450f_render = function () {
|
|
39101
38698
|
var _obj;
|
|
39102
38699
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:[_vm.$style.formField, ( _obj = {}, _obj[_vm.$style.hidden] = _vm.type === 'hidden', _obj )]},[(_vm.instructions)?_c('div',{class:_vm.$style.instructions},[_vm._v(" "+_vm._s(_vm.instructions)+" ")]):_vm._e(),_c('label',{class:_vm.$style.label,attrs:{"for":_vm.id}},[_vm._v(" "+_vm._s(_vm.label)+" ")]),_c('AppInput',_vm._b({on:{"input":_vm.handleInput}},'AppInput',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id, value: _vm.value, hasErrors: _vm.hasErrors, callingCode: _vm.callingCode, min: _vm.min},false)),(_vm.hasErrors)?_c('ul',{class:_vm.$style.validationContainer},_vm._l((_vm.errors),function(error){return _c('li',{key:error,class:_vm.$style.validationMessage},[_vm._v(" "+_vm._s(error)+" ")])}),0):_vm._e()],1)}
|
|
@@ -39105,7 +38702,7 @@ var FormFieldvue_type_template_id_5f6d450f_staticRenderFns = []
|
|
|
39105
38702
|
|
|
39106
38703
|
// CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=5f6d450f&
|
|
39107
38704
|
|
|
39108
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
38705
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/AppInput.vue?vue&type=template&id=5b619160&
|
|
39109
38706
|
var AppInputvue_type_template_id_5b619160_render = function () {
|
|
39110
38707
|
var _obj, _obj$1;
|
|
39111
38708
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.callingCode)?_c('div',{class:_vm.$style.hasPrefix},[_c('div',{class:_vm.$style.hasPrefix_prefix},[_vm._v(" "+_vm._s(_vm.callingCode)+" ")]),_c('div',{class:_vm.$style.hasPrefix_inputWrap},[_c('input',_vm._b({class:[_vm.$style.input, ( _obj = {}, _obj[_vm.$style.error] = _vm.hasErrors, _obj )],domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))])]):_c('input',_vm._b({class:[_vm.$style.input, ( _obj$1 = {}, _obj$1[_vm.$style.error] = _vm.hasErrors, _obj$1 )],domProps:{"value":_vm.value},on:{"input":_vm.handleInput}},'input',{type: _vm.type, name: _vm.name, placeholder: _vm.placeholder, id: _vm.id},false))}
|
|
@@ -39447,7 +39044,7 @@ var getFieldErrors = function getFieldErrors(error) {
|
|
|
39447
39044
|
};
|
|
39448
39045
|
|
|
39449
39046
|
/* harmony default export */ var src_getFieldErrors = (getFieldErrors);
|
|
39450
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39047
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/components/ChallengeLoader.vue?vue&type=template&id=39c6ba11&
|
|
39451
39048
|
var ChallengeLoadervue_type_template_id_39c6ba11_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.challenge},[_c('div',{class:_vm.$style.loader},[_c('AppSpinner',{attrs:{"scheme":"secondary"}})],1),(_vm.userInstructions)?_c('div',{class:_vm.$style.userInstructions},[_vm._v(" "+_vm._s(_vm.userInstructions)+" ")]):_vm._e(),(_vm.challenge)?_c('div',[_c('div',{class:_vm.$style.challengeTitle},[_vm._v(" "+_vm._s(_vm.$t('your-verification-code'))+" ")]),_c('div',{class:_vm.$style.challengeCode},[_vm._v(" "+_vm._s(_vm.challenge)+" ")])]):_vm._e()])}
|
|
39452
39049
|
var ChallengeLoadervue_type_template_id_39c6ba11_staticRenderFns = []
|
|
39453
39050
|
|
|
@@ -39648,7 +39245,7 @@ var SmartIdAuth_component = normalizeComponent(
|
|
|
39648
39245
|
)
|
|
39649
39246
|
|
|
39650
39247
|
/* harmony default export */ var SmartIdAuth = (SmartIdAuth_component.exports);
|
|
39651
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39248
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/MobileIdAuth.vue?vue&type=template&id=3f6c41cc&
|
|
39652
39249
|
var MobileIdAuthvue_type_template_id_3f6c41cc_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}}),_c('AppButton',{attrs:{"scheme":"secondary","on-click":function () { return _vm.cancel(); }}},[_vm._v(" "+_vm._s(_vm.$t('cancel'))+" ")])],1):_c('div',[_c('AppForm',{attrs:{"id":"mobileIdForm","schema":_vm.schema,"on-submit":_vm.authenticate,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
39653
39250
|
var MobileIdAuthvue_type_template_id_3f6c41cc_staticRenderFns = []
|
|
39654
39251
|
|
|
@@ -39817,7 +39414,7 @@ var MobileIdAuth_component = normalizeComponent(
|
|
|
39817
39414
|
)
|
|
39818
39415
|
|
|
39819
39416
|
/* harmony default export */ var MobileIdAuth = (MobileIdAuth_component.exports);
|
|
39820
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39417
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/IdentificationFrejaId.vue?vue&type=template&id=392fcbd9&
|
|
39821
39418
|
var IdentificationFrejaIdvue_type_template_id_392fcbd9_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.userInstructions)?_c('div',{class:_vm.$style.userInstructions},[_c('ChallengeLoader',{attrs:{"user-instructions":_vm.userInstructions}}),_c('AppButton',{attrs:{"scheme":"secondary","on-click":function () { return _vm.cancel(); }}},[_vm._v(" "+_vm._s(_vm.$t('cancel'))+" ")])],1):_c('div',[_c('AppForm',{attrs:{"id":"frejaIdForm","schema":_vm.schema,"on-submit":_vm.authenticate,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
39822
39419
|
var IdentificationFrejaIdvue_type_template_id_392fcbd9_staticRenderFns = []
|
|
39823
39420
|
|
|
@@ -39973,7 +39570,7 @@ var IdentificationFrejaId_component = normalizeComponent(
|
|
|
39973
39570
|
)
|
|
39974
39571
|
|
|
39975
39572
|
/* harmony default export */ var IdentificationFrejaId = (IdentificationFrejaId_component.exports);
|
|
39976
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39573
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/IdentificationZealId.vue?vue&type=template&id=e102c202&
|
|
39977
39574
|
var IdentificationZealIdvue_type_template_id_e102c202_render = function () {
|
|
39978
39575
|
var _obj;
|
|
39979
39576
|
var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.error)?_c('div',{class:_vm.$style.buttonHolder},[_c('AppButton',{attrs:{"on-click":function () { return _vm.startIdentification(); }}},[_vm._v(" "+_vm._s(_vm.$t('try-again'))+" ")])],1):_vm._e(),_c('div',{ref:"iframeHolder",class:[_vm.$style.iframeHolder, ( _obj = {}, _obj[_vm.$style.hidden] = _vm.error, _obj )]})])}
|
|
@@ -40093,7 +39690,7 @@ var IdentificationZealId_component = normalizeComponent(
|
|
|
40093
39690
|
)
|
|
40094
39691
|
|
|
40095
39692
|
/* harmony default export */ var IdentificationZealId = (IdentificationZealId_component.exports);
|
|
40096
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39693
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureSmartId.vue?vue&type=template&id=4e579494&
|
|
40097
39694
|
var SignatureSmartIdvue_type_template_id_4e579494_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}})],1):_c('div',[_c('AppForm',{attrs:{"id":"smartIdSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
40098
39695
|
var SignatureSmartIdvue_type_template_id_4e579494_staticRenderFns = []
|
|
40099
39696
|
|
|
@@ -40255,7 +39852,7 @@ var SignatureSmartId_component = normalizeComponent(
|
|
|
40255
39852
|
)
|
|
40256
39853
|
|
|
40257
39854
|
/* harmony default export */ var SignatureSmartId = (SignatureSmartId_component.exports);
|
|
40258
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39855
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureMobileId.vue?vue&type=template&id=1c9f8ccb&
|
|
40259
39856
|
var SignatureMobileIdvue_type_template_id_1c9f8ccb_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.challenge)?_c('div',{class:_vm.$style.challenge},[_c('ChallengeLoader',{attrs:{"challenge":_vm.challenge}})],1):_c('div',[_c('AppForm',{attrs:{"id":"mobileIdSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
40260
39857
|
var SignatureMobileIdvue_type_template_id_1c9f8ccb_staticRenderFns = []
|
|
40261
39858
|
|
|
@@ -40424,7 +40021,103 @@ var SignatureMobileId_component = normalizeComponent(
|
|
|
40424
40021
|
)
|
|
40425
40022
|
|
|
40426
40023
|
/* harmony default export */ var SignatureMobileId = (SignatureMobileId_component.exports);
|
|
40427
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40024
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=template&id=89f3ab84&
|
|
40025
|
+
var SignatureFtnvue_type_template_id_89f3ab84_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{class:_vm.$style.note},[_vm._v(" "+_vm._s(_vm.$t('pre-sign-confirmation', {method: _vm.$t('finnish-online-bank')}))+" ")]),_c('div',{class:_vm.$style.formContainer},[_c('AppButton',{attrs:{"on-click":_vm.sign}},[_vm._v(" "+_vm._s(_vm.$t('Sign'))+" ")])],1)])}
|
|
40026
|
+
var SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns = []
|
|
40027
|
+
|
|
40028
|
+
|
|
40029
|
+
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=template&id=89f3ab84&
|
|
40030
|
+
|
|
40031
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
40032
|
+
|
|
40033
|
+
|
|
40034
|
+
/* harmony default export */ var SignatureFtnvue_type_script_lang_js_ = ({
|
|
40035
|
+
name: 'SignatureFtn',
|
|
40036
|
+
components: {
|
|
40037
|
+
AppButton: AppButton
|
|
40038
|
+
},
|
|
40039
|
+
data: function data() {
|
|
40040
|
+
return {
|
|
40041
|
+
signingProcess: {}
|
|
40042
|
+
};
|
|
40043
|
+
},
|
|
40044
|
+
computed: {
|
|
40045
|
+
additionalMethodConfig: function additionalMethodConfig() {
|
|
40046
|
+
return this.$root.$options.storeGetters.additionalMethodConfig();
|
|
40047
|
+
}
|
|
40048
|
+
},
|
|
40049
|
+
methods: {
|
|
40050
|
+
loadingStart: function loadingStart() {
|
|
40051
|
+
this.$root.$options.storeActions.loadingStart();
|
|
40052
|
+
},
|
|
40053
|
+
loadingEnd: function loadingEnd() {
|
|
40054
|
+
this.$root.$options.storeActions.loadingEnd();
|
|
40055
|
+
},
|
|
40056
|
+
addFlashMessage: function addFlashMessage(message) {
|
|
40057
|
+
this.$root.$options.storeActions.addFlashMessage(message);
|
|
40058
|
+
},
|
|
40059
|
+
clearFlashMessages: function clearFlashMessages() {
|
|
40060
|
+
this.$root.$options.storeActions.clearFlashMessages();
|
|
40061
|
+
},
|
|
40062
|
+
sign: function sign() {
|
|
40063
|
+
var _this = this;
|
|
40064
|
+
|
|
40065
|
+
this.loadingStart();
|
|
40066
|
+
this.clearFlashMessages();
|
|
40067
|
+
var additionalMethodConfig = this.additionalMethodConfig || {};
|
|
40068
|
+
this.signingProcess = this.$root.$options.eidEasyClient.signature.ftnSignature.start(_objectSpread2({
|
|
40069
|
+
fail: function fail(error) {
|
|
40070
|
+
if (!error.isCancel) {
|
|
40071
|
+
_this.addFlashMessage(error);
|
|
40072
|
+
}
|
|
40073
|
+
|
|
40074
|
+
_this.$root.$options.eidEasyOnFail(error);
|
|
40075
|
+
},
|
|
40076
|
+
success: function success(result) {
|
|
40077
|
+
_this.$root.$options.eidEasyOnSuccess(result);
|
|
40078
|
+
},
|
|
40079
|
+
finished: function finished() {
|
|
40080
|
+
_this.loadingEnd();
|
|
40081
|
+
}
|
|
40082
|
+
}, additionalMethodConfig));
|
|
40083
|
+
}
|
|
40084
|
+
}
|
|
40085
|
+
});
|
|
40086
|
+
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue?vue&type=script&lang=js&
|
|
40087
|
+
/* harmony default export */ var views_SignatureFtnvue_type_script_lang_js_ = (SignatureFtnvue_type_script_lang_js_);
|
|
40088
|
+
// EXTERNAL MODULE: ./src/views/SignatureFtn.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
40089
|
+
var SignatureFtnvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("268a");
|
|
40090
|
+
|
|
40091
|
+
// CONCATENATED MODULE: ./src/views/SignatureFtn.vue
|
|
40092
|
+
|
|
40093
|
+
|
|
40094
|
+
|
|
40095
|
+
|
|
40096
|
+
|
|
40097
|
+
|
|
40098
|
+
|
|
40099
|
+
|
|
40100
|
+
function SignatureFtn_injectStyles (context) {
|
|
40101
|
+
|
|
40102
|
+
this["$style"] = (SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"].locals || SignatureFtnvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
40103
|
+
|
|
40104
|
+
}
|
|
40105
|
+
|
|
40106
|
+
/* normalize component */
|
|
40107
|
+
|
|
40108
|
+
var SignatureFtn_component = normalizeComponent(
|
|
40109
|
+
views_SignatureFtnvue_type_script_lang_js_,
|
|
40110
|
+
SignatureFtnvue_type_template_id_89f3ab84_render,
|
|
40111
|
+
SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns,
|
|
40112
|
+
false,
|
|
40113
|
+
SignatureFtn_injectStyles,
|
|
40114
|
+
null,
|
|
40115
|
+
null
|
|
40116
|
+
|
|
40117
|
+
)
|
|
40118
|
+
|
|
40119
|
+
/* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
|
|
40120
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ed841b0a-vue-loader-template"}!./node_modules/@vue/cli-service/node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/views/SignatureOtp.vue?vue&type=template&id=59f05d72&
|
|
40428
40121
|
var SignatureOtpvue_type_template_id_59f05d72_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.showConfirm)?_c('div',[_c('div',{class:_vm.$style.mb4},[_vm._v(" "+_vm._s(_vm.$t('confirm-doc-check-and-sign'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"on-click":_vm.approveConfirm}},[_vm._v(" "+_vm._s(_vm.$t('yes'))+" ")]),_c('AppButton',{class:_vm.$style.mb4,attrs:{"scheme":"secondary","on-click":_vm.rejectConfirm}},[_vm._v(" "+_vm._s(_vm.$t('no'))+" ")])],1):_c('div',[(_vm.emailToken)?_c('div',[(_vm.otpPhone)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Phone: "+_vm._s(_vm.otpPhone)+" ")]):_vm._e(),(_vm.otpEmail)?_c('div',{class:_vm.$style.mb4},[_vm._v(" Email: "),_c('b',[_vm._v(_vm._s(_vm.otpEmail))])]):_vm._e()]):_vm._e(),(_vm.schema.length)?_c('div',[_c('AppForm',{attrs:{"id":"otpSignatureForm","schema":_vm.schema,"on-submit":_vm.startConfirm,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1):_c('div',[_c('AppAlert',{attrs:{"scheme":"danger"}},[_vm._v(" Missing otpEmail or otpPhone ")])],1)])])}
|
|
40429
40122
|
var SignatureOtpvue_type_template_id_59f05d72_staticRenderFns = []
|
|
40430
40123
|
|
|
@@ -40709,6 +40402,49 @@ var AppLayout_component = normalizeComponent(
|
|
|
40709
40402
|
)
|
|
40710
40403
|
|
|
40711
40404
|
/* harmony default export */ var AppLayout = (AppLayout_component.exports);
|
|
40405
|
+
// CONCATENATED MODULE: ./src/featureFlags.js
|
|
40406
|
+
|
|
40407
|
+
|
|
40408
|
+
var flags = {// example
|
|
40409
|
+
|
|
40410
|
+
/*
|
|
40411
|
+
FF_FREJA_EID_LOGIN: {
|
|
40412
|
+
created: '2021-08-02',
|
|
40413
|
+
enabledInEnvs: ['development'],
|
|
40414
|
+
},
|
|
40415
|
+
*/
|
|
40416
|
+
};
|
|
40417
|
+
|
|
40418
|
+
var createFeatureFlags = function createFeatureFlags(_ref) {
|
|
40419
|
+
var env = _ref.env;
|
|
40420
|
+
|
|
40421
|
+
var enabled = function enabled(flag) {
|
|
40422
|
+
var isEnabled = false;
|
|
40423
|
+
|
|
40424
|
+
if (flags[flag] && flags[flag].enabledInEnvs.includes(env)) {
|
|
40425
|
+
isEnabled = true;
|
|
40426
|
+
}
|
|
40427
|
+
|
|
40428
|
+
return isEnabled;
|
|
40429
|
+
};
|
|
40430
|
+
|
|
40431
|
+
return {
|
|
40432
|
+
enabled: enabled
|
|
40433
|
+
};
|
|
40434
|
+
};
|
|
40435
|
+
|
|
40436
|
+
var featureFlags = createFeatureFlags({
|
|
40437
|
+
env: "production" || false
|
|
40438
|
+
});
|
|
40439
|
+
/* harmony default export */ var src_featureFlags = (featureFlags);
|
|
40440
|
+
// EXTERNAL MODULE: ./node_modules/@eid-easy/eideasy-browser-client/dist/eideasy-browser-client.js
|
|
40441
|
+
var eideasy_browser_client = __webpack_require__("0ea0");
|
|
40442
|
+
var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_browser_client);
|
|
40443
|
+
|
|
40444
|
+
// CONCATENATED MODULE: ./src/config.js
|
|
40445
|
+
|
|
40446
|
+
|
|
40447
|
+
|
|
40712
40448
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/@vue/cli-service/node_modules/vue-loader/lib??vue-loader-options!./src/App.vue?vue&type=script&lang=js&
|
|
40713
40449
|
|
|
40714
40450
|
|
|
@@ -40805,6 +40541,12 @@ var AppLayout_component = normalizeComponent(
|
|
|
40805
40541
|
debug: {
|
|
40806
40542
|
type: Boolean,
|
|
40807
40543
|
default: false
|
|
40544
|
+
},
|
|
40545
|
+
methodsConfigFilter: {
|
|
40546
|
+
type: Function
|
|
40547
|
+
},
|
|
40548
|
+
modifyEndpointUrl: {
|
|
40549
|
+
type: Function
|
|
40808
40550
|
}
|
|
40809
40551
|
},
|
|
40810
40552
|
computed: {
|
|
@@ -40897,7 +40639,7 @@ var AppLayout_component = normalizeComponent(
|
|
|
40897
40639
|
// in this case the widget would make a request to the default ee. endpoint - that we do not want
|
|
40898
40640
|
// so, we'll take the first country from the countries whitelist instead
|
|
40899
40641
|
|
|
40900
|
-
var supportedCountries =
|
|
40642
|
+
var supportedCountries = this.$root.$options.eidEasyMethodsConfig.methodsByActionType[selectedMethod].supportedCountries;
|
|
40901
40643
|
|
|
40902
40644
|
if (Array.isArray(supportedCountries) && !supportedCountries.includes(countryToSelect)) {
|
|
40903
40645
|
countryToSelect = supportedCountries[0].toUpperCase();
|
|
@@ -43701,6 +43443,9 @@ function loadLocaleMessages() {
|
|
|
43701
43443
|
var vue_select = __webpack_require__("4a7a");
|
|
43702
43444
|
var vue_select_default = /*#__PURE__*/__webpack_require__.n(vue_select);
|
|
43703
43445
|
|
|
43446
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.find.js
|
|
43447
|
+
var es_array_find = __webpack_require__("7db0");
|
|
43448
|
+
|
|
43704
43449
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.flat.js
|
|
43705
43450
|
var es_array_flat = __webpack_require__("0481");
|
|
43706
43451
|
|
|
@@ -43734,7 +43479,10 @@ var es_set = __webpack_require__("6062");
|
|
|
43734
43479
|
|
|
43735
43480
|
|
|
43736
43481
|
|
|
43737
|
-
var createStore_createStore = function createStore() {
|
|
43482
|
+
var createStore_createStore = function createStore(_ref) {
|
|
43483
|
+
var methodsConfig = _ref.methodsConfig;
|
|
43484
|
+
var availableMethods = methodsConfig.availableMethods,
|
|
43485
|
+
methodsByActionType = methodsConfig.methodsByActionType;
|
|
43738
43486
|
var store = vue_runtime_esm["a" /* default */].observable({
|
|
43739
43487
|
countryCode: 'EE',
|
|
43740
43488
|
currentView: views_viewNames.MethodSelection,
|
|
@@ -43777,7 +43525,7 @@ var createStore_createStore = function createStore() {
|
|
|
43777
43525
|
},
|
|
43778
43526
|
currentViewTitleKey: function currentViewTitleKey() {
|
|
43779
43527
|
var currentMethod = store.currentMethod && store.currentMethod.actionType;
|
|
43780
|
-
return
|
|
43528
|
+
return methodsByActionType[currentMethod].translationKeys && methodsByActionType[currentMethod].translationKeys.title;
|
|
43781
43529
|
},
|
|
43782
43530
|
isLoading: function isLoading() {
|
|
43783
43531
|
return store.isLoading;
|
|
@@ -43906,7 +43654,7 @@ var createStore_createStore = function createStore() {
|
|
|
43906
43654
|
},
|
|
43907
43655
|
selectMethod: function selectMethod(actionType) {
|
|
43908
43656
|
var timestamp = Date.now();
|
|
43909
|
-
var viewName =
|
|
43657
|
+
var viewName = methodsByActionType[actionType].viewName;
|
|
43910
43658
|
mutations.clearFlashMessages();
|
|
43911
43659
|
mutations.setCurrentMethod({
|
|
43912
43660
|
actionType: actionType,
|
|
@@ -44015,6 +43763,288 @@ var createStore_createStore = function createStore() {
|
|
|
44015
43763
|
};
|
|
44016
43764
|
|
|
44017
43765
|
/* harmony default export */ var src_createStore = (createStore_createStore);
|
|
43766
|
+
// CONCATENATED MODULE: ./src/components/methodButtons/methodButtonNames.js
|
|
43767
|
+
var methodButtonNames = {
|
|
43768
|
+
IdCardButton: 'IdCardButton',
|
|
43769
|
+
IdCardButtonEE: 'IdCardButtonEE',
|
|
43770
|
+
IdCardButtonFi: 'IdCardButtonFi',
|
|
43771
|
+
IdCardButtonBe: 'IdCardButtonBe',
|
|
43772
|
+
SmartIdButton: 'SmartIdButton',
|
|
43773
|
+
MobileIdButton: 'MobileIdButton',
|
|
43774
|
+
MobileIdButtonEE: 'MobileIdButtonEE',
|
|
43775
|
+
EparakstsMobileButton: 'EparakstsMobileButton',
|
|
43776
|
+
FrejaEidButton: 'FrejaEidButton',
|
|
43777
|
+
ZealIdButton: 'ZealIdButton',
|
|
43778
|
+
MojeIdButton: 'MojeIdButton',
|
|
43779
|
+
FinnishTrustNetworkButton: 'FinnishTrustNetworkButton',
|
|
43780
|
+
AtHandyButton: 'AtHandyButton',
|
|
43781
|
+
IdCardButtonLv: 'IdCardButtonLv',
|
|
43782
|
+
IdCardButtonPt: 'IdCardButtonPt',
|
|
43783
|
+
OtpButton: 'OtpButton'
|
|
43784
|
+
};
|
|
43785
|
+
/* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
|
|
43786
|
+
// CONCATENATED MODULE: ./src/createMethodsConfig.js
|
|
43787
|
+
|
|
43788
|
+
|
|
43789
|
+
|
|
43790
|
+
|
|
43791
|
+
|
|
43792
|
+
|
|
43793
|
+
|
|
43794
|
+
|
|
43795
|
+
|
|
43796
|
+
|
|
43797
|
+
var _Object$freeze, _availableMethods;
|
|
43798
|
+
|
|
43799
|
+
|
|
43800
|
+
|
|
43801
|
+
|
|
43802
|
+
var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].IDENTIFICATION, [{
|
|
43803
|
+
actionType: eideasy_browser_client["methodActionTypes"].BE_ID_LOGIN,
|
|
43804
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
43805
|
+
translationKeys: {
|
|
43806
|
+
title: 'id-card'
|
|
43807
|
+
}
|
|
43808
|
+
}, {
|
|
43809
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_ID_LOGIN,
|
|
43810
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
43811
|
+
translationKeys: {
|
|
43812
|
+
title: 'id-card'
|
|
43813
|
+
}
|
|
43814
|
+
}, {
|
|
43815
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_ID_LOGIN,
|
|
43816
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
43817
|
+
translationKeys: {
|
|
43818
|
+
title: 'id-card'
|
|
43819
|
+
}
|
|
43820
|
+
}, {
|
|
43821
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_ID_LOGIN,
|
|
43822
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
43823
|
+
translationKeys: {
|
|
43824
|
+
title: 'id-card'
|
|
43825
|
+
}
|
|
43826
|
+
}, {
|
|
43827
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_ID_LOGIN,
|
|
43828
|
+
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
43829
|
+
translationKeys: {
|
|
43830
|
+
title: 'id-card'
|
|
43831
|
+
}
|
|
43832
|
+
}, {
|
|
43833
|
+
actionType: eideasy_browser_client["methodActionTypes"].PT_ID_LOGIN,
|
|
43834
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
43835
|
+
translationKeys: {
|
|
43836
|
+
title: 'id-card'
|
|
43837
|
+
}
|
|
43838
|
+
}, {
|
|
43839
|
+
actionType: eideasy_browser_client["methodActionTypes"].RS_ID_LOGIN,
|
|
43840
|
+
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
43841
|
+
translationKeys: {
|
|
43842
|
+
title: 'id-card'
|
|
43843
|
+
}
|
|
43844
|
+
}, {
|
|
43845
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILE_ID,
|
|
43846
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
43847
|
+
viewName: views_viewNames.MobileIdAuth,
|
|
43848
|
+
translationKeys: {
|
|
43849
|
+
title: 'mobile-id'
|
|
43850
|
+
}
|
|
43851
|
+
}, {
|
|
43852
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_LOGIN,
|
|
43853
|
+
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
43854
|
+
translationKeys: {
|
|
43855
|
+
title: 'eparaksts-mobile'
|
|
43856
|
+
}
|
|
43857
|
+
}, {
|
|
43858
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILE_ID,
|
|
43859
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
43860
|
+
viewName: views_viewNames.MobileIdAuth,
|
|
43861
|
+
translationKeys: {
|
|
43862
|
+
title: 'mobile-id'
|
|
43863
|
+
}
|
|
43864
|
+
}, {
|
|
43865
|
+
actionType: eideasy_browser_client["methodActionTypes"].SMART_ID,
|
|
43866
|
+
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
43867
|
+
viewName: views_viewNames.SmartIdAuth,
|
|
43868
|
+
translationKeys: {
|
|
43869
|
+
title: 'smart-id'
|
|
43870
|
+
}
|
|
43871
|
+
}, {
|
|
43872
|
+
actionType: eideasy_browser_client["methodActionTypes"].FREJA_EID_LOGIN,
|
|
43873
|
+
buttonName: methodButtons_methodButtonNames.FrejaEidButton,
|
|
43874
|
+
viewName: views_viewNames.IdentificationFrejaId,
|
|
43875
|
+
translationKeys: {
|
|
43876
|
+
title: 'freja-eid'
|
|
43877
|
+
}
|
|
43878
|
+
}, {
|
|
43879
|
+
actionType: eideasy_browser_client["methodActionTypes"].ZEALID_LOGIN,
|
|
43880
|
+
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
43881
|
+
viewName: views_viewNames.IdentificationZealId,
|
|
43882
|
+
translationKeys: {
|
|
43883
|
+
title: 'zeal-id'
|
|
43884
|
+
}
|
|
43885
|
+
}, {
|
|
43886
|
+
actionType: eideasy_browser_client["methodActionTypes"].CZ_MOJEID,
|
|
43887
|
+
buttonName: methodButtons_methodButtonNames.MojeIdButton,
|
|
43888
|
+
translationKeys: {
|
|
43889
|
+
title: 'moje-id'
|
|
43890
|
+
}
|
|
43891
|
+
}, {
|
|
43892
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_LOGIN,
|
|
43893
|
+
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
43894
|
+
translationKeys: {
|
|
43895
|
+
title: 'finnish-online-bank'
|
|
43896
|
+
}
|
|
43897
|
+
}, {
|
|
43898
|
+
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_LOGIN,
|
|
43899
|
+
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
43900
|
+
translationKeys: {
|
|
43901
|
+
title: 'austrian-handy-signatur'
|
|
43902
|
+
}
|
|
43903
|
+
}]), _defineProperty(_Object$freeze, eideasy_browser_client["methodTypes"].SIGNATURE, [{
|
|
43904
|
+
actionType: eideasy_browser_client["methodActionTypes"].BE_IDCARD_SIGNATURE,
|
|
43905
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonBe,
|
|
43906
|
+
translationKeys: {
|
|
43907
|
+
title: 'id-card'
|
|
43908
|
+
}
|
|
43909
|
+
}, {
|
|
43910
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_IDCARD_SIGNATURE,
|
|
43911
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonEE,
|
|
43912
|
+
translationKeys: {
|
|
43913
|
+
title: 'id-card'
|
|
43914
|
+
}
|
|
43915
|
+
}, {
|
|
43916
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_IDCARD_SIGNATURE,
|
|
43917
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonFi,
|
|
43918
|
+
translationKeys: {
|
|
43919
|
+
title: 'id-card'
|
|
43920
|
+
}
|
|
43921
|
+
}, {
|
|
43922
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_IDCARD_SIGNATURE,
|
|
43923
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonLv,
|
|
43924
|
+
translationKeys: {
|
|
43925
|
+
title: 'id-card'
|
|
43926
|
+
}
|
|
43927
|
+
}, {
|
|
43928
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_IDCARD_SIGNATURE,
|
|
43929
|
+
buttonName: methodButtons_methodButtonNames.IdCardButton,
|
|
43930
|
+
translationKeys: {
|
|
43931
|
+
title: 'id-card'
|
|
43932
|
+
}
|
|
43933
|
+
}, {
|
|
43934
|
+
actionType: eideasy_browser_client["methodActionTypes"].PT_IDCARD_SIGNATURE,
|
|
43935
|
+
buttonName: methodButtons_methodButtonNames.IdCardButtonPt,
|
|
43936
|
+
translationKeys: {
|
|
43937
|
+
title: 'id-card'
|
|
43938
|
+
}
|
|
43939
|
+
}, {
|
|
43940
|
+
actionType: eideasy_browser_client["methodActionTypes"].SMARTID_SIGNATURE,
|
|
43941
|
+
buttonName: methodButtons_methodButtonNames.SmartIdButton,
|
|
43942
|
+
viewName: views_viewNames.SignatureSmartId,
|
|
43943
|
+
translationKeys: {
|
|
43944
|
+
title: 'smart-id'
|
|
43945
|
+
}
|
|
43946
|
+
}, {
|
|
43947
|
+
actionType: eideasy_browser_client["methodActionTypes"].EE_MOBILEID_SIGNATURE,
|
|
43948
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButtonEE,
|
|
43949
|
+
viewName: views_viewNames.SignatureMobileId,
|
|
43950
|
+
translationKeys: {
|
|
43951
|
+
title: 'mobile-id'
|
|
43952
|
+
}
|
|
43953
|
+
}, {
|
|
43954
|
+
actionType: eideasy_browser_client["methodActionTypes"].LT_MOBILEID_SIGNATURE,
|
|
43955
|
+
buttonName: methodButtons_methodButtonNames.MobileIdButton,
|
|
43956
|
+
viewName: views_viewNames.SignatureMobileId,
|
|
43957
|
+
translationKeys: {
|
|
43958
|
+
title: 'mobile-id'
|
|
43959
|
+
}
|
|
43960
|
+
}, {
|
|
43961
|
+
actionType: eideasy_browser_client["methodActionTypes"].LV_EPARAKSTS_MOBILE_SIGNATURE,
|
|
43962
|
+
buttonName: methodButtons_methodButtonNames.EparakstsMobileButton,
|
|
43963
|
+
translationKeys: {
|
|
43964
|
+
title: 'eparaksts-mobile'
|
|
43965
|
+
}
|
|
43966
|
+
}, {
|
|
43967
|
+
actionType: eideasy_browser_client["methodActionTypes"].FI_FTN_ADVANCED_SIGNATURE,
|
|
43968
|
+
buttonName: methodButtons_methodButtonNames.FinnishTrustNetworkButton,
|
|
43969
|
+
viewName: views_viewNames.SignatureFtn,
|
|
43970
|
+
translationKeys: {
|
|
43971
|
+
title: 'finnish-online-bank'
|
|
43972
|
+
}
|
|
43973
|
+
}, {
|
|
43974
|
+
actionType: eideasy_browser_client["methodActionTypes"].OTP_EMAIL,
|
|
43975
|
+
buttonName: methodButtons_methodButtonNames.OtpButton,
|
|
43976
|
+
viewName: views_viewNames.SignatureOtp,
|
|
43977
|
+
translationKeys: {
|
|
43978
|
+
title: 'email-sms'
|
|
43979
|
+
}
|
|
43980
|
+
}, {
|
|
43981
|
+
actionType: eideasy_browser_client["methodActionTypes"].AT_HANDY_SIGNATUR_SIGNATURE,
|
|
43982
|
+
buttonName: methodButtons_methodButtonNames.AtHandyButton,
|
|
43983
|
+
translationKeys: {
|
|
43984
|
+
title: 'austrian-handy-signatur'
|
|
43985
|
+
}
|
|
43986
|
+
}, {
|
|
43987
|
+
actionType: eideasy_browser_client["methodActionTypes"].ZEAL_ID_SIGNATURE,
|
|
43988
|
+
buttonName: methodButtons_methodButtonNames.ZealIdButton,
|
|
43989
|
+
translationKeys: {
|
|
43990
|
+
title: 'zeal-id'
|
|
43991
|
+
}
|
|
43992
|
+
}]), _Object$freeze));
|
|
43993
|
+
|
|
43994
|
+
var createMethodsConfig_getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
|
|
43995
|
+
var methods = [];
|
|
43996
|
+
widgetMethods.forEach(function (widgetMethod) {
|
|
43997
|
+
var clientMethod = clientMethods.find(function (clientMethod) {
|
|
43998
|
+
return clientMethod.actionType === widgetMethod.actionType;
|
|
43999
|
+
});
|
|
44000
|
+
|
|
44001
|
+
if (clientMethod) {
|
|
44002
|
+
methods.push(_objectSpread2(_objectSpread2({}, clientMethod), widgetMethod));
|
|
44003
|
+
}
|
|
44004
|
+
});
|
|
44005
|
+
return methods;
|
|
44006
|
+
};
|
|
44007
|
+
|
|
44008
|
+
var createMethodsConfig_createGetMethodsByActionType = function createGetMethodsByActionType(methods) {
|
|
44009
|
+
var identificationMethods = methods[eideasy_browser_client["methodTypes"].IDENTIFICATION].map(function (method) {
|
|
44010
|
+
method.methodType = eideasy_browser_client["methodTypes"].IDENTIFICATION;
|
|
44011
|
+
return method;
|
|
44012
|
+
});
|
|
44013
|
+
var signatureMethods = methods[eideasy_browser_client["methodTypes"].SIGNATURE].map(function (method) {
|
|
44014
|
+
method.methodType = eideasy_browser_client["methodTypes"].SIGNATURE;
|
|
44015
|
+
return method;
|
|
44016
|
+
});
|
|
44017
|
+
var allMethods = [].concat(_toConsumableArray(identificationMethods), _toConsumableArray(signatureMethods));
|
|
44018
|
+
var methodsByActionType = {};
|
|
44019
|
+
allMethods.forEach(function (method) {
|
|
44020
|
+
return methodsByActionType[method.actionType] = method;
|
|
44021
|
+
});
|
|
44022
|
+
return methodsByActionType;
|
|
44023
|
+
}; // intersection of all the methods provided by the eideasy-browser-client and all the methods in this widget
|
|
44024
|
+
|
|
44025
|
+
|
|
44026
|
+
var createMethodsConfig_availableMethods = (_availableMethods = {}, _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].IDENTIFICATION, createMethodsConfig_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].IDENTIFICATION], allWidgetMethods[eideasy_browser_client["methodTypes"].IDENTIFICATION])), _defineProperty(_availableMethods, eideasy_browser_client["methodTypes"].SIGNATURE, createMethodsConfig_getAvailableMethods(eideasy_browser_client["allMethods"][eideasy_browser_client["methodTypes"].SIGNATURE], allWidgetMethods[eideasy_browser_client["methodTypes"].SIGNATURE])), _availableMethods);
|
|
44027
|
+
|
|
44028
|
+
var createMethodsConfig_createMethodsConfig = function createMethodsConfig(_ref) {
|
|
44029
|
+
var _ref$methodsConfigFil = _ref.methodsConfigFilter,
|
|
44030
|
+
methodsConfigFilter = _ref$methodsConfigFil === void 0 ? null : _ref$methodsConfigFil;
|
|
44031
|
+
var methods = createMethodsConfig_availableMethods;
|
|
44032
|
+
|
|
44033
|
+
if (methodsConfigFilter && typeof methodsConfigFilter === 'function') {
|
|
44034
|
+
methods = methodsConfigFilter(createMethodsConfig_availableMethods);
|
|
44035
|
+
}
|
|
44036
|
+
|
|
44037
|
+
var methodsByActionType = createMethodsConfig_createGetMethodsByActionType(methods);
|
|
44038
|
+
return Object.freeze({
|
|
44039
|
+
availableMethods: methods,
|
|
44040
|
+
methodsByActionType: methodsByActionType,
|
|
44041
|
+
methodActionTypes: eideasy_browser_client["methodActionTypes"],
|
|
44042
|
+
methodTypes: eideasy_browser_client["methodTypes"],
|
|
44043
|
+
moduleNames: eideasy_browser_client["moduleNames"]
|
|
44044
|
+
});
|
|
44045
|
+
};
|
|
44046
|
+
|
|
44047
|
+
/* harmony default export */ var src_createMethodsConfig = (createMethodsConfig_createMethodsConfig);
|
|
44018
44048
|
// CONCATENATED MODULE: ./src/main.js
|
|
44019
44049
|
|
|
44020
44050
|
|
|
@@ -44023,6 +44053,7 @@ var createStore_createStore = function createStore() {
|
|
|
44023
44053
|
|
|
44024
44054
|
|
|
44025
44055
|
|
|
44056
|
+
|
|
44026
44057
|
vue_runtime_esm["a" /* default */].use(vue_custom_element_esm);
|
|
44027
44058
|
vue_runtime_esm["a" /* default */].config.productionTip = false;
|
|
44028
44059
|
vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
@@ -44030,8 +44061,13 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
|
44030
44061
|
var propsData = RootComponentDefinition.propsData;
|
|
44031
44062
|
vue_runtime_esm["a" /* default */].component('v-select', vue_select_default.a);
|
|
44032
44063
|
RootComponentDefinition.i18n = i18n;
|
|
44064
|
+
var eidEasyMethodsConfig = src_createMethodsConfig({
|
|
44065
|
+
methodsConfigFilter: propsData.methodsConfigFilter
|
|
44066
|
+
});
|
|
44033
44067
|
|
|
44034
|
-
var _createStore = src_createStore(
|
|
44068
|
+
var _createStore = src_createStore({
|
|
44069
|
+
methodsConfig: eidEasyMethodsConfig
|
|
44070
|
+
}),
|
|
44035
44071
|
store = _createStore.store,
|
|
44036
44072
|
actions = _createStore.actions,
|
|
44037
44073
|
getters = _createStore.getters;
|
|
@@ -44072,6 +44108,7 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
|
44072
44108
|
RootComponentDefinition.eidEasyOnFail = eidEasyOnFail;
|
|
44073
44109
|
RootComponentDefinition.eidEasyBeforeMethodSelection = eidEasyBeforeMethodSelection;
|
|
44074
44110
|
RootComponentDefinition.eidEasyFormatFlashMessage = eidEasyFormatFlashMessage;
|
|
44111
|
+
RootComponentDefinition.eidEasyMethodsConfig = eidEasyMethodsConfig;
|
|
44075
44112
|
return RootComponentDefinition;
|
|
44076
44113
|
},
|
|
44077
44114
|
attributeChangedCallback: function attributeChangedCallback(name, oldValue, value) {
|