@eid-easy/eideasy-widget 2.12.0 → 2.13.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 +14 -0
- package/dist/full/eideasy-widget.common.js +2344 -279
- package/dist/full/eideasy-widget.common.js.map +1 -1
- package/dist/full/eideasy-widget.umd.js +2344 -279
- 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 +1 -0
- 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"}]}')},7832: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 Ht},default:function(){return Vt},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"},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"},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"]},{actionType:a.CHAVE_MOVEL_QUALIFIED_SIGNATURE,handlingModule:c.chaveMovelSignature,supportedCountries:["PT"]}]),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."}'),R=n.t(P,2),M=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(M,2),U=JSON.parse('{"id-card-read-timeout":"Чтение удостоверения личности заняло слишком много времени. Закройте все открытые окна браузера и повторите попытку.","no_certificates":"Не удалось прочитать сертификаты. Убедитесь, что карта находится в считывателе и считыватель работает исправно."}'),G={de:x,en:A,et:D,lt:R,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)}}()),Re=c.atHandy,Me=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(Re,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(Me)({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,Rt=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})},Mt=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:Mt,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(Rt)({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=Object.freeze({sandbox:"sandbox",production:"production"});function Ft(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 Bt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ft(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ft(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var qt=function(e,t,n){var r={};return Object.keys(e).forEach((function(o){r[o]=function(e,t,n){return function(r){var o=Bt(Bt({},t),r);return n?n(e(o)):e(o)}}(e[o],t,n)})),r},zt=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=Bt({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={},Gt.production,Bt({},qt(o,{baseUrl:n.base?n.base():"https://id.eideasy.com"},t.modifyEndpointUrl))),r(e,Gt.sandbox,Bt({},qt(o,{baseUrl:n.base?n.base():"https://test.eideasy.com"},t.modifyEndpointUrl))),e);return{get inCurrentMode(){var e=t.sandbox?Gt.sandbox:Gt.production;return i[e]}}},Ht=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=j({rawSettings:e,schema:S}),n=F({currentLanguage:"en"}),r=zt({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]})},Vt=Ht},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,R=2&n,M=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=R||G?{}:y(t),!P)return R?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:(M?R?f:p:R?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(7832)}()}));
|
|
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");
|
|
@@ -24333,6 +24491,98 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
24333
24491
|
};
|
|
24334
24492
|
|
|
24335
24493
|
|
|
24494
|
+
/***/ }),
|
|
24495
|
+
|
|
24496
|
+
/***/ "9152":
|
|
24497
|
+
/***/ (function(module, exports) {
|
|
24498
|
+
|
|
24499
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
24500
|
+
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
24501
|
+
var e, m
|
|
24502
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
24503
|
+
var eMax = (1 << eLen) - 1
|
|
24504
|
+
var eBias = eMax >> 1
|
|
24505
|
+
var nBits = -7
|
|
24506
|
+
var i = isLE ? (nBytes - 1) : 0
|
|
24507
|
+
var d = isLE ? -1 : 1
|
|
24508
|
+
var s = buffer[offset + i]
|
|
24509
|
+
|
|
24510
|
+
i += d
|
|
24511
|
+
|
|
24512
|
+
e = s & ((1 << (-nBits)) - 1)
|
|
24513
|
+
s >>= (-nBits)
|
|
24514
|
+
nBits += eLen
|
|
24515
|
+
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
24516
|
+
|
|
24517
|
+
m = e & ((1 << (-nBits)) - 1)
|
|
24518
|
+
e >>= (-nBits)
|
|
24519
|
+
nBits += mLen
|
|
24520
|
+
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
24521
|
+
|
|
24522
|
+
if (e === 0) {
|
|
24523
|
+
e = 1 - eBias
|
|
24524
|
+
} else if (e === eMax) {
|
|
24525
|
+
return m ? NaN : ((s ? -1 : 1) * Infinity)
|
|
24526
|
+
} else {
|
|
24527
|
+
m = m + Math.pow(2, mLen)
|
|
24528
|
+
e = e - eBias
|
|
24529
|
+
}
|
|
24530
|
+
return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
|
|
24531
|
+
}
|
|
24532
|
+
|
|
24533
|
+
exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
24534
|
+
var e, m, c
|
|
24535
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
24536
|
+
var eMax = (1 << eLen) - 1
|
|
24537
|
+
var eBias = eMax >> 1
|
|
24538
|
+
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
|
|
24539
|
+
var i = isLE ? 0 : (nBytes - 1)
|
|
24540
|
+
var d = isLE ? 1 : -1
|
|
24541
|
+
var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
|
|
24542
|
+
|
|
24543
|
+
value = Math.abs(value)
|
|
24544
|
+
|
|
24545
|
+
if (isNaN(value) || value === Infinity) {
|
|
24546
|
+
m = isNaN(value) ? 1 : 0
|
|
24547
|
+
e = eMax
|
|
24548
|
+
} else {
|
|
24549
|
+
e = Math.floor(Math.log(value) / Math.LN2)
|
|
24550
|
+
if (value * (c = Math.pow(2, -e)) < 1) {
|
|
24551
|
+
e--
|
|
24552
|
+
c *= 2
|
|
24553
|
+
}
|
|
24554
|
+
if (e + eBias >= 1) {
|
|
24555
|
+
value += rt / c
|
|
24556
|
+
} else {
|
|
24557
|
+
value += rt * Math.pow(2, 1 - eBias)
|
|
24558
|
+
}
|
|
24559
|
+
if (value * c >= 2) {
|
|
24560
|
+
e++
|
|
24561
|
+
c /= 2
|
|
24562
|
+
}
|
|
24563
|
+
|
|
24564
|
+
if (e + eBias >= eMax) {
|
|
24565
|
+
m = 0
|
|
24566
|
+
e = eMax
|
|
24567
|
+
} else if (e + eBias >= 1) {
|
|
24568
|
+
m = ((value * c) - 1) * Math.pow(2, mLen)
|
|
24569
|
+
e = e + eBias
|
|
24570
|
+
} else {
|
|
24571
|
+
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
|
|
24572
|
+
e = 0
|
|
24573
|
+
}
|
|
24574
|
+
}
|
|
24575
|
+
|
|
24576
|
+
for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
|
|
24577
|
+
|
|
24578
|
+
e = (e << mLen) | m
|
|
24579
|
+
eLen += mLen
|
|
24580
|
+
for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
|
|
24581
|
+
|
|
24582
|
+
buffer[offset + i - d] |= s * 128
|
|
24583
|
+
}
|
|
24584
|
+
|
|
24585
|
+
|
|
24336
24586
|
/***/ }),
|
|
24337
24587
|
|
|
24338
24588
|
/***/ "921c":
|
|
@@ -29834,6 +30084,1804 @@ module.exports = function (name) {
|
|
|
29834
30084
|
};
|
|
29835
30085
|
|
|
29836
30086
|
|
|
30087
|
+
/***/ }),
|
|
30088
|
+
|
|
30089
|
+
/***/ "b639":
|
|
30090
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
30091
|
+
|
|
30092
|
+
"use strict";
|
|
30093
|
+
/* WEBPACK VAR INJECTION */(function(global) {/*!
|
|
30094
|
+
* The buffer module from node.js, for the browser.
|
|
30095
|
+
*
|
|
30096
|
+
* @author Feross Aboukhadijeh <http://feross.org>
|
|
30097
|
+
* @license MIT
|
|
30098
|
+
*/
|
|
30099
|
+
/* eslint-disable no-proto */
|
|
30100
|
+
|
|
30101
|
+
|
|
30102
|
+
|
|
30103
|
+
var base64 = __webpack_require__("1fb5")
|
|
30104
|
+
var ieee754 = __webpack_require__("9152")
|
|
30105
|
+
var isArray = __webpack_require__("e3db")
|
|
30106
|
+
|
|
30107
|
+
exports.Buffer = Buffer
|
|
30108
|
+
exports.SlowBuffer = SlowBuffer
|
|
30109
|
+
exports.INSPECT_MAX_BYTES = 50
|
|
30110
|
+
|
|
30111
|
+
/**
|
|
30112
|
+
* If `Buffer.TYPED_ARRAY_SUPPORT`:
|
|
30113
|
+
* === true Use Uint8Array implementation (fastest)
|
|
30114
|
+
* === false Use Object implementation (most compatible, even IE6)
|
|
30115
|
+
*
|
|
30116
|
+
* Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
|
|
30117
|
+
* Opera 11.6+, iOS 4.2+.
|
|
30118
|
+
*
|
|
30119
|
+
* Due to various browser bugs, sometimes the Object implementation will be used even
|
|
30120
|
+
* when the browser supports typed arrays.
|
|
30121
|
+
*
|
|
30122
|
+
* Note:
|
|
30123
|
+
*
|
|
30124
|
+
* - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
|
|
30125
|
+
* See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
|
|
30126
|
+
*
|
|
30127
|
+
* - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
|
|
30128
|
+
*
|
|
30129
|
+
* - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
|
|
30130
|
+
* incorrect length in some situations.
|
|
30131
|
+
|
|
30132
|
+
* We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
|
|
30133
|
+
* get the Object implementation, which is slower but behaves correctly.
|
|
30134
|
+
*/
|
|
30135
|
+
Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
|
|
30136
|
+
? global.TYPED_ARRAY_SUPPORT
|
|
30137
|
+
: typedArraySupport()
|
|
30138
|
+
|
|
30139
|
+
/*
|
|
30140
|
+
* Export kMaxLength after typed array support is determined.
|
|
30141
|
+
*/
|
|
30142
|
+
exports.kMaxLength = kMaxLength()
|
|
30143
|
+
|
|
30144
|
+
function typedArraySupport () {
|
|
30145
|
+
try {
|
|
30146
|
+
var arr = new Uint8Array(1)
|
|
30147
|
+
arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
|
|
30148
|
+
return arr.foo() === 42 && // typed array instances can be augmented
|
|
30149
|
+
typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
|
|
30150
|
+
arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
|
|
30151
|
+
} catch (e) {
|
|
30152
|
+
return false
|
|
30153
|
+
}
|
|
30154
|
+
}
|
|
30155
|
+
|
|
30156
|
+
function kMaxLength () {
|
|
30157
|
+
return Buffer.TYPED_ARRAY_SUPPORT
|
|
30158
|
+
? 0x7fffffff
|
|
30159
|
+
: 0x3fffffff
|
|
30160
|
+
}
|
|
30161
|
+
|
|
30162
|
+
function createBuffer (that, length) {
|
|
30163
|
+
if (kMaxLength() < length) {
|
|
30164
|
+
throw new RangeError('Invalid typed array length')
|
|
30165
|
+
}
|
|
30166
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30167
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
30168
|
+
that = new Uint8Array(length)
|
|
30169
|
+
that.__proto__ = Buffer.prototype
|
|
30170
|
+
} else {
|
|
30171
|
+
// Fallback: Return an object instance of the Buffer class
|
|
30172
|
+
if (that === null) {
|
|
30173
|
+
that = new Buffer(length)
|
|
30174
|
+
}
|
|
30175
|
+
that.length = length
|
|
30176
|
+
}
|
|
30177
|
+
|
|
30178
|
+
return that
|
|
30179
|
+
}
|
|
30180
|
+
|
|
30181
|
+
/**
|
|
30182
|
+
* The Buffer constructor returns instances of `Uint8Array` that have their
|
|
30183
|
+
* prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
|
|
30184
|
+
* `Uint8Array`, so the returned instances will have all the node `Buffer` methods
|
|
30185
|
+
* and the `Uint8Array` methods. Square bracket notation works as expected -- it
|
|
30186
|
+
* returns a single octet.
|
|
30187
|
+
*
|
|
30188
|
+
* The `Uint8Array` prototype remains unmodified.
|
|
30189
|
+
*/
|
|
30190
|
+
|
|
30191
|
+
function Buffer (arg, encodingOrOffset, length) {
|
|
30192
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
|
|
30193
|
+
return new Buffer(arg, encodingOrOffset, length)
|
|
30194
|
+
}
|
|
30195
|
+
|
|
30196
|
+
// Common case.
|
|
30197
|
+
if (typeof arg === 'number') {
|
|
30198
|
+
if (typeof encodingOrOffset === 'string') {
|
|
30199
|
+
throw new Error(
|
|
30200
|
+
'If encoding is specified then the first argument must be a string'
|
|
30201
|
+
)
|
|
30202
|
+
}
|
|
30203
|
+
return allocUnsafe(this, arg)
|
|
30204
|
+
}
|
|
30205
|
+
return from(this, arg, encodingOrOffset, length)
|
|
30206
|
+
}
|
|
30207
|
+
|
|
30208
|
+
Buffer.poolSize = 8192 // not used by this implementation
|
|
30209
|
+
|
|
30210
|
+
// TODO: Legacy, not needed anymore. Remove in next major version.
|
|
30211
|
+
Buffer._augment = function (arr) {
|
|
30212
|
+
arr.__proto__ = Buffer.prototype
|
|
30213
|
+
return arr
|
|
30214
|
+
}
|
|
30215
|
+
|
|
30216
|
+
function from (that, value, encodingOrOffset, length) {
|
|
30217
|
+
if (typeof value === 'number') {
|
|
30218
|
+
throw new TypeError('"value" argument must not be a number')
|
|
30219
|
+
}
|
|
30220
|
+
|
|
30221
|
+
if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
|
|
30222
|
+
return fromArrayBuffer(that, value, encodingOrOffset, length)
|
|
30223
|
+
}
|
|
30224
|
+
|
|
30225
|
+
if (typeof value === 'string') {
|
|
30226
|
+
return fromString(that, value, encodingOrOffset)
|
|
30227
|
+
}
|
|
30228
|
+
|
|
30229
|
+
return fromObject(that, value)
|
|
30230
|
+
}
|
|
30231
|
+
|
|
30232
|
+
/**
|
|
30233
|
+
* Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
|
|
30234
|
+
* if value is a number.
|
|
30235
|
+
* Buffer.from(str[, encoding])
|
|
30236
|
+
* Buffer.from(array)
|
|
30237
|
+
* Buffer.from(buffer)
|
|
30238
|
+
* Buffer.from(arrayBuffer[, byteOffset[, length]])
|
|
30239
|
+
**/
|
|
30240
|
+
Buffer.from = function (value, encodingOrOffset, length) {
|
|
30241
|
+
return from(null, value, encodingOrOffset, length)
|
|
30242
|
+
}
|
|
30243
|
+
|
|
30244
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30245
|
+
Buffer.prototype.__proto__ = Uint8Array.prototype
|
|
30246
|
+
Buffer.__proto__ = Uint8Array
|
|
30247
|
+
if (typeof Symbol !== 'undefined' && Symbol.species &&
|
|
30248
|
+
Buffer[Symbol.species] === Buffer) {
|
|
30249
|
+
// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
|
|
30250
|
+
Object.defineProperty(Buffer, Symbol.species, {
|
|
30251
|
+
value: null,
|
|
30252
|
+
configurable: true
|
|
30253
|
+
})
|
|
30254
|
+
}
|
|
30255
|
+
}
|
|
30256
|
+
|
|
30257
|
+
function assertSize (size) {
|
|
30258
|
+
if (typeof size !== 'number') {
|
|
30259
|
+
throw new TypeError('"size" argument must be a number')
|
|
30260
|
+
} else if (size < 0) {
|
|
30261
|
+
throw new RangeError('"size" argument must not be negative')
|
|
30262
|
+
}
|
|
30263
|
+
}
|
|
30264
|
+
|
|
30265
|
+
function alloc (that, size, fill, encoding) {
|
|
30266
|
+
assertSize(size)
|
|
30267
|
+
if (size <= 0) {
|
|
30268
|
+
return createBuffer(that, size)
|
|
30269
|
+
}
|
|
30270
|
+
if (fill !== undefined) {
|
|
30271
|
+
// Only pay attention to encoding if it's a string. This
|
|
30272
|
+
// prevents accidentally sending in a number that would
|
|
30273
|
+
// be interpretted as a start offset.
|
|
30274
|
+
return typeof encoding === 'string'
|
|
30275
|
+
? createBuffer(that, size).fill(fill, encoding)
|
|
30276
|
+
: createBuffer(that, size).fill(fill)
|
|
30277
|
+
}
|
|
30278
|
+
return createBuffer(that, size)
|
|
30279
|
+
}
|
|
30280
|
+
|
|
30281
|
+
/**
|
|
30282
|
+
* Creates a new filled Buffer instance.
|
|
30283
|
+
* alloc(size[, fill[, encoding]])
|
|
30284
|
+
**/
|
|
30285
|
+
Buffer.alloc = function (size, fill, encoding) {
|
|
30286
|
+
return alloc(null, size, fill, encoding)
|
|
30287
|
+
}
|
|
30288
|
+
|
|
30289
|
+
function allocUnsafe (that, size) {
|
|
30290
|
+
assertSize(size)
|
|
30291
|
+
that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
|
|
30292
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30293
|
+
for (var i = 0; i < size; ++i) {
|
|
30294
|
+
that[i] = 0
|
|
30295
|
+
}
|
|
30296
|
+
}
|
|
30297
|
+
return that
|
|
30298
|
+
}
|
|
30299
|
+
|
|
30300
|
+
/**
|
|
30301
|
+
* Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
|
|
30302
|
+
* */
|
|
30303
|
+
Buffer.allocUnsafe = function (size) {
|
|
30304
|
+
return allocUnsafe(null, size)
|
|
30305
|
+
}
|
|
30306
|
+
/**
|
|
30307
|
+
* Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
|
|
30308
|
+
*/
|
|
30309
|
+
Buffer.allocUnsafeSlow = function (size) {
|
|
30310
|
+
return allocUnsafe(null, size)
|
|
30311
|
+
}
|
|
30312
|
+
|
|
30313
|
+
function fromString (that, string, encoding) {
|
|
30314
|
+
if (typeof encoding !== 'string' || encoding === '') {
|
|
30315
|
+
encoding = 'utf8'
|
|
30316
|
+
}
|
|
30317
|
+
|
|
30318
|
+
if (!Buffer.isEncoding(encoding)) {
|
|
30319
|
+
throw new TypeError('"encoding" must be a valid string encoding')
|
|
30320
|
+
}
|
|
30321
|
+
|
|
30322
|
+
var length = byteLength(string, encoding) | 0
|
|
30323
|
+
that = createBuffer(that, length)
|
|
30324
|
+
|
|
30325
|
+
var actual = that.write(string, encoding)
|
|
30326
|
+
|
|
30327
|
+
if (actual !== length) {
|
|
30328
|
+
// Writing a hex string, for example, that contains invalid characters will
|
|
30329
|
+
// cause everything after the first invalid character to be ignored. (e.g.
|
|
30330
|
+
// 'abxxcd' will be treated as 'ab')
|
|
30331
|
+
that = that.slice(0, actual)
|
|
30332
|
+
}
|
|
30333
|
+
|
|
30334
|
+
return that
|
|
30335
|
+
}
|
|
30336
|
+
|
|
30337
|
+
function fromArrayLike (that, array) {
|
|
30338
|
+
var length = array.length < 0 ? 0 : checked(array.length) | 0
|
|
30339
|
+
that = createBuffer(that, length)
|
|
30340
|
+
for (var i = 0; i < length; i += 1) {
|
|
30341
|
+
that[i] = array[i] & 255
|
|
30342
|
+
}
|
|
30343
|
+
return that
|
|
30344
|
+
}
|
|
30345
|
+
|
|
30346
|
+
function fromArrayBuffer (that, array, byteOffset, length) {
|
|
30347
|
+
array.byteLength // this throws if `array` is not a valid ArrayBuffer
|
|
30348
|
+
|
|
30349
|
+
if (byteOffset < 0 || array.byteLength < byteOffset) {
|
|
30350
|
+
throw new RangeError('\'offset\' is out of bounds')
|
|
30351
|
+
}
|
|
30352
|
+
|
|
30353
|
+
if (array.byteLength < byteOffset + (length || 0)) {
|
|
30354
|
+
throw new RangeError('\'length\' is out of bounds')
|
|
30355
|
+
}
|
|
30356
|
+
|
|
30357
|
+
if (byteOffset === undefined && length === undefined) {
|
|
30358
|
+
array = new Uint8Array(array)
|
|
30359
|
+
} else if (length === undefined) {
|
|
30360
|
+
array = new Uint8Array(array, byteOffset)
|
|
30361
|
+
} else {
|
|
30362
|
+
array = new Uint8Array(array, byteOffset, length)
|
|
30363
|
+
}
|
|
30364
|
+
|
|
30365
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30366
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
30367
|
+
that = array
|
|
30368
|
+
that.__proto__ = Buffer.prototype
|
|
30369
|
+
} else {
|
|
30370
|
+
// Fallback: Return an object instance of the Buffer class
|
|
30371
|
+
that = fromArrayLike(that, array)
|
|
30372
|
+
}
|
|
30373
|
+
return that
|
|
30374
|
+
}
|
|
30375
|
+
|
|
30376
|
+
function fromObject (that, obj) {
|
|
30377
|
+
if (Buffer.isBuffer(obj)) {
|
|
30378
|
+
var len = checked(obj.length) | 0
|
|
30379
|
+
that = createBuffer(that, len)
|
|
30380
|
+
|
|
30381
|
+
if (that.length === 0) {
|
|
30382
|
+
return that
|
|
30383
|
+
}
|
|
30384
|
+
|
|
30385
|
+
obj.copy(that, 0, 0, len)
|
|
30386
|
+
return that
|
|
30387
|
+
}
|
|
30388
|
+
|
|
30389
|
+
if (obj) {
|
|
30390
|
+
if ((typeof ArrayBuffer !== 'undefined' &&
|
|
30391
|
+
obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
|
|
30392
|
+
if (typeof obj.length !== 'number' || isnan(obj.length)) {
|
|
30393
|
+
return createBuffer(that, 0)
|
|
30394
|
+
}
|
|
30395
|
+
return fromArrayLike(that, obj)
|
|
30396
|
+
}
|
|
30397
|
+
|
|
30398
|
+
if (obj.type === 'Buffer' && isArray(obj.data)) {
|
|
30399
|
+
return fromArrayLike(that, obj.data)
|
|
30400
|
+
}
|
|
30401
|
+
}
|
|
30402
|
+
|
|
30403
|
+
throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
|
|
30404
|
+
}
|
|
30405
|
+
|
|
30406
|
+
function checked (length) {
|
|
30407
|
+
// Note: cannot use `length < kMaxLength()` here because that fails when
|
|
30408
|
+
// length is NaN (which is otherwise coerced to zero.)
|
|
30409
|
+
if (length >= kMaxLength()) {
|
|
30410
|
+
throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
|
|
30411
|
+
'size: 0x' + kMaxLength().toString(16) + ' bytes')
|
|
30412
|
+
}
|
|
30413
|
+
return length | 0
|
|
30414
|
+
}
|
|
30415
|
+
|
|
30416
|
+
function SlowBuffer (length) {
|
|
30417
|
+
if (+length != length) { // eslint-disable-line eqeqeq
|
|
30418
|
+
length = 0
|
|
30419
|
+
}
|
|
30420
|
+
return Buffer.alloc(+length)
|
|
30421
|
+
}
|
|
30422
|
+
|
|
30423
|
+
Buffer.isBuffer = function isBuffer (b) {
|
|
30424
|
+
return !!(b != null && b._isBuffer)
|
|
30425
|
+
}
|
|
30426
|
+
|
|
30427
|
+
Buffer.compare = function compare (a, b) {
|
|
30428
|
+
if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
|
|
30429
|
+
throw new TypeError('Arguments must be Buffers')
|
|
30430
|
+
}
|
|
30431
|
+
|
|
30432
|
+
if (a === b) return 0
|
|
30433
|
+
|
|
30434
|
+
var x = a.length
|
|
30435
|
+
var y = b.length
|
|
30436
|
+
|
|
30437
|
+
for (var i = 0, len = Math.min(x, y); i < len; ++i) {
|
|
30438
|
+
if (a[i] !== b[i]) {
|
|
30439
|
+
x = a[i]
|
|
30440
|
+
y = b[i]
|
|
30441
|
+
break
|
|
30442
|
+
}
|
|
30443
|
+
}
|
|
30444
|
+
|
|
30445
|
+
if (x < y) return -1
|
|
30446
|
+
if (y < x) return 1
|
|
30447
|
+
return 0
|
|
30448
|
+
}
|
|
30449
|
+
|
|
30450
|
+
Buffer.isEncoding = function isEncoding (encoding) {
|
|
30451
|
+
switch (String(encoding).toLowerCase()) {
|
|
30452
|
+
case 'hex':
|
|
30453
|
+
case 'utf8':
|
|
30454
|
+
case 'utf-8':
|
|
30455
|
+
case 'ascii':
|
|
30456
|
+
case 'latin1':
|
|
30457
|
+
case 'binary':
|
|
30458
|
+
case 'base64':
|
|
30459
|
+
case 'ucs2':
|
|
30460
|
+
case 'ucs-2':
|
|
30461
|
+
case 'utf16le':
|
|
30462
|
+
case 'utf-16le':
|
|
30463
|
+
return true
|
|
30464
|
+
default:
|
|
30465
|
+
return false
|
|
30466
|
+
}
|
|
30467
|
+
}
|
|
30468
|
+
|
|
30469
|
+
Buffer.concat = function concat (list, length) {
|
|
30470
|
+
if (!isArray(list)) {
|
|
30471
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
30472
|
+
}
|
|
30473
|
+
|
|
30474
|
+
if (list.length === 0) {
|
|
30475
|
+
return Buffer.alloc(0)
|
|
30476
|
+
}
|
|
30477
|
+
|
|
30478
|
+
var i
|
|
30479
|
+
if (length === undefined) {
|
|
30480
|
+
length = 0
|
|
30481
|
+
for (i = 0; i < list.length; ++i) {
|
|
30482
|
+
length += list[i].length
|
|
30483
|
+
}
|
|
30484
|
+
}
|
|
30485
|
+
|
|
30486
|
+
var buffer = Buffer.allocUnsafe(length)
|
|
30487
|
+
var pos = 0
|
|
30488
|
+
for (i = 0; i < list.length; ++i) {
|
|
30489
|
+
var buf = list[i]
|
|
30490
|
+
if (!Buffer.isBuffer(buf)) {
|
|
30491
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
30492
|
+
}
|
|
30493
|
+
buf.copy(buffer, pos)
|
|
30494
|
+
pos += buf.length
|
|
30495
|
+
}
|
|
30496
|
+
return buffer
|
|
30497
|
+
}
|
|
30498
|
+
|
|
30499
|
+
function byteLength (string, encoding) {
|
|
30500
|
+
if (Buffer.isBuffer(string)) {
|
|
30501
|
+
return string.length
|
|
30502
|
+
}
|
|
30503
|
+
if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
|
|
30504
|
+
(ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
|
|
30505
|
+
return string.byteLength
|
|
30506
|
+
}
|
|
30507
|
+
if (typeof string !== 'string') {
|
|
30508
|
+
string = '' + string
|
|
30509
|
+
}
|
|
30510
|
+
|
|
30511
|
+
var len = string.length
|
|
30512
|
+
if (len === 0) return 0
|
|
30513
|
+
|
|
30514
|
+
// Use a for loop to avoid recursion
|
|
30515
|
+
var loweredCase = false
|
|
30516
|
+
for (;;) {
|
|
30517
|
+
switch (encoding) {
|
|
30518
|
+
case 'ascii':
|
|
30519
|
+
case 'latin1':
|
|
30520
|
+
case 'binary':
|
|
30521
|
+
return len
|
|
30522
|
+
case 'utf8':
|
|
30523
|
+
case 'utf-8':
|
|
30524
|
+
case undefined:
|
|
30525
|
+
return utf8ToBytes(string).length
|
|
30526
|
+
case 'ucs2':
|
|
30527
|
+
case 'ucs-2':
|
|
30528
|
+
case 'utf16le':
|
|
30529
|
+
case 'utf-16le':
|
|
30530
|
+
return len * 2
|
|
30531
|
+
case 'hex':
|
|
30532
|
+
return len >>> 1
|
|
30533
|
+
case 'base64':
|
|
30534
|
+
return base64ToBytes(string).length
|
|
30535
|
+
default:
|
|
30536
|
+
if (loweredCase) return utf8ToBytes(string).length // assume utf8
|
|
30537
|
+
encoding = ('' + encoding).toLowerCase()
|
|
30538
|
+
loweredCase = true
|
|
30539
|
+
}
|
|
30540
|
+
}
|
|
30541
|
+
}
|
|
30542
|
+
Buffer.byteLength = byteLength
|
|
30543
|
+
|
|
30544
|
+
function slowToString (encoding, start, end) {
|
|
30545
|
+
var loweredCase = false
|
|
30546
|
+
|
|
30547
|
+
// No need to verify that "this.length <= MAX_UINT32" since it's a read-only
|
|
30548
|
+
// property of a typed array.
|
|
30549
|
+
|
|
30550
|
+
// This behaves neither like String nor Uint8Array in that we set start/end
|
|
30551
|
+
// to their upper/lower bounds if the value passed is out of range.
|
|
30552
|
+
// undefined is handled specially as per ECMA-262 6th Edition,
|
|
30553
|
+
// Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
|
|
30554
|
+
if (start === undefined || start < 0) {
|
|
30555
|
+
start = 0
|
|
30556
|
+
}
|
|
30557
|
+
// Return early if start > this.length. Done here to prevent potential uint32
|
|
30558
|
+
// coercion fail below.
|
|
30559
|
+
if (start > this.length) {
|
|
30560
|
+
return ''
|
|
30561
|
+
}
|
|
30562
|
+
|
|
30563
|
+
if (end === undefined || end > this.length) {
|
|
30564
|
+
end = this.length
|
|
30565
|
+
}
|
|
30566
|
+
|
|
30567
|
+
if (end <= 0) {
|
|
30568
|
+
return ''
|
|
30569
|
+
}
|
|
30570
|
+
|
|
30571
|
+
// Force coersion to uint32. This will also coerce falsey/NaN values to 0.
|
|
30572
|
+
end >>>= 0
|
|
30573
|
+
start >>>= 0
|
|
30574
|
+
|
|
30575
|
+
if (end <= start) {
|
|
30576
|
+
return ''
|
|
30577
|
+
}
|
|
30578
|
+
|
|
30579
|
+
if (!encoding) encoding = 'utf8'
|
|
30580
|
+
|
|
30581
|
+
while (true) {
|
|
30582
|
+
switch (encoding) {
|
|
30583
|
+
case 'hex':
|
|
30584
|
+
return hexSlice(this, start, end)
|
|
30585
|
+
|
|
30586
|
+
case 'utf8':
|
|
30587
|
+
case 'utf-8':
|
|
30588
|
+
return utf8Slice(this, start, end)
|
|
30589
|
+
|
|
30590
|
+
case 'ascii':
|
|
30591
|
+
return asciiSlice(this, start, end)
|
|
30592
|
+
|
|
30593
|
+
case 'latin1':
|
|
30594
|
+
case 'binary':
|
|
30595
|
+
return latin1Slice(this, start, end)
|
|
30596
|
+
|
|
30597
|
+
case 'base64':
|
|
30598
|
+
return base64Slice(this, start, end)
|
|
30599
|
+
|
|
30600
|
+
case 'ucs2':
|
|
30601
|
+
case 'ucs-2':
|
|
30602
|
+
case 'utf16le':
|
|
30603
|
+
case 'utf-16le':
|
|
30604
|
+
return utf16leSlice(this, start, end)
|
|
30605
|
+
|
|
30606
|
+
default:
|
|
30607
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
30608
|
+
encoding = (encoding + '').toLowerCase()
|
|
30609
|
+
loweredCase = true
|
|
30610
|
+
}
|
|
30611
|
+
}
|
|
30612
|
+
}
|
|
30613
|
+
|
|
30614
|
+
// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
|
|
30615
|
+
// Buffer instances.
|
|
30616
|
+
Buffer.prototype._isBuffer = true
|
|
30617
|
+
|
|
30618
|
+
function swap (b, n, m) {
|
|
30619
|
+
var i = b[n]
|
|
30620
|
+
b[n] = b[m]
|
|
30621
|
+
b[m] = i
|
|
30622
|
+
}
|
|
30623
|
+
|
|
30624
|
+
Buffer.prototype.swap16 = function swap16 () {
|
|
30625
|
+
var len = this.length
|
|
30626
|
+
if (len % 2 !== 0) {
|
|
30627
|
+
throw new RangeError('Buffer size must be a multiple of 16-bits')
|
|
30628
|
+
}
|
|
30629
|
+
for (var i = 0; i < len; i += 2) {
|
|
30630
|
+
swap(this, i, i + 1)
|
|
30631
|
+
}
|
|
30632
|
+
return this
|
|
30633
|
+
}
|
|
30634
|
+
|
|
30635
|
+
Buffer.prototype.swap32 = function swap32 () {
|
|
30636
|
+
var len = this.length
|
|
30637
|
+
if (len % 4 !== 0) {
|
|
30638
|
+
throw new RangeError('Buffer size must be a multiple of 32-bits')
|
|
30639
|
+
}
|
|
30640
|
+
for (var i = 0; i < len; i += 4) {
|
|
30641
|
+
swap(this, i, i + 3)
|
|
30642
|
+
swap(this, i + 1, i + 2)
|
|
30643
|
+
}
|
|
30644
|
+
return this
|
|
30645
|
+
}
|
|
30646
|
+
|
|
30647
|
+
Buffer.prototype.swap64 = function swap64 () {
|
|
30648
|
+
var len = this.length
|
|
30649
|
+
if (len % 8 !== 0) {
|
|
30650
|
+
throw new RangeError('Buffer size must be a multiple of 64-bits')
|
|
30651
|
+
}
|
|
30652
|
+
for (var i = 0; i < len; i += 8) {
|
|
30653
|
+
swap(this, i, i + 7)
|
|
30654
|
+
swap(this, i + 1, i + 6)
|
|
30655
|
+
swap(this, i + 2, i + 5)
|
|
30656
|
+
swap(this, i + 3, i + 4)
|
|
30657
|
+
}
|
|
30658
|
+
return this
|
|
30659
|
+
}
|
|
30660
|
+
|
|
30661
|
+
Buffer.prototype.toString = function toString () {
|
|
30662
|
+
var length = this.length | 0
|
|
30663
|
+
if (length === 0) return ''
|
|
30664
|
+
if (arguments.length === 0) return utf8Slice(this, 0, length)
|
|
30665
|
+
return slowToString.apply(this, arguments)
|
|
30666
|
+
}
|
|
30667
|
+
|
|
30668
|
+
Buffer.prototype.equals = function equals (b) {
|
|
30669
|
+
if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
|
|
30670
|
+
if (this === b) return true
|
|
30671
|
+
return Buffer.compare(this, b) === 0
|
|
30672
|
+
}
|
|
30673
|
+
|
|
30674
|
+
Buffer.prototype.inspect = function inspect () {
|
|
30675
|
+
var str = ''
|
|
30676
|
+
var max = exports.INSPECT_MAX_BYTES
|
|
30677
|
+
if (this.length > 0) {
|
|
30678
|
+
str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
|
|
30679
|
+
if (this.length > max) str += ' ... '
|
|
30680
|
+
}
|
|
30681
|
+
return '<Buffer ' + str + '>'
|
|
30682
|
+
}
|
|
30683
|
+
|
|
30684
|
+
Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
|
|
30685
|
+
if (!Buffer.isBuffer(target)) {
|
|
30686
|
+
throw new TypeError('Argument must be a Buffer')
|
|
30687
|
+
}
|
|
30688
|
+
|
|
30689
|
+
if (start === undefined) {
|
|
30690
|
+
start = 0
|
|
30691
|
+
}
|
|
30692
|
+
if (end === undefined) {
|
|
30693
|
+
end = target ? target.length : 0
|
|
30694
|
+
}
|
|
30695
|
+
if (thisStart === undefined) {
|
|
30696
|
+
thisStart = 0
|
|
30697
|
+
}
|
|
30698
|
+
if (thisEnd === undefined) {
|
|
30699
|
+
thisEnd = this.length
|
|
30700
|
+
}
|
|
30701
|
+
|
|
30702
|
+
if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
|
|
30703
|
+
throw new RangeError('out of range index')
|
|
30704
|
+
}
|
|
30705
|
+
|
|
30706
|
+
if (thisStart >= thisEnd && start >= end) {
|
|
30707
|
+
return 0
|
|
30708
|
+
}
|
|
30709
|
+
if (thisStart >= thisEnd) {
|
|
30710
|
+
return -1
|
|
30711
|
+
}
|
|
30712
|
+
if (start >= end) {
|
|
30713
|
+
return 1
|
|
30714
|
+
}
|
|
30715
|
+
|
|
30716
|
+
start >>>= 0
|
|
30717
|
+
end >>>= 0
|
|
30718
|
+
thisStart >>>= 0
|
|
30719
|
+
thisEnd >>>= 0
|
|
30720
|
+
|
|
30721
|
+
if (this === target) return 0
|
|
30722
|
+
|
|
30723
|
+
var x = thisEnd - thisStart
|
|
30724
|
+
var y = end - start
|
|
30725
|
+
var len = Math.min(x, y)
|
|
30726
|
+
|
|
30727
|
+
var thisCopy = this.slice(thisStart, thisEnd)
|
|
30728
|
+
var targetCopy = target.slice(start, end)
|
|
30729
|
+
|
|
30730
|
+
for (var i = 0; i < len; ++i) {
|
|
30731
|
+
if (thisCopy[i] !== targetCopy[i]) {
|
|
30732
|
+
x = thisCopy[i]
|
|
30733
|
+
y = targetCopy[i]
|
|
30734
|
+
break
|
|
30735
|
+
}
|
|
30736
|
+
}
|
|
30737
|
+
|
|
30738
|
+
if (x < y) return -1
|
|
30739
|
+
if (y < x) return 1
|
|
30740
|
+
return 0
|
|
30741
|
+
}
|
|
30742
|
+
|
|
30743
|
+
// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
|
|
30744
|
+
// OR the last index of `val` in `buffer` at offset <= `byteOffset`.
|
|
30745
|
+
//
|
|
30746
|
+
// Arguments:
|
|
30747
|
+
// - buffer - a Buffer to search
|
|
30748
|
+
// - val - a string, Buffer, or number
|
|
30749
|
+
// - byteOffset - an index into `buffer`; will be clamped to an int32
|
|
30750
|
+
// - encoding - an optional encoding, relevant is val is a string
|
|
30751
|
+
// - dir - true for indexOf, false for lastIndexOf
|
|
30752
|
+
function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
|
|
30753
|
+
// Empty buffer means no match
|
|
30754
|
+
if (buffer.length === 0) return -1
|
|
30755
|
+
|
|
30756
|
+
// Normalize byteOffset
|
|
30757
|
+
if (typeof byteOffset === 'string') {
|
|
30758
|
+
encoding = byteOffset
|
|
30759
|
+
byteOffset = 0
|
|
30760
|
+
} else if (byteOffset > 0x7fffffff) {
|
|
30761
|
+
byteOffset = 0x7fffffff
|
|
30762
|
+
} else if (byteOffset < -0x80000000) {
|
|
30763
|
+
byteOffset = -0x80000000
|
|
30764
|
+
}
|
|
30765
|
+
byteOffset = +byteOffset // Coerce to Number.
|
|
30766
|
+
if (isNaN(byteOffset)) {
|
|
30767
|
+
// byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
|
|
30768
|
+
byteOffset = dir ? 0 : (buffer.length - 1)
|
|
30769
|
+
}
|
|
30770
|
+
|
|
30771
|
+
// Normalize byteOffset: negative offsets start from the end of the buffer
|
|
30772
|
+
if (byteOffset < 0) byteOffset = buffer.length + byteOffset
|
|
30773
|
+
if (byteOffset >= buffer.length) {
|
|
30774
|
+
if (dir) return -1
|
|
30775
|
+
else byteOffset = buffer.length - 1
|
|
30776
|
+
} else if (byteOffset < 0) {
|
|
30777
|
+
if (dir) byteOffset = 0
|
|
30778
|
+
else return -1
|
|
30779
|
+
}
|
|
30780
|
+
|
|
30781
|
+
// Normalize val
|
|
30782
|
+
if (typeof val === 'string') {
|
|
30783
|
+
val = Buffer.from(val, encoding)
|
|
30784
|
+
}
|
|
30785
|
+
|
|
30786
|
+
// Finally, search either indexOf (if dir is true) or lastIndexOf
|
|
30787
|
+
if (Buffer.isBuffer(val)) {
|
|
30788
|
+
// Special case: looking for empty string/buffer always fails
|
|
30789
|
+
if (val.length === 0) {
|
|
30790
|
+
return -1
|
|
30791
|
+
}
|
|
30792
|
+
return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
|
|
30793
|
+
} else if (typeof val === 'number') {
|
|
30794
|
+
val = val & 0xFF // Search for a byte value [0-255]
|
|
30795
|
+
if (Buffer.TYPED_ARRAY_SUPPORT &&
|
|
30796
|
+
typeof Uint8Array.prototype.indexOf === 'function') {
|
|
30797
|
+
if (dir) {
|
|
30798
|
+
return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
|
|
30799
|
+
} else {
|
|
30800
|
+
return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
|
|
30801
|
+
}
|
|
30802
|
+
}
|
|
30803
|
+
return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
|
|
30804
|
+
}
|
|
30805
|
+
|
|
30806
|
+
throw new TypeError('val must be string, number or Buffer')
|
|
30807
|
+
}
|
|
30808
|
+
|
|
30809
|
+
function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
30810
|
+
var indexSize = 1
|
|
30811
|
+
var arrLength = arr.length
|
|
30812
|
+
var valLength = val.length
|
|
30813
|
+
|
|
30814
|
+
if (encoding !== undefined) {
|
|
30815
|
+
encoding = String(encoding).toLowerCase()
|
|
30816
|
+
if (encoding === 'ucs2' || encoding === 'ucs-2' ||
|
|
30817
|
+
encoding === 'utf16le' || encoding === 'utf-16le') {
|
|
30818
|
+
if (arr.length < 2 || val.length < 2) {
|
|
30819
|
+
return -1
|
|
30820
|
+
}
|
|
30821
|
+
indexSize = 2
|
|
30822
|
+
arrLength /= 2
|
|
30823
|
+
valLength /= 2
|
|
30824
|
+
byteOffset /= 2
|
|
30825
|
+
}
|
|
30826
|
+
}
|
|
30827
|
+
|
|
30828
|
+
function read (buf, i) {
|
|
30829
|
+
if (indexSize === 1) {
|
|
30830
|
+
return buf[i]
|
|
30831
|
+
} else {
|
|
30832
|
+
return buf.readUInt16BE(i * indexSize)
|
|
30833
|
+
}
|
|
30834
|
+
}
|
|
30835
|
+
|
|
30836
|
+
var i
|
|
30837
|
+
if (dir) {
|
|
30838
|
+
var foundIndex = -1
|
|
30839
|
+
for (i = byteOffset; i < arrLength; i++) {
|
|
30840
|
+
if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
|
|
30841
|
+
if (foundIndex === -1) foundIndex = i
|
|
30842
|
+
if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
|
|
30843
|
+
} else {
|
|
30844
|
+
if (foundIndex !== -1) i -= i - foundIndex
|
|
30845
|
+
foundIndex = -1
|
|
30846
|
+
}
|
|
30847
|
+
}
|
|
30848
|
+
} else {
|
|
30849
|
+
if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
|
|
30850
|
+
for (i = byteOffset; i >= 0; i--) {
|
|
30851
|
+
var found = true
|
|
30852
|
+
for (var j = 0; j < valLength; j++) {
|
|
30853
|
+
if (read(arr, i + j) !== read(val, j)) {
|
|
30854
|
+
found = false
|
|
30855
|
+
break
|
|
30856
|
+
}
|
|
30857
|
+
}
|
|
30858
|
+
if (found) return i
|
|
30859
|
+
}
|
|
30860
|
+
}
|
|
30861
|
+
|
|
30862
|
+
return -1
|
|
30863
|
+
}
|
|
30864
|
+
|
|
30865
|
+
Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
|
|
30866
|
+
return this.indexOf(val, byteOffset, encoding) !== -1
|
|
30867
|
+
}
|
|
30868
|
+
|
|
30869
|
+
Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
|
|
30870
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
|
|
30871
|
+
}
|
|
30872
|
+
|
|
30873
|
+
Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
|
|
30874
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
|
|
30875
|
+
}
|
|
30876
|
+
|
|
30877
|
+
function hexWrite (buf, string, offset, length) {
|
|
30878
|
+
offset = Number(offset) || 0
|
|
30879
|
+
var remaining = buf.length - offset
|
|
30880
|
+
if (!length) {
|
|
30881
|
+
length = remaining
|
|
30882
|
+
} else {
|
|
30883
|
+
length = Number(length)
|
|
30884
|
+
if (length > remaining) {
|
|
30885
|
+
length = remaining
|
|
30886
|
+
}
|
|
30887
|
+
}
|
|
30888
|
+
|
|
30889
|
+
// must be an even number of digits
|
|
30890
|
+
var strLen = string.length
|
|
30891
|
+
if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
|
|
30892
|
+
|
|
30893
|
+
if (length > strLen / 2) {
|
|
30894
|
+
length = strLen / 2
|
|
30895
|
+
}
|
|
30896
|
+
for (var i = 0; i < length; ++i) {
|
|
30897
|
+
var parsed = parseInt(string.substr(i * 2, 2), 16)
|
|
30898
|
+
if (isNaN(parsed)) return i
|
|
30899
|
+
buf[offset + i] = parsed
|
|
30900
|
+
}
|
|
30901
|
+
return i
|
|
30902
|
+
}
|
|
30903
|
+
|
|
30904
|
+
function utf8Write (buf, string, offset, length) {
|
|
30905
|
+
return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
|
|
30906
|
+
}
|
|
30907
|
+
|
|
30908
|
+
function asciiWrite (buf, string, offset, length) {
|
|
30909
|
+
return blitBuffer(asciiToBytes(string), buf, offset, length)
|
|
30910
|
+
}
|
|
30911
|
+
|
|
30912
|
+
function latin1Write (buf, string, offset, length) {
|
|
30913
|
+
return asciiWrite(buf, string, offset, length)
|
|
30914
|
+
}
|
|
30915
|
+
|
|
30916
|
+
function base64Write (buf, string, offset, length) {
|
|
30917
|
+
return blitBuffer(base64ToBytes(string), buf, offset, length)
|
|
30918
|
+
}
|
|
30919
|
+
|
|
30920
|
+
function ucs2Write (buf, string, offset, length) {
|
|
30921
|
+
return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
|
|
30922
|
+
}
|
|
30923
|
+
|
|
30924
|
+
Buffer.prototype.write = function write (string, offset, length, encoding) {
|
|
30925
|
+
// Buffer#write(string)
|
|
30926
|
+
if (offset === undefined) {
|
|
30927
|
+
encoding = 'utf8'
|
|
30928
|
+
length = this.length
|
|
30929
|
+
offset = 0
|
|
30930
|
+
// Buffer#write(string, encoding)
|
|
30931
|
+
} else if (length === undefined && typeof offset === 'string') {
|
|
30932
|
+
encoding = offset
|
|
30933
|
+
length = this.length
|
|
30934
|
+
offset = 0
|
|
30935
|
+
// Buffer#write(string, offset[, length][, encoding])
|
|
30936
|
+
} else if (isFinite(offset)) {
|
|
30937
|
+
offset = offset | 0
|
|
30938
|
+
if (isFinite(length)) {
|
|
30939
|
+
length = length | 0
|
|
30940
|
+
if (encoding === undefined) encoding = 'utf8'
|
|
30941
|
+
} else {
|
|
30942
|
+
encoding = length
|
|
30943
|
+
length = undefined
|
|
30944
|
+
}
|
|
30945
|
+
// legacy write(string, encoding, offset, length) - remove in v0.13
|
|
30946
|
+
} else {
|
|
30947
|
+
throw new Error(
|
|
30948
|
+
'Buffer.write(string, encoding, offset[, length]) is no longer supported'
|
|
30949
|
+
)
|
|
30950
|
+
}
|
|
30951
|
+
|
|
30952
|
+
var remaining = this.length - offset
|
|
30953
|
+
if (length === undefined || length > remaining) length = remaining
|
|
30954
|
+
|
|
30955
|
+
if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
|
|
30956
|
+
throw new RangeError('Attempt to write outside buffer bounds')
|
|
30957
|
+
}
|
|
30958
|
+
|
|
30959
|
+
if (!encoding) encoding = 'utf8'
|
|
30960
|
+
|
|
30961
|
+
var loweredCase = false
|
|
30962
|
+
for (;;) {
|
|
30963
|
+
switch (encoding) {
|
|
30964
|
+
case 'hex':
|
|
30965
|
+
return hexWrite(this, string, offset, length)
|
|
30966
|
+
|
|
30967
|
+
case 'utf8':
|
|
30968
|
+
case 'utf-8':
|
|
30969
|
+
return utf8Write(this, string, offset, length)
|
|
30970
|
+
|
|
30971
|
+
case 'ascii':
|
|
30972
|
+
return asciiWrite(this, string, offset, length)
|
|
30973
|
+
|
|
30974
|
+
case 'latin1':
|
|
30975
|
+
case 'binary':
|
|
30976
|
+
return latin1Write(this, string, offset, length)
|
|
30977
|
+
|
|
30978
|
+
case 'base64':
|
|
30979
|
+
// Warning: maxLength not taken into account in base64Write
|
|
30980
|
+
return base64Write(this, string, offset, length)
|
|
30981
|
+
|
|
30982
|
+
case 'ucs2':
|
|
30983
|
+
case 'ucs-2':
|
|
30984
|
+
case 'utf16le':
|
|
30985
|
+
case 'utf-16le':
|
|
30986
|
+
return ucs2Write(this, string, offset, length)
|
|
30987
|
+
|
|
30988
|
+
default:
|
|
30989
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
30990
|
+
encoding = ('' + encoding).toLowerCase()
|
|
30991
|
+
loweredCase = true
|
|
30992
|
+
}
|
|
30993
|
+
}
|
|
30994
|
+
}
|
|
30995
|
+
|
|
30996
|
+
Buffer.prototype.toJSON = function toJSON () {
|
|
30997
|
+
return {
|
|
30998
|
+
type: 'Buffer',
|
|
30999
|
+
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
31000
|
+
}
|
|
31001
|
+
}
|
|
31002
|
+
|
|
31003
|
+
function base64Slice (buf, start, end) {
|
|
31004
|
+
if (start === 0 && end === buf.length) {
|
|
31005
|
+
return base64.fromByteArray(buf)
|
|
31006
|
+
} else {
|
|
31007
|
+
return base64.fromByteArray(buf.slice(start, end))
|
|
31008
|
+
}
|
|
31009
|
+
}
|
|
31010
|
+
|
|
31011
|
+
function utf8Slice (buf, start, end) {
|
|
31012
|
+
end = Math.min(buf.length, end)
|
|
31013
|
+
var res = []
|
|
31014
|
+
|
|
31015
|
+
var i = start
|
|
31016
|
+
while (i < end) {
|
|
31017
|
+
var firstByte = buf[i]
|
|
31018
|
+
var codePoint = null
|
|
31019
|
+
var bytesPerSequence = (firstByte > 0xEF) ? 4
|
|
31020
|
+
: (firstByte > 0xDF) ? 3
|
|
31021
|
+
: (firstByte > 0xBF) ? 2
|
|
31022
|
+
: 1
|
|
31023
|
+
|
|
31024
|
+
if (i + bytesPerSequence <= end) {
|
|
31025
|
+
var secondByte, thirdByte, fourthByte, tempCodePoint
|
|
31026
|
+
|
|
31027
|
+
switch (bytesPerSequence) {
|
|
31028
|
+
case 1:
|
|
31029
|
+
if (firstByte < 0x80) {
|
|
31030
|
+
codePoint = firstByte
|
|
31031
|
+
}
|
|
31032
|
+
break
|
|
31033
|
+
case 2:
|
|
31034
|
+
secondByte = buf[i + 1]
|
|
31035
|
+
if ((secondByte & 0xC0) === 0x80) {
|
|
31036
|
+
tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
|
|
31037
|
+
if (tempCodePoint > 0x7F) {
|
|
31038
|
+
codePoint = tempCodePoint
|
|
31039
|
+
}
|
|
31040
|
+
}
|
|
31041
|
+
break
|
|
31042
|
+
case 3:
|
|
31043
|
+
secondByte = buf[i + 1]
|
|
31044
|
+
thirdByte = buf[i + 2]
|
|
31045
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
|
|
31046
|
+
tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
|
|
31047
|
+
if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
|
|
31048
|
+
codePoint = tempCodePoint
|
|
31049
|
+
}
|
|
31050
|
+
}
|
|
31051
|
+
break
|
|
31052
|
+
case 4:
|
|
31053
|
+
secondByte = buf[i + 1]
|
|
31054
|
+
thirdByte = buf[i + 2]
|
|
31055
|
+
fourthByte = buf[i + 3]
|
|
31056
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
|
|
31057
|
+
tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
|
|
31058
|
+
if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
|
|
31059
|
+
codePoint = tempCodePoint
|
|
31060
|
+
}
|
|
31061
|
+
}
|
|
31062
|
+
}
|
|
31063
|
+
}
|
|
31064
|
+
|
|
31065
|
+
if (codePoint === null) {
|
|
31066
|
+
// we did not generate a valid codePoint so insert a
|
|
31067
|
+
// replacement char (U+FFFD) and advance only 1 byte
|
|
31068
|
+
codePoint = 0xFFFD
|
|
31069
|
+
bytesPerSequence = 1
|
|
31070
|
+
} else if (codePoint > 0xFFFF) {
|
|
31071
|
+
// encode to utf16 (surrogate pair dance)
|
|
31072
|
+
codePoint -= 0x10000
|
|
31073
|
+
res.push(codePoint >>> 10 & 0x3FF | 0xD800)
|
|
31074
|
+
codePoint = 0xDC00 | codePoint & 0x3FF
|
|
31075
|
+
}
|
|
31076
|
+
|
|
31077
|
+
res.push(codePoint)
|
|
31078
|
+
i += bytesPerSequence
|
|
31079
|
+
}
|
|
31080
|
+
|
|
31081
|
+
return decodeCodePointsArray(res)
|
|
31082
|
+
}
|
|
31083
|
+
|
|
31084
|
+
// Based on http://stackoverflow.com/a/22747272/680742, the browser with
|
|
31085
|
+
// the lowest limit is Chrome, with 0x10000 args.
|
|
31086
|
+
// We go 1 magnitude less, for safety
|
|
31087
|
+
var MAX_ARGUMENTS_LENGTH = 0x1000
|
|
31088
|
+
|
|
31089
|
+
function decodeCodePointsArray (codePoints) {
|
|
31090
|
+
var len = codePoints.length
|
|
31091
|
+
if (len <= MAX_ARGUMENTS_LENGTH) {
|
|
31092
|
+
return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
|
|
31093
|
+
}
|
|
31094
|
+
|
|
31095
|
+
// Decode in chunks to avoid "call stack size exceeded".
|
|
31096
|
+
var res = ''
|
|
31097
|
+
var i = 0
|
|
31098
|
+
while (i < len) {
|
|
31099
|
+
res += String.fromCharCode.apply(
|
|
31100
|
+
String,
|
|
31101
|
+
codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
|
|
31102
|
+
)
|
|
31103
|
+
}
|
|
31104
|
+
return res
|
|
31105
|
+
}
|
|
31106
|
+
|
|
31107
|
+
function asciiSlice (buf, start, end) {
|
|
31108
|
+
var ret = ''
|
|
31109
|
+
end = Math.min(buf.length, end)
|
|
31110
|
+
|
|
31111
|
+
for (var i = start; i < end; ++i) {
|
|
31112
|
+
ret += String.fromCharCode(buf[i] & 0x7F)
|
|
31113
|
+
}
|
|
31114
|
+
return ret
|
|
31115
|
+
}
|
|
31116
|
+
|
|
31117
|
+
function latin1Slice (buf, start, end) {
|
|
31118
|
+
var ret = ''
|
|
31119
|
+
end = Math.min(buf.length, end)
|
|
31120
|
+
|
|
31121
|
+
for (var i = start; i < end; ++i) {
|
|
31122
|
+
ret += String.fromCharCode(buf[i])
|
|
31123
|
+
}
|
|
31124
|
+
return ret
|
|
31125
|
+
}
|
|
31126
|
+
|
|
31127
|
+
function hexSlice (buf, start, end) {
|
|
31128
|
+
var len = buf.length
|
|
31129
|
+
|
|
31130
|
+
if (!start || start < 0) start = 0
|
|
31131
|
+
if (!end || end < 0 || end > len) end = len
|
|
31132
|
+
|
|
31133
|
+
var out = ''
|
|
31134
|
+
for (var i = start; i < end; ++i) {
|
|
31135
|
+
out += toHex(buf[i])
|
|
31136
|
+
}
|
|
31137
|
+
return out
|
|
31138
|
+
}
|
|
31139
|
+
|
|
31140
|
+
function utf16leSlice (buf, start, end) {
|
|
31141
|
+
var bytes = buf.slice(start, end)
|
|
31142
|
+
var res = ''
|
|
31143
|
+
for (var i = 0; i < bytes.length; i += 2) {
|
|
31144
|
+
res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
|
|
31145
|
+
}
|
|
31146
|
+
return res
|
|
31147
|
+
}
|
|
31148
|
+
|
|
31149
|
+
Buffer.prototype.slice = function slice (start, end) {
|
|
31150
|
+
var len = this.length
|
|
31151
|
+
start = ~~start
|
|
31152
|
+
end = end === undefined ? len : ~~end
|
|
31153
|
+
|
|
31154
|
+
if (start < 0) {
|
|
31155
|
+
start += len
|
|
31156
|
+
if (start < 0) start = 0
|
|
31157
|
+
} else if (start > len) {
|
|
31158
|
+
start = len
|
|
31159
|
+
}
|
|
31160
|
+
|
|
31161
|
+
if (end < 0) {
|
|
31162
|
+
end += len
|
|
31163
|
+
if (end < 0) end = 0
|
|
31164
|
+
} else if (end > len) {
|
|
31165
|
+
end = len
|
|
31166
|
+
}
|
|
31167
|
+
|
|
31168
|
+
if (end < start) end = start
|
|
31169
|
+
|
|
31170
|
+
var newBuf
|
|
31171
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31172
|
+
newBuf = this.subarray(start, end)
|
|
31173
|
+
newBuf.__proto__ = Buffer.prototype
|
|
31174
|
+
} else {
|
|
31175
|
+
var sliceLen = end - start
|
|
31176
|
+
newBuf = new Buffer(sliceLen, undefined)
|
|
31177
|
+
for (var i = 0; i < sliceLen; ++i) {
|
|
31178
|
+
newBuf[i] = this[i + start]
|
|
31179
|
+
}
|
|
31180
|
+
}
|
|
31181
|
+
|
|
31182
|
+
return newBuf
|
|
31183
|
+
}
|
|
31184
|
+
|
|
31185
|
+
/*
|
|
31186
|
+
* Need to make sure that buffer isn't trying to write out of bounds.
|
|
31187
|
+
*/
|
|
31188
|
+
function checkOffset (offset, ext, length) {
|
|
31189
|
+
if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
|
|
31190
|
+
if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
|
|
31191
|
+
}
|
|
31192
|
+
|
|
31193
|
+
Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
|
|
31194
|
+
offset = offset | 0
|
|
31195
|
+
byteLength = byteLength | 0
|
|
31196
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31197
|
+
|
|
31198
|
+
var val = this[offset]
|
|
31199
|
+
var mul = 1
|
|
31200
|
+
var i = 0
|
|
31201
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31202
|
+
val += this[offset + i] * mul
|
|
31203
|
+
}
|
|
31204
|
+
|
|
31205
|
+
return val
|
|
31206
|
+
}
|
|
31207
|
+
|
|
31208
|
+
Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
|
|
31209
|
+
offset = offset | 0
|
|
31210
|
+
byteLength = byteLength | 0
|
|
31211
|
+
if (!noAssert) {
|
|
31212
|
+
checkOffset(offset, byteLength, this.length)
|
|
31213
|
+
}
|
|
31214
|
+
|
|
31215
|
+
var val = this[offset + --byteLength]
|
|
31216
|
+
var mul = 1
|
|
31217
|
+
while (byteLength > 0 && (mul *= 0x100)) {
|
|
31218
|
+
val += this[offset + --byteLength] * mul
|
|
31219
|
+
}
|
|
31220
|
+
|
|
31221
|
+
return val
|
|
31222
|
+
}
|
|
31223
|
+
|
|
31224
|
+
Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
|
|
31225
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
31226
|
+
return this[offset]
|
|
31227
|
+
}
|
|
31228
|
+
|
|
31229
|
+
Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
|
|
31230
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31231
|
+
return this[offset] | (this[offset + 1] << 8)
|
|
31232
|
+
}
|
|
31233
|
+
|
|
31234
|
+
Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
|
|
31235
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31236
|
+
return (this[offset] << 8) | this[offset + 1]
|
|
31237
|
+
}
|
|
31238
|
+
|
|
31239
|
+
Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
|
|
31240
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31241
|
+
|
|
31242
|
+
return ((this[offset]) |
|
|
31243
|
+
(this[offset + 1] << 8) |
|
|
31244
|
+
(this[offset + 2] << 16)) +
|
|
31245
|
+
(this[offset + 3] * 0x1000000)
|
|
31246
|
+
}
|
|
31247
|
+
|
|
31248
|
+
Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
|
|
31249
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31250
|
+
|
|
31251
|
+
return (this[offset] * 0x1000000) +
|
|
31252
|
+
((this[offset + 1] << 16) |
|
|
31253
|
+
(this[offset + 2] << 8) |
|
|
31254
|
+
this[offset + 3])
|
|
31255
|
+
}
|
|
31256
|
+
|
|
31257
|
+
Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
|
|
31258
|
+
offset = offset | 0
|
|
31259
|
+
byteLength = byteLength | 0
|
|
31260
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31261
|
+
|
|
31262
|
+
var val = this[offset]
|
|
31263
|
+
var mul = 1
|
|
31264
|
+
var i = 0
|
|
31265
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31266
|
+
val += this[offset + i] * mul
|
|
31267
|
+
}
|
|
31268
|
+
mul *= 0x80
|
|
31269
|
+
|
|
31270
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
31271
|
+
|
|
31272
|
+
return val
|
|
31273
|
+
}
|
|
31274
|
+
|
|
31275
|
+
Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
|
|
31276
|
+
offset = offset | 0
|
|
31277
|
+
byteLength = byteLength | 0
|
|
31278
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31279
|
+
|
|
31280
|
+
var i = byteLength
|
|
31281
|
+
var mul = 1
|
|
31282
|
+
var val = this[offset + --i]
|
|
31283
|
+
while (i > 0 && (mul *= 0x100)) {
|
|
31284
|
+
val += this[offset + --i] * mul
|
|
31285
|
+
}
|
|
31286
|
+
mul *= 0x80
|
|
31287
|
+
|
|
31288
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
31289
|
+
|
|
31290
|
+
return val
|
|
31291
|
+
}
|
|
31292
|
+
|
|
31293
|
+
Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
|
|
31294
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
31295
|
+
if (!(this[offset] & 0x80)) return (this[offset])
|
|
31296
|
+
return ((0xff - this[offset] + 1) * -1)
|
|
31297
|
+
}
|
|
31298
|
+
|
|
31299
|
+
Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
|
|
31300
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31301
|
+
var val = this[offset] | (this[offset + 1] << 8)
|
|
31302
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
31303
|
+
}
|
|
31304
|
+
|
|
31305
|
+
Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
|
|
31306
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31307
|
+
var val = this[offset + 1] | (this[offset] << 8)
|
|
31308
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
31309
|
+
}
|
|
31310
|
+
|
|
31311
|
+
Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
|
|
31312
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31313
|
+
|
|
31314
|
+
return (this[offset]) |
|
|
31315
|
+
(this[offset + 1] << 8) |
|
|
31316
|
+
(this[offset + 2] << 16) |
|
|
31317
|
+
(this[offset + 3] << 24)
|
|
31318
|
+
}
|
|
31319
|
+
|
|
31320
|
+
Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
|
|
31321
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31322
|
+
|
|
31323
|
+
return (this[offset] << 24) |
|
|
31324
|
+
(this[offset + 1] << 16) |
|
|
31325
|
+
(this[offset + 2] << 8) |
|
|
31326
|
+
(this[offset + 3])
|
|
31327
|
+
}
|
|
31328
|
+
|
|
31329
|
+
Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
|
|
31330
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31331
|
+
return ieee754.read(this, offset, true, 23, 4)
|
|
31332
|
+
}
|
|
31333
|
+
|
|
31334
|
+
Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
|
|
31335
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31336
|
+
return ieee754.read(this, offset, false, 23, 4)
|
|
31337
|
+
}
|
|
31338
|
+
|
|
31339
|
+
Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
|
|
31340
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
31341
|
+
return ieee754.read(this, offset, true, 52, 8)
|
|
31342
|
+
}
|
|
31343
|
+
|
|
31344
|
+
Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
|
|
31345
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
31346
|
+
return ieee754.read(this, offset, false, 52, 8)
|
|
31347
|
+
}
|
|
31348
|
+
|
|
31349
|
+
function checkInt (buf, value, offset, ext, max, min) {
|
|
31350
|
+
if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
|
|
31351
|
+
if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
|
|
31352
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
31353
|
+
}
|
|
31354
|
+
|
|
31355
|
+
Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
|
|
31356
|
+
value = +value
|
|
31357
|
+
offset = offset | 0
|
|
31358
|
+
byteLength = byteLength | 0
|
|
31359
|
+
if (!noAssert) {
|
|
31360
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
31361
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
31362
|
+
}
|
|
31363
|
+
|
|
31364
|
+
var mul = 1
|
|
31365
|
+
var i = 0
|
|
31366
|
+
this[offset] = value & 0xFF
|
|
31367
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31368
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
31369
|
+
}
|
|
31370
|
+
|
|
31371
|
+
return offset + byteLength
|
|
31372
|
+
}
|
|
31373
|
+
|
|
31374
|
+
Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
|
|
31375
|
+
value = +value
|
|
31376
|
+
offset = offset | 0
|
|
31377
|
+
byteLength = byteLength | 0
|
|
31378
|
+
if (!noAssert) {
|
|
31379
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
31380
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
31381
|
+
}
|
|
31382
|
+
|
|
31383
|
+
var i = byteLength - 1
|
|
31384
|
+
var mul = 1
|
|
31385
|
+
this[offset + i] = value & 0xFF
|
|
31386
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
31387
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
31388
|
+
}
|
|
31389
|
+
|
|
31390
|
+
return offset + byteLength
|
|
31391
|
+
}
|
|
31392
|
+
|
|
31393
|
+
Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
|
|
31394
|
+
value = +value
|
|
31395
|
+
offset = offset | 0
|
|
31396
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
|
|
31397
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
31398
|
+
this[offset] = (value & 0xff)
|
|
31399
|
+
return offset + 1
|
|
31400
|
+
}
|
|
31401
|
+
|
|
31402
|
+
function objectWriteUInt16 (buf, value, offset, littleEndian) {
|
|
31403
|
+
if (value < 0) value = 0xffff + value + 1
|
|
31404
|
+
for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
|
|
31405
|
+
buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
|
|
31406
|
+
(littleEndian ? i : 1 - i) * 8
|
|
31407
|
+
}
|
|
31408
|
+
}
|
|
31409
|
+
|
|
31410
|
+
Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
|
|
31411
|
+
value = +value
|
|
31412
|
+
offset = offset | 0
|
|
31413
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
31414
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31415
|
+
this[offset] = (value & 0xff)
|
|
31416
|
+
this[offset + 1] = (value >>> 8)
|
|
31417
|
+
} else {
|
|
31418
|
+
objectWriteUInt16(this, value, offset, true)
|
|
31419
|
+
}
|
|
31420
|
+
return offset + 2
|
|
31421
|
+
}
|
|
31422
|
+
|
|
31423
|
+
Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
|
|
31424
|
+
value = +value
|
|
31425
|
+
offset = offset | 0
|
|
31426
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
31427
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31428
|
+
this[offset] = (value >>> 8)
|
|
31429
|
+
this[offset + 1] = (value & 0xff)
|
|
31430
|
+
} else {
|
|
31431
|
+
objectWriteUInt16(this, value, offset, false)
|
|
31432
|
+
}
|
|
31433
|
+
return offset + 2
|
|
31434
|
+
}
|
|
31435
|
+
|
|
31436
|
+
function objectWriteUInt32 (buf, value, offset, littleEndian) {
|
|
31437
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
31438
|
+
for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
|
|
31439
|
+
buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
|
|
31440
|
+
}
|
|
31441
|
+
}
|
|
31442
|
+
|
|
31443
|
+
Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
|
|
31444
|
+
value = +value
|
|
31445
|
+
offset = offset | 0
|
|
31446
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
31447
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31448
|
+
this[offset + 3] = (value >>> 24)
|
|
31449
|
+
this[offset + 2] = (value >>> 16)
|
|
31450
|
+
this[offset + 1] = (value >>> 8)
|
|
31451
|
+
this[offset] = (value & 0xff)
|
|
31452
|
+
} else {
|
|
31453
|
+
objectWriteUInt32(this, value, offset, true)
|
|
31454
|
+
}
|
|
31455
|
+
return offset + 4
|
|
31456
|
+
}
|
|
31457
|
+
|
|
31458
|
+
Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
|
|
31459
|
+
value = +value
|
|
31460
|
+
offset = offset | 0
|
|
31461
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
31462
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31463
|
+
this[offset] = (value >>> 24)
|
|
31464
|
+
this[offset + 1] = (value >>> 16)
|
|
31465
|
+
this[offset + 2] = (value >>> 8)
|
|
31466
|
+
this[offset + 3] = (value & 0xff)
|
|
31467
|
+
} else {
|
|
31468
|
+
objectWriteUInt32(this, value, offset, false)
|
|
31469
|
+
}
|
|
31470
|
+
return offset + 4
|
|
31471
|
+
}
|
|
31472
|
+
|
|
31473
|
+
Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
|
|
31474
|
+
value = +value
|
|
31475
|
+
offset = offset | 0
|
|
31476
|
+
if (!noAssert) {
|
|
31477
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
31478
|
+
|
|
31479
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
31480
|
+
}
|
|
31481
|
+
|
|
31482
|
+
var i = 0
|
|
31483
|
+
var mul = 1
|
|
31484
|
+
var sub = 0
|
|
31485
|
+
this[offset] = value & 0xFF
|
|
31486
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31487
|
+
if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
|
|
31488
|
+
sub = 1
|
|
31489
|
+
}
|
|
31490
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
31491
|
+
}
|
|
31492
|
+
|
|
31493
|
+
return offset + byteLength
|
|
31494
|
+
}
|
|
31495
|
+
|
|
31496
|
+
Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
|
|
31497
|
+
value = +value
|
|
31498
|
+
offset = offset | 0
|
|
31499
|
+
if (!noAssert) {
|
|
31500
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
31501
|
+
|
|
31502
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
31503
|
+
}
|
|
31504
|
+
|
|
31505
|
+
var i = byteLength - 1
|
|
31506
|
+
var mul = 1
|
|
31507
|
+
var sub = 0
|
|
31508
|
+
this[offset + i] = value & 0xFF
|
|
31509
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
31510
|
+
if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
|
|
31511
|
+
sub = 1
|
|
31512
|
+
}
|
|
31513
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
31514
|
+
}
|
|
31515
|
+
|
|
31516
|
+
return offset + byteLength
|
|
31517
|
+
}
|
|
31518
|
+
|
|
31519
|
+
Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
31520
|
+
value = +value
|
|
31521
|
+
offset = offset | 0
|
|
31522
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
|
|
31523
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
31524
|
+
if (value < 0) value = 0xff + value + 1
|
|
31525
|
+
this[offset] = (value & 0xff)
|
|
31526
|
+
return offset + 1
|
|
31527
|
+
}
|
|
31528
|
+
|
|
31529
|
+
Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
|
|
31530
|
+
value = +value
|
|
31531
|
+
offset = offset | 0
|
|
31532
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
31533
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31534
|
+
this[offset] = (value & 0xff)
|
|
31535
|
+
this[offset + 1] = (value >>> 8)
|
|
31536
|
+
} else {
|
|
31537
|
+
objectWriteUInt16(this, value, offset, true)
|
|
31538
|
+
}
|
|
31539
|
+
return offset + 2
|
|
31540
|
+
}
|
|
31541
|
+
|
|
31542
|
+
Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
|
|
31543
|
+
value = +value
|
|
31544
|
+
offset = offset | 0
|
|
31545
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
31546
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31547
|
+
this[offset] = (value >>> 8)
|
|
31548
|
+
this[offset + 1] = (value & 0xff)
|
|
31549
|
+
} else {
|
|
31550
|
+
objectWriteUInt16(this, value, offset, false)
|
|
31551
|
+
}
|
|
31552
|
+
return offset + 2
|
|
31553
|
+
}
|
|
31554
|
+
|
|
31555
|
+
Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
|
|
31556
|
+
value = +value
|
|
31557
|
+
offset = offset | 0
|
|
31558
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
31559
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31560
|
+
this[offset] = (value & 0xff)
|
|
31561
|
+
this[offset + 1] = (value >>> 8)
|
|
31562
|
+
this[offset + 2] = (value >>> 16)
|
|
31563
|
+
this[offset + 3] = (value >>> 24)
|
|
31564
|
+
} else {
|
|
31565
|
+
objectWriteUInt32(this, value, offset, true)
|
|
31566
|
+
}
|
|
31567
|
+
return offset + 4
|
|
31568
|
+
}
|
|
31569
|
+
|
|
31570
|
+
Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
|
|
31571
|
+
value = +value
|
|
31572
|
+
offset = offset | 0
|
|
31573
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
31574
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
31575
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31576
|
+
this[offset] = (value >>> 24)
|
|
31577
|
+
this[offset + 1] = (value >>> 16)
|
|
31578
|
+
this[offset + 2] = (value >>> 8)
|
|
31579
|
+
this[offset + 3] = (value & 0xff)
|
|
31580
|
+
} else {
|
|
31581
|
+
objectWriteUInt32(this, value, offset, false)
|
|
31582
|
+
}
|
|
31583
|
+
return offset + 4
|
|
31584
|
+
}
|
|
31585
|
+
|
|
31586
|
+
function checkIEEE754 (buf, value, offset, ext, max, min) {
|
|
31587
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
31588
|
+
if (offset < 0) throw new RangeError('Index out of range')
|
|
31589
|
+
}
|
|
31590
|
+
|
|
31591
|
+
function writeFloat (buf, value, offset, littleEndian, noAssert) {
|
|
31592
|
+
if (!noAssert) {
|
|
31593
|
+
checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
|
|
31594
|
+
}
|
|
31595
|
+
ieee754.write(buf, value, offset, littleEndian, 23, 4)
|
|
31596
|
+
return offset + 4
|
|
31597
|
+
}
|
|
31598
|
+
|
|
31599
|
+
Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
|
|
31600
|
+
return writeFloat(this, value, offset, true, noAssert)
|
|
31601
|
+
}
|
|
31602
|
+
|
|
31603
|
+
Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
|
|
31604
|
+
return writeFloat(this, value, offset, false, noAssert)
|
|
31605
|
+
}
|
|
31606
|
+
|
|
31607
|
+
function writeDouble (buf, value, offset, littleEndian, noAssert) {
|
|
31608
|
+
if (!noAssert) {
|
|
31609
|
+
checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
|
|
31610
|
+
}
|
|
31611
|
+
ieee754.write(buf, value, offset, littleEndian, 52, 8)
|
|
31612
|
+
return offset + 8
|
|
31613
|
+
}
|
|
31614
|
+
|
|
31615
|
+
Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
|
|
31616
|
+
return writeDouble(this, value, offset, true, noAssert)
|
|
31617
|
+
}
|
|
31618
|
+
|
|
31619
|
+
Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
|
|
31620
|
+
return writeDouble(this, value, offset, false, noAssert)
|
|
31621
|
+
}
|
|
31622
|
+
|
|
31623
|
+
// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
|
|
31624
|
+
Buffer.prototype.copy = function copy (target, targetStart, start, end) {
|
|
31625
|
+
if (!start) start = 0
|
|
31626
|
+
if (!end && end !== 0) end = this.length
|
|
31627
|
+
if (targetStart >= target.length) targetStart = target.length
|
|
31628
|
+
if (!targetStart) targetStart = 0
|
|
31629
|
+
if (end > 0 && end < start) end = start
|
|
31630
|
+
|
|
31631
|
+
// Copy 0 bytes; we're done
|
|
31632
|
+
if (end === start) return 0
|
|
31633
|
+
if (target.length === 0 || this.length === 0) return 0
|
|
31634
|
+
|
|
31635
|
+
// Fatal error conditions
|
|
31636
|
+
if (targetStart < 0) {
|
|
31637
|
+
throw new RangeError('targetStart out of bounds')
|
|
31638
|
+
}
|
|
31639
|
+
if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
|
|
31640
|
+
if (end < 0) throw new RangeError('sourceEnd out of bounds')
|
|
31641
|
+
|
|
31642
|
+
// Are we oob?
|
|
31643
|
+
if (end > this.length) end = this.length
|
|
31644
|
+
if (target.length - targetStart < end - start) {
|
|
31645
|
+
end = target.length - targetStart + start
|
|
31646
|
+
}
|
|
31647
|
+
|
|
31648
|
+
var len = end - start
|
|
31649
|
+
var i
|
|
31650
|
+
|
|
31651
|
+
if (this === target && start < targetStart && targetStart < end) {
|
|
31652
|
+
// descending copy from end
|
|
31653
|
+
for (i = len - 1; i >= 0; --i) {
|
|
31654
|
+
target[i + targetStart] = this[i + start]
|
|
31655
|
+
}
|
|
31656
|
+
} else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31657
|
+
// ascending copy from start
|
|
31658
|
+
for (i = 0; i < len; ++i) {
|
|
31659
|
+
target[i + targetStart] = this[i + start]
|
|
31660
|
+
}
|
|
31661
|
+
} else {
|
|
31662
|
+
Uint8Array.prototype.set.call(
|
|
31663
|
+
target,
|
|
31664
|
+
this.subarray(start, start + len),
|
|
31665
|
+
targetStart
|
|
31666
|
+
)
|
|
31667
|
+
}
|
|
31668
|
+
|
|
31669
|
+
return len
|
|
31670
|
+
}
|
|
31671
|
+
|
|
31672
|
+
// Usage:
|
|
31673
|
+
// buffer.fill(number[, offset[, end]])
|
|
31674
|
+
// buffer.fill(buffer[, offset[, end]])
|
|
31675
|
+
// buffer.fill(string[, offset[, end]][, encoding])
|
|
31676
|
+
Buffer.prototype.fill = function fill (val, start, end, encoding) {
|
|
31677
|
+
// Handle string cases:
|
|
31678
|
+
if (typeof val === 'string') {
|
|
31679
|
+
if (typeof start === 'string') {
|
|
31680
|
+
encoding = start
|
|
31681
|
+
start = 0
|
|
31682
|
+
end = this.length
|
|
31683
|
+
} else if (typeof end === 'string') {
|
|
31684
|
+
encoding = end
|
|
31685
|
+
end = this.length
|
|
31686
|
+
}
|
|
31687
|
+
if (val.length === 1) {
|
|
31688
|
+
var code = val.charCodeAt(0)
|
|
31689
|
+
if (code < 256) {
|
|
31690
|
+
val = code
|
|
31691
|
+
}
|
|
31692
|
+
}
|
|
31693
|
+
if (encoding !== undefined && typeof encoding !== 'string') {
|
|
31694
|
+
throw new TypeError('encoding must be a string')
|
|
31695
|
+
}
|
|
31696
|
+
if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
|
|
31697
|
+
throw new TypeError('Unknown encoding: ' + encoding)
|
|
31698
|
+
}
|
|
31699
|
+
} else if (typeof val === 'number') {
|
|
31700
|
+
val = val & 255
|
|
31701
|
+
}
|
|
31702
|
+
|
|
31703
|
+
// Invalid ranges are not set to a default, so can range check early.
|
|
31704
|
+
if (start < 0 || this.length < start || this.length < end) {
|
|
31705
|
+
throw new RangeError('Out of range index')
|
|
31706
|
+
}
|
|
31707
|
+
|
|
31708
|
+
if (end <= start) {
|
|
31709
|
+
return this
|
|
31710
|
+
}
|
|
31711
|
+
|
|
31712
|
+
start = start >>> 0
|
|
31713
|
+
end = end === undefined ? this.length : end >>> 0
|
|
31714
|
+
|
|
31715
|
+
if (!val) val = 0
|
|
31716
|
+
|
|
31717
|
+
var i
|
|
31718
|
+
if (typeof val === 'number') {
|
|
31719
|
+
for (i = start; i < end; ++i) {
|
|
31720
|
+
this[i] = val
|
|
31721
|
+
}
|
|
31722
|
+
} else {
|
|
31723
|
+
var bytes = Buffer.isBuffer(val)
|
|
31724
|
+
? val
|
|
31725
|
+
: utf8ToBytes(new Buffer(val, encoding).toString())
|
|
31726
|
+
var len = bytes.length
|
|
31727
|
+
for (i = 0; i < end - start; ++i) {
|
|
31728
|
+
this[i + start] = bytes[i % len]
|
|
31729
|
+
}
|
|
31730
|
+
}
|
|
31731
|
+
|
|
31732
|
+
return this
|
|
31733
|
+
}
|
|
31734
|
+
|
|
31735
|
+
// HELPER FUNCTIONS
|
|
31736
|
+
// ================
|
|
31737
|
+
|
|
31738
|
+
var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
|
|
31739
|
+
|
|
31740
|
+
function base64clean (str) {
|
|
31741
|
+
// Node strips out invalid characters like \n and \t from the string, base64-js does not
|
|
31742
|
+
str = stringtrim(str).replace(INVALID_BASE64_RE, '')
|
|
31743
|
+
// Node converts strings with length < 2 to ''
|
|
31744
|
+
if (str.length < 2) return ''
|
|
31745
|
+
// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
|
|
31746
|
+
while (str.length % 4 !== 0) {
|
|
31747
|
+
str = str + '='
|
|
31748
|
+
}
|
|
31749
|
+
return str
|
|
31750
|
+
}
|
|
31751
|
+
|
|
31752
|
+
function stringtrim (str) {
|
|
31753
|
+
if (str.trim) return str.trim()
|
|
31754
|
+
return str.replace(/^\s+|\s+$/g, '')
|
|
31755
|
+
}
|
|
31756
|
+
|
|
31757
|
+
function toHex (n) {
|
|
31758
|
+
if (n < 16) return '0' + n.toString(16)
|
|
31759
|
+
return n.toString(16)
|
|
31760
|
+
}
|
|
31761
|
+
|
|
31762
|
+
function utf8ToBytes (string, units) {
|
|
31763
|
+
units = units || Infinity
|
|
31764
|
+
var codePoint
|
|
31765
|
+
var length = string.length
|
|
31766
|
+
var leadSurrogate = null
|
|
31767
|
+
var bytes = []
|
|
31768
|
+
|
|
31769
|
+
for (var i = 0; i < length; ++i) {
|
|
31770
|
+
codePoint = string.charCodeAt(i)
|
|
31771
|
+
|
|
31772
|
+
// is surrogate component
|
|
31773
|
+
if (codePoint > 0xD7FF && codePoint < 0xE000) {
|
|
31774
|
+
// last char was a lead
|
|
31775
|
+
if (!leadSurrogate) {
|
|
31776
|
+
// no lead yet
|
|
31777
|
+
if (codePoint > 0xDBFF) {
|
|
31778
|
+
// unexpected trail
|
|
31779
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31780
|
+
continue
|
|
31781
|
+
} else if (i + 1 === length) {
|
|
31782
|
+
// unpaired lead
|
|
31783
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31784
|
+
continue
|
|
31785
|
+
}
|
|
31786
|
+
|
|
31787
|
+
// valid lead
|
|
31788
|
+
leadSurrogate = codePoint
|
|
31789
|
+
|
|
31790
|
+
continue
|
|
31791
|
+
}
|
|
31792
|
+
|
|
31793
|
+
// 2 leads in a row
|
|
31794
|
+
if (codePoint < 0xDC00) {
|
|
31795
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31796
|
+
leadSurrogate = codePoint
|
|
31797
|
+
continue
|
|
31798
|
+
}
|
|
31799
|
+
|
|
31800
|
+
// valid surrogate pair
|
|
31801
|
+
codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
|
|
31802
|
+
} else if (leadSurrogate) {
|
|
31803
|
+
// valid bmp char, but last char was a lead
|
|
31804
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31805
|
+
}
|
|
31806
|
+
|
|
31807
|
+
leadSurrogate = null
|
|
31808
|
+
|
|
31809
|
+
// encode utf8
|
|
31810
|
+
if (codePoint < 0x80) {
|
|
31811
|
+
if ((units -= 1) < 0) break
|
|
31812
|
+
bytes.push(codePoint)
|
|
31813
|
+
} else if (codePoint < 0x800) {
|
|
31814
|
+
if ((units -= 2) < 0) break
|
|
31815
|
+
bytes.push(
|
|
31816
|
+
codePoint >> 0x6 | 0xC0,
|
|
31817
|
+
codePoint & 0x3F | 0x80
|
|
31818
|
+
)
|
|
31819
|
+
} else if (codePoint < 0x10000) {
|
|
31820
|
+
if ((units -= 3) < 0) break
|
|
31821
|
+
bytes.push(
|
|
31822
|
+
codePoint >> 0xC | 0xE0,
|
|
31823
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
31824
|
+
codePoint & 0x3F | 0x80
|
|
31825
|
+
)
|
|
31826
|
+
} else if (codePoint < 0x110000) {
|
|
31827
|
+
if ((units -= 4) < 0) break
|
|
31828
|
+
bytes.push(
|
|
31829
|
+
codePoint >> 0x12 | 0xF0,
|
|
31830
|
+
codePoint >> 0xC & 0x3F | 0x80,
|
|
31831
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
31832
|
+
codePoint & 0x3F | 0x80
|
|
31833
|
+
)
|
|
31834
|
+
} else {
|
|
31835
|
+
throw new Error('Invalid code point')
|
|
31836
|
+
}
|
|
31837
|
+
}
|
|
31838
|
+
|
|
31839
|
+
return bytes
|
|
31840
|
+
}
|
|
31841
|
+
|
|
31842
|
+
function asciiToBytes (str) {
|
|
31843
|
+
var byteArray = []
|
|
31844
|
+
for (var i = 0; i < str.length; ++i) {
|
|
31845
|
+
// Node's code seems to be doing this and not & 0x7F..
|
|
31846
|
+
byteArray.push(str.charCodeAt(i) & 0xFF)
|
|
31847
|
+
}
|
|
31848
|
+
return byteArray
|
|
31849
|
+
}
|
|
31850
|
+
|
|
31851
|
+
function utf16leToBytes (str, units) {
|
|
31852
|
+
var c, hi, lo
|
|
31853
|
+
var byteArray = []
|
|
31854
|
+
for (var i = 0; i < str.length; ++i) {
|
|
31855
|
+
if ((units -= 2) < 0) break
|
|
31856
|
+
|
|
31857
|
+
c = str.charCodeAt(i)
|
|
31858
|
+
hi = c >> 8
|
|
31859
|
+
lo = c % 256
|
|
31860
|
+
byteArray.push(lo)
|
|
31861
|
+
byteArray.push(hi)
|
|
31862
|
+
}
|
|
31863
|
+
|
|
31864
|
+
return byteArray
|
|
31865
|
+
}
|
|
31866
|
+
|
|
31867
|
+
function base64ToBytes (str) {
|
|
31868
|
+
return base64.toByteArray(base64clean(str))
|
|
31869
|
+
}
|
|
31870
|
+
|
|
31871
|
+
function blitBuffer (src, dst, offset, length) {
|
|
31872
|
+
for (var i = 0; i < length; ++i) {
|
|
31873
|
+
if ((i + offset >= dst.length) || (i >= src.length)) break
|
|
31874
|
+
dst[i + offset] = src[i]
|
|
31875
|
+
}
|
|
31876
|
+
return i
|
|
31877
|
+
}
|
|
31878
|
+
|
|
31879
|
+
function isnan (val) {
|
|
31880
|
+
return val !== val // eslint-disable-line no-self-compare
|
|
31881
|
+
}
|
|
31882
|
+
|
|
31883
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
31884
|
+
|
|
29837
31885
|
/***/ }),
|
|
29838
31886
|
|
|
29839
31887
|
/***/ "b64b":
|
|
@@ -34862,6 +36910,18 @@ module.exports = {
|
|
|
34862
36910
|
}
|
|
34863
36911
|
};
|
|
34864
36912
|
|
|
36913
|
+
/***/ }),
|
|
36914
|
+
|
|
36915
|
+
/***/ "e3db":
|
|
36916
|
+
/***/ (function(module, exports) {
|
|
36917
|
+
|
|
36918
|
+
var toString = {}.toString;
|
|
36919
|
+
|
|
36920
|
+
module.exports = Array.isArray || function (arr) {
|
|
36921
|
+
return toString.call(arr) == '[object Array]';
|
|
36922
|
+
};
|
|
36923
|
+
|
|
36924
|
+
|
|
34865
36925
|
/***/ }),
|
|
34866
36926
|
|
|
34867
36927
|
/***/ "e439":
|
|
@@ -37003,12 +39063,12 @@ if (typeof window !== 'undefined') {
|
|
|
37003
39063
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
37004
39064
|
var vue_runtime_esm = __webpack_require__("2b0e");
|
|
37005
39065
|
|
|
37006
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39066
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39067
|
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
39068
|
var staticRenderFns = []
|
|
37009
39069
|
|
|
37010
39070
|
|
|
37011
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=
|
|
39071
|
+
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=525f63a4&
|
|
37012
39072
|
|
|
37013
39073
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
37014
39074
|
var es_array_for_each = __webpack_require__("4160");
|
|
@@ -37377,14 +39437,14 @@ var removeCallingCode_removeCallingCode = function removeCallingCode(phoneNumber
|
|
|
37377
39437
|
};
|
|
37378
39438
|
|
|
37379
39439
|
/* 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":"
|
|
39440
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39441
|
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
39442
|
var AppLayoutvue_type_template_id_6944d6ad_staticRenderFns = []
|
|
37383
39443
|
|
|
37384
39444
|
|
|
37385
39445
|
// CONCATENATED MODULE: ./src/components/AppLayout.vue?vue&type=template&id=6944d6ad&
|
|
37386
39446
|
|
|
37387
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39447
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39448
|
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
39449
|
var AppFootervue_type_template_id_44d30f7c_staticRenderFns = []
|
|
37390
39450
|
|
|
@@ -37529,7 +39589,7 @@ var component = normalizeComponent(
|
|
|
37529
39589
|
)
|
|
37530
39590
|
|
|
37531
39591
|
/* harmony default export */ var AppFooter = (component.exports);
|
|
37532
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39592
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39593
|
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
39594
|
var AppHeadervue_type_template_id_832d58bc_staticRenderFns = []
|
|
37535
39595
|
|
|
@@ -37574,14 +39634,14 @@ var AppHeader_component = normalizeComponent(
|
|
|
37574
39634
|
)
|
|
37575
39635
|
|
|
37576
39636
|
/* 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":"
|
|
39637
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39638
|
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
39639
|
var LoadingOverlayvue_type_template_id_95dd2808_staticRenderFns = []
|
|
37580
39640
|
|
|
37581
39641
|
|
|
37582
39642
|
// CONCATENATED MODULE: ./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
37583
39643
|
|
|
37584
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39644
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39645
|
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
39646
|
var AppSpinnervue_type_template_id_85241afa_staticRenderFns = []
|
|
37587
39647
|
|
|
@@ -37780,7 +39840,7 @@ var LoadingOverlay_component = normalizeComponent(
|
|
|
37780
39840
|
)
|
|
37781
39841
|
|
|
37782
39842
|
/* 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":"
|
|
39843
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39844
|
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
39845
|
var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
37786
39846
|
|
|
@@ -37790,7 +39850,7 @@ var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
|
37790
39850
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
37791
39851
|
var es_array_map = __webpack_require__("d81d");
|
|
37792
39852
|
|
|
37793
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39853
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39854
|
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
39855
|
var AppAlertvue_type_template_id_69107074_staticRenderFns = []
|
|
37796
39856
|
|
|
@@ -37899,14 +39959,14 @@ var FlashMessages_component = normalizeComponent(
|
|
|
37899
39959
|
)
|
|
37900
39960
|
|
|
37901
39961
|
/* 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":"
|
|
39962
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39963
|
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
39964
|
var HeaderContentCountryvue_type_template_id_731f6bea_staticRenderFns = []
|
|
37905
39965
|
|
|
37906
39966
|
|
|
37907
39967
|
// CONCATENATED MODULE: ./src/components/HeaderContentCountry.vue?vue&type=template&id=731f6bea&
|
|
37908
39968
|
|
|
37909
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39969
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39970
|
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
39971
|
var option = ref.option;
|
|
37912
39972
|
return [_c('div',{staticClass:"vs__selected"},[_c('CountrySelectOption',{attrs:{"option":option}})],1)]}},{key:"open-indicator",fn:function(ref){
|
|
@@ -37917,7 +39977,7 @@ var CountrySelectvue_type_template_id_195d547a_staticRenderFns = []
|
|
|
37917
39977
|
|
|
37918
39978
|
// CONCATENATED MODULE: ./src/components/CountrySelect.vue?vue&type=template&id=195d547a&
|
|
37919
39979
|
|
|
37920
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39980
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
39981
|
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
39982
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_staticRenderFns = []
|
|
37923
39983
|
|
|
@@ -38158,14 +40218,14 @@ var HeaderContentCountry_component = normalizeComponent(
|
|
|
38158
40218
|
)
|
|
38159
40219
|
|
|
38160
40220
|
/* 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":"
|
|
40221
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40222
|
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
40223
|
var HeaderContentSubViewvue_type_template_id_f18aa962_staticRenderFns = []
|
|
38164
40224
|
|
|
38165
40225
|
|
|
38166
40226
|
// CONCATENATED MODULE: ./src/components/HeaderContentSubView.vue?vue&type=template&id=f18aa962&
|
|
38167
40227
|
|
|
38168
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40228
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40229
|
var BackButtonvue_type_template_id_74078486_render = function () {
|
|
38170
40230
|
var _obj;
|
|
38171
40231
|
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 +40372,7 @@ var HeaderContentSubView_component = normalizeComponent(
|
|
|
38312
40372
|
)
|
|
38313
40373
|
|
|
38314
40374
|
/* 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":"
|
|
40375
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40376
|
var MethodSelectionvue_type_template_id_510fefee_render = function () {
|
|
38317
40377
|
var _obj;
|
|
38318
40378
|
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 +40426,21 @@ function _asyncToGenerator(fn) {
|
|
|
38366
40426
|
});
|
|
38367
40427
|
};
|
|
38368
40428
|
}
|
|
38369
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40429
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40430
|
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
40431
|
var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
|
|
38372
40432
|
|
|
38373
40433
|
|
|
38374
40434
|
// CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
38375
40435
|
|
|
38376
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40436
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40437
|
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
40438
|
var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
|
|
38379
40439
|
|
|
38380
40440
|
|
|
38381
40441
|
// CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
38382
40442
|
|
|
38383
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40443
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40444
|
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
40445
|
var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
|
|
38386
40446
|
|
|
@@ -38473,7 +40533,7 @@ var IdCardButton_component = normalizeComponent(
|
|
|
38473
40533
|
)
|
|
38474
40534
|
|
|
38475
40535
|
/* 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":"
|
|
40536
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40537
|
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
40538
|
var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
|
|
38479
40539
|
|
|
@@ -38528,7 +40588,7 @@ var IdCardButtonEE_component = normalizeComponent(
|
|
|
38528
40588
|
)
|
|
38529
40589
|
|
|
38530
40590
|
/* 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":"
|
|
40591
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40592
|
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
40593
|
var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
|
|
38534
40594
|
|
|
@@ -38583,7 +40643,7 @@ var SmartIdButton_component = normalizeComponent(
|
|
|
38583
40643
|
)
|
|
38584
40644
|
|
|
38585
40645
|
/* 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":"
|
|
40646
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40647
|
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
40648
|
var MobileIdButtonvue_type_template_id_ba752324_staticRenderFns = []
|
|
38589
40649
|
|
|
@@ -38638,7 +40698,7 @@ var MobileIdButton_component = normalizeComponent(
|
|
|
38638
40698
|
)
|
|
38639
40699
|
|
|
38640
40700
|
/* 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":"
|
|
40701
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40702
|
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
40703
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_staticRenderFns = []
|
|
38644
40704
|
|
|
@@ -38693,7 +40753,7 @@ var MobileIdButtonEE_component = normalizeComponent(
|
|
|
38693
40753
|
)
|
|
38694
40754
|
|
|
38695
40755
|
/* 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":"
|
|
40756
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40757
|
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
40758
|
var EparakstsMobileButtonvue_type_template_id_88907130_staticRenderFns = []
|
|
38699
40759
|
|
|
@@ -38748,7 +40808,7 @@ var EparakstsMobileButton_component = normalizeComponent(
|
|
|
38748
40808
|
)
|
|
38749
40809
|
|
|
38750
40810
|
/* 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":"
|
|
40811
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40812
|
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
40813
|
var FrejaEidButtonvue_type_template_id_c62614cc_staticRenderFns = []
|
|
38754
40814
|
|
|
@@ -38803,7 +40863,7 @@ var FrejaEidButton_component = normalizeComponent(
|
|
|
38803
40863
|
)
|
|
38804
40864
|
|
|
38805
40865
|
/* 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":"
|
|
40866
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40867
|
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
40868
|
var ZealIdButtonvue_type_template_id_cc1917ce_staticRenderFns = []
|
|
38809
40869
|
|
|
@@ -38858,7 +40918,7 @@ var ZealIdButton_component = normalizeComponent(
|
|
|
38858
40918
|
)
|
|
38859
40919
|
|
|
38860
40920
|
/* 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":"
|
|
40921
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40922
|
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
40923
|
var IdCardButtonBevue_type_template_id_706e58f9_staticRenderFns = []
|
|
38864
40924
|
|
|
@@ -38913,7 +40973,7 @@ var IdCardButtonBe_component = normalizeComponent(
|
|
|
38913
40973
|
)
|
|
38914
40974
|
|
|
38915
40975
|
/* 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":"
|
|
40976
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
40977
|
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
40978
|
var MojeIdButtonvue_type_template_id_4d0b2384_staticRenderFns = []
|
|
38919
40979
|
|
|
@@ -38968,7 +41028,7 @@ var MojeIdButton_component = normalizeComponent(
|
|
|
38968
41028
|
)
|
|
38969
41029
|
|
|
38970
41030
|
/* 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":"
|
|
41031
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41032
|
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
41033
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_staticRenderFns = []
|
|
38974
41034
|
|
|
@@ -39005,7 +41065,7 @@ var FinnishTrustNetworkButton_component = normalizeComponent(
|
|
|
39005
41065
|
)
|
|
39006
41066
|
|
|
39007
41067
|
/* 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":"
|
|
41068
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41069
|
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
41070
|
var AtHandyButtonvue_type_template_id_10386e1a_staticRenderFns = []
|
|
39011
41071
|
|
|
@@ -39060,7 +41120,7 @@ var AtHandyButton_component = normalizeComponent(
|
|
|
39060
41120
|
)
|
|
39061
41121
|
|
|
39062
41122
|
/* 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":"
|
|
41123
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41124
|
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
41125
|
var IdCardButtonFivue_type_template_id_d5d98516_staticRenderFns = []
|
|
39066
41126
|
|
|
@@ -39115,7 +41175,7 @@ var IdCardButtonFi_component = normalizeComponent(
|
|
|
39115
41175
|
)
|
|
39116
41176
|
|
|
39117
41177
|
/* 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":"
|
|
41178
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41179
|
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
41180
|
var IdCardButtonLvvue_type_template_id_e8b99834_staticRenderFns = []
|
|
39121
41181
|
|
|
@@ -39170,7 +41230,7 @@ var IdCardButtonLv_component = normalizeComponent(
|
|
|
39170
41230
|
)
|
|
39171
41231
|
|
|
39172
41232
|
/* 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":"
|
|
41233
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41234
|
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
41235
|
var IdCardButtonPtvue_type_template_id_b726caca_staticRenderFns = []
|
|
39176
41236
|
|
|
@@ -39225,7 +41285,7 @@ var IdCardButtonPt_component = normalizeComponent(
|
|
|
39225
41285
|
)
|
|
39226
41286
|
|
|
39227
41287
|
/* 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":"
|
|
41288
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41289
|
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
41290
|
var OtpButtonvue_type_template_id_4585c7b9_staticRenderFns = []
|
|
39231
41291
|
|
|
@@ -39262,7 +41322,7 @@ var OtpButton_component = normalizeComponent(
|
|
|
39262
41322
|
)
|
|
39263
41323
|
|
|
39264
41324
|
/* 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":"
|
|
41325
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41326
|
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
41327
|
var GoogleButtonvue_type_template_id_4054e8d5_staticRenderFns = []
|
|
39268
41328
|
|
|
@@ -39317,7 +41377,7 @@ var GoogleButton_component = normalizeComponent(
|
|
|
39317
41377
|
)
|
|
39318
41378
|
|
|
39319
41379
|
/* 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":"
|
|
41380
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41381
|
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
41382
|
var EvrotrustButtonvue_type_template_id_5c8b8745_staticRenderFns = []
|
|
39323
41383
|
|
|
@@ -39372,7 +41432,7 @@ var EvrotrustButton_component = normalizeComponent(
|
|
|
39372
41432
|
)
|
|
39373
41433
|
|
|
39374
41434
|
/* 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":"
|
|
41435
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41436
|
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
41437
|
var BankIdButtonvue_type_template_id_3a274cdd_staticRenderFns = []
|
|
39378
41438
|
|
|
@@ -39427,7 +41487,7 @@ var BankIdButton_component = normalizeComponent(
|
|
|
39427
41487
|
)
|
|
39428
41488
|
|
|
39429
41489
|
/* 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":"
|
|
41490
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41491
|
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
41492
|
var DTrustSignMeButtonvue_type_template_id_d2bb3e4e_staticRenderFns = []
|
|
39433
41493
|
|
|
@@ -39747,14 +41807,14 @@ var MethodSelection_component = normalizeComponent(
|
|
|
39747
41807
|
)
|
|
39748
41808
|
|
|
39749
41809
|
/* 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":"
|
|
41810
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41811
|
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
41812
|
var SmartIdAuthvue_type_template_id_097b8df2_staticRenderFns = []
|
|
39753
41813
|
|
|
39754
41814
|
|
|
39755
41815
|
// CONCATENATED MODULE: ./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
39756
41816
|
|
|
39757
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41817
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41818
|
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
41819
|
{id: _vm.formComponentId(item.name),
|
|
39760
41820
|
value: _vm.formValue[item.name],
|
|
@@ -39771,14 +41831,14 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
39771
41831
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
39772
41832
|
var es_array_reduce = __webpack_require__("13d5");
|
|
39773
41833
|
|
|
39774
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41834
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41835
|
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
41836
|
var FormButtonvue_type_template_id_6eab7190_staticRenderFns = []
|
|
39777
41837
|
|
|
39778
41838
|
|
|
39779
41839
|
// CONCATENATED MODULE: ./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
39780
41840
|
|
|
39781
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41841
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41842
|
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
41843
|
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
39784
41844
|
|
|
@@ -39870,7 +41930,7 @@ var FormButton_component = normalizeComponent(
|
|
|
39870
41930
|
)
|
|
39871
41931
|
|
|
39872
41932
|
/* 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":"
|
|
41933
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41934
|
var FormFieldvue_type_template_id_5f6d450f_render = function () {
|
|
39875
41935
|
var _obj;
|
|
39876
41936
|
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 +41939,7 @@ var FormFieldvue_type_template_id_5f6d450f_staticRenderFns = []
|
|
|
39879
41939
|
|
|
39880
41940
|
// CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=5f6d450f&
|
|
39881
41941
|
|
|
39882
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41942
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
41943
|
var AppInputvue_type_template_id_5b619160_render = function () {
|
|
39884
41944
|
var _obj, _obj$1;
|
|
39885
41945
|
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 +42075,7 @@ var FormField_component = normalizeComponent(
|
|
|
40015
42075
|
)
|
|
40016
42076
|
|
|
40017
42077
|
/* 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":"
|
|
42078
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
42079
|
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
42080
|
var FormSectionSpacervue_type_template_id_d4c1a10e_staticRenderFns = []
|
|
40021
42081
|
|
|
@@ -40281,7 +42341,7 @@ var getFieldErrors = function getFieldErrors(error) {
|
|
|
40281
42341
|
};
|
|
40282
42342
|
|
|
40283
42343
|
/* harmony default export */ var src_getFieldErrors = (getFieldErrors);
|
|
40284
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42344
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
42345
|
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
42346
|
var ChallengeLoadervue_type_template_id_39c6ba11_staticRenderFns = []
|
|
40287
42347
|
|
|
@@ -40482,7 +42542,7 @@ var SmartIdAuth_component = normalizeComponent(
|
|
|
40482
42542
|
)
|
|
40483
42543
|
|
|
40484
42544
|
/* 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":"
|
|
42545
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
42546
|
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
42547
|
var MobileIdAuthvue_type_template_id_3f6c41cc_staticRenderFns = []
|
|
40488
42548
|
|
|
@@ -40651,7 +42711,7 @@ var MobileIdAuth_component = normalizeComponent(
|
|
|
40651
42711
|
)
|
|
40652
42712
|
|
|
40653
42713
|
/* 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":"
|
|
42714
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
42715
|
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
42716
|
var IdentificationFrejaIdvue_type_template_id_392fcbd9_staticRenderFns = []
|
|
40657
42717
|
|
|
@@ -40807,7 +42867,7 @@ var IdentificationFrejaId_component = normalizeComponent(
|
|
|
40807
42867
|
)
|
|
40808
42868
|
|
|
40809
42869
|
/* 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":"
|
|
42870
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
42871
|
var IdentificationZealIdvue_type_template_id_e102c202_render = function () {
|
|
40812
42872
|
var _obj;
|
|
40813
42873
|
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 +42987,7 @@ var IdentificationZealId_component = normalizeComponent(
|
|
|
40927
42987
|
)
|
|
40928
42988
|
|
|
40929
42989
|
/* 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":"
|
|
42990
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
42991
|
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
42992
|
var SignatureSmartIdvue_type_template_id_4e579494_staticRenderFns = []
|
|
40933
42993
|
|
|
@@ -41089,7 +43149,7 @@ var SignatureSmartId_component = normalizeComponent(
|
|
|
41089
43149
|
)
|
|
41090
43150
|
|
|
41091
43151
|
/* 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":"
|
|
43152
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
43153
|
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
43154
|
var SignatureMobileIdvue_type_template_id_1c9f8ccb_staticRenderFns = []
|
|
41095
43155
|
|
|
@@ -41258,7 +43318,7 @@ var SignatureMobileId_component = normalizeComponent(
|
|
|
41258
43318
|
)
|
|
41259
43319
|
|
|
41260
43320
|
/* 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":"
|
|
43321
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
43322
|
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
43323
|
var SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns = []
|
|
41264
43324
|
|
|
@@ -41354,7 +43414,7 @@ var SignatureFtn_component = normalizeComponent(
|
|
|
41354
43414
|
)
|
|
41355
43415
|
|
|
41356
43416
|
/* 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":"
|
|
43417
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
43418
|
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
43419
|
var SignatureOtpvue_type_template_id_59f05d72_staticRenderFns = []
|
|
41360
43420
|
|
|
@@ -41551,14 +43611,14 @@ var SignatureOtp_component = normalizeComponent(
|
|
|
41551
43611
|
)
|
|
41552
43612
|
|
|
41553
43613
|
/* 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":"
|
|
43614
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
43615
|
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
43616
|
var SignatureEvrotrustvue_type_template_id_7d09c51b_staticRenderFns = []
|
|
41557
43617
|
|
|
41558
43618
|
|
|
41559
43619
|
// CONCATENATED MODULE: ./src/views/SignatureEvrotrust.vue?vue&type=template&id=7d09c51b&
|
|
41560
43620
|
|
|
41561
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43621
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
43622
|
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
43623
|
var SubLoadervue_type_template_id_333e7afc_staticRenderFns = []
|
|
41564
43624
|
|
|
@@ -41787,7 +43847,7 @@ var SignatureEvrotrust_component = normalizeComponent(
|
|
|
41787
43847
|
)
|
|
41788
43848
|
|
|
41789
43849
|
/* 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":"
|
|
43850
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"41da1ee0-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
43851
|
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
43852
|
var SignatureDTrustSignMevue_type_template_id_2c6a2f54_staticRenderFns = []
|
|
41793
43853
|
|
|
@@ -42179,6 +44239,10 @@ var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_
|
|
|
42179
44239
|
type: Boolean,
|
|
42180
44240
|
default: false
|
|
42181
44241
|
},
|
|
44242
|
+
remoteMonitoringEnabled: {
|
|
44243
|
+
type: Boolean,
|
|
44244
|
+
default: false
|
|
44245
|
+
},
|
|
42182
44246
|
methodsConfigFilter: {
|
|
42183
44247
|
type: Function
|
|
42184
44248
|
},
|
|
@@ -45784,6 +47848,7 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
|
45784
47848
|
RootComponentDefinition.store = store;
|
|
45785
47849
|
RootComponentDefinition.storeActions = actions;
|
|
45786
47850
|
RootComponentDefinition.storeGetters = getters;
|
|
47851
|
+
console.log(propsData);
|
|
45787
47852
|
var eidEasyClient = eideasy_browser_client_default()(propsData);
|
|
45788
47853
|
|
|
45789
47854
|
var eidEasyOnSuccess = function eidEasyOnSuccess(result) {
|