@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
|
@@ -2006,8 +2006,8 @@ module.exports = {
|
|
|
2006
2006
|
/***/ "0ea0":
|
|
2007
2007
|
/***/ (function(module, exports, __webpack_require__) {
|
|
2008
2008
|
|
|
2009
|
-
/* 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)}()}));
|
|
2010
|
-
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362")))
|
|
2009
|
+
/* 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)}()}));
|
|
2010
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362"), __webpack_require__("b639").Buffer))
|
|
2011
2011
|
|
|
2012
2012
|
/***/ }),
|
|
2013
2013
|
|
|
@@ -4340,241 +4340,185 @@ module.exports = {
|
|
|
4340
4340
|
|
|
4341
4341
|
/***/ }),
|
|
4342
4342
|
|
|
4343
|
-
/***/ "
|
|
4343
|
+
/***/ "1fb5":
|
|
4344
4344
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4345
4345
|
|
|
4346
|
-
|
|
4347
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
4348
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4349
|
-
// Module
|
|
4350
|
-
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}", ""]);
|
|
4351
|
-
// Exports
|
|
4352
|
-
exports.locals = {
|
|
4353
|
-
"reset-list": "MethodButton_reset-list_1z8Ur",
|
|
4354
|
-
"uppercase-sm": "MethodButton_uppercase-sm_JpWvx",
|
|
4355
|
-
"methodButton": "MethodButton_methodButton_14fJz",
|
|
4356
|
-
"row": "MethodButton_row_3V2sB"
|
|
4357
|
-
};
|
|
4358
|
-
module.exports = exports;
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
/***/ }),
|
|
4346
|
+
"use strict";
|
|
4362
4347
|
|
|
4363
|
-
/***/ "200e":
|
|
4364
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
4365
4348
|
|
|
4366
|
-
|
|
4349
|
+
exports.byteLength = byteLength
|
|
4350
|
+
exports.toByteArray = toByteArray
|
|
4351
|
+
exports.fromByteArray = fromByteArray
|
|
4367
4352
|
|
|
4368
|
-
|
|
4353
|
+
var lookup = []
|
|
4354
|
+
var revLookup = []
|
|
4355
|
+
var Arr = typeof Uint8Array !== 'undefined' ? Uint8Array : Array
|
|
4369
4356
|
|
|
4370
|
-
var
|
|
4357
|
+
var code = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
|
|
4358
|
+
for (var i = 0, len = code.length; i < len; ++i) {
|
|
4359
|
+
lookup[i] = code[i]
|
|
4360
|
+
revLookup[code.charCodeAt(i)] = i
|
|
4361
|
+
}
|
|
4371
4362
|
|
|
4372
|
-
|
|
4363
|
+
// Support decoding URL-safe base64 strings, as Node.js does.
|
|
4364
|
+
// See: https://en.wikipedia.org/wiki/Base64#URL_applications
|
|
4365
|
+
revLookup['-'.charCodeAt(0)] = 62
|
|
4366
|
+
revLookup['_'.charCodeAt(0)] = 63
|
|
4373
4367
|
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
render: function render(_h, _vm) {
|
|
4377
|
-
var _c = _vm._c,
|
|
4378
|
-
_v = _vm._v,
|
|
4379
|
-
data = _vm.data,
|
|
4380
|
-
_vm$children = _vm.children,
|
|
4381
|
-
children = _vm$children === void 0 ? [] : _vm$children;
|
|
4368
|
+
function getLens (b64) {
|
|
4369
|
+
var len = b64.length
|
|
4382
4370
|
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
style = data.style,
|
|
4386
|
-
staticStyle = data.staticStyle,
|
|
4387
|
-
_data$attrs = data.attrs,
|
|
4388
|
-
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4389
|
-
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4390
|
-
|
|
4391
|
-
return _c('svg', _objectSpread({
|
|
4392
|
-
class: [classNames, staticClass],
|
|
4393
|
-
style: [style, staticStyle],
|
|
4394
|
-
attrs: Object.assign({
|
|
4395
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
4396
|
-
"viewBox": "0 85.333 512 341.333"
|
|
4397
|
-
}, attrs)
|
|
4398
|
-
}, rest), children.concat([_c('path', {
|
|
4399
|
-
attrs: {
|
|
4400
|
-
"fill": "#338AF3",
|
|
4401
|
-
"d": "M0 85.331h512v341.337H0z"
|
|
4402
|
-
}
|
|
4403
|
-
}), _c('circle', {
|
|
4404
|
-
attrs: {
|
|
4405
|
-
"fill": "#FFDA44",
|
|
4406
|
-
"cx": "218.902",
|
|
4407
|
-
"cy": "255.994",
|
|
4408
|
-
"r": "74.207"
|
|
4409
|
-
}
|
|
4410
|
-
})]));
|
|
4371
|
+
if (len % 4 > 0) {
|
|
4372
|
+
throw new Error('Invalid string. Length must be a multiple of 4')
|
|
4411
4373
|
}
|
|
4412
|
-
};
|
|
4413
4374
|
|
|
4414
|
-
|
|
4375
|
+
// Trim off extra bytes after placeholder bytes are found
|
|
4376
|
+
// See: https://github.com/beatgammit/base64-js/issues/42
|
|
4377
|
+
var validLen = b64.indexOf('=')
|
|
4378
|
+
if (validLen === -1) validLen = len
|
|
4415
4379
|
|
|
4416
|
-
|
|
4417
|
-
|
|
4380
|
+
var placeHoldersLen = validLen === len
|
|
4381
|
+
? 0
|
|
4382
|
+
: 4 - (validLen % 4)
|
|
4418
4383
|
|
|
4419
|
-
|
|
4384
|
+
return [validLen, placeHoldersLen]
|
|
4385
|
+
}
|
|
4420
4386
|
|
|
4421
|
-
|
|
4387
|
+
// base64 is 4/3 + up to two characters of the original data
|
|
4388
|
+
function byteLength (b64) {
|
|
4389
|
+
var lens = getLens(b64)
|
|
4390
|
+
var validLen = lens[0]
|
|
4391
|
+
var placeHoldersLen = lens[1]
|
|
4392
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
4393
|
+
}
|
|
4422
4394
|
|
|
4423
|
-
|
|
4424
|
-
|
|
4395
|
+
function _byteLength (b64, validLen, placeHoldersLen) {
|
|
4396
|
+
return ((validLen + placeHoldersLen) * 3 / 4) - placeHoldersLen
|
|
4397
|
+
}
|
|
4425
4398
|
|
|
4426
|
-
|
|
4399
|
+
function toByteArray (b64) {
|
|
4400
|
+
var tmp
|
|
4401
|
+
var lens = getLens(b64)
|
|
4402
|
+
var validLen = lens[0]
|
|
4403
|
+
var placeHoldersLen = lens[1]
|
|
4427
4404
|
|
|
4428
|
-
|
|
4405
|
+
var arr = new Arr(_byteLength(b64, validLen, placeHoldersLen))
|
|
4429
4406
|
|
|
4430
|
-
var
|
|
4407
|
+
var curByte = 0
|
|
4431
4408
|
|
|
4432
|
-
|
|
4409
|
+
// if there are placeholders, only get up to the last complete 4 chars
|
|
4410
|
+
var len = placeHoldersLen > 0
|
|
4411
|
+
? validLen - 4
|
|
4412
|
+
: validLen
|
|
4433
4413
|
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
staticClass = data.staticClass,
|
|
4445
|
-
style = data.style,
|
|
4446
|
-
staticStyle = data.staticStyle,
|
|
4447
|
-
_data$attrs = data.attrs,
|
|
4448
|
-
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4449
|
-
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4450
|
-
|
|
4451
|
-
return _c('svg', _objectSpread({
|
|
4452
|
-
class: [classNames, staticClass],
|
|
4453
|
-
style: [style, staticStyle],
|
|
4454
|
-
attrs: Object.assign({
|
|
4455
|
-
"xmlns": "http://www.w3.org/2000/svg",
|
|
4456
|
-
"viewBox": "0 0 512 341.3"
|
|
4457
|
-
}, attrs)
|
|
4458
|
-
}, rest), children.concat([_c('path', {
|
|
4459
|
-
attrs: {
|
|
4460
|
-
"fill": "#FFDA44",
|
|
4461
|
-
"d": "M0 0h512v341.3H0z"
|
|
4462
|
-
}
|
|
4463
|
-
}), _c('path', {
|
|
4464
|
-
attrs: {
|
|
4465
|
-
"fill": "#0052B4",
|
|
4466
|
-
"d": "M0 170.7h512V256H0z"
|
|
4467
|
-
}
|
|
4468
|
-
}), _c('path', {
|
|
4469
|
-
attrs: {
|
|
4470
|
-
"fill": "#D80027",
|
|
4471
|
-
"d": "M0 256h512v85.3H0z"
|
|
4472
|
-
}
|
|
4473
|
-
}), _c('circle', {
|
|
4474
|
-
attrs: {
|
|
4475
|
-
"fill": "#FFDA44",
|
|
4476
|
-
"cx": "256",
|
|
4477
|
-
"cy": "170.7",
|
|
4478
|
-
"r": "59.4"
|
|
4479
|
-
}
|
|
4480
|
-
}), _c('path', {
|
|
4481
|
-
attrs: {
|
|
4482
|
-
"fill": "#4C1F00",
|
|
4483
|
-
"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"
|
|
4484
|
-
}
|
|
4485
|
-
}), _c('path', {
|
|
4486
|
-
attrs: {
|
|
4487
|
-
"fill": "#57BA17",
|
|
4488
|
-
"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"
|
|
4489
|
-
}
|
|
4490
|
-
}), _c('path', {
|
|
4491
|
-
attrs: {
|
|
4492
|
-
"fill": "#338AF3",
|
|
4493
|
-
"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"
|
|
4494
|
-
}
|
|
4495
|
-
})]));
|
|
4414
|
+
var i
|
|
4415
|
+
for (i = 0; i < len; i += 4) {
|
|
4416
|
+
tmp =
|
|
4417
|
+
(revLookup[b64.charCodeAt(i)] << 18) |
|
|
4418
|
+
(revLookup[b64.charCodeAt(i + 1)] << 12) |
|
|
4419
|
+
(revLookup[b64.charCodeAt(i + 2)] << 6) |
|
|
4420
|
+
revLookup[b64.charCodeAt(i + 3)]
|
|
4421
|
+
arr[curByte++] = (tmp >> 16) & 0xFF
|
|
4422
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
4423
|
+
arr[curByte++] = tmp & 0xFF
|
|
4496
4424
|
}
|
|
4497
|
-
};
|
|
4498
4425
|
|
|
4499
|
-
|
|
4426
|
+
if (placeHoldersLen === 2) {
|
|
4427
|
+
tmp =
|
|
4428
|
+
(revLookup[b64.charCodeAt(i)] << 2) |
|
|
4429
|
+
(revLookup[b64.charCodeAt(i + 1)] >> 4)
|
|
4430
|
+
arr[curByte++] = tmp & 0xFF
|
|
4431
|
+
}
|
|
4500
4432
|
|
|
4501
|
-
|
|
4502
|
-
|
|
4433
|
+
if (placeHoldersLen === 1) {
|
|
4434
|
+
tmp =
|
|
4435
|
+
(revLookup[b64.charCodeAt(i)] << 10) |
|
|
4436
|
+
(revLookup[b64.charCodeAt(i + 1)] << 4) |
|
|
4437
|
+
(revLookup[b64.charCodeAt(i + 2)] >> 2)
|
|
4438
|
+
arr[curByte++] = (tmp >> 8) & 0xFF
|
|
4439
|
+
arr[curByte++] = tmp & 0xFF
|
|
4440
|
+
}
|
|
4503
4441
|
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
var toLength = __webpack_require__("50c4");
|
|
4507
|
-
var bind = __webpack_require__("0366");
|
|
4508
|
-
var getIteratorMethod = __webpack_require__("35a1");
|
|
4509
|
-
var iteratorClose = __webpack_require__("2a62");
|
|
4442
|
+
return arr
|
|
4443
|
+
}
|
|
4510
4444
|
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4445
|
+
function tripletToBase64 (num) {
|
|
4446
|
+
return lookup[num >> 18 & 0x3F] +
|
|
4447
|
+
lookup[num >> 12 & 0x3F] +
|
|
4448
|
+
lookup[num >> 6 & 0x3F] +
|
|
4449
|
+
lookup[num & 0x3F]
|
|
4450
|
+
}
|
|
4515
4451
|
|
|
4516
|
-
|
|
4517
|
-
var
|
|
4518
|
-
var
|
|
4519
|
-
var
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4452
|
+
function encodeChunk (uint8, start, end) {
|
|
4453
|
+
var tmp
|
|
4454
|
+
var output = []
|
|
4455
|
+
for (var i = start; i < end; i += 3) {
|
|
4456
|
+
tmp =
|
|
4457
|
+
((uint8[i] << 16) & 0xFF0000) +
|
|
4458
|
+
((uint8[i + 1] << 8) & 0xFF00) +
|
|
4459
|
+
(uint8[i + 2] & 0xFF)
|
|
4460
|
+
output.push(tripletToBase64(tmp))
|
|
4461
|
+
}
|
|
4462
|
+
return output.join('')
|
|
4463
|
+
}
|
|
4523
4464
|
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4465
|
+
function fromByteArray (uint8) {
|
|
4466
|
+
var tmp
|
|
4467
|
+
var len = uint8.length
|
|
4468
|
+
var extraBytes = len % 3 // if we have 1 byte left, pad 2 bytes
|
|
4469
|
+
var parts = []
|
|
4470
|
+
var maxChunkLength = 16383 // must be multiple of 3
|
|
4528
4471
|
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
4534
|
-
};
|
|
4472
|
+
// go through the array every three bytes, we'll deal with trailing stuff later
|
|
4473
|
+
for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
|
|
4474
|
+
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
|
|
4475
|
+
}
|
|
4535
4476
|
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4477
|
+
// pad the end with zeros, but make sure to not forget the extra bytes
|
|
4478
|
+
if (extraBytes === 1) {
|
|
4479
|
+
tmp = uint8[len - 1]
|
|
4480
|
+
parts.push(
|
|
4481
|
+
lookup[tmp >> 2] +
|
|
4482
|
+
lookup[(tmp << 4) & 0x3F] +
|
|
4483
|
+
'=='
|
|
4484
|
+
)
|
|
4485
|
+
} else if (extraBytes === 2) {
|
|
4486
|
+
tmp = (uint8[len - 2] << 8) + uint8[len - 1]
|
|
4487
|
+
parts.push(
|
|
4488
|
+
lookup[tmp >> 10] +
|
|
4489
|
+
lookup[(tmp >> 4) & 0x3F] +
|
|
4490
|
+
lookup[(tmp << 2) & 0x3F] +
|
|
4491
|
+
'='
|
|
4492
|
+
)
|
|
4549
4493
|
}
|
|
4550
4494
|
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
try {
|
|
4554
|
-
result = callFn(step.value);
|
|
4555
|
-
} catch (error) {
|
|
4556
|
-
iteratorClose(iterator);
|
|
4557
|
-
throw error;
|
|
4558
|
-
}
|
|
4559
|
-
if (typeof result == 'object' && result && result instanceof Result) return result;
|
|
4560
|
-
} return new Result(false);
|
|
4561
|
-
};
|
|
4495
|
+
return parts.join('')
|
|
4496
|
+
}
|
|
4562
4497
|
|
|
4563
4498
|
|
|
4564
4499
|
/***/ }),
|
|
4565
4500
|
|
|
4566
|
-
/***/ "
|
|
4567
|
-
/***/ (function(module,
|
|
4501
|
+
/***/ "200a":
|
|
4502
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4503
|
+
|
|
4504
|
+
// Imports
|
|
4505
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("4bad");
|
|
4506
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
4507
|
+
// Module
|
|
4508
|
+
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}", ""]);
|
|
4509
|
+
// Exports
|
|
4510
|
+
exports.locals = {
|
|
4511
|
+
"reset-list": "MethodButton_reset-list_1z8Ur",
|
|
4512
|
+
"uppercase-sm": "MethodButton_uppercase-sm_JpWvx",
|
|
4513
|
+
"methodButton": "MethodButton_methodButton_14fJz",
|
|
4514
|
+
"row": "MethodButton_row_3V2sB"
|
|
4515
|
+
};
|
|
4516
|
+
module.exports = exports;
|
|
4568
4517
|
|
|
4569
|
-
"use strict";
|
|
4570
|
-
/* 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");
|
|
4571
|
-
/* 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__);
|
|
4572
|
-
/* 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; });
|
|
4573
|
-
|
|
4574
4518
|
|
|
4575
4519
|
/***/ }),
|
|
4576
4520
|
|
|
4577
|
-
/***/ "
|
|
4521
|
+
/***/ "200e":
|
|
4578
4522
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4579
4523
|
|
|
4580
4524
|
__webpack_require__("99af");
|
|
@@ -4611,18 +4555,15 @@ module.exports = {
|
|
|
4611
4555
|
}, attrs)
|
|
4612
4556
|
}, rest), children.concat([_c('path', {
|
|
4613
4557
|
attrs: {
|
|
4614
|
-
"fill": "#
|
|
4615
|
-
"d": "M0 85.331h512v341.
|
|
4616
|
-
}
|
|
4617
|
-
}), _c('path', {
|
|
4618
|
-
attrs: {
|
|
4619
|
-
"fill": "#6DA544",
|
|
4620
|
-
"d": "M330.207 85.331H512v341.337H330.207z"
|
|
4558
|
+
"fill": "#338AF3",
|
|
4559
|
+
"d": "M0 85.331h512v341.337H0z"
|
|
4621
4560
|
}
|
|
4622
|
-
}), _c('
|
|
4561
|
+
}), _c('circle', {
|
|
4623
4562
|
attrs: {
|
|
4624
|
-
"fill": "#
|
|
4625
|
-
"
|
|
4563
|
+
"fill": "#FFDA44",
|
|
4564
|
+
"cx": "218.902",
|
|
4565
|
+
"cy": "255.994",
|
|
4566
|
+
"r": "74.207"
|
|
4626
4567
|
}
|
|
4627
4568
|
})]));
|
|
4628
4569
|
}
|
|
@@ -4630,26 +4571,243 @@ module.exports = {
|
|
|
4630
4571
|
|
|
4631
4572
|
/***/ }),
|
|
4632
4573
|
|
|
4633
|
-
/***/ "
|
|
4634
|
-
/***/ (function(module
|
|
4635
|
-
|
|
4636
|
-
var toInteger = __webpack_require__("a691");
|
|
4637
|
-
|
|
4638
|
-
var max = Math.max;
|
|
4639
|
-
var min = Math.min;
|
|
4640
|
-
|
|
4641
|
-
// Helper for a popular repeating case of the spec:
|
|
4642
|
-
// Let integer be ? ToInteger(index).
|
|
4643
|
-
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
4644
|
-
module.exports = function (index, length) {
|
|
4645
|
-
var integer = toInteger(index);
|
|
4646
|
-
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
4647
|
-
};
|
|
4574
|
+
/***/ "20fc":
|
|
4575
|
+
/***/ (function(module) {
|
|
4648
4576
|
|
|
4577
|
+
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\"}}");
|
|
4649
4578
|
|
|
4650
4579
|
/***/ }),
|
|
4651
4580
|
|
|
4652
|
-
/***/ "
|
|
4581
|
+
/***/ "217a":
|
|
4582
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4583
|
+
|
|
4584
|
+
__webpack_require__("99af");
|
|
4585
|
+
|
|
4586
|
+
__webpack_require__("cca6");
|
|
4587
|
+
|
|
4588
|
+
var _objectSpread = __webpack_require__("ded3");
|
|
4589
|
+
|
|
4590
|
+
var _objectWithoutProperties = __webpack_require__("4082");
|
|
4591
|
+
|
|
4592
|
+
module.exports = {
|
|
4593
|
+
functional: true,
|
|
4594
|
+
render: function render(_h, _vm) {
|
|
4595
|
+
var _c = _vm._c,
|
|
4596
|
+
_v = _vm._v,
|
|
4597
|
+
data = _vm.data,
|
|
4598
|
+
_vm$children = _vm.children,
|
|
4599
|
+
children = _vm$children === void 0 ? [] : _vm$children;
|
|
4600
|
+
|
|
4601
|
+
var classNames = data.class,
|
|
4602
|
+
staticClass = data.staticClass,
|
|
4603
|
+
style = data.style,
|
|
4604
|
+
staticStyle = data.staticStyle,
|
|
4605
|
+
_data$attrs = data.attrs,
|
|
4606
|
+
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4607
|
+
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4608
|
+
|
|
4609
|
+
return _c('svg', _objectSpread({
|
|
4610
|
+
class: [classNames, staticClass],
|
|
4611
|
+
style: [style, staticStyle],
|
|
4612
|
+
attrs: Object.assign({
|
|
4613
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
4614
|
+
"viewBox": "0 0 512 341.3"
|
|
4615
|
+
}, attrs)
|
|
4616
|
+
}, rest), children.concat([_c('path', {
|
|
4617
|
+
attrs: {
|
|
4618
|
+
"fill": "#FFDA44",
|
|
4619
|
+
"d": "M0 0h512v341.3H0z"
|
|
4620
|
+
}
|
|
4621
|
+
}), _c('path', {
|
|
4622
|
+
attrs: {
|
|
4623
|
+
"fill": "#0052B4",
|
|
4624
|
+
"d": "M0 170.7h512V256H0z"
|
|
4625
|
+
}
|
|
4626
|
+
}), _c('path', {
|
|
4627
|
+
attrs: {
|
|
4628
|
+
"fill": "#D80027",
|
|
4629
|
+
"d": "M0 256h512v85.3H0z"
|
|
4630
|
+
}
|
|
4631
|
+
}), _c('circle', {
|
|
4632
|
+
attrs: {
|
|
4633
|
+
"fill": "#FFDA44",
|
|
4634
|
+
"cx": "256",
|
|
4635
|
+
"cy": "170.7",
|
|
4636
|
+
"r": "59.4"
|
|
4637
|
+
}
|
|
4638
|
+
}), _c('path', {
|
|
4639
|
+
attrs: {
|
|
4640
|
+
"fill": "#4C1F00",
|
|
4641
|
+
"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"
|
|
4642
|
+
}
|
|
4643
|
+
}), _c('path', {
|
|
4644
|
+
attrs: {
|
|
4645
|
+
"fill": "#57BA17",
|
|
4646
|
+
"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"
|
|
4647
|
+
}
|
|
4648
|
+
}), _c('path', {
|
|
4649
|
+
attrs: {
|
|
4650
|
+
"fill": "#338AF3",
|
|
4651
|
+
"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"
|
|
4652
|
+
}
|
|
4653
|
+
})]));
|
|
4654
|
+
}
|
|
4655
|
+
};
|
|
4656
|
+
|
|
4657
|
+
/***/ }),
|
|
4658
|
+
|
|
4659
|
+
/***/ "2266":
|
|
4660
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4661
|
+
|
|
4662
|
+
var anObject = __webpack_require__("825a");
|
|
4663
|
+
var isArrayIteratorMethod = __webpack_require__("e95a");
|
|
4664
|
+
var toLength = __webpack_require__("50c4");
|
|
4665
|
+
var bind = __webpack_require__("0366");
|
|
4666
|
+
var getIteratorMethod = __webpack_require__("35a1");
|
|
4667
|
+
var iteratorClose = __webpack_require__("2a62");
|
|
4668
|
+
|
|
4669
|
+
var Result = function (stopped, result) {
|
|
4670
|
+
this.stopped = stopped;
|
|
4671
|
+
this.result = result;
|
|
4672
|
+
};
|
|
4673
|
+
|
|
4674
|
+
module.exports = function (iterable, unboundFunction, options) {
|
|
4675
|
+
var that = options && options.that;
|
|
4676
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
4677
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
4678
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
4679
|
+
var fn = bind(unboundFunction, that, 1 + AS_ENTRIES + INTERRUPTED);
|
|
4680
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
4681
|
+
|
|
4682
|
+
var stop = function (condition) {
|
|
4683
|
+
if (iterator) iteratorClose(iterator);
|
|
4684
|
+
return new Result(true, condition);
|
|
4685
|
+
};
|
|
4686
|
+
|
|
4687
|
+
var callFn = function (value) {
|
|
4688
|
+
if (AS_ENTRIES) {
|
|
4689
|
+
anObject(value);
|
|
4690
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
4691
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
4692
|
+
};
|
|
4693
|
+
|
|
4694
|
+
if (IS_ITERATOR) {
|
|
4695
|
+
iterator = iterable;
|
|
4696
|
+
} else {
|
|
4697
|
+
iterFn = getIteratorMethod(iterable);
|
|
4698
|
+
if (typeof iterFn != 'function') throw TypeError('Target is not iterable');
|
|
4699
|
+
// optimisation for array iterators
|
|
4700
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
4701
|
+
for (index = 0, length = toLength(iterable.length); length > index; index++) {
|
|
4702
|
+
result = callFn(iterable[index]);
|
|
4703
|
+
if (result && result instanceof Result) return result;
|
|
4704
|
+
} return new Result(false);
|
|
4705
|
+
}
|
|
4706
|
+
iterator = iterFn.call(iterable);
|
|
4707
|
+
}
|
|
4708
|
+
|
|
4709
|
+
next = iterator.next;
|
|
4710
|
+
while (!(step = next.call(iterator)).done) {
|
|
4711
|
+
try {
|
|
4712
|
+
result = callFn(step.value);
|
|
4713
|
+
} catch (error) {
|
|
4714
|
+
iteratorClose(iterator);
|
|
4715
|
+
throw error;
|
|
4716
|
+
}
|
|
4717
|
+
if (typeof result == 'object' && result && result instanceof Result) return result;
|
|
4718
|
+
} return new Result(false);
|
|
4719
|
+
};
|
|
4720
|
+
|
|
4721
|
+
|
|
4722
|
+
/***/ }),
|
|
4723
|
+
|
|
4724
|
+
/***/ "2322":
|
|
4725
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4726
|
+
|
|
4727
|
+
"use strict";
|
|
4728
|
+
/* 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");
|
|
4729
|
+
/* 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__);
|
|
4730
|
+
/* 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; });
|
|
4731
|
+
|
|
4732
|
+
|
|
4733
|
+
/***/ }),
|
|
4734
|
+
|
|
4735
|
+
/***/ "2381":
|
|
4736
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4737
|
+
|
|
4738
|
+
__webpack_require__("99af");
|
|
4739
|
+
|
|
4740
|
+
__webpack_require__("cca6");
|
|
4741
|
+
|
|
4742
|
+
var _objectSpread = __webpack_require__("ded3");
|
|
4743
|
+
|
|
4744
|
+
var _objectWithoutProperties = __webpack_require__("4082");
|
|
4745
|
+
|
|
4746
|
+
module.exports = {
|
|
4747
|
+
functional: true,
|
|
4748
|
+
render: function render(_h, _vm) {
|
|
4749
|
+
var _c = _vm._c,
|
|
4750
|
+
_v = _vm._v,
|
|
4751
|
+
data = _vm.data,
|
|
4752
|
+
_vm$children = _vm.children,
|
|
4753
|
+
children = _vm$children === void 0 ? [] : _vm$children;
|
|
4754
|
+
|
|
4755
|
+
var classNames = data.class,
|
|
4756
|
+
staticClass = data.staticClass,
|
|
4757
|
+
style = data.style,
|
|
4758
|
+
staticStyle = data.staticStyle,
|
|
4759
|
+
_data$attrs = data.attrs,
|
|
4760
|
+
attrs = _data$attrs === void 0 ? {} : _data$attrs,
|
|
4761
|
+
rest = _objectWithoutProperties(data, ["class", "staticClass", "style", "staticStyle", "attrs"]);
|
|
4762
|
+
|
|
4763
|
+
return _c('svg', _objectSpread({
|
|
4764
|
+
class: [classNames, staticClass],
|
|
4765
|
+
style: [style, staticStyle],
|
|
4766
|
+
attrs: Object.assign({
|
|
4767
|
+
"xmlns": "http://www.w3.org/2000/svg",
|
|
4768
|
+
"viewBox": "0 85.333 512 341.333"
|
|
4769
|
+
}, attrs)
|
|
4770
|
+
}, rest), children.concat([_c('path', {
|
|
4771
|
+
attrs: {
|
|
4772
|
+
"fill": "#FFF",
|
|
4773
|
+
"d": "M0 85.331h512v341.326H0z"
|
|
4774
|
+
}
|
|
4775
|
+
}), _c('path', {
|
|
4776
|
+
attrs: {
|
|
4777
|
+
"fill": "#6DA544",
|
|
4778
|
+
"d": "M330.207 85.331H512v341.337H330.207z"
|
|
4779
|
+
}
|
|
4780
|
+
}), _c('path', {
|
|
4781
|
+
attrs: {
|
|
4782
|
+
"fill": "#FF9811",
|
|
4783
|
+
"d": "M0 85.331h181.793v341.337H0z"
|
|
4784
|
+
}
|
|
4785
|
+
})]));
|
|
4786
|
+
}
|
|
4787
|
+
};
|
|
4788
|
+
|
|
4789
|
+
/***/ }),
|
|
4790
|
+
|
|
4791
|
+
/***/ "23cb":
|
|
4792
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4793
|
+
|
|
4794
|
+
var toInteger = __webpack_require__("a691");
|
|
4795
|
+
|
|
4796
|
+
var max = Math.max;
|
|
4797
|
+
var min = Math.min;
|
|
4798
|
+
|
|
4799
|
+
// Helper for a popular repeating case of the spec:
|
|
4800
|
+
// Let integer be ? ToInteger(index).
|
|
4801
|
+
// If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
|
|
4802
|
+
module.exports = function (index, length) {
|
|
4803
|
+
var integer = toInteger(index);
|
|
4804
|
+
return integer < 0 ? max(integer + length, 0) : min(integer, length);
|
|
4805
|
+
};
|
|
4806
|
+
|
|
4807
|
+
|
|
4808
|
+
/***/ }),
|
|
4809
|
+
|
|
4810
|
+
/***/ "23e5":
|
|
4653
4811
|
/***/ (function(module, exports, __webpack_require__) {
|
|
4654
4812
|
|
|
4655
4813
|
__webpack_require__("99af");
|
|
@@ -24324,6 +24482,98 @@ module.exports = DESCRIPTORS ? function (object, key, value) {
|
|
|
24324
24482
|
};
|
|
24325
24483
|
|
|
24326
24484
|
|
|
24485
|
+
/***/ }),
|
|
24486
|
+
|
|
24487
|
+
/***/ "9152":
|
|
24488
|
+
/***/ (function(module, exports) {
|
|
24489
|
+
|
|
24490
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
24491
|
+
exports.read = function (buffer, offset, isLE, mLen, nBytes) {
|
|
24492
|
+
var e, m
|
|
24493
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
24494
|
+
var eMax = (1 << eLen) - 1
|
|
24495
|
+
var eBias = eMax >> 1
|
|
24496
|
+
var nBits = -7
|
|
24497
|
+
var i = isLE ? (nBytes - 1) : 0
|
|
24498
|
+
var d = isLE ? -1 : 1
|
|
24499
|
+
var s = buffer[offset + i]
|
|
24500
|
+
|
|
24501
|
+
i += d
|
|
24502
|
+
|
|
24503
|
+
e = s & ((1 << (-nBits)) - 1)
|
|
24504
|
+
s >>= (-nBits)
|
|
24505
|
+
nBits += eLen
|
|
24506
|
+
for (; nBits > 0; e = (e * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
24507
|
+
|
|
24508
|
+
m = e & ((1 << (-nBits)) - 1)
|
|
24509
|
+
e >>= (-nBits)
|
|
24510
|
+
nBits += mLen
|
|
24511
|
+
for (; nBits > 0; m = (m * 256) + buffer[offset + i], i += d, nBits -= 8) {}
|
|
24512
|
+
|
|
24513
|
+
if (e === 0) {
|
|
24514
|
+
e = 1 - eBias
|
|
24515
|
+
} else if (e === eMax) {
|
|
24516
|
+
return m ? NaN : ((s ? -1 : 1) * Infinity)
|
|
24517
|
+
} else {
|
|
24518
|
+
m = m + Math.pow(2, mLen)
|
|
24519
|
+
e = e - eBias
|
|
24520
|
+
}
|
|
24521
|
+
return (s ? -1 : 1) * m * Math.pow(2, e - mLen)
|
|
24522
|
+
}
|
|
24523
|
+
|
|
24524
|
+
exports.write = function (buffer, value, offset, isLE, mLen, nBytes) {
|
|
24525
|
+
var e, m, c
|
|
24526
|
+
var eLen = (nBytes * 8) - mLen - 1
|
|
24527
|
+
var eMax = (1 << eLen) - 1
|
|
24528
|
+
var eBias = eMax >> 1
|
|
24529
|
+
var rt = (mLen === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0)
|
|
24530
|
+
var i = isLE ? 0 : (nBytes - 1)
|
|
24531
|
+
var d = isLE ? 1 : -1
|
|
24532
|
+
var s = value < 0 || (value === 0 && 1 / value < 0) ? 1 : 0
|
|
24533
|
+
|
|
24534
|
+
value = Math.abs(value)
|
|
24535
|
+
|
|
24536
|
+
if (isNaN(value) || value === Infinity) {
|
|
24537
|
+
m = isNaN(value) ? 1 : 0
|
|
24538
|
+
e = eMax
|
|
24539
|
+
} else {
|
|
24540
|
+
e = Math.floor(Math.log(value) / Math.LN2)
|
|
24541
|
+
if (value * (c = Math.pow(2, -e)) < 1) {
|
|
24542
|
+
e--
|
|
24543
|
+
c *= 2
|
|
24544
|
+
}
|
|
24545
|
+
if (e + eBias >= 1) {
|
|
24546
|
+
value += rt / c
|
|
24547
|
+
} else {
|
|
24548
|
+
value += rt * Math.pow(2, 1 - eBias)
|
|
24549
|
+
}
|
|
24550
|
+
if (value * c >= 2) {
|
|
24551
|
+
e++
|
|
24552
|
+
c /= 2
|
|
24553
|
+
}
|
|
24554
|
+
|
|
24555
|
+
if (e + eBias >= eMax) {
|
|
24556
|
+
m = 0
|
|
24557
|
+
e = eMax
|
|
24558
|
+
} else if (e + eBias >= 1) {
|
|
24559
|
+
m = ((value * c) - 1) * Math.pow(2, mLen)
|
|
24560
|
+
e = e + eBias
|
|
24561
|
+
} else {
|
|
24562
|
+
m = value * Math.pow(2, eBias - 1) * Math.pow(2, mLen)
|
|
24563
|
+
e = 0
|
|
24564
|
+
}
|
|
24565
|
+
}
|
|
24566
|
+
|
|
24567
|
+
for (; mLen >= 8; buffer[offset + i] = m & 0xff, i += d, m /= 256, mLen -= 8) {}
|
|
24568
|
+
|
|
24569
|
+
e = (e << mLen) | m
|
|
24570
|
+
eLen += mLen
|
|
24571
|
+
for (; eLen > 0; buffer[offset + i] = e & 0xff, i += d, e /= 256, eLen -= 8) {}
|
|
24572
|
+
|
|
24573
|
+
buffer[offset + i - d] |= s * 128
|
|
24574
|
+
}
|
|
24575
|
+
|
|
24576
|
+
|
|
24327
24577
|
/***/ }),
|
|
24328
24578
|
|
|
24329
24579
|
/***/ "921c":
|
|
@@ -29825,6 +30075,1804 @@ module.exports = function (name) {
|
|
|
29825
30075
|
};
|
|
29826
30076
|
|
|
29827
30077
|
|
|
30078
|
+
/***/ }),
|
|
30079
|
+
|
|
30080
|
+
/***/ "b639":
|
|
30081
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
30082
|
+
|
|
30083
|
+
"use strict";
|
|
30084
|
+
/* WEBPACK VAR INJECTION */(function(global) {/*!
|
|
30085
|
+
* The buffer module from node.js, for the browser.
|
|
30086
|
+
*
|
|
30087
|
+
* @author Feross Aboukhadijeh <http://feross.org>
|
|
30088
|
+
* @license MIT
|
|
30089
|
+
*/
|
|
30090
|
+
/* eslint-disable no-proto */
|
|
30091
|
+
|
|
30092
|
+
|
|
30093
|
+
|
|
30094
|
+
var base64 = __webpack_require__("1fb5")
|
|
30095
|
+
var ieee754 = __webpack_require__("9152")
|
|
30096
|
+
var isArray = __webpack_require__("e3db")
|
|
30097
|
+
|
|
30098
|
+
exports.Buffer = Buffer
|
|
30099
|
+
exports.SlowBuffer = SlowBuffer
|
|
30100
|
+
exports.INSPECT_MAX_BYTES = 50
|
|
30101
|
+
|
|
30102
|
+
/**
|
|
30103
|
+
* If `Buffer.TYPED_ARRAY_SUPPORT`:
|
|
30104
|
+
* === true Use Uint8Array implementation (fastest)
|
|
30105
|
+
* === false Use Object implementation (most compatible, even IE6)
|
|
30106
|
+
*
|
|
30107
|
+
* Browsers that support typed arrays are IE 10+, Firefox 4+, Chrome 7+, Safari 5.1+,
|
|
30108
|
+
* Opera 11.6+, iOS 4.2+.
|
|
30109
|
+
*
|
|
30110
|
+
* Due to various browser bugs, sometimes the Object implementation will be used even
|
|
30111
|
+
* when the browser supports typed arrays.
|
|
30112
|
+
*
|
|
30113
|
+
* Note:
|
|
30114
|
+
*
|
|
30115
|
+
* - Firefox 4-29 lacks support for adding new properties to `Uint8Array` instances,
|
|
30116
|
+
* See: https://bugzilla.mozilla.org/show_bug.cgi?id=695438.
|
|
30117
|
+
*
|
|
30118
|
+
* - Chrome 9-10 is missing the `TypedArray.prototype.subarray` function.
|
|
30119
|
+
*
|
|
30120
|
+
* - IE10 has a broken `TypedArray.prototype.subarray` function which returns arrays of
|
|
30121
|
+
* incorrect length in some situations.
|
|
30122
|
+
|
|
30123
|
+
* We detect these buggy browsers and set `Buffer.TYPED_ARRAY_SUPPORT` to `false` so they
|
|
30124
|
+
* get the Object implementation, which is slower but behaves correctly.
|
|
30125
|
+
*/
|
|
30126
|
+
Buffer.TYPED_ARRAY_SUPPORT = global.TYPED_ARRAY_SUPPORT !== undefined
|
|
30127
|
+
? global.TYPED_ARRAY_SUPPORT
|
|
30128
|
+
: typedArraySupport()
|
|
30129
|
+
|
|
30130
|
+
/*
|
|
30131
|
+
* Export kMaxLength after typed array support is determined.
|
|
30132
|
+
*/
|
|
30133
|
+
exports.kMaxLength = kMaxLength()
|
|
30134
|
+
|
|
30135
|
+
function typedArraySupport () {
|
|
30136
|
+
try {
|
|
30137
|
+
var arr = new Uint8Array(1)
|
|
30138
|
+
arr.__proto__ = {__proto__: Uint8Array.prototype, foo: function () { return 42 }}
|
|
30139
|
+
return arr.foo() === 42 && // typed array instances can be augmented
|
|
30140
|
+
typeof arr.subarray === 'function' && // chrome 9-10 lack `subarray`
|
|
30141
|
+
arr.subarray(1, 1).byteLength === 0 // ie10 has broken `subarray`
|
|
30142
|
+
} catch (e) {
|
|
30143
|
+
return false
|
|
30144
|
+
}
|
|
30145
|
+
}
|
|
30146
|
+
|
|
30147
|
+
function kMaxLength () {
|
|
30148
|
+
return Buffer.TYPED_ARRAY_SUPPORT
|
|
30149
|
+
? 0x7fffffff
|
|
30150
|
+
: 0x3fffffff
|
|
30151
|
+
}
|
|
30152
|
+
|
|
30153
|
+
function createBuffer (that, length) {
|
|
30154
|
+
if (kMaxLength() < length) {
|
|
30155
|
+
throw new RangeError('Invalid typed array length')
|
|
30156
|
+
}
|
|
30157
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30158
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
30159
|
+
that = new Uint8Array(length)
|
|
30160
|
+
that.__proto__ = Buffer.prototype
|
|
30161
|
+
} else {
|
|
30162
|
+
// Fallback: Return an object instance of the Buffer class
|
|
30163
|
+
if (that === null) {
|
|
30164
|
+
that = new Buffer(length)
|
|
30165
|
+
}
|
|
30166
|
+
that.length = length
|
|
30167
|
+
}
|
|
30168
|
+
|
|
30169
|
+
return that
|
|
30170
|
+
}
|
|
30171
|
+
|
|
30172
|
+
/**
|
|
30173
|
+
* The Buffer constructor returns instances of `Uint8Array` that have their
|
|
30174
|
+
* prototype changed to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of
|
|
30175
|
+
* `Uint8Array`, so the returned instances will have all the node `Buffer` methods
|
|
30176
|
+
* and the `Uint8Array` methods. Square bracket notation works as expected -- it
|
|
30177
|
+
* returns a single octet.
|
|
30178
|
+
*
|
|
30179
|
+
* The `Uint8Array` prototype remains unmodified.
|
|
30180
|
+
*/
|
|
30181
|
+
|
|
30182
|
+
function Buffer (arg, encodingOrOffset, length) {
|
|
30183
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT && !(this instanceof Buffer)) {
|
|
30184
|
+
return new Buffer(arg, encodingOrOffset, length)
|
|
30185
|
+
}
|
|
30186
|
+
|
|
30187
|
+
// Common case.
|
|
30188
|
+
if (typeof arg === 'number') {
|
|
30189
|
+
if (typeof encodingOrOffset === 'string') {
|
|
30190
|
+
throw new Error(
|
|
30191
|
+
'If encoding is specified then the first argument must be a string'
|
|
30192
|
+
)
|
|
30193
|
+
}
|
|
30194
|
+
return allocUnsafe(this, arg)
|
|
30195
|
+
}
|
|
30196
|
+
return from(this, arg, encodingOrOffset, length)
|
|
30197
|
+
}
|
|
30198
|
+
|
|
30199
|
+
Buffer.poolSize = 8192 // not used by this implementation
|
|
30200
|
+
|
|
30201
|
+
// TODO: Legacy, not needed anymore. Remove in next major version.
|
|
30202
|
+
Buffer._augment = function (arr) {
|
|
30203
|
+
arr.__proto__ = Buffer.prototype
|
|
30204
|
+
return arr
|
|
30205
|
+
}
|
|
30206
|
+
|
|
30207
|
+
function from (that, value, encodingOrOffset, length) {
|
|
30208
|
+
if (typeof value === 'number') {
|
|
30209
|
+
throw new TypeError('"value" argument must not be a number')
|
|
30210
|
+
}
|
|
30211
|
+
|
|
30212
|
+
if (typeof ArrayBuffer !== 'undefined' && value instanceof ArrayBuffer) {
|
|
30213
|
+
return fromArrayBuffer(that, value, encodingOrOffset, length)
|
|
30214
|
+
}
|
|
30215
|
+
|
|
30216
|
+
if (typeof value === 'string') {
|
|
30217
|
+
return fromString(that, value, encodingOrOffset)
|
|
30218
|
+
}
|
|
30219
|
+
|
|
30220
|
+
return fromObject(that, value)
|
|
30221
|
+
}
|
|
30222
|
+
|
|
30223
|
+
/**
|
|
30224
|
+
* Functionally equivalent to Buffer(arg, encoding) but throws a TypeError
|
|
30225
|
+
* if value is a number.
|
|
30226
|
+
* Buffer.from(str[, encoding])
|
|
30227
|
+
* Buffer.from(array)
|
|
30228
|
+
* Buffer.from(buffer)
|
|
30229
|
+
* Buffer.from(arrayBuffer[, byteOffset[, length]])
|
|
30230
|
+
**/
|
|
30231
|
+
Buffer.from = function (value, encodingOrOffset, length) {
|
|
30232
|
+
return from(null, value, encodingOrOffset, length)
|
|
30233
|
+
}
|
|
30234
|
+
|
|
30235
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30236
|
+
Buffer.prototype.__proto__ = Uint8Array.prototype
|
|
30237
|
+
Buffer.__proto__ = Uint8Array
|
|
30238
|
+
if (typeof Symbol !== 'undefined' && Symbol.species &&
|
|
30239
|
+
Buffer[Symbol.species] === Buffer) {
|
|
30240
|
+
// Fix subarray() in ES2016. See: https://github.com/feross/buffer/pull/97
|
|
30241
|
+
Object.defineProperty(Buffer, Symbol.species, {
|
|
30242
|
+
value: null,
|
|
30243
|
+
configurable: true
|
|
30244
|
+
})
|
|
30245
|
+
}
|
|
30246
|
+
}
|
|
30247
|
+
|
|
30248
|
+
function assertSize (size) {
|
|
30249
|
+
if (typeof size !== 'number') {
|
|
30250
|
+
throw new TypeError('"size" argument must be a number')
|
|
30251
|
+
} else if (size < 0) {
|
|
30252
|
+
throw new RangeError('"size" argument must not be negative')
|
|
30253
|
+
}
|
|
30254
|
+
}
|
|
30255
|
+
|
|
30256
|
+
function alloc (that, size, fill, encoding) {
|
|
30257
|
+
assertSize(size)
|
|
30258
|
+
if (size <= 0) {
|
|
30259
|
+
return createBuffer(that, size)
|
|
30260
|
+
}
|
|
30261
|
+
if (fill !== undefined) {
|
|
30262
|
+
// Only pay attention to encoding if it's a string. This
|
|
30263
|
+
// prevents accidentally sending in a number that would
|
|
30264
|
+
// be interpretted as a start offset.
|
|
30265
|
+
return typeof encoding === 'string'
|
|
30266
|
+
? createBuffer(that, size).fill(fill, encoding)
|
|
30267
|
+
: createBuffer(that, size).fill(fill)
|
|
30268
|
+
}
|
|
30269
|
+
return createBuffer(that, size)
|
|
30270
|
+
}
|
|
30271
|
+
|
|
30272
|
+
/**
|
|
30273
|
+
* Creates a new filled Buffer instance.
|
|
30274
|
+
* alloc(size[, fill[, encoding]])
|
|
30275
|
+
**/
|
|
30276
|
+
Buffer.alloc = function (size, fill, encoding) {
|
|
30277
|
+
return alloc(null, size, fill, encoding)
|
|
30278
|
+
}
|
|
30279
|
+
|
|
30280
|
+
function allocUnsafe (that, size) {
|
|
30281
|
+
assertSize(size)
|
|
30282
|
+
that = createBuffer(that, size < 0 ? 0 : checked(size) | 0)
|
|
30283
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30284
|
+
for (var i = 0; i < size; ++i) {
|
|
30285
|
+
that[i] = 0
|
|
30286
|
+
}
|
|
30287
|
+
}
|
|
30288
|
+
return that
|
|
30289
|
+
}
|
|
30290
|
+
|
|
30291
|
+
/**
|
|
30292
|
+
* Equivalent to Buffer(num), by default creates a non-zero-filled Buffer instance.
|
|
30293
|
+
* */
|
|
30294
|
+
Buffer.allocUnsafe = function (size) {
|
|
30295
|
+
return allocUnsafe(null, size)
|
|
30296
|
+
}
|
|
30297
|
+
/**
|
|
30298
|
+
* Equivalent to SlowBuffer(num), by default creates a non-zero-filled Buffer instance.
|
|
30299
|
+
*/
|
|
30300
|
+
Buffer.allocUnsafeSlow = function (size) {
|
|
30301
|
+
return allocUnsafe(null, size)
|
|
30302
|
+
}
|
|
30303
|
+
|
|
30304
|
+
function fromString (that, string, encoding) {
|
|
30305
|
+
if (typeof encoding !== 'string' || encoding === '') {
|
|
30306
|
+
encoding = 'utf8'
|
|
30307
|
+
}
|
|
30308
|
+
|
|
30309
|
+
if (!Buffer.isEncoding(encoding)) {
|
|
30310
|
+
throw new TypeError('"encoding" must be a valid string encoding')
|
|
30311
|
+
}
|
|
30312
|
+
|
|
30313
|
+
var length = byteLength(string, encoding) | 0
|
|
30314
|
+
that = createBuffer(that, length)
|
|
30315
|
+
|
|
30316
|
+
var actual = that.write(string, encoding)
|
|
30317
|
+
|
|
30318
|
+
if (actual !== length) {
|
|
30319
|
+
// Writing a hex string, for example, that contains invalid characters will
|
|
30320
|
+
// cause everything after the first invalid character to be ignored. (e.g.
|
|
30321
|
+
// 'abxxcd' will be treated as 'ab')
|
|
30322
|
+
that = that.slice(0, actual)
|
|
30323
|
+
}
|
|
30324
|
+
|
|
30325
|
+
return that
|
|
30326
|
+
}
|
|
30327
|
+
|
|
30328
|
+
function fromArrayLike (that, array) {
|
|
30329
|
+
var length = array.length < 0 ? 0 : checked(array.length) | 0
|
|
30330
|
+
that = createBuffer(that, length)
|
|
30331
|
+
for (var i = 0; i < length; i += 1) {
|
|
30332
|
+
that[i] = array[i] & 255
|
|
30333
|
+
}
|
|
30334
|
+
return that
|
|
30335
|
+
}
|
|
30336
|
+
|
|
30337
|
+
function fromArrayBuffer (that, array, byteOffset, length) {
|
|
30338
|
+
array.byteLength // this throws if `array` is not a valid ArrayBuffer
|
|
30339
|
+
|
|
30340
|
+
if (byteOffset < 0 || array.byteLength < byteOffset) {
|
|
30341
|
+
throw new RangeError('\'offset\' is out of bounds')
|
|
30342
|
+
}
|
|
30343
|
+
|
|
30344
|
+
if (array.byteLength < byteOffset + (length || 0)) {
|
|
30345
|
+
throw new RangeError('\'length\' is out of bounds')
|
|
30346
|
+
}
|
|
30347
|
+
|
|
30348
|
+
if (byteOffset === undefined && length === undefined) {
|
|
30349
|
+
array = new Uint8Array(array)
|
|
30350
|
+
} else if (length === undefined) {
|
|
30351
|
+
array = new Uint8Array(array, byteOffset)
|
|
30352
|
+
} else {
|
|
30353
|
+
array = new Uint8Array(array, byteOffset, length)
|
|
30354
|
+
}
|
|
30355
|
+
|
|
30356
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
30357
|
+
// Return an augmented `Uint8Array` instance, for best performance
|
|
30358
|
+
that = array
|
|
30359
|
+
that.__proto__ = Buffer.prototype
|
|
30360
|
+
} else {
|
|
30361
|
+
// Fallback: Return an object instance of the Buffer class
|
|
30362
|
+
that = fromArrayLike(that, array)
|
|
30363
|
+
}
|
|
30364
|
+
return that
|
|
30365
|
+
}
|
|
30366
|
+
|
|
30367
|
+
function fromObject (that, obj) {
|
|
30368
|
+
if (Buffer.isBuffer(obj)) {
|
|
30369
|
+
var len = checked(obj.length) | 0
|
|
30370
|
+
that = createBuffer(that, len)
|
|
30371
|
+
|
|
30372
|
+
if (that.length === 0) {
|
|
30373
|
+
return that
|
|
30374
|
+
}
|
|
30375
|
+
|
|
30376
|
+
obj.copy(that, 0, 0, len)
|
|
30377
|
+
return that
|
|
30378
|
+
}
|
|
30379
|
+
|
|
30380
|
+
if (obj) {
|
|
30381
|
+
if ((typeof ArrayBuffer !== 'undefined' &&
|
|
30382
|
+
obj.buffer instanceof ArrayBuffer) || 'length' in obj) {
|
|
30383
|
+
if (typeof obj.length !== 'number' || isnan(obj.length)) {
|
|
30384
|
+
return createBuffer(that, 0)
|
|
30385
|
+
}
|
|
30386
|
+
return fromArrayLike(that, obj)
|
|
30387
|
+
}
|
|
30388
|
+
|
|
30389
|
+
if (obj.type === 'Buffer' && isArray(obj.data)) {
|
|
30390
|
+
return fromArrayLike(that, obj.data)
|
|
30391
|
+
}
|
|
30392
|
+
}
|
|
30393
|
+
|
|
30394
|
+
throw new TypeError('First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.')
|
|
30395
|
+
}
|
|
30396
|
+
|
|
30397
|
+
function checked (length) {
|
|
30398
|
+
// Note: cannot use `length < kMaxLength()` here because that fails when
|
|
30399
|
+
// length is NaN (which is otherwise coerced to zero.)
|
|
30400
|
+
if (length >= kMaxLength()) {
|
|
30401
|
+
throw new RangeError('Attempt to allocate Buffer larger than maximum ' +
|
|
30402
|
+
'size: 0x' + kMaxLength().toString(16) + ' bytes')
|
|
30403
|
+
}
|
|
30404
|
+
return length | 0
|
|
30405
|
+
}
|
|
30406
|
+
|
|
30407
|
+
function SlowBuffer (length) {
|
|
30408
|
+
if (+length != length) { // eslint-disable-line eqeqeq
|
|
30409
|
+
length = 0
|
|
30410
|
+
}
|
|
30411
|
+
return Buffer.alloc(+length)
|
|
30412
|
+
}
|
|
30413
|
+
|
|
30414
|
+
Buffer.isBuffer = function isBuffer (b) {
|
|
30415
|
+
return !!(b != null && b._isBuffer)
|
|
30416
|
+
}
|
|
30417
|
+
|
|
30418
|
+
Buffer.compare = function compare (a, b) {
|
|
30419
|
+
if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) {
|
|
30420
|
+
throw new TypeError('Arguments must be Buffers')
|
|
30421
|
+
}
|
|
30422
|
+
|
|
30423
|
+
if (a === b) return 0
|
|
30424
|
+
|
|
30425
|
+
var x = a.length
|
|
30426
|
+
var y = b.length
|
|
30427
|
+
|
|
30428
|
+
for (var i = 0, len = Math.min(x, y); i < len; ++i) {
|
|
30429
|
+
if (a[i] !== b[i]) {
|
|
30430
|
+
x = a[i]
|
|
30431
|
+
y = b[i]
|
|
30432
|
+
break
|
|
30433
|
+
}
|
|
30434
|
+
}
|
|
30435
|
+
|
|
30436
|
+
if (x < y) return -1
|
|
30437
|
+
if (y < x) return 1
|
|
30438
|
+
return 0
|
|
30439
|
+
}
|
|
30440
|
+
|
|
30441
|
+
Buffer.isEncoding = function isEncoding (encoding) {
|
|
30442
|
+
switch (String(encoding).toLowerCase()) {
|
|
30443
|
+
case 'hex':
|
|
30444
|
+
case 'utf8':
|
|
30445
|
+
case 'utf-8':
|
|
30446
|
+
case 'ascii':
|
|
30447
|
+
case 'latin1':
|
|
30448
|
+
case 'binary':
|
|
30449
|
+
case 'base64':
|
|
30450
|
+
case 'ucs2':
|
|
30451
|
+
case 'ucs-2':
|
|
30452
|
+
case 'utf16le':
|
|
30453
|
+
case 'utf-16le':
|
|
30454
|
+
return true
|
|
30455
|
+
default:
|
|
30456
|
+
return false
|
|
30457
|
+
}
|
|
30458
|
+
}
|
|
30459
|
+
|
|
30460
|
+
Buffer.concat = function concat (list, length) {
|
|
30461
|
+
if (!isArray(list)) {
|
|
30462
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
30463
|
+
}
|
|
30464
|
+
|
|
30465
|
+
if (list.length === 0) {
|
|
30466
|
+
return Buffer.alloc(0)
|
|
30467
|
+
}
|
|
30468
|
+
|
|
30469
|
+
var i
|
|
30470
|
+
if (length === undefined) {
|
|
30471
|
+
length = 0
|
|
30472
|
+
for (i = 0; i < list.length; ++i) {
|
|
30473
|
+
length += list[i].length
|
|
30474
|
+
}
|
|
30475
|
+
}
|
|
30476
|
+
|
|
30477
|
+
var buffer = Buffer.allocUnsafe(length)
|
|
30478
|
+
var pos = 0
|
|
30479
|
+
for (i = 0; i < list.length; ++i) {
|
|
30480
|
+
var buf = list[i]
|
|
30481
|
+
if (!Buffer.isBuffer(buf)) {
|
|
30482
|
+
throw new TypeError('"list" argument must be an Array of Buffers')
|
|
30483
|
+
}
|
|
30484
|
+
buf.copy(buffer, pos)
|
|
30485
|
+
pos += buf.length
|
|
30486
|
+
}
|
|
30487
|
+
return buffer
|
|
30488
|
+
}
|
|
30489
|
+
|
|
30490
|
+
function byteLength (string, encoding) {
|
|
30491
|
+
if (Buffer.isBuffer(string)) {
|
|
30492
|
+
return string.length
|
|
30493
|
+
}
|
|
30494
|
+
if (typeof ArrayBuffer !== 'undefined' && typeof ArrayBuffer.isView === 'function' &&
|
|
30495
|
+
(ArrayBuffer.isView(string) || string instanceof ArrayBuffer)) {
|
|
30496
|
+
return string.byteLength
|
|
30497
|
+
}
|
|
30498
|
+
if (typeof string !== 'string') {
|
|
30499
|
+
string = '' + string
|
|
30500
|
+
}
|
|
30501
|
+
|
|
30502
|
+
var len = string.length
|
|
30503
|
+
if (len === 0) return 0
|
|
30504
|
+
|
|
30505
|
+
// Use a for loop to avoid recursion
|
|
30506
|
+
var loweredCase = false
|
|
30507
|
+
for (;;) {
|
|
30508
|
+
switch (encoding) {
|
|
30509
|
+
case 'ascii':
|
|
30510
|
+
case 'latin1':
|
|
30511
|
+
case 'binary':
|
|
30512
|
+
return len
|
|
30513
|
+
case 'utf8':
|
|
30514
|
+
case 'utf-8':
|
|
30515
|
+
case undefined:
|
|
30516
|
+
return utf8ToBytes(string).length
|
|
30517
|
+
case 'ucs2':
|
|
30518
|
+
case 'ucs-2':
|
|
30519
|
+
case 'utf16le':
|
|
30520
|
+
case 'utf-16le':
|
|
30521
|
+
return len * 2
|
|
30522
|
+
case 'hex':
|
|
30523
|
+
return len >>> 1
|
|
30524
|
+
case 'base64':
|
|
30525
|
+
return base64ToBytes(string).length
|
|
30526
|
+
default:
|
|
30527
|
+
if (loweredCase) return utf8ToBytes(string).length // assume utf8
|
|
30528
|
+
encoding = ('' + encoding).toLowerCase()
|
|
30529
|
+
loweredCase = true
|
|
30530
|
+
}
|
|
30531
|
+
}
|
|
30532
|
+
}
|
|
30533
|
+
Buffer.byteLength = byteLength
|
|
30534
|
+
|
|
30535
|
+
function slowToString (encoding, start, end) {
|
|
30536
|
+
var loweredCase = false
|
|
30537
|
+
|
|
30538
|
+
// No need to verify that "this.length <= MAX_UINT32" since it's a read-only
|
|
30539
|
+
// property of a typed array.
|
|
30540
|
+
|
|
30541
|
+
// This behaves neither like String nor Uint8Array in that we set start/end
|
|
30542
|
+
// to their upper/lower bounds if the value passed is out of range.
|
|
30543
|
+
// undefined is handled specially as per ECMA-262 6th Edition,
|
|
30544
|
+
// Section 13.3.3.7 Runtime Semantics: KeyedBindingInitialization.
|
|
30545
|
+
if (start === undefined || start < 0) {
|
|
30546
|
+
start = 0
|
|
30547
|
+
}
|
|
30548
|
+
// Return early if start > this.length. Done here to prevent potential uint32
|
|
30549
|
+
// coercion fail below.
|
|
30550
|
+
if (start > this.length) {
|
|
30551
|
+
return ''
|
|
30552
|
+
}
|
|
30553
|
+
|
|
30554
|
+
if (end === undefined || end > this.length) {
|
|
30555
|
+
end = this.length
|
|
30556
|
+
}
|
|
30557
|
+
|
|
30558
|
+
if (end <= 0) {
|
|
30559
|
+
return ''
|
|
30560
|
+
}
|
|
30561
|
+
|
|
30562
|
+
// Force coersion to uint32. This will also coerce falsey/NaN values to 0.
|
|
30563
|
+
end >>>= 0
|
|
30564
|
+
start >>>= 0
|
|
30565
|
+
|
|
30566
|
+
if (end <= start) {
|
|
30567
|
+
return ''
|
|
30568
|
+
}
|
|
30569
|
+
|
|
30570
|
+
if (!encoding) encoding = 'utf8'
|
|
30571
|
+
|
|
30572
|
+
while (true) {
|
|
30573
|
+
switch (encoding) {
|
|
30574
|
+
case 'hex':
|
|
30575
|
+
return hexSlice(this, start, end)
|
|
30576
|
+
|
|
30577
|
+
case 'utf8':
|
|
30578
|
+
case 'utf-8':
|
|
30579
|
+
return utf8Slice(this, start, end)
|
|
30580
|
+
|
|
30581
|
+
case 'ascii':
|
|
30582
|
+
return asciiSlice(this, start, end)
|
|
30583
|
+
|
|
30584
|
+
case 'latin1':
|
|
30585
|
+
case 'binary':
|
|
30586
|
+
return latin1Slice(this, start, end)
|
|
30587
|
+
|
|
30588
|
+
case 'base64':
|
|
30589
|
+
return base64Slice(this, start, end)
|
|
30590
|
+
|
|
30591
|
+
case 'ucs2':
|
|
30592
|
+
case 'ucs-2':
|
|
30593
|
+
case 'utf16le':
|
|
30594
|
+
case 'utf-16le':
|
|
30595
|
+
return utf16leSlice(this, start, end)
|
|
30596
|
+
|
|
30597
|
+
default:
|
|
30598
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
30599
|
+
encoding = (encoding + '').toLowerCase()
|
|
30600
|
+
loweredCase = true
|
|
30601
|
+
}
|
|
30602
|
+
}
|
|
30603
|
+
}
|
|
30604
|
+
|
|
30605
|
+
// The property is used by `Buffer.isBuffer` and `is-buffer` (in Safari 5-7) to detect
|
|
30606
|
+
// Buffer instances.
|
|
30607
|
+
Buffer.prototype._isBuffer = true
|
|
30608
|
+
|
|
30609
|
+
function swap (b, n, m) {
|
|
30610
|
+
var i = b[n]
|
|
30611
|
+
b[n] = b[m]
|
|
30612
|
+
b[m] = i
|
|
30613
|
+
}
|
|
30614
|
+
|
|
30615
|
+
Buffer.prototype.swap16 = function swap16 () {
|
|
30616
|
+
var len = this.length
|
|
30617
|
+
if (len % 2 !== 0) {
|
|
30618
|
+
throw new RangeError('Buffer size must be a multiple of 16-bits')
|
|
30619
|
+
}
|
|
30620
|
+
for (var i = 0; i < len; i += 2) {
|
|
30621
|
+
swap(this, i, i + 1)
|
|
30622
|
+
}
|
|
30623
|
+
return this
|
|
30624
|
+
}
|
|
30625
|
+
|
|
30626
|
+
Buffer.prototype.swap32 = function swap32 () {
|
|
30627
|
+
var len = this.length
|
|
30628
|
+
if (len % 4 !== 0) {
|
|
30629
|
+
throw new RangeError('Buffer size must be a multiple of 32-bits')
|
|
30630
|
+
}
|
|
30631
|
+
for (var i = 0; i < len; i += 4) {
|
|
30632
|
+
swap(this, i, i + 3)
|
|
30633
|
+
swap(this, i + 1, i + 2)
|
|
30634
|
+
}
|
|
30635
|
+
return this
|
|
30636
|
+
}
|
|
30637
|
+
|
|
30638
|
+
Buffer.prototype.swap64 = function swap64 () {
|
|
30639
|
+
var len = this.length
|
|
30640
|
+
if (len % 8 !== 0) {
|
|
30641
|
+
throw new RangeError('Buffer size must be a multiple of 64-bits')
|
|
30642
|
+
}
|
|
30643
|
+
for (var i = 0; i < len; i += 8) {
|
|
30644
|
+
swap(this, i, i + 7)
|
|
30645
|
+
swap(this, i + 1, i + 6)
|
|
30646
|
+
swap(this, i + 2, i + 5)
|
|
30647
|
+
swap(this, i + 3, i + 4)
|
|
30648
|
+
}
|
|
30649
|
+
return this
|
|
30650
|
+
}
|
|
30651
|
+
|
|
30652
|
+
Buffer.prototype.toString = function toString () {
|
|
30653
|
+
var length = this.length | 0
|
|
30654
|
+
if (length === 0) return ''
|
|
30655
|
+
if (arguments.length === 0) return utf8Slice(this, 0, length)
|
|
30656
|
+
return slowToString.apply(this, arguments)
|
|
30657
|
+
}
|
|
30658
|
+
|
|
30659
|
+
Buffer.prototype.equals = function equals (b) {
|
|
30660
|
+
if (!Buffer.isBuffer(b)) throw new TypeError('Argument must be a Buffer')
|
|
30661
|
+
if (this === b) return true
|
|
30662
|
+
return Buffer.compare(this, b) === 0
|
|
30663
|
+
}
|
|
30664
|
+
|
|
30665
|
+
Buffer.prototype.inspect = function inspect () {
|
|
30666
|
+
var str = ''
|
|
30667
|
+
var max = exports.INSPECT_MAX_BYTES
|
|
30668
|
+
if (this.length > 0) {
|
|
30669
|
+
str = this.toString('hex', 0, max).match(/.{2}/g).join(' ')
|
|
30670
|
+
if (this.length > max) str += ' ... '
|
|
30671
|
+
}
|
|
30672
|
+
return '<Buffer ' + str + '>'
|
|
30673
|
+
}
|
|
30674
|
+
|
|
30675
|
+
Buffer.prototype.compare = function compare (target, start, end, thisStart, thisEnd) {
|
|
30676
|
+
if (!Buffer.isBuffer(target)) {
|
|
30677
|
+
throw new TypeError('Argument must be a Buffer')
|
|
30678
|
+
}
|
|
30679
|
+
|
|
30680
|
+
if (start === undefined) {
|
|
30681
|
+
start = 0
|
|
30682
|
+
}
|
|
30683
|
+
if (end === undefined) {
|
|
30684
|
+
end = target ? target.length : 0
|
|
30685
|
+
}
|
|
30686
|
+
if (thisStart === undefined) {
|
|
30687
|
+
thisStart = 0
|
|
30688
|
+
}
|
|
30689
|
+
if (thisEnd === undefined) {
|
|
30690
|
+
thisEnd = this.length
|
|
30691
|
+
}
|
|
30692
|
+
|
|
30693
|
+
if (start < 0 || end > target.length || thisStart < 0 || thisEnd > this.length) {
|
|
30694
|
+
throw new RangeError('out of range index')
|
|
30695
|
+
}
|
|
30696
|
+
|
|
30697
|
+
if (thisStart >= thisEnd && start >= end) {
|
|
30698
|
+
return 0
|
|
30699
|
+
}
|
|
30700
|
+
if (thisStart >= thisEnd) {
|
|
30701
|
+
return -1
|
|
30702
|
+
}
|
|
30703
|
+
if (start >= end) {
|
|
30704
|
+
return 1
|
|
30705
|
+
}
|
|
30706
|
+
|
|
30707
|
+
start >>>= 0
|
|
30708
|
+
end >>>= 0
|
|
30709
|
+
thisStart >>>= 0
|
|
30710
|
+
thisEnd >>>= 0
|
|
30711
|
+
|
|
30712
|
+
if (this === target) return 0
|
|
30713
|
+
|
|
30714
|
+
var x = thisEnd - thisStart
|
|
30715
|
+
var y = end - start
|
|
30716
|
+
var len = Math.min(x, y)
|
|
30717
|
+
|
|
30718
|
+
var thisCopy = this.slice(thisStart, thisEnd)
|
|
30719
|
+
var targetCopy = target.slice(start, end)
|
|
30720
|
+
|
|
30721
|
+
for (var i = 0; i < len; ++i) {
|
|
30722
|
+
if (thisCopy[i] !== targetCopy[i]) {
|
|
30723
|
+
x = thisCopy[i]
|
|
30724
|
+
y = targetCopy[i]
|
|
30725
|
+
break
|
|
30726
|
+
}
|
|
30727
|
+
}
|
|
30728
|
+
|
|
30729
|
+
if (x < y) return -1
|
|
30730
|
+
if (y < x) return 1
|
|
30731
|
+
return 0
|
|
30732
|
+
}
|
|
30733
|
+
|
|
30734
|
+
// Finds either the first index of `val` in `buffer` at offset >= `byteOffset`,
|
|
30735
|
+
// OR the last index of `val` in `buffer` at offset <= `byteOffset`.
|
|
30736
|
+
//
|
|
30737
|
+
// Arguments:
|
|
30738
|
+
// - buffer - a Buffer to search
|
|
30739
|
+
// - val - a string, Buffer, or number
|
|
30740
|
+
// - byteOffset - an index into `buffer`; will be clamped to an int32
|
|
30741
|
+
// - encoding - an optional encoding, relevant is val is a string
|
|
30742
|
+
// - dir - true for indexOf, false for lastIndexOf
|
|
30743
|
+
function bidirectionalIndexOf (buffer, val, byteOffset, encoding, dir) {
|
|
30744
|
+
// Empty buffer means no match
|
|
30745
|
+
if (buffer.length === 0) return -1
|
|
30746
|
+
|
|
30747
|
+
// Normalize byteOffset
|
|
30748
|
+
if (typeof byteOffset === 'string') {
|
|
30749
|
+
encoding = byteOffset
|
|
30750
|
+
byteOffset = 0
|
|
30751
|
+
} else if (byteOffset > 0x7fffffff) {
|
|
30752
|
+
byteOffset = 0x7fffffff
|
|
30753
|
+
} else if (byteOffset < -0x80000000) {
|
|
30754
|
+
byteOffset = -0x80000000
|
|
30755
|
+
}
|
|
30756
|
+
byteOffset = +byteOffset // Coerce to Number.
|
|
30757
|
+
if (isNaN(byteOffset)) {
|
|
30758
|
+
// byteOffset: it it's undefined, null, NaN, "foo", etc, search whole buffer
|
|
30759
|
+
byteOffset = dir ? 0 : (buffer.length - 1)
|
|
30760
|
+
}
|
|
30761
|
+
|
|
30762
|
+
// Normalize byteOffset: negative offsets start from the end of the buffer
|
|
30763
|
+
if (byteOffset < 0) byteOffset = buffer.length + byteOffset
|
|
30764
|
+
if (byteOffset >= buffer.length) {
|
|
30765
|
+
if (dir) return -1
|
|
30766
|
+
else byteOffset = buffer.length - 1
|
|
30767
|
+
} else if (byteOffset < 0) {
|
|
30768
|
+
if (dir) byteOffset = 0
|
|
30769
|
+
else return -1
|
|
30770
|
+
}
|
|
30771
|
+
|
|
30772
|
+
// Normalize val
|
|
30773
|
+
if (typeof val === 'string') {
|
|
30774
|
+
val = Buffer.from(val, encoding)
|
|
30775
|
+
}
|
|
30776
|
+
|
|
30777
|
+
// Finally, search either indexOf (if dir is true) or lastIndexOf
|
|
30778
|
+
if (Buffer.isBuffer(val)) {
|
|
30779
|
+
// Special case: looking for empty string/buffer always fails
|
|
30780
|
+
if (val.length === 0) {
|
|
30781
|
+
return -1
|
|
30782
|
+
}
|
|
30783
|
+
return arrayIndexOf(buffer, val, byteOffset, encoding, dir)
|
|
30784
|
+
} else if (typeof val === 'number') {
|
|
30785
|
+
val = val & 0xFF // Search for a byte value [0-255]
|
|
30786
|
+
if (Buffer.TYPED_ARRAY_SUPPORT &&
|
|
30787
|
+
typeof Uint8Array.prototype.indexOf === 'function') {
|
|
30788
|
+
if (dir) {
|
|
30789
|
+
return Uint8Array.prototype.indexOf.call(buffer, val, byteOffset)
|
|
30790
|
+
} else {
|
|
30791
|
+
return Uint8Array.prototype.lastIndexOf.call(buffer, val, byteOffset)
|
|
30792
|
+
}
|
|
30793
|
+
}
|
|
30794
|
+
return arrayIndexOf(buffer, [ val ], byteOffset, encoding, dir)
|
|
30795
|
+
}
|
|
30796
|
+
|
|
30797
|
+
throw new TypeError('val must be string, number or Buffer')
|
|
30798
|
+
}
|
|
30799
|
+
|
|
30800
|
+
function arrayIndexOf (arr, val, byteOffset, encoding, dir) {
|
|
30801
|
+
var indexSize = 1
|
|
30802
|
+
var arrLength = arr.length
|
|
30803
|
+
var valLength = val.length
|
|
30804
|
+
|
|
30805
|
+
if (encoding !== undefined) {
|
|
30806
|
+
encoding = String(encoding).toLowerCase()
|
|
30807
|
+
if (encoding === 'ucs2' || encoding === 'ucs-2' ||
|
|
30808
|
+
encoding === 'utf16le' || encoding === 'utf-16le') {
|
|
30809
|
+
if (arr.length < 2 || val.length < 2) {
|
|
30810
|
+
return -1
|
|
30811
|
+
}
|
|
30812
|
+
indexSize = 2
|
|
30813
|
+
arrLength /= 2
|
|
30814
|
+
valLength /= 2
|
|
30815
|
+
byteOffset /= 2
|
|
30816
|
+
}
|
|
30817
|
+
}
|
|
30818
|
+
|
|
30819
|
+
function read (buf, i) {
|
|
30820
|
+
if (indexSize === 1) {
|
|
30821
|
+
return buf[i]
|
|
30822
|
+
} else {
|
|
30823
|
+
return buf.readUInt16BE(i * indexSize)
|
|
30824
|
+
}
|
|
30825
|
+
}
|
|
30826
|
+
|
|
30827
|
+
var i
|
|
30828
|
+
if (dir) {
|
|
30829
|
+
var foundIndex = -1
|
|
30830
|
+
for (i = byteOffset; i < arrLength; i++) {
|
|
30831
|
+
if (read(arr, i) === read(val, foundIndex === -1 ? 0 : i - foundIndex)) {
|
|
30832
|
+
if (foundIndex === -1) foundIndex = i
|
|
30833
|
+
if (i - foundIndex + 1 === valLength) return foundIndex * indexSize
|
|
30834
|
+
} else {
|
|
30835
|
+
if (foundIndex !== -1) i -= i - foundIndex
|
|
30836
|
+
foundIndex = -1
|
|
30837
|
+
}
|
|
30838
|
+
}
|
|
30839
|
+
} else {
|
|
30840
|
+
if (byteOffset + valLength > arrLength) byteOffset = arrLength - valLength
|
|
30841
|
+
for (i = byteOffset; i >= 0; i--) {
|
|
30842
|
+
var found = true
|
|
30843
|
+
for (var j = 0; j < valLength; j++) {
|
|
30844
|
+
if (read(arr, i + j) !== read(val, j)) {
|
|
30845
|
+
found = false
|
|
30846
|
+
break
|
|
30847
|
+
}
|
|
30848
|
+
}
|
|
30849
|
+
if (found) return i
|
|
30850
|
+
}
|
|
30851
|
+
}
|
|
30852
|
+
|
|
30853
|
+
return -1
|
|
30854
|
+
}
|
|
30855
|
+
|
|
30856
|
+
Buffer.prototype.includes = function includes (val, byteOffset, encoding) {
|
|
30857
|
+
return this.indexOf(val, byteOffset, encoding) !== -1
|
|
30858
|
+
}
|
|
30859
|
+
|
|
30860
|
+
Buffer.prototype.indexOf = function indexOf (val, byteOffset, encoding) {
|
|
30861
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, true)
|
|
30862
|
+
}
|
|
30863
|
+
|
|
30864
|
+
Buffer.prototype.lastIndexOf = function lastIndexOf (val, byteOffset, encoding) {
|
|
30865
|
+
return bidirectionalIndexOf(this, val, byteOffset, encoding, false)
|
|
30866
|
+
}
|
|
30867
|
+
|
|
30868
|
+
function hexWrite (buf, string, offset, length) {
|
|
30869
|
+
offset = Number(offset) || 0
|
|
30870
|
+
var remaining = buf.length - offset
|
|
30871
|
+
if (!length) {
|
|
30872
|
+
length = remaining
|
|
30873
|
+
} else {
|
|
30874
|
+
length = Number(length)
|
|
30875
|
+
if (length > remaining) {
|
|
30876
|
+
length = remaining
|
|
30877
|
+
}
|
|
30878
|
+
}
|
|
30879
|
+
|
|
30880
|
+
// must be an even number of digits
|
|
30881
|
+
var strLen = string.length
|
|
30882
|
+
if (strLen % 2 !== 0) throw new TypeError('Invalid hex string')
|
|
30883
|
+
|
|
30884
|
+
if (length > strLen / 2) {
|
|
30885
|
+
length = strLen / 2
|
|
30886
|
+
}
|
|
30887
|
+
for (var i = 0; i < length; ++i) {
|
|
30888
|
+
var parsed = parseInt(string.substr(i * 2, 2), 16)
|
|
30889
|
+
if (isNaN(parsed)) return i
|
|
30890
|
+
buf[offset + i] = parsed
|
|
30891
|
+
}
|
|
30892
|
+
return i
|
|
30893
|
+
}
|
|
30894
|
+
|
|
30895
|
+
function utf8Write (buf, string, offset, length) {
|
|
30896
|
+
return blitBuffer(utf8ToBytes(string, buf.length - offset), buf, offset, length)
|
|
30897
|
+
}
|
|
30898
|
+
|
|
30899
|
+
function asciiWrite (buf, string, offset, length) {
|
|
30900
|
+
return blitBuffer(asciiToBytes(string), buf, offset, length)
|
|
30901
|
+
}
|
|
30902
|
+
|
|
30903
|
+
function latin1Write (buf, string, offset, length) {
|
|
30904
|
+
return asciiWrite(buf, string, offset, length)
|
|
30905
|
+
}
|
|
30906
|
+
|
|
30907
|
+
function base64Write (buf, string, offset, length) {
|
|
30908
|
+
return blitBuffer(base64ToBytes(string), buf, offset, length)
|
|
30909
|
+
}
|
|
30910
|
+
|
|
30911
|
+
function ucs2Write (buf, string, offset, length) {
|
|
30912
|
+
return blitBuffer(utf16leToBytes(string, buf.length - offset), buf, offset, length)
|
|
30913
|
+
}
|
|
30914
|
+
|
|
30915
|
+
Buffer.prototype.write = function write (string, offset, length, encoding) {
|
|
30916
|
+
// Buffer#write(string)
|
|
30917
|
+
if (offset === undefined) {
|
|
30918
|
+
encoding = 'utf8'
|
|
30919
|
+
length = this.length
|
|
30920
|
+
offset = 0
|
|
30921
|
+
// Buffer#write(string, encoding)
|
|
30922
|
+
} else if (length === undefined && typeof offset === 'string') {
|
|
30923
|
+
encoding = offset
|
|
30924
|
+
length = this.length
|
|
30925
|
+
offset = 0
|
|
30926
|
+
// Buffer#write(string, offset[, length][, encoding])
|
|
30927
|
+
} else if (isFinite(offset)) {
|
|
30928
|
+
offset = offset | 0
|
|
30929
|
+
if (isFinite(length)) {
|
|
30930
|
+
length = length | 0
|
|
30931
|
+
if (encoding === undefined) encoding = 'utf8'
|
|
30932
|
+
} else {
|
|
30933
|
+
encoding = length
|
|
30934
|
+
length = undefined
|
|
30935
|
+
}
|
|
30936
|
+
// legacy write(string, encoding, offset, length) - remove in v0.13
|
|
30937
|
+
} else {
|
|
30938
|
+
throw new Error(
|
|
30939
|
+
'Buffer.write(string, encoding, offset[, length]) is no longer supported'
|
|
30940
|
+
)
|
|
30941
|
+
}
|
|
30942
|
+
|
|
30943
|
+
var remaining = this.length - offset
|
|
30944
|
+
if (length === undefined || length > remaining) length = remaining
|
|
30945
|
+
|
|
30946
|
+
if ((string.length > 0 && (length < 0 || offset < 0)) || offset > this.length) {
|
|
30947
|
+
throw new RangeError('Attempt to write outside buffer bounds')
|
|
30948
|
+
}
|
|
30949
|
+
|
|
30950
|
+
if (!encoding) encoding = 'utf8'
|
|
30951
|
+
|
|
30952
|
+
var loweredCase = false
|
|
30953
|
+
for (;;) {
|
|
30954
|
+
switch (encoding) {
|
|
30955
|
+
case 'hex':
|
|
30956
|
+
return hexWrite(this, string, offset, length)
|
|
30957
|
+
|
|
30958
|
+
case 'utf8':
|
|
30959
|
+
case 'utf-8':
|
|
30960
|
+
return utf8Write(this, string, offset, length)
|
|
30961
|
+
|
|
30962
|
+
case 'ascii':
|
|
30963
|
+
return asciiWrite(this, string, offset, length)
|
|
30964
|
+
|
|
30965
|
+
case 'latin1':
|
|
30966
|
+
case 'binary':
|
|
30967
|
+
return latin1Write(this, string, offset, length)
|
|
30968
|
+
|
|
30969
|
+
case 'base64':
|
|
30970
|
+
// Warning: maxLength not taken into account in base64Write
|
|
30971
|
+
return base64Write(this, string, offset, length)
|
|
30972
|
+
|
|
30973
|
+
case 'ucs2':
|
|
30974
|
+
case 'ucs-2':
|
|
30975
|
+
case 'utf16le':
|
|
30976
|
+
case 'utf-16le':
|
|
30977
|
+
return ucs2Write(this, string, offset, length)
|
|
30978
|
+
|
|
30979
|
+
default:
|
|
30980
|
+
if (loweredCase) throw new TypeError('Unknown encoding: ' + encoding)
|
|
30981
|
+
encoding = ('' + encoding).toLowerCase()
|
|
30982
|
+
loweredCase = true
|
|
30983
|
+
}
|
|
30984
|
+
}
|
|
30985
|
+
}
|
|
30986
|
+
|
|
30987
|
+
Buffer.prototype.toJSON = function toJSON () {
|
|
30988
|
+
return {
|
|
30989
|
+
type: 'Buffer',
|
|
30990
|
+
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
30991
|
+
}
|
|
30992
|
+
}
|
|
30993
|
+
|
|
30994
|
+
function base64Slice (buf, start, end) {
|
|
30995
|
+
if (start === 0 && end === buf.length) {
|
|
30996
|
+
return base64.fromByteArray(buf)
|
|
30997
|
+
} else {
|
|
30998
|
+
return base64.fromByteArray(buf.slice(start, end))
|
|
30999
|
+
}
|
|
31000
|
+
}
|
|
31001
|
+
|
|
31002
|
+
function utf8Slice (buf, start, end) {
|
|
31003
|
+
end = Math.min(buf.length, end)
|
|
31004
|
+
var res = []
|
|
31005
|
+
|
|
31006
|
+
var i = start
|
|
31007
|
+
while (i < end) {
|
|
31008
|
+
var firstByte = buf[i]
|
|
31009
|
+
var codePoint = null
|
|
31010
|
+
var bytesPerSequence = (firstByte > 0xEF) ? 4
|
|
31011
|
+
: (firstByte > 0xDF) ? 3
|
|
31012
|
+
: (firstByte > 0xBF) ? 2
|
|
31013
|
+
: 1
|
|
31014
|
+
|
|
31015
|
+
if (i + bytesPerSequence <= end) {
|
|
31016
|
+
var secondByte, thirdByte, fourthByte, tempCodePoint
|
|
31017
|
+
|
|
31018
|
+
switch (bytesPerSequence) {
|
|
31019
|
+
case 1:
|
|
31020
|
+
if (firstByte < 0x80) {
|
|
31021
|
+
codePoint = firstByte
|
|
31022
|
+
}
|
|
31023
|
+
break
|
|
31024
|
+
case 2:
|
|
31025
|
+
secondByte = buf[i + 1]
|
|
31026
|
+
if ((secondByte & 0xC0) === 0x80) {
|
|
31027
|
+
tempCodePoint = (firstByte & 0x1F) << 0x6 | (secondByte & 0x3F)
|
|
31028
|
+
if (tempCodePoint > 0x7F) {
|
|
31029
|
+
codePoint = tempCodePoint
|
|
31030
|
+
}
|
|
31031
|
+
}
|
|
31032
|
+
break
|
|
31033
|
+
case 3:
|
|
31034
|
+
secondByte = buf[i + 1]
|
|
31035
|
+
thirdByte = buf[i + 2]
|
|
31036
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80) {
|
|
31037
|
+
tempCodePoint = (firstByte & 0xF) << 0xC | (secondByte & 0x3F) << 0x6 | (thirdByte & 0x3F)
|
|
31038
|
+
if (tempCodePoint > 0x7FF && (tempCodePoint < 0xD800 || tempCodePoint > 0xDFFF)) {
|
|
31039
|
+
codePoint = tempCodePoint
|
|
31040
|
+
}
|
|
31041
|
+
}
|
|
31042
|
+
break
|
|
31043
|
+
case 4:
|
|
31044
|
+
secondByte = buf[i + 1]
|
|
31045
|
+
thirdByte = buf[i + 2]
|
|
31046
|
+
fourthByte = buf[i + 3]
|
|
31047
|
+
if ((secondByte & 0xC0) === 0x80 && (thirdByte & 0xC0) === 0x80 && (fourthByte & 0xC0) === 0x80) {
|
|
31048
|
+
tempCodePoint = (firstByte & 0xF) << 0x12 | (secondByte & 0x3F) << 0xC | (thirdByte & 0x3F) << 0x6 | (fourthByte & 0x3F)
|
|
31049
|
+
if (tempCodePoint > 0xFFFF && tempCodePoint < 0x110000) {
|
|
31050
|
+
codePoint = tempCodePoint
|
|
31051
|
+
}
|
|
31052
|
+
}
|
|
31053
|
+
}
|
|
31054
|
+
}
|
|
31055
|
+
|
|
31056
|
+
if (codePoint === null) {
|
|
31057
|
+
// we did not generate a valid codePoint so insert a
|
|
31058
|
+
// replacement char (U+FFFD) and advance only 1 byte
|
|
31059
|
+
codePoint = 0xFFFD
|
|
31060
|
+
bytesPerSequence = 1
|
|
31061
|
+
} else if (codePoint > 0xFFFF) {
|
|
31062
|
+
// encode to utf16 (surrogate pair dance)
|
|
31063
|
+
codePoint -= 0x10000
|
|
31064
|
+
res.push(codePoint >>> 10 & 0x3FF | 0xD800)
|
|
31065
|
+
codePoint = 0xDC00 | codePoint & 0x3FF
|
|
31066
|
+
}
|
|
31067
|
+
|
|
31068
|
+
res.push(codePoint)
|
|
31069
|
+
i += bytesPerSequence
|
|
31070
|
+
}
|
|
31071
|
+
|
|
31072
|
+
return decodeCodePointsArray(res)
|
|
31073
|
+
}
|
|
31074
|
+
|
|
31075
|
+
// Based on http://stackoverflow.com/a/22747272/680742, the browser with
|
|
31076
|
+
// the lowest limit is Chrome, with 0x10000 args.
|
|
31077
|
+
// We go 1 magnitude less, for safety
|
|
31078
|
+
var MAX_ARGUMENTS_LENGTH = 0x1000
|
|
31079
|
+
|
|
31080
|
+
function decodeCodePointsArray (codePoints) {
|
|
31081
|
+
var len = codePoints.length
|
|
31082
|
+
if (len <= MAX_ARGUMENTS_LENGTH) {
|
|
31083
|
+
return String.fromCharCode.apply(String, codePoints) // avoid extra slice()
|
|
31084
|
+
}
|
|
31085
|
+
|
|
31086
|
+
// Decode in chunks to avoid "call stack size exceeded".
|
|
31087
|
+
var res = ''
|
|
31088
|
+
var i = 0
|
|
31089
|
+
while (i < len) {
|
|
31090
|
+
res += String.fromCharCode.apply(
|
|
31091
|
+
String,
|
|
31092
|
+
codePoints.slice(i, i += MAX_ARGUMENTS_LENGTH)
|
|
31093
|
+
)
|
|
31094
|
+
}
|
|
31095
|
+
return res
|
|
31096
|
+
}
|
|
31097
|
+
|
|
31098
|
+
function asciiSlice (buf, start, end) {
|
|
31099
|
+
var ret = ''
|
|
31100
|
+
end = Math.min(buf.length, end)
|
|
31101
|
+
|
|
31102
|
+
for (var i = start; i < end; ++i) {
|
|
31103
|
+
ret += String.fromCharCode(buf[i] & 0x7F)
|
|
31104
|
+
}
|
|
31105
|
+
return ret
|
|
31106
|
+
}
|
|
31107
|
+
|
|
31108
|
+
function latin1Slice (buf, start, end) {
|
|
31109
|
+
var ret = ''
|
|
31110
|
+
end = Math.min(buf.length, end)
|
|
31111
|
+
|
|
31112
|
+
for (var i = start; i < end; ++i) {
|
|
31113
|
+
ret += String.fromCharCode(buf[i])
|
|
31114
|
+
}
|
|
31115
|
+
return ret
|
|
31116
|
+
}
|
|
31117
|
+
|
|
31118
|
+
function hexSlice (buf, start, end) {
|
|
31119
|
+
var len = buf.length
|
|
31120
|
+
|
|
31121
|
+
if (!start || start < 0) start = 0
|
|
31122
|
+
if (!end || end < 0 || end > len) end = len
|
|
31123
|
+
|
|
31124
|
+
var out = ''
|
|
31125
|
+
for (var i = start; i < end; ++i) {
|
|
31126
|
+
out += toHex(buf[i])
|
|
31127
|
+
}
|
|
31128
|
+
return out
|
|
31129
|
+
}
|
|
31130
|
+
|
|
31131
|
+
function utf16leSlice (buf, start, end) {
|
|
31132
|
+
var bytes = buf.slice(start, end)
|
|
31133
|
+
var res = ''
|
|
31134
|
+
for (var i = 0; i < bytes.length; i += 2) {
|
|
31135
|
+
res += String.fromCharCode(bytes[i] + bytes[i + 1] * 256)
|
|
31136
|
+
}
|
|
31137
|
+
return res
|
|
31138
|
+
}
|
|
31139
|
+
|
|
31140
|
+
Buffer.prototype.slice = function slice (start, end) {
|
|
31141
|
+
var len = this.length
|
|
31142
|
+
start = ~~start
|
|
31143
|
+
end = end === undefined ? len : ~~end
|
|
31144
|
+
|
|
31145
|
+
if (start < 0) {
|
|
31146
|
+
start += len
|
|
31147
|
+
if (start < 0) start = 0
|
|
31148
|
+
} else if (start > len) {
|
|
31149
|
+
start = len
|
|
31150
|
+
}
|
|
31151
|
+
|
|
31152
|
+
if (end < 0) {
|
|
31153
|
+
end += len
|
|
31154
|
+
if (end < 0) end = 0
|
|
31155
|
+
} else if (end > len) {
|
|
31156
|
+
end = len
|
|
31157
|
+
}
|
|
31158
|
+
|
|
31159
|
+
if (end < start) end = start
|
|
31160
|
+
|
|
31161
|
+
var newBuf
|
|
31162
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31163
|
+
newBuf = this.subarray(start, end)
|
|
31164
|
+
newBuf.__proto__ = Buffer.prototype
|
|
31165
|
+
} else {
|
|
31166
|
+
var sliceLen = end - start
|
|
31167
|
+
newBuf = new Buffer(sliceLen, undefined)
|
|
31168
|
+
for (var i = 0; i < sliceLen; ++i) {
|
|
31169
|
+
newBuf[i] = this[i + start]
|
|
31170
|
+
}
|
|
31171
|
+
}
|
|
31172
|
+
|
|
31173
|
+
return newBuf
|
|
31174
|
+
}
|
|
31175
|
+
|
|
31176
|
+
/*
|
|
31177
|
+
* Need to make sure that buffer isn't trying to write out of bounds.
|
|
31178
|
+
*/
|
|
31179
|
+
function checkOffset (offset, ext, length) {
|
|
31180
|
+
if ((offset % 1) !== 0 || offset < 0) throw new RangeError('offset is not uint')
|
|
31181
|
+
if (offset + ext > length) throw new RangeError('Trying to access beyond buffer length')
|
|
31182
|
+
}
|
|
31183
|
+
|
|
31184
|
+
Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {
|
|
31185
|
+
offset = offset | 0
|
|
31186
|
+
byteLength = byteLength | 0
|
|
31187
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31188
|
+
|
|
31189
|
+
var val = this[offset]
|
|
31190
|
+
var mul = 1
|
|
31191
|
+
var i = 0
|
|
31192
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31193
|
+
val += this[offset + i] * mul
|
|
31194
|
+
}
|
|
31195
|
+
|
|
31196
|
+
return val
|
|
31197
|
+
}
|
|
31198
|
+
|
|
31199
|
+
Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {
|
|
31200
|
+
offset = offset | 0
|
|
31201
|
+
byteLength = byteLength | 0
|
|
31202
|
+
if (!noAssert) {
|
|
31203
|
+
checkOffset(offset, byteLength, this.length)
|
|
31204
|
+
}
|
|
31205
|
+
|
|
31206
|
+
var val = this[offset + --byteLength]
|
|
31207
|
+
var mul = 1
|
|
31208
|
+
while (byteLength > 0 && (mul *= 0x100)) {
|
|
31209
|
+
val += this[offset + --byteLength] * mul
|
|
31210
|
+
}
|
|
31211
|
+
|
|
31212
|
+
return val
|
|
31213
|
+
}
|
|
31214
|
+
|
|
31215
|
+
Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {
|
|
31216
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
31217
|
+
return this[offset]
|
|
31218
|
+
}
|
|
31219
|
+
|
|
31220
|
+
Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {
|
|
31221
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31222
|
+
return this[offset] | (this[offset + 1] << 8)
|
|
31223
|
+
}
|
|
31224
|
+
|
|
31225
|
+
Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {
|
|
31226
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31227
|
+
return (this[offset] << 8) | this[offset + 1]
|
|
31228
|
+
}
|
|
31229
|
+
|
|
31230
|
+
Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {
|
|
31231
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31232
|
+
|
|
31233
|
+
return ((this[offset]) |
|
|
31234
|
+
(this[offset + 1] << 8) |
|
|
31235
|
+
(this[offset + 2] << 16)) +
|
|
31236
|
+
(this[offset + 3] * 0x1000000)
|
|
31237
|
+
}
|
|
31238
|
+
|
|
31239
|
+
Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {
|
|
31240
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31241
|
+
|
|
31242
|
+
return (this[offset] * 0x1000000) +
|
|
31243
|
+
((this[offset + 1] << 16) |
|
|
31244
|
+
(this[offset + 2] << 8) |
|
|
31245
|
+
this[offset + 3])
|
|
31246
|
+
}
|
|
31247
|
+
|
|
31248
|
+
Buffer.prototype.readIntLE = function readIntLE (offset, byteLength, noAssert) {
|
|
31249
|
+
offset = offset | 0
|
|
31250
|
+
byteLength = byteLength | 0
|
|
31251
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31252
|
+
|
|
31253
|
+
var val = this[offset]
|
|
31254
|
+
var mul = 1
|
|
31255
|
+
var i = 0
|
|
31256
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31257
|
+
val += this[offset + i] * mul
|
|
31258
|
+
}
|
|
31259
|
+
mul *= 0x80
|
|
31260
|
+
|
|
31261
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
31262
|
+
|
|
31263
|
+
return val
|
|
31264
|
+
}
|
|
31265
|
+
|
|
31266
|
+
Buffer.prototype.readIntBE = function readIntBE (offset, byteLength, noAssert) {
|
|
31267
|
+
offset = offset | 0
|
|
31268
|
+
byteLength = byteLength | 0
|
|
31269
|
+
if (!noAssert) checkOffset(offset, byteLength, this.length)
|
|
31270
|
+
|
|
31271
|
+
var i = byteLength
|
|
31272
|
+
var mul = 1
|
|
31273
|
+
var val = this[offset + --i]
|
|
31274
|
+
while (i > 0 && (mul *= 0x100)) {
|
|
31275
|
+
val += this[offset + --i] * mul
|
|
31276
|
+
}
|
|
31277
|
+
mul *= 0x80
|
|
31278
|
+
|
|
31279
|
+
if (val >= mul) val -= Math.pow(2, 8 * byteLength)
|
|
31280
|
+
|
|
31281
|
+
return val
|
|
31282
|
+
}
|
|
31283
|
+
|
|
31284
|
+
Buffer.prototype.readInt8 = function readInt8 (offset, noAssert) {
|
|
31285
|
+
if (!noAssert) checkOffset(offset, 1, this.length)
|
|
31286
|
+
if (!(this[offset] & 0x80)) return (this[offset])
|
|
31287
|
+
return ((0xff - this[offset] + 1) * -1)
|
|
31288
|
+
}
|
|
31289
|
+
|
|
31290
|
+
Buffer.prototype.readInt16LE = function readInt16LE (offset, noAssert) {
|
|
31291
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31292
|
+
var val = this[offset] | (this[offset + 1] << 8)
|
|
31293
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
31294
|
+
}
|
|
31295
|
+
|
|
31296
|
+
Buffer.prototype.readInt16BE = function readInt16BE (offset, noAssert) {
|
|
31297
|
+
if (!noAssert) checkOffset(offset, 2, this.length)
|
|
31298
|
+
var val = this[offset + 1] | (this[offset] << 8)
|
|
31299
|
+
return (val & 0x8000) ? val | 0xFFFF0000 : val
|
|
31300
|
+
}
|
|
31301
|
+
|
|
31302
|
+
Buffer.prototype.readInt32LE = function readInt32LE (offset, noAssert) {
|
|
31303
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31304
|
+
|
|
31305
|
+
return (this[offset]) |
|
|
31306
|
+
(this[offset + 1] << 8) |
|
|
31307
|
+
(this[offset + 2] << 16) |
|
|
31308
|
+
(this[offset + 3] << 24)
|
|
31309
|
+
}
|
|
31310
|
+
|
|
31311
|
+
Buffer.prototype.readInt32BE = function readInt32BE (offset, noAssert) {
|
|
31312
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31313
|
+
|
|
31314
|
+
return (this[offset] << 24) |
|
|
31315
|
+
(this[offset + 1] << 16) |
|
|
31316
|
+
(this[offset + 2] << 8) |
|
|
31317
|
+
(this[offset + 3])
|
|
31318
|
+
}
|
|
31319
|
+
|
|
31320
|
+
Buffer.prototype.readFloatLE = function readFloatLE (offset, noAssert) {
|
|
31321
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31322
|
+
return ieee754.read(this, offset, true, 23, 4)
|
|
31323
|
+
}
|
|
31324
|
+
|
|
31325
|
+
Buffer.prototype.readFloatBE = function readFloatBE (offset, noAssert) {
|
|
31326
|
+
if (!noAssert) checkOffset(offset, 4, this.length)
|
|
31327
|
+
return ieee754.read(this, offset, false, 23, 4)
|
|
31328
|
+
}
|
|
31329
|
+
|
|
31330
|
+
Buffer.prototype.readDoubleLE = function readDoubleLE (offset, noAssert) {
|
|
31331
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
31332
|
+
return ieee754.read(this, offset, true, 52, 8)
|
|
31333
|
+
}
|
|
31334
|
+
|
|
31335
|
+
Buffer.prototype.readDoubleBE = function readDoubleBE (offset, noAssert) {
|
|
31336
|
+
if (!noAssert) checkOffset(offset, 8, this.length)
|
|
31337
|
+
return ieee754.read(this, offset, false, 52, 8)
|
|
31338
|
+
}
|
|
31339
|
+
|
|
31340
|
+
function checkInt (buf, value, offset, ext, max, min) {
|
|
31341
|
+
if (!Buffer.isBuffer(buf)) throw new TypeError('"buffer" argument must be a Buffer instance')
|
|
31342
|
+
if (value > max || value < min) throw new RangeError('"value" argument is out of bounds')
|
|
31343
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
31344
|
+
}
|
|
31345
|
+
|
|
31346
|
+
Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {
|
|
31347
|
+
value = +value
|
|
31348
|
+
offset = offset | 0
|
|
31349
|
+
byteLength = byteLength | 0
|
|
31350
|
+
if (!noAssert) {
|
|
31351
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
31352
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
31353
|
+
}
|
|
31354
|
+
|
|
31355
|
+
var mul = 1
|
|
31356
|
+
var i = 0
|
|
31357
|
+
this[offset] = value & 0xFF
|
|
31358
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31359
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
31360
|
+
}
|
|
31361
|
+
|
|
31362
|
+
return offset + byteLength
|
|
31363
|
+
}
|
|
31364
|
+
|
|
31365
|
+
Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {
|
|
31366
|
+
value = +value
|
|
31367
|
+
offset = offset | 0
|
|
31368
|
+
byteLength = byteLength | 0
|
|
31369
|
+
if (!noAssert) {
|
|
31370
|
+
var maxBytes = Math.pow(2, 8 * byteLength) - 1
|
|
31371
|
+
checkInt(this, value, offset, byteLength, maxBytes, 0)
|
|
31372
|
+
}
|
|
31373
|
+
|
|
31374
|
+
var i = byteLength - 1
|
|
31375
|
+
var mul = 1
|
|
31376
|
+
this[offset + i] = value & 0xFF
|
|
31377
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
31378
|
+
this[offset + i] = (value / mul) & 0xFF
|
|
31379
|
+
}
|
|
31380
|
+
|
|
31381
|
+
return offset + byteLength
|
|
31382
|
+
}
|
|
31383
|
+
|
|
31384
|
+
Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {
|
|
31385
|
+
value = +value
|
|
31386
|
+
offset = offset | 0
|
|
31387
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0xff, 0)
|
|
31388
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
31389
|
+
this[offset] = (value & 0xff)
|
|
31390
|
+
return offset + 1
|
|
31391
|
+
}
|
|
31392
|
+
|
|
31393
|
+
function objectWriteUInt16 (buf, value, offset, littleEndian) {
|
|
31394
|
+
if (value < 0) value = 0xffff + value + 1
|
|
31395
|
+
for (var i = 0, j = Math.min(buf.length - offset, 2); i < j; ++i) {
|
|
31396
|
+
buf[offset + i] = (value & (0xff << (8 * (littleEndian ? i : 1 - i)))) >>>
|
|
31397
|
+
(littleEndian ? i : 1 - i) * 8
|
|
31398
|
+
}
|
|
31399
|
+
}
|
|
31400
|
+
|
|
31401
|
+
Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {
|
|
31402
|
+
value = +value
|
|
31403
|
+
offset = offset | 0
|
|
31404
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
31405
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31406
|
+
this[offset] = (value & 0xff)
|
|
31407
|
+
this[offset + 1] = (value >>> 8)
|
|
31408
|
+
} else {
|
|
31409
|
+
objectWriteUInt16(this, value, offset, true)
|
|
31410
|
+
}
|
|
31411
|
+
return offset + 2
|
|
31412
|
+
}
|
|
31413
|
+
|
|
31414
|
+
Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {
|
|
31415
|
+
value = +value
|
|
31416
|
+
offset = offset | 0
|
|
31417
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0xffff, 0)
|
|
31418
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31419
|
+
this[offset] = (value >>> 8)
|
|
31420
|
+
this[offset + 1] = (value & 0xff)
|
|
31421
|
+
} else {
|
|
31422
|
+
objectWriteUInt16(this, value, offset, false)
|
|
31423
|
+
}
|
|
31424
|
+
return offset + 2
|
|
31425
|
+
}
|
|
31426
|
+
|
|
31427
|
+
function objectWriteUInt32 (buf, value, offset, littleEndian) {
|
|
31428
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
31429
|
+
for (var i = 0, j = Math.min(buf.length - offset, 4); i < j; ++i) {
|
|
31430
|
+
buf[offset + i] = (value >>> (littleEndian ? i : 3 - i) * 8) & 0xff
|
|
31431
|
+
}
|
|
31432
|
+
}
|
|
31433
|
+
|
|
31434
|
+
Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {
|
|
31435
|
+
value = +value
|
|
31436
|
+
offset = offset | 0
|
|
31437
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
31438
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31439
|
+
this[offset + 3] = (value >>> 24)
|
|
31440
|
+
this[offset + 2] = (value >>> 16)
|
|
31441
|
+
this[offset + 1] = (value >>> 8)
|
|
31442
|
+
this[offset] = (value & 0xff)
|
|
31443
|
+
} else {
|
|
31444
|
+
objectWriteUInt32(this, value, offset, true)
|
|
31445
|
+
}
|
|
31446
|
+
return offset + 4
|
|
31447
|
+
}
|
|
31448
|
+
|
|
31449
|
+
Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {
|
|
31450
|
+
value = +value
|
|
31451
|
+
offset = offset | 0
|
|
31452
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0xffffffff, 0)
|
|
31453
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31454
|
+
this[offset] = (value >>> 24)
|
|
31455
|
+
this[offset + 1] = (value >>> 16)
|
|
31456
|
+
this[offset + 2] = (value >>> 8)
|
|
31457
|
+
this[offset + 3] = (value & 0xff)
|
|
31458
|
+
} else {
|
|
31459
|
+
objectWriteUInt32(this, value, offset, false)
|
|
31460
|
+
}
|
|
31461
|
+
return offset + 4
|
|
31462
|
+
}
|
|
31463
|
+
|
|
31464
|
+
Buffer.prototype.writeIntLE = function writeIntLE (value, offset, byteLength, noAssert) {
|
|
31465
|
+
value = +value
|
|
31466
|
+
offset = offset | 0
|
|
31467
|
+
if (!noAssert) {
|
|
31468
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
31469
|
+
|
|
31470
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
31471
|
+
}
|
|
31472
|
+
|
|
31473
|
+
var i = 0
|
|
31474
|
+
var mul = 1
|
|
31475
|
+
var sub = 0
|
|
31476
|
+
this[offset] = value & 0xFF
|
|
31477
|
+
while (++i < byteLength && (mul *= 0x100)) {
|
|
31478
|
+
if (value < 0 && sub === 0 && this[offset + i - 1] !== 0) {
|
|
31479
|
+
sub = 1
|
|
31480
|
+
}
|
|
31481
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
31482
|
+
}
|
|
31483
|
+
|
|
31484
|
+
return offset + byteLength
|
|
31485
|
+
}
|
|
31486
|
+
|
|
31487
|
+
Buffer.prototype.writeIntBE = function writeIntBE (value, offset, byteLength, noAssert) {
|
|
31488
|
+
value = +value
|
|
31489
|
+
offset = offset | 0
|
|
31490
|
+
if (!noAssert) {
|
|
31491
|
+
var limit = Math.pow(2, 8 * byteLength - 1)
|
|
31492
|
+
|
|
31493
|
+
checkInt(this, value, offset, byteLength, limit - 1, -limit)
|
|
31494
|
+
}
|
|
31495
|
+
|
|
31496
|
+
var i = byteLength - 1
|
|
31497
|
+
var mul = 1
|
|
31498
|
+
var sub = 0
|
|
31499
|
+
this[offset + i] = value & 0xFF
|
|
31500
|
+
while (--i >= 0 && (mul *= 0x100)) {
|
|
31501
|
+
if (value < 0 && sub === 0 && this[offset + i + 1] !== 0) {
|
|
31502
|
+
sub = 1
|
|
31503
|
+
}
|
|
31504
|
+
this[offset + i] = ((value / mul) >> 0) - sub & 0xFF
|
|
31505
|
+
}
|
|
31506
|
+
|
|
31507
|
+
return offset + byteLength
|
|
31508
|
+
}
|
|
31509
|
+
|
|
31510
|
+
Buffer.prototype.writeInt8 = function writeInt8 (value, offset, noAssert) {
|
|
31511
|
+
value = +value
|
|
31512
|
+
offset = offset | 0
|
|
31513
|
+
if (!noAssert) checkInt(this, value, offset, 1, 0x7f, -0x80)
|
|
31514
|
+
if (!Buffer.TYPED_ARRAY_SUPPORT) value = Math.floor(value)
|
|
31515
|
+
if (value < 0) value = 0xff + value + 1
|
|
31516
|
+
this[offset] = (value & 0xff)
|
|
31517
|
+
return offset + 1
|
|
31518
|
+
}
|
|
31519
|
+
|
|
31520
|
+
Buffer.prototype.writeInt16LE = function writeInt16LE (value, offset, noAssert) {
|
|
31521
|
+
value = +value
|
|
31522
|
+
offset = offset | 0
|
|
31523
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
31524
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31525
|
+
this[offset] = (value & 0xff)
|
|
31526
|
+
this[offset + 1] = (value >>> 8)
|
|
31527
|
+
} else {
|
|
31528
|
+
objectWriteUInt16(this, value, offset, true)
|
|
31529
|
+
}
|
|
31530
|
+
return offset + 2
|
|
31531
|
+
}
|
|
31532
|
+
|
|
31533
|
+
Buffer.prototype.writeInt16BE = function writeInt16BE (value, offset, noAssert) {
|
|
31534
|
+
value = +value
|
|
31535
|
+
offset = offset | 0
|
|
31536
|
+
if (!noAssert) checkInt(this, value, offset, 2, 0x7fff, -0x8000)
|
|
31537
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31538
|
+
this[offset] = (value >>> 8)
|
|
31539
|
+
this[offset + 1] = (value & 0xff)
|
|
31540
|
+
} else {
|
|
31541
|
+
objectWriteUInt16(this, value, offset, false)
|
|
31542
|
+
}
|
|
31543
|
+
return offset + 2
|
|
31544
|
+
}
|
|
31545
|
+
|
|
31546
|
+
Buffer.prototype.writeInt32LE = function writeInt32LE (value, offset, noAssert) {
|
|
31547
|
+
value = +value
|
|
31548
|
+
offset = offset | 0
|
|
31549
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
31550
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31551
|
+
this[offset] = (value & 0xff)
|
|
31552
|
+
this[offset + 1] = (value >>> 8)
|
|
31553
|
+
this[offset + 2] = (value >>> 16)
|
|
31554
|
+
this[offset + 3] = (value >>> 24)
|
|
31555
|
+
} else {
|
|
31556
|
+
objectWriteUInt32(this, value, offset, true)
|
|
31557
|
+
}
|
|
31558
|
+
return offset + 4
|
|
31559
|
+
}
|
|
31560
|
+
|
|
31561
|
+
Buffer.prototype.writeInt32BE = function writeInt32BE (value, offset, noAssert) {
|
|
31562
|
+
value = +value
|
|
31563
|
+
offset = offset | 0
|
|
31564
|
+
if (!noAssert) checkInt(this, value, offset, 4, 0x7fffffff, -0x80000000)
|
|
31565
|
+
if (value < 0) value = 0xffffffff + value + 1
|
|
31566
|
+
if (Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31567
|
+
this[offset] = (value >>> 24)
|
|
31568
|
+
this[offset + 1] = (value >>> 16)
|
|
31569
|
+
this[offset + 2] = (value >>> 8)
|
|
31570
|
+
this[offset + 3] = (value & 0xff)
|
|
31571
|
+
} else {
|
|
31572
|
+
objectWriteUInt32(this, value, offset, false)
|
|
31573
|
+
}
|
|
31574
|
+
return offset + 4
|
|
31575
|
+
}
|
|
31576
|
+
|
|
31577
|
+
function checkIEEE754 (buf, value, offset, ext, max, min) {
|
|
31578
|
+
if (offset + ext > buf.length) throw new RangeError('Index out of range')
|
|
31579
|
+
if (offset < 0) throw new RangeError('Index out of range')
|
|
31580
|
+
}
|
|
31581
|
+
|
|
31582
|
+
function writeFloat (buf, value, offset, littleEndian, noAssert) {
|
|
31583
|
+
if (!noAssert) {
|
|
31584
|
+
checkIEEE754(buf, value, offset, 4, 3.4028234663852886e+38, -3.4028234663852886e+38)
|
|
31585
|
+
}
|
|
31586
|
+
ieee754.write(buf, value, offset, littleEndian, 23, 4)
|
|
31587
|
+
return offset + 4
|
|
31588
|
+
}
|
|
31589
|
+
|
|
31590
|
+
Buffer.prototype.writeFloatLE = function writeFloatLE (value, offset, noAssert) {
|
|
31591
|
+
return writeFloat(this, value, offset, true, noAssert)
|
|
31592
|
+
}
|
|
31593
|
+
|
|
31594
|
+
Buffer.prototype.writeFloatBE = function writeFloatBE (value, offset, noAssert) {
|
|
31595
|
+
return writeFloat(this, value, offset, false, noAssert)
|
|
31596
|
+
}
|
|
31597
|
+
|
|
31598
|
+
function writeDouble (buf, value, offset, littleEndian, noAssert) {
|
|
31599
|
+
if (!noAssert) {
|
|
31600
|
+
checkIEEE754(buf, value, offset, 8, 1.7976931348623157E+308, -1.7976931348623157E+308)
|
|
31601
|
+
}
|
|
31602
|
+
ieee754.write(buf, value, offset, littleEndian, 52, 8)
|
|
31603
|
+
return offset + 8
|
|
31604
|
+
}
|
|
31605
|
+
|
|
31606
|
+
Buffer.prototype.writeDoubleLE = function writeDoubleLE (value, offset, noAssert) {
|
|
31607
|
+
return writeDouble(this, value, offset, true, noAssert)
|
|
31608
|
+
}
|
|
31609
|
+
|
|
31610
|
+
Buffer.prototype.writeDoubleBE = function writeDoubleBE (value, offset, noAssert) {
|
|
31611
|
+
return writeDouble(this, value, offset, false, noAssert)
|
|
31612
|
+
}
|
|
31613
|
+
|
|
31614
|
+
// copy(targetBuffer, targetStart=0, sourceStart=0, sourceEnd=buffer.length)
|
|
31615
|
+
Buffer.prototype.copy = function copy (target, targetStart, start, end) {
|
|
31616
|
+
if (!start) start = 0
|
|
31617
|
+
if (!end && end !== 0) end = this.length
|
|
31618
|
+
if (targetStart >= target.length) targetStart = target.length
|
|
31619
|
+
if (!targetStart) targetStart = 0
|
|
31620
|
+
if (end > 0 && end < start) end = start
|
|
31621
|
+
|
|
31622
|
+
// Copy 0 bytes; we're done
|
|
31623
|
+
if (end === start) return 0
|
|
31624
|
+
if (target.length === 0 || this.length === 0) return 0
|
|
31625
|
+
|
|
31626
|
+
// Fatal error conditions
|
|
31627
|
+
if (targetStart < 0) {
|
|
31628
|
+
throw new RangeError('targetStart out of bounds')
|
|
31629
|
+
}
|
|
31630
|
+
if (start < 0 || start >= this.length) throw new RangeError('sourceStart out of bounds')
|
|
31631
|
+
if (end < 0) throw new RangeError('sourceEnd out of bounds')
|
|
31632
|
+
|
|
31633
|
+
// Are we oob?
|
|
31634
|
+
if (end > this.length) end = this.length
|
|
31635
|
+
if (target.length - targetStart < end - start) {
|
|
31636
|
+
end = target.length - targetStart + start
|
|
31637
|
+
}
|
|
31638
|
+
|
|
31639
|
+
var len = end - start
|
|
31640
|
+
var i
|
|
31641
|
+
|
|
31642
|
+
if (this === target && start < targetStart && targetStart < end) {
|
|
31643
|
+
// descending copy from end
|
|
31644
|
+
for (i = len - 1; i >= 0; --i) {
|
|
31645
|
+
target[i + targetStart] = this[i + start]
|
|
31646
|
+
}
|
|
31647
|
+
} else if (len < 1000 || !Buffer.TYPED_ARRAY_SUPPORT) {
|
|
31648
|
+
// ascending copy from start
|
|
31649
|
+
for (i = 0; i < len; ++i) {
|
|
31650
|
+
target[i + targetStart] = this[i + start]
|
|
31651
|
+
}
|
|
31652
|
+
} else {
|
|
31653
|
+
Uint8Array.prototype.set.call(
|
|
31654
|
+
target,
|
|
31655
|
+
this.subarray(start, start + len),
|
|
31656
|
+
targetStart
|
|
31657
|
+
)
|
|
31658
|
+
}
|
|
31659
|
+
|
|
31660
|
+
return len
|
|
31661
|
+
}
|
|
31662
|
+
|
|
31663
|
+
// Usage:
|
|
31664
|
+
// buffer.fill(number[, offset[, end]])
|
|
31665
|
+
// buffer.fill(buffer[, offset[, end]])
|
|
31666
|
+
// buffer.fill(string[, offset[, end]][, encoding])
|
|
31667
|
+
Buffer.prototype.fill = function fill (val, start, end, encoding) {
|
|
31668
|
+
// Handle string cases:
|
|
31669
|
+
if (typeof val === 'string') {
|
|
31670
|
+
if (typeof start === 'string') {
|
|
31671
|
+
encoding = start
|
|
31672
|
+
start = 0
|
|
31673
|
+
end = this.length
|
|
31674
|
+
} else if (typeof end === 'string') {
|
|
31675
|
+
encoding = end
|
|
31676
|
+
end = this.length
|
|
31677
|
+
}
|
|
31678
|
+
if (val.length === 1) {
|
|
31679
|
+
var code = val.charCodeAt(0)
|
|
31680
|
+
if (code < 256) {
|
|
31681
|
+
val = code
|
|
31682
|
+
}
|
|
31683
|
+
}
|
|
31684
|
+
if (encoding !== undefined && typeof encoding !== 'string') {
|
|
31685
|
+
throw new TypeError('encoding must be a string')
|
|
31686
|
+
}
|
|
31687
|
+
if (typeof encoding === 'string' && !Buffer.isEncoding(encoding)) {
|
|
31688
|
+
throw new TypeError('Unknown encoding: ' + encoding)
|
|
31689
|
+
}
|
|
31690
|
+
} else if (typeof val === 'number') {
|
|
31691
|
+
val = val & 255
|
|
31692
|
+
}
|
|
31693
|
+
|
|
31694
|
+
// Invalid ranges are not set to a default, so can range check early.
|
|
31695
|
+
if (start < 0 || this.length < start || this.length < end) {
|
|
31696
|
+
throw new RangeError('Out of range index')
|
|
31697
|
+
}
|
|
31698
|
+
|
|
31699
|
+
if (end <= start) {
|
|
31700
|
+
return this
|
|
31701
|
+
}
|
|
31702
|
+
|
|
31703
|
+
start = start >>> 0
|
|
31704
|
+
end = end === undefined ? this.length : end >>> 0
|
|
31705
|
+
|
|
31706
|
+
if (!val) val = 0
|
|
31707
|
+
|
|
31708
|
+
var i
|
|
31709
|
+
if (typeof val === 'number') {
|
|
31710
|
+
for (i = start; i < end; ++i) {
|
|
31711
|
+
this[i] = val
|
|
31712
|
+
}
|
|
31713
|
+
} else {
|
|
31714
|
+
var bytes = Buffer.isBuffer(val)
|
|
31715
|
+
? val
|
|
31716
|
+
: utf8ToBytes(new Buffer(val, encoding).toString())
|
|
31717
|
+
var len = bytes.length
|
|
31718
|
+
for (i = 0; i < end - start; ++i) {
|
|
31719
|
+
this[i + start] = bytes[i % len]
|
|
31720
|
+
}
|
|
31721
|
+
}
|
|
31722
|
+
|
|
31723
|
+
return this
|
|
31724
|
+
}
|
|
31725
|
+
|
|
31726
|
+
// HELPER FUNCTIONS
|
|
31727
|
+
// ================
|
|
31728
|
+
|
|
31729
|
+
var INVALID_BASE64_RE = /[^+\/0-9A-Za-z-_]/g
|
|
31730
|
+
|
|
31731
|
+
function base64clean (str) {
|
|
31732
|
+
// Node strips out invalid characters like \n and \t from the string, base64-js does not
|
|
31733
|
+
str = stringtrim(str).replace(INVALID_BASE64_RE, '')
|
|
31734
|
+
// Node converts strings with length < 2 to ''
|
|
31735
|
+
if (str.length < 2) return ''
|
|
31736
|
+
// Node allows for non-padded base64 strings (missing trailing ===), base64-js does not
|
|
31737
|
+
while (str.length % 4 !== 0) {
|
|
31738
|
+
str = str + '='
|
|
31739
|
+
}
|
|
31740
|
+
return str
|
|
31741
|
+
}
|
|
31742
|
+
|
|
31743
|
+
function stringtrim (str) {
|
|
31744
|
+
if (str.trim) return str.trim()
|
|
31745
|
+
return str.replace(/^\s+|\s+$/g, '')
|
|
31746
|
+
}
|
|
31747
|
+
|
|
31748
|
+
function toHex (n) {
|
|
31749
|
+
if (n < 16) return '0' + n.toString(16)
|
|
31750
|
+
return n.toString(16)
|
|
31751
|
+
}
|
|
31752
|
+
|
|
31753
|
+
function utf8ToBytes (string, units) {
|
|
31754
|
+
units = units || Infinity
|
|
31755
|
+
var codePoint
|
|
31756
|
+
var length = string.length
|
|
31757
|
+
var leadSurrogate = null
|
|
31758
|
+
var bytes = []
|
|
31759
|
+
|
|
31760
|
+
for (var i = 0; i < length; ++i) {
|
|
31761
|
+
codePoint = string.charCodeAt(i)
|
|
31762
|
+
|
|
31763
|
+
// is surrogate component
|
|
31764
|
+
if (codePoint > 0xD7FF && codePoint < 0xE000) {
|
|
31765
|
+
// last char was a lead
|
|
31766
|
+
if (!leadSurrogate) {
|
|
31767
|
+
// no lead yet
|
|
31768
|
+
if (codePoint > 0xDBFF) {
|
|
31769
|
+
// unexpected trail
|
|
31770
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31771
|
+
continue
|
|
31772
|
+
} else if (i + 1 === length) {
|
|
31773
|
+
// unpaired lead
|
|
31774
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31775
|
+
continue
|
|
31776
|
+
}
|
|
31777
|
+
|
|
31778
|
+
// valid lead
|
|
31779
|
+
leadSurrogate = codePoint
|
|
31780
|
+
|
|
31781
|
+
continue
|
|
31782
|
+
}
|
|
31783
|
+
|
|
31784
|
+
// 2 leads in a row
|
|
31785
|
+
if (codePoint < 0xDC00) {
|
|
31786
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31787
|
+
leadSurrogate = codePoint
|
|
31788
|
+
continue
|
|
31789
|
+
}
|
|
31790
|
+
|
|
31791
|
+
// valid surrogate pair
|
|
31792
|
+
codePoint = (leadSurrogate - 0xD800 << 10 | codePoint - 0xDC00) + 0x10000
|
|
31793
|
+
} else if (leadSurrogate) {
|
|
31794
|
+
// valid bmp char, but last char was a lead
|
|
31795
|
+
if ((units -= 3) > -1) bytes.push(0xEF, 0xBF, 0xBD)
|
|
31796
|
+
}
|
|
31797
|
+
|
|
31798
|
+
leadSurrogate = null
|
|
31799
|
+
|
|
31800
|
+
// encode utf8
|
|
31801
|
+
if (codePoint < 0x80) {
|
|
31802
|
+
if ((units -= 1) < 0) break
|
|
31803
|
+
bytes.push(codePoint)
|
|
31804
|
+
} else if (codePoint < 0x800) {
|
|
31805
|
+
if ((units -= 2) < 0) break
|
|
31806
|
+
bytes.push(
|
|
31807
|
+
codePoint >> 0x6 | 0xC0,
|
|
31808
|
+
codePoint & 0x3F | 0x80
|
|
31809
|
+
)
|
|
31810
|
+
} else if (codePoint < 0x10000) {
|
|
31811
|
+
if ((units -= 3) < 0) break
|
|
31812
|
+
bytes.push(
|
|
31813
|
+
codePoint >> 0xC | 0xE0,
|
|
31814
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
31815
|
+
codePoint & 0x3F | 0x80
|
|
31816
|
+
)
|
|
31817
|
+
} else if (codePoint < 0x110000) {
|
|
31818
|
+
if ((units -= 4) < 0) break
|
|
31819
|
+
bytes.push(
|
|
31820
|
+
codePoint >> 0x12 | 0xF0,
|
|
31821
|
+
codePoint >> 0xC & 0x3F | 0x80,
|
|
31822
|
+
codePoint >> 0x6 & 0x3F | 0x80,
|
|
31823
|
+
codePoint & 0x3F | 0x80
|
|
31824
|
+
)
|
|
31825
|
+
} else {
|
|
31826
|
+
throw new Error('Invalid code point')
|
|
31827
|
+
}
|
|
31828
|
+
}
|
|
31829
|
+
|
|
31830
|
+
return bytes
|
|
31831
|
+
}
|
|
31832
|
+
|
|
31833
|
+
function asciiToBytes (str) {
|
|
31834
|
+
var byteArray = []
|
|
31835
|
+
for (var i = 0; i < str.length; ++i) {
|
|
31836
|
+
// Node's code seems to be doing this and not & 0x7F..
|
|
31837
|
+
byteArray.push(str.charCodeAt(i) & 0xFF)
|
|
31838
|
+
}
|
|
31839
|
+
return byteArray
|
|
31840
|
+
}
|
|
31841
|
+
|
|
31842
|
+
function utf16leToBytes (str, units) {
|
|
31843
|
+
var c, hi, lo
|
|
31844
|
+
var byteArray = []
|
|
31845
|
+
for (var i = 0; i < str.length; ++i) {
|
|
31846
|
+
if ((units -= 2) < 0) break
|
|
31847
|
+
|
|
31848
|
+
c = str.charCodeAt(i)
|
|
31849
|
+
hi = c >> 8
|
|
31850
|
+
lo = c % 256
|
|
31851
|
+
byteArray.push(lo)
|
|
31852
|
+
byteArray.push(hi)
|
|
31853
|
+
}
|
|
31854
|
+
|
|
31855
|
+
return byteArray
|
|
31856
|
+
}
|
|
31857
|
+
|
|
31858
|
+
function base64ToBytes (str) {
|
|
31859
|
+
return base64.toByteArray(base64clean(str))
|
|
31860
|
+
}
|
|
31861
|
+
|
|
31862
|
+
function blitBuffer (src, dst, offset, length) {
|
|
31863
|
+
for (var i = 0; i < length; ++i) {
|
|
31864
|
+
if ((i + offset >= dst.length) || (i >= src.length)) break
|
|
31865
|
+
dst[i + offset] = src[i]
|
|
31866
|
+
}
|
|
31867
|
+
return i
|
|
31868
|
+
}
|
|
31869
|
+
|
|
31870
|
+
function isnan (val) {
|
|
31871
|
+
return val !== val // eslint-disable-line no-self-compare
|
|
31872
|
+
}
|
|
31873
|
+
|
|
31874
|
+
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("c8ba")))
|
|
31875
|
+
|
|
29828
31876
|
/***/ }),
|
|
29829
31877
|
|
|
29830
31878
|
/***/ "b64b":
|
|
@@ -34853,6 +36901,18 @@ module.exports = {
|
|
|
34853
36901
|
}
|
|
34854
36902
|
};
|
|
34855
36903
|
|
|
36904
|
+
/***/ }),
|
|
36905
|
+
|
|
36906
|
+
/***/ "e3db":
|
|
36907
|
+
/***/ (function(module, exports) {
|
|
36908
|
+
|
|
36909
|
+
var toString = {}.toString;
|
|
36910
|
+
|
|
36911
|
+
module.exports = Array.isArray || function (arr) {
|
|
36912
|
+
return toString.call(arr) == '[object Array]';
|
|
36913
|
+
};
|
|
36914
|
+
|
|
36915
|
+
|
|
34856
36916
|
/***/ }),
|
|
34857
36917
|
|
|
34858
36918
|
/***/ "e439":
|
|
@@ -36994,12 +39054,12 @@ if (typeof window !== 'undefined') {
|
|
|
36994
39054
|
// EXTERNAL MODULE: ./node_modules/vue/dist/vue.runtime.esm.js
|
|
36995
39055
|
var vue_runtime_esm = __webpack_require__("2b0e");
|
|
36996
39056
|
|
|
36997
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39057
|
+
// 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&
|
|
36998
39058
|
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)}
|
|
36999
39059
|
var staticRenderFns = []
|
|
37000
39060
|
|
|
37001
39061
|
|
|
37002
|
-
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=
|
|
39062
|
+
// CONCATENATED MODULE: ./src/App.vue?vue&type=template&id=525f63a4&
|
|
37003
39063
|
|
|
37004
39064
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.for-each.js
|
|
37005
39065
|
var es_array_for_each = __webpack_require__("4160");
|
|
@@ -37368,14 +39428,14 @@ var removeCallingCode_removeCallingCode = function removeCallingCode(phoneNumber
|
|
|
37368
39428
|
};
|
|
37369
39429
|
|
|
37370
39430
|
/* harmony default export */ var src_removeCallingCode = (removeCallingCode_removeCallingCode);
|
|
37371
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39431
|
+
// 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&
|
|
37372
39432
|
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)}
|
|
37373
39433
|
var AppLayoutvue_type_template_id_6944d6ad_staticRenderFns = []
|
|
37374
39434
|
|
|
37375
39435
|
|
|
37376
39436
|
// CONCATENATED MODULE: ./src/components/AppLayout.vue?vue&type=template&id=6944d6ad&
|
|
37377
39437
|
|
|
37378
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39438
|
+
// 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&
|
|
37379
39439
|
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)])}
|
|
37380
39440
|
var AppFootervue_type_template_id_44d30f7c_staticRenderFns = []
|
|
37381
39441
|
|
|
@@ -37520,7 +39580,7 @@ var component = normalizeComponent(
|
|
|
37520
39580
|
)
|
|
37521
39581
|
|
|
37522
39582
|
/* harmony default export */ var AppFooter = (component.exports);
|
|
37523
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39583
|
+
// 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&
|
|
37524
39584
|
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)}
|
|
37525
39585
|
var AppHeadervue_type_template_id_832d58bc_staticRenderFns = []
|
|
37526
39586
|
|
|
@@ -37565,14 +39625,14 @@ var AppHeader_component = normalizeComponent(
|
|
|
37565
39625
|
)
|
|
37566
39626
|
|
|
37567
39627
|
/* harmony default export */ var AppHeader = (AppHeader_component.exports);
|
|
37568
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39628
|
+
// 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&
|
|
37569
39629
|
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)])}
|
|
37570
39630
|
var LoadingOverlayvue_type_template_id_95dd2808_staticRenderFns = []
|
|
37571
39631
|
|
|
37572
39632
|
|
|
37573
39633
|
// CONCATENATED MODULE: ./src/components/LoadingOverlay.vue?vue&type=template&id=95dd2808&
|
|
37574
39634
|
|
|
37575
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39635
|
+
// 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&
|
|
37576
39636
|
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]})}
|
|
37577
39637
|
var AppSpinnervue_type_template_id_85241afa_staticRenderFns = []
|
|
37578
39638
|
|
|
@@ -37771,7 +39831,7 @@ var LoadingOverlay_component = normalizeComponent(
|
|
|
37771
39831
|
)
|
|
37772
39832
|
|
|
37773
39833
|
/* harmony default export */ var LoadingOverlay = (LoadingOverlay_component.exports);
|
|
37774
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39834
|
+
// 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&
|
|
37775
39835
|
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)}
|
|
37776
39836
|
var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
37777
39837
|
|
|
@@ -37781,7 +39841,7 @@ var FlashMessagesvue_type_template_id_f6812b02_staticRenderFns = []
|
|
|
37781
39841
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.map.js
|
|
37782
39842
|
var es_array_map = __webpack_require__("d81d");
|
|
37783
39843
|
|
|
37784
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39844
|
+
// 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&
|
|
37785
39845
|
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)}
|
|
37786
39846
|
var AppAlertvue_type_template_id_69107074_staticRenderFns = []
|
|
37787
39847
|
|
|
@@ -37890,14 +39950,14 @@ var FlashMessages_component = normalizeComponent(
|
|
|
37890
39950
|
)
|
|
37891
39951
|
|
|
37892
39952
|
/* harmony default export */ var FlashMessages = (FlashMessages_component.exports);
|
|
37893
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39953
|
+
// 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&
|
|
37894
39954
|
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)])}
|
|
37895
39955
|
var HeaderContentCountryvue_type_template_id_731f6bea_staticRenderFns = []
|
|
37896
39956
|
|
|
37897
39957
|
|
|
37898
39958
|
// CONCATENATED MODULE: ./src/components/HeaderContentCountry.vue?vue&type=template&id=731f6bea&
|
|
37899
39959
|
|
|
37900
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39960
|
+
// 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&
|
|
37901
39961
|
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){
|
|
37902
39962
|
var option = ref.option;
|
|
37903
39963
|
return [_c('div',{staticClass:"vs__selected"},[_c('CountrySelectOption',{attrs:{"option":option}})],1)]}},{key:"open-indicator",fn:function(ref){
|
|
@@ -37908,7 +39968,7 @@ var CountrySelectvue_type_template_id_195d547a_staticRenderFns = []
|
|
|
37908
39968
|
|
|
37909
39969
|
// CONCATENATED MODULE: ./src/components/CountrySelect.vue?vue&type=template&id=195d547a&
|
|
37910
39970
|
|
|
37911
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
39971
|
+
// 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&
|
|
37912
39972
|
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)}
|
|
37913
39973
|
var CountrySelectOptionvue_type_template_id_45e2b7c2_staticRenderFns = []
|
|
37914
39974
|
|
|
@@ -38149,14 +40209,14 @@ var HeaderContentCountry_component = normalizeComponent(
|
|
|
38149
40209
|
)
|
|
38150
40210
|
|
|
38151
40211
|
/* harmony default export */ var HeaderContentCountry = (HeaderContentCountry_component.exports);
|
|
38152
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40212
|
+
// 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&
|
|
38153
40213
|
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)])])])}
|
|
38154
40214
|
var HeaderContentSubViewvue_type_template_id_f18aa962_staticRenderFns = []
|
|
38155
40215
|
|
|
38156
40216
|
|
|
38157
40217
|
// CONCATENATED MODULE: ./src/components/HeaderContentSubView.vue?vue&type=template&id=f18aa962&
|
|
38158
40218
|
|
|
38159
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40219
|
+
// 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&
|
|
38160
40220
|
var BackButtonvue_type_template_id_74078486_render = function () {
|
|
38161
40221
|
var _obj;
|
|
38162
40222
|
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'))+" ")])])}
|
|
@@ -38303,7 +40363,7 @@ var HeaderContentSubView_component = normalizeComponent(
|
|
|
38303
40363
|
)
|
|
38304
40364
|
|
|
38305
40365
|
/* harmony default export */ var HeaderContentSubView = (HeaderContentSubView_component.exports);
|
|
38306
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40366
|
+
// 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&
|
|
38307
40367
|
var MethodSelectionvue_type_template_id_510fefee_render = function () {
|
|
38308
40368
|
var _obj;
|
|
38309
40369
|
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"})])}
|
|
@@ -38357,21 +40417,21 @@ function _asyncToGenerator(fn) {
|
|
|
38357
40417
|
});
|
|
38358
40418
|
};
|
|
38359
40419
|
}
|
|
38360
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40420
|
+
// 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&
|
|
38361
40421
|
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)}
|
|
38362
40422
|
var MethodButtonvue_type_template_id_7ae5ce06_staticRenderFns = []
|
|
38363
40423
|
|
|
38364
40424
|
|
|
38365
40425
|
// CONCATENATED MODULE: ./src/components/methodButtons/MethodButton.vue?vue&type=template&id=7ae5ce06&
|
|
38366
40426
|
|
|
38367
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40427
|
+
// 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&
|
|
38368
40428
|
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}])})}
|
|
38369
40429
|
var IdCardButtonvue_type_template_id_e4be1d66_staticRenderFns = []
|
|
38370
40430
|
|
|
38371
40431
|
|
|
38372
40432
|
// CONCATENATED MODULE: ./src/components/methodButtons/IdCardButton.vue?vue&type=template&id=e4be1d66&
|
|
38373
40433
|
|
|
38374
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40434
|
+
// 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&
|
|
38375
40435
|
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)])}
|
|
38376
40436
|
var MethodButtonBasevue_type_template_id_1891359c_staticRenderFns = []
|
|
38377
40437
|
|
|
@@ -38464,7 +40524,7 @@ var IdCardButton_component = normalizeComponent(
|
|
|
38464
40524
|
)
|
|
38465
40525
|
|
|
38466
40526
|
/* harmony default export */ var IdCardButton = (IdCardButton_component.exports);
|
|
38467
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40527
|
+
// 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&
|
|
38468
40528
|
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}])})}
|
|
38469
40529
|
var IdCardButtonEEvue_type_template_id_02178dd2_staticRenderFns = []
|
|
38470
40530
|
|
|
@@ -38519,7 +40579,7 @@ var IdCardButtonEE_component = normalizeComponent(
|
|
|
38519
40579
|
)
|
|
38520
40580
|
|
|
38521
40581
|
/* harmony default export */ var IdCardButtonEE = (IdCardButtonEE_component.exports);
|
|
38522
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40582
|
+
// 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&
|
|
38523
40583
|
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}])})}
|
|
38524
40584
|
var SmartIdButtonvue_type_template_id_3c6e7a06_staticRenderFns = []
|
|
38525
40585
|
|
|
@@ -38574,7 +40634,7 @@ var SmartIdButton_component = normalizeComponent(
|
|
|
38574
40634
|
)
|
|
38575
40635
|
|
|
38576
40636
|
/* harmony default export */ var SmartIdButton = (SmartIdButton_component.exports);
|
|
38577
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40637
|
+
// 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&
|
|
38578
40638
|
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}])})}
|
|
38579
40639
|
var MobileIdButtonvue_type_template_id_ba752324_staticRenderFns = []
|
|
38580
40640
|
|
|
@@ -38629,7 +40689,7 @@ var MobileIdButton_component = normalizeComponent(
|
|
|
38629
40689
|
)
|
|
38630
40690
|
|
|
38631
40691
|
/* harmony default export */ var MobileIdButton = (MobileIdButton_component.exports);
|
|
38632
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40692
|
+
// 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&
|
|
38633
40693
|
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}])})}
|
|
38634
40694
|
var MobileIdButtonEEvue_type_template_id_a70f6cfc_staticRenderFns = []
|
|
38635
40695
|
|
|
@@ -38684,7 +40744,7 @@ var MobileIdButtonEE_component = normalizeComponent(
|
|
|
38684
40744
|
)
|
|
38685
40745
|
|
|
38686
40746
|
/* harmony default export */ var MobileIdButtonEE = (MobileIdButtonEE_component.exports);
|
|
38687
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40747
|
+
// 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&
|
|
38688
40748
|
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}])})}
|
|
38689
40749
|
var EparakstsMobileButtonvue_type_template_id_88907130_staticRenderFns = []
|
|
38690
40750
|
|
|
@@ -38739,7 +40799,7 @@ var EparakstsMobileButton_component = normalizeComponent(
|
|
|
38739
40799
|
)
|
|
38740
40800
|
|
|
38741
40801
|
/* harmony default export */ var EparakstsMobileButton = (EparakstsMobileButton_component.exports);
|
|
38742
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40802
|
+
// 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&
|
|
38743
40803
|
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}])})}
|
|
38744
40804
|
var FrejaEidButtonvue_type_template_id_c62614cc_staticRenderFns = []
|
|
38745
40805
|
|
|
@@ -38794,7 +40854,7 @@ var FrejaEidButton_component = normalizeComponent(
|
|
|
38794
40854
|
)
|
|
38795
40855
|
|
|
38796
40856
|
/* harmony default export */ var FrejaEidButton = (FrejaEidButton_component.exports);
|
|
38797
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40857
|
+
// 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&
|
|
38798
40858
|
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}])})}
|
|
38799
40859
|
var ZealIdButtonvue_type_template_id_cc1917ce_staticRenderFns = []
|
|
38800
40860
|
|
|
@@ -38849,7 +40909,7 @@ var ZealIdButton_component = normalizeComponent(
|
|
|
38849
40909
|
)
|
|
38850
40910
|
|
|
38851
40911
|
/* harmony default export */ var ZealIdButton = (ZealIdButton_component.exports);
|
|
38852
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40912
|
+
// 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&
|
|
38853
40913
|
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}])})}
|
|
38854
40914
|
var IdCardButtonBevue_type_template_id_706e58f9_staticRenderFns = []
|
|
38855
40915
|
|
|
@@ -38904,7 +40964,7 @@ var IdCardButtonBe_component = normalizeComponent(
|
|
|
38904
40964
|
)
|
|
38905
40965
|
|
|
38906
40966
|
/* harmony default export */ var IdCardButtonBe = (IdCardButtonBe_component.exports);
|
|
38907
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
40967
|
+
// 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&
|
|
38908
40968
|
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}])})}
|
|
38909
40969
|
var MojeIdButtonvue_type_template_id_4d0b2384_staticRenderFns = []
|
|
38910
40970
|
|
|
@@ -38959,7 +41019,7 @@ var MojeIdButton_component = normalizeComponent(
|
|
|
38959
41019
|
)
|
|
38960
41020
|
|
|
38961
41021
|
/* harmony default export */ var MojeIdButton = (MojeIdButton_component.exports);
|
|
38962
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41022
|
+
// 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&
|
|
38963
41023
|
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}])})}
|
|
38964
41024
|
var FinnishTrustNetworkButtonvue_type_template_id_bf091c0a_staticRenderFns = []
|
|
38965
41025
|
|
|
@@ -38996,7 +41056,7 @@ var FinnishTrustNetworkButton_component = normalizeComponent(
|
|
|
38996
41056
|
)
|
|
38997
41057
|
|
|
38998
41058
|
/* harmony default export */ var FinnishTrustNetworkButton = (FinnishTrustNetworkButton_component.exports);
|
|
38999
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41059
|
+
// 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&
|
|
39000
41060
|
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}])})}
|
|
39001
41061
|
var AtHandyButtonvue_type_template_id_10386e1a_staticRenderFns = []
|
|
39002
41062
|
|
|
@@ -39051,7 +41111,7 @@ var AtHandyButton_component = normalizeComponent(
|
|
|
39051
41111
|
)
|
|
39052
41112
|
|
|
39053
41113
|
/* harmony default export */ var AtHandyButton = (AtHandyButton_component.exports);
|
|
39054
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41114
|
+
// 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&
|
|
39055
41115
|
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}])})}
|
|
39056
41116
|
var IdCardButtonFivue_type_template_id_d5d98516_staticRenderFns = []
|
|
39057
41117
|
|
|
@@ -39106,7 +41166,7 @@ var IdCardButtonFi_component = normalizeComponent(
|
|
|
39106
41166
|
)
|
|
39107
41167
|
|
|
39108
41168
|
/* harmony default export */ var IdCardButtonFi = (IdCardButtonFi_component.exports);
|
|
39109
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41169
|
+
// 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&
|
|
39110
41170
|
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}])})}
|
|
39111
41171
|
var IdCardButtonLvvue_type_template_id_e8b99834_staticRenderFns = []
|
|
39112
41172
|
|
|
@@ -39161,7 +41221,7 @@ var IdCardButtonLv_component = normalizeComponent(
|
|
|
39161
41221
|
)
|
|
39162
41222
|
|
|
39163
41223
|
/* harmony default export */ var IdCardButtonLv = (IdCardButtonLv_component.exports);
|
|
39164
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41224
|
+
// 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&
|
|
39165
41225
|
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}])})}
|
|
39166
41226
|
var IdCardButtonPtvue_type_template_id_b726caca_staticRenderFns = []
|
|
39167
41227
|
|
|
@@ -39216,7 +41276,7 @@ var IdCardButtonPt_component = normalizeComponent(
|
|
|
39216
41276
|
)
|
|
39217
41277
|
|
|
39218
41278
|
/* harmony default export */ var IdCardButtonPt = (IdCardButtonPt_component.exports);
|
|
39219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41279
|
+
// 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&
|
|
39220
41280
|
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}])})}
|
|
39221
41281
|
var OtpButtonvue_type_template_id_4585c7b9_staticRenderFns = []
|
|
39222
41282
|
|
|
@@ -39253,7 +41313,7 @@ var OtpButton_component = normalizeComponent(
|
|
|
39253
41313
|
)
|
|
39254
41314
|
|
|
39255
41315
|
/* harmony default export */ var OtpButton = (OtpButton_component.exports);
|
|
39256
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41316
|
+
// 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&
|
|
39257
41317
|
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}])})}
|
|
39258
41318
|
var GoogleButtonvue_type_template_id_4054e8d5_staticRenderFns = []
|
|
39259
41319
|
|
|
@@ -39308,7 +41368,7 @@ var GoogleButton_component = normalizeComponent(
|
|
|
39308
41368
|
)
|
|
39309
41369
|
|
|
39310
41370
|
/* harmony default export */ var GoogleButton = (GoogleButton_component.exports);
|
|
39311
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41371
|
+
// 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&
|
|
39312
41372
|
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}])})}
|
|
39313
41373
|
var EvrotrustButtonvue_type_template_id_5c8b8745_staticRenderFns = []
|
|
39314
41374
|
|
|
@@ -39363,7 +41423,7 @@ var EvrotrustButton_component = normalizeComponent(
|
|
|
39363
41423
|
)
|
|
39364
41424
|
|
|
39365
41425
|
/* harmony default export */ var EvrotrustButton = (EvrotrustButton_component.exports);
|
|
39366
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41426
|
+
// 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&
|
|
39367
41427
|
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}])})}
|
|
39368
41428
|
var BankIdButtonvue_type_template_id_3a274cdd_staticRenderFns = []
|
|
39369
41429
|
|
|
@@ -39418,7 +41478,7 @@ var BankIdButton_component = normalizeComponent(
|
|
|
39418
41478
|
)
|
|
39419
41479
|
|
|
39420
41480
|
/* harmony default export */ var BankIdButton = (BankIdButton_component.exports);
|
|
39421
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41481
|
+
// 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&
|
|
39422
41482
|
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}])})}
|
|
39423
41483
|
var DTrustSignMeButtonvue_type_template_id_d2bb3e4e_staticRenderFns = []
|
|
39424
41484
|
|
|
@@ -39738,14 +41798,14 @@ var MethodSelection_component = normalizeComponent(
|
|
|
39738
41798
|
)
|
|
39739
41799
|
|
|
39740
41800
|
/* harmony default export */ var MethodSelection = (MethodSelection_component.exports);
|
|
39741
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41801
|
+
// 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&
|
|
39742
41802
|
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)])}
|
|
39743
41803
|
var SmartIdAuthvue_type_template_id_097b8df2_staticRenderFns = []
|
|
39744
41804
|
|
|
39745
41805
|
|
|
39746
41806
|
// CONCATENATED MODULE: ./src/views/SmartIdAuth.vue?vue&type=template&id=097b8df2&
|
|
39747
41807
|
|
|
39748
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41808
|
+
// 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&
|
|
39749
41809
|
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,
|
|
39750
41810
|
{id: _vm.formComponentId(item.name),
|
|
39751
41811
|
value: _vm.formValue[item.name],
|
|
@@ -39762,14 +41822,14 @@ var es_array_concat = __webpack_require__("99af");
|
|
|
39762
41822
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
|
|
39763
41823
|
var es_array_reduce = __webpack_require__("13d5");
|
|
39764
41824
|
|
|
39765
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41825
|
+
// 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&
|
|
39766
41826
|
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)+" ")])}
|
|
39767
41827
|
var FormButtonvue_type_template_id_6eab7190_staticRenderFns = []
|
|
39768
41828
|
|
|
39769
41829
|
|
|
39770
41830
|
// CONCATENATED MODULE: ./src/components/FormButton.vue?vue&type=template&id=6eab7190&
|
|
39771
41831
|
|
|
39772
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41832
|
+
// 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&
|
|
39773
41833
|
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)}
|
|
39774
41834
|
var AppButtonvue_type_template_id_7bb31c31_staticRenderFns = []
|
|
39775
41835
|
|
|
@@ -39861,7 +41921,7 @@ var FormButton_component = normalizeComponent(
|
|
|
39861
41921
|
)
|
|
39862
41922
|
|
|
39863
41923
|
/* harmony default export */ var FormButton = (FormButton_component.exports);
|
|
39864
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
41924
|
+
// 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&
|
|
39865
41925
|
var FormFieldvue_type_template_id_5f6d450f_render = function () {
|
|
39866
41926
|
var _obj;
|
|
39867
41927
|
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)}
|
|
@@ -39870,7 +41930,7 @@ var FormFieldvue_type_template_id_5f6d450f_staticRenderFns = []
|
|
|
39870
41930
|
|
|
39871
41931
|
// CONCATENATED MODULE: ./src/components/FormField.vue?vue&type=template&id=5f6d450f&
|
|
39872
41932
|
|
|
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/AppInput.vue?vue&type=template&id=5b619160&
|
|
39874
41934
|
var AppInputvue_type_template_id_5b619160_render = function () {
|
|
39875
41935
|
var _obj, _obj$1;
|
|
39876
41936
|
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))}
|
|
@@ -40006,7 +42066,7 @@ var FormField_component = normalizeComponent(
|
|
|
40006
42066
|
)
|
|
40007
42067
|
|
|
40008
42068
|
/* harmony default export */ var FormField = (FormField_component.exports);
|
|
40009
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42069
|
+
// 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&
|
|
40010
42070
|
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)+" ")])])}
|
|
40011
42071
|
var FormSectionSpacervue_type_template_id_d4c1a10e_staticRenderFns = []
|
|
40012
42072
|
|
|
@@ -40272,7 +42332,7 @@ var getFieldErrors = function getFieldErrors(error) {
|
|
|
40272
42332
|
};
|
|
40273
42333
|
|
|
40274
42334
|
/* harmony default export */ var src_getFieldErrors = (getFieldErrors);
|
|
40275
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42335
|
+
// 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&
|
|
40276
42336
|
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()])}
|
|
40277
42337
|
var ChallengeLoadervue_type_template_id_39c6ba11_staticRenderFns = []
|
|
40278
42338
|
|
|
@@ -40473,7 +42533,7 @@ var SmartIdAuth_component = normalizeComponent(
|
|
|
40473
42533
|
)
|
|
40474
42534
|
|
|
40475
42535
|
/* harmony default export */ var SmartIdAuth = (SmartIdAuth_component.exports);
|
|
40476
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42536
|
+
// 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&
|
|
40477
42537
|
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)])}
|
|
40478
42538
|
var MobileIdAuthvue_type_template_id_3f6c41cc_staticRenderFns = []
|
|
40479
42539
|
|
|
@@ -40642,7 +42702,7 @@ var MobileIdAuth_component = normalizeComponent(
|
|
|
40642
42702
|
)
|
|
40643
42703
|
|
|
40644
42704
|
/* harmony default export */ var MobileIdAuth = (MobileIdAuth_component.exports);
|
|
40645
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42705
|
+
// 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&
|
|
40646
42706
|
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)])}
|
|
40647
42707
|
var IdentificationFrejaIdvue_type_template_id_392fcbd9_staticRenderFns = []
|
|
40648
42708
|
|
|
@@ -40798,7 +42858,7 @@ var IdentificationFrejaId_component = normalizeComponent(
|
|
|
40798
42858
|
)
|
|
40799
42859
|
|
|
40800
42860
|
/* harmony default export */ var IdentificationFrejaId = (IdentificationFrejaId_component.exports);
|
|
40801
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42861
|
+
// 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&
|
|
40802
42862
|
var IdentificationZealIdvue_type_template_id_e102c202_render = function () {
|
|
40803
42863
|
var _obj;
|
|
40804
42864
|
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 )]})])}
|
|
@@ -40918,7 +42978,7 @@ var IdentificationZealId_component = normalizeComponent(
|
|
|
40918
42978
|
)
|
|
40919
42979
|
|
|
40920
42980
|
/* harmony default export */ var IdentificationZealId = (IdentificationZealId_component.exports);
|
|
40921
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
42981
|
+
// 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&
|
|
40922
42982
|
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)])}
|
|
40923
42983
|
var SignatureSmartIdvue_type_template_id_4e579494_staticRenderFns = []
|
|
40924
42984
|
|
|
@@ -41080,7 +43140,7 @@ var SignatureSmartId_component = normalizeComponent(
|
|
|
41080
43140
|
)
|
|
41081
43141
|
|
|
41082
43142
|
/* harmony default export */ var SignatureSmartId = (SignatureSmartId_component.exports);
|
|
41083
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43143
|
+
// 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&
|
|
41084
43144
|
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)])}
|
|
41085
43145
|
var SignatureMobileIdvue_type_template_id_1c9f8ccb_staticRenderFns = []
|
|
41086
43146
|
|
|
@@ -41249,7 +43309,7 @@ var SignatureMobileId_component = normalizeComponent(
|
|
|
41249
43309
|
)
|
|
41250
43310
|
|
|
41251
43311
|
/* harmony default export */ var SignatureMobileId = (SignatureMobileId_component.exports);
|
|
41252
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43312
|
+
// 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&
|
|
41253
43313
|
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)])}
|
|
41254
43314
|
var SignatureFtnvue_type_template_id_89f3ab84_staticRenderFns = []
|
|
41255
43315
|
|
|
@@ -41345,7 +43405,7 @@ var SignatureFtn_component = normalizeComponent(
|
|
|
41345
43405
|
)
|
|
41346
43406
|
|
|
41347
43407
|
/* harmony default export */ var SignatureFtn = (SignatureFtn_component.exports);
|
|
41348
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43408
|
+
// 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&
|
|
41349
43409
|
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)])])}
|
|
41350
43410
|
var SignatureOtpvue_type_template_id_59f05d72_staticRenderFns = []
|
|
41351
43411
|
|
|
@@ -41542,14 +43602,14 @@ var SignatureOtp_component = normalizeComponent(
|
|
|
41542
43602
|
)
|
|
41543
43603
|
|
|
41544
43604
|
/* harmony default export */ var SignatureOtp = (SignatureOtp_component.exports);
|
|
41545
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43605
|
+
// 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&
|
|
41546
43606
|
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)])}
|
|
41547
43607
|
var SignatureEvrotrustvue_type_template_id_7d09c51b_staticRenderFns = []
|
|
41548
43608
|
|
|
41549
43609
|
|
|
41550
43610
|
// CONCATENATED MODULE: ./src/views/SignatureEvrotrust.vue?vue&type=template&id=7d09c51b&
|
|
41551
43611
|
|
|
41552
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43612
|
+
// 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&
|
|
41553
43613
|
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)])}
|
|
41554
43614
|
var SubLoadervue_type_template_id_333e7afc_staticRenderFns = []
|
|
41555
43615
|
|
|
@@ -41778,7 +43838,7 @@ var SignatureEvrotrust_component = normalizeComponent(
|
|
|
41778
43838
|
)
|
|
41779
43839
|
|
|
41780
43840
|
/* harmony default export */ var SignatureEvrotrust = (SignatureEvrotrust_component.exports);
|
|
41781
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
43841
|
+
// 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&
|
|
41782
43842
|
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)])}
|
|
41783
43843
|
var SignatureDTrustSignMevue_type_template_id_2c6a2f54_staticRenderFns = []
|
|
41784
43844
|
|
|
@@ -42170,6 +44230,10 @@ var eideasy_browser_client_default = /*#__PURE__*/__webpack_require__.n(eideasy_
|
|
|
42170
44230
|
type: Boolean,
|
|
42171
44231
|
default: false
|
|
42172
44232
|
},
|
|
44233
|
+
remoteMonitoringEnabled: {
|
|
44234
|
+
type: Boolean,
|
|
44235
|
+
default: false
|
|
44236
|
+
},
|
|
42173
44237
|
methodsConfigFilter: {
|
|
42174
44238
|
type: Function
|
|
42175
44239
|
},
|
|
@@ -45775,6 +47839,7 @@ vue_runtime_esm["a" /* default */].customElement('eideasy-widget', App, {
|
|
|
45775
47839
|
RootComponentDefinition.store = store;
|
|
45776
47840
|
RootComponentDefinition.storeActions = actions;
|
|
45777
47841
|
RootComponentDefinition.storeGetters = getters;
|
|
47842
|
+
console.log(propsData);
|
|
45778
47843
|
var eidEasyClient = eideasy_browser_client_default()(propsData);
|
|
45779
47844
|
|
|
45780
47845
|
var eidEasyOnSuccess = function eidEasyOnSuccess(result) {
|