@eid-easy/eideasy-widget 2.12.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG-LATEST.md +2 -2
- package/CHANGELOG.md +32 -0
- package/dist/full/eideasy-widget.common.js +2513 -293
- package/dist/full/eideasy-widget.common.js.map +1 -1
- package/dist/full/eideasy-widget.umd.js +2501 -281
- package/dist/full/eideasy-widget.umd.js.map +1 -1
- package/dist/full/eideasy-widget.umd.min.js +12 -3
- package/dist/full/eideasy-widget.umd.min.js.map +1 -1
- package/dist/index.html +3 -2
- package/package.json +5 -5
|
@@ -2015,8 +2015,8 @@ module.exports = {
|
|
|
2015
2015
|
/***/ "0ea0":
|
|
2016
2016
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2017
2017
|
|
|
2018
|
-
/* WEBPACK VAR INJECTION */(function(process) {!function(e,t){ true?module.exports=t():undefined}(self,(function(){return function(){var e,t,n={7757:function(e,t,n){e.exports=n(5666)},9669:function(e,t,n){e.exports=n(1609)},5448:function(e,t,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);e.exports=function(e){return new Promise((function(t,n){var l=e.data,p=e.headers,f=e.responseType;r.isFormData(l)&&delete p["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+v)}var y=c(e.baseURL,e.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:e,request:g};o(t,n,i),g=null}}if(g.open(e.method.toUpperCase(),a(y,e.params,e.paramsSerializer),!0),g.timeout=e.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",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(d(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||s(y))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(p,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:g.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),f&&"json"!==f&&(g.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){g&&(g.abort(),n(e),g=null)})),l||(l=null),g.send(l)}))}},1609:function(e,t,n){"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function c(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var u=c(n(5655));u.Axios=i,u.create=function(e){return c(a(u.defaults,e))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(e){return Promise.all(e)},u.spread=n(8713),u.isAxiosError=n(6268),e.exports=u,e.exports.default=u},5263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:function(e,t,n){"use strict";var r=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:function(e,t,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(e){this.defaults=e,this.interceptors={request:new i,response:new i}}d.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=c(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{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(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(i),o=Promise.resolve(e);d.length;)o=o.then(d.shift(),d.shift());return o}for(var l=e;n.length;){var p=n.shift(),f=n.shift();try{l=p(l)}catch(e){f(e);break}}try{o=a(l)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},d.prototype.getUri=function(e){return e=c(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(c(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){d.prototype[e]=function(t,n,r){return this.request(c(r||{},{method:e,url:t,data:n}))}})),e.exports=d},782:function(e,t,n){"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:function(e,t,n){"use strict";var r=n(1793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},5061:function(e,t,n){"use strict";var r=n(481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},3572:function(e,t,n){"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.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}},e}},7185:function(e,t,n){"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};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(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=u(void 0,e[o])):n[o]=u(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=u(void 0,t[e]))})),r.forEach(i,s),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=u(void 0,e[o])):n[o]=u(void 0,t[o])})),r.forEach(c,(function(r){r in t?n[r]=u(e[r],t[r]):r in e&&(n[r]=u(void 0,e[r]))}));var d=o.concat(i).concat(a).concat(c),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===d.indexOf(e)}));return r.forEach(l,s),n}},6026:function(e,t,n){"use strict";var r=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:function(e,t,n){"use strict";var r=n(4867),o=n(5655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},5655:function(e,t,n){"use strict";var r=n(4867),o=n(6016),i=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}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(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),JSON.stringify(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){s.headers[e]=r.merge(a)})),e.exports=s},1849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5327:function(e,t,n){"use strict";var r=n(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var c=e.indexOf("#");-1!==c&&(e=e.slice(0,c)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,n){"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var c=[];c.push(e+"="+encodeURIComponent(t)),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(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:function(e,t,n){"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(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 e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:function(e,t,n){"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:function(e,t,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"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:function(e,t,n){"use strict";var r=n(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function c(e,t){for(var n=t?t.split("."):a,r=e.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(e,t,n){var o=t&&c(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,c){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,c)}},e.exports={isOlderVersion:c,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var c=e[i],u=void 0===c||a(c,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:function(e,t,n){"use strict";var r=n(1849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function c(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(e){return"[object Function]"===o.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:s,isStream:function(e){return c(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e 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 e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},696:function(e){"use strict";e.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"}]}')},4084:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o;n.r(t),n.d(t,{allMethods:function(){return u},createClient:function(){return Rt},default:function(){return Lt},getMethodByHandlingModule:function(){return s},methodActionTypes:function(){return a},methodTypes:function(){return i},moduleNames:function(){return c}});var i={IDENTIFICATION:"identification",SIGNATURE:"signature"},a={BE_ID_LOGIN:"be-id-login",EE_ID_LOGIN:"ee-id-login",FI_ID_LOGIN:"fi-id-login",PT_ID_LOGIN:"pt-id-login",LV_ID_LOGIN:"lv-id-login",LT_ID_LOGIN:"lt-id-login",RS_ID_LOGIN:"rs-id-login",EE_MOBILE_ID:"mid-login",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ZEAL_ID_SIGNATURE:"zealid-signature",EE_IDCARD_SIGNATURE:"id-signature",EE_MOBILEID_SIGNATURE:"mid-signature",LT_MOBILEID_SIGNATURE:"lt-mid-signature",SMARTID_SIGNATURE:"smart-id-signature",BE_IDCARD_SIGNATURE:"be-id-signature",LV_IDCARD_SIGNATURE:"lv-id-signature",LT_IDCARD_SIGNATURE:"lt-id-signature",FI_IDCARD_SIGNATURE:"fi-id-signature",LU_IDCARD_SIGNATURE:"lu-id-signature",PT_IDCARD_SIGNATURE:"pt-id-signature",LV_EPARAKSTS_MOBILE_SIGNATURE:"lv-eparaksts-mobile-signature",AT_HANDY_SIGNATUR_SIGNATURE:"at-handy-signatur-signature",REGISTRU_CENTRAS_SIGNATURE:"registru-centras-signature",OTP_EMAIL:"otp-email-non-qualified",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature",D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE:"d-trust-sign-me-qes-signature"},c={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",idCardSignature:"idCardSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnSignature:"ftnSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature",dTrustSignMeSignature:"dTrustSignMeSignature"},u=Object.freeze((r(o={},i.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:c.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:c.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:c.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.ZEALID_LOGIN,handlingModule:c.zealId,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID,handlingModule:c.mojeId,supportedCountries:["CZ"]},{actionType:a.FI_FTN_LOGIN,handlingModule:c.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:c.atHandy,supportedCountries:["AT"]}]),r(o,i.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["FI"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["BE"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:c.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.EVROTRUST_SIGNATURE,handlingModule:c.evroTrustSignature,supportedCountries:["AL","AD","AM","AU","AT","AZ","BY","BE","BA","BG","CA","HR","CY","CZ","DK","EE","FI","FR","GE","DE","GR","HU","IS","IE","IT","IL","KZ","KE","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","NZ","NO","MK","PL","PT","RO","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA"]},{actionType:a.OTP_EMAIL,handlingModule:c.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:c.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:c.ftnSignature,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:c.atHandySignature,supportedCountries:["AT"]},{actionType:a.ZEAL_ID_SIGNATURE,handlingModule:c.zealIdSignature,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:c.mojeIdSignature,supportedCountries:["CZ"]},{actionType:a.GOOGLE_SIGNATURE,handlingModule:c.googleSignature,supportedCountries:["WORLD"]},{actionType:a.SE_BANKID_SIGNATURE,handlingModule:c.seBankIdSignature,supportedCountries:["SE"]},{actionType:a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,handlingModule:c.dTrustSignMeSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","BG","HU","LT","LV","EE","HR","SI","IT","RO","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]}]),o)),s=function(e,t,n){var r=u[e];if(t&&n){var o=r.find((function(e){return e.handlingModule===t&&(e.supportedCountries.includes(n)||e.supportedCountries.includes("WORLD"))}));if(!o){if(0===r.filter((function(e){return e.handlingModule===t})).length)throw new Error("Could not find matching method configuration for ".concat(e,' module "').concat(t,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(e,'\n module "').concat(t,'".'))}return o}return r.find((function(e){return e.handlingModule===t}))},d=n(2492),l=n.n(d),p=n(9669),f=n.n(p),g=f().CancelToken,h=f().isCancel;f().Cancel,f().interceptors.response.use((function(e){return(t=e.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT","ERROR"].includes(t.status)?Promise.reject(function(e){var t=e.message,n=e.config,r=e.code,o=e.request,i=e.response,a=new Error(t);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(e.status),config:e.config,request:e.request,response:e})):e;var t}));var v=function(e){return f()(e)};function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e,t){var n,r=t.modifyRequestSettings,o=e;return"function"==typeof r&&(n=r(o)),n&&(o=l()(o,n)),o},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))},n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))};return Object.freeze({get:t,post:n,CancelToken:g})};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.identificationModules,n=void 0===t?[]:t,r=e.signingModules,o=void 0===r?[]:r,i=e.settings,a=void 0===i?{}:i,c=e.i18n,s=e.apiEndpoints,d=e.monitoringService,l=w({},a);l.apiEndpoints=s,c.setLanguage(l.language);var p=function(e){l.countryCode=e},f=function(){return l.countryCode},g=function(){return u},h={};n.forEach((function(e){var t=e({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});h[t.MODULE_NAME]=t}));var v={};return o.forEach((function(e){var t=e({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});v[t.MODULE_NAME]=t})),Object.freeze({identification:w({},h),signature:w({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:p,getCountryCode:f})};function T(e){return(T="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var _=function(e){var t=e.rawSettings,n=e.schema,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);return Object.keys(n).forEach((function(e){var r=n[e],i=t[e];if(r.required&&void 0===i)throw new Error('Missing required setting "'.concat(e,'"'));if(void 0===i&&(o[e]=r.default),void 0!==o[e]&&void 0!==r.type&&r.type!==T(o[e]))throw new Error('Expected "'.concat(e,'" to be type of "').concat(r.type,'", but received "').concat(T(o[e]),'"'))})),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(e){var t=e.data&&e.data.redirect_uri;return t?(window.location!==window.top.location?window.top.location.href=t:window.location.href=t,new Promise((function(){}))):e},type:"function"},remoteMonitoringEnabled:{default:!1}},S=JSON.parse('{"id-card-read-timeout":"Das Auslesen des Ausweises hat zu lange gedauert. Bitte schließen Sie alle geöffneten Browserfenster und versuchen Sie es erneut.","no_certificates":"Zertifikate konnten nicht gelesen werden. Stellen Sie sicher, dass sich die Karte im Lesegerät befindet und das Lesegerät richtig funktioniert."}'),C=n.t(S,2),k=JSON.parse('{"id-card-read-timeout":"Reading the ID card took too long. Please close all the open browser windows and then try again.","no_certificates":"Could not read certificates. Make sure that the card is in the reader and the reader is working properly."}'),A=n.t(k,2),N=JSON.parse('{"id-card-read-timeout":"ID kaardi lugemine võttis liiga kaua aega. Palun sulge kõik brauseri aknad ja proovi uuesti.","no_certificates":"Sertfikaatide lugemine ebaõnnestus. Veendu, et ID kaart on lugejas ning lugeja on arvutiga ühendatud."}'),P=n.t(N,2),D=JSON.parse('{"id-card-read-timeout":"Perskaityti asmens tapatybės kortelę užtruko per ilgai. Uždarykite visus atidarytus naršyklės langus ir bandykite dar kartą.","no_certificates":"Nepavyko perskaityti sertifikatų. Įsitikinkite, kad kortelė yra skaitytuve ir skaitytuvas veikia tinkamai."}'),R=n.t(D,2),L=JSON.parse('{"id-card-read-timeout":"ID kartes lasīšana aizņēma pārāk ilgu laiku. Lūdzu, aizveriet visus atvērtos pārlūkprogrammas logus un pēc tam mēģiniet vēlreiz.","no_certificates":"Nevarēja nolasīt sertifikātus. Pārliecinieties, vai karte ir lasītājā un lasītājs darbojas pareizi."}'),M=n.t(L,2),U=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:C,en:A,et:P,lt:R,lv:M,ru:n.t(U,2)},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currentLanguage,n=void 0===t?"en":t,r=e.locales,o=void 0===r?G:r,i={currentLanguage:n},a="en",c=function(e){i.currentLanguage=e},u=function(){return i.currentLanguage},s=function(e){var t=o[i.currentLanguage];t||(t=o[a]);var n=t[e]||o[a][e];return n||(n=e),n};return Object.freeze({setLanguage:c,t:s,getCurrentLanguage:u})},B=function(e){var t=e.remoteMonitoringEnabled,n=e.apiEndpoints;return{dispatch:function(e){var r=e.message;if(e.data,t){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(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function z(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){q(i,r,o,a,c,"next",e)}function c(e){q(i,r,o,a,c,"throw",e)}a(void 0)}))}}var H=n(7757),V=n.n(H),J=n(361),K=n.n(J)(),Z=function(e){var t=e;return h(e)&&(t.isCancel=!0),t.response&&t.response.data&&(t.response.data.message&&(t.userMessage=t.response.data.message),t.response.data.errors&&(t.userDetails=t.response.data.errors)),t},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data,n=e.message,r=K({message:n});if(t)r.data=t;else{if(!e.result||!e.result.data)throw new Error('Formatting the result failed.\n The function provided to createStep must return an object that has a "data" property.\n You provided: '.concat(JSON.stringify(r),"\n Set shouldFormatResult to false if you wish to disable autoformatting"));r.data=e.result.data}return r},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.error},Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.shouldFormatResult,r=void 0===n||n;return function(){var t=z(V().mark((function t(){var n,o,i=arguments;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.apply(void 0,i);case 2:if(n=t.sent,!(o=$(n))){t.next=6;break}throw Z(o);case 6:return t.abrupt("return",r?W(n):n);case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()};function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ee=function(e,t){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:e,start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=Q(Q({},x),n),o=Q(Q({},c),e),s=_({rawSettings:o,schema:r}),d=s.success,l=s.fail,p=s.finished,f=e.language||a.getCurrentLanguage(),g=i.CancelToken.source(),h=g.token,v=function(){g.cancel()},y=function(){var e=z(V().mark((function e(){return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(Q(Q({},s),{},{language:f,i18n:a,monitoringService:u,cancelToken:h,cancel:v,apiClient:i})).then((function(e){d(e)})).catch((function(e){console&&console.error&&console.error(e),l(Z(e))})).finally(p);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return y().catch(console.error),Object.freeze({cancel:v})}})}};function te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?te(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var re=c.idCard,oe=ee(re,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,o=t.apiClient,a=t.i18n,c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.apiEndpoints.inCurrentMode.readCard({countryCode:e.countryCode,clientId:e.clientId});return e.nonce&&(t+="?nonce=".concat(e.nonce)),o.get({url:t,cancelToken:e.cancelToken})},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(i.IDENTIFICATION,re,e.countryCode);return o.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},e.next=5,Y(c)(ne(ne({},t),{},{language:r,cancelToken:n})).catch((function(e){throw"ECONNABORTED"===e.code&&(e.userMessage=a.t("id-card-read-timeout")),e}));case 5:return d=e.sent,e.next=8,Y(u)(ne(ne({},t),{},{cancelToken:n,language:r,data:d.data}));case 8:return d=e.sent,e.abrupt("return",d);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0}}),ie=function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.fn,r=t.shouldContinue,o=t.interval,i=0,a=function(){var e=z(V().mark((function e(t,c){var u,s;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i+=1,e.prev=1,e.next=4,n();case 4:u=e.sent,s=void 0,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),u=void 0,s=e.t0;case 12:if(!r({result:u,attempts:i,error:s})){e.next=14;break}return e.abrupt("return",setTimeout(a,o,t,c));case 14:return e.abrupt("return",t({result:u,error:s}));case 15:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}(),e.abrupt("return",new Promise(a));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ue=c.smartId,se=ee(ue,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,o=t.idcode,a=t.pollInterval,c=void 0===a?1e3:a,u=t.cancelToken,d=t.language,l=t.apiClient,p=function(e){var t=s(i.IDENTIFICATION,ue);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},f=function(e){var t=s(i.IDENTIFICATION,ue);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language}})},g=function(e){var t=1e5/e.pollInterval,n=0;return ie({fn:function(){return f(ce(ce({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language}))},shouldContinue:function(e){var r=e.result,o=r&&r.data&&r.data.status,i=h(e.error),a=e.error&&!e.error.response&&!i;a&&(n+=1);var c=!1;return e.attempts<t&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},e.next=6,Y(p)(ce(ce({},t),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=e.sent,r(v),e.next=10,Y(g)({config:t,data:ce({},v.data),cancelToken:u,pollInterval:c,language:d});case 10:return v=e.sent,e.abrupt("return",v);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pe=c.mobileId,fe=ee(pe,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,v,y;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,o=t.apiClient,a=t.started,c=void 0===a?function(){}:a,u=t.idcode,d=t.phone,l=t.pollInterval,p=void 0===l?1e3:l,f=function(e){var t=s(i.IDENTIFICATION,pe,e.countryCode);return o.post({url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,phone:e.phone,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},g=function(e){var t=s(i.IDENTIFICATION,pe,e.countryCode);return o.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language},cancelToken:e.cancelToken})},v=function(e){var t=12e4/p,n=0;return ie({fn:function(){return g(le(le({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language}))},shouldContinue:function(e){var r=e.result,o=r&&r.data&&r.data.status,i=h(e.error),a=e.error&&!e.error.response&&!i;a&&(n+=1);var c=!1;return e.attempts<t&&n<3&&(c=a||"RUNNING"===o),c},interval:1e3})},e.next=6,Y(f)(le(le({},t),{},{cancelToken:n,language:r,idcode:u,phone:d}));case 6:return y=e.sent,c(y),e.next=10,Y(v)({config:t,data:y.data,cancelToken:n,language:r,pollInterval:p});case 10:return y=e.sent,e.abrupt("return",y);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),ge=c.eParakstsMobile,he=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},ve=ee(ge,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,e.next=3,Y(he)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());function ye(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=c.frejaEid,Ie=ee(be,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,o=t.idcode,a=t.pollInterval,c=void 0===a?1e3:a,u=t.cancelToken,d=t.language,l=t.apiClient,p=function(e){var t=s(i.IDENTIFICATION,be);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},f=function(e){var t=s(i.IDENTIFICATION,be);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,lang:e.language,timeout:2}})},g=function(e){var t=1e5/e.pollInterval,n=0;return ie({fn:function(){return f(me(me({},e.config),{},{data:e.data,language:e.language,cancelToken:e.cancelToken}))},shouldContinue:function(e){var r=e.result,o=r&&r.data&&r.data.status,i=h(e.error),a=e.error&&!e.error.response&&!i;a&&(n+=1);var c=!1;return e.attempts<t&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},e.next=6,Y(p)(me(me({},t),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=e.sent,r(v),e.next=10,Y(g)({config:t,data:me({},v.data),cancelToken:u,language:d,pollInterval:c});case 10:return v=e.sent,e.abrupt("return",v);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oe=c.zealId,Te=ee(Oe,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.apiClient,o=t.language,a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:e.clientId})})},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.iframeHolder,n=document.createElement("iframe"),r=e.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",t.innerHTML="";var o=function(e,t,n){var r=new URL(e.data),o=r.searchParams.get("error"),i=r.searchParams.get("code");o?n(o):i?t({data:{code:i}}):n(e.data)},i=new Promise((function(e,t){window.addEventListener("message",(function(n){var i=new URL(r);n.origin===i.origin&&(window.removeEventListener("message",o),o(n,e,t))}))}));return t.appendChild(n),i},u=function(e){var t=s(i.IDENTIFICATION,Oe);return r.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{method:t.actionType,code:e.data.code,lang:e.language}})},e.next=6,Y(a)(we(we({},t),{},{cancelToken:n}));case 6:return d=e.sent,e.next=9,Y(c)(we(we({},t),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=e.sent,e.next=12,Y(u)(we(we({},t),{},{cancelToken:n,language:o},d));case 12:return d=e.sent,e.abrupt("return",d);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),je=c.mojeId,_e=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},xe=ee(je,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,e.next=3,Y(_e)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Se=c.finnishTrustNetwork,Ce=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,o=e.language;return{data:{redirect_uri:t.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:o})}}},ke=ee(Se,function(){var e=z(V().mark((function e(t){var n,r,o,i,a,c;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,a=t.language,e.next=3,Y(Ce)({apiEndpoints:r,clientId:o,redirectUri:i,language:a});case 3:return c=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(c));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Ae=c.atHandy,Ne=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Pe=ee(Ae,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,e.next=3,Y(Ne)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),De=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.userMessage,o=void 0===r?"":r,i=e.details,a=void 0===i?{}:i;this.message=n,this.userMessage=o,this.details=a,this.stack=(new Error).stack};(De.prototype=new Error).name="MethodException";var Re=De,Le=c.idCardSignature,Me=function(e){var t=e.iframe,n=new URL(t.src);return{post:function(e){t.contentWindow.postMessage(e,n.origin)}}},Ue=function(e){var t=e.countryCode,n=e.clientId,r=e.apiEndpoints,o=s(i.SIGNATURE,Le,t);return r.inCurrentMode.idCardIframe({clientId:n,actionType:o.actionType})},Ge=function(e,t){if(e instanceof Error)throw e;var n;throw"no_certificates"===e.result&&(n=t.t("no_certificates")),new Re({userMessage:n,message:e.message,details:e})},Fe=function(e){var t=e.iframeHolder,n=e.iframeUrl,r=e.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",t.innerHTML="";var i=new Promise((function(e,t){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?t(n.data):e(o)}),{once:!0}),window.setTimeout((function(){return t({message:r.t("createIframeTimeout")})}),3e4)}));return t.appendChild(o),i},Be=function(e){var t=e.messenger,n=new Promise((function(e,t){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.certificate||n.data.cert;if("ok"===r.toLowerCase()&&o)e({status:r,certificate:o});else{var i={};!n.data||"user_cancel"!==n.data.result&&"user_cancel"!==n.data.message?i=n.data:i.isCancel=!0,t(i)}}),{once:!0})}));return t.post({operation:"getCertificate"}),n},qe=function(e){var t=e.certificate,n=e.clientId,r=e.docId,o=e.cancelToken,i=e.apiEndpoints,a=e.apiClient,c=i.inCurrentMode.startSigning();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:t},cancelToken:o})},ze=function(e){var t=e.messenger,n=e.hexDigest,r=new Promise((function(e,t){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.signature_value||n.data.signature;if("ok"===r.toLowerCase()&&o)e({signature:o});else{var i={};!n.data||"user_cancel"!==n.data.result&&"user_cancel"!==n.data.message?i=n.data:i.isCancel=!0,t(i)}}),{once:!0})}));return t.post({operation:"getSignature",hexDigest:n}),r},He=function(e){var t=e.signature,n=e.clientId,r=e.docId,o=e.cancelToken,i=e.apiEndpoints,a=e.apiClient,c=i.inCurrentMode.completeSignatureIdCard();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:t},cancelToken:o})},Ve=ee(Le,function(){var e=z(V().mark((function e(t){var n,r,o,i,a,c;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Y(Ue,{shouldFormatResult:!1})({countryCode:t.countryCode,clientId:t.clientId,apiEndpoints:t.apiEndpoints});case 2:return n=e.sent,e.next=5,Y(Fe,{shouldFormatResult:!1})({iframeUrl:n,iframeHolder:t.iframeHolder,i18n:t.i18n}).catch((function(e){return Ge(e,t.i18n)}));case 5:return r=e.sent,e.next=8,Y(Me,{shouldFormatResult:!1})({iframe:r});case 8:return o=e.sent,e.next=11,Y(Be,{shouldFormatResult:!1})({messenger:o}).catch((function(e){return Ge(e,t.i18n)}));case 11:return i=e.sent,e.next=14,Y(qe)({certificate:i.certificate,clientId:t.clientId,docId:t.docId,cancelToken:t.cancelToken,apiEndpoints:t.apiEndpoints,apiClient:t.apiClient});case 14:return a=e.sent,e.next=17,Y(ze,{shouldFormatResult:!1})({messenger:o,hexDigest:a.data.hexDigest}).catch((function(e){return Ge(e,t.i18n)}));case 17:return c=e.sent,console.log(c),e.abrupt("return",Y(He)({signature:c.signature,clientId:t.clientId,docId:t.docId,cancelToken:t.cancelToken,apiEndpoints:t.apiEndpoints,apiClient:t.apiClient}));case 20:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{iframeHolder:{type:"object"},docId:{type:"string",required:!0}});function Je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ke=function(e){var t,n=e.pollInterval,r=void 0===n?2e3:n,o=e.maxPollDuration,i=e.fn,a=e.fnArgs;o&&(t=o/r);var c=0;return{start:function(){return ie({fn:function(){return i.apply(void 0,function(e){if(Array.isArray(e))return Je(e)}(e=a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Je(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var e},shouldContinue:function(e){var n=e.result,r=n&&n.data&&n.data.status,o=h(e.error),i=e.error&&!e.error.response&&!o;i&&(c+=1);var a,u,s=!1;return a=e.attempts,(!(u=t)||a<u)&&c<3&&(s=i||"RUNNING"===r),s},interval:r})}}},Ze=c.mobileIdSignature,We=function(e){var t=e.phone,n=e.idcode,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.countryCode,s=e.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:"mobile-id",phone:t,idcode:n,country:u,lang:s},cancelToken:i})},$e=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:t.token,doc_id:a,timeout:2,lang:o,client_id:c},cancelToken:i})},Ye=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ke({pollInterval:2e3,maxPollDuration:12e4,fn:$e,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Xe=ee(Ze,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.monitoringService,d=t.language,l=t.idcode,p=t.phone,f=t.countryCode,g=t.started,h=s(i.SIGNATURE,Ze,f),u.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=5,Y(We)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:l,phone:p,countryCode:f});case 5:return v=e.sent,g(v),e.abrupt("return",Y(Ye)({data:v.data,apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),Qe=c.smartIdSignature,et=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.countryCode,s=e.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,contract_id:t,client_id:r,sign_type:"smart-id",idcode:n,country:u,lang:s},cancelToken:i})},tt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:o,client_id:c,timeout:2},cancelToken:i})},nt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ke({pollInterval:2e3,maxPollDuration:12e4,fn:tt,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},rt=ee(Qe,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.contractId,a=t.cancelToken,c=t.apiEndpoints,u=t.apiClient,d=t.monitoringService,l=t.language,p=t.idcode,f=t.countryCode,g=t.started,h=s(i.SIGNATURE,Qe,f),d.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=5,Y(et)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,countryCode:f,contractId:o});case 5:return v=e.sent,g(v),e.abrupt("return",Y(nt)({data:v.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),ot=c.evroTrustSignature,it=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.countryCode,s=e.language,d=e.email,l=e.phone,p=e.actionType,f=a.inCurrentMode.startSigning();return c.post({url:f,withCredentials:!1,data:{doc_id:o,contract_id:t,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:u,lang:s},cancelToken:i})},at=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},ct=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ke({pollInterval:2e3,fn:at,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},ut=ee(ot,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v,y,m;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.contractId,a=t.cancelToken,c=t.apiEndpoints,u=t.apiClient,d=t.monitoringService,l=t.language,p=t.idcode,f=t.phone,g=t.email,h=t.countryCode,v=t.started,y=s(i.SIGNATURE,ot,h),d.dispatch({message:"".concat(y.actionType,": signing started")}),e.next=5,Y(it)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,phone:f,email:g,countryCode:h,contractId:o,actionType:y.actionType});case 5:return m=e.sent,v(m),e.abrupt("return",Y(ct)({data:m.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),st=c.otpSignature,dt=function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.language,o=e.cancelToken,i=e.docId,a=e.clientId,c=e.emailToken,u=e.smsToken;return t.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})},lt=ee(st,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.monitoringService,d=t.language,l=t.countryCode,p=t.emailToken,f=t.smsToken,g=s(i.SIGNATURE,st,l),console.log(g),u.dispatch({message:"".concat(g.actionType,": signing started")}),e.abrupt("return",Y(dt)({apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n,emailToken:p,smsToken:f}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),pt={docId:{type:"string",required:!0}},ft=function(e){var t=e.moduleName,n=e.createModuleCreator,r=function(e){var t=e.contractId,n=e.clientId,r=e.docId,o=e.cancelToken,i=e.apiEndpoints,a=e.apiClient,c=e.language,u=e.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:u,lang:c},cancelToken:o})};return n(t,function(){var e=z(V().mark((function e(n){var o,a,c,u,d,l,p,f,g,h,v,y;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.clientId,a=n.docId,c=n.contractId,u=n.cancelToken,d=n.apiEndpoints,l=n.apiClient,p=n.monitoringService,f=n.language,g=n.countryCode,h=n.redirect,v=s(i.SIGNATURE,t,g),p.dispatch({message:"".concat(v.actionType,": signing started")}),e.next=5,Y(r)({contractId:c,clientId:o,docId:a,cancelToken:u,apiEndpoints:d,apiClient:l,language:f,actionType:v.actionType});case 5:return y=e.sent,e.abrupt("return",Y(h,{shouldFormatResult:!1})(y));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pt)},gt=ft({moduleName:c.eParakstsMobileSignature,createModuleCreator:ee}),ht=ft({moduleName:c.ftnSignature,createModuleCreator:ee}),vt=ft({moduleName:c.atHandySignature,createModuleCreator:ee}),yt=c.zealIdSignature,mt=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.docId;return{data:{redirect_uri:t.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},bt=ee(yt,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.docId,e.next=3,Y(mt)({apiEndpoints:r,clientId:o,docId:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),It=ft({moduleName:c.mojeIdSignature,createModuleCreator:ee}),Et=ft({moduleName:c.googleSignature,createModuleCreator:ee}),wt=ft({moduleName:c.seBankIdSignature,createModuleCreator:ee}),Ot=function(e){var t=e.url,n=e.onClosed,r={width:800,height:600},o=function(e){var t=e.parent,n=e.child;return{left:t.width/2-n.width/2+t.left,top:t.height/2-n.height/2+t.top}}({parent:{width:window.outerWidth,height:window.outerHeight,left:window.screenLeft,top:window.screenTop},child:r}),i=["toolbar=no","location=no","directories=no","status=no","menubar=no","scrollbars=no","resizable=no","copyhistory=no","width=".concat(r.width),"height=".concat(r.height),"left=".concat(o.left),"top=".concat(o.top)],a=window.open(t,"eID Easy",i.join(", ")),c=setInterval((function(){a.closed&&(clearInterval(c),n())}),500);return{window:a}},Tt=c.dTrustSignMeSignature,jt=function(e){var t=e.username,n=e.language,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.actionType,s=a.inCurrentMode.startSigning();return c.post({url:s,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:u,lang:n,username:t},cancelToken:i})},_t=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureDTrustSignMe(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},xt=function(e){var t=e.url,n=e.onClosed;return{data:Ot({url:t,onClosed:n})}},St=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ke({pollInterval:2e3,fn:_t,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Ct=ee(Tt,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v,y,m;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.monitoringService,d=t.username,l=t.countryCode,p=t.language,f=t.started,g=t.cancel,h=s(i.SIGNATURE,Tt,l),u.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=5,Y(jt)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,username:d,language:p,actionType:h.actionType});case 5:return v=e.sent,f(v),e.next=9,Y(xt)({url:v.data.redirect_uri,onClosed:function(){return g()}});case 9:return y=e.sent,e.next=12,Y(St)({data:v.data,apiClient:c,apiEndpoints:a,language:p,cancelToken:o,docId:r,clientId:n});case 12:return m=e.sent,y.data.window.close(),e.abrupt("return",m);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{username:{type:"string"},docId:{type:"string",required:!0}}),kt=Object.freeze({sandbox:"sandbox",production:"production"});function At(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?At(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Pt=function(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=function(e,t,n){return function(r){var o=Nt(Nt({},t),r);return n?n(e(o)):e(o)}}(e[o],t,n)})),r},Dt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Nt({base:function(e){return e.baseUrl},readCard:function(e){var n=e.countryCode,r=void 0===n?t.countryCode.toLowerCase():n,o=e.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(o,"/read-card")},eParakstsMobile:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri;return"".concat(t,"/oauth/start/lv-eparaksts-mobile-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},zealIdIframeUrl:function(e){var t=e.baseUrl,n=e.clientId;return"".concat(t,"/api/identity/").concat(n,"/zealid/get_iframe_url")},mojeId:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri;return"".concat(t,"/oauth/start/mojeid?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},finnishTrustNetwork:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri,o=e.language;return"".concat(t,"/oauth/start/finnish-ftn-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&lang=").concat(o)},atHandy:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri;return"".concat(t,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login")},idCardIframe:function(e){var t=e.baseUrl,n=e.clientId,r=e.actionType;return"".concat(t,"/signatures/integration/").concat(n,"/").concat(r)},startSigning:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/start-signing")},completeSignatureIdCard:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/id-card/complete")},completeSignatureMobileId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-smart-id/complete")},completeSignatureEvrotrust:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/evrotrust-signature/complete")},completeSignatureDTrustSignMe:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/d-trust-sign-me-qes-signature/complete")},completeOtp:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/non-qualified/complete")},eideasyMonitoring:function(e){var t=e.baseUrl;return"".concat(t,"/confirm_progress")},startZealIdSignature:function(e){var t=e.baseUrl,n=e.clientId,r=e.docId;return"".concat(t,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)}},n),i=(r(e={},kt.production,Nt({},Pt(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"},t.modifyEndpointUrl))),r(e,kt.sandbox,Nt({},Pt(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"},t.modifyEndpointUrl))),e);return{get inCurrentMode(){var e=t.sandbox?kt.sandbox:kt.production;return i[e]}}},Rt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=_({rawSettings:e,schema:x}),n=F({currentLanguage:"en"}),r=Dt({countryCode:t.countryCode,sandbox:t.sandbox,modifyEndpointUrl:t.modifyEndpointUrl},t.apiEndpoints),o=B({remoteMonitoringEnabled:t.remoteMonitoringEnabled,apiEndpoints:r});return O({settings:t,i18n:n,monitoringService:o,apiEndpoints:r,identificationModules:[oe,se,fe,ve,Ie,Te,xe,ke,Pe],signingModules:[Ve,Xe,rt,ut,lt,gt,ht,vt,bt,It,Et,wt,Ct]})},Lt=Rt},8552:function(e,t,n){var r=n(852)(n(5639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(1789),o=n(401),i=n(7667),a=n(1327),c=n(1866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},8407:function(e,t,n){var r=n(7040),o=n(4125),i=n(2117),a=n(7518),c=n(4705);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},7071:function(e,t,n){var r=n(852)(n(5639),"Map");e.exports=r},3369:function(e,t,n){var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),c=n(5265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},3818:function(e,t,n){var r=n(852)(n(5639),"Promise");e.exports=r},8525:function(e,t,n){var r=n(852)(n(5639),"Set");e.exports=r},6384:function(e,t,n){var r=n(8407),o=n(7465),i=n(3779),a=n(7599),c=n(4758),u=n(4309);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,e.exports=s},2705:function(e,t,n){var r=n(5639).Symbol;e.exports=r},1149:function(e,t,n){var r=n(5639).Uint8Array;e.exports=r},577:function(e,t,n){var r=n(852)(n(5639),"WeakMap");e.exports=r},6874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},7412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},4963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},4636:function(e,t,n){var r=n(2545),o=n(5694),i=n(1469),a=n(4144),c=n(5776),u=n(6719),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),d=!n&&o(e),l=!n&&!d&&a(e),p=!n&&!d&&!l&&u(e),f=n||d||l||p,g=f?r(e.length,String):[],h=g.length;for(var v in e)!t&&!s.call(e,v)||f&&("length"==v||l&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||g.push(v);return g}},2488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},6556:function(e,t,n){var r=n(9465),o=n(7813);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},4865:function(e,t,n){var r=n(9465),o=n(7813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},8470:function(e,t,n){var r=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},4037:function(e,t,n){var r=n(8363),o=n(3674);e.exports=function(e,t){return e&&r(t,o(t),e)}},3886:function(e,t,n){var r=n(8363),o=n(1704);e.exports=function(e,t){return e&&r(t,o(t),e)}},9465:function(e,t,n){var r=n(8777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5990:function(e,t,n){var r=n(6384),o=n(7412),i=n(4865),a=n(4037),c=n(3886),u=n(4626),s=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),g=n(4160),h=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),E=n(3218),w=n(2928),O=n(3674),T=n(1704),j="[object Arguments]",_="[object Function]",x="[object Object]",S={};S[j]=S["[object Array]"]=S["[object ArrayBuffer]"]=S["[object DataView]"]=S["[object Boolean]"]=S["[object Date]"]=S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Map]"]=S["[object Number]"]=S[x]=S["[object RegExp]"]=S["[object Set]"]=S["[object String]"]=S["[object Symbol]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S["[object Error]"]=S[_]=S["[object WeakMap]"]=!1,e.exports=function e(t,n,C,k,A,N){var P,D=1&n,R=2&n,L=4&n;if(C&&(P=A?C(t,k,A,N):C(t)),void 0!==P)return P;if(!E(t))return t;var M=m(t);if(M){if(P=h(t),!D)return s(t,P)}else{var U=g(t),G=U==_||"[object GeneratorFunction]"==U;if(b(t))return u(t,D);if(U==x||U==j||G&&!A){if(P=R||G?{}:y(t),!D)return R?l(t,c(P,t)):d(t,a(P,t))}else{if(!S[U])return A?t:{};P=v(t,U,D)}}N||(N=new r);var F=N.get(t);if(F)return F;N.set(t,P),w(t)?t.forEach((function(r){P.add(e(r,n,C,r,t,N))})):I(t)&&t.forEach((function(r,o){P.set(o,e(r,n,C,o,t,N))}));var B=M?void 0:(L?R?f:p:R?T:O)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),i(P,o,e(r,n,C,o,t,N))})),P}},3118:function(e,t,n){var r=n(3218),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},8483:function(e,t,n){var r=n(5063)();e.exports=r},8866:function(e,t,n){var r=n(2488),o=n(1469);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},4239:function(e,t,n){var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},9454:function(e,t,n){var r=n(4239),o=n(7005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},5588:function(e,t,n){var r=n(4160),o=n(7005);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},8458:function(e,t,n){var r=n(3560),o=n(5346),i=n(3218),a=n(346),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,l=s.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:c).test(a(e))}},9221:function(e,t,n){var r=n(4160),o=n(7005);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},8749:function(e,t,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,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},280:function(e,t,n){var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},313:function(e,t,n){var r=n(3218),o=n(5726),i=n(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},2980:function(e,t,n){var r=n(6384),o=n(6556),i=n(8483),a=n(9783),c=n(3218),u=n(1704),s=n(6390);e.exports=function e(t,n,d,l,p){t!==n&&i(n,(function(i,u){if(p||(p=new r),c(i))a(t,n,u,d,e,l,p);else{var f=l?l(s(t,u),i,u+"",t,n,p):void 0;void 0===f&&(f=i),o(t,u,f)}}),u)}},9783:function(e,t,n){var r=n(6556),o=n(4626),i=n(7133),a=n(278),c=n(8517),u=n(5694),s=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),g=n(8630),h=n(6719),v=n(6390),y=n(9881);e.exports=function(e,t,n,m,b,I,E){var w=v(e,n),O=v(t,n),T=E.get(O);if(T)r(e,n,T);else{var j=I?I(w,O,n+"",e,t,E):void 0,_=void 0===j;if(_){var x=s(O),S=!x&&l(O),C=!x&&!S&&h(O);j=O,x||S||C?s(w)?j=w:d(w)?j=a(w):S?(_=!1,j=o(O,!0)):C?(_=!1,j=i(O,!0)):j=[]:g(O)||u(O)?(j=w,u(w)?j=y(w):f(w)&&!p(w)||(j=c(O))):_=!1}_&&(E.set(O,j),b(j,O,m,I,E),E.delete(O)),r(e,n,j)}}},5976:function(e,t,n){var r=n(6557),o=n(5357),i=n(61);e.exports=function(e,t){return i(o(e,t,r),e+"")}},6560:function(e,t,n){var r=n(5703),o=n(8777),i=n(6557),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},2545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},1717:function(e){e.exports=function(e){return function(t){return e(t)}}},4318:function(e,t,n){var r=n(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},4626:function(e,t,n){e=n.nmd(e);var r=n(5639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}},7157:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},419:function(e,t,n){var r=n(2705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},7133:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},8363:function(e,t,n){var r=n(4865),o=n(9465);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,u=t.length;++c<u;){var s=t[c],d=i?i(n[s],e[s],s,n,e):void 0;void 0===d&&(d=e[s]),a?o(n,s,d):r(n,s,d)}return n}},8805:function(e,t,n){var r=n(8363),o=n(9551);e.exports=function(e,t){return r(e,o(e),t)}},1911:function(e,t,n){var r=n(8363),o=n(1442);e.exports=function(e,t){return r(e,o(e),t)}},4429:function(e,t,n){var r=n(5639)["__core-js_shared__"];e.exports=r},1463:function(e,t,n){var r=n(5976),o=n(6612);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t}))}},5063:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(!1===n(i[u],u,i))break}return t}}},8777:function(e,t,n){var r=n(852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8234:function(e,t,n){var r=n(8866),o=n(9551),i=n(3674);e.exports=function(e){return r(e,i,o)}},6904:function(e,t,n){var r=n(8866),o=n(1442),i=n(1704);e.exports=function(e){return r(e,i,o)}},5050:function(e,t,n){var r=n(7019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:function(e,t,n){var r=n(8458),o=n(7801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},5924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},9607:function(e,t,n){var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}},9551:function(e,t,n){var r=n(4963),o=n(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=c},1442:function(e,t,n){var r=n(2488),o=n(5924),i=n(9551),a=n(479),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=c},4160:function(e,t,n){var r=n(8552),o=n(7071),i=n(3818),a=n(8525),c=n(577),u=n(4239),s=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",h=s(r),v=s(o),y=s(i),m=s(a),b=s(c),I=u;(r&&I(new r(new ArrayBuffer(1)))!=g||o&&I(new o)!=d||i&&I(i.resolve())!=l||a&&I(new a)!=p||c&&I(new c)!=f)&&(I=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case h:return g;case v:return d;case y:return l;case m:return p;case b:return f}return t}),e.exports=I},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1789:function(e,t,n){var r=n(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,n){var r=n(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},1327:function(e,t,n){var r=n(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1866:function(e,t,n){var r=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},9148:function(e,t,n){var r=n(4318),o=n(7157),i=n(3147),a=n(419),c=n(7133);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return a(e)}}},8517:function(e,t,n){var r=n(3118),o=n(5924),i=n(5726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},6612:function(e,t,n){var r=n(7813),o=n(8612),i=n(5776),a=n(3218);e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,n){var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,n){var r=n(8470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},2117:function(e,t,n){var r=n(8470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7518:function(e,t,n){var r=n(8470);e.exports=function(e){return r(this.__data__,e)>-1}},4705:function(e,t,n){var r=n(8470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},4785:function(e,t,n){var r=n(1989),o=n(8407),i=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(e,t,n){var r=n(5050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).get(e)}},9916:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).has(e)}},5265:function(e,t,n){var r=n(5050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},4536:function(e,t,n){var r=n(852)(Object,"create");e.exports=r},6916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1167:function(e,t,n){e=n.nmd(e);var r=n(1957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,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(e){}}();e.exports=c},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5357:function(e,t,n){var r=n(6874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),u=Array(c);++a<c;)u[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=n(u),r(e,this,s)}}},5639:function(e,t,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},6390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},61:function(e,t,n){var r=n(6560),o=n(1275)(r);e.exports=o},1275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},7465:function(e,t,n){var r=n(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,n){var r=n(8407),o=n(7071),i=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},361:function(e,t,n){var r=n(5990);e.exports=function(e){return r(e,5)}},5703:function(e){e.exports=function(e){return function(){return e}}},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},6557:function(e){e.exports=function(e){return e}},5694:function(e,t,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,n){var r=n(3560),o=n(1780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},9246:function(e,t,n){var r=n(8612),o=n(7005);e.exports=function(e){return o(e)&&r(e)}},4144:function(e,t,n){e=n.nmd(e);var r=n(5639),o=n(5062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;e.exports=u},3560:function(e,t,n){var r=n(4239),o=n(3218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,n){var r=n(5588),o=n(1717),i=n(1167),a=i&&i.isMap,c=a?o(a):r;e.exports=c},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,n){var r=n(4239),o=n(5924),i=n(7005),a=Function.prototype,c=Object.prototype,u=a.toString,s=c.hasOwnProperty,d=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}},2928:function(e,t,n){var r=n(9221),o=n(1717),i=n(1167),a=i&&i.isSet,c=a?o(a):r;e.exports=c},6719:function(e,t,n){var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},3674:function(e,t,n){var r=n(4636),o=n(280),i=n(8612);e.exports=function(e){return i(e)?r(e):o(e)}},1704:function(e,t,n){var r=n(4636),o=n(313),i=n(8612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},2492:function(e,t,n){var r=n(2980),o=n(1463)((function(e,t,n){r(e,t,n)}));e.exports=o},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},9881:function(e,t,n){var r=n(8363),o=n(1704);e.exports=function(e){return r(e,o(e))}},5666:function(e){var t=function(e){"use strict";var t,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(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=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===l)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(e,t,n);if("normal"===u.type){if(r=n.done?g:p,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l="suspendedStart",p="suspendedYield",f="executing",g="completed",h={};function v(){}function y(){}function m(){}var b={};b[i]=function(){return this};var I=Object.getPrototypeOf,E=I&&I(I(C([])));E&&E!==n&&r.call(E,i)&&(b=E);var w=m.prototype=v.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function T(e,t){function n(o,i,a,c){var u=d(e[o],e,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function j(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,j(e,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,e.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[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function _(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function x(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function C(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:k}}function k(){return{value:t,done:!0}}return y.prototype=w.constructor=m,m.constructor=y,y.displayName=u(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},O(T.prototype),T.prototype[a]=function(){return this},e.AsyncIterator=T,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new T(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(w),u(w,c,"Generator"),w[i]=function(){return this},w.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=C,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(x),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!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(e,t){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"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),x(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;x(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:C(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e](i,i.exports,o),i.loaded=!0,i.exports}return o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__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={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},o(4084)}()}));
|
|
2019
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362")))
|
|
2018
|
+
/* WEBPACK VAR INJECTION */(function(process, Buffer) {!function(e,t){ true?module.exports=t():undefined}(self,(function(){return function(){var e,t,n={7757:function(e,t,n){e.exports=n(5666)},9669:function(e,t,n){e.exports=n(1609)},5448:function(e,t,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);e.exports=function(e){return new Promise((function(t,n){var l=e.data,p=e.headers,f=e.responseType;r.isFormData(l)&&delete p["Content-Type"];var g=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(h+":"+v)}var y=c(e.baseURL,e.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:e,request:g};o(t,n,i),g=null}}if(g.open(e.method.toUpperCase(),a(y,e.params,e.paramsSerializer),!0),g.timeout=e.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",e,"ECONNABORTED",g)),g=null)},g.onerror=function(){n(d("Network Error",e,null,g)),g=null},g.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(d(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",g)),g=null},r.isStandardBrowserEnv()){var b=(e.withCredentials||s(y))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in g&&r.forEach(p,(function(e,t){void 0===l&&"content-type"===t.toLowerCase()?delete p[t]:g.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),f&&"json"!==f&&(g.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){g&&(g.abort(),n(e),g=null)})),l||(l=null),g.send(l)}))}},1609:function(e,t,n){"use strict";var r=n(4867),o=n(1849),i=n(321),a=n(7185);function c(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n}var u=c(n(5655));u.Axios=i,u.create=function(e){return c(a(u.defaults,e))},u.Cancel=n(5263),u.CancelToken=n(4972),u.isCancel=n(6502),u.all=function(e){return Promise.all(e)},u.spread=n(8713),u.isAxiosError=n(6268),e.exports=u,e.exports.default=u},5263:function(e){"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:function(e,t,n){"use strict";var r=n(5263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var n=this;e((function(e){n.reason||(n.reason=new r(e),t(n.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},6502:function(e){"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:function(e,t,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(e){this.defaults=e,this.interceptors={request:new i,response:new i}}d.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=c(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{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(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(r=r&&t.synchronous,n.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!r){var d=[a,void 0];for(Array.prototype.unshift.apply(d,n),d.concat(i),o=Promise.resolve(e);d.length;)o=o.then(d.shift(),d.shift());return o}for(var l=e;n.length;){var p=n.shift(),f=n.shift();try{l=p(l)}catch(e){f(e);break}}try{o=a(l)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},d.prototype.getUri=function(e){return e=c(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function(e){d.prototype[e]=function(t,n){return this.request(c(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(e){d.prototype[e]=function(t,n,r){return this.request(c(r||{},{method:e,url:t,data:n}))}})),e.exports=d},782:function(e,t,n){"use strict";var r=n(4867);function o(){this.handlers=[]}o.prototype.use=function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){r.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},4097:function(e,t,n){"use strict";var r=n(1793),o=n(7303);e.exports=function(e,t){return e&&!r(t)?o(e,t):t}},5061:function(e,t,n){"use strict";var r=n(481);e.exports=function(e,t,n,o,i){var a=new Error(e);return r(a,t,n,o,i)}},3572:function(e,t,n){"use strict";var r=n(4867),o=n(8527),i=n(6502),a=n(5655);function c(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return c(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return c(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(c(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:function(e){"use strict";e.exports=function(e,t,n,r,o){return e.config=t,n&&(e.code=n),e.request=r,e.response=o,e.isAxiosError=!0,e.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}},e}},7185:function(e,t,n){"use strict";var r=n(4867);e.exports=function(e,t){t=t||{};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(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function s(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=u(void 0,e[o])):n[o]=u(e[o],t[o])}r.forEach(o,(function(e){r.isUndefined(t[e])||(n[e]=u(void 0,t[e]))})),r.forEach(i,s),r.forEach(a,(function(o){r.isUndefined(t[o])?r.isUndefined(e[o])||(n[o]=u(void 0,e[o])):n[o]=u(void 0,t[o])})),r.forEach(c,(function(r){r in t?n[r]=u(e[r],t[r]):r in e&&(n[r]=u(void 0,e[r]))}));var d=o.concat(i).concat(a).concat(c),l=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===d.indexOf(e)}));return r.forEach(l,s),n}},6026:function(e,t,n){"use strict";var r=n(5061);e.exports=function(e,t,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},8527:function(e,t,n){"use strict";var r=n(4867),o=n(5655);e.exports=function(e,t,n){var i=this||o;return r.forEach(n,(function(n){e=n.call(i,e,t)})),e}},5655:function(e,t,n){"use strict";var r=n(4867),o=n(6016),i=n(481),a={"Content-Type":"application/x-www-form-urlencoded"};function c(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}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(e,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(c(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)||t&&"application/json"===t["Content-Type"]?(c(t,"application/json"),JSON.stringify(e)):e}],transformResponse:[function(e){var t=this.transitional,n=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,a=!n&&"json"===this.responseType;if(a||o&&r.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(a){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function(e){s.headers[e]={}})),r.forEach(["post","put","patch"],(function(e){s.headers[e]=r.merge(a)})),e.exports=s},1849:function(e){"use strict";e.exports=function(e,t){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},5327:function(e,t,n){"use strict";var r=n(4867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var a=[];r.forEach(t,(function(e,t){null!=e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var c=e.indexOf("#");-1!==c&&(e=e.slice(0,c)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},7303:function(e){"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:function(e,t,n){"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?{write:function(e,t,n,o,i,a){var c=[];c.push(e+"="+encodeURIComponent(t)),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(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:function(e){"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},6268:function(e){"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},7985:function(e,t,n){"use strict";var r=n(4867);e.exports=r.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(e){var r=e;return t&&(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 e=o(window.location.href),function(t){var n=r.isString(t)?o(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0}},6016:function(e,t,n){"use strict";var r=n(4867);e.exports=function(e,t){r.forEach(e,(function(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},4109:function(e,t,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"];e.exports=function(e){var t,n,i,a={};return e?(r.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=r.trim(e.substr(0,i)).toLowerCase(),n=r.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([n]):a[t]?a[t]+", "+n:n}})),a):a}},8713:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4875:function(e,t,n){"use strict";var r=n(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var i={},a=r.version.split(".");function c(e,t){for(var n=t?t.split("."):a,r=e.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(e,t,n){var o=t&&c(t);function a(e,t){return"[Axios v"+r.version+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,r,c){if(!1===e)throw new Error(a(r," has been removed in "+t));return o&&!i[r]&&(i[r]=!0,console.warn(a(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,c)}},e.exports={isOlderVersion:c,assertOptions:function(e,t,n){if("object"!=typeof e)throw new TypeError("options must be an object");for(var r=Object.keys(e),o=r.length;o-- >0;){var i=r[o],a=t[i];if(a){var c=e[i],u=void 0===c||a(c,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==n)throw Error("Unknown option "+i)}},validators:o}},4867:function(e,t,n){"use strict";var r=n(1849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function a(e){return void 0===e}function c(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function s(e){return"[object Function]"===o.call(e)}function d(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!a(e)&&null!==e.constructor&&!a(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:c,isPlainObject:u,isUndefined:a,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:s,isStream:function(e){return c(e)&&s(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e 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 e(){var t={};function n(n,r){u(t[r])&&u(n)?t[r]=e(t[r],n):u(n)?t[r]=e({},n):i(n)?t[r]=n.slice():t[r]=n}for(var r=0,o=arguments.length;r<o;r++)d(arguments[r],n);return t},extend:function(e,t,n){return d(t,(function(t,o){e[o]=n&&"function"==typeof t?r(t,n):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},696:function(e){"use strict";e.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"}]}')},2050:function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var o;n.r(t),n.d(t,{allMethods:function(){return u},createClient:function(){return Vt},default:function(){return Jt},getMethodByHandlingModule:function(){return s},methodActionTypes:function(){return a},methodTypes:function(){return i},moduleNames:function(){return c}});var i={IDENTIFICATION:"identification",SIGNATURE:"signature"},a={BE_ID_LOGIN:"be-id-login",EE_ID_LOGIN:"ee-id-login",FI_ID_LOGIN:"fi-id-login",PT_ID_LOGIN:"pt-id-login",LV_ID_LOGIN:"lv-id-login",LT_ID_LOGIN:"lt-id-login",RS_ID_LOGIN:"rs-id-login",EE_MOBILE_ID:"mid-login",LV_EPARAKSTS_MOBILE_LOGIN:"lv-eparaksts-mobile-login",LT_MOBILE_ID:"lt-mobile-id",SMART_ID:"smartid",FREJA_EID_LOGIN:"freja-eid-login",ZEALID_LOGIN:"zealid-login",CZ_MOJEID:"mojeid",AT_HANDY_SIGNATUR_LOGIN:"at-handy-signatur-login",FI_FTN_LOGIN:"finnish-ftn-login",ZEAL_ID_SIGNATURE:"zealid-signature",EE_IDCARD_SIGNATURE:"id-signature",EE_MOBILEID_SIGNATURE:"mid-signature",LT_MOBILEID_SIGNATURE:"lt-mid-signature",SMARTID_SIGNATURE:"smart-id-signature",BE_IDCARD_SIGNATURE:"be-id-signature",LV_IDCARD_SIGNATURE:"lv-id-signature",LT_IDCARD_SIGNATURE:"lt-id-signature",FI_IDCARD_SIGNATURE:"fi-id-signature",LU_IDCARD_SIGNATURE:"lu-id-signature",PT_IDCARD_SIGNATURE:"pt-id-signature",LV_EPARAKSTS_MOBILE_SIGNATURE:"lv-eparaksts-mobile-signature",AT_HANDY_SIGNATUR_SIGNATURE:"at-handy-signatur-signature",REGISTRU_CENTRAS_SIGNATURE:"registru-centras-signature",OTP_EMAIL:"otp-email-non-qualified",FI_FTN_ADVANCED_SIGNATURE:"fi-ftn-advanced-signature",EVROTRUST_SIGNATURE:"evrotrust-signature",CZ_MOJEID_ADVANCED_SIGNATURE:"cz-mojeid-advanced-signature",GOOGLE_SIGNATURE:"google-signature",SE_BANKID_SIGNATURE:"swedish-bankid-signature",D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE:"d-trust-sign-me-qes-signature",CHAVE_MOVEL_QUALIFIED_SIGNATURE:"chave-movel-qes-signature",MIT_ID_SIMPLE_SIGNATURE:"mit-id-simple-signature"},c={idCard:"idCard",mobileId:"mobileId",eParakstsMobile:"eParakstsMobile",smartId:"smartId",frejaEid:"frejaEid",zealId:"zealId",mojeId:"mojeId",finnishTrustNetwork:"finnishTrustNetwork",atHandy:"atHandy",idCardSignature:"idCardSignature",mobileIdSignature:"mobileIdSignature",smartIdSignature:"smartIdSignature",evroTrustSignature:"evroTrustSignature",otpSignature:"otpSignature",eParakstsMobileSignature:"eParakstsMobileSignature",ftnSignature:"ftnSignature",atHandySignature:"atHandySignature",zealIdSignature:"zealIdSignature",mojeIdSignature:"mojeIdSignature",googleSignature:"googleSignature",seBankIdSignature:"seBankIdSignature",dTrustSignMeSignature:"dTrustSignMeSignature",chaveMovelSignature:"chaveMovelSignature",mitIdSignature:"mitIdSignature"},u=Object.freeze((r(o={},i.IDENTIFICATION,[{actionType:a.BE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["BE"]},{actionType:a.EE_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["EE"]},{actionType:a.FI_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["FI"]},{actionType:a.LV_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LV"]},{actionType:a.LT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["LT"]},{actionType:a.PT_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["PT"]},{actionType:a.RS_ID_LOGIN,handlingModule:c.idCard,supportedCountries:["RS"]},{actionType:a.LV_EPARAKSTS_MOBILE_LOGIN,handlingModule:c.eParakstsMobile,supportedCountries:["LV"]},{actionType:a.LT_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["LT"]},{actionType:a.EE_MOBILE_ID,handlingModule:c.mobileId,supportedCountries:["EE"]},{actionType:a.SMART_ID,handlingModule:c.smartId,supportedCountries:["EE","LV","LT"]},{actionType:a.FREJA_EID_LOGIN,handlingModule:c.frejaEid,supportedCountries:["FI","SE","NO","DK"]},{actionType:a.ZEALID_LOGIN,handlingModule:c.zealId,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID,handlingModule:c.mojeId,supportedCountries:["CZ"]},{actionType:a.FI_FTN_LOGIN,handlingModule:c.finnishTrustNetwork,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_LOGIN,handlingModule:c.atHandy,supportedCountries:["AT"]}]),r(o,i.SIGNATURE,[{actionType:a.EE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["EE"]},{actionType:a.LV_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LV"]},{actionType:a.LT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["LT"]},{actionType:a.FI_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["FI"]},{actionType:a.PT_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["PT"]},{actionType:a.BE_IDCARD_SIGNATURE,handlingModule:c.idCardSignature,supportedCountries:["BE"]},{actionType:a.EE_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["EE"]},{actionType:a.LT_MOBILEID_SIGNATURE,handlingModule:c.mobileIdSignature,supportedCountries:["LT"]},{actionType:a.SMARTID_SIGNATURE,handlingModule:c.smartIdSignature,supportedCountries:["EE","LV","LT"]},{actionType:a.EVROTRUST_SIGNATURE,handlingModule:c.evroTrustSignature,supportedCountries:["AL","AD","AM","AU","AT","AZ","BY","BE","BA","BG","CA","HR","CY","CZ","DK","EE","FI","FR","GE","DE","GR","HU","IS","IE","IT","IL","KZ","KE","XK","LV","LI","LT","LU","MT","MD","MC","ME","NL","NZ","NO","MK","PL","PT","RO","RU","SM","RS","SK","SI","ES","SE","CH","TW","TR","UA","GB","US","VA"]},{actionType:a.OTP_EMAIL,handlingModule:c.otpSignature,supportedCountries:["WORLD"]},{actionType:a.LV_EPARAKSTS_MOBILE_SIGNATURE,handlingModule:c.eParakstsMobileSignature,supportedCountries:["LV"]},{actionType:a.FI_FTN_ADVANCED_SIGNATURE,handlingModule:c.ftnSignature,supportedCountries:["FI"]},{actionType:a.AT_HANDY_SIGNATUR_SIGNATURE,handlingModule:c.atHandySignature,supportedCountries:["AT"]},{actionType:a.ZEAL_ID_SIGNATURE,handlingModule:c.zealIdSignature,supportedCountries:["AT","BE","BG","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","LV","LT","NL","NO","PL","PT","RO","RS","SE","SI","SK"]},{actionType:a.CZ_MOJEID_ADVANCED_SIGNATURE,handlingModule:c.mojeIdSignature,supportedCountries:["CZ"]},{actionType:a.GOOGLE_SIGNATURE,handlingModule:c.googleSignature,supportedCountries:["WORLD"]},{actionType:a.SE_BANKID_SIGNATURE,handlingModule:c.seBankIdSignature,supportedCountries:["SE"]},{actionType:a.D_TRUST_SIGN_ME_QUALIFIED_SIGNATURE,handlingModule:c.dTrustSignMeSignature,supportedCountries:["DE","CA","ZA","GR","NL","BE","FR","ES","PT","LU","IE","IS","MT","CY","AX","FI","BG","HU","LT","LV","EE","HR","SI","IT","RO","CH","CZ","SK","LI","AT","GG","DK","SE","NO","PL","MX","AR","BR","CL","AU","ID","PH","SG","RU","JP","KR","CN","TR","IN","SA","AE","QA"]},{actionType:a.CHAVE_MOVEL_QUALIFIED_SIGNATURE,handlingModule:c.chaveMovelSignature,supportedCountries:["PT"]},{actionType:a.MIT_ID_SIMPLE_SIGNATURE,handlingModule:c.mitIdSignature,supportedCountries:["DK"]}]),o)),s=function(e,t,n){var r=u[e];if(t&&n){var o=r.find((function(e){return e.handlingModule===t&&(e.supportedCountries.includes(n)||e.supportedCountries.includes("WORLD"))}));if(!o){if(0===r.filter((function(e){return e.handlingModule===t})).length)throw new Error("Could not find matching method configuration for ".concat(e,' module "').concat(t,'"'));throw new Error('Country "'.concat(n,'" is not supported for ').concat(e,'\n module "').concat(t,'".'))}return o}return r.find((function(e){return e.handlingModule===t}))},d=n(2492),l=n.n(d),p=n(9669),f=n.n(p),g=f().CancelToken,h=f().isCancel;f().Cancel,f().interceptors.response.use((function(e){return(t=e.data)&&["error","No ID or basic level only","USER_CANCELLED","USER_REFUSED","refused","TIMEOUT","NOT_MID_CLIENT","ERROR"].includes(t.status)?Promise.reject(function(e){var t=e.message,n=e.config,r=e.code,o=e.request,i=e.response,a=new Error(t);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(e.status),config:e.config,request:e.request,response:e})):e;var t}));var v=function(e){return f()(e)};function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b=function(e,t){var n,r=t.modifyRequestSettings,o=e;return"function"==typeof r&&(n=r(o)),n&&(o=l()(o,n)),o},I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"get",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))},n=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return v(b(m({method:"post",cache:"no-cache",withCredentials:!0,headers:{"Content-Type":"application/json",Accept:"application/json","Cache-Control":"no-cache"}},t),e))};return Object.freeze({get:t,post:n,CancelToken:g})};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.identificationModules,n=void 0===t?[]:t,r=e.signingModules,o=void 0===r?[]:r,i=e.settings,a=void 0===i?{}:i,c=e.i18n,s=e.apiEndpoints,d=e.monitoringService,l=T({},a);l.apiEndpoints=s,c.setLanguage(l.language);var p=function(e){l.countryCode=e},f=function(){return l.countryCode},g=function(){return u},h={};n.forEach((function(e){var t=e({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});h[t.MODULE_NAME]=t}));var v={};return o.forEach((function(e){var t=e({coreContext:{config:l,i18n:c,monitoringService:d},apiClient:I({modifyRequestSettings:l.modifyRequestSettings})});v[t.MODULE_NAME]=t})),Object.freeze({identification:T({},h),signature:T({},v),getAllMethods:g,setLanguage:c.setLanguage,setCountryCode:p,getCountryCode:f})};function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var j=function(e){var t=e.rawSettings,n=e.schema,o=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t);return Object.keys(n).forEach((function(e){var r=n[e],i=t[e];if(r.required&&void 0===i)throw new Error('Missing required setting "'.concat(e,'"'));if(void 0===i&&(o[e]=r.default),void 0!==o[e]&&void 0!==r.type&&r.type!==w(o[e]))throw new Error('Expected "'.concat(e,'" to be type of "').concat(r.type,'", but received "').concat(w(o[e]),'"'))})),o},S={countryCode:{type:"string"},sandbox:{default:!1,type:"boolean"},clientId:{required:!0,type:"string"},redirectUri:{type:"string"},docId:{type:"string"},contractId:{type:"string"},apiEndpoints:{type:"object"},modifyRequestSettings:{type:"function"},language:{default:"en",type:"string"},success:{default:function(){},type:"function"},fail:{default:function(){},type:"function"},finished:{default:function(){},type:"function"},started:{default:function(){},type:"function"},redirect:{default:function(e){var t=e.data&&e.data.redirect_uri;return t?(window.location!==window.top.location?window.top.location.href=t:window.location.href=t,new Promise((function(){}))):e},type:"function"},remoteMonitoringEnabled:{default:!1}},C=JSON.parse('{"id-card-read-timeout":"Das Auslesen des Ausweises hat zu lange gedauert. Bitte schließen Sie alle geöffneten Browserfenster und versuchen Sie es erneut.","no_certificates":"Zertifikate konnten nicht gelesen werden. Stellen Sie sicher, dass sich die Karte im Lesegerät befindet und das Lesegerät richtig funktioniert."}'),x=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."}'),D=n.t(N,2),P=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."}'),M=n.t(P,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."}'),L=n.t(R,2),U=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:x,en:A,et:D,lt:M,lv:L,ru:n.t(U,2)},F=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.currentLanguage,n=void 0===t?"en":t,r=e.locales,o=void 0===r?G:r,i={currentLanguage:n},a="en",c=function(e){i.currentLanguage=e},u=function(){return i.currentLanguage},s=function(e){var t=o[i.currentLanguage];t||(t=o[a]);var n=t[e]||o[a][e];return n||(n=e),n};return Object.freeze({setLanguage:c,t:s,getCurrentLanguage:u})},B=function(e){var t=e.clientId,n=e.remoteMonitoringEnabled,r=e.apiEndpoints;return{dispatch:function(e){var o=e.message;n&&v({url:r.inCurrentMode.eideasyMonitoring(),method:"post",cache:"no-cache",withCredentials:!1,data:{client_id:t,source:"browser-client",message:o}})}}};function q(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(e){return void n(e)}c.done?t(u):Promise.resolve(u).then(r,o)}function z(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){q(i,r,o,a,c,"next",e)}function c(e){q(i,r,o,a,c,"throw",e)}a(void 0)}))}}var H=n(7757),V=n.n(H),J=n(361),K=n.n(J)(),Z=function(e){var t=e;return h(e)&&(t.isCancel=!0),t.response&&t.response.data&&(t.response.data.message&&(t.userMessage=t.response.data.message),t.response.data.errors&&(t.userDetails=t.response.data.errors)),t},W=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.data,n=e.message,r=K({message:n});if(t)r.data=t;else{if(!e.result||!e.result.data)throw new Error('Formatting the result failed.\n The function provided to createStep must return an object that has a "data" property.\n You provided: '.concat(JSON.stringify(r),"\n Set shouldFormatResult to false if you wish to disable autoformatting"));r.data=e.result.data}return r},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.error},Y=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.shouldFormatResult,r=void 0===n||n;return function(){var t=z(V().mark((function t(){var n,o,i=arguments;return V().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.apply(void 0,i);case 2:if(n=t.sent,!(o=$(n))){t.next=6;break}throw Z(o);case 6:return t.abrupt("return",r?W(n):n);case 7:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()};Error;const X=[{property:"name",enumerable:!1},{property:"message",enumerable:!1},{property:"stack",enumerable:!1},{property:"code",enumerable:!0}],Q=Symbol(".toJSON was called"),ee=({from:e,seen:t,to_:n,forceEnumerable:r,maxDepth:o,depth:i})=>{const a=n||(Array.isArray(e)?[]:{});if(t.push(e),i>=o)return a;if("function"==typeof e.toJSON&&!0!==e[Q])return(e=>{e[Q]=!0;const t=e.toJSON();return delete e[Q],t})(e);for(const[n,c]of Object.entries(e))"function"==typeof Buffer&&Buffer.isBuffer(c)?a[n]="[object Buffer]":null===c||"object"!=typeof c||"function"!=typeof c.pipe?"function"!=typeof c&&(c&&"object"==typeof c?t.includes(e[n])?a[n]="[Circular]":(i++,a[n]=ee({from:e[n],seen:[...t],forceEnumerable:r,maxDepth:o,depth:i})):a[n]=c):a[n]="[object Stream]";for(const{property:t,enumerable:n}of X)"string"==typeof e[t]&&Object.defineProperty(a,t,{value:e[t],enumerable:!!r||n,configurable:!0,writable:!0});return a};function te(e,t={}){const{maxDepth:n=Number.POSITIVE_INFINITY}=t;return"object"==typeof e&&null!==e?ee({from:e,seen:[],forceEnumerable:!0,maxDepth:n,depth:0}):"function"==typeof e?`[Function: ${e.name||"anonymous"}]`:e}function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var oe=function(e,t){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:e,start:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=re(re({},S),n),o=re(re({},c),e),s=j({rawSettings:o,schema:r}),d=s.success,l=s.fail,p=s.finished,f=e.language||a.getCurrentLanguage(),g=i.CancelToken.source(),h=g.token,v=function(){g.cancel()},y=function(){var e=z(V().mark((function e(){return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t(re(re({},s),{},{language:f,i18n:a,monitoringService:u,cancelToken:h,cancel:v,apiClient:i})).then((function(e){d(e)})).catch((function(e){console&&console.error&&console.error(e),u.dispatch({message:JSON.stringify(te(e))}),l(Z(e))})).finally(p);case 2:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return y().catch(console.error),Object.freeze({cancel:v})}})}};function ie(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ie(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ie(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ce=c.idCard,ue=oe(ce,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,o=t.apiClient,a=t.i18n,c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.apiEndpoints.inCurrentMode.readCard({countryCode:e.countryCode,clientId:e.clientId});return e.nonce&&(t+="?nonce=".concat(e.nonce)),o.get({url:t,cancelToken:e.cancelToken})},u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=s(i.IDENTIFICATION,ce,e.countryCode);return o.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},e.next=5,Y(c)(ae(ae({},t),{},{language:r,cancelToken:n})).catch((function(e){throw"ECONNABORTED"===e.code&&(e.userMessage=a.t("id-card-read-timeout")),e}));case 5:return d=e.sent,e.next=8,Y(u)(ae(ae({},t),{},{cancelToken:n,language:r,data:d.data}));case 8:return d=e.sent,e.abrupt("return",d);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0}}),se=function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.fn,r=t.shouldContinue,o=t.interval,i=0,a=function(){var e=z(V().mark((function e(t,c){var u,s;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i+=1,e.prev=1,e.next=4,n();case 4:u=e.sent,s=void 0,e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),u=void 0,s=e.t0;case 12:if(!r({result:u,attempts:i,error:s})){e.next=14;break}return e.abrupt("return",setTimeout(a,o,t,c));case 14:return e.abrupt("return",t({result:u,error:s}));case 15:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}(),e.abrupt("return",new Promise(a));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function de(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?de(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):de(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var pe=c.smartId,fe=oe(pe,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,o=t.idcode,a=t.pollInterval,c=void 0===a?1e3:a,u=t.cancelToken,d=t.language,l=t.apiClient,p=function(e){var t=s(i.IDENTIFICATION,pe);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},f=function(e){var t=s(i.IDENTIFICATION,pe);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language}})},g=function(e){var t=1e5/e.pollInterval,n=0;return se({fn:function(){return f(le(le({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language}))},shouldContinue:function(e){var r=e.result,o=r&&r.data&&r.data.status,i=h(e.error),a=e.error&&!e.error.response&&!i;a&&(n+=1);var c=!1;return e.attempts<t&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},e.next=6,Y(p)(le(le({},t),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=e.sent,r(v),e.next=10,Y(g)({config:t,data:le({},v.data),cancelToken:u,pollInterval:c,language:d});case 10:return v=e.sent,e.abrupt("return",v);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function he(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=c.mobileId,ye=oe(ve,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,v,y;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.language,o=t.apiClient,a=t.started,c=void 0===a?function(){}:a,u=t.idcode,d=t.phone,l=t.pollInterval,p=void 0===l?1e3:l,f=function(e){var t=s(i.IDENTIFICATION,ve,e.countryCode);return o.post({url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,phone:e.phone,country:e.countryCode,method:t.actionType,lang:e.language},cancelToken:e.cancelToken})},g=function(e){var t=s(i.IDENTIFICATION,ve,e.countryCode);return o.post({url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,timeout:2,lang:e.language},cancelToken:e.cancelToken})},v=function(e){var t=12e4/p,n=0;return se({fn:function(){return g(he(he({},e.config),{},{data:e.data,cancelToken:e.cancelToken,language:e.language}))},shouldContinue:function(e){var r=e.result,o=r&&r.data&&r.data.status,i=h(e.error),a=e.error&&!e.error.response&&!i;a&&(n+=1);var c=!1;return e.attempts<t&&n<3&&(c=a||"RUNNING"===o),c},interval:1e3})},e.next=6,Y(f)(he(he({},t),{},{cancelToken:n,language:r,idcode:u,phone:d}));case 6:return y=e.sent,c(y),e.next=10,Y(v)({config:t,data:y.data,cancelToken:n,language:r,pollInterval:p});case 10:return y=e.sent,e.abrupt("return",y);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0}}),me=c.eParakstsMobile,be=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.eParakstsMobile({clientId:n,redirectUri:r})}}},Ie=oe(me,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,e.next=3,Y(be)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Te(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Oe=c.frejaEid,we=oe(Oe,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.started,r=void 0===n?function(){}:n,o=t.idcode,a=t.pollInterval,c=void 0===a?1e3:a,u=t.cancelToken,d=t.language,l=t.apiClient,p=function(e){var t=s(i.IDENTIFICATION,Oe);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityStart(),data:{idcode:e.idcode,country:e.countryCode,method:t.actionType,lang:e.language}})},f=function(e){var t=s(i.IDENTIFICATION,Oe);return l.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{token:e.data.token,method:t.actionType,lang:e.language,timeout:2}})},g=function(e){var t=1e5/e.pollInterval,n=0;return se({fn:function(){return f(Te(Te({},e.config),{},{data:e.data,language:e.language,cancelToken:e.cancelToken}))},shouldContinue:function(e){var r=e.result,o=r&&r.data&&r.data.status,i=h(e.error),a=e.error&&!e.error.response&&!i;a&&(n+=1);var c=!1;return e.attempts<t&&n<3&&(c=a||"RUNNING"===o),c},interval:2e3})},e.next=6,Y(p)(Te(Te({},t),{},{cancelToken:u,language:d,idcode:o}));case 6:return v=e.sent,r(v),e.next=10,Y(g)({config:t,data:Te({},v.data),cancelToken:u,language:d,pollInterval:c});case 10:return v=e.sent,e.abrupt("return",v);case 12:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0}});function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_e(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Se=c.zealId,Ce=oe(Se,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.cancelToken,r=t.apiClient,o=t.language,a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r.get({withCredentials:!1,cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.zealIdIframeUrl({clientId:e.clientId})})},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.iframeHolder,n=document.createElement("iframe"),r=e.iframeUrl;n.setAttribute("src",r),n.setAttribute("referrerpolicy","origin"),n.style.border="0",t.innerHTML="";var o=function(e,t,n){var r=new URL(e.data),o=r.searchParams.get("error"),i=r.searchParams.get("code");o?n(o):i?t({data:{code:i}}):n(e.data)},i=new Promise((function(e,t){window.addEventListener("message",(function(n){var i=new URL(r);n.origin===i.origin&&(window.removeEventListener("message",o),o(n,e,t))}))}));return t.appendChild(n),i},u=function(e){var t=s(i.IDENTIFICATION,Se);return r.post({cancelToken:e.cancelToken,url:e.apiEndpoints.inCurrentMode.identityFinish(),data:{method:t.actionType,code:e.data.code,lang:e.language}})},e.next=6,Y(a)(je(je({},t),{},{cancelToken:n}));case 6:return d=e.sent,e.next=9,Y(c)(je(je({},t),{},{cancelToken:n,iframeUrl:d.data.url}));case 9:return d=e.sent,e.next=12,Y(u)(je(je({},t),{},{cancelToken:n,language:o},d));case 12:return d=e.sent,e.abrupt("return",d);case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},iframeHolder:{type:"object",required:!0}}),xe=c.mojeId,ke=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.mojeId({clientId:n,redirectUri:r})}}},Ae=oe(xe,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,e.next=3,Y(ke)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Ne=c.finnishTrustNetwork,De=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri,o=e.language;return{data:{redirect_uri:t.inCurrentMode.finnishTrustNetwork({clientId:n,redirectUri:r,language:o})}}},Pe=oe(Ne,function(){var e=z(V().mark((function e(t){var n,r,o,i,a,c;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,a=t.language,e.next=3,Y(De)({apiEndpoints:r,clientId:o,redirectUri:i,language:a});case 3:return c=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(c));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Me=c.atHandy,Re=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.redirectUri;return{data:{redirect_uri:t.inCurrentMode.atHandy({clientId:n,redirectUri:r})}}},Le=oe(Me,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.redirectUri,e.next=3,Y(Re)({apiEndpoints:r,clientId:o,redirectUri:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),Ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.message,n=void 0===t?"":t,r=e.userMessage,o=void 0===r?"":r,i=e.details,a=void 0===i?{}:i;this.message=n,this.userMessage=o,this.details=a,this.stack=(new Error).stack};(Ue.prototype=new Error).name="MethodException";var Ge=Ue,Fe=c.idCardSignature,Be=function(e){var t=e.iframe,n=new URL(t.src);return{post:function(e){t.contentWindow.postMessage(e,n.origin)}}},qe=function(e){var t=e.countryCode,n=e.clientId,r=e.apiEndpoints,o=s(i.SIGNATURE,Fe,t);return r.inCurrentMode.idCardIframe({clientId:n,actionType:o.actionType})},ze=function(e,t){if(e instanceof Error)throw e;var n;throw"no_certificates"===e.result&&(n=t.t("no_certificates")),new Ge({userMessage:n,message:e.message,details:e})},He=function(e){var t=e.iframeHolder,n=e.iframeUrl,r=e.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",t.innerHTML="";var i=new Promise((function(e,t){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?t(n.data):e(o)}),{once:!0}),window.setTimeout((function(){return t({message:r.t("createIframeTimeout")})}),3e4)}));return t.appendChild(o),i},Ve=function(e){var t=e.messenger,n=new Promise((function(e,t){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.certificate||n.data.cert;if("ok"===r.toLowerCase()&&o)e({status:r,certificate:o});else{var i={};!n.data||"user_cancel"!==n.data.result&&"user_cancel"!==n.data.message?i=n.data:i.isCancel=!0,t(i)}}),{once:!0})}));return t.post({operation:"getCertificate"}),n},Je=function(e){var t=e.certificate,n=e.clientId,r=e.docId,o=e.cancelToken,i=e.apiEndpoints,a=e.apiClient,c=i.inCurrentMode.startSigning();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,sign_type:"id-card",certificate:t},cancelToken:o})},Ke=function(e){var t=e.messenger,n=e.hexDigest,r=new Promise((function(e,t){window.addEventListener("message",(function(n){var r=n.data.status||n.data.result,o=n.data.signature_value||n.data.signature;if("ok"===r.toLowerCase()&&o)e({signature:o});else{var i={};!n.data||"user_cancel"!==n.data.result&&"user_cancel"!==n.data.message?i=n.data:i.isCancel=!0,t(i)}}),{once:!0})}));return t.post({operation:"getSignature",hexDigest:n}),r},Ze=function(e){var t=e.signature,n=e.clientId,r=e.docId,o=e.cancelToken,i=e.apiEndpoints,a=e.apiClient,c=i.inCurrentMode.completeSignatureIdCard();return a.post({url:c,withCredentials:!1,data:{client_id:n,doc_id:r,signature_value:t},cancelToken:o})},We=oe(Fe,function(){var e=z(V().mark((function e(t){var n,r,o,i,a,c,u,s,d,l,p,f,g,h,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.countryCode,r=t.clientId,o=t.apiEndpoints,i=t.iframeHolder,a=t.i18n,c=t.docId,u=t.cancelToken,s=t.apiClient,d=t.monitoringService,e.next=3,Y(qe,{shouldFormatResult:!1})({countryCode:n,clientId:r,apiEndpoints:o,monitoringService:d});case 3:return l=e.sent,e.next=6,Y(He,{shouldFormatResult:!1})({iframeUrl:l,iframeHolder:i,i18n:a}).catch((function(e){return ze(e,a)}));case 6:return p=e.sent,e.next=9,Y(Be,{shouldFormatResult:!1})({iframe:p});case 9:return f=e.sent,e.next=12,Y(Ve,{shouldFormatResult:!1})({messenger:f}).catch((function(e){return ze(e,a)}));case 12:return g=e.sent,e.next=15,Y(Je)({certificate:g.certificate,clientId:r,docId:c,cancelToken:u,apiEndpoints:o,apiClient:s});case 15:return h=e.sent,e.next=18,Y(Ke,{shouldFormatResult:!1})({messenger:f,hexDigest:h.data.hexDigest}).catch((function(e){return ze(e,a)}));case 18:return v=e.sent,console.log(v),e.abrupt("return",Y(Ze)({signature:v.signature,clientId:r,docId:c,cancelToken:u,apiEndpoints:o,apiClient:s}));case 21:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{iframeHolder:{type:"object"},docId:{type:"string",required:!0}});function $e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ye=function(e){var t,n=e.pollInterval,r=void 0===n?2e3:n,o=e.maxPollDuration,i=e.fn,a=e.fnArgs;o&&(t=o/r);var c=0;return{start:function(){return se({fn:function(){return i.apply(void 0,function(e){if(Array.isArray(e))return $e(e)}(e=a)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return $e(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$e(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var e},shouldContinue:function(e){var n=e.result,r=n&&n.data&&n.data.status,o=h(e.error),i=e.error&&!e.error.response&&!o;i&&(c+=1);var a,u,s=!1;return a=e.attempts,(!(u=t)||a<u)&&c<3&&(s=i||"RUNNING"===r),s},interval:r})}}},Xe=c.mobileIdSignature,Qe=function(e){var t=e.phone,n=e.idcode,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.countryCode,s=e.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:"mobile-id",phone:t,idcode:n,country:u,lang:s},cancelToken:i})},et=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureMobileId(),withCredentials:!1,data:{token:t.token,doc_id:a,timeout:2,lang:o,client_id:c},cancelToken:i})},tt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ye({pollInterval:2e3,maxPollDuration:12e4,fn:et,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},nt=oe(Xe,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.monitoringService,d=t.language,l=t.idcode,p=t.phone,f=t.countryCode,g=t.started,h=s(i.SIGNATURE,Xe,f),u.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=5,Y(Qe)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:d,idcode:l,phone:p,countryCode:f});case 5:return v=e.sent,g(v),e.abrupt("return",Y(tt)({data:v.data,apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},phone:{type:"string",required:!0},docId:{type:"string",required:!0}}),rt=c.smartIdSignature,ot=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.countryCode,s=e.language,d=a.inCurrentMode.startSigning();return c.post({url:d,withCredentials:!1,data:{doc_id:o,contract_id:t,client_id:r,sign_type:"smart-id",idcode:n,country:u,lang:s},cancelToken:i})},it=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureSmartId(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:o,client_id:c,timeout:2},cancelToken:i})},at=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ye({pollInterval:2e3,maxPollDuration:12e4,fn:it,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},ct=oe(rt,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.contractId,a=t.cancelToken,c=t.apiEndpoints,u=t.apiClient,d=t.monitoringService,l=t.language,p=t.idcode,f=t.countryCode,g=t.started,h=s(i.SIGNATURE,rt,f),d.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=5,Y(ot)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,countryCode:f,contractId:o});case 5:return v=e.sent,g(v),e.abrupt("return",Y(at)({data:v.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string",required:!0},docId:{type:"string",required:!0}}),ut=c.evroTrustSignature,st=function(e){var t=e.contractId,n=e.idcode,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.countryCode,s=e.language,d=e.email,l=e.phone,p=e.actionType,f=a.inCurrentMode.startSigning();return c.post({url:f,withCredentials:!1,data:{doc_id:o,contract_id:t,client_id:r,sign_type:p,idcode:n,email:d,phone:l,country:u,lang:s},cancelToken:i})},dt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureEvrotrust(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},lt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ye({pollInterval:2e3,fn:dt,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},pt=oe(ut,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v,y,m;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.contractId,a=t.cancelToken,c=t.apiEndpoints,u=t.apiClient,d=t.monitoringService,l=t.language,p=t.idcode,f=t.phone,g=t.email,h=t.countryCode,v=t.started,y=s(i.SIGNATURE,ut,h),d.dispatch({message:"".concat(y.actionType,": signing started")}),e.next=5,Y(st)({clientId:n,docId:r,cancelToken:a,apiEndpoints:c,apiClient:u,language:l,idcode:p,phone:f,email:g,countryCode:h,contractId:o,actionType:y.actionType});case 5:return m=e.sent,v(m),e.abrupt("return",Y(lt)({data:m.data,apiClient:u,apiEndpoints:c,language:l,cancelToken:a,docId:r,clientId:n}));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{countryCode:{type:"string",required:!0},idcode:{type:"string"},email:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),ft=c.otpSignature,gt=function(e){var t=e.apiClient,n=e.apiEndpoints,r=e.language,o=e.cancelToken,i=e.docId,a=e.clientId,c=e.emailToken,u=e.smsToken;return t.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})},ht=oe(ft,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.monitoringService,d=t.language,l=t.countryCode,p=t.emailToken,f=t.smsToken,g=s(i.SIGNATURE,ft,l),console.log(g),u.dispatch({message:"".concat(g.actionType,": signing started")}),e.abrupt("return",Y(gt)({apiClient:c,apiEndpoints:a,language:d,cancelToken:o,docId:r,clientId:n,emailToken:p,smsToken:f}));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{docId:{type:"string",required:!0},emailToken:{type:"string"},smsToken:{type:"string"}}),vt={docId:{type:"string",required:!0}},yt=function(e){var t=e.moduleName,n=e.createModuleCreator,r=function(e){var t=e.contractId,n=e.clientId,r=e.docId,o=e.cancelToken,i=e.apiEndpoints,a=e.apiClient,c=e.language,u=e.actionType,s=i.inCurrentMode.startSigning();return a.post({url:s,withCredentials:!1,data:{doc_id:r,contract_id:t,client_id:n,sign_type:u,lang:c},cancelToken:o})};return n(t,function(){var e=z(V().mark((function e(n){var o,a,c,u,d,l,p,f,g,h,v,y;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n.clientId,a=n.docId,c=n.contractId,u=n.cancelToken,d=n.apiEndpoints,l=n.apiClient,p=n.monitoringService,f=n.language,g=n.countryCode,h=n.redirect,v=s(i.SIGNATURE,t,g),p.dispatch({message:"".concat(v.actionType,": signing started")}),e.next=5,Y(r)({contractId:c,clientId:o,docId:a,cancelToken:u,apiEndpoints:d,apiClient:l,language:f,actionType:v.actionType});case 5:return y=e.sent,e.abrupt("return",Y(h,{shouldFormatResult:!1})(y));case 7:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),vt)},mt=yt({moduleName:c.eParakstsMobileSignature,createModuleCreator:oe}),bt=yt({moduleName:c.ftnSignature,createModuleCreator:oe}),It=yt({moduleName:c.atHandySignature,createModuleCreator:oe}),Et=c.zealIdSignature,Tt=function(e){var t=e.apiEndpoints,n=e.clientId,r=e.docId;return{data:{redirect_uri:t.inCurrentMode.startZealIdSignature({clientId:n,docId:r})}}},Ot=oe(Et,function(){var e=z(V().mark((function e(t){var n,r,o,i,a;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.redirect,r=t.apiEndpoints,o=t.clientId,i=t.docId,e.next=3,Y(Tt)({apiEndpoints:r,clientId:o,docId:i});case 3:return a=e.sent,e.abrupt("return",Y(n,{shouldFormatResult:!1})(a));case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()),wt=yt({moduleName:c.mojeIdSignature,createModuleCreator:oe}),_t=yt({moduleName:c.googleSignature,createModuleCreator:oe}),jt=yt({moduleName:c.seBankIdSignature,createModuleCreator:oe}),St=function(e){var t=e.url,n=e.onClosed,r={width:800,height:600},o=function(e){var t=e.parent,n=e.child;return{left:t.width/2-n.width/2+t.left,top:t.height/2-n.height/2+t.top}}({parent:{width:window.outerWidth,height:window.outerHeight,left:window.screenLeft,top:window.screenTop},child:r}),i=["toolbar=no","location=no","directories=no","status=no","menubar=no","scrollbars=no","resizable=no","copyhistory=no","width=".concat(r.width),"height=".concat(r.height),"left=".concat(o.left),"top=".concat(o.top)],a=window.open(t,"eID Easy",i.join(", ")),c=setInterval((function(){a.closed&&(clearInterval(c),n())}),500);return{window:a}},Ct=c.dTrustSignMeSignature,xt=function(e){var t=e.username,n=e.language,r=e.clientId,o=e.docId,i=e.cancelToken,a=e.apiEndpoints,c=e.apiClient,u=e.actionType,s=a.inCurrentMode.startSigning();return c.post({url:s,withCredentials:!1,data:{doc_id:o,client_id:r,sign_type:u,lang:n,username:t},cancelToken:i})},kt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureDTrustSignMe(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},At=function(e){var t=e.url,n=e.onClosed;return{data:St({url:t,onClosed:n})}},Nt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ye({pollInterval:2e3,fn:kt,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Dt=oe(Ct,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v,y,m;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.monitoringService,d=t.username,l=t.countryCode,p=t.language,f=t.started,g=t.cancel,h=s(i.SIGNATURE,Ct,l),u.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=5,Y(xt)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,username:d,language:p,actionType:h.actionType});case 5:return v=e.sent,f(v),e.next=9,Y(At)({url:v.data.redirect_uri,onClosed:function(){return g()}});case 9:return y=e.sent,e.next=12,Y(Nt)({data:v.data,apiClient:c,apiEndpoints:a,language:p,cancelToken:o,docId:r,clientId:n});case 12:return m=e.sent,y.data.window.close(),e.abrupt("return",m);case 15:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{username:{type:"string"},docId:{type:"string",required:!0}}),Pt=c.chaveMovelSignature,Mt=function(e){var t=e.signingPin,n=e.phone,r=e.language,o=e.clientId,i=e.docId,a=e.cancelToken,c=e.apiEndpoints,u=e.apiClient,s=e.actionType,d=c.inCurrentMode.startSigning();return u.post({url:d,withCredentials:!1,data:{doc_id:i,client_id:o,sign_type:s,lang:r,signing_pin:t,phone:n},cancelToken:a})},Rt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return n.post({url:r.inCurrentMode.completeSignatureChaveMovel(),withCredentials:!1,data:{token:t.token,doc_id:a,lang:o,client_id:c},cancelToken:i})},Lt=function(e){var t=e.data,n=e.apiClient,r=e.apiEndpoints,o=e.language,i=e.cancelToken,a=e.docId,c=e.clientId;return Ye({pollInterval:2e3,fn:Rt,fnArgs:[{data:t,apiClient:n,apiEndpoints:r,language:o,cancelToken:i,docId:a,clientId:c}]}).start()},Ut=oe(Pt,function(){var e=z(V().mark((function e(t){var n,r,o,a,c,u,d,l,p,f,g,h,v,y;return V().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.clientId,r=t.docId,o=t.cancelToken,a=t.apiEndpoints,c=t.apiClient,u=t.monitoringService,d=t.countryCode,l=t.language,p=t.started,f=t.signingPin,g=t.phone,t.cancel,h=s(i.SIGNATURE,Pt,d),u.dispatch({message:"".concat(h.actionType,": signing started")}),e.next=5,Y(Mt)({clientId:n,docId:r,cancelToken:o,apiEndpoints:a,apiClient:c,language:l,actionType:h.actionType,signingPin:f,phone:g});case 5:return v=e.sent,p(v),e.next=9,Y(Lt)({data:v.data,apiClient:c,apiEndpoints:a,language:l,cancelToken:o,docId:r,clientId:n});case 9:return y=e.sent,e.abrupt("return",y);case 11:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),{pin:{type:"string"},phone:{type:"string"},docId:{type:"string",required:!0}}),Gt=yt({moduleName:c.mitIdSignature,createModuleCreator:oe}),Ft=Object.freeze({sandbox:"sandbox",production:"production"});function Bt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bt(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zt=function(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=function(e,t,n){return function(r){var o=qt(qt({},t),r);return n?n(e(o)):e(o)}}(e[o],t,n)})),r},Ht=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=qt({base:function(e){return e.baseUrl},readCard:function(e){var n=e.countryCode,r=void 0===n?t.countryCode.toLowerCase():n,o=e.clientId;return"https://".concat(r,".eideasy.com/api/identity/").concat(o,"/read-card")},eParakstsMobile:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri;return"".concat(t,"/oauth/start/lv-eparaksts-mobile-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},zealIdIframeUrl:function(e){var t=e.baseUrl,n=e.clientId;return"".concat(t,"/api/identity/").concat(n,"/zealid/get_iframe_url")},mojeId:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri;return"".concat(t,"/oauth/start/mojeid?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code")},finnishTrustNetwork:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri,o=e.language;return"".concat(t,"/oauth/start/finnish-ftn-login?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&lang=").concat(o)},atHandy:function(e){var t=e.baseUrl,n=e.clientId,r=e.redirectUri;return"".concat(t,"/oauth/authorize?client_id=").concat(n,"&redirect_uri=").concat(r,"&response_type=code&method=at-handy-signatur-login")},idCardIframe:function(e){var t=e.baseUrl,n=e.clientId,r=e.actionType;return"".concat(t,"/signatures/integration/").concat(n,"/").concat(r)},startSigning:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/start-signing")},completeSignatureIdCard:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/id-card/complete")},completeSignatureMobileId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-mobile-id/complete")},completeSignatureSmartId:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/sk-smart-id/complete")},completeSignatureEvrotrust:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/evrotrust-signature/complete")},completeSignatureDTrustSignMe:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/d-trust-sign-me-qes-signature/complete")},completeSignatureChaveMovel:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/chave-movel-qes-signature/complete")},completeOtp:function(e){var t=e.baseUrl;return"".concat(t,"/api/signatures/non-qualified/complete")},eideasyMonitoring:function(e){var t=e.baseUrl;return"".concat(t,"/api/monitor")},startZealIdSignature:function(e){var t=e.baseUrl,n=e.clientId,r=e.docId;return"".concat(t,"/zealid/signature/start?client_id=").concat(n,"&doc_id=").concat(r)}},n),i=(r(e={},Ft.production,qt({},zt(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"},t.modifyEndpointUrl))),r(e,Ft.sandbox,qt({},zt(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"},t.modifyEndpointUrl))),e);return{get inCurrentMode(){var e=t.sandbox?Ft.sandbox:Ft.production;return i[e]}}},Vt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=j({rawSettings:e,schema:S}),n=F({currentLanguage:"en"}),r=Ht({countryCode:t.countryCode,sandbox:t.sandbox,modifyEndpointUrl:t.modifyEndpointUrl},t.apiEndpoints),o=B({clientId:t.clientId,remoteMonitoringEnabled:t.remoteMonitoringEnabled,apiEndpoints:r});return O({settings:t,i18n:n,monitoringService:o,apiEndpoints:r,identificationModules:[ue,fe,ye,Ie,we,Ce,Ae,Pe,Le],signingModules:[We,nt,ct,pt,ht,mt,bt,It,Ot,wt,_t,jt,Dt,Ut,Gt]})},Jt=Vt},8552:function(e,t,n){var r=n(852)(n(5639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(1789),o=n(401),i=n(7667),a=n(1327),c=n(1866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},8407:function(e,t,n){var r=n(7040),o=n(4125),i=n(2117),a=n(7518),c=n(4705);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},7071:function(e,t,n){var r=n(852)(n(5639),"Map");e.exports=r},3369:function(e,t,n){var r=n(4785),o=n(1285),i=n(6e3),a=n(9916),c=n(5265);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}u.prototype.clear=r,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=a,u.prototype.set=c,e.exports=u},3818:function(e,t,n){var r=n(852)(n(5639),"Promise");e.exports=r},8525:function(e,t,n){var r=n(852)(n(5639),"Set");e.exports=r},6384:function(e,t,n){var r=n(8407),o=n(7465),i=n(3779),a=n(7599),c=n(4758),u=n(4309);function s(e){var t=this.__data__=new r(e);this.size=t.size}s.prototype.clear=o,s.prototype.delete=i,s.prototype.get=a,s.prototype.has=c,s.prototype.set=u,e.exports=s},2705:function(e,t,n){var r=n(5639).Symbol;e.exports=r},1149:function(e,t,n){var r=n(5639).Uint8Array;e.exports=r},577:function(e,t,n){var r=n(852)(n(5639),"WeakMap");e.exports=r},6874:function(e){e.exports=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}},7412:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}},4963:function(e){e.exports=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}},4636:function(e,t,n){var r=n(2545),o=n(5694),i=n(1469),a=n(4144),c=n(5776),u=n(6719),s=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),d=!n&&o(e),l=!n&&!d&&a(e),p=!n&&!d&&!l&&u(e),f=n||d||l||p,g=f?r(e.length,String):[],h=g.length;for(var v in e)!t&&!s.call(e,v)||f&&("length"==v||l&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||c(v,h))||g.push(v);return g}},2488:function(e){e.exports=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}},6556:function(e,t,n){var r=n(9465),o=n(7813);e.exports=function(e,t,n){(void 0!==n&&!o(e[t],n)||void 0===n&&!(t in e))&&r(e,t,n)}},4865:function(e,t,n){var r=n(9465),o=n(7813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,n){var a=e[t];i.call(e,t)&&o(a,n)&&(void 0!==n||t in e)||r(e,t,n)}},8470:function(e,t,n){var r=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(r(e[n][0],t))return n;return-1}},4037:function(e,t,n){var r=n(8363),o=n(3674);e.exports=function(e,t){return e&&r(t,o(t),e)}},3886:function(e,t,n){var r=n(8363),o=n(1704);e.exports=function(e,t){return e&&r(t,o(t),e)}},9465:function(e,t,n){var r=n(8777);e.exports=function(e,t,n){"__proto__"==t&&r?r(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}},5990:function(e,t,n){var r=n(6384),o=n(7412),i=n(4865),a=n(4037),c=n(3886),u=n(4626),s=n(278),d=n(8805),l=n(1911),p=n(8234),f=n(6904),g=n(4160),h=n(3824),v=n(9148),y=n(8517),m=n(1469),b=n(4144),I=n(6688),E=n(3218),T=n(2928),O=n(3674),w=n(1704),_="[object Arguments]",j="[object Function]",S="[object Object]",C={};C[_]=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[S]=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[j]=C["[object WeakMap]"]=!1,e.exports=function e(t,n,x,k,A,N){var D,P=1&n,M=2&n,R=4&n;if(x&&(D=A?x(t,k,A,N):x(t)),void 0!==D)return D;if(!E(t))return t;var L=m(t);if(L){if(D=h(t),!P)return s(t,D)}else{var U=g(t),G=U==j||"[object GeneratorFunction]"==U;if(b(t))return u(t,P);if(U==S||U==_||G&&!A){if(D=M||G?{}:y(t),!P)return M?l(t,c(D,t)):d(t,a(D,t))}else{if(!C[U])return A?t:{};D=v(t,U,P)}}N||(N=new r);var F=N.get(t);if(F)return F;N.set(t,D),T(t)?t.forEach((function(r){D.add(e(r,n,x,r,t,N))})):I(t)&&t.forEach((function(r,o){D.set(o,e(r,n,x,o,t,N))}));var B=L?void 0:(R?M?f:p:M?w:O)(t);return o(B||t,(function(r,o){B&&(r=t[o=r]),i(D,o,e(r,n,x,o,t,N))})),D}},3118:function(e,t,n){var r=n(3218),o=Object.create,i=function(){function e(){}return function(t){if(!r(t))return{};if(o)return o(t);e.prototype=t;var n=new e;return e.prototype=void 0,n}}();e.exports=i},8483:function(e,t,n){var r=n(5063)();e.exports=r},8866:function(e,t,n){var r=n(2488),o=n(1469);e.exports=function(e,t,n){var i=t(e);return o(e)?i:r(i,n(e))}},4239:function(e,t,n){var r=n(2705),o=n(9607),i=n(2333),a=r?r.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},9454:function(e,t,n){var r=n(4239),o=n(7005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},5588:function(e,t,n){var r=n(4160),o=n(7005);e.exports=function(e){return o(e)&&"[object Map]"==r(e)}},8458:function(e,t,n){var r=n(3560),o=n(5346),i=n(3218),a=n(346),c=/^\[object .+?Constructor\]$/,u=Function.prototype,s=Object.prototype,d=u.toString,l=s.hasOwnProperty,p=RegExp("^"+d.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(r(e)?p:c).test(a(e))}},9221:function(e,t,n){var r=n(4160),o=n(7005);e.exports=function(e){return o(e)&&"[object Set]"==r(e)}},8749:function(e,t,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,e.exports=function(e){return i(e)&&o(e.length)&&!!a[r(e)]}},280:function(e,t,n){var r=n(5726),o=n(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},313:function(e,t,n){var r=n(3218),o=n(5726),i=n(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return i(e);var t=o(e),n=[];for(var c in e)("constructor"!=c||!t&&a.call(e,c))&&n.push(c);return n}},2980:function(e,t,n){var r=n(6384),o=n(6556),i=n(8483),a=n(9783),c=n(3218),u=n(1704),s=n(6390);e.exports=function e(t,n,d,l,p){t!==n&&i(n,(function(i,u){if(p||(p=new r),c(i))a(t,n,u,d,e,l,p);else{var f=l?l(s(t,u),i,u+"",t,n,p):void 0;void 0===f&&(f=i),o(t,u,f)}}),u)}},9783:function(e,t,n){var r=n(6556),o=n(4626),i=n(7133),a=n(278),c=n(8517),u=n(5694),s=n(1469),d=n(9246),l=n(4144),p=n(3560),f=n(3218),g=n(8630),h=n(6719),v=n(6390),y=n(9881);e.exports=function(e,t,n,m,b,I,E){var T=v(e,n),O=v(t,n),w=E.get(O);if(w)r(e,n,w);else{var _=I?I(T,O,n+"",e,t,E):void 0,j=void 0===_;if(j){var S=s(O),C=!S&&l(O),x=!S&&!C&&h(O);_=O,S||C||x?s(T)?_=T:d(T)?_=a(T):C?(j=!1,_=o(O,!0)):x?(j=!1,_=i(O,!0)):_=[]:g(O)||u(O)?(_=T,u(T)?_=y(T):f(T)&&!p(T)||(_=c(O))):j=!1}j&&(E.set(O,_),b(_,O,m,I,E),E.delete(O)),r(e,n,_)}}},5976:function(e,t,n){var r=n(6557),o=n(5357),i=n(61);e.exports=function(e,t){return i(o(e,t,r),e+"")}},6560:function(e,t,n){var r=n(5703),o=n(8777),i=n(6557),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:i;e.exports=a},2545:function(e){e.exports=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}},1717:function(e){e.exports=function(e){return function(t){return e(t)}}},4318:function(e,t,n){var r=n(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},4626:function(e,t,n){e=n.nmd(e);var r=n(5639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,c=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=c?c(n):new e.constructor(n);return e.copy(r),r}},7157:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var n=new e.constructor(e.source,t.exec(e));return n.lastIndex=e.lastIndex,n}},419:function(e,t,n){var r=n(2705),o=r?r.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},7133:function(e,t,n){var r=n(4318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n<r;)t[n]=e[n];return t}},8363:function(e,t,n){var r=n(4865),o=n(9465);e.exports=function(e,t,n,i){var a=!n;n||(n={});for(var c=-1,u=t.length;++c<u;){var s=t[c],d=i?i(n[s],e[s],s,n,e):void 0;void 0===d&&(d=e[s]),a?o(n,s,d):r(n,s,d)}return n}},8805:function(e,t,n){var r=n(8363),o=n(9551);e.exports=function(e,t){return r(e,o(e),t)}},1911:function(e,t,n){var r=n(8363),o=n(1442);e.exports=function(e,t){return r(e,o(e),t)}},4429:function(e,t,n){var r=n(5639)["__core-js_shared__"];e.exports=r},1463:function(e,t,n){var r=n(5976),o=n(6612);e.exports=function(e){return r((function(t,n){var r=-1,i=n.length,a=i>1?n[i-1]:void 0,c=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,c&&o(n[0],n[1],c)&&(a=i<3?void 0:a,i=1),t=Object(t);++r<i;){var u=n[r];u&&e(t,u,r,a)}return t}))}},5063:function(e){e.exports=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),c=a.length;c--;){var u=a[e?c:++o];if(!1===n(i[u],u,i))break}return t}}},8777:function(e,t,n){var r=n(852),o=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},1957:function(e,t,n){var r="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=r},8234:function(e,t,n){var r=n(8866),o=n(9551),i=n(3674);e.exports=function(e){return r(e,i,o)}},6904:function(e,t,n){var r=n(8866),o=n(1442),i=n(1704);e.exports=function(e){return r(e,i,o)}},5050:function(e,t,n){var r=n(7019);e.exports=function(e,t){var n=e.__data__;return r(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:function(e,t,n){var r=n(8458),o=n(7801);e.exports=function(e,t){var n=o(e,t);return r(n)?n:void 0}},5924:function(e,t,n){var r=n(5569)(Object.getPrototypeOf,Object);e.exports=r},9607:function(e,t,n){var r=n(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,c=r?r.toStringTag:void 0;e.exports=function(e){var t=i.call(e,c),n=e[c];try{e[c]=void 0;var r=!0}catch(e){}var o=a.call(e);return r&&(t?e[c]=n:delete e[c]),o}},9551:function(e,t,n){var r=n(4963),o=n(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,c=a?function(e){return null==e?[]:(e=Object(e),r(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=c},1442:function(e,t,n){var r=n(2488),o=n(5924),i=n(9551),a=n(479),c=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)r(t,i(e)),e=o(e);return t}:a;e.exports=c},4160:function(e,t,n){var r=n(8552),o=n(7071),i=n(3818),a=n(8525),c=n(577),u=n(4239),s=n(346),d="[object Map]",l="[object Promise]",p="[object Set]",f="[object WeakMap]",g="[object DataView]",h=s(r),v=s(o),y=s(i),m=s(a),b=s(c),I=u;(r&&I(new r(new ArrayBuffer(1)))!=g||o&&I(new o)!=d||i&&I(i.resolve())!=l||a&&I(new a)!=p||c&&I(new c)!=f)&&(I=function(e){var t=u(e),n="[object Object]"==t?e.constructor:void 0,r=n?s(n):"";if(r)switch(r){case h:return g;case v:return d;case y:return l;case m:return p;case b:return f}return t}),e.exports=I},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},1789:function(e,t,n){var r=n(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,n){var r=n(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(r){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return o.call(t,e)?t[e]:void 0}},1327:function(e,t,n){var r=n(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return r?void 0!==t[e]:o.call(t,e)}},1866:function(e,t,n){var r=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=r&&void 0===t?"__lodash_hash_undefined__":t,this}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var n=e.length,r=new e.constructor(n);return n&&"string"==typeof e[0]&&t.call(e,"index")&&(r.index=e.index,r.input=e.input),r}},9148:function(e,t,n){var r=n(4318),o=n(7157),i=n(3147),a=n(419),c=n(7133);e.exports=function(e,t,n){var u=e.constructor;switch(t){case"[object ArrayBuffer]":return r(e);case"[object Boolean]":case"[object Date]":return new u(+e);case"[object DataView]":return o(e,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return c(e,n);case"[object Map]":return new u;case"[object Number]":case"[object String]":return new u(e);case"[object RegExp]":return i(e);case"[object Set]":return new u;case"[object Symbol]":return a(e)}}},8517:function(e,t,n){var r=n(3118),o=n(5924),i=n(5726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:r(o(e))}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var r=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==r||"symbol"!=r&&t.test(e))&&e>-1&&e%1==0&&e<n}},6612:function(e,t,n){var r=n(7813),o=n(8612),i=n(5776),a=n(3218);e.exports=function(e,t,n){if(!a(n))return!1;var c=typeof t;return!!("number"==c?o(n)&&i(t,n.length):"string"==c&&t in n)&&r(n[t],e)}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,n){var r,o=n(4429),i=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!i&&i in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,n){var r=n(8470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=r(t,e);return!(n<0||(n==t.length-1?t.pop():o.call(t,n,1),--this.size,0))}},2117:function(e,t,n){var r=n(8470);e.exports=function(e){var t=this.__data__,n=r(t,e);return n<0?void 0:t[n][1]}},7518:function(e,t,n){var r=n(8470);e.exports=function(e){return r(this.__data__,e)>-1}},4705:function(e,t,n){var r=n(8470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},4785:function(e,t,n){var r=n(1989),o=n(8407),i=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},1285:function(e,t,n){var r=n(5050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).get(e)}},9916:function(e,t,n){var r=n(5050);e.exports=function(e){return r(this,e).has(e)}},5265:function(e,t,n){var r=n(5050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},4536:function(e,t,n){var r=n(852)(Object,"create");e.exports=r},6916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},1167:function(e,t,n){e=n.nmd(e);var r=n(1957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,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(e){}}();e.exports=c},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},5357:function(e,t,n){var r=n(6874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,c=o(i.length-t,0),u=Array(c);++a<c;)u[a]=i[t+a];a=-1;for(var s=Array(t+1);++a<t;)s[a]=i[a];return s[t]=n(u),r(e,this,s)}}},5639:function(e,t,n){var r=n(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},6390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},61:function(e,t,n){var r=n(6560),o=n(1275)(r);e.exports=o},1275:function(e){var t=Date.now;e.exports=function(e){var n=0,r=0;return function(){var o=t(),i=16-(o-r);if(r=o,i>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},7465:function(e,t,n){var r=n(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,n){var r=n(8407),o=n(7071),i=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},361:function(e,t,n){var r=n(5990);e.exports=function(e){return r(e,5)}},5703:function(e){e.exports=function(e){return function(){return e}}},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},6557:function(e){e.exports=function(e){return e}},5694:function(e,t,n){var r=n(9454),o=n(7005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,n){var r=n(3560),o=n(1780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},9246:function(e,t,n){var r=n(8612),o=n(7005);e.exports=function(e){return o(e)&&r(e)}},4144:function(e,t,n){e=n.nmd(e);var r=n(5639),o=n(5062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;e.exports=u},3560:function(e,t,n){var r=n(4239),o=n(3218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,n){var r=n(5588),o=n(1717),i=n(1167),a=i&&i.isMap,c=a?o(a):r;e.exports=c},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,n){var r=n(4239),o=n(5924),i=n(7005),a=Function.prototype,c=Object.prototype,u=a.toString,s=c.hasOwnProperty,d=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=s.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==d}},2928:function(e,t,n){var r=n(9221),o=n(1717),i=n(1167),a=i&&i.isSet,c=a?o(a):r;e.exports=c},6719:function(e,t,n){var r=n(8749),o=n(1717),i=n(1167),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},3674:function(e,t,n){var r=n(4636),o=n(280),i=n(8612);e.exports=function(e){return i(e)?r(e):o(e)}},1704:function(e,t,n){var r=n(4636),o=n(313),i=n(8612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},2492:function(e,t,n){var r=n(2980),o=n(1463)((function(e,t,n){r(e,t,n)}));e.exports=o},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},9881:function(e,t,n){var r=n(8363),o=n(1704);e.exports=function(e){return r(e,o(e))}},5666:function(e){var t=function(e){"use strict";var t,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(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new C(r||[]);return i._invoke=function(e,t,n){var r=l;return function(o,i){if(r===f)throw new Error("Generator is already running");if(r===g){if("throw"===o)throw i;return k()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=_(a,n);if(c){if(c===h)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=f;var u=d(e,t,n);if("normal"===u.type){if(r=n.done?g:p,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=g,n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var l="suspendedStart",p="suspendedYield",f="executing",g="completed",h={};function v(){}function y(){}function m(){}var b={};b[i]=function(){return this};var I=Object.getPrototypeOf,E=I&&I(I(x([])));E&&E!==n&&r.call(E,i)&&(b=E);var T=m.prototype=v.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function w(e,t){function n(o,i,a,c){var u=d(e[o],e,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?t.resolve(l.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(l).then((function(e){s.value=e,a(s)}),(function(e){return n("throw",e,a,c)}))}c(u.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function _(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,_(e,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,e.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[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function S(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function x(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:k}}function k(){return{value:t,done:!0}}return y.prototype=T.constructor=m,m.constructor=y,y.displayName=u(m,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,m):(e.__proto__=m,u(e,c,"GeneratorFunction")),e.prototype=Object.create(T),e},e.awrap=function(e){return{__await:e}},O(w.prototype),w.prototype[a]=function(){return this},e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(T),u(T,c,"Generator"),T[i]=function(){return this},T.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=x,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(S),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!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(e,t){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"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:x(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=t}catch(e){Function("r","regeneratorRuntime = r")(t)}}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={id:e,loaded:!1,exports:{}};return n[e](i,i.exports,o),i.loaded=!0,i.exports}return o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__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={};e=e||[null,t({}),t([]),t(t)];for(var c=2&r&&n;"object"==typeof c&&!~e.indexOf(c);c=t(c))Object.getOwnPropertyNames(c).forEach((function(e){a[e]=function(){return n[e]}}));return a.default=function(){return n},o.d(i,a),i},o.d=function(e,t){for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},o(2050)}()}));
|
|
2019
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362"), __webpack_require__("b639").Buffer))
|
|
2020
2020
|
|
|
2021
2021
|
/***/ }),
|
|
2022
2022
|
|
|
@@ -4349,241 +4349,185 @@ module.exports = {
|
|
|
4349
4349
|
|
|
4350
4350
|
/***/ }),
|
|
4351
4351
|
|
|
4352
|
-
/***/ "
|
|
4352
|
+
/***/ "1fb5":
|
|
4353
4353
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4354
4354
|
|
|
4355
|
-
|
|
4356
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
4357
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4358
|
-
// Module
|
|
4359
|
-
exports.push([module.i, ".MethodButton_reset-list_1z8Ur{margin:0;padding:0;list-style:none;display:block}.MethodButton_uppercase-sm_JpWvx{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.MethodButton_methodButton_14fJz{display:block;font-size:16px;width:100%;color:#3a3a3a;text-decoration:none;outline:none;text-align:center;cursor:pointer;transform:translateY(0);transition:.1s;border:1px solid #d9d9d9;border-radius:6px;height:43px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;min-width:211px;overflow:hidden}.MethodButton_methodButton_14fJz:focus,.MethodButton_methodButton_14fJz:hover{text-decoration:none;outline:none;border-color:#6683a4;box-shadow:0 2px 4px 0 rgba(0,0,0,.1);color:#3a3a3a}.MethodButton_methodButton_14fJz:active{transform:translateY(1px);color:#3a3a3a}.MethodButton_row_3V2sB{height:100%;display:flex;justify-content:center;align-items:center}", ""]);
|
|
4360
|
-
// Exports
|
|
4361
|
-
exports.locals = {
|
|
4362
|
-
"reset-list": "MethodButton_reset-list_1z8Ur",
|
|
4363
|
-
"uppercase-sm": "MethodButton_uppercase-sm_JpWvx",
|
|
4364
|
-
"methodButton": "MethodButton_methodButton_14fJz",
|
|
4365
|
-
"row": "MethodButton_row_3V2sB"
|
|
4366
|
-
};
|
|
4367
|
-
module.exports = exports;
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
/***/ }),
|
|
4355
|
+
"use strict";
|
|
4371
4356
|
|
|
4372
|
-
/***/ "200e":
|
|
4373
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4374
4357
|
|
|
4375
|
-
|
|
4358
|
+
exports.byteLength = byteLength
|
|
4359
|
+
exports.toByteArray = toByteArray
|
|
4360
|
+
exports.fromByteArray = fromByteArray
|
|
4376
4361
|
|
|
4377
|
-
|
|
4362
|
+
var lookup = []
|
|
4363
|
+
var revLookup = []
|
|
4364
|
+
var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
|
|
4378
4365
|
|
|
4379
|
-
var
|
|
4366
|
+
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
|
|
4367
|
+
for (var i = 0, len = code.length; i < len; ++i) {
|
|
4368
|
+
lookup[i] = code[i]
|
|
4369
|
+
revLookup[code.charCodeAt(i)] = i
|
|
4370
|
+
}
|
|
4380
4371
|
|
|
4381
|
-
|
|
4372
|
+
// Support decoding URL-safe base64 strings, as Node.js does.
|
|
4373
|
+
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
|
|
4374
|
+
revLookup['-'.charCodeAt(0)] = 62
|
|
4375
|
+
revLookup['_'.charCodeAt(0)] = 63
|
|
4382
4376
|
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
render: function render(_h, _vm) {
|
|
4386
|
-
var _c = _vm._c,
|
|
4387
|
-
_v = _vm._v,
|
|
4388
|
-
data = _vm.data,
|
|
4389
|
-
_vm$children = _vm.children,
|
|
4390
|
-
children = _vm$children === void 0 ? [] : _vm$children;
|
|
4377
|
+
function getLens (b64) {
|
|
4378
|
+
var len = b64.length
|
|
4391
4379
|
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
style = data.style,
|
|
4395
|
-
staticStyle = data.staticStyle,
|
|
4396
|
-
_data$attrs = data.attrs,
|
|
4397
|
-
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4398
|
-
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4399
|
-
|
|
4400
|
-
return _c('svg', _objectSpread({
|
|
4401
|
-
class: [classNames, staticClass],
|
|
4402
|
-
style: [style, staticStyle],
|
|
4403
|
-
attrs: Object.assign({
|
|
4404
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
4405
|
-
"viewBox": "0 85.333 512 341.333"
|
|
4406
|
-
}, attrs)
|
|
4407
|
-
}, rest), children.concat([_c('path', {
|
|
4408
|
-
attrs: {
|
|
4409
|
-
"fill": "#338AF3",
|
|
4410
|
-
"d": "M0 85.331h512v341.337H0z"
|
|
4411
|
-
}
|
|
4412
|
-
}), _c('circle', {
|
|
4413
|
-
attrs: {
|
|
4414
|
-
"fill": "#FFDA44",
|
|
4415
|
-
"cx": "218.902",
|
|
4416
|
-
"cy": "255.994",
|
|
4417
|
-
"r": "74.207"
|
|
4418
|
-
}
|
|
4419
|
-
})]));
|
|
4380
|
+
if (len % 4 > 0) {
|
|
4381
|
+
throw new Error('Invalid string. Length must be a multiple of 4')
|
|
4420
4382
|
}
|
|
4421
|
-
};
|
|
4422
4383
|
|
|
4423
|
-
|
|
4384
|
+
// Trim off extra bytes after placeholder bytes are found
|
|
4385
|
+
// See: https://github.com/beatgammit/base64-js/issues/42
|
|
4386
|
+
var validLen = b64.indexOf('=')
|
|
4387
|
+
if (validLen === -1) validLen = len
|
|
4424
4388
|
|
|
4425
|
-
|
|
4426
|
-
|
|
4389
|
+
var placeHoldersLen = validLen === len
|
|
4390
|
+
? 0
|
|
4391
|
+
: 4 - (validLen % 4)
|
|
4427
4392
|
|
|
4428
|
-
|
|
4393
|
+
return [validLen, placeHoldersLen]
|
|
4394
|
+
}
|
|
4429
4395
|
|
|
4430
|
-
|
|
4396
|
+
// base64 is 4/3 + up to two characters of the original data
|
|
4397
|
+
function byteLength (b64) {
|
|
4398
|
+
var lens = getLens(b64)
|
|
4399
|
+
var validLen = lens[0]
|
|
4400
|
+
var placeHoldersLen = lens[1]
|
|
4401
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
4402
|
+
}
|
|
4431
4403
|
|
|
4432
|
-
|
|
4433
|
-
|
|
4404
|
+
function _byteLength (b64, validLen, placeHoldersLen) {
|
|
4405
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
4406
|
+
}
|
|
4434
4407
|
|
|
4435
|
-
|
|
4408
|
+
function toByteArray (b64) {
|
|
4409
|
+
var tmp
|
|
4410
|
+
var lens = getLens(b64)
|
|
4411
|
+
var validLen = lens[0]
|
|
4412
|
+
var placeHoldersLen = lens[1]
|
|
4436
4413
|
|
|
4437
|
-
|
|
4414
|
+
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
|
|
4438
4415
|
|
|
4439
|
-
var
|
|
4416
|
+
var curByte = 0
|
|
4440
4417
|
|
|
4441
|
-
|
|
4418
|
+
// if there are placeholders, only get up to the last complete 4 chars
|
|
4419
|
+
var len = placeHoldersLen > 0
|
|
4420
|
+
? validLen - 4
|
|
4421
|
+
: validLen
|
|
4442
4422
|
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
staticClass = data.staticClass,
|
|
4454
|
-
style = data.style,
|
|
4455
|
-
staticStyle = data.staticStyle,
|
|
4456
|
-
_data$attrs = data.attrs,
|
|
4457
|
-
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4458
|
-
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4459
|
-
|
|
4460
|
-
return _c('svg', _objectSpread({
|
|
4461
|
-
class: [classNames, staticClass],
|
|
4462
|
-
style: [style, staticStyle],
|
|
4463
|
-
attrs: Object.assign({
|
|
4464
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
4465
|
-
"viewBox": "0 0 512 341.3"
|
|
4466
|
-
}, attrs)
|
|
4467
|
-
}, rest), children.concat([_c('path', {
|
|
4468
|
-
attrs: {
|
|
4469
|
-
"fill": "#FFDA44",
|
|
4470
|
-
"d": "M0 0h512v341.3H0z"
|
|
4471
|
-
}
|
|
4472
|
-
}), _c('path', {
|
|
4473
|
-
attrs: {
|
|
4474
|
-
"fill": "#0052B4",
|
|
4475
|
-
"d": "M0 170.7h512V256H0z"
|
|
4476
|
-
}
|
|
4477
|
-
}), _c('path', {
|
|
4478
|
-
attrs: {
|
|
4479
|
-
"fill": "#D80027",
|
|
4480
|
-
"d": "M0 256h512v85.3H0z"
|
|
4481
|
-
}
|
|
4482
|
-
}), _c('circle', {
|
|
4483
|
-
attrs: {
|
|
4484
|
-
"fill": "#FFDA44",
|
|
4485
|
-
"cx": "256",
|
|
4486
|
-
"cy": "170.7",
|
|
4487
|
-
"r": "59.4"
|
|
4488
|
-
}
|
|
4489
|
-
}), _c('path', {
|
|
4490
|
-
attrs: {
|
|
4491
|
-
"fill": "#4C1F00",
|
|
4492
|
-
"d": "M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"
|
|
4493
|
-
}
|
|
4494
|
-
}), _c('path', {
|
|
4495
|
-
attrs: {
|
|
4496
|
-
"fill": "#57BA17",
|
|
4497
|
-
"d": "M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"
|
|
4498
|
-
}
|
|
4499
|
-
}), _c('path', {
|
|
4500
|
-
attrs: {
|
|
4501
|
-
"fill": "#338AF3",
|
|
4502
|
-
"d": "M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"
|
|
4503
|
-
}
|
|
4504
|
-
})]));
|
|
4423
|
+
var i
|
|
4424
|
+
for (i = 0; i < len; i += 4) {
|
|
4425
|
+
tmp =
|
|
4426
|
+
(revLookup[b64.charCodeAt(i)] << 18) |
|
|
4427
|
+
(revLookup[b64.charCodeAt(i + 1)] << 12) |
|
|
4428
|
+
(revLookup[b64.charCodeAt(i + 2)] << 6) |
|
|
4429
|
+
revLookup[b64.charCodeAt(i + 3)]
|
|
4430
|
+
arr[curByte++] = (tmp >> 16) & 0xFF
|
|
4431
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
4432
|
+
arr[curByte++] = tmp & 0xFF
|
|
4505
4433
|
}
|
|
4506
|
-
};
|
|
4507
4434
|
|
|
4508
|
-
|
|
4435
|
+
if (placeHoldersLen === 2) {
|
|
4436
|
+
tmp =
|
|
4437
|
+
(revLookup[b64.charCodeAt(i)] << 2) |
|
|
4438
|
+
(revLookup[b64.charCodeAt(i + 1)] >> 4)
|
|
4439
|
+
arr[curByte++] = tmp & 0xFF
|
|
4440
|
+
}
|
|
4509
4441
|
|
|
4510
|
-
|
|
4511
|
-
|
|
4442
|
+
if (placeHoldersLen === 1) {
|
|
4443
|
+
tmp =
|
|
4444
|
+
(revLookup[b64.charCodeAt(i)] << 10) |
|
|
4445
|
+
(revLookup[b64.charCodeAt(i + 1)] << 4) |
|
|
4446
|
+
(revLookup[b64.charCodeAt(i + 2)] >> 2)
|
|
4447
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
4448
|
+
arr[curByte++] = tmp & 0xFF
|
|
4449
|
+
}
|
|
4512
4450
|
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
var toLength = __webpack_require__("50c4");
|
|
4516
|
-
var bind = __webpack_require__("0366");
|
|
4517
|
-
var getIteratorMethod = __webpack_require__("35a1");
|
|
4518
|
-
var iteratorClose = __webpack_require__("2a62");
|
|
4451
|
+
return arr
|
|
4452
|
+
}
|
|
4519
4453
|
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4454
|
+
function tripletToBase64 (num) {
|
|
4455
|
+
return lookup[num >> 18 & 0x3F] +
|
|
4456
|
+
lookup[num >> 12 & 0x3F] +
|
|
4457
|
+
lookup[num >> 6 & 0x3F] +
|
|
4458
|
+
lookup[num & 0x3F]
|
|
4459
|
+
}
|
|
4524
4460
|
|
|
4525
|
-
|
|
4526
|
-
var
|
|
4527
|
-
var
|
|
4528
|
-
var
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4461
|
+
function encodeChunk (uint8, start, end) {
|
|
4462
|
+
var tmp
|
|
4463
|
+
var output = []
|
|
4464
|
+
for (var i = start; i < end; i += 3) {
|
|
4465
|
+
tmp =
|
|
4466
|
+
((uint8[i] << 16) & 0xFF0000) +
|
|
4467
|
+
((uint8[i + 1] << 8) & 0xFF00) +
|
|
4468
|
+
(uint8[i + 2] & 0xFF)
|
|
4469
|
+
output.push(tripletToBase64(tmp))
|
|
4470
|
+
}
|
|
4471
|
+
return output.join('')
|
|
4472
|
+
}
|
|
4532
4473
|
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4474
|
+
function fromByteArray (uint8) {
|
|
4475
|
+
var tmp
|
|
4476
|
+
var len = uint8.length
|
|
4477
|
+
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
|
|
4478
|
+
var parts = []
|
|
4479
|
+
var maxChunkLength = 16383 // must be multiple of 3
|
|
4537
4480
|
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
4543
|
-
};
|
|
4481
|
+
// go through the array every three bytes, we'll deal with trailing stuff later
|
|
4482
|
+
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
|
|
4483
|
+
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
|
|
4484
|
+
}
|
|
4544
4485
|
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4486
|
+
// pad the end with zeros, but make sure to not forget the extra bytes
|
|
4487
|
+
if (extraBytes === 1) {
|
|
4488
|
+
tmp = uint8[len - 1]
|
|
4489
|
+
parts.push(
|
|
4490
|
+
lookup[tmp >> 2] +
|
|
4491
|
+
lookup[(tmp << 4) & 0x3F] +
|
|
4492
|
+
'=='
|
|
4493
|
+
)
|
|
4494
|
+
} else if (extraBytes === 2) {
|
|
4495
|
+
tmp = (uint8[len - 2] << 8) + uint8[len - 1]
|
|
4496
|
+
parts.push(
|
|
4497
|
+
lookup[tmp >> 10] +
|
|
4498
|
+
lookup[(tmp >> 4) & 0x3F] +
|
|
4499
|
+
lookup[(tmp << 2) & 0x3F] +
|
|
4500
|
+
'='
|
|
4501
|
+
)
|
|
4558
4502
|
}
|
|
4559
4503
|
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
try {
|
|
4563
|
-
result = callFn(step.value);
|
|
4564
|
-
} catch (error) {
|
|
4565
|
-
iteratorClose(iterator);
|
|
4566
|
-
throw error;
|
|
4567
|
-
}
|
|
4568
|
-
if (typeof result == 'object' && result && result instanceof Result) return result;
|
|
4569
|
-
} return new Result(false);
|
|
4570
|
-
};
|
|
4504
|
+
return parts.join('')
|
|
4505
|
+
}
|
|
4571
4506
|
|
|
4572
4507
|
|
|
4573
4508
|
/***/ }),
|
|
4574
4509
|
|
|
4575
|
-
/***/ "
|
|
4576
|
-
/***/ (function(module,
|
|
4510
|
+
/***/ "200a":
|
|
4511
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4512
|
+
|
|
4513
|
+
// Imports
|
|
4514
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
4515
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4516
|
+
// Module
|
|
4517
|
+
exports.push([module.i, ".MethodButton_reset-list_1z8Ur{margin:0;padding:0;list-style:none;display:block}.MethodButton_uppercase-sm_JpWvx{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.MethodButton_methodButton_14fJz{display:block;font-size:16px;width:100%;color:#3a3a3a;text-decoration:none;outline:none;text-align:center;cursor:pointer;transform:translateY(0);transition:.1s;border:1px solid #d9d9d9;border-radius:6px;height:43px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;min-width:211px;overflow:hidden}.MethodButton_methodButton_14fJz:focus,.MethodButton_methodButton_14fJz:hover{text-decoration:none;outline:none;border-color:#6683a4;box-shadow:0 2px 4px 0 rgba(0,0,0,.1);color:#3a3a3a}.MethodButton_methodButton_14fJz:active{transform:translateY(1px);color:#3a3a3a}.MethodButton_row_3V2sB{height:100%;display:flex;justify-content:center;align-items:center}", ""]);
|
|
4518
|
+
// Exports
|
|
4519
|
+
exports.locals = {
|
|
4520
|
+
"reset-list": "MethodButton_reset-list_1z8Ur",
|
|
4521
|
+
"uppercase-sm": "MethodButton_uppercase-sm_JpWvx",
|
|
4522
|
+
"methodButton": "MethodButton_methodButton_14fJz",
|
|
4523
|
+
"row": "MethodButton_row_3V2sB"
|
|
4524
|
+
};
|
|
4525
|
+
module.exports = exports;
|
|
4577
4526
|
|
|
4578
|
-
"use strict";
|
|
4579
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f88c");
|
|
4580
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4581
|
-
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
|
|
4582
|
-
|
|
4583
4527
|
|
|
4584
4528
|
/***/ }),
|
|
4585
4529
|
|
|
4586
|
-
/***/ "
|
|
4530
|
+
/***/ "200e":
|
|
4587
4531
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4588
4532
|
|
|
4589
4533
|
__webpack_require__("99af");
|
|
@@ -4620,18 +4564,15 @@ module.exports = {
|
|
|
4620
4564
|
}, attrs)
|
|
4621
4565
|
}, rest), children.concat([_c('path', {
|
|
4622
4566
|
attrs: {
|
|
4623
|
-
"fill": "#
|
|
4624
|
-
"d": "M0 85.331h512v341.
|
|
4625
|
-
}
|
|
4626
|
-
}), _c('path', {
|
|
4627
|
-
attrs: {
|
|
4628
|
-
"fill": "#6DA544",
|
|
4629
|
-
"d": "M330.207 85.331H512v341.337H330.207z"
|
|
4567
|
+
"fill": "#338AF3",
|
|
4568
|
+
"d": "M0 85.331h512v341.337H0z"
|
|
4630
4569
|
}
|
|
4631
|
-
}), _c('
|
|
4570
|
+
}), _c('circle', {
|
|
4632
4571
|
attrs: {
|
|
4633
|
-
"fill": "#
|
|
4634
|
-
"
|
|
4572
|
+
"fill": "#FFDA44",
|
|
4573
|
+
"cx": "218.902",
|
|
4574
|
+
"cy": "255.994",
|
|
4575
|
+
"r": "74.207"
|
|
4635
4576
|
}
|
|
4636
4577
|
})]));
|
|
4637
4578
|
}
|
|
@@ -4639,26 +4580,243 @@ module.exports = {
|
|
|
4639
4580
|
|
|
4640
4581
|
/***/ }),
|
|
4641
4582
|
|
|
4642
|
-
/***/ "
|
|
4643
|
-
/***/ (function(module
|
|
4644
|
-
|
|
4645
|
-
var toInteger = __webpack_require__("a691");
|
|
4646
|
-
|
|
4647
|
-
var max = Math.max;
|
|
4648
|
-
var min = Math.min;
|
|
4649
|
-
|
|
4650
|
-
// Helper for a popular repeating case of the spec:
|
|
4651
|
-
// Let integer be ? ToInteger(index).
|
|
4652
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
4653
|
-
module.exports = function (index, length) {
|
|
4654
|
-
var integer = toInteger(index);
|
|
4655
|
-
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
4656
|
-
};
|
|
4583
|
+
/***/ "20fc":
|
|
4584
|
+
/***/ (function(module) {
|
|
4657
4585
|
|
|
4586
|
+
module.exports = JSON.parse("{\"locale\":\"fr\",\"countries\":{\"AF\":\"Afghanistan\",\"AL\":\"Albanie\",\"DZ\":\"Algérie\",\"AS\":\"Samoa américaine\",\"AD\":\"Andorre\",\"AO\":\"Angola\",\"AI\":\"Anguilla\",\"AQ\":\"Antarctique\",\"AG\":\"Antigua et Barbuda\",\"AR\":\"Argentine\",\"AM\":\"Arménie\",\"AW\":\"Aruba\",\"AU\":\"Australie\",\"AT\":\"Autriche\",\"AZ\":\"Azerbaïdjan\",\"BS\":\"Bahamas\",\"BH\":\"Bahrein\",\"BD\":\"Bangladesh\",\"BB\":\"Barbade\",\"BY\":\"Bielorussie\",\"BE\":\"Belgique\",\"BZ\":\"Belize\",\"BJ\":\"Bénin\",\"BM\":\"Bermudes\",\"BT\":\"Bhoutan\",\"BO\":\"Bolivie\",\"BA\":\"Bosnie-Herzégovine\",\"BW\":\"Botswana\",\"BV\":\"Île Bouvet\",\"BR\":\"Brésil\",\"IO\":\"Océan Indien Britannique\",\"BN\":\"Brunei Darussalam\",\"BG\":\"Bulgarie\",\"BF\":\"Burkina Faso\",\"BI\":\"Burundi\",\"KH\":\"Cambodge\",\"CM\":\"Cameroun\",\"CA\":\"Canada\",\"CV\":\"Cap-Vert\",\"KY\":\"Caïmanes\",\"CF\":\"Centrafricaine, République\",\"TD\":\"Tchad\",\"CL\":\"Chili\",\"CN\":\"Chine\",\"CX\":\"Île Christmas\",\"CC\":\"Cocos\",\"CO\":\"Colombie\",\"KM\":\"Comores\",\"CG\":\"République du Congo\",\"CD\":\"Congo, République démocratique\",\"CK\":\"Îles Cook\",\"CR\":\"Costa Rica\",\"CI\":\"Côte-d'Ivoire\",\"HR\":\"Croatie\",\"CU\":\"Cuba\",\"CY\":\"Chypre\",\"CZ\":\"République Tchèque\",\"DK\":\"Danemark\",\"DJ\":\"Djibouti\",\"DM\":\"Dominique\",\"DO\":\"République Dominicaine\",\"EC\":\"Équateur\",\"EG\":\"Égypte\",\"SV\":\"El Salvador\",\"GQ\":\"Guinée équatoriale\",\"ER\":\"Érythrée\",\"EE\":\"Estonie\",\"ET\":\"Éthiopie\",\"FK\":\"Îles Malouines\",\"FO\":\"Îles Féroé\",\"FJ\":\"Fidji\",\"FI\":\"Finlande\",\"FR\":\"France\",\"GF\":\"Guyane française\",\"PF\":\"Polynésie française\",\"TF\":\"Terres australes françaises\",\"GA\":\"Gabon\",\"GM\":\"Gambie\",\"GE\":\"Géorgie\",\"DE\":\"Allemagne\",\"GH\":\"Ghana\",\"GI\":\"Gibraltar\",\"GR\":\"Grèce\",\"GL\":\"Groenland\",\"GD\":\"Grenada\",\"GP\":\"Guadeloupe\",\"GU\":\"Guam\",\"GT\":\"Guatemala\",\"GN\":\"Guinée\",\"GW\":\"Guinée-Bissau\",\"GY\":\"Guyana\",\"HT\":\"Haïti\",\"HM\":\"Îles Heard-et-MacDonald\",\"VA\":\"Saint-Siège\",\"HN\":\"Honduras\",\"HK\":\"Hong Kong\",\"HU\":\"Hongrie\",\"IS\":\"Islande\",\"IN\":\"Inde\",\"ID\":\"Indonésie\",\"IR\":\"Iran\",\"IQ\":\"Irak\",\"IE\":\"Irlande\",\"IL\":\"Israël\",\"IT\":\"Italie\",\"JM\":\"Jamaïque\",\"JP\":\"Japon\",\"JO\":\"Jordanie\",\"KZ\":\"Kazakhstan\",\"KE\":\"Kenya\",\"KI\":\"Kiribati\",\"KP\":\"Corée du Nord, République populaire démocratique\",\"KR\":\"Corée du Sud, République\",\"KW\":\"Koweit\",\"KG\":\"Kirghistan\",\"LA\":\"Laos\",\"LV\":\"Lettonie\",\"LB\":\"Liban\",\"LS\":\"Lesotho\",\"LR\":\"Libéria\",\"LY\":\"Libye\",\"LI\":\"Liechtenstein\",\"LT\":\"Lituanie\",\"LU\":\"Luxembourg\",\"MO\":\"Macao\",\"MK\":\"Macédoine du Nord\",\"MG\":\"Madagascar\",\"MW\":\"Malawi\",\"MY\":\"Malaisie\",\"MV\":\"Maldives\",\"ML\":\"Mali\",\"MT\":\"Malte\",\"MH\":\"Îles Marshall\",\"MQ\":\"Martinique\",\"MR\":\"Mauritanie\",\"MU\":\"Maurice\",\"YT\":\"Mayotte\",\"MX\":\"Mexique\",\"FM\":\"Micronésie\",\"MD\":\"Moldavie\",\"MC\":\"Monaco\",\"MN\":\"Mongolie\",\"MS\":\"Montserrat\",\"MA\":\"Maroc\",\"MZ\":\"Mozambique\",\"MM\":\"Myanmar\",\"NA\":\"Namibie\",\"NR\":\"Nauru\",\"NP\":\"Népal\",\"NL\":\"Pays-Bas\",\"NC\":\"Nouvelle-Calédonie\",\"NZ\":\"Nouvelle-Zélande\",\"NI\":\"Nicaragua\",\"NE\":\"Niger\",\"NG\":\"Nigéria\",\"NU\":\"Niué\",\"NF\":\"Île Norfolk\",\"MP\":\"Mariannes du Nord\",\"NO\":\"Norvège\",\"OM\":\"Oman\",\"PK\":\"Pakistan\",\"PW\":\"Palau\",\"PS\":\"Palestine\",\"PA\":\"Panama\",\"PG\":\"Papouasie-Nouvelle-Guinée\",\"PY\":\"Paraguay\",\"PE\":\"Pérou\",\"PH\":\"Philippines\",\"PN\":\"Pitcairn\",\"PL\":\"Pologne\",\"PT\":\"Portugal\",\"PR\":\"Porto Rico\",\"QA\":\"Qatar\",\"RE\":\"Réunion\",\"RO\":\"Roumanie\",\"RU\":\"Russie\",\"RW\":\"Rwanda\",\"SH\":\"Sainte-Hélène\",\"KN\":\"Saint-Christophe-et-Niévès\",\"LC\":\"Sainte-Lucie\",\"PM\":\"Saint Pierre and Miquelon\",\"VC\":\"Saint-Vincent et les Grenadines\",\"WS\":\"Samoa\",\"SM\":\"Saint-Marin\",\"ST\":\"São Tomé et Principe\",\"SA\":\"Arabie Saoudite\",\"SN\":\"Sénégal\",\"SC\":\"Seychelles\",\"SL\":\"Sierra Leone\",\"SG\":\"Singapour\",\"SK\":\"Slovaquie\",\"SI\":\"Slovénie\",\"SB\":\"Salomon\",\"SO\":\"Somalie\",\"ZA\":\"Afrique du Sud\",\"GS\":\"Géorgie du Sud-et-les Îles Sandwich du Sud\",\"ES\":\"Espagne\",\"LK\":\"Sri Lanka\",\"SD\":\"Soudan\",\"SR\":\"Suriname\",\"SJ\":\"Svalbard et Île Jan Mayen\",\"SZ\":\"Ngwane, Royaume d'Eswatini\",\"SE\":\"Suède\",\"CH\":\"Suisse\",\"SY\":\"Syrie\",\"TW\":\"Taïwan\",\"TJ\":\"Tadjikistan\",\"TZ\":\"Tanzanie, République unie\",\"TH\":\"Thaïlande\",\"TL\":\"Timor Leste\",\"TG\":\"Togo\",\"TK\":\"Tokelau\",\"TO\":\"Tonga\",\"TT\":\"Trinidad et Tobago\",\"TN\":\"Tunisie\",\"TR\":\"Turquie\",\"TM\":\"Turkménistan\",\"TC\":\"Îles Turques-et-Caïques\",\"TV\":\"Tuvalu\",\"UG\":\"Ouganda\",\"UA\":\"Ukraine\",\"AE\":\"Émirats Arabes Unis\",\"GB\":\"Royaume-Uni\",\"US\":\"États-Unis d'Amérique\",\"UM\":\"Îles mineures éloignées des États-Unis\",\"UY\":\"Uruguay\",\"UZ\":\"Ouzbékistan\",\"VU\":\"Vanuatu\",\"VE\":\"Venezuela\",\"VN\":\"Vietnam\",\"VG\":\"Îles vierges britanniques\",\"VI\":\"Îles vierges américaines\",\"WF\":\"Wallis et Futuna\",\"EH\":\"Sahara occidental\",\"YE\":\"Yémen\",\"ZM\":\"Zambie\",\"ZW\":\"Zimbabwe\",\"AX\":\"Åland\",\"BQ\":\"Bonaire, Saint-Eustache et Saba\",\"CW\":\"Curaçao\",\"GG\":\"Guernesey\",\"IM\":\"Île de Man\",\"JE\":\"Jersey\",\"ME\":\"Monténégro\",\"BL\":\"Saint-Barthélemy\",\"MF\":\"Saint-Martin (partie française)\",\"RS\":\"Serbie\",\"SX\":\"Saint-Martin (partie néerlandaise)\",\"SS\":\"Sud-Soudan\",\"XK\":\"Kosovo\"}}");
|
|
4658
4587
|
|
|
4659
4588
|
/***/ }),
|
|
4660
4589
|
|
|
4661
|
-
/***/ "
|
|
4590
|
+
/***/ "217a":
|
|
4591
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4592
|
+
|
|
4593
|
+
__webpack_require__("99af");
|
|
4594
|
+
|
|
4595
|
+
__webpack_require__("cca6");
|
|
4596
|
+
|
|
4597
|
+
var _objectSpread = __webpack_require__("ded3");
|
|
4598
|
+
|
|
4599
|
+
var _objectWithoutProperties = __webpack_require__("4082");
|
|
4600
|
+
|
|
4601
|
+
module.exports = {
|
|
4602
|
+
functional: true,
|
|
4603
|
+
render: function render(_h, _vm) {
|
|
4604
|
+
var _c = _vm._c,
|
|
4605
|
+
_v = _vm._v,
|
|
4606
|
+
data = _vm.data,
|
|
4607
|
+
_vm$children = _vm.children,
|
|
4608
|
+
children = _vm$children === void 0 ? [] : _vm$children;
|
|
4609
|
+
|
|
4610
|
+
var classNames = data.class,
|
|
4611
|
+
staticClass = data.staticClass,
|
|
4612
|
+
style = data.style,
|
|
4613
|
+
staticStyle = data.staticStyle,
|
|
4614
|
+
_data$attrs = data.attrs,
|
|
4615
|
+
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4616
|
+
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4617
|
+
|
|
4618
|
+
return _c('svg', _objectSpread({
|
|
4619
|
+
class: [classNames, staticClass],
|
|
4620
|
+
style: [style, staticStyle],
|
|
4621
|
+
attrs: Object.assign({
|
|
4622
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
4623
|
+
"viewBox": "0 0 512 341.3"
|
|
4624
|
+
}, attrs)
|
|
4625
|
+
}, rest), children.concat([_c('path', {
|
|
4626
|
+
attrs: {
|
|
4627
|
+
"fill": "#FFDA44",
|
|
4628
|
+
"d": "M0 0h512v341.3H0z"
|
|
4629
|
+
}
|
|
4630
|
+
}), _c('path', {
|
|
4631
|
+
attrs: {
|
|
4632
|
+
"fill": "#0052B4",
|
|
4633
|
+
"d": "M0 170.7h512V256H0z"
|
|
4634
|
+
}
|
|
4635
|
+
}), _c('path', {
|
|
4636
|
+
attrs: {
|
|
4637
|
+
"fill": "#D80027",
|
|
4638
|
+
"d": "M0 256h512v85.3H0z"
|
|
4639
|
+
}
|
|
4640
|
+
}), _c('circle', {
|
|
4641
|
+
attrs: {
|
|
4642
|
+
"fill": "#FFDA44",
|
|
4643
|
+
"cx": "256",
|
|
4644
|
+
"cy": "170.7",
|
|
4645
|
+
"r": "59.4"
|
|
4646
|
+
}
|
|
4647
|
+
}), _c('path', {
|
|
4648
|
+
attrs: {
|
|
4649
|
+
"fill": "#4C1F00",
|
|
4650
|
+
"d": "M369.2 79.9s-27.2-13.8-33.9-16c-6.7-2.2-49.1-13.2-49.1-7 0 10.3-13.5 12-15.5 12s-2-5.3-14.8-5.3-13.7 4.8-15.8 4.8c-2.2 0-14.5-1-14.5-11.5 0-5.2-42.9 4-49.1 7-6.1 3.1-33.9 16-33.9 16s45.8 2.7 53.9 6.2 43.8 16.5 43.8 16.5l-2.8 13.3h37.8l-3.8-13.3s35.1-12.7 43.8-16.5 53.9-6.2 53.9-6.2z"
|
|
4651
|
+
}
|
|
4652
|
+
}), _c('path', {
|
|
4653
|
+
attrs: {
|
|
4654
|
+
"fill": "#57BA17",
|
|
4655
|
+
"d": "M217.7 171.7c0 21.1 17.2 38.3 38.3 38.3 21.1 0 38.3-17.2 38.3-38.3v-11.5h-76.5v11.5z"
|
|
4656
|
+
}
|
|
4657
|
+
}), _c('path', {
|
|
4658
|
+
attrs: {
|
|
4659
|
+
"fill": "#338AF3",
|
|
4660
|
+
"d": "M256 110.5c-21.1 0-38.3 17.2-38.3 38.3v11.5h76.5v-11.5c.1-21.1-17.1-38.3-38.2-38.3z"
|
|
4661
|
+
}
|
|
4662
|
+
})]));
|
|
4663
|
+
}
|
|
4664
|
+
};
|
|
4665
|
+
|
|
4666
|
+
/***/ }),
|
|
4667
|
+
|
|
4668
|
+
/***/ "2266":
|
|
4669
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4670
|
+
|
|
4671
|
+
var anObject = __webpack_require__("825a");
|
|
4672
|
+
var isArrayIteratorMethod = __webpack_require__("e95a");
|
|
4673
|
+
var toLength = __webpack_require__("50c4");
|
|
4674
|
+
var bind = __webpack_require__("0366");
|
|
4675
|
+
var getIteratorMethod = __webpack_require__("35a1");
|
|
4676
|
+
var iteratorClose = __webpack_require__("2a62");
|
|
4677
|
+
|
|
4678
|
+
var Result = function (stopped, result) {
|
|
4679
|
+
this.stopped = stopped;
|
|
4680
|
+
this.result = result;
|
|
4681
|
+
};
|
|
4682
|
+
|
|
4683
|
+
module.exports = function (iterable, unboundFunction, options) {
|
|
4684
|
+
var that = options && options.that;
|
|
4685
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
4686
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
4687
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
4688
|
+
var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);
|
|
4689
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
4690
|
+
|
|
4691
|
+
var stop = function (condition) {
|
|
4692
|
+
if (iterator) iteratorClose(iterator);
|
|
4693
|
+
return new Result(true, condition);
|
|
4694
|
+
};
|
|
4695
|
+
|
|
4696
|
+
var callFn = function (value) {
|
|
4697
|
+
if (AS_ENTRIES) {
|
|
4698
|
+
anObject(value);
|
|
4699
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
4700
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
4701
|
+
};
|
|
4702
|
+
|
|
4703
|
+
if (IS_ITERATOR) {
|
|
4704
|
+
iterator = iterable;
|
|
4705
|
+
} else {
|
|
4706
|
+
iterFn = getIteratorMethod(iterable);
|
|
4707
|
+
if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
|
|
4708
|
+
// optimisation for array iterators
|
|
4709
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
4710
|
+
for (index = 0, length = toLength(iterable.length); length > index; index++) {
|
|
4711
|
+
result = callFn(iterable[index]);
|
|
4712
|
+
if (result && result instanceof Result) return result;
|
|
4713
|
+
} return new Result(false);
|
|
4714
|
+
}
|
|
4715
|
+
iterator = iterFn.call(iterable);
|
|
4716
|
+
}
|
|
4717
|
+
|
|
4718
|
+
next = iterator.next;
|
|
4719
|
+
while (!(step = next.call(iterator)).done) {
|
|
4720
|
+
try {
|
|
4721
|
+
result = callFn(step.value);
|
|
4722
|
+
} catch (error) {
|
|
4723
|
+
iteratorClose(iterator);
|
|
4724
|
+
throw error;
|
|
4725
|
+
}
|
|
4726
|
+
if (typeof result == 'object' && result && result instanceof Result) return result;
|
|
4727
|
+
} return new Result(false);
|
|
4728
|
+
};
|
|
4729
|
+
|
|
4730
|
+
|
|
4731
|
+
/***/ }),
|
|
4732
|
+
|
|
4733
|
+
/***/ "2322":
|
|
4734
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4735
|
+
|
|
4736
|
+
"use strict";
|
|
4737
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f88c");
|
|
4738
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
4739
|
+
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_SignatureEvrotrust_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
|
|
4740
|
+
|
|
4741
|
+
|
|
4742
|
+
/***/ }),
|
|
4743
|
+
|
|
4744
|
+
/***/ "2381":
|
|
4745
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4746
|
+
|
|
4747
|
+
__webpack_require__("99af");
|
|
4748
|
+
|
|
4749
|
+
__webpack_require__("cca6");
|
|
4750
|
+
|
|
4751
|
+
var _objectSpread = __webpack_require__("ded3");
|
|
4752
|
+
|
|
4753
|
+
var _objectWithoutProperties = __webpack_require__("4082");
|
|
4754
|
+
|
|
4755
|
+
module.exports = {
|
|
4756
|
+
functional: true,
|
|
4757
|
+
render: function render(_h, _vm) {
|
|
4758
|
+
var _c = _vm._c,
|
|
4759
|
+
_v = _vm._v,
|
|
4760
|
+
data = _vm.data,
|
|
4761
|
+
_vm$children = _vm.children,
|
|
4762
|
+
children = _vm$children === void 0 ? [] : _vm$children;
|
|
4763
|
+
|
|
4764
|
+
var classNames = data.class,
|
|
4765
|
+
staticClass = data.staticClass,
|
|
4766
|
+
style = data.style,
|
|
4767
|
+
staticStyle = data.staticStyle,
|
|
4768
|
+
_data$attrs = data.attrs,
|
|
4769
|
+
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4770
|
+
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4771
|
+
|
|
4772
|
+
return _c('svg', _objectSpread({
|
|
4773
|
+
class: [classNames, staticClass],
|
|
4774
|
+
style: [style, staticStyle],
|
|
4775
|
+
attrs: Object.assign({
|
|
4776
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
4777
|
+
"viewBox": "0 85.333 512 341.333"
|
|
4778
|
+
}, attrs)
|
|
4779
|
+
}, rest), children.concat([_c('path', {
|
|
4780
|
+
attrs: {
|
|
4781
|
+
"fill": "#FFF",
|
|
4782
|
+
"d": "M0 85.331h512v341.326H0z"
|
|
4783
|
+
}
|
|
4784
|
+
}), _c('path', {
|
|
4785
|
+
attrs: {
|
|
4786
|
+
"fill": "#6DA544",
|
|
4787
|
+
"d": "M330.207 85.331H512v341.337H330.207z"
|
|
4788
|
+
}
|
|
4789
|
+
}), _c('path', {
|
|
4790
|
+
attrs: {
|
|
4791
|
+
"fill": "#FF9811",
|
|
4792
|
+
"d": "M0 85.331h181.793v341.337H0z"
|
|
4793
|
+
}
|
|
4794
|
+
})]));
|
|
4795
|
+
}
|
|
4796
|
+
};
|
|
4797
|
+
|
|
4798
|
+
/***/ }),
|
|
4799
|
+
|
|
4800
|
+
/***/ "23cb":
|
|
4801
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4802
|
+
|
|
4803
|
+
var toInteger = __webpack_require__("a691");
|
|
4804
|
+
|
|
4805
|
+
var max = Math.max;
|
|
4806
|
+
var min = Math.min;
|
|
4807
|
+
|
|
4808
|
+
// Helper for a popular repeating case of the spec:
|
|
4809
|
+
// Let integer be ? ToInteger(index).
|
|
4810
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
4811
|
+
module.exports = function (index, length) {
|
|
4812
|
+
var integer = toInteger(index);
|
|
4813
|
+
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
4814
|
+
};
|
|
4815
|
+
|
|
4816
|
+
|
|
4817
|
+
/***/ }),
|
|
4818
|
+
|
|
4819
|
+
/***/ "23e5":
|
|
4662
4820
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4663
4821
|
|
|
4664
4822
|
__webpack_require__("99af");
|
|
@@ -14472,6 +14630,53 @@ var update = add("e2e994f4", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
14472
14630
|
|
|
14473
14631
|
/***/ }),
|
|
14474
14632
|
|
|
14633
|
+
/***/ "3374":
|
|
14634
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
14635
|
+
|
|
14636
|
+
__webpack_require__("99af");
|
|
14637
|
+
|
|
14638
|
+
__webpack_require__("cca6");
|
|
14639
|
+
|
|
14640
|
+
var _objectSpread = __webpack_require__("ded3");
|
|
14641
|
+
|
|
14642
|
+
var _objectWithoutProperties = __webpack_require__("4082");
|
|
14643
|
+
|
|
14644
|
+
module.exports = {
|
|
14645
|
+
functional: true,
|
|
14646
|
+
render: function render(_h, _vm) {
|
|
14647
|
+
var _c = _vm._c,
|
|
14648
|
+
_v = _vm._v,
|
|
14649
|
+
data = _vm.data,
|
|
14650
|
+
_vm$children = _vm.children,
|
|
14651
|
+
children = _vm$children === void 0 ? [] : _vm$children;
|
|
14652
|
+
|
|
14653
|
+
var classNames = data.class,
|
|
14654
|
+
staticClass = data.staticClass,
|
|
14655
|
+
style = data.style,
|
|
14656
|
+
staticStyle = data.staticStyle,
|
|
14657
|
+
_data$attrs = data.attrs,
|
|
14658
|
+
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
14659
|
+
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
14660
|
+
|
|
14661
|
+
return _c('svg', _objectSpread({
|
|
14662
|
+
class: [classNames, staticClass],
|
|
14663
|
+
style: [style, staticStyle],
|
|
14664
|
+
attrs: Object.assign({
|
|
14665
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
14666
|
+
"viewBox": "0 0 234 62"
|
|
14667
|
+
}, attrs)
|
|
14668
|
+
}, rest), children.concat([_c('path', {
|
|
14669
|
+
attrs: {
|
|
14670
|
+
"d": "M188.917.941h10.045C223.578.941 234 14.317 234 31.051c0 16.733-10.422 30.11-35.038 30.11h-10.045V.94zm-7.513 60.22h-52.597c1.5-18.57 12.62-26.347 26.298-26.347 13.678 0 24.8 7.777 26.299 26.346zm-11.74-46.576c0 8.054-6.519 14.584-14.559 14.584s-14.558-6.53-14.558-14.584C140.547 6.53 147.065 0 155.105 0s14.558 6.53 14.558 14.585zM28.49 48.674l-16.698-24.95V61.15H0V3.12h11.227l17.547 27.407L46.227 3.12h11.038v58.03H45.378V23.724l-16.51 24.95h-.377zM79.533 61.15H67.835V18.902h11.698V61.15zM92.27 28.354h-6.415v-9.451h6.415V7.467h11.604v11.436h9.245v9.451h-9.245v18.524c0 3.308 1.792 4.82 4.811 4.82 1.793 0 3.774-.566 5.095-1.417v10.396c-1.605.851-4.435 1.323-7.548 1.323-8.585 0-13.962-4.253-13.962-13.61V28.354zM80.618 6.947c0 3.837-3.104 6.947-6.934 6.947s-6.934-3.11-6.934-6.947S69.854 0 73.684 0s6.934 3.11 6.934 6.947z",
|
|
14671
|
+
"fill": "#0060E6",
|
|
14672
|
+
"fill-rule": "evenodd"
|
|
14673
|
+
}
|
|
14674
|
+
})]));
|
|
14675
|
+
}
|
|
14676
|
+
};
|
|
14677
|
+
|
|
14678
|
+
/***/ }),
|
|
14679
|
+
|
|
14475
14680
|
/***/ "33d2":
|
|
14476
14681
|
/***/ (function(module) {
|
|
14477
14682
|
|
|
@@ -22141,6 +22346,25 @@ module.exports = [
|
|
|
22141
22346
|
];
|
|
22142
22347
|
|
|
22143
22348
|
|
|
22349
|
+
/***/ }),
|
|
22350
|
+
|
|
22351
|
+
/***/ "78eb":
|
|
22352
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
22353
|
+
|
|
22354
|
+
// Imports
|
|
22355
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
22356
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
22357
|
+
// Module
|
|
22358
|
+
exports.push([module.i, ".MitIdButton_reset-list_3t4rE{margin:0;padding:0;list-style:none;display:block}.MitIdButton_uppercase-sm_Cz9Ws{font-size:12px;text-transform:uppercase;letter-spacing:.03667em}.MitIdButton_icon_OF38X{display:block;width:78px;height:auto}", ""]);
|
|
22359
|
+
// Exports
|
|
22360
|
+
exports.locals = {
|
|
22361
|
+
"reset-list": "MitIdButton_reset-list_3t4rE",
|
|
22362
|
+
"uppercase-sm": "MitIdButton_uppercase-sm_Cz9Ws",
|
|
22363
|
+
"icon": "MitIdButton_icon_OF38X"
|
|
22364
|
+
};
|
|
22365
|
+
module.exports = exports;
|
|
22366
|
+
|
|
22367
|
+
|
|
22144
22368
|
/***/ }),
|
|
22145
22369
|
|
|
22146
22370
|
/***/ "7a0d":
|
|
@@ -24333,6 +24557,98 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
24333
24557
|
};
|
|
24334
24558
|
|
|
24335
24559
|
|
|
24560
|
+
/***/ }),
|
|
24561
|
+
|
|
24562
|
+
/***/ "9152":
|
|
24563
|
+
/***/ (function(module, exports) {
|
|
24564
|
+
|
|
24565
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
24566
|
+
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
24567
|
+
var e, m
|
|
24568
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
24569
|
+
var eMax = (1 << eLen) - 1
|
|
24570
|
+
var eBias = eMax >> 1
|
|
24571
|
+
var nBits = -7
|
|
24572
|
+
var i = isLE ? (nBytes - 1) : 0
|
|
24573
|
+
var d = isLE ? -1 : 1
|
|
24574
|
+
var s = buffer[offset + i]
|
|
24575
|
+
|
|
24576
|
+
i += d
|
|
24577
|
+
|
|
24578
|
+
e = s & ((1 << (-nBits)) - 1)
|
|
24579
|
+
s >>= (-nBits)
|
|
24580
|
+
nBits += eLen
|
|
24581
|
+
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
24582
|
+
|
|
24583
|
+
m = e & ((1 << (-nBits)) - 1)
|
|
24584
|
+
e >>= (-nBits)
|
|
24585
|
+
nBits += mLen
|
|
24586
|
+
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
24587
|
+
|
|
24588
|
+
if (e === 0) {
|
|
24589
|
+
e = 1 - eBias
|
|
24590
|
+
} else if (e === eMax) {
|
|
24591
|
+
return m ? NaN : ((s ? -1 : 1) * Infinity)
|
|
24592
|
+
} else {
|
|
24593
|
+
m = m + Math.pow(2, mLen)
|
|
24594
|
+
e = e - eBias
|
|
24595
|
+
}
|
|
24596
|
+
return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
|
|
24597
|
+
}
|
|
24598
|
+
|
|
24599
|
+
exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
24600
|
+
var e, m, c
|
|
24601
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
24602
|
+
var eMax = (1 << eLen) - 1
|
|
24603
|
+
var eBias = eMax >> 1
|
|
24604
|
+
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
|
|
24605
|
+
var i = isLE ? 0 : (nBytes - 1)
|
|
24606
|
+
var d = isLE ? 1 : -1
|
|
24607
|
+
var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
|
|
24608
|
+
|
|
24609
|
+
value = Math.abs(value)
|
|
24610
|
+
|
|
24611
|
+
if (isNaN(value) || value === Infinity) {
|
|
24612
|
+
m = isNaN(value) ? 1 : 0
|
|
24613
|
+
e = eMax
|
|
24614
|
+
} else {
|
|
24615
|
+
e = Math.floor(Math.log(value) / Math.LN2)
|
|
24616
|
+
if (value * (c = Math.pow(2, -e)) < 1) {
|
|
24617
|
+
e--
|
|
24618
|
+
c *= 2
|
|
24619
|
+
}
|
|
24620
|
+
if (e + eBias >= 1) {
|
|
24621
|
+
value += rt / c
|
|
24622
|
+
} else {
|
|
24623
|
+
value += rt * Math.pow(2, 1 - eBias)
|
|
24624
|
+
}
|
|
24625
|
+
if (value * c >= 2) {
|
|
24626
|
+
e++
|
|
24627
|
+
c /= 2
|
|
24628
|
+
}
|
|
24629
|
+
|
|
24630
|
+
if (e + eBias >= eMax) {
|
|
24631
|
+
m = 0
|
|
24632
|
+
e = eMax
|
|
24633
|
+
} else if (e + eBias >= 1) {
|
|
24634
|
+
m = ((value * c) - 1) * Math.pow(2, mLen)
|
|
24635
|
+
e = e + eBias
|
|
24636
|
+
} else {
|
|
24637
|
+
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
|
|
24638
|
+
e = 0
|
|
24639
|
+
}
|
|
24640
|
+
}
|
|
24641
|
+
|
|
24642
|
+
for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
|
|
24643
|
+
|
|
24644
|
+
e = (e << mLen) | m
|
|
24645
|
+
eLen += mLen
|
|
24646
|
+
for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
|
|
24647
|
+
|
|
24648
|
+
buffer[offset + i - d] |= s * 128
|
|
24649
|
+
}
|
|
24650
|
+
|
|
24651
|
+
|
|
24336
24652
|
/***/ }),
|
|
24337
24653
|
|
|
24338
24654
|
/***/ "921c":
|
|
@@ -28958,6 +29274,21 @@ var update = add("4d4d6e1e", content, true, {"sourceMap":false,"shadowMode":fals
|
|
|
28958
29274
|
|
|
28959
29275
|
/***/ }),
|
|
28960
29276
|
|
|
29277
|
+
/***/ "ac8d":
|
|
29278
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
29279
|
+
|
|
29280
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
29281
|
+
|
|
29282
|
+
// load the styles
|
|
29283
|
+
var content = __webpack_require__("78eb");
|
|
29284
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
29285
|
+
if(content.locals) module.exports = content.locals;
|
|
29286
|
+
// add the styles to the DOM
|
|
29287
|
+
var add = __webpack_require__("499e").default
|
|
29288
|
+
var update = add("27adb708", content, true, {"sourceMap":false,"shadowMode":false});
|
|
29289
|
+
|
|
29290
|
+
/***/ }),
|
|
29291
|
+
|
|
28961
29292
|
/***/ "ac9d":
|
|
28962
29293
|
/***/ (function(module, exports, __webpack_require__) {
|
|
28963
29294
|
|
|
@@ -29834,6 +30165,1804 @@ module.exports = function (name) {
|
|
|
29834
30165
|
};
|
|
29835
30166
|
|
|
29836
30167
|
|
|
30168
|
+
/***/ }),
|
|
30169
|
+
|
|
30170
|
+
/***/ "b639":
|
|
30171
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
30172
|
+
|
|
30173
|
+
"use strict";
|
|
30174
|
+
/* WEBPACK VAR INJECTION */(function(global) {/*!
|
|
30175
|
+
* The buffer module from node.js, for the browser.
|
|
30176
|
+
*
|
|
30177
|
+
* @author Feross Aboukhadijeh <http://feross.org>
|
|
30178
|
+
* @license MIT
|
|
30179
|
+
*/
|
|
30180
|
+
/* eslint-disable no-proto */
|
|
30181
|
+
|
|
30182
|
+
|
|
30183
|
+
|
|
30184
|
+
var base64 = __webpack_require__("1fb5")
|
|
30185
|
+
var ieee754 = __webpack_require__("9152")
|
|
30186
|
+
var isArray = __webpack_require__("e3db")
|
|
30187
|
+
|
|
30188
|
+
exports.Buffer = Buffer
|
|
30189
|
+
exports.SlowBuffer = SlowBuffer
|
|
30190
|
+
exports.INSPECT_MAX_BYTES = 50
|
|
30191
|
+
|
|
30192
|
+
/**
|
|
30193
|
+
* If `Buffer.TYPED_ARRAY_SUPPORT`:
|
|
30194
|
+
* === true Use Uint8Array implementation (fastest)
|
|
30195
|
+
* === false Use Object implementation (most compatible, even IE6)
|
|
30196
|
+
*
|
|
30197
|
+
* Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
|
|
30198
|
+
* Opera 11.6+, iOS 4.2+.
|
|
30199
|
+
*
|
|
30200
|
+
* Due to various browser bugs, sometimes the Object implementation will be used even
|
|
30201
|
+
* when the browser supports typed arrays.
|
|
30202
|
+
*
|
|
30203
|
+
* Note:
|
|
30204
|
+
*
|
|
30205
|
+
* - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
|
|
30206
|
+
* See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
|
|
30207
|
+
*
|
|
30208
|
+
* - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
|
|
30209
|
+
*
|
|
30210
|
+
* - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
|
|
30211
|
+
* incorrect length in some situations.
|
|
30212
|
+
|
|
30213
|
+
* We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
|
|
30214
|
+
* get the Object implementation, which is slower but behaves correctly.
|
|
30215
|
+
*/
|
|
30216
|
+
Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
|
|
30217
|
+
? global.TYPED_ARRAY_SUPPORT
|
|
30218
|
+
: typedArraySupport()
|
|
30219
|
+
|
|
30220
|
+
/*
|
|
30221
|
+
* Export kMaxLength after typed array support is determined.
|
|
30222
|
+
*/
|
|
30223
|
+
exports.kMaxLength = kMaxLength()
|
|
30224
|
+
|
|
30225
|
+
function typedArraySupport () {
|
|
30226
|
+
try {
|
|
30227
|
+
var arr = new Uint8Array(1)
|
|
30228
|
+
arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
|
|
30229
|
+
return arr.foo() === 42 && // typed array instances can be augmented
|
|
30230
|
+
typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
|
|
30231
|
+
arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
|
|
30232
|
+
} catch (e) {
|
|
30233
|
+
return false
|
|
30234
|
+
}
|
|
30235
|
+
}
|
|
30236
|
+
|
|
30237
|
+
function kMaxLength () {
|
|
30238
|
+
return Buffer.TYPED_ARRAY_SUPPORT
|
|
30239
|
+
? 0x7fffffff
|
|
30240
|
+
: 0x3fffffff
|
|
30241
|
+
}
|
|
30242
|
+
|
|
30243
|
+
function createBuffer (that, length) {
|
|
30244
|
+
if (kMaxLength() < length) {
|
|
30245
|
+
throw new RangeError('Invalid typed array length')
|
|
30246
|
+
}
|
|
30247
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30248
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
30249
|
+
that = new Uint8Array(length)
|
|
30250
|
+
that.__proto__ = Buffer.prototype
|
|
30251
|
+
} else {
|
|
30252
|
+
// Fallback: Return an object instance of the Buffer class
|
|
30253
|
+
if (that === null) {
|
|
30254
|
+
that = new Buffer(length)
|
|
30255
|
+
}
|
|
30256
|
+
that.length = length
|
|
30257
|
+
}
|
|
30258
|
+
|
|
30259
|
+
return that
|
|
30260
|
+
}
|
|
30261
|
+
|
|
30262
|
+
/**
|
|
30263
|
+
* The Buffer constructor returns instances of `Uint8Array` that have their
|
|
30264
|
+
* prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
|
|
30265
|
+
* `Uint8Array`, so the returned instances will have all the node `Buffer` methods
|
|
30266
|
+
* and the `Uint8Array` methods. Square bracket notation works as expected -- it
|
|
30267
|
+
* returns a single octet.
|
|
30268
|
+
*
|
|
30269
|
+
* The `Uint8Array` prototype remains unmodified.
|
|
30270
|
+
*/
|
|
30271
|
+
|
|
30272
|
+
function Buffer (arg, encodingOrOffset, length) {
|
|
30273
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
|
|
30274
|
+
return new Buffer(arg, encodingOrOffset, length)
|
|
30275
|
+
}
|
|
30276
|
+
|
|
30277
|
+
// Common case.
|
|
30278
|
+
if (typeof arg === 'number') {
|
|
30279
|
+
if (typeof encodingOrOffset === 'string') {
|
|
30280
|
+
throw new Error(
|
|
30281
|
+
'If encoding is specified then the first argument must be a string'
|
|
30282
|
+
)
|
|
30283
|
+
}
|
|
30284
|
+
return allocUnsafe(this, arg)
|
|
30285
|
+
}
|
|
30286
|
+
return from(this, arg, encodingOrOffset, length)
|
|
30287
|
+
}
|
|
30288
|
+
|
|
30289
|
+
Buffer.poolSize = 8192 // not used by this implementation
|
|
30290
|
+
|
|
30291
|
+
// TODO: Legacy, not needed anymore. Remove in next major version.
|
|
30292
|
+
Buffer._augment = function (arr) {
|
|
30293
|
+
arr.__proto__ = Buffer.prototype
|
|
30294
|
+
return arr
|
|
30295
|
+
}
|
|
30296
|
+
|
|
30297
|
+
function from (that, value, encodingOrOffset, length) {
|
|
30298
|
+
if (typeof value === 'number') {
|
|
30299
|
+
throw new TypeError('"value" argument must not be a number')
|
|
30300
|
+
}
|
|
30301
|
+
|
|
30302
|
+
if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
|
|
30303
|
+
return fromArrayBuffer(that, value, encodingOrOffset, length)
|
|
30304
|
+
}
|
|
30305
|
+
|
|
30306
|
+
if (typeof value === 'string') {
|
|
30307
|
+
return fromString(that, value, encodingOrOffset)
|
|
30308
|
+
}
|
|
30309
|
+
|
|
30310
|
+
return fromObject(that, value)
|
|
30311
|
+
}
|
|
30312
|
+
|
|
30313
|
+
/**
|
|
30314
|
+
* Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
|
|
30315
|
+
* if value is a number.
|
|
30316
|
+
* Buffer.from(str[, encoding])
|
|
30317
|
+
* Buffer.from(array)
|
|
30318
|
+
* Buffer.from(buffer)
|
|
30319
|
+
* Buffer.from(arrayBuffer[, byteOffset[, length]])
|
|
30320
|
+
**/
|
|
30321
|
+
Buffer.from = function (value, encodingOrOffset, length) {
|
|
30322
|
+
return from(null, value, encodingOrOffset, length)
|
|
30323
|
+
}
|
|
30324
|
+
|
|
30325
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30326
|
+
Buffer.prototype.__proto__ = Uint8Array.prototype
|
|
30327
|
+
Buffer.__proto__ = Uint8Array
|
|
30328
|
+
if (typeof Symbol !== 'undefined' && Symbol.species &&
|
|
30329
|
+
Buffer[Symbol.species] === Buffer) {
|
|
30330
|
+
// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
|
|
30331
|
+
Object.defineProperty(Buffer, Symbol.species, {
|
|
30332
|
+
value: null,
|
|
30333
|
+
configurable: true
|
|
30334
|
+
})
|
|
30335
|
+
}
|
|
30336
|
+
}
|
|
30337
|
+
|
|
30338
|
+
function assertSize (size) {
|
|
30339
|
+
if (typeof size !== 'number') {
|
|
30340
|
+
throw new TypeError('"size" argument must be a number')
|
|
30341
|
+
} else if (size < 0) {
|
|
30342
|
+
throw new RangeError('"size" argument must not be negative')
|
|
30343
|
+
}
|
|
30344
|
+
}
|
|
30345
|
+
|
|
30346
|
+
function alloc (that, size, fill, encoding) {
|
|
30347
|
+
assertSize(size)
|
|
30348
|
+
if (size <= 0) {
|
|
30349
|
+
return createBuffer(that, size)
|
|
30350
|
+
}
|
|
30351
|
+
if (fill !== undefined) {
|
|
30352
|
+
// Only pay attention to encoding if it's a string. This
|
|
30353
|
+
// prevents accidentally sending in a number that would
|
|
30354
|
+
// be interpretted as a start offset.
|
|
30355
|
+
return typeof encoding === 'string'
|
|
30356
|
+
? createBuffer(that, size).fill(fill, encoding)
|
|
30357
|
+
: createBuffer(that, size).fill(fill)
|
|
30358
|
+
}
|
|
30359
|
+
return createBuffer(that, size)
|
|
30360
|
+
}
|
|
30361
|
+
|
|
30362
|
+
/**
|
|
30363
|
+
* Creates a new filled Buffer instance.
|
|
30364
|
+
* alloc(size[, fill[, encoding]])
|
|
30365
|
+
**/
|
|
30366
|
+
Buffer.alloc = function (size, fill, encoding) {
|
|
30367
|
+
return alloc(null, size, fill, encoding)
|
|
30368
|
+
}
|
|
30369
|
+
|
|
30370
|
+
function allocUnsafe (that, size) {
|
|
30371
|
+
assertSize(size)
|
|
30372
|
+
that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
|
|
30373
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30374
|
+
for (var i = 0; i < size; ++i) {
|
|
30375
|
+
that[i] = 0
|
|
30376
|
+
}
|
|
30377
|
+
}
|
|
30378
|
+
return that
|
|
30379
|
+
}
|
|
30380
|
+
|
|
30381
|
+
/**
|
|
30382
|
+
* Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
|
|
30383
|
+
* */
|
|
30384
|
+
Buffer.allocUnsafe = function (size) {
|
|
30385
|
+
return allocUnsafe(null, size)
|
|
30386
|
+
}
|
|
30387
|
+
/**
|
|
30388
|
+
* Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
|
|
30389
|
+
*/
|
|
30390
|
+
Buffer.allocUnsafeSlow = function (size) {
|
|
30391
|
+
return allocUnsafe(null, size)
|
|
30392
|
+
}
|
|
30393
|
+
|
|
30394
|
+
function fromString (that, string, encoding) {
|
|
30395
|
+
if (typeof encoding !== 'string' || encoding === '') {
|
|
30396
|
+
encoding = 'utf8'
|
|
30397
|
+
}
|
|
30398
|
+
|
|
30399
|
+
if (!Buffer.isEncoding(encoding)) {
|
|
30400
|
+
throw new TypeError('"encoding" must be a valid string encoding')
|
|
30401
|
+
}
|
|
30402
|
+
|
|
30403
|
+
var length = byteLength(string, encoding) | 0
|
|
30404
|
+
that = createBuffer(that, length)
|
|
30405
|
+
|
|
30406
|
+
var actual = that.write(string, encoding)
|
|
30407
|
+
|
|
30408
|
+
if (actual !== length) {
|
|
30409
|
+
// Writing a hex string, for example, that contains invalid characters will
|
|
30410
|
+
// cause everything after the first invalid character to be ignored. (e.g.
|
|
30411
|
+
// 'abxxcd' will be treated as 'ab')
|
|
30412
|
+
that = that.slice(0, actual)
|
|
30413
|
+
}
|
|
30414
|
+
|
|
30415
|
+
return that
|
|
30416
|
+
}
|
|
30417
|
+
|
|
30418
|
+
function fromArrayLike (that, array) {
|
|
30419
|
+
var length = array.length < 0 ? 0 : checked(array.length) | 0
|
|
30420
|
+
that = createBuffer(that, length)
|
|
30421
|
+
for (var i = 0; i < length; i += 1) {
|
|
30422
|
+
that[i] = array[i] & 255
|
|
30423
|
+
}
|
|
30424
|
+
return that
|
|
30425
|
+
}
|
|
30426
|
+
|
|
30427
|
+
function fromArrayBuffer (that, array, byteOffset, length) {
|
|
30428
|
+
array.byteLength // this throws if `array` is not a valid ArrayBuffer
|
|
30429
|
+
|
|
30430
|
+
if (byteOffset < 0 || array.byteLength < byteOffset) {
|
|
30431
|
+
throw new RangeError('\'offset\' is out of bounds')
|
|
30432
|
+
}
|
|
30433
|
+
|
|
30434
|
+
if (array.byteLength < byteOffset + (length || 0)) {
|
|
30435
|
+
throw new RangeError('\'length\' is out of bounds')
|
|
30436
|
+
}
|
|
30437
|
+
|
|
30438
|
+
if (byteOffset === undefined && length === undefined) {
|
|
30439
|
+
array = new Uint8Array(array)
|
|
30440
|
+
} else if (length === undefined) {
|
|
30441
|
+
array = new Uint8Array(array, byteOffset)
|
|
30442
|
+
} else {
|
|
30443
|
+
array = new Uint8Array(array, byteOffset, length)
|
|
30444
|
+
}
|
|
30445
|
+
|
|
30446
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30447
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
30448
|
+
that = array
|
|
30449
|
+
that.__proto__ = Buffer.prototype
|
|
30450
|
+
} else {
|
|
30451
|
+
// Fallback: Return an object instance of the Buffer class
|
|
30452
|
+
that = fromArrayLike(that, array)
|
|
30453
|
+
}
|
|
30454
|
+
return that
|
|
30455
|
+
}
|
|
30456
|
+
|
|
30457
|
+
function fromObject (that, obj) {
|
|
30458
|
+
if (Buffer.isBuffer(obj)) {
|
|
30459
|
+
var len = checked(obj.length) | 0
|
|
30460
|
+
that = createBuffer(that, len)
|
|
30461
|
+
|
|
30462
|
+
if (that.length === 0) {
|
|
30463
|
+
return that
|
|
30464
|
+
}
|
|
30465
|
+
|
|
30466
|
+
obj.copy(that, 0, 0, len)
|
|
30467
|
+
return that
|
|
30468
|
+
}
|
|
30469
|
+
|
|
30470
|
+
if (obj) {
|
|
30471
|
+
if ((typeof ArrayBuffer !== 'undefined' &&
|
|
30472
|
+
obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
|
|
30473
|
+
if (typeof obj.length !== 'number' || isnan(obj.length)) {
|
|
30474
|
+
return createBuffer(that, 0)
|
|
30475
|
+
}
|
|
30476
|
+
return fromArrayLike(that, obj)
|
|
30477
|
+
}
|
|
30478
|
+
|
|
30479
|
+
if (obj.type === 'Buffer' && isArray(obj.data)) {
|
|
30480
|
+
return fromArrayLike(that, obj.data)
|
|
30481
|
+
}
|
|
30482
|
+
}
|
|
30483
|
+
|
|
30484
|
+
throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
|
|
30485
|
+
}
|
|
30486
|
+
|
|
30487
|
+
function checked (length) {
|
|
30488
|
+
// Note: cannot use `length < kMaxLength()` here because that fails when
|
|
30489
|
+
// length is NaN (which is otherwise coerced to zero.)
|
|
30490
|
+
if (length >= kMaxLength()) {
|
|
30491
|
+
throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
|
|
30492
|
+
'size: 0x' + kMaxLength().toString(16) + ' bytes')
|
|
30493
|
+
}
|
|
30494
|
+
return length | 0
|
|
30495
|
+
}
|
|
30496
|
+
|
|
30497
|
+
function SlowBuffer (length) {
|
|
30498
|
+
if (+length != length) { // eslint-disable-line eqeqeq
|
|
30499
|
+
length = 0
|
|
30500
|
+
}
|
|
30501
|
+
return Buffer.alloc(+length)
|
|
30502
|
+
}
|
|
30503
|
+
|
|
30504
|
+
Buffer.isBuffer = function isBuffer (b) {
|
|
30505
|
+
return !!(b != null && b._isBuffer)
|
|
30506
|
+
}
|
|
30507
|
+
|
|
30508
|
+
Buffer.compare = function compare (a, b) {
|
|
30509
|
+
if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
|
|
30510
|
+
throw new TypeError('Arguments must be Buffers')
|
|
30511
|
+
}
|
|
30512
|
+
|
|
30513
|
+
if (a === b) return 0
|
|
30514
|
+
|
|
30515
|
+
var x = a.length
|
|
30516
|
+
var y = b.length
|
|
30517
|
+
|
|
30518
|
+
for (var i = 0, len = Math.min(x, y); i < len; ++i) {
|
|
30519
|
+
if (a[i] !== b[i]) {
|
|
30520
|
+
x = a[i]
|
|
30521
|
+
y = b[i]
|
|
30522
|
+
break
|
|
30523
|
+
}
|
|
30524
|
+
}
|
|
30525
|
+
|
|
30526
|
+
if (x < y) return -1
|
|
30527
|
+
if (y < x) return 1
|
|
30528
|
+
return 0
|
|
30529
|
+
}
|
|
30530
|
+
|
|
30531
|
+
Buffer.isEncoding = function isEncoding (encoding) {
|
|
30532
|
+
switch (String(encoding).toLowerCase()) {
|
|
30533
|
+
case 'hex':
|
|
30534
|
+
case 'utf8':
|
|
30535
|
+
case 'utf-8':
|
|
30536
|
+
case 'ascii':
|
|
30537
|
+
case 'latin1':
|
|
30538
|
+
case 'binary':
|
|
30539
|
+
case 'base64':
|
|
30540
|
+
case 'ucs2':
|
|
30541
|
+
case 'ucs-2':
|
|
30542
|
+
case 'utf16le':
|
|
30543
|
+
case 'utf-16le':
|
|
30544
|
+
return true
|
|
30545
|
+
default:
|
|
30546
|
+
return false
|
|
30547
|
+
}
|
|
30548
|
+
}
|
|
30549
|
+
|
|
30550
|
+
Buffer.concat = function concat (list, length) {
|
|
30551
|
+
if (!isArray(list)) {
|
|
30552
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
30553
|
+
}
|
|
30554
|
+
|
|
30555
|
+
if (list.length === 0) {
|
|
30556
|
+
return Buffer.alloc(0)
|
|
30557
|
+
}
|
|
30558
|
+
|
|
30559
|
+
var i
|
|
30560
|
+
if (length === undefined) {
|
|
30561
|
+
length = 0
|
|
30562
|
+
for (i = 0; i < list.length; ++i) {
|
|
30563
|
+
length += list[i].length
|
|
30564
|
+
}
|
|
30565
|
+
}
|
|
30566
|
+
|
|
30567
|
+
var buffer = Buffer.allocUnsafe(length)
|
|
30568
|
+
var pos = 0
|
|
30569
|
+
for (i = 0; i < list.length; ++i) {
|
|
30570
|
+
var buf = list[i]
|
|
30571
|
+
if (!Buffer.isBuffer(buf)) {
|
|
30572
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
30573
|
+
}
|
|
30574
|
+
buf.copy(buffer, pos)
|
|
30575
|
+
pos += buf.length
|
|
30576
|
+
}
|
|
30577
|
+
return buffer
|
|
30578
|
+
}
|
|
30579
|
+
|
|
30580
|
+
function byteLength (string, encoding) {
|
|
30581
|
+
if (Buffer.isBuffer(string)) {
|
|
30582
|
+
return string.length
|
|
30583
|
+
}
|
|
30584
|
+
if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
|
|
30585
|
+
(ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
|
|
30586
|
+
return string.byteLength
|
|
30587
|
+
}
|
|
30588
|
+
if (typeof string !== 'string') {
|
|
30589
|
+
string = '' + string
|
|
30590
|
+
}
|
|
30591
|
+
|
|
30592
|
+
var len = string.length
|
|
30593
|
+
if (len === 0) return 0
|
|
30594
|
+
|
|
30595
|
+
// Use a for loop to avoid recursion
|
|
30596
|
+
var loweredCase = false
|
|
30597
|
+
for (;;) {
|
|
30598
|
+
switch (encoding) {
|
|
30599
|
+
case 'ascii':
|
|
30600
|
+
case 'latin1':
|
|
30601
|
+
case 'binary':
|
|
30602
|
+
return len
|
|
30603
|
+
case 'utf8':
|
|
30604
|
+
case 'utf-8':
|
|
30605
|
+
case undefined:
|
|
30606
|
+
return utf8ToBytes(string).length
|
|
30607
|
+
case 'ucs2':
|
|
30608
|
+
case 'ucs-2':
|
|
30609
|
+
case 'utf16le':
|
|
30610
|
+
case 'utf-16le':
|
|
30611
|
+
return len * 2
|
|
30612
|
+
case 'hex':
|
|
30613
|
+
return len >>> 1
|
|
30614
|
+
case 'base64':
|
|
30615
|
+
return base64ToBytes(string).length
|
|
30616
|
+
default:
|
|
30617
|
+
if (loweredCase) return utf8ToBytes(string).length // assume utf8
|
|
30618
|
+
encoding = ('' + encoding).toLowerCase()
|
|
30619
|
+
loweredCase = true
|
|
30620
|
+
}
|
|
30621
|
+
}
|
|
30622
|
+
}
|
|
30623
|
+
Buffer.byteLength = byteLength
|
|
30624
|
+
|
|
30625
|
+
function slowToString (encoding, start, end) {
|
|
30626
|
+
var loweredCase = false
|
|
30627
|
+
|
|
30628
|
+
// No need to verify that "this.length <= MAX_UINT32" since it's a read-only
|
|
30629
|
+
// property of a typed array.
|
|
30630
|
+
|
|
30631
|
+
// This behaves neither like String nor Uint8Array in that we set start/end
|
|
30632
|
+
// to their upper/lower bounds if the value passed is out of range.
|
|
30633
|
+
// undefined is handled specially as per ECMA-262 6th Edition,
|
|
30634
|
+
// Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
|
|
30635
|
+
if (start === undefined || start < 0) {
|
|
30636
|
+
start = 0
|
|
30637
|
+
}
|
|
30638
|
+
// Return early if start > this.length. Done here to prevent potential uint32
|
|
30639
|
+
// coercion fail below.
|
|
30640
|
+
if (start > this.length) {
|
|
30641
|
+
return ''
|
|
30642
|
+
}
|
|
30643
|
+
|
|
30644
|
+
if (end === undefined || end > this.length) {
|
|
30645
|
+
end = this.length
|
|
30646
|
+
}
|
|
30647
|
+
|
|
30648
|
+
if (end <= 0) {
|
|
30649
|
+
return ''
|
|
30650
|
+
}
|
|
30651
|
+
|
|
30652
|
+
// Force coersion to uint32. This will also coerce falsey/NaN values to 0.
|
|
30653
|
+
end >>>= 0
|
|
30654
|
+
start >>>= 0
|
|
30655
|
+
|
|
30656
|
+
if (end <= start) {
|
|
30657
|
+
return ''
|
|
30658
|
+
}
|
|
30659
|
+
|
|
30660
|
+
if (!encoding) encoding = 'utf8'
|
|
30661
|
+
|
|
30662
|
+
while (true) {
|
|
30663
|
+
switch (encoding) {
|
|
30664
|
+
case 'hex':
|
|
30665
|
+
return hexSlice(this, start, end)
|
|
30666
|
+
|
|
30667
|
+
case 'utf8':
|
|
30668
|
+
case 'utf-8':
|
|
30669
|
+
return utf8Slice(this, start, end)
|
|
30670
|
+
|
|
30671
|
+
case 'ascii':
|
|
30672
|
+
return asciiSlice(this, start, end)
|
|
30673
|
+
|
|
30674
|
+
case 'latin1':
|
|
30675
|
+
case 'binary':
|
|
30676
|
+
return latin1Slice(this, start, end)
|
|
30677
|
+
|
|
30678
|
+
case 'base64':
|
|
30679
|
+
return base64Slice(this, start, end)
|
|
30680
|
+
|
|
30681
|
+
case 'ucs2':
|
|
30682
|
+
case 'ucs-2':
|
|
30683
|
+
case 'utf16le':
|
|
30684
|
+
case 'utf-16le':
|
|
30685
|
+
return utf16leSlice(this, start, end)
|
|
30686
|
+
|
|
30687
|
+
default:
|
|
30688
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
30689
|
+
encoding = (encoding + '').toLowerCase()
|
|
30690
|
+
loweredCase = true
|
|
30691
|
+
}
|
|
30692
|
+
}
|
|
30693
|
+
}
|
|
30694
|
+
|
|
30695
|
+
// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
|
|
30696
|
+
// Buffer instances.
|
|
30697
|
+
Buffer.prototype._isBuffer = true
|
|
30698
|
+
|
|
30699
|
+
function swap (b, n, m) {
|
|
30700
|
+
var i = b[n]
|
|
30701
|
+
b[n] = b[m]
|
|
30702
|
+
b[m] = i
|
|
30703
|
+
}
|
|
30704
|
+
|
|
30705
|
+
Buffer.prototype.swap16 = function swap16 () {
|
|
30706
|
+
var len = this.length
|
|
30707
|
+
if (len % 2 !== 0) {
|
|
30708
|
+
throw new RangeError('Buffer size must be a multiple of 16-bits')
|
|
30709
|
+
}
|
|
30710
|
+
for (var i = 0; i < len; i += 2) {
|
|
30711
|
+
swap(this, i, i + 1)
|
|
30712
|
+
}
|
|
30713
|
+
return this
|
|
30714
|
+
}
|
|
30715
|
+
|
|
30716
|
+
Buffer.prototype.swap32 = function swap32 () {
|
|
30717
|
+
var len = this.length
|
|
30718
|
+
if (len % 4 !== 0) {
|
|
30719
|
+
throw new RangeError('Buffer size must be a multiple of 32-bits')
|
|
30720
|
+
}
|
|
30721
|
+
for (var i = 0; i < len; i += 4) {
|
|
30722
|
+
swap(this, i, i + 3)
|
|
30723
|
+
swap(this, i + 1, i + 2)
|
|
30724
|
+
}
|
|
30725
|
+
return this
|
|
30726
|
+
}
|
|
30727
|
+
|
|
30728
|
+
Buffer.prototype.swap64 = function swap64 () {
|
|
30729
|
+
var len = this.length
|
|
30730
|
+
if (len % 8 !== 0) {
|
|
30731
|
+
throw new RangeError('Buffer size must be a multiple of 64-bits')
|
|
30732
|
+
}
|
|
30733
|
+
for (var i = 0; i < len; i += 8) {
|
|
30734
|
+
swap(this, i, i + 7)
|
|
30735
|
+
swap(this, i + 1, i + 6)
|
|
30736
|
+
swap(this, i + 2, i + 5)
|
|
30737
|
+
swap(this, i + 3, i + 4)
|
|
30738
|
+
}
|
|
30739
|
+
return this
|
|
30740
|
+
}
|
|
30741
|
+
|
|
30742
|
+
Buffer.prototype.toString = function toString () {
|
|
30743
|
+
var length = this.length | 0
|
|
30744
|
+
if (length === 0) return ''
|
|
30745
|
+
if (arguments.length === 0) return utf8Slice(this, 0, length)
|
|
30746
|
+
return slowToString.apply(this, arguments)
|
|
30747
|
+
}
|
|
30748
|
+
|
|
30749
|
+
Buffer.prototype.equals = function equals (b) {
|
|
30750
|
+
if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
|
|
30751
|
+
if (this === b) return true
|
|
30752
|
+
return Buffer.compare(this, b) === 0
|
|
30753
|
+
}
|
|
30754
|
+
|
|
30755
|
+
Buffer.prototype.inspect = function inspect () {
|
|
30756
|
+
var str = ''
|
|
30757
|
+
var max = exports.INSPECT_MAX_BYTES
|
|
30758
|
+
if (this.length > 0) {
|
|
30759
|
+
str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
|
|
30760
|
+
if (this.length > max) str += ' ... '
|
|
30761
|
+
}
|
|
30762
|
+
return '<Buffer ' + str + '>'
|
|
30763
|
+
}
|
|
30764
|
+
|
|
30765
|
+
Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
|
|
30766
|
+
if (!Buffer.isBuffer(target)) {
|
|
30767
|
+
throw new TypeError('Argument must be a Buffer')
|
|
30768
|
+
}
|
|
30769
|
+
|
|
30770
|
+
if (start === undefined) {
|
|
30771
|
+
start = 0
|
|
30772
|
+
}
|
|
30773
|
+
if (end === undefined) {
|
|
30774
|
+
end = target ? target.length : 0
|
|
30775
|
+
}
|
|
30776
|
+
if (thisStart === undefined) {
|
|
30777
|
+
thisStart = 0
|
|
30778
|
+
}
|
|
30779
|
+
if (thisEnd === undefined) {
|
|
30780
|
+
thisEnd = this.length
|
|
30781
|
+
}
|
|
30782
|
+
|
|
30783
|
+
if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
|
|
30784
|
+
throw new RangeError('out of range index')
|
|
30785
|
+
}
|
|
30786
|
+
|
|
30787
|
+
if (thisStart >= thisEnd && start >= end) {
|
|
30788
|
+
return 0
|
|
30789
|
+
}
|
|
30790
|
+
if (thisStart >= thisEnd) {
|
|
30791
|
+
return -1
|
|
30792
|
+
}
|
|
30793
|
+
if (start >= end) {
|
|
30794
|
+
return 1
|
|
30795
|
+
}
|
|
30796
|
+
|
|
30797
|
+
start >>>= 0
|
|
30798
|
+
end >>>= 0
|
|
30799
|
+
thisStart >>>= 0
|
|
30800
|
+
thisEnd >>>= 0
|
|
30801
|
+
|
|
30802
|
+
if (this === target) return 0
|
|
30803
|
+
|
|
30804
|
+
var x = thisEnd - thisStart
|
|
30805
|
+
var y = end - start
|
|
30806
|
+
var len = Math.min(x, y)
|
|
30807
|
+
|
|
30808
|
+
var thisCopy = this.slice(thisStart, thisEnd)
|
|
30809
|
+
var targetCopy = target.slice(start, end)
|
|
30810
|
+
|
|
30811
|
+
for (var i = 0; i < len; ++i) {
|
|
30812
|
+
if (thisCopy[i] !== targetCopy[i]) {
|
|
30813
|
+
x = thisCopy[i]
|
|
30814
|
+
y = targetCopy[i]
|
|
30815
|
+
break
|
|
30816
|
+
}
|
|
30817
|
+
}
|
|
30818
|
+
|
|
30819
|
+
if (x < y) return -1
|
|
30820
|
+
if (y < x) return 1
|
|
30821
|
+
return 0
|
|
30822
|
+
}
|
|
30823
|
+
|
|
30824
|
+
// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
|
|
30825
|
+
// OR the last index of `val` in `buffer` at offset <= `byteOffset`.
|
|
30826
|
+
//
|
|
30827
|
+
// Arguments:
|
|
30828
|
+
// - buffer - a Buffer to search
|
|
30829
|
+
// - val - a string, Buffer, or number
|
|
30830
|
+
// - byteOffset - an index into `buffer`; will be clamped to an int32
|
|
30831
|
+
// - encoding - an optional encoding, relevant is val is a string
|
|
30832
|
+
// - dir - true for indexOf, false for lastIndexOf
|
|
30833
|
+
function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
|
|
30834
|
+
// Empty buffer means no match
|
|
30835
|
+
if (buffer.length === 0) return -1
|
|
30836
|
+
|
|
30837
|
+
// Normalize byteOffset
|
|
30838
|
+
if (typeof byteOffset === 'string') {
|
|
30839
|
+
encoding = byteOffset
|
|
30840
|
+
byteOffset = 0
|
|
30841
|
+
} else if (byteOffset > 0x7fffffff) {
|
|
30842
|
+
byteOffset = 0x7fffffff
|
|
30843
|
+
} else if (byteOffset < -0x80000000) {
|
|
30844
|
+
byteOffset = -0x80000000
|
|
30845
|
+
}
|
|
30846
|
+
byteOffset = +byteOffset // Coerce to Number.
|
|
30847
|
+
if (isNaN(byteOffset)) {
|
|
30848
|
+
// byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
|
|
30849
|
+
byteOffset = dir ? 0 : (buffer.length - 1)
|
|
30850
|
+
}
|
|
30851
|
+
|
|
30852
|
+
// Normalize byteOffset: negative offsets start from the end of the buffer
|
|
30853
|
+
if (byteOffset < 0) byteOffset = buffer.length + byteOffset
|
|
30854
|
+
if (byteOffset >= buffer.length) {
|
|
30855
|
+
if (dir) return -1
|
|
30856
|
+
else byteOffset = buffer.length - 1
|
|
30857
|
+
} else if (byteOffset < 0) {
|
|
30858
|
+
if (dir) byteOffset = 0
|
|
30859
|
+
else return -1
|
|
30860
|
+
}
|
|
30861
|
+
|
|
30862
|
+
// Normalize val
|
|
30863
|
+
if (typeof val === 'string') {
|
|
30864
|
+
val = Buffer.from(val, encoding)
|
|
30865
|
+
}
|
|
30866
|
+
|
|
30867
|
+
// Finally, search either indexOf (if dir is true) or lastIndexOf
|
|
30868
|
+
if (Buffer.isBuffer(val)) {
|
|
30869
|
+
// Special case: looking for empty string/buffer always fails
|
|
30870
|
+
if (val.length === 0) {
|
|
30871
|
+
return -1
|
|
30872
|
+
}
|
|
30873
|
+
return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
|
|
30874
|
+
} else if (typeof val === 'number') {
|
|
30875
|
+
val = val & 0xFF // Search for a byte value [0-255]
|
|
30876
|
+
if (Buffer.TYPED_ARRAY_SUPPORT &&
|
|
30877
|
+
typeof Uint8Array.prototype.indexOf === 'function') {
|
|
30878
|
+
if (dir) {
|
|
30879
|
+
return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
|
|
30880
|
+
} else {
|
|
30881
|
+
return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
|
|
30882
|
+
}
|
|
30883
|
+
}
|
|
30884
|
+
return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
|
|
30885
|
+
}
|
|
30886
|
+
|
|
30887
|
+
throw new TypeError('val must be string, number or Buffer')
|
|
30888
|
+
}
|
|
30889
|
+
|
|
30890
|
+
function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
30891
|
+
var indexSize = 1
|
|
30892
|
+
var arrLength = arr.length
|
|
30893
|
+
var valLength = val.length
|
|
30894
|
+
|
|
30895
|
+
if (encoding !== undefined) {
|
|
30896
|
+
encoding = String(encoding).toLowerCase()
|
|
30897
|
+
if (encoding === 'ucs2' || encoding === 'ucs-2' ||
|
|
30898
|
+
encoding === 'utf16le' || encoding === 'utf-16le') {
|
|
30899
|
+
if (arr.length < 2 || val.length < 2) {
|
|
30900
|
+
return -1
|
|
30901
|
+
}
|
|
30902
|
+
indexSize = 2
|
|
30903
|
+
arrLength /= 2
|
|
30904
|
+
valLength /= 2
|
|
30905
|
+
byteOffset /= 2
|
|
30906
|
+
}
|
|
30907
|
+
}
|
|
30908
|
+
|
|
30909
|
+
function read (buf, i) {
|
|
30910
|
+
if (indexSize === 1) {
|
|
30911
|
+
return buf[i]
|
|
30912
|
+
} else {
|
|
30913
|
+
return buf.readUInt16BE(i * indexSize)
|
|
30914
|
+
}
|
|
30915
|
+
}
|
|
30916
|
+
|
|
30917
|
+
var i
|
|
30918
|
+
if (dir) {
|
|
30919
|
+
var foundIndex = -1
|
|
30920
|
+
for (i = byteOffset; i < arrLength; i++) {
|
|
30921
|
+
if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
|
|
30922
|
+
if (foundIndex === -1) foundIndex = i
|
|
30923
|
+
if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
|
|
30924
|
+
} else {
|
|
30925
|
+
if (foundIndex !== -1) i -= i - foundIndex
|
|
30926
|
+
foundIndex = -1
|
|
30927
|
+
}
|
|
30928
|
+
}
|
|
30929
|
+
} else {
|
|
30930
|
+
if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
|
|
30931
|
+
for (i = byteOffset; i >= 0; i--) {
|
|
30932
|
+
var found = true
|
|
30933
|
+
for (var j = 0; j < valLength; j++) {
|
|
30934
|
+
if (read(arr, i + j) !== read(val, j)) {
|
|
30935
|
+
found = false
|
|
30936
|
+
break
|
|
30937
|
+
}
|
|
30938
|
+
}
|
|
30939
|
+
if (found) return i
|
|
30940
|
+
}
|
|
30941
|
+
}
|
|
30942
|
+
|
|
30943
|
+
return -1
|
|
30944
|
+
}
|
|
30945
|
+
|
|
30946
|
+
Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
|
|
30947
|
+
return this.indexOf(val, byteOffset, encoding) !== -1
|
|
30948
|
+
}
|
|
30949
|
+
|
|
30950
|
+
Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
|
|
30951
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
|
|
30952
|
+
}
|
|
30953
|
+
|
|
30954
|
+
Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
|
|
30955
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
|
|
30956
|
+
}
|
|
30957
|
+
|
|
30958
|
+
function hexWrite (buf, string, offset, length) {
|
|
30959
|
+
offset = Number(offset) || 0
|
|
30960
|
+
var remaining = buf.length - offset
|
|
30961
|
+
if (!length) {
|
|
30962
|
+
length = remaining
|
|
30963
|
+
} else {
|
|
30964
|
+
length = Number(length)
|
|
30965
|
+
if (length > remaining) {
|
|
30966
|
+
length = remaining
|
|
30967
|
+
}
|
|
30968
|
+
}
|
|
30969
|
+
|
|
30970
|
+
// must be an even number of digits
|
|
30971
|
+
var strLen = string.length
|
|
30972
|
+
if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
|
|
30973
|
+
|
|
30974
|
+
if (length > strLen / 2) {
|
|
30975
|
+
length = strLen / 2
|
|
30976
|
+
}
|
|
30977
|
+
for (var i = 0; i < length; ++i) {
|
|
30978
|
+
var parsed = parseInt(string.substr(i * 2, 2), 16)
|
|
30979
|
+
if (isNaN(parsed)) return i
|
|
30980
|
+
buf[offset + i] = parsed
|
|
30981
|
+
}
|
|
30982
|
+
return i
|
|
30983
|
+
}
|
|
30984
|
+
|
|
30985
|
+
function utf8Write (buf, string, offset, length) {
|
|
30986
|
+
return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
|
|
30987
|
+
}
|
|
30988
|
+
|
|
30989
|
+
function asciiWrite (buf, string, offset, length) {
|
|
30990
|
+
return blitBuffer(asciiToBytes(string), buf, offset, length)
|
|
30991
|
+
}
|
|
30992
|
+
|
|
30993
|
+
function latin1Write (buf, string, offset, length) {
|
|
30994
|
+
return asciiWrite(buf, string, offset, length)
|
|
30995
|
+
}
|
|
30996
|
+
|
|
30997
|
+
function base64Write (buf, string, offset, length) {
|
|
30998
|
+
return blitBuffer(base64ToBytes(string), buf, offset, length)
|
|
30999
|
+
}
|
|
31000
|
+
|
|
31001
|
+
function ucs2Write (buf, string, offset, length) {
|
|
31002
|
+
return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
|
|
31003
|
+
}
|
|
31004
|
+
|
|
31005
|
+
Buffer.prototype.write = function write (string, offset, length, encoding) {
|
|
31006
|
+
// Buffer#write(string)
|
|
31007
|
+
if (offset === undefined) {
|
|
31008
|
+
encoding = 'utf8'
|
|
31009
|
+
length = this.length
|
|
31010
|
+
offset = 0
|
|
31011
|
+
// Buffer#write(string, encoding)
|
|
31012
|
+
} else if (length === undefined && typeof offset === 'string') {
|
|
31013
|
+
encoding = offset
|
|
31014
|
+
length = this.length
|
|
31015
|
+
offset = 0
|
|
31016
|
+
// Buffer#write(string, offset[, length][, encoding])
|
|
31017
|
+
} else if (isFinite(offset)) {
|
|
31018
|
+
offset = offset | 0
|
|
31019
|
+
if (isFinite(length)) {
|
|
31020
|
+
length = length | 0
|
|
31021
|
+
if (encoding === undefined) encoding = 'utf8'
|
|
31022
|
+
} else {
|
|
31023
|
+
encoding = length
|
|
31024
|
+
length = undefined
|
|
31025
|
+
}
|
|
31026
|
+
// legacy write(string, encoding, offset, length) - remove in v0.13
|
|
31027
|
+
} else {
|
|
31028
|
+
throw new Error(
|
|
31029
|
+
'Buffer.write(string, encoding, offset[, length]) is no longer supported'
|
|
31030
|
+
)
|
|
31031
|
+
}
|
|
31032
|
+
|
|
31033
|
+
var remaining = this.length - offset
|
|
31034
|
+
if (length === undefined || length > remaining) length = remaining
|
|
31035
|
+
|
|
31036
|
+
if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
|
|
31037
|
+
throw new RangeError('Attempt to write outside buffer bounds')
|
|
31038
|
+
}
|
|
31039
|
+
|
|
31040
|
+
if (!encoding) encoding = 'utf8'
|
|
31041
|
+
|
|
31042
|
+
var loweredCase = false
|
|
31043
|
+
for (;;) {
|
|
31044
|
+
switch (encoding) {
|
|
31045
|
+
case 'hex':
|
|
31046
|
+
return hexWrite(this, string, offset, length)
|
|
31047
|
+
|
|
31048
|
+
case 'utf8':
|
|
31049
|
+
case 'utf-8':
|
|
31050
|
+
return utf8Write(this, string, offset, length)
|
|
31051
|
+
|
|
31052
|
+
case 'ascii':
|
|
31053
|
+
return asciiWrite(this, string, offset, length)
|
|
31054
|
+
|
|
31055
|
+
case 'latin1':
|
|
31056
|
+
case 'binary':
|
|
31057
|
+
return latin1Write(this, string, offset, length)
|
|
31058
|
+
|
|
31059
|
+
case 'base64':
|
|
31060
|
+
// Warning: maxLength not taken into account in base64Write
|
|
31061
|
+
return base64Write(this, string, offset, length)
|
|
31062
|
+
|
|
31063
|
+
case 'ucs2':
|
|
31064
|
+
case 'ucs-2':
|
|
31065
|
+
case 'utf16le':
|
|
31066
|
+
case 'utf-16le':
|
|
31067
|
+
return ucs2Write(this, string, offset, length)
|
|
31068
|
+
|
|
31069
|
+
default:
|
|
31070
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
31071
|
+
encoding = ('' + encoding).toLowerCase()
|
|
31072
|
+
loweredCase = true
|
|
31073
|
+
}
|
|
31074
|
+
}
|
|
31075
|
+
}
|
|
31076
|
+
|
|
31077
|
+
Buffer.prototype.toJSON = function toJSON () {
|
|
31078
|
+
return {
|
|
31079
|
+
type: 'Buffer',
|
|
31080
|
+
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
31081
|
+
}
|
|
31082
|
+
}
|
|
31083
|
+
|
|
31084
|
+
function base64Slice (buf, start, end) {
|
|
31085
|
+
if (start === 0 && end === buf.length) {
|
|
31086
|
+
return base64.fromByteArray(buf)
|
|
31087
|
+
} else {
|
|
31088
|
+
return base64.fromByteArray(buf.slice(start, end))
|
|
31089
|
+
}
|
|
31090
|
+
}
|
|
31091
|
+
|
|
31092
|
+
function utf8Slice (buf, start, end) {
|
|
31093
|
+
end = Math.min(buf.length, end)
|
|
31094
|
+
var res = []
|
|
31095
|
+
|
|
31096
|
+
var i = start
|
|
31097
|
+
while (i < end) {
|
|
31098
|
+
var firstByte = buf[i]
|
|
31099
|
+
var codePoint = null
|
|
31100
|
+
var bytesPerSequence = (firstByte > 0xEF) ? 4
|
|
31101
|
+
: (firstByte > 0xDF) ? 3
|
|
31102
|
+
: (firstByte > 0xBF) ? 2
|
|
31103
|
+
: 1
|
|
31104
|
+
|
|
31105
|
+
if (i + bytesPerSequence <= end) {
|
|
31106
|
+
var secondByte, thirdByte, fourthByte, tempCodePoint
|
|
31107
|
+
|
|
31108
|
+
switch (bytesPerSequence) {
|
|
31109
|
+
case 1:
|
|
31110
|
+
if (firstByte < 0x80) {
|
|
31111
|
+
codePoint = firstByte
|
|
31112
|
+
}
|
|
31113
|
+
break
|
|
31114
|
+
case 2:
|
|
31115
|
+
secondByte = buf[i + 1]
|
|
31116
|
+
if ((secondByte & 0xC0) === 0x80) {
|
|
31117
|
+
tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
|
|
31118
|
+
if (tempCodePoint > 0x7F) {
|
|
31119
|
+
codePoint = tempCodePoint
|
|
31120
|
+
}
|
|
31121
|
+
}
|
|
31122
|
+
break
|
|
31123
|
+
case 3:
|
|
31124
|
+
secondByte = buf[i + 1]
|
|
31125
|
+
thirdByte = buf[i + 2]
|
|
31126
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
|
|
31127
|
+
tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
|
|
31128
|
+
if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
|
|
31129
|
+
codePoint = tempCodePoint
|
|
31130
|
+
}
|
|
31131
|
+
}
|
|
31132
|
+
break
|
|
31133
|
+
case 4:
|
|
31134
|
+
secondByte = buf[i + 1]
|
|
31135
|
+
thirdByte = buf[i + 2]
|
|
31136
|
+
fourthByte = buf[i + 3]
|
|
31137
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
|
|
31138
|
+
tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
|
|
31139
|
+
if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
|
|
31140
|
+
codePoint = tempCodePoint
|
|
31141
|
+
}
|
|
31142
|
+
}
|
|
31143
|
+
}
|
|
31144
|
+
}
|
|
31145
|
+
|
|
31146
|
+
if (codePoint === null) {
|
|
31147
|
+
// we did not generate a valid codePoint so insert a
|
|
31148
|
+
// replacement char (U+FFFD) and advance only 1 byte
|
|
31149
|
+
codePoint = 0xFFFD
|
|
31150
|
+
bytesPerSequence = 1
|
|
31151
|
+
} else if (codePoint > 0xFFFF) {
|
|
31152
|
+
// encode to utf16 (surrogate pair dance)
|
|
31153
|
+
codePoint -= 0x10000
|
|
31154
|
+
res.push(codePoint >>> 10 & 0x3FF | 0xD800)
|
|
31155
|
+
codePoint = 0xDC00 | codePoint & 0x3FF
|
|
31156
|
+
}
|
|
31157
|
+
|
|
31158
|
+
res.push(codePoint)
|
|
31159
|
+
i += bytesPerSequence
|
|
31160
|
+
}
|
|
31161
|
+
|
|
31162
|
+
return decodeCodePointsArray(res)
|
|
31163
|
+
}
|
|
31164
|
+
|
|
31165
|
+
// Based on http://stackoverflow.com/a/22747272/680742, the browser with
|
|
31166
|
+
// the lowest limit is Chrome, with 0x10000 args.
|
|
31167
|
+
// We go 1 magnitude less, for safety
|
|
31168
|
+
var MAX_ARGUMENTS_LENGTH = 0x1000
|
|
31169
|
+
|
|
31170
|
+
function decodeCodePointsArray (codePoints) {
|
|
31171
|
+
var len = codePoints.length
|
|
31172
|
+
if (len <= MAX_ARGUMENTS_LENGTH) {
|
|
31173
|
+
return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
|
|
31174
|
+
}
|
|
31175
|
+
|
|
31176
|
+
// Decode in chunks to avoid "call stack size exceeded".
|
|
31177
|
+
var res = ''
|
|
31178
|
+
var i = 0
|
|
31179
|
+
while (i < len) {
|
|
31180
|
+
res += String.fromCharCode.apply(
|
|
31181
|
+
String,
|
|
31182
|
+
codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
|
|
31183
|
+
)
|
|
31184
|
+
}
|
|
31185
|
+
return res
|
|
31186
|
+
}
|
|
31187
|
+
|
|
31188
|
+
function asciiSlice (buf, start, end) {
|
|
31189
|
+
var ret = ''
|
|
31190
|
+
end = Math.min(buf.length, end)
|
|
31191
|
+
|
|
31192
|
+
for (var i = start; i < end; ++i) {
|
|
31193
|
+
ret += String.fromCharCode(buf[i] & 0x7F)
|
|
31194
|
+
}
|
|
31195
|
+
return ret
|
|
31196
|
+
}
|
|
31197
|
+
|
|
31198
|
+
function latin1Slice (buf, start, end) {
|
|
31199
|
+
var ret = ''
|
|
31200
|
+
end = Math.min(buf.length, end)
|
|
31201
|
+
|
|
31202
|
+
for (var i = start; i < end; ++i) {
|
|
31203
|
+
ret += String.fromCharCode(buf[i])
|
|
31204
|
+
}
|
|
31205
|
+
return ret
|
|
31206
|
+
}
|
|
31207
|
+
|
|
31208
|
+
function hexSlice (buf, start, end) {
|
|
31209
|
+
var len = buf.length
|
|
31210
|
+
|
|
31211
|
+
if (!start || start < 0) start = 0
|
|
31212
|
+
if (!end || end < 0 || end > len) end = len
|
|
31213
|
+
|
|
31214
|
+
var out = ''
|
|
31215
|
+
for (var i = start; i < end; ++i) {
|
|
31216
|
+
out += toHex(buf[i])
|
|
31217
|
+
}
|
|
31218
|
+
return out
|
|
31219
|
+
}
|
|
31220
|
+
|
|
31221
|
+
function utf16leSlice (buf, start, end) {
|
|
31222
|
+
var bytes = buf.slice(start, end)
|
|
31223
|
+
var res = ''
|
|
31224
|
+
for (var i = 0; i < bytes.length; i += 2) {
|
|
31225
|
+
res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
|
|
31226
|
+
}
|
|
31227
|
+
return res
|
|
31228
|
+
}
|
|
31229
|
+
|
|
31230
|
+
Buffer.prototype.slice = function slice (start, end) {
|
|
31231
|
+
var len = this.length
|
|
31232
|
+
start = ~~start
|
|
31233
|
+
end = end === undefined ? len : ~~end
|
|
31234
|
+
|
|
31235
|
+
if (start < 0) {
|
|
31236
|
+
start += len
|
|
31237
|
+
if (start < 0) start = 0
|
|
31238
|
+
} else if (start > len) {
|
|
31239
|
+
start = len
|
|
31240
|
+
}
|
|
31241
|
+
|
|
31242
|
+
if (end < 0) {
|
|
31243
|
+
end += len
|
|
31244
|
+
if (end < 0) end = 0
|
|
31245
|
+
} else if (end > len) {
|
|
31246
|
+
end = len
|
|
31247
|
+
}
|
|
31248
|
+
|
|
31249
|
+
if (end < start) end = start
|
|
31250
|
+
|
|
31251
|
+
var newBuf
|
|
31252
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31253
|
+
newBuf = this.subarray(start, end)
|
|
31254
|
+
newBuf.__proto__ = Buffer.prototype
|
|
31255
|
+
} else {
|
|
31256
|
+
var sliceLen = end - start
|
|
31257
|
+
newBuf = new Buffer(sliceLen, undefined)
|
|
31258
|
+
for (var i = 0; i < sliceLen; ++i) {
|
|
31259
|
+
newBuf[i] = this[i + start]
|
|
31260
|
+
}
|
|
31261
|
+
}
|
|
31262
|
+
|
|
31263
|
+
return newBuf
|
|
31264
|
+
}
|
|
31265
|
+
|
|
31266
|
+
/*
|
|
31267
|
+
* Need to make sure that buffer isn't trying to write out of bounds.
|
|
31268
|
+
*/
|
|
31269
|
+
function checkOffset (offset, ext, length) {
|
|
31270
|
+
if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
|
|
31271
|
+
if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
|
|
31272
|
+
}
|
|
31273
|
+
|
|
31274
|
+
Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
|
|
31275
|
+
offset = offset | 0
|
|
31276
|
+
byteLength = byteLength | 0
|
|
31277
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31278
|
+
|
|
31279
|
+
var val = this[offset]
|
|
31280
|
+
var mul = 1
|
|
31281
|
+
var i = 0
|
|
31282
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31283
|
+
val += this[offset + i] * mul
|
|
31284
|
+
}
|
|
31285
|
+
|
|
31286
|
+
return val
|
|
31287
|
+
}
|
|
31288
|
+
|
|
31289
|
+
Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
|
|
31290
|
+
offset = offset | 0
|
|
31291
|
+
byteLength = byteLength | 0
|
|
31292
|
+
if (!noAssert) {
|
|
31293
|
+
checkOffset(offset, byteLength, this.length)
|
|
31294
|
+
}
|
|
31295
|
+
|
|
31296
|
+
var val = this[offset + --byteLength]
|
|
31297
|
+
var mul = 1
|
|
31298
|
+
while (byteLength > 0 && (mul *= 0x100)) {
|
|
31299
|
+
val += this[offset + --byteLength] * mul
|
|
31300
|
+
}
|
|
31301
|
+
|
|
31302
|
+
return val
|
|
31303
|
+
}
|
|
31304
|
+
|
|
31305
|
+
Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
|
|
31306
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
31307
|
+
return this[offset]
|
|
31308
|
+
}
|
|
31309
|
+
|
|
31310
|
+
Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
|
|
31311
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31312
|
+
return this[offset] | (this[offset + 1] << 8)
|
|
31313
|
+
}
|
|
31314
|
+
|
|
31315
|
+
Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
|
|
31316
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31317
|
+
return (this[offset] << 8) | this[offset + 1]
|
|
31318
|
+
}
|
|
31319
|
+
|
|
31320
|
+
Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
|
|
31321
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31322
|
+
|
|
31323
|
+
return ((this[offset]) |
|
|
31324
|
+
(this[offset + 1] << 8) |
|
|
31325
|
+
(this[offset + 2] << 16)) +
|
|
31326
|
+
(this[offset + 3] * 0x1000000)
|
|
31327
|
+
}
|
|
31328
|
+
|
|
31329
|
+
Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
|
|
31330
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31331
|
+
|
|
31332
|
+
return (this[offset] * 0x1000000) +
|
|
31333
|
+
((this[offset + 1] << 16) |
|
|
31334
|
+
(this[offset + 2] << 8) |
|
|
31335
|
+
this[offset + 3])
|
|
31336
|
+
}
|
|
31337
|
+
|
|
31338
|
+
Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
|
|
31339
|
+
offset = offset | 0
|
|
31340
|
+
byteLength = byteLength | 0
|
|
31341
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31342
|
+
|
|
31343
|
+
var val = this[offset]
|
|
31344
|
+
var mul = 1
|
|
31345
|
+
var i = 0
|
|
31346
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31347
|
+
val += this[offset + i] * mul
|
|
31348
|
+
}
|
|
31349
|
+
mul *= 0x80
|
|
31350
|
+
|
|
31351
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
31352
|
+
|
|
31353
|
+
return val
|
|
31354
|
+
}
|
|
31355
|
+
|
|
31356
|
+
Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
|
|
31357
|
+
offset = offset | 0
|
|
31358
|
+
byteLength = byteLength | 0
|
|
31359
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31360
|
+
|
|
31361
|
+
var i = byteLength
|
|
31362
|
+
var mul = 1
|
|
31363
|
+
var val = this[offset + --i]
|
|
31364
|
+
while (i > 0 && (mul *= 0x100)) {
|
|
31365
|
+
val += this[offset + --i] * mul
|
|
31366
|
+
}
|
|
31367
|
+
mul *= 0x80
|
|
31368
|
+
|
|
31369
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
31370
|
+
|
|
31371
|
+
return val
|
|
31372
|
+
}
|
|
31373
|
+
|
|
31374
|
+
Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
|
|
31375
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
31376
|
+
if (!(this[offset] & 0x80)) return (this[offset])
|
|
31377
|
+
return ((0xff - this[offset] + 1) * -1)
|
|
31378
|
+
}
|
|
31379
|
+
|
|
31380
|
+
Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
|
|
31381
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31382
|
+
var val = this[offset] | (this[offset + 1] << 8)
|
|
31383
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
31384
|
+
}
|
|
31385
|
+
|
|
31386
|
+
Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
|
|
31387
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31388
|
+
var val = this[offset + 1] | (this[offset] << 8)
|
|
31389
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
31390
|
+
}
|
|
31391
|
+
|
|
31392
|
+
Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
|
|
31393
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31394
|
+
|
|
31395
|
+
return (this[offset]) |
|
|
31396
|
+
(this[offset + 1] << 8) |
|
|
31397
|
+
(this[offset + 2] << 16) |
|
|
31398
|
+
(this[offset + 3] << 24)
|
|
31399
|
+
}
|
|
31400
|
+
|
|
31401
|
+
Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
|
|
31402
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31403
|
+
|
|
31404
|
+
return (this[offset] << 24) |
|
|
31405
|
+
(this[offset + 1] << 16) |
|
|
31406
|
+
(this[offset + 2] << 8) |
|
|
31407
|
+
(this[offset + 3])
|
|
31408
|
+
}
|
|
31409
|
+
|
|
31410
|
+
Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
|
|
31411
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31412
|
+
return ieee754.read(this, offset, true, 23, 4)
|
|
31413
|
+
}
|
|
31414
|
+
|
|
31415
|
+
Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
|
|
31416
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31417
|
+
return ieee754.read(this, offset, false, 23, 4)
|
|
31418
|
+
}
|
|
31419
|
+
|
|
31420
|
+
Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
|
|
31421
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
31422
|
+
return ieee754.read(this, offset, true, 52, 8)
|
|
31423
|
+
}
|
|
31424
|
+
|
|
31425
|
+
Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
|
|
31426
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
31427
|
+
return ieee754.read(this, offset, false, 52, 8)
|
|
31428
|
+
}
|
|
31429
|
+
|
|
31430
|
+
function checkInt (buf, value, offset, ext, max, min) {
|
|
31431
|
+
if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
|
|
31432
|
+
if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
|
|
31433
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
31434
|
+
}
|
|
31435
|
+
|
|
31436
|
+
Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
|
|
31437
|
+
value = +value
|
|
31438
|
+
offset = offset | 0
|
|
31439
|
+
byteLength = byteLength | 0
|
|
31440
|
+
if (!noAssert) {
|
|
31441
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
31442
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
31443
|
+
}
|
|
31444
|
+
|
|
31445
|
+
var mul = 1
|
|
31446
|
+
var i = 0
|
|
31447
|
+
this[offset] = value & 0xFF
|
|
31448
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31449
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
31450
|
+
}
|
|
31451
|
+
|
|
31452
|
+
return offset + byteLength
|
|
31453
|
+
}
|
|
31454
|
+
|
|
31455
|
+
Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
|
|
31456
|
+
value = +value
|
|
31457
|
+
offset = offset | 0
|
|
31458
|
+
byteLength = byteLength | 0
|
|
31459
|
+
if (!noAssert) {
|
|
31460
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
31461
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
31462
|
+
}
|
|
31463
|
+
|
|
31464
|
+
var i = byteLength - 1
|
|
31465
|
+
var mul = 1
|
|
31466
|
+
this[offset + i] = value & 0xFF
|
|
31467
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
31468
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
31469
|
+
}
|
|
31470
|
+
|
|
31471
|
+
return offset + byteLength
|
|
31472
|
+
}
|
|
31473
|
+
|
|
31474
|
+
Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
|
|
31475
|
+
value = +value
|
|
31476
|
+
offset = offset | 0
|
|
31477
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
|
|
31478
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
31479
|
+
this[offset] = (value & 0xff)
|
|
31480
|
+
return offset + 1
|
|
31481
|
+
}
|
|
31482
|
+
|
|
31483
|
+
function objectWriteUInt16 (buf, value, offset, littleEndian) {
|
|
31484
|
+
if (value < 0) value = 0xffff + value + 1
|
|
31485
|
+
for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
|
|
31486
|
+
buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
|
|
31487
|
+
(littleEndian ? i : 1 - i) * 8
|
|
31488
|
+
}
|
|
31489
|
+
}
|
|
31490
|
+
|
|
31491
|
+
Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
|
|
31492
|
+
value = +value
|
|
31493
|
+
offset = offset | 0
|
|
31494
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
31495
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31496
|
+
this[offset] = (value & 0xff)
|
|
31497
|
+
this[offset + 1] = (value >>> 8)
|
|
31498
|
+
} else {
|
|
31499
|
+
objectWriteUInt16(this, value, offset, true)
|
|
31500
|
+
}
|
|
31501
|
+
return offset + 2
|
|
31502
|
+
}
|
|
31503
|
+
|
|
31504
|
+
Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
|
|
31505
|
+
value = +value
|
|
31506
|
+
offset = offset | 0
|
|
31507
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
31508
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31509
|
+
this[offset] = (value >>> 8)
|
|
31510
|
+
this[offset + 1] = (value & 0xff)
|
|
31511
|
+
} else {
|
|
31512
|
+
objectWriteUInt16(this, value, offset, false)
|
|
31513
|
+
}
|
|
31514
|
+
return offset + 2
|
|
31515
|
+
}
|
|
31516
|
+
|
|
31517
|
+
function objectWriteUInt32 (buf, value, offset, littleEndian) {
|
|
31518
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
31519
|
+
for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
|
|
31520
|
+
buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
|
|
31521
|
+
}
|
|
31522
|
+
}
|
|
31523
|
+
|
|
31524
|
+
Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
|
|
31525
|
+
value = +value
|
|
31526
|
+
offset = offset | 0
|
|
31527
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
31528
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31529
|
+
this[offset + 3] = (value >>> 24)
|
|
31530
|
+
this[offset + 2] = (value >>> 16)
|
|
31531
|
+
this[offset + 1] = (value >>> 8)
|
|
31532
|
+
this[offset] = (value & 0xff)
|
|
31533
|
+
} else {
|
|
31534
|
+
objectWriteUInt32(this, value, offset, true)
|
|
31535
|
+
}
|
|
31536
|
+
return offset + 4
|
|
31537
|
+
}
|
|
31538
|
+
|
|
31539
|
+
Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
|
|
31540
|
+
value = +value
|
|
31541
|
+
offset = offset | 0
|
|
31542
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
31543
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31544
|
+
this[offset] = (value >>> 24)
|
|
31545
|
+
this[offset + 1] = (value >>> 16)
|
|
31546
|
+
this[offset + 2] = (value >>> 8)
|
|
31547
|
+
this[offset + 3] = (value & 0xff)
|
|
31548
|
+
} else {
|
|
31549
|
+
objectWriteUInt32(this, value, offset, false)
|
|
31550
|
+
}
|
|
31551
|
+
return offset + 4
|
|
31552
|
+
}
|
|
31553
|
+
|
|
31554
|
+
Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
|
|
31555
|
+
value = +value
|
|
31556
|
+
offset = offset | 0
|
|
31557
|
+
if (!noAssert) {
|
|
31558
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
31559
|
+
|
|
31560
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
31561
|
+
}
|
|
31562
|
+
|
|
31563
|
+
var i = 0
|
|
31564
|
+
var mul = 1
|
|
31565
|
+
var sub = 0
|
|
31566
|
+
this[offset] = value & 0xFF
|
|
31567
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31568
|
+
if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
|
|
31569
|
+
sub = 1
|
|
31570
|
+
}
|
|
31571
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
31572
|
+
}
|
|
31573
|
+
|
|
31574
|
+
return offset + byteLength
|
|
31575
|
+
}
|
|
31576
|
+
|
|
31577
|
+
Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
|
|
31578
|
+
value = +value
|
|
31579
|
+
offset = offset | 0
|
|
31580
|
+
if (!noAssert) {
|
|
31581
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
31582
|
+
|
|
31583
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
31584
|
+
}
|
|
31585
|
+
|
|
31586
|
+
var i = byteLength - 1
|
|
31587
|
+
var mul = 1
|
|
31588
|
+
var sub = 0
|
|
31589
|
+
this[offset + i] = value & 0xFF
|
|
31590
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
31591
|
+
if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
|
|
31592
|
+
sub = 1
|
|
31593
|
+
}
|
|
31594
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
31595
|
+
}
|
|
31596
|
+
|
|
31597
|
+
return offset + byteLength
|
|
31598
|
+
}
|
|
31599
|
+
|
|
31600
|
+
Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
31601
|
+
value = +value
|
|
31602
|
+
offset = offset | 0
|
|
31603
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
|
|
31604
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
31605
|
+
if (value < 0) value = 0xff + value + 1
|
|
31606
|
+
this[offset] = (value & 0xff)
|
|
31607
|
+
return offset + 1
|
|
31608
|
+
}
|
|
31609
|
+
|
|
31610
|
+
Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
|
|
31611
|
+
value = +value
|
|
31612
|
+
offset = offset | 0
|
|
31613
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
31614
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31615
|
+
this[offset] = (value & 0xff)
|
|
31616
|
+
this[offset + 1] = (value >>> 8)
|
|
31617
|
+
} else {
|
|
31618
|
+
objectWriteUInt16(this, value, offset, true)
|
|
31619
|
+
}
|
|
31620
|
+
return offset + 2
|
|
31621
|
+
}
|
|
31622
|
+
|
|
31623
|
+
Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
|
|
31624
|
+
value = +value
|
|
31625
|
+
offset = offset | 0
|
|
31626
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
31627
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31628
|
+
this[offset] = (value >>> 8)
|
|
31629
|
+
this[offset + 1] = (value & 0xff)
|
|
31630
|
+
} else {
|
|
31631
|
+
objectWriteUInt16(this, value, offset, false)
|
|
31632
|
+
}
|
|
31633
|
+
return offset + 2
|
|
31634
|
+
}
|
|
31635
|
+
|
|
31636
|
+
Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
|
|
31637
|
+
value = +value
|
|
31638
|
+
offset = offset | 0
|
|
31639
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
31640
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31641
|
+
this[offset] = (value & 0xff)
|
|
31642
|
+
this[offset + 1] = (value >>> 8)
|
|
31643
|
+
this[offset + 2] = (value >>> 16)
|
|
31644
|
+
this[offset + 3] = (value >>> 24)
|
|
31645
|
+
} else {
|
|
31646
|
+
objectWriteUInt32(this, value, offset, true)
|
|
31647
|
+
}
|
|
31648
|
+
return offset + 4
|
|
31649
|
+
}
|
|
31650
|
+
|
|
31651
|
+
Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
|
|
31652
|
+
value = +value
|
|
31653
|
+
offset = offset | 0
|
|
31654
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
31655
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
31656
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31657
|
+
this[offset] = (value >>> 24)
|
|
31658
|
+
this[offset + 1] = (value >>> 16)
|
|
31659
|
+
this[offset + 2] = (value >>> 8)
|
|
31660
|
+
this[offset + 3] = (value & 0xff)
|
|
31661
|
+
} else {
|
|
31662
|
+
objectWriteUInt32(this, value, offset, false)
|
|
31663
|
+
}
|
|
31664
|
+
return offset + 4
|
|
31665
|
+
}
|
|
31666
|
+
|
|
31667
|
+
function checkIEEE754 (buf, value, offset, ext, max, min) {
|
|
31668
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
31669
|
+
if (offset < 0) throw new RangeError('Index out of range')
|
|
31670
|
+
}
|
|
31671
|
+
|
|
31672
|
+
function writeFloat (buf, value, offset, littleEndian, noAssert) {
|
|
31673
|
+
if (!noAssert) {
|
|
31674
|
+
checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
|
|
31675
|
+
}
|
|
31676
|
+
ieee754.write(buf, value, offset, littleEndian, 23, 4)
|
|
31677
|
+
return offset + 4
|
|
31678
|
+
}
|
|
31679
|
+
|
|
31680
|
+
Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
|
|
31681
|
+
return writeFloat(this, value, offset, true, noAssert)
|
|
31682
|
+
}
|
|
31683
|
+
|
|
31684
|
+
Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
|
|
31685
|
+
return writeFloat(this, value, offset, false, noAssert)
|
|
31686
|
+
}
|
|
31687
|
+
|
|
31688
|
+
function writeDouble (buf, value, offset, littleEndian, noAssert) {
|
|
31689
|
+
if (!noAssert) {
|
|
31690
|
+
checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
|
|
31691
|
+
}
|
|
31692
|
+
ieee754.write(buf, value, offset, littleEndian, 52, 8)
|
|
31693
|
+
return offset + 8
|
|
31694
|
+
}
|
|
31695
|
+
|
|
31696
|
+
Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
|
|
31697
|
+
return writeDouble(this, value, offset, true, noAssert)
|
|
31698
|
+
}
|
|
31699
|
+
|
|
31700
|
+
Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
|
|
31701
|
+
return writeDouble(this, value, offset, false, noAssert)
|
|
31702
|
+
}
|
|
31703
|
+
|
|
31704
|
+
// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
|
|
31705
|
+
Buffer.prototype.copy = function copy (target, targetStart, start, end) {
|
|
31706
|
+
if (!start) start = 0
|
|
31707
|
+
if (!end && end !== 0) end = this.length
|
|
31708
|
+
if (targetStart >= target.length) targetStart = target.length
|
|
31709
|
+
if (!targetStart) targetStart = 0
|
|
31710
|
+
if (end > 0 && end < start) end = start
|
|
31711
|
+
|
|
31712
|
+
// Copy 0 bytes; we're done
|
|
31713
|
+
if (end === start) return 0
|
|
31714
|
+
if (target.length === 0 || this.length === 0) return 0
|
|
31715
|
+
|
|
31716
|
+
// Fatal error conditions
|
|
31717
|
+
if (targetStart < 0) {
|
|
31718
|
+
throw new RangeError('targetStart out of bounds')
|
|
31719
|
+
}
|
|
31720
|
+
if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
|
|
31721
|
+
if (end < 0) throw new RangeError('sourceEnd out of bounds')
|
|
31722
|
+
|
|
31723
|
+
// Are we oob?
|
|
31724
|
+
if (end > this.length) end = this.length
|
|
31725
|
+
if (target.length - targetStart < end - start) {
|
|
31726
|
+
end = target.length - targetStart + start
|
|
31727
|
+
}
|
|
31728
|
+
|
|
31729
|
+
var len = end - start
|
|
31730
|
+
var i
|
|
31731
|
+
|
|
31732
|
+
if (this === target && start < targetStart && targetStart < end) {
|
|
31733
|
+
// descending copy from end
|
|
31734
|
+
for (i = len - 1; i >= 0; --i) {
|
|
31735
|
+
target[i + targetStart] = this[i + start]
|
|
31736
|
+
}
|
|
31737
|
+
} else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31738
|
+
// ascending copy from start
|
|
31739
|
+
for (i = 0; i < len; ++i) {
|
|
31740
|
+
target[i + targetStart] = this[i + start]
|
|
31741
|
+
}
|
|
31742
|
+
} else {
|
|
31743
|
+
Uint8Array.prototype.set.call(
|
|
31744
|
+
target,
|
|
31745
|
+
this.subarray(start, start + len),
|
|
31746
|
+
targetStart
|
|
31747
|
+
)
|
|
31748
|
+
}
|
|
31749
|
+
|
|
31750
|
+
return len
|
|
31751
|
+
}
|
|
31752
|
+
|
|
31753
|
+
// Usage:
|
|
31754
|
+
// buffer.fill(number[, offset[, end]])
|
|
31755
|
+
// buffer.fill(buffer[, offset[, end]])
|
|
31756
|
+
// buffer.fill(string[, offset[, end]][, encoding])
|
|
31757
|
+
Buffer.prototype.fill = function fill (val, start, end, encoding) {
|
|
31758
|
+
// Handle string cases:
|
|
31759
|
+
if (typeof val === 'string') {
|
|
31760
|
+
if (typeof start === 'string') {
|
|
31761
|
+
encoding = start
|
|
31762
|
+
start = 0
|
|
31763
|
+
end = this.length
|
|
31764
|
+
} else if (typeof end === 'string') {
|
|
31765
|
+
encoding = end
|
|
31766
|
+
end = this.length
|
|
31767
|
+
}
|
|
31768
|
+
if (val.length === 1) {
|
|
31769
|
+
var code = val.charCodeAt(0)
|
|
31770
|
+
if (code < 256) {
|
|
31771
|
+
val = code
|
|
31772
|
+
}
|
|
31773
|
+
}
|
|
31774
|
+
if (encoding !== undefined && typeof encoding !== 'string') {
|
|
31775
|
+
throw new TypeError('encoding must be a string')
|
|
31776
|
+
}
|
|
31777
|
+
if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
|
|
31778
|
+
throw new TypeError('Unknown encoding: ' + encoding)
|
|
31779
|
+
}
|
|
31780
|
+
} else if (typeof val === 'number') {
|
|
31781
|
+
val = val & 255
|
|
31782
|
+
}
|
|
31783
|
+
|
|
31784
|
+
// Invalid ranges are not set to a default, so can range check early.
|
|
31785
|
+
if (start < 0 || this.length < start || this.length < end) {
|
|
31786
|
+
throw new RangeError('Out of range index')
|
|
31787
|
+
}
|
|
31788
|
+
|
|
31789
|
+
if (end <= start) {
|
|
31790
|
+
return this
|
|
31791
|
+
}
|
|
31792
|
+
|
|
31793
|
+
start = start >>> 0
|
|
31794
|
+
end = end === undefined ? this.length : end >>> 0
|
|
31795
|
+
|
|
31796
|
+
if (!val) val = 0
|
|
31797
|
+
|
|
31798
|
+
var i
|
|
31799
|
+
if (typeof val === 'number') {
|
|
31800
|
+
for (i = start; i < end; ++i) {
|
|
31801
|
+
this[i] = val
|
|
31802
|
+
}
|
|
31803
|
+
} else {
|
|
31804
|
+
var bytes = Buffer.isBuffer(val)
|
|
31805
|
+
? val
|
|
31806
|
+
: utf8ToBytes(new Buffer(val, encoding).toString())
|
|
31807
|
+
var len = bytes.length
|
|
31808
|
+
for (i = 0; i < end - start; ++i) {
|
|
31809
|
+
this[i + start] = bytes[i % len]
|
|
31810
|
+
}
|
|
31811
|
+
}
|
|
31812
|
+
|
|
31813
|
+
return this
|
|
31814
|
+
}
|
|
31815
|
+
|
|
31816
|
+
// HELPER FUNCTIONS
|
|
31817
|
+
// ================
|
|
31818
|
+
|
|
31819
|
+
var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
|
|
31820
|
+
|
|
31821
|
+
function base64clean (str) {
|
|
31822
|
+
// Node strips out invalid characters like \n and \t from the string, base64-js does not
|
|
31823
|
+
str = stringtrim(str).replace(INVALID_BASE64_RE, '')
|
|
31824
|
+
// Node converts strings with length < 2 to ''
|
|
31825
|
+
if (str.length < 2) return ''
|
|
31826
|
+
// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
|
|
31827
|
+
while (str.length % 4 !== 0) {
|
|
31828
|
+
str = str + '='
|
|
31829
|
+
}
|
|
31830
|
+
return str
|
|
31831
|
+
}
|
|
31832
|
+
|
|
31833
|
+
function stringtrim (str) {
|
|
31834
|
+
if (str.trim) return str.trim()
|
|
31835
|
+
return str.replace(/^\s+|\s+$/g, '')
|
|
31836
|
+
}
|
|
31837
|
+
|
|
31838
|
+
function toHex (n) {
|
|
31839
|
+
if (n < 16) return '0' + n.toString(16)
|
|
31840
|
+
return n.toString(16)
|
|
31841
|
+
}
|
|
31842
|
+
|
|
31843
|
+
function utf8ToBytes (string, units) {
|
|
31844
|
+
units = units || Infinity
|
|
31845
|
+
var codePoint
|
|
31846
|
+
var length = string.length
|
|
31847
|
+
var leadSurrogate = null
|
|
31848
|
+
var bytes = []
|
|
31849
|
+
|
|
31850
|
+
for (var i = 0; i < length; ++i) {
|
|
31851
|
+
codePoint = string.charCodeAt(i)
|
|
31852
|
+
|
|
31853
|
+
// is surrogate component
|
|
31854
|
+
if (codePoint > 0xD7FF && codePoint < 0xE000) {
|
|
31855
|
+
// last char was a lead
|
|
31856
|
+
if (!leadSurrogate) {
|
|
31857
|
+
// no lead yet
|
|
31858
|
+
if (codePoint > 0xDBFF) {
|
|
31859
|
+
// unexpected trail
|
|
31860
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31861
|
+
continue
|
|
31862
|
+
} else if (i + 1 === length) {
|
|
31863
|
+
// unpaired lead
|
|
31864
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31865
|
+
continue
|
|
31866
|
+
}
|
|
31867
|
+
|
|
31868
|
+
// valid lead
|
|
31869
|
+
leadSurrogate = codePoint
|
|
31870
|
+
|
|
31871
|
+
continue
|
|
31872
|
+
}
|
|
31873
|
+
|
|
31874
|
+
// 2 leads in a row
|
|
31875
|
+
if (codePoint < 0xDC00) {
|
|
31876
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31877
|
+
leadSurrogate = codePoint
|
|
31878
|
+
continue
|
|
31879
|
+
}
|
|
31880
|
+
|
|
31881
|
+
// valid surrogate pair
|
|
31882
|
+
codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
|
|
31883
|
+
} else if (leadSurrogate) {
|
|
31884
|
+
// valid bmp char, but last char was a lead
|
|
31885
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31886
|
+
}
|
|
31887
|
+
|
|
31888
|
+
leadSurrogate = null
|
|
31889
|
+
|
|
31890
|
+
// encode utf8
|
|
31891
|
+
if (codePoint < 0x80) {
|
|
31892
|
+
if ((units -= 1) < 0) break
|
|
31893
|
+
bytes.push(codePoint)
|
|
31894
|
+
} else if (codePoint < 0x800) {
|
|
31895
|
+
if ((units -= 2) < 0) break
|
|
31896
|
+
bytes.push(
|
|
31897
|
+
codePoint >> 0x6 | 0xC0,
|
|
31898
|
+
codePoint & 0x3F | 0x80
|
|
31899
|
+
)
|
|
31900
|
+
} else if (codePoint < 0x10000) {
|
|
31901
|
+
if ((units -= 3) < 0) break
|
|
31902
|
+
bytes.push(
|
|
31903
|
+
codePoint >> 0xC | 0xE0,
|
|
31904
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
31905
|
+
codePoint & 0x3F | 0x80
|
|
31906
|
+
)
|
|
31907
|
+
} else if (codePoint < 0x110000) {
|
|
31908
|
+
if ((units -= 4) < 0) break
|
|
31909
|
+
bytes.push(
|
|
31910
|
+
codePoint >> 0x12 | 0xF0,
|
|
31911
|
+
codePoint >> 0xC & 0x3F | 0x80,
|
|
31912
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
31913
|
+
codePoint & 0x3F | 0x80
|
|
31914
|
+
)
|
|
31915
|
+
} else {
|
|
31916
|
+
throw new Error('Invalid code point')
|
|
31917
|
+
}
|
|
31918
|
+
}
|
|
31919
|
+
|
|
31920
|
+
return bytes
|
|
31921
|
+
}
|
|
31922
|
+
|
|
31923
|
+
function asciiToBytes (str) {
|
|
31924
|
+
var byteArray = []
|
|
31925
|
+
for (var i = 0; i < str.length; ++i) {
|
|
31926
|
+
// Node's code seems to be doing this and not & 0x7F..
|
|
31927
|
+
byteArray.push(str.charCodeAt(i) & 0xFF)
|
|
31928
|
+
}
|
|
31929
|
+
return byteArray
|
|
31930
|
+
}
|
|
31931
|
+
|
|
31932
|
+
function utf16leToBytes (str, units) {
|
|
31933
|
+
var c, hi, lo
|
|
31934
|
+
var byteArray = []
|
|
31935
|
+
for (var i = 0; i < str.length; ++i) {
|
|
31936
|
+
if ((units -= 2) < 0) break
|
|
31937
|
+
|
|
31938
|
+
c = str.charCodeAt(i)
|
|
31939
|
+
hi = c >> 8
|
|
31940
|
+
lo = c % 256
|
|
31941
|
+
byteArray.push(lo)
|
|
31942
|
+
byteArray.push(hi)
|
|
31943
|
+
}
|
|
31944
|
+
|
|
31945
|
+
return byteArray
|
|
31946
|
+
}
|
|
31947
|
+
|
|
31948
|
+
function base64ToBytes (str) {
|
|
31949
|
+
return base64.toByteArray(base64clean(str))
|
|
31950
|
+
}
|
|
31951
|
+
|
|
31952
|
+
function blitBuffer (src, dst, offset, length) {
|
|
31953
|
+
for (var i = 0; i < length; ++i) {
|
|
31954
|
+
if ((i + offset >= dst.length) || (i >= src.length)) break
|
|
31955
|
+
dst[i + offset] = src[i]
|
|
31956
|
+
}
|
|
31957
|
+
return i
|
|
31958
|
+
}
|
|
31959
|
+
|
|
31960
|
+
function isnan (val) {
|
|
31961
|
+
return val !== val // eslint-disable-line no-self-compare
|
|
31962
|
+
}
|
|
31963
|
+
|
|
31964
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
31965
|
+
|
|
29837
31966
|
/***/ }),
|
|
29838
31967
|
|
|
29839
31968
|
/***/ "b64b":
|
|
@@ -34862,6 +36991,18 @@ module.exports = {
|
|
|
34862
36991
|
}
|
|
34863
36992
|
};
|
|
34864
36993
|
|
|
36994
|
+
/***/ }),
|
|
36995
|
+
|
|
36996
|
+
/***/ "e3db":
|
|
36997
|
+
/***/ (function(module, exports) {
|
|
36998
|
+
|
|
36999
|
+
var toString = {}.toString;
|
|
37000
|
+
|
|
37001
|
+
module.exports = Array.isArray || function (arr) {
|
|
37002
|
+
return toString.call(arr) == '[object Array]';
|
|
37003
|
+
};
|
|
37004
|
+
|
|
37005
|
+
|
|
34865
37006
|
/***/ }),
|
|
34866
37007
|
|
|
34867
37008
|
/***/ "e439":
|
|
@@ -36211,6 +38352,17 @@ module.exports = {
|
|
|
36211
38352
|
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_AppInput_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
|
|
36212
38353
|
|
|
36213
38354
|
|
|
38355
|
+
/***/ }),
|
|
38356
|
+
|
|
38357
|
+
/***/ "eea4":
|
|
38358
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
38359
|
+
|
|
38360
|
+
"use strict";
|
|
38361
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_MitIdButton_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("ac8d");
|
|
38362
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_MitIdButton_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_MitIdButton_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
38363
|
+
/* harmony reexport (default from non-harmony) */ __webpack_require__.d(__webpack_exports__, "default", function() { return _node_modules_vue_style_loader_index_js_ref_8_oneOf_0_0_node_modules_vue_cli_service_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_0_1_node_modules_vue_cli_service_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_2_node_modules_postcss_loader_src_index_js_ref_8_oneOf_0_3_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_0_4_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_cli_service_node_modules_vue_loader_lib_index_js_vue_loader_options_MitIdButton_vue_vue_type_style_index_0_lang_scss_module_true___WEBPACK_IMPORTED_MODULE_0___default.a; });
|
|
38364
|
+
|
|
38365
|
+
|
|
36214
38366
|
/***/ }),
|
|
36215
38367
|
|
|
36216
38368
|
/***/ "efbc":
|
|
@@ -37003,12 +39155,12 @@ if (typeof window !== 'undefined') {
|
|
|
37003
39155
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
37004
39156
|
var vue_runtime_esm = __webpack_require__("2b0e");
|
|
37005
39157
|
|
|
37006
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39158
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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=525f63a4&
|
|
37007
39159
|
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)}
|
|
37008
39160
|
var staticRenderFns = []
|
|
37009
39161
|
|
|
37010
39162
|
|
|
37011
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=
|
|
39163
|
+
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=525f63a4&
|
|
37012
39164
|
|
|
37013
39165
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
37014
39166
|
var es_array_for_each = __webpack_require__("4160");
|
|
@@ -37377,14 +39529,14 @@ var removeCallingCode_removeCallingCode = function removeCallingCode(phoneNumber
|
|
|
37377
39529
|
};
|
|
37378
39530
|
|
|
37379
39531
|
/* harmony default export */ var src_removeCallingCode = (removeCallingCode_removeCallingCode);
|
|
37380
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39532
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37381
39533
|
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)}
|
|
37382
39534
|
var AppLayoutvue_type_template_id_6944d6ad_staticRenderFns = []
|
|
37383
39535
|
|
|
37384
39536
|
|
|
37385
39537
|
// CONCATENATED MODULE: ./src/components/AppLayout.vue?vue&type=template&id=6944d6ad&
|
|
37386
39538
|
|
|
37387
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39539
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37388
39540
|
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)])}
|
|
37389
39541
|
var AppFootervue_type_template_id_44d30f7c_staticRenderFns = []
|
|
37390
39542
|
|
|
@@ -37529,7 +39681,7 @@ var component = normalizeComponent(
|
|
|
37529
39681
|
)
|
|
37530
39682
|
|
|
37531
39683
|
/* harmony default export */ var AppFooter = (component.exports);
|
|
37532
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39684
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37533
39685
|
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)}
|
|
37534
39686
|
var AppHeadervue_type_template_id_832d58bc_staticRenderFns = []
|
|
37535
39687
|
|
|
@@ -37574,14 +39726,14 @@ var AppHeader_component = normalizeComponent(
|
|
|
37574
39726
|
)
|
|
37575
39727
|
|
|
37576
39728
|
/* harmony default export */ var AppHeader = (AppHeader_component.exports);
|
|
37577
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39729
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37578
39730
|
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)])}
|
|
37579
39731
|
var LoadingOverlayvue_type_template_id_95dd2808_staticRenderFns = []
|
|
37580
39732
|
|
|
37581
39733
|
|
|
37582
39734
|
// CONCATENATED MODULE: ./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
37583
39735
|
|
|
37584
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39736
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37585
39737
|
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]})}
|
|
37586
39738
|
var AppSpinnervue_type_template_id_85241afa_staticRenderFns = []
|
|
37587
39739
|
|
|
@@ -37780,7 +39932,7 @@ var LoadingOverlay_component = normalizeComponent(
|
|
|
37780
39932
|
)
|
|
37781
39933
|
|
|
37782
39934
|
/* harmony default export */ var LoadingOverlay = (LoadingOverlay_component.exports);
|
|
37783
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39935
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37784
39936
|
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)}
|
|
37785
39937
|
var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
37786
39938
|
|
|
@@ -37790,7 +39942,7 @@ var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
|
37790
39942
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
37791
39943
|
var es_array_map = __webpack_require__("d81d");
|
|
37792
39944
|
|
|
37793
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39945
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37794
39946
|
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)}
|
|
37795
39947
|
var AppAlertvue_type_template_id_69107074_staticRenderFns = []
|
|
37796
39948
|
|
|
@@ -37899,14 +40051,14 @@ var FlashMessages_component = normalizeComponent(
|
|
|
37899
40051
|
)
|
|
37900
40052
|
|
|
37901
40053
|
/* harmony default export */ var FlashMessages = (FlashMessages_component.exports);
|
|
37902
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40054
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37903
40055
|
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)])}
|
|
37904
40056
|
var HeaderContentCountryvue_type_template_id_731f6bea_staticRenderFns = []
|
|
37905
40057
|
|
|
37906
40058
|
|
|
37907
40059
|
// CONCATENATED MODULE: ./src/components/HeaderContentCountry.vue?vue&type=template&id=731f6bea&
|
|
37908
40060
|
|
|
37909
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40061
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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=195d547a&
|
|
37910
40062
|
var CountrySelectvue_type_template_id_195d547a_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){
|
|
37911
40063
|
var option = ref.option;
|
|
37912
40064
|
return [_c('div',{staticClass:"vs__selected"},[_c('CountrySelectOption',{attrs:{"option":option}})],1)]}},{key:"open-indicator",fn:function(ref){
|
|
@@ -37917,7 +40069,7 @@ var CountrySelectvue_type_template_id_195d547a_staticRenderFns = []
|
|
|
37917
40069
|
|
|
37918
40070
|
// CONCATENATED MODULE: ./src/components/CountrySelect.vue?vue&type=template&id=195d547a&
|
|
37919
40071
|
|
|
37920
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40072
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
37921
40073
|
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)}
|
|
37922
40074
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_staticRenderFns = []
|
|
37923
40075
|
|
|
@@ -38158,14 +40310,14 @@ var HeaderContentCountry_component = normalizeComponent(
|
|
|
38158
40310
|
)
|
|
38159
40311
|
|
|
38160
40312
|
/* harmony default export */ var HeaderContentCountry = (HeaderContentCountry_component.exports);
|
|
38161
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40313
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38162
40314
|
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)])])])}
|
|
38163
40315
|
var HeaderContentSubViewvue_type_template_id_f18aa962_staticRenderFns = []
|
|
38164
40316
|
|
|
38165
40317
|
|
|
38166
40318
|
// CONCATENATED MODULE: ./src/components/HeaderContentSubView.vue?vue&type=template&id=f18aa962&
|
|
38167
40319
|
|
|
38168
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40320
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38169
40321
|
var BackButtonvue_type_template_id_74078486_render = function () {
|
|
38170
40322
|
var _obj;
|
|
38171
40323
|
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'))+" ")])])}
|
|
@@ -38312,7 +40464,7 @@ var HeaderContentSubView_component = normalizeComponent(
|
|
|
38312
40464
|
)
|
|
38313
40465
|
|
|
38314
40466
|
/* harmony default export */ var HeaderContentSubView = (HeaderContentSubView_component.exports);
|
|
38315
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40467
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38316
40468
|
var MethodSelectionvue_type_template_id_510fefee_render = function () {
|
|
38317
40469
|
var _obj;
|
|
38318
40470
|
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"})])}
|
|
@@ -38366,21 +40518,21 @@ function _asyncToGenerator(fn) {
|
|
|
38366
40518
|
});
|
|
38367
40519
|
};
|
|
38368
40520
|
}
|
|
38369
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40521
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38370
40522
|
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)}
|
|
38371
40523
|
var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
|
|
38372
40524
|
|
|
38373
40525
|
|
|
38374
40526
|
// CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
38375
40527
|
|
|
38376
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40528
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38377
40529
|
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}])})}
|
|
38378
40530
|
var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
|
|
38379
40531
|
|
|
38380
40532
|
|
|
38381
40533
|
// CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
38382
40534
|
|
|
38383
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40535
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38384
40536
|
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)])}
|
|
38385
40537
|
var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
|
|
38386
40538
|
|
|
@@ -38473,7 +40625,7 @@ var IdCardButton_component = normalizeComponent(
|
|
|
38473
40625
|
)
|
|
38474
40626
|
|
|
38475
40627
|
/* harmony default export */ var IdCardButton = (IdCardButton_component.exports);
|
|
38476
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40628
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38477
40629
|
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}])})}
|
|
38478
40630
|
var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
|
|
38479
40631
|
|
|
@@ -38528,7 +40680,7 @@ var IdCardButtonEE_component = normalizeComponent(
|
|
|
38528
40680
|
)
|
|
38529
40681
|
|
|
38530
40682
|
/* harmony default export */ var IdCardButtonEE = (IdCardButtonEE_component.exports);
|
|
38531
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40683
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38532
40684
|
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}])})}
|
|
38533
40685
|
var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
|
|
38534
40686
|
|
|
@@ -38583,7 +40735,7 @@ var SmartIdButton_component = normalizeComponent(
|
|
|
38583
40735
|
)
|
|
38584
40736
|
|
|
38585
40737
|
/* harmony default export */ var SmartIdButton = (SmartIdButton_component.exports);
|
|
38586
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40738
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38587
40739
|
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}])})}
|
|
38588
40740
|
var MobileIdButtonvue_type_template_id_ba752324_staticRenderFns = []
|
|
38589
40741
|
|
|
@@ -38638,7 +40790,7 @@ var MobileIdButton_component = normalizeComponent(
|
|
|
38638
40790
|
)
|
|
38639
40791
|
|
|
38640
40792
|
/* harmony default export */ var MobileIdButton = (MobileIdButton_component.exports);
|
|
38641
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40793
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38642
40794
|
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}])})}
|
|
38643
40795
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_staticRenderFns = []
|
|
38644
40796
|
|
|
@@ -38693,7 +40845,7 @@ var MobileIdButtonEE_component = normalizeComponent(
|
|
|
38693
40845
|
)
|
|
38694
40846
|
|
|
38695
40847
|
/* harmony default export */ var MobileIdButtonEE = (MobileIdButtonEE_component.exports);
|
|
38696
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40848
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38697
40849
|
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}])})}
|
|
38698
40850
|
var EparakstsMobileButtonvue_type_template_id_88907130_staticRenderFns = []
|
|
38699
40851
|
|
|
@@ -38748,7 +40900,7 @@ var EparakstsMobileButton_component = normalizeComponent(
|
|
|
38748
40900
|
)
|
|
38749
40901
|
|
|
38750
40902
|
/* harmony default export */ var EparakstsMobileButton = (EparakstsMobileButton_component.exports);
|
|
38751
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40903
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38752
40904
|
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}])})}
|
|
38753
40905
|
var FrejaEidButtonvue_type_template_id_c62614cc_staticRenderFns = []
|
|
38754
40906
|
|
|
@@ -38803,7 +40955,7 @@ var FrejaEidButton_component = normalizeComponent(
|
|
|
38803
40955
|
)
|
|
38804
40956
|
|
|
38805
40957
|
/* harmony default export */ var FrejaEidButton = (FrejaEidButton_component.exports);
|
|
38806
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40958
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38807
40959
|
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}])})}
|
|
38808
40960
|
var ZealIdButtonvue_type_template_id_cc1917ce_staticRenderFns = []
|
|
38809
40961
|
|
|
@@ -38858,7 +41010,7 @@ var ZealIdButton_component = normalizeComponent(
|
|
|
38858
41010
|
)
|
|
38859
41011
|
|
|
38860
41012
|
/* harmony default export */ var ZealIdButton = (ZealIdButton_component.exports);
|
|
38861
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41013
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38862
41014
|
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}])})}
|
|
38863
41015
|
var IdCardButtonBevue_type_template_id_706e58f9_staticRenderFns = []
|
|
38864
41016
|
|
|
@@ -38913,7 +41065,7 @@ var IdCardButtonBe_component = normalizeComponent(
|
|
|
38913
41065
|
)
|
|
38914
41066
|
|
|
38915
41067
|
/* harmony default export */ var IdCardButtonBe = (IdCardButtonBe_component.exports);
|
|
38916
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41068
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38917
41069
|
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}])})}
|
|
38918
41070
|
var MojeIdButtonvue_type_template_id_4d0b2384_staticRenderFns = []
|
|
38919
41071
|
|
|
@@ -38968,7 +41120,7 @@ var MojeIdButton_component = normalizeComponent(
|
|
|
38968
41120
|
)
|
|
38969
41121
|
|
|
38970
41122
|
/* harmony default export */ var MojeIdButton = (MojeIdButton_component.exports);
|
|
38971
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41123
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
38972
41124
|
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}])})}
|
|
38973
41125
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_staticRenderFns = []
|
|
38974
41126
|
|
|
@@ -39005,7 +41157,7 @@ var FinnishTrustNetworkButton_component = normalizeComponent(
|
|
|
39005
41157
|
)
|
|
39006
41158
|
|
|
39007
41159
|
/* harmony default export */ var FinnishTrustNetworkButton = (FinnishTrustNetworkButton_component.exports);
|
|
39008
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41160
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39009
41161
|
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}])})}
|
|
39010
41162
|
var AtHandyButtonvue_type_template_id_10386e1a_staticRenderFns = []
|
|
39011
41163
|
|
|
@@ -39060,7 +41212,7 @@ var AtHandyButton_component = normalizeComponent(
|
|
|
39060
41212
|
)
|
|
39061
41213
|
|
|
39062
41214
|
/* harmony default export */ var AtHandyButton = (AtHandyButton_component.exports);
|
|
39063
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41215
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39064
41216
|
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}])})}
|
|
39065
41217
|
var IdCardButtonFivue_type_template_id_d5d98516_staticRenderFns = []
|
|
39066
41218
|
|
|
@@ -39115,7 +41267,7 @@ var IdCardButtonFi_component = normalizeComponent(
|
|
|
39115
41267
|
)
|
|
39116
41268
|
|
|
39117
41269
|
/* harmony default export */ var IdCardButtonFi = (IdCardButtonFi_component.exports);
|
|
39118
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41270
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39119
41271
|
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}])})}
|
|
39120
41272
|
var IdCardButtonLvvue_type_template_id_e8b99834_staticRenderFns = []
|
|
39121
41273
|
|
|
@@ -39170,7 +41322,7 @@ var IdCardButtonLv_component = normalizeComponent(
|
|
|
39170
41322
|
)
|
|
39171
41323
|
|
|
39172
41324
|
/* harmony default export */ var IdCardButtonLv = (IdCardButtonLv_component.exports);
|
|
39173
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41325
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39174
41326
|
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}])})}
|
|
39175
41327
|
var IdCardButtonPtvue_type_template_id_b726caca_staticRenderFns = []
|
|
39176
41328
|
|
|
@@ -39225,7 +41377,7 @@ var IdCardButtonPt_component = normalizeComponent(
|
|
|
39225
41377
|
)
|
|
39226
41378
|
|
|
39227
41379
|
/* harmony default export */ var IdCardButtonPt = (IdCardButtonPt_component.exports);
|
|
39228
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41380
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39229
41381
|
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}])})}
|
|
39230
41382
|
var OtpButtonvue_type_template_id_4585c7b9_staticRenderFns = []
|
|
39231
41383
|
|
|
@@ -39262,7 +41414,7 @@ var OtpButton_component = normalizeComponent(
|
|
|
39262
41414
|
)
|
|
39263
41415
|
|
|
39264
41416
|
/* harmony default export */ var OtpButton = (OtpButton_component.exports);
|
|
39265
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41417
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/GoogleButton.vue?vue&type=template&id=4054e8d5&
|
|
39266
41418
|
var GoogleButtonvue_type_template_id_4054e8d5_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('IconGoogle',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" Google ")]},proxy:true}])})}
|
|
39267
41419
|
var GoogleButtonvue_type_template_id_4054e8d5_staticRenderFns = []
|
|
39268
41420
|
|
|
@@ -39317,7 +41469,7 @@ var GoogleButton_component = normalizeComponent(
|
|
|
39317
41469
|
)
|
|
39318
41470
|
|
|
39319
41471
|
/* harmony default export */ var GoogleButton = (GoogleButton_component.exports);
|
|
39320
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41472
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/EvrotrustButton.vue?vue&type=template&id=5c8b8745&
|
|
39321
41473
|
var EvrotrustButtonvue_type_template_id_5c8b8745_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('IconEvro',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
39322
41474
|
var EvrotrustButtonvue_type_template_id_5c8b8745_staticRenderFns = []
|
|
39323
41475
|
|
|
@@ -39372,7 +41524,7 @@ var EvrotrustButton_component = normalizeComponent(
|
|
|
39372
41524
|
)
|
|
39373
41525
|
|
|
39374
41526
|
/* harmony default export */ var EvrotrustButton = (EvrotrustButton_component.exports);
|
|
39375
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41527
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/BankIdButton.vue?vue&type=template&id=3a274cdd&
|
|
39376
41528
|
var BankIdButtonvue_type_template_id_3a274cdd_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('IconBankId',{class:_vm.$style.icon})]},proxy:true},{key:"slot2",fn:function(){return [_vm._v(" BankID ")]},proxy:true}])})}
|
|
39377
41529
|
var BankIdButtonvue_type_template_id_3a274cdd_staticRenderFns = []
|
|
39378
41530
|
|
|
@@ -39427,7 +41579,7 @@ var BankIdButton_component = normalizeComponent(
|
|
|
39427
41579
|
)
|
|
39428
41580
|
|
|
39429
41581
|
/* harmony default export */ var BankIdButton = (BankIdButton_component.exports);
|
|
39430
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/DTrustSignMeButton.vue?vue&type=template&id=d2bb3e4e&
|
|
39431
41583
|
var DTrustSignMeButtonvue_type_template_id_d2bb3e4e_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('SingMeLogo',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
39432
41584
|
var DTrustSignMeButtonvue_type_template_id_d2bb3e4e_staticRenderFns = []
|
|
39433
41585
|
|
|
@@ -39482,6 +41634,61 @@ var DTrustSignMeButton_component = normalizeComponent(
|
|
|
39482
41634
|
)
|
|
39483
41635
|
|
|
39484
41636
|
/* harmony default export */ var DTrustSignMeButton = (DTrustSignMeButton_component.exports);
|
|
41637
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/MitIdButton.vue?vue&type=template&id=56bc7dfc&
|
|
41638
|
+
var MitIdButtonvue_type_template_id_56bc7dfc_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('MitIdLogo',{class:_vm.$style.icon})]},proxy:true}])})}
|
|
41639
|
+
var MitIdButtonvue_type_template_id_56bc7dfc_staticRenderFns = []
|
|
41640
|
+
|
|
41641
|
+
|
|
41642
|
+
// CONCATENATED MODULE: ./src/components/methodButtons/MitIdButton.vue?vue&type=template&id=56bc7dfc&
|
|
41643
|
+
|
|
41644
|
+
// EXTERNAL MODULE: ./src/assets/svg/mitid-logo.svg
|
|
41645
|
+
var mitid_logo = __webpack_require__("3374");
|
|
41646
|
+
var mitid_logo_default = /*#__PURE__*/__webpack_require__.n(mitid_logo);
|
|
41647
|
+
|
|
41648
|
+
// 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/methodButtons/MitIdButton.vue?vue&type=script&lang=js&
|
|
41649
|
+
|
|
41650
|
+
|
|
41651
|
+
/* harmony default export */ var MitIdButtonvue_type_script_lang_js_ = ({
|
|
41652
|
+
name: 'MitIdButton',
|
|
41653
|
+
components: {
|
|
41654
|
+
MethodButtonBase: MethodButtonBase,
|
|
41655
|
+
MitIdLogo: mitid_logo_default.a
|
|
41656
|
+
}
|
|
41657
|
+
});
|
|
41658
|
+
// CONCATENATED MODULE: ./src/components/methodButtons/MitIdButton.vue?vue&type=script&lang=js&
|
|
41659
|
+
/* harmony default export */ var methodButtons_MitIdButtonvue_type_script_lang_js_ = (MitIdButtonvue_type_script_lang_js_);
|
|
41660
|
+
// EXTERNAL MODULE: ./src/components/methodButtons/MitIdButton.vue?vue&type=style&index=0&lang=scss&module=true&
|
|
41661
|
+
var MitIdButtonvue_type_style_index_0_lang_scss_module_true_ = __webpack_require__("eea4");
|
|
41662
|
+
|
|
41663
|
+
// CONCATENATED MODULE: ./src/components/methodButtons/MitIdButton.vue
|
|
41664
|
+
|
|
41665
|
+
|
|
41666
|
+
|
|
41667
|
+
|
|
41668
|
+
|
|
41669
|
+
|
|
41670
|
+
|
|
41671
|
+
|
|
41672
|
+
function MitIdButton_injectStyles (context) {
|
|
41673
|
+
|
|
41674
|
+
this["$style"] = (MitIdButtonvue_type_style_index_0_lang_scss_module_true_["default"].locals || MitIdButtonvue_type_style_index_0_lang_scss_module_true_["default"])
|
|
41675
|
+
|
|
41676
|
+
}
|
|
41677
|
+
|
|
41678
|
+
/* normalize component */
|
|
41679
|
+
|
|
41680
|
+
var MitIdButton_component = normalizeComponent(
|
|
41681
|
+
methodButtons_MitIdButtonvue_type_script_lang_js_,
|
|
41682
|
+
MitIdButtonvue_type_template_id_56bc7dfc_render,
|
|
41683
|
+
MitIdButtonvue_type_template_id_56bc7dfc_staticRenderFns,
|
|
41684
|
+
false,
|
|
41685
|
+
MitIdButton_injectStyles,
|
|
41686
|
+
null,
|
|
41687
|
+
null
|
|
41688
|
+
|
|
41689
|
+
)
|
|
41690
|
+
|
|
41691
|
+
/* harmony default export */ var MitIdButton = (MitIdButton_component.exports);
|
|
39485
41692
|
// CONCATENATED MODULE: ./src/components/methodButtons/methodButtons.js
|
|
39486
41693
|
|
|
39487
41694
|
|
|
@@ -39502,6 +41709,7 @@ var DTrustSignMeButton_component = normalizeComponent(
|
|
|
39502
41709
|
|
|
39503
41710
|
|
|
39504
41711
|
|
|
41712
|
+
|
|
39505
41713
|
|
|
39506
41714
|
|
|
39507
41715
|
var methodButtons = Object.freeze({
|
|
@@ -39524,7 +41732,8 @@ var methodButtons = Object.freeze({
|
|
|
39524
41732
|
GoogleButton: GoogleButton,
|
|
39525
41733
|
EvrotrustButton: EvrotrustButton,
|
|
39526
41734
|
BankIdButton: BankIdButton,
|
|
39527
|
-
DTrustSignMeButton: DTrustSignMeButton
|
|
41735
|
+
DTrustSignMeButton: DTrustSignMeButton,
|
|
41736
|
+
MitIdButton: MitIdButton
|
|
39528
41737
|
});
|
|
39529
41738
|
/* harmony default export */ var methodButtons_methodButtons = (methodButtons);
|
|
39530
41739
|
// 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/methodButtons/MethodButton.vue?vue&type=script&lang=js&
|
|
@@ -39747,14 +41956,14 @@ var MethodSelection_component = normalizeComponent(
|
|
|
39747
41956
|
)
|
|
39748
41957
|
|
|
39749
41958
|
/* harmony default export */ var MethodSelection = (MethodSelection_component.exports);
|
|
39750
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41959
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39751
41960
|
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)])}
|
|
39752
41961
|
var SmartIdAuthvue_type_template_id_097b8df2_staticRenderFns = []
|
|
39753
41962
|
|
|
39754
41963
|
|
|
39755
41964
|
// CONCATENATED MODULE: ./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
39756
41965
|
|
|
39757
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41966
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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=5be2842a&
|
|
39758
41967
|
var AppFormvue_type_template_id_5be2842a_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,index){return _c('div',{key:(item.name + item.label) || index,class:_vm.formElementClasses(item.type)},[_c(_vm.formComponentsByType[item.type],_vm._b({tag:"Component",on:{"input":function (value) { return _vm.handleInput(item.name, value); }}},'Component',Object.assign({}, item,
|
|
39759
41968
|
{id: _vm.formComponentId(item.name),
|
|
39760
41969
|
value: _vm.formValue[item.name],
|
|
@@ -39771,14 +41980,14 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
39771
41980
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
39772
41981
|
var es_array_reduce = __webpack_require__("13d5");
|
|
39773
41982
|
|
|
39774
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41983
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39775
41984
|
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)+" ")])}
|
|
39776
41985
|
var FormButtonvue_type_template_id_6eab7190_staticRenderFns = []
|
|
39777
41986
|
|
|
39778
41987
|
|
|
39779
41988
|
// CONCATENATED MODULE: ./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
39780
41989
|
|
|
39781
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41990
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39782
41991
|
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)}
|
|
39783
41992
|
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
39784
41993
|
|
|
@@ -39870,7 +42079,7 @@ var FormButton_component = normalizeComponent(
|
|
|
39870
42079
|
)
|
|
39871
42080
|
|
|
39872
42081
|
/* harmony default export */ var FormButton = (FormButton_component.exports);
|
|
39873
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42082
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39874
42083
|
var FormFieldvue_type_template_id_5f6d450f_render = function () {
|
|
39875
42084
|
var _obj;
|
|
39876
42085
|
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)}
|
|
@@ -39879,7 +42088,7 @@ var FormFieldvue_type_template_id_5f6d450f_staticRenderFns = []
|
|
|
39879
42088
|
|
|
39880
42089
|
// CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=5f6d450f&
|
|
39881
42090
|
|
|
39882
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42091
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
39883
42092
|
var AppInputvue_type_template_id_5b619160_render = function () {
|
|
39884
42093
|
var _obj, _obj$1;
|
|
39885
42094
|
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))}
|
|
@@ -40015,7 +42224,7 @@ var FormField_component = normalizeComponent(
|
|
|
40015
42224
|
)
|
|
40016
42225
|
|
|
40017
42226
|
/* harmony default export */ var FormField = (FormField_component.exports);
|
|
40018
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42227
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/FormSectionSpacer.vue?vue&type=template&id=d4c1a10e&
|
|
40019
42228
|
var FormSectionSpacervue_type_template_id_d4c1a10e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.spacer},[_c('div',{class:_vm.$style.spacerText},[_vm._v(" "+_vm._s(_vm.text)+" ")])])}
|
|
40020
42229
|
var FormSectionSpacervue_type_template_id_d4c1a10e_staticRenderFns = []
|
|
40021
42230
|
|
|
@@ -40281,7 +42490,7 @@ var getFieldErrors = function getFieldErrors(error) {
|
|
|
40281
42490
|
};
|
|
40282
42491
|
|
|
40283
42492
|
/* harmony default export */ var src_getFieldErrors = (getFieldErrors);
|
|
40284
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42493
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
40285
42494
|
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()])}
|
|
40286
42495
|
var ChallengeLoadervue_type_template_id_39c6ba11_staticRenderFns = []
|
|
40287
42496
|
|
|
@@ -40482,7 +42691,7 @@ var SmartIdAuth_component = normalizeComponent(
|
|
|
40482
42691
|
)
|
|
40483
42692
|
|
|
40484
42693
|
/* harmony default export */ var SmartIdAuth = (SmartIdAuth_component.exports);
|
|
40485
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42694
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
40486
42695
|
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)])}
|
|
40487
42696
|
var MobileIdAuthvue_type_template_id_3f6c41cc_staticRenderFns = []
|
|
40488
42697
|
|
|
@@ -40651,7 +42860,7 @@ var MobileIdAuth_component = normalizeComponent(
|
|
|
40651
42860
|
)
|
|
40652
42861
|
|
|
40653
42862
|
/* harmony default export */ var MobileIdAuth = (MobileIdAuth_component.exports);
|
|
40654
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42863
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
40655
42864
|
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)])}
|
|
40656
42865
|
var IdentificationFrejaIdvue_type_template_id_392fcbd9_staticRenderFns = []
|
|
40657
42866
|
|
|
@@ -40807,7 +43016,7 @@ var IdentificationFrejaId_component = normalizeComponent(
|
|
|
40807
43016
|
)
|
|
40808
43017
|
|
|
40809
43018
|
/* harmony default export */ var IdentificationFrejaId = (IdentificationFrejaId_component.exports);
|
|
40810
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43019
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
40811
43020
|
var IdentificationZealIdvue_type_template_id_e102c202_render = function () {
|
|
40812
43021
|
var _obj;
|
|
40813
43022
|
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 )]})])}
|
|
@@ -40927,7 +43136,7 @@ var IdentificationZealId_component = normalizeComponent(
|
|
|
40927
43136
|
)
|
|
40928
43137
|
|
|
40929
43138
|
/* harmony default export */ var IdentificationZealId = (IdentificationZealId_component.exports);
|
|
40930
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43139
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
40931
43140
|
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)])}
|
|
40932
43141
|
var SignatureSmartIdvue_type_template_id_4e579494_staticRenderFns = []
|
|
40933
43142
|
|
|
@@ -41089,7 +43298,7 @@ var SignatureSmartId_component = normalizeComponent(
|
|
|
41089
43298
|
)
|
|
41090
43299
|
|
|
41091
43300
|
/* harmony default export */ var SignatureSmartId = (SignatureSmartId_component.exports);
|
|
41092
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43301
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
41093
43302
|
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)])}
|
|
41094
43303
|
var SignatureMobileIdvue_type_template_id_1c9f8ccb_staticRenderFns = []
|
|
41095
43304
|
|
|
@@ -41258,7 +43467,7 @@ var SignatureMobileId_component = normalizeComponent(
|
|
|
41258
43467
|
)
|
|
41259
43468
|
|
|
41260
43469
|
/* harmony default export */ var SignatureMobileId = (SignatureMobileId_component.exports);
|
|
41261
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43470
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
41262
43471
|
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)])}
|
|
41263
43472
|
var SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns = []
|
|
41264
43473
|
|
|
@@ -41354,7 +43563,7 @@ var SignatureFtn_component = normalizeComponent(
|
|
|
41354
43563
|
)
|
|
41355
43564
|
|
|
41356
43565
|
/* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
|
|
41357
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43566
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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&
|
|
41358
43567
|
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)])])}
|
|
41359
43568
|
var SignatureOtpvue_type_template_id_59f05d72_staticRenderFns = []
|
|
41360
43569
|
|
|
@@ -41551,14 +43760,14 @@ var SignatureOtp_component = normalizeComponent(
|
|
|
41551
43760
|
)
|
|
41552
43761
|
|
|
41553
43762
|
/* harmony default export */ var SignatureOtp = (SignatureOtp_component.exports);
|
|
41554
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43763
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/SignatureEvrotrust.vue?vue&type=template&id=7d09c51b&
|
|
41555
43764
|
var SignatureEvrotrustvue_type_template_id_7d09c51b_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.evroTransactionId)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader',[_c('div',[_vm._v(_vm._s(_vm.$t('sign-in-evrotrust-app')))]),_c('div',{class:_vm.$style.label},[_vm._v(_vm._s(_vm.$t('transaction-id')))]),_c('div',{class:_vm.$style.highlight},[_vm._v(_vm._s(_vm.evroTransactionId))])])],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)])}
|
|
41556
43765
|
var SignatureEvrotrustvue_type_template_id_7d09c51b_staticRenderFns = []
|
|
41557
43766
|
|
|
41558
43767
|
|
|
41559
43768
|
// CONCATENATED MODULE: ./src/views/SignatureEvrotrust.vue?vue&type=template&id=7d09c51b&
|
|
41560
43769
|
|
|
41561
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43770
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/SubLoader.vue?vue&type=template&id=333e7afc&
|
|
41562
43771
|
var SubLoadervue_type_template_id_333e7afc_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),_c('div',{class:_vm.$style.content},[_vm._t("default")],2)])}
|
|
41563
43772
|
var SubLoadervue_type_template_id_333e7afc_staticRenderFns = []
|
|
41564
43773
|
|
|
@@ -41787,7 +43996,7 @@ var SignatureEvrotrust_component = normalizeComponent(
|
|
|
41787
43996
|
)
|
|
41788
43997
|
|
|
41789
43998
|
/* harmony default export */ var SignatureEvrotrust = (SignatureEvrotrust_component.exports);
|
|
41790
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43999
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"ccafe6a8-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/SignatureDTrustSignMe.vue?vue&type=template&id=2c6a2f54&
|
|
41791
44000
|
var SignatureDTrustSignMevue_type_template_id_2c6a2f54_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:_vm.$style.formContainer},[(_vm.signatureIsProcessing)?_c('div',{class:_vm.$style.challenge},[_c('SubLoader')],1):_c('div',[_c('AppForm',{attrs:{"id":"dTrustSignMeSignatureForm","schema":_vm.schema,"on-submit":_vm.sign,"errors":_vm.fieldErrors},model:{value:(_vm.formValue),callback:function ($$v) {_vm.formValue=$$v},expression:"formValue"}})],1)])}
|
|
41792
44001
|
var SignatureDTrustSignMevue_type_template_id_2c6a2f54_staticRenderFns = []
|
|
41793
44002
|
|
|
@@ -42179,6 +44388,10 @@ var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_
|
|
|
42179
44388
|
type: Boolean,
|
|
42180
44389
|
default: false
|
|
42181
44390
|
},
|
|
44391
|
+
remoteMonitoringEnabled: {
|
|
44392
|
+
type: Boolean,
|
|
44393
|
+
default: false
|
|
44394
|
+
},
|
|
42182
44395
|
methodsConfigFilter: {
|
|
42183
44396
|
type: Function
|
|
42184
44397
|
},
|
|
@@ -45457,7 +47670,8 @@ var methodButtonNames = {
|
|
|
45457
47670
|
GoogleButton: 'GoogleButton',
|
|
45458
47671
|
EvrotrustButton: 'EvrotrustButton',
|
|
45459
47672
|
BankIdButton: 'BankIdButton',
|
|
45460
|
-
DTrustSignMeButton: 'DTrustSignMeButton'
|
|
47673
|
+
DTrustSignMeButton: 'DTrustSignMeButton',
|
|
47674
|
+
MitIdButton: 'MitIdButton'
|
|
45461
47675
|
};
|
|
45462
47676
|
/* harmony default export */ var methodButtons_methodButtonNames = (methodButtonNames);
|
|
45463
47677
|
// CONCATENATED MODULE: ./src/createMethodsConfig.js
|
|
@@ -45698,6 +47912,12 @@ var allWidgetMethods = Object.freeze((_Object$freeze = {}, _defineProperty(_Obje
|
|
|
45698
47912
|
translationKeys: {
|
|
45699
47913
|
title: 'D-Trust sign-me'
|
|
45700
47914
|
}
|
|
47915
|
+
}, {
|
|
47916
|
+
actionType: eideasy_browser_client["methodActionTypes"].MIT_ID_SIMPLE_SIGNATURE,
|
|
47917
|
+
buttonName: methodButtons_methodButtonNames.MitIdButton,
|
|
47918
|
+
translationKeys: {
|
|
47919
|
+
title: 'MitID'
|
|
47920
|
+
}
|
|
45701
47921
|
}]), _Object$freeze));
|
|
45702
47922
|
|
|
45703
47923
|
var createMethodsConfig_getAvailableMethods = function getAvailableMethods(clientMethods, widgetMethods) {
|