UNPKG

onfido-sdk-ui

Version:

JavaScript SDK view layer for Onfido identity verification

1 lines 1.61 MB
module.exports=function(e){var n={};function t(o){if(n[o])return n[o].exports;var a=n[o]={i:o,l:!1,exports:{}};return e[o].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.e=function(){return Promise.resolve()},t.m=e,t.c=n,t.d=function(e,n,o){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:o})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var o=Object.create(null);if(t.r(o),Object.defineProperty(o,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)t.d(o,a,function(n){return e[n]}.bind(null,a));return o},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t.oe=function(e){process.nextTick((function(){throw e}))},t(t.s=394)}([function(e,n){e.exports=require("preact")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/defineProperty")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/assertThisInitialized")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/reflect/construct")},function(e,n,t){var o=t(29),a=t(295);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=require("classnames")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/concat")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/getPrototypeOf")},function(e,n,t){"use strict";t.r(n),t.d(n,"version",(function(){return H})),t.d(n,"Children",(function(){return _})),t.d(n,"render",(function(){return E})),t.d(n,"hydrate",(function(){return x})),t.d(n,"unmountComponentAtNode",(function(){return Y})),t.d(n,"createPortal",(function(){return S})),t.d(n,"createFactory",(function(){return W})),t.d(n,"cloneElement",(function(){return Z})),t.d(n,"isValidElement",(function(){return K})),t.d(n,"findDOMNode",(function(){return X})),t.d(n,"PureComponent",(function(){return u})),t.d(n,"memo",(function(){return s})),t.d(n,"forwardRef",(function(){return m})),t.d(n,"unstable_batchedUpdates",(function(){return J})),t.d(n,"StrictMode",(function(){return Q})),t.d(n,"Suspense",(function(){return h})),t.d(n,"SuspenseList",(function(){return b})),t.d(n,"lazy",(function(){return g})),t.d(n,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return T})),t.d(n,"unstable_ImmediatePriority",(function(){return q})),t.d(n,"unstable_UserBlockingPriority",(function(){return R})),t.d(n,"unstable_NormalPriority",(function(){return j})),t.d(n,"unstable_LowPriority",(function(){return B})),t.d(n,"unstable_IdlePriority",(function(){return z})),t.d(n,"unstable_runWithPriority",(function(){return G})),t.d(n,"unstable_now",(function(){return V}));var o=t(42);for(var a in o)["default","createElement","createContext","createRef","Fragment","Component","version","Children","render","hydrate","unmountComponentAtNode","createPortal","createFactory","cloneElement","isValidElement","findDOMNode","PureComponent","memo","forwardRef","unstable_batchedUpdates","StrictMode","Suspense","SuspenseList","lazy","__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED","unstable_ImmediatePriority","unstable_UserBlockingPriority","unstable_NormalPriority","unstable_LowPriority","unstable_IdlePriority","unstable_runWithPriority","unstable_now"].indexOf(a)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(a);var r=t(0);function i(e,n){for(var t in n)e[t]=n[t];return e}function l(e,n){for(var t in e)if("__source"!==t&&!(t in n))return!0;for(var o in n)if("__source"!==o&&e[o]!==n[o])return!0;return!1}function u(e){this.props=e}function s(e,n){function t(e){var t=this.props.ref,o=t==e.ref;return!o&&t&&(t.call?t(null):t.current=null),n?!n(this.props,e)||!o:l(this.props,e)}function o(n){return this.shouldComponentUpdate=t,Object(r.createElement)(e,n)}return o.displayName="Memo("+(e.displayName||e.name)+")",o.prototype.isReactComponent=!0,o.__f=!0,o}t.d(n,"createElement",(function(){return r.createElement})),t.d(n,"createContext",(function(){return r.createContext})),t.d(n,"createRef",(function(){return r.createRef})),t.d(n,"Fragment",(function(){return r.Fragment})),t.d(n,"Component",(function(){return r.Component})),(u.prototype=new r.Component).isPureReactComponent=!0,u.prototype.shouldComponentUpdate=function(e,n){return l(this.props,e)||l(this.state,n)};var c=r.options.__b;r.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),c&&c(e)};var d="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function m(e){function n(n,t){var o=i({},n);return delete o.ref,e(o,(t=n.ref||t)&&("object"!=typeof t||"current"in t)?t:null)}return n.$$typeof=d,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n}var f=function(e,n){return null==e?null:Object(r.toChildArray)(Object(r.toChildArray)(e).map(n))},_={map:f,forEach:f,count:function(e){return e?Object(r.toChildArray)(e).length:0},only:function(e){var n=Object(r.toChildArray)(e);if(1!==n.length)throw"Children.only";return n[0]},toArray:r.toChildArray},p=r.options.__e;r.options.__e=function(e,n,t){if(e.then)for(var o,a=n;a=a.__;)if((o=a.__c)&&o.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),o.__c(e,n);p(e,n,t)};var y=r.options.unmount;function h(){this.__u=0,this.t=null,this.__b=null}function v(e){var n=e.__.__c;return n&&n.__e&&n.__e(e)}function g(e){var n,t,o;function a(a){if(n||(n=e()).then((function(e){t=e.default||e}),(function(e){o=e})),o)throw o;if(!t)throw n;return Object(r.createElement)(t,a)}return a.displayName="Lazy",a.__f=!0,a}function b(){this.u=null,this.o=null}r.options.unmount=function(e){var n=e.__c;n&&n.__R&&n.__R(),n&&!0===e.__h&&(e.type=null),y&&y(e)},(h.prototype=new r.Component).__c=function(e,n){var t=n.__c,o=this;null==o.t&&(o.t=[]),o.t.push(t);var a=v(o.__v),r=!1,i=function(){r||(r=!0,t.__R=null,a?a(l):l())};t.__R=i;var l=function(){if(!--o.__u){if(o.state.__e){var e=o.state.__e;o.__v.__k[0]=function e(n,t,o){return n&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return e(n,t,o)})),n.__c&&n.__c.__P===t&&(n.__e&&o.insertBefore(n.__e,n.__d),n.__c.__e=!0,n.__c.__P=o)),n}(e,e.__c.__P,e.__c.__O)}var n;for(o.setState({__e:o.__b=null});n=o.t.pop();)n.forceUpdate()}},u=!0===n.__h;o.__u++||u||o.setState({__e:o.__b=o.__v.__k[0]}),e.then(i,i)},h.prototype.componentWillUnmount=function(){this.t=[]},h.prototype.render=function(e,n){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=function e(n,t,o){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),n.__c.__H=null),null!=(n=i({},n)).__c&&(n.__c.__P===o&&(n.__c.__P=t),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return e(n,t,o)}))),n}(this.__b,t,o.__O=o.__P)}this.__b=null}var a=n.__e&&Object(r.createElement)(r.Fragment,null,e.fallback);return a&&(a.__h=null),[Object(r.createElement)(r.Fragment,null,n.__e?null:e.children),a]};var D=function(e,n,t){if(++t[1]===t[0]&&e.o.delete(n),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(t=e.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;e.u=t=t[2]}};function k(e){return this.getChildContext=function(){return e.context},e.children}function C(e){var n=this,t=e.i;n.componentWillUnmount=function(){Object(r.render)(null,n.l),n.l=null,n.i=null},n.i&&n.i!==t&&n.componentWillUnmount(),e.__v?(n.l||(n.i=t,n.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(e){this.childNodes.push(e),n.i.appendChild(e)},insertBefore:function(e,t){this.childNodes.push(e),n.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),n.i.removeChild(e)}}),Object(r.render)(Object(r.createElement)(k,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}function S(e,n){return Object(r.createElement)(C,{__v:e,i:n})}(b.prototype=new r.Component).__e=function(e){var n=this,t=v(n.__v),o=n.o.get(e);return o[0]++,function(a){var r=function(){n.props.revealOrder?(o.push(a),D(n,e,o)):a()};t?t(r):r()}},b.prototype.render=function(e){this.u=null,this.o=new Map;var n=Object(r.toChildArray)(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&n.reverse();for(var t=n.length;t--;)this.o.set(n[t],this.u=[1,0,this.u]);return e.children},b.prototype.componentDidUpdate=b.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(n,t){D(e,t,n)}))};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,w=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|fill|flood|font|glyph(?!R)|horiz|marker(?!H|W|U)|overline|paint|stop|strikethrough|stroke|text(?!L)|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,$=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function E(e,n,t){return null==n.__k&&(n.textContent=""),Object(r.render)(e,n),"function"==typeof t&&t(),e?e.__c:null}function x(e,n,t){return Object(r.hydrate)(e,n),"function"==typeof t&&t(),e?e.__c:null}r.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(r.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(n){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:n})}})}));var I=r.options.event;function U(){}function N(){return this.cancelBubble}function O(){return this.defaultPrevented}r.options.event=function(e){return I&&(e=I(e)),e.persist=U,e.isPropagationStopped=N,e.isDefaultPrevented=O,e.nativeEvent=e};var M,L={configurable:!0,get:function(){return this.class}},F=r.options.vnode;r.options.vnode=function(e){var n=e.type,t=e.props,o=t;if("string"==typeof n){for(var a in o={},t){var i=t[a];"value"===a&&"defaultValue"in t&&null==i||("defaultValue"===a&&"value"in t&&null==t.value?a="value":"download"===a&&!0===i?i="":/ondoubleclick/i.test(a)?a="ondblclick":/^onchange(textarea|input)/i.test(a+n)&&!$(t.type)?a="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(a)?a=a.toLowerCase():w.test(a)?a=a.replace(/[A-Z0-9]/,"-$&").toLowerCase():null===i&&(i=void 0),o[a]=i)}"select"==n&&o.multiple&&Array.isArray(o.value)&&(o.value=Object(r.toChildArray)(t.children).forEach((function(e){e.props.selected=-1!=o.value.indexOf(e.props.value)}))),"select"==n&&null!=o.defaultValue&&(o.value=Object(r.toChildArray)(t.children).forEach((function(e){e.props.selected=o.multiple?-1!=o.defaultValue.indexOf(e.props.value):o.defaultValue==e.props.value}))),e.props=o}n&&t.class!=t.className&&(L.enumerable="className"in t,null!=t.className&&(o.class=t.className),Object.defineProperty(o,"className",L)),e.$$typeof=A,F&&F(e)};var P=r.options.__r;r.options.__r=function(e){P&&P(e),M=e.__c};var T={ReactCurrentDispatcher:{current:{readContext:function(e){return M.__n[e.__c].props.value}}}},q=1,R=2,j=3,B=4,z=5;function G(e,n){return n()}var V="object"==typeof performance&&"function"==typeof performance.now?performance.now.bind(performance):function(){return Date.now()},H="16.8.0";function W(e){return r.createElement.bind(null,e)}function K(e){return!!e&&e.$$typeof===A}function Z(e){return K(e)?r.cloneElement.apply(null,arguments):e}function Y(e){return!!e.__k&&(Object(r.render)(null,e),!0)}function X(e){return e&&(e.base||1===e.nodeType&&e)||null}var J=function(e,n){return e(n)},Q=r.Fragment;n.default={useState:o.useState,useReducer:o.useReducer,useEffect:o.useEffect,useLayoutEffect:o.useLayoutEffect,useRef:o.useRef,useImperativeHandle:o.useImperativeHandle,useMemo:o.useMemo,useCallback:o.useCallback,useContext:o.useContext,useDebugValue:o.useDebugValue,version:"16.8.0",Children:_,render:E,hydrate:x,unmountComponentAtNode:Y,createPortal:S,createElement:r.createElement,createContext:r.createContext,createFactory:W,cloneElement:Z,createRef:r.createRef,Fragment:r.Fragment,isValidElement:K,findDOMNode:X,Component:r.Component,PureComponent:u,memo:s,forwardRef:m,unstable_batchedUpdates:J,StrictMode:r.Fragment,Suspense:h,SuspenseList:b,lazy:g,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:T}},function(e,n,t){"use strict";t.d(n,"a",(function(){return J})),t.d(n,"c",(function(){return Q})),t.d(n,"b",(function(){return ee}));var o=t(22),a=t.n(o),r=t(109),i=t.n(r),l=t(0),u=t(23),s=t(17),c=t(24),d=t.n(c),m=t(26),f=t.n(m),_=t(18),p=t.n(_),y=t(13),h=t.n(y),v=t(19),g=t.n(v),b=t(20),D=t.n(b),k=t(21),C=t.n(k),S=t(36),A=t.n(S),w=t(16),$=t.n(w),E=t(53),x=t.n(E),I=t(1),U=t.n(I),N=t(155),O=t.n(N),M=t(156),L=t(157),F=t(158),P=t(159),T=t(160),q=t(161),R=t(162),j=t(38);function B(e,n){var t=C()(e);if(D.a){var o=D()(e);n&&(o=$()(o).call(o,(function(n){return g()(e,n).enumerable}))),t.push.apply(t,o)}return t}function z(e){for(var n=1;n<arguments.length;n++){var t,o=null!=arguments[n]?arguments[n]:{};if(n%2)h()(t=B(Object(o),!0)).call(t,(function(n){U()(e,n,o[n])}));else if(p.a)f()(e,p()(o));else{var a;h()(a=B(Object(o))).call(a,(function(n){d()(e,n,g()(o,n))}))}}return e}var G=z(z({},{en:M,es:L,de:F,fr:P,it:T,pt:q,nl:R}),{},{en_US:M,es_ES:L,de_DE:F,fr_FR:P,it_IT:T,pt_PT:q,nl_NL:R}),V=function(){var e={};for(var n in G)({}).hasOwnProperty.call(G,n)&&(e[n]=G[n].mobilePhrases);return e}(),H=function(e,n,t,o){return n.locale(e),n.extend(t),s.k||n.extend(o),n},W=function(e,n){var t=e.phrases,o=e.mobilePhrases,a=C()(n.phrases),r=z(z({},t.mobilePhrases),o);!function(e,n,t){var o,a=new x.a(n),r=$()(e).call(e,(function(e){return!a.has(e)})),i=A()(o=C()(G)).call(o,(function(e){return e===t}));r.length&&!i&&console.warn("Missing keys:",r)}(a,function(e){return C()(new O.a({phrases:e}).phrases)}(z(z({},t),{},{mobilePhrases:r})),null==e?void 0:e.locale)},K=function(e,n){if(G[e])return H(e,n,G[e],V[e]);console.warn("Locale not supported")},Z=function(e,n){return"string"==typeof e?K(e,n):function(e,n){var t=e.locale,o=e.phrases,a=e.mobilePhrases;W(e,n);var r=K(t,n)||n;return H(t,r,o,a)}(e,n)},Y=Object(j.c)((function(e){var n=function(){var e=new O.a({onMissingKey:function(){return null}});return H("en_US",e,G.en_US,V.en_US)}();return e&&Z(e,n)||n})),X=Object(l.createContext)(void 0),J=function(e){var n,t=e.language,o=e.children,a=Y(t),r=i()(n=a.t).call(n,a);return Object(l.h)(X.Provider,{value:{language:a.currentLocale,translate:r,parseTranslatedTags:function(e,n){return Object(s.n)(r(e),n)}}},o)},Q=function(){var e=Object(u.useContext)(X);if(!e)throw new Error("LocaleContext hasn't been initialized!");return e},ee=function(e){return function(n){return Object(l.h)(X.Consumer,null,(function(t){if(null==t)throw new Error("LocaleContext hasn't been initialized!");return Object(l.h)(e,a()({},n,t))}))}}},function(e,n,t){e.exports=t(280)()},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/classCallCheck")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/inherits")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/for-each")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/possibleConstructorReturn")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/createClass")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/filter")},function(e,n,t){"use strict";t.d(n,"i",(function(){return J})),t.d(n,"o",(function(){return Q})),t.d(n,"m",(function(){return ne})),t.d(n,"j",(function(){return te})),t.d(n,"k",(function(){return oe})),t.d(n,"l",(function(){return le})),t.d(n,"d",(function(){return me})),t.d(n,"e",(function(){return fe})),t.d(n,"n",(function(){return _e})),t.d(n,"h",(function(){return pe})),t.d(n,"g",(function(){return ye})),t.d(n,"f",(function(){return he})),t.d(n,"a",(function(){return ve})),t.d(n,"p",(function(){return ge})),t.d(n,"c",(function(){return be})),t.d(n,"b",(function(){return De}));var o,a=t(24),r=t.n(a),i=t(26),l=t.n(i),u=t(18),s=t.n(u),c=t(13),d=t.n(c),m=t(19),f=t.n(m),_=t(20),p=t.n(_),y=t(21),h=t.n(y),v=t(86),g=t.n(v),b=t(1),D=t.n(b),k=t(124),C=t.n(k),S=t(25),A=t.n(S),w=t(226),$=t.n(w),E=t(16),x=t.n(E),I=t(36),U=t.n(I),N=t(125),O=t.n(N),M=t(31),L=t.n(M),F=t(76),P=t.n(F),T=t(96),q=t.n(T),R=t(6),j=t.n(R),B=t(27),z=t.n(B),G=t(227),V=t.n(G),H=t(59),W={os:[{name:"Windows Phone",codeName:"Windows Phone",versionPrefix:"Windows Phone"},{name:"Windows",codeName:"Win",versionPrefix:"NT"},{name:"iPhone",codeName:"iPhone",versionPrefix:"OS"},{name:"iPad",codeName:"iPad",versionPrefix:"OS"},{name:"Kindle",codeName:"Silk",versionPrefix:"Silk"},{name:"Android",codeName:"Android",versionPrefix:"Android"},{name:"PlayBook",codeName:"PlayBook",versionPrefix:"OS"},{name:"BlackBerry",codeName:"BlackBerry",versionPrefix:"/"},{name:"Macintosh",codeName:"Mac",versionPrefix:"OS X"},{name:"Linux",codeName:"Linux",versionPrefix:"rv"},{name:"Palm",codeName:"Palm",versionPrefix:"PalmOS"}],browser:[{name:"BlackBerry",codeName:"CLDC",versionPrefix:"CLDC"},{name:"Edge",codeName:"Edg",versionPrefix:"Edg"},{name:"Opera",codeName:"OPR",versionPrefix:"OPR"},{name:"Opera Touch",codeName:"OPT",versionPrefix:"OPT"},{name:"Samsung Browser",codeName:"SamsungBrowser",versionPrefix:"SamsungBrowser"},{name:"UC Browser",codeName:"UCBrowser",versionPrefix:"UCBrowser"},{name:"Yandex",codeName:"YaBrowser",versionPrefix:"YaBrowser"},{name:"Firefox",codeName:"Firefox",versionPrefix:"Firefox"},{name:"Firefox iOS",codeName:"FxiOS",versionPrefix:"FxiOS"},{name:"Internet Explorer Mobile",codeName:"IEMobile",versionPrefix:"IEMobile"},{name:"Internet Explorer",codeName:"MSIE",versionPrefix:"MSIE"},{name:"Internet Explorer",codeName:"rv",versionPrefix:"rv"},{name:"Chrome",codeName:"Chrome",versionPrefix:"Chrome"},{name:"Chrome iOS",codeName:"CriOS",versionPrefix:"CriOS"},{name:"Safari",codeName:"Safari",versionPrefix:"Version"},{name:"Mozilla",codeName:"Mozilla",versionPrefix:"Mozilla"}]},K=function(e){var n,t=[window.navigator.platform,window.navigator.userAgent,window.navigator.appVersion,window.navigator.vendor].join(" "),o=A()(n=W[e]).call(n,(function(e){var n=e.codeName,o=e.name,a=e.versionPrefix;if(!new RegExp(n,"gi").test(t))return null;var r=new RegExp("".concat(a,"[-\\s\\/:;]([\\d\\._]+)"),"i"),i=t.match(r);return{name:o,version:i&&i[1]?i[1].split(/[^\d]+/).join("."):"0"}}));return x()(o).call(o,H.c)[0]};function Z(e,n){var t=h()(e);if(p.a){var o=p()(e);n&&(o=x()(o).call(o,(function(n){return f()(e,n).enumerable}))),t.push.apply(t,o)}return t}function Y(e){for(var n=1;n<arguments.length;n++){var t,o=null!=arguments[n]?arguments[n]:{};if(n%2)d()(t=Z(Object(o),!0)).call(t,(function(n){D()(e,n,o[n])}));else if(s.a)l()(e,s()(o));else{var a;d()(a=Z(Object(o))).call(a,(function(n){r()(e,n,f()(o,n))}))}}return e}var X=t(283),J=function(e){return function(e,n){var t,o,a=X(n),r=z()(a,2),i=r[0],l=r[1];l!==e&&console.warn(j()(t=j()(o="The css @value: ".concat(n," unit is ")).call(o,l," but it should be ")).call(t,e));return i}("ms",e)},Q=function(e){return function(n){n.preventDefault(),e()}},ee=(/iPad|iPhone|iPod/.test(navigator.platform||"")||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!window.MSStream,ne=function(){var e,n=navigator.userAgent,t=/Safari/.test(n)&&/Apple Computer/.test(navigator.vendor),o=q()(e=n.substring(P()(n).call(n,"Version/"),P()(n).call(n,"Safari/"))).call(e);return t&&L()(o).call(o,"13.1")},te=function(){console.warn("getMobileOSName - use of navigator.userAgent is highly discouraged unless absolutely necessary and only for simple use cases");var e=navigator.userAgent;return/android/i.test(e)?"UNSUPPORTED_ANDROID_BROWSER":ee?"UNSUPPORTED_IOS_BROWSER":(console.error("Unable to determine mobile OS"),"INTERRUPTED_FLOW_ERROR")},oe=!/Android|webOS|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(navigator.userAgent||"")&&!ee,ae=L()(o=navigator.userAgent||"").call(o,"Windows"),re=navigator.maxTouchPoints||navigator.msMaxTouchPoints,ie="ontouchstart"in window||re>0||"function"==typeof window.matchMedia&&matchMedia("(any-pointer: coarse)").matches,le=ae&&ie,ue=function(e){return function(n){return function(e,n){try{V()().then(e).catch(n)}catch(e){n(e)}}((function(t){return n(e(t))}),(function(){return n(!1)}))}},se=function(e){var n=e.kind,t=void 0===n?"":n;return L()(t).call(t,"input")},ce=function(e){var n=e.kind,t=void 0===n?"":n;return L()(t).call(t,"video")},de=function(e){return!!e.label},me=ue((function(e){return ne()?O()(e).call(e,se):U()(e).call(e,ce)})),fe=ue((function(e){var n;return U()(n=x()(e).call(e,se)).call(n,de)})),_e=function(e,n){var t,o=(new DOMParser).parseFromString("<l>".concat(e,"</l>"),"application/xml"),a=$()((null===(t=o.firstChild)||void 0===t?void 0:t.childNodes)||[]);return A()(a).call(a,(function(e){var t=e.textContent||"";return e.nodeType===document.TEXT_NODE?t:n({type:e.tagName,text:t})}))},pe=function(){return Math.floor(C()()/1e3)},ye=function(){return(new Date).getTime()},he=function(e,n){var t=document.createElement("input");document.body.appendChild(t),t.setAttribute("value",e),t.select(),document.execCommand("copy"),document.body.removeChild(t),n()},ve=function(e,n){var t=K("os"),o=K("browser"),a=Y(Y({},t&&{os:t.name,os_version:t.version}),o&&{browser:o.name,browser_version:o.version});return Y(Y({},e),{},{isCrossDeviceFlow:n,deviceType:oe?"desktop":"mobile",system:a})},ge=function(){var e=K("os"),n=K("browser");return Y(Y(Y({},e&&{os:e.name,os_version:e.version}),n&&{browser:n.name,browser_version:n.version}),{},{device:oe?"desktop":"mobile"})},be=function(e){return e?e.charAt(0).toUpperCase()+g()(e).call(e,1):e},De=function(e){return btoa(unescape(encodeURIComponent(e)))}},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/keys")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/extends")},function(e,n){e.exports=require("preact/compat")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/define-property")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/map")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/define-properties")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/slicedToArray")},function(e,n,t){var o=t(29),a=t(311);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){"use strict";var o,a=function(){return void 0===o&&(o=Boolean(window&&document&&document.all&&!window.atob)),o},r=function(){var e={};return function(n){if(void 0===e[n]){var t=document.querySelector(n);if(window.HTMLIFrameElement&&t instanceof window.HTMLIFrameElement)try{t=t.contentDocument.head}catch(e){t=null}e[n]=t}return e[n]}}(),i=[];function l(e){for(var n=-1,t=0;t<i.length;t++)if(i[t].identifier===e){n=t;break}return n}function u(e,n){for(var t={},o=[],a=0;a<e.length;a++){var r=e[a],u=n.base?r[0]+n.base:r[0],s=t[u]||0,c="".concat(u," ").concat(s);t[u]=s+1;var d=l(c),m={css:r[1],media:r[2],sourceMap:r[3]};-1!==d?(i[d].references++,i[d].updater(m)):i.push({identifier:c,updater:y(m,n),references:1}),o.push(c)}return o}function s(e){var n=document.createElement("style"),o=e.attributes||{};if(void 0===o.nonce){var a=t.nc;a&&(o.nonce=a)}if(Object.keys(o).forEach((function(e){n.setAttribute(e,o[e])})),"function"==typeof e.insert)e.insert(n);else{var i=r(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(n)}return n}var c,d=(c=[],function(e,n){return c[e]=n,c.filter(Boolean).join("\n")});function m(e,n,t,o){var a=t?"":o.media?"@media ".concat(o.media," {").concat(o.css,"}"):o.css;if(e.styleSheet)e.styleSheet.cssText=d(n,a);else{var r=document.createTextNode(a),i=e.childNodes;i[n]&&e.removeChild(i[n]),i.length?e.insertBefore(r,i[n]):e.appendChild(r)}}function f(e,n,t){var o=t.css,a=t.media,r=t.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),r&&btoa&&(o+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(r))))," */")),e.styleSheet)e.styleSheet.cssText=o;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(o))}}var _=null,p=0;function y(e,n){var t,o,a;if(n.singleton){var r=p++;t=_||(_=s(n)),o=m.bind(null,t,r,!1),a=m.bind(null,t,r,!0)}else t=s(n),o=f.bind(null,t,n),a=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)};return o(e),function(n){if(n){if(n.css===e.css&&n.media===e.media&&n.sourceMap===e.sourceMap)return;o(e=n)}else a()}}e.exports=function(e,n){(n=n||{}).singleton||"boolean"==typeof n.singleton||(n.singleton=a());var t=u(e=e||[],n);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var o=0;o<t.length;o++){var a=l(t[o]);i[a].references--}for(var r=u(e,n),s=0;s<t.length;s++){var c=l(t[s]);0===i[c].references&&(i[c].updater(),i.splice(c,1))}t=r}}}},function(e,n,t){"use strict";e.exports=function(e){var n=[];return n.toString=function(){return this.map((function(n){var t=function(e,n){var t=e[1]||"",o=e[3];if(!o)return t;if(n&&"function"==typeof btoa){var a=(i=o,l=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),u="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l),"/*# ".concat(u," */")),r=o.sources.map((function(e){return"/*# sourceURL=".concat(o.sourceRoot||"").concat(e," */")}));return[t].concat(r).concat([a]).join("\n")}var i,l,u;return[t].join("\n")}(n,e);return n[2]?"@media ".concat(n[2]," {").concat(t,"}"):t})).join("")},n.i=function(e,t,o){"string"==typeof e&&(e=[[null,e,""]]);var a={};if(o)for(var r=0;r<this.length;r++){var i=this[r][0];null!=i&&(a[i]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);o&&a[u[0]]||(t&&(u[2]?u[2]="".concat(t," and ").concat(u[2]):u[2]=t),n.push(u))}},n}},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/includes")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/toConsumableArray")},function(e,n,t){var o=t(29),a=t(340);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/json/stringify")},function(e,n,t){var o=t(29),a=t(330);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/some")},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/objectWithoutProperties")},function(e,n,t){"use strict";t.d(n,"b",(function(){return l})),t.d(n,"a",(function(){return u})),t.d(n,"c",(function(){return s})),t.d(n,"d",(function(){return c}));var o=t(34),a=t.n(o),r=t(221),i=t.n(r),l=function(e){return e},u=function(){for(var e=arguments.length,n=new Array(e),t=0;t<e;t++)n[t]=arguments[t];return i()(n).call(n,(function(e,n){return function(){return n(e.apply(void 0,arguments))}}),l)},s=function(e){var n={};return function(){for(var t=arguments.length,o=new Array(t),r=0;r<t;r++)o[r]=arguments[r];var i=a()(o);return n[i]||(n[i]=e.apply(void 0,o))}},c=function(){}},,function(e,n,t){var o=t(29),a=t(304);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/set-timeout")},function(e,n){e.exports=require("preact/hooks")},function(e,n){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||Function("return this")()},function(e,n,t){var o=t(29),a=t(390);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/find")},function(e,n,t){var o=t(29),a=t(328);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/entries")},function(e,n){e.exports=require("@babel/runtime-corejs3/regenerator")},function(e,n,t){var o=t(29),a=t(331);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(314);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(43),a=t(198),r=t(74),i=t(199),l=t(204),u=t(352),s=a("wks"),c=o.Symbol,d=u?c:c&&c.withoutSetter||i;e.exports=function(e){return r(s,e)||(l&&r(c,e)?s[e]=c[e]:s[e]=d("Symbol."+e)),s[e]}},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/reduce")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/set")},function(e,n,t){var o=t(29),a=t(334);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(335);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(308);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(322);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){"use strict";t.d(n,"b",(function(){return D})),t.d(n,"a",(function(){return k})),t.d(n,"c",(function(){return C}));var o=t(153),a=t.n(o),r=t(97),i=t.n(r),l=t(234),u=t.n(l),s=t(32),c=t.n(s),d=t(25),m=t.n(d),f=t(45),_=t.n(f),p=t(6),y=t.n(p),h=t(305),v=t(306),g=t(307),b={rectangle:"4x3",square:"1x1"},D=function(e,n){var t,o;return y()(t=y()(o="".concat("https://assets.onfido.com/flags/")).call(o,b[n],"/")).call(t,e.toLowerCase(),".svg")},k=function(e,n){if(e&&3===e.length){var t=C(n);return _()(t).call(t,(function(n){return n.country_alpha3===e}))}return null},C=function(e){switch(e){case"driving_licence":return S(h);case"national_identity_card":return S(v);case"residence_permit":return S(g);default:return console.error("Unsupported documentType:",e),[]}},S=function(e){var n,t=m()(e).call(e,(function(e){var n=e.sourceData;return{country_alpha2:n.country_alpha2,country_alpha3:n.country_alpha3,name:n.country}})),o=c()(u()(n=new i.a(m()(t).call(t,(function(e){return[e.country_alpha3,e]})))).call(n));return a()(o).call(o,(function(e,n){return e.name.localeCompare(n.name)}))}},function(e,n,t){"use strict";t.d(n,"a",(function(){return f})),t.d(n,"d",(function(){return _})),t.d(n,"b",(function(){return p})),t.d(n,"c",(function(){return y}));var o=t(32),a=t.n(o),r=t(6),i=t.n(r),l=t(52),u=t.n(l),s=t(222),c=t.n(s),d=t(16),m=t.n(d),f=function(e){return m()(e).call(e,(function(e){return e}))},_=function(e){return c()(e)?e:[e]},p=function(e){return u()(e).call(e,(function(e,n){var t,o;return(t=i()(e)).call.apply(t,i()(o=[e]).call(o,a()(_(n))))}),[])},y=function(e){return null!=e}},function(e,n,t){var o=t(29),a=t(303);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){var t=function(e){return e&&e.Math==Math&&e};e.exports=t("object"==typeof globalThis&&globalThis)||t("object"==typeof window&&window)||t("object"==typeof self&&self)||t("object"==typeof global&&global)||Function("return this")()},function(e,n,t){var o=t(29),a=t(310);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(324);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(338);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(389);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n,t){var o=t(82),a=t(105),r=t(118);e.exports=o?function(e,n,t){return a.f(e,n,r(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/asyncToGenerator")},function(e,n,t){var o=t(29),a=t(313);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},,function(e,n,t){var o=t(61),a=t(179),r=t(66),i=t(180),l=t(186),u=t(261),s=a("wks"),c=o.Symbol,d=u?c:c&&c.withoutSetter||i;e.exports=function(e){return r(s,e)||(l&&r(c,e)?s[e]=c[e]:s[e]=d("Symbol."+e)),s[e]}},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n,t){var o=t(83);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n){e.exports=require("redux")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/index-of")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/promise")},function(e,n,t){var o=t(29),a=t(296);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(333);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(387);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(103);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},function(e,n,t){var o=t(72);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,t){"use strict";var o=t(43),a=t(201).f,r=t(202),i=t(146),l=t(147),u=t(67),s=t(74),c=function(e){var n=function(n,t,o){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(n);case 2:return new e(n,t)}return new e(n,t,o)}return e.apply(this,arguments)};return n.prototype=e.prototype,n};e.exports=function(e,n){var t,d,m,f,_,p,y,h,v=e.target,g=e.global,b=e.stat,D=e.proto,k=g?o:b?o[v]:(o[v]||{}).prototype,C=g?i:i[v]||(i[v]={}),S=C.prototype;for(m in n)t=!r(g?m:v+(b?".":"#")+m,e.forced)&&k&&s(k,m),_=C[m],t&&(p=e.noTargetGet?(h=a(k,m))&&h.value:k[m]),f=t&&p?p:n[m],t&&typeof _==typeof f||(y=e.bind&&t?l(f,o):e.wrap&&t?c(f):D&&"function"==typeof f?l(Function.call,f):f,(e.sham||f&&f.sham||_&&_.sham)&&u(y,"sham",!0),C[m]=y,D&&(s(i,d=v+"Prototype")||u(i,d,{}),i[d][m]=f,e.real&&S&&!S[m]&&u(S,m,f)))}},function(e,n){e.exports=require("@babel/runtime-corejs3/helpers/typeof")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/slice")},function(e,n,t){var o=t(29),a=t(298);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(326);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(90);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n,t){var o=t(89),a=t(92),r=t(116);e.exports=o?function(e,n,t){return a.f(e,n,r(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n,t){var o=t(89),a=t(173),r=t(81),i=t(133),l=Object.defineProperty;n.f=o?l:function(e,n,t){if(r(e),n=i(n,!0),r(t),a)try{return l(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,n,t){var o=t(146),a=t(43),r=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,n){return arguments.length<2?r(o[e])||r(a[e]):o[e]&&o[e][n]||a[e]&&a[e][n]}},function(e,n){e.exports={}},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/trim")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/map")},function(e,n,t){var o=t(29),a=t(293);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(320);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(321);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(339);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(248),a=t(172);e.exports=function(e){return o(a(e))}},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n){e.exports={}},function(e,n,t){var o=t(82),a=t(196),r=t(73),i=t(197),l=Object.defineProperty;n.f=o?l:function(e,n,t){if(r(e),n=i(n,!0),r(t),a)try{return l(e,n,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported");return"value"in t&&(e[n]=t.value),e}},function(e,n){e.exports=!0},function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,n,t){"use strict";var o=t(93),a=function(e){var n,t;this.promise=new e((function(e,o){if(void 0!==n||void 0!==t)throw TypeError("Bad Promise constructor");n=e,t=o})),this.resolve=o(n),this.reject=o(t)};e.exports.f=function(e){return new a(e)}},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/bind")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/object/assign")},function(e,n,t){var o=t(29),a=t(327);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(380);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(323);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(386);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(391);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,t){var o,a,r,i=t(345),l=t(43),u=t(83),s=t(67),c=t(74),d=t(144),m=t(145),f=l.WeakMap;if(i){var _=new f,p=_.get,y=_.has,h=_.set;o=function(e,n){return h.call(_,e,n),n},a=function(e){return p.call(_,e)||{}},r=function(e){return y.call(_,e)}}else{var v=d("state");m[v]=!0,o=function(e,n){return s(e,v,n),n},a=function(e){return c(e,v)?e[v]:{}},r=function(e){return c(e,v)}}e.exports={set:o,get:a,has:r,enforce:function(e){return r(e)?a(e):o(e,{})},getterFor:function(e){return function(n){var t;if(!u(n)||(t=a(n)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return t}}}},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,t){var o=t(348),a=t(142);e.exports=function(e){return o(a(e))}},function(e,n,t){var o=t(67);e.exports=function(e,n,t,a){a&&a.enumerable?e[n]=t:o(e,n,t)}},function(e,n,t){var o=t(73),a=t(368),r=t(206),i=t(147),l=t(369),u=t(370),s=function(e,n){this.stopped=e,this.result=n};(e.exports=function(e,n,t,c,d){var m,f,_,p,y,h,v,g=i(n,t,c?2:1);if(d)m=e;else{if("function"!=typeof(f=l(e)))throw TypeError("Target is not iterable");if(a(f)){for(_=0,p=r(e.length);p>_;_++)if((y=c?g(o(v=e[_])[0],v[1]):g(e[_]))&&y instanceof s)return y;return new s(!1)}m=f.call(e)}for(h=m.next;!(v=h.call(m)).done;)if("object"==typeof(y=u(m,g,v.value,c))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(e){return new s(!0,e)}},function(e,n){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,n){e.exports=require("uuid")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/date/now")},function(e,n){e.exports=require("@babel/runtime-corejs3/core-js-stable/instance/every")},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o,a=t(284),r=(o=a)&&o.__esModule?o:{default:o};n.default=r.default,e.exports=n.default},function(e,n,t){var o=t(29),a=t(294);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(29),a=t(329);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n){e.exports=require("@sentry/browser")},function(e,n){e.exports=require("visibilityjs")},function(e,n,t){var o=t(29),a=t(337);"string"==typeof(a=a.__esModule?a.default:a)&&(a=[[e.i,a,""]]);var r={insert:"head",singleton:!1},i=(o(a,r),a.locals?a.locals:{});e.exports=i},function(e,n,t){var o=t(61),a=t(169).f,r=t(91),i=t(175),l=t(134),u=t(250),s=t(256);e.exports=function(e,n){var t,c,d,m,f,_=e.target,p=e.global,y=e.stat;if(t=p?o:y?o[_]||l(_,{}):(o[_]||{}).prototype)for(c in n){if(m=n[c],d=e.noTargetGet?(f=a(t,c))&&f.value:t[c],!s(p?c:_+(y?".":"#")+c,e.forced)&&void 0!==d){if(typeof m==typeof d)continue;u(m,d)}(e.sham||d&&d.sham)&&r(m,"sham",!0),i(t,c,m,e)}}},function(e,n,t){var o=t(103);e.exports=function(e,n){if(!o(e))return e;var t,a;if(n&&"function"==typeof(t=e.toString)&&!o(a=t.call(e)))return a;if("function"==typeof(t=e.valueOf)&&!o(a=t.call(e)))return a;if(!n&&"function"==typeof(t=e.toString)&&!o(a=t.call(e)))return a;throw TypeError("Can't convert object to primitive value")}},function(e,n,t){var o=t(61),a=t(91);e.exports=function(e,n){try{a(o,e,n)}catch(t){o[e]=n}return n}},function(e,n,t){var o=t(179),a=t(180),r=o("keys");e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,n){e.exports=!1},function(e,n){e.exports={}},function(e,n,t){var o=t(61);e.exports=o},function(e,n){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.canUseDOM=void 0;var o,a=t(289);var r=((o=a)&&o.__esModule?o:{default:o}).default,i=r.canUseDOM?window.HTMLElement:{};n.canUseDOM=r.canUseDOM;n.default=i},function(e,n){var t=Math.ceil,o=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?o:t)(e)}},function(e,n){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,n,t){var o=t(43),a=t(83),r=o.document,i=a(r)&&a(r.createElement);e.exports=function(e){return i?r.createElement(e):{}}},function(e,n,t){var o=t(198),a=t(199),r=o("keys");e.exports=function(e){return r[e]||(r[e]=a(e))}},function(e,n){e.exports={}},function(e,n){e.exports={}},function(e,n,t){var o=t(93);e.exports=function(e,n,t){if(o(e),void 0===n)return e;switch(t){case 0:return function(){return e.call(n)};case 1:return function(t){return e.call(n,t)};case 2:return function(t,o){return e.call(n,t,o)};case 3:return function(t,o,a){return e.call(n,t,o,a)}}return function(){return e.apply(n,arguments)}}},function(e,n,t){var o=t(74),a=t(350),r=t(144),i=t(351),l=r("IE_PROTO"),u=Object.prototype;e.exports=i?Object.getPrototypeOf:function(e){return e=a(e),o(e,l)?e[l]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?u:null}},function(e,n,t){var o=t(150),a=t(105).f,r=t(67),i=t(74),l=t(358),u=t(51)("toStringTag");e.exports=function(e,n,t,s){if(e){var c=t?e:e.prototype;i(c,u)||a(c,u,{configurable:!0,value:n}),s&&!o&&r(c,"toString",l)}}},function(e,n,t){var o={};o[t(51)("toStringTag")]="z",e.exports="[object z]"===String(o)},function(e,n,t){var o=t(150),a=t(107),r=t(51)("toStringTag"),i="Arguments"==a(function(){return arguments}());e.exports=o?a:function(e){var n,t,o;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(t=function(e,n){try{return e[n]}catch(e){}}(n=Object(e),r))?t:i?a(n):"Object"==(o=a(n))&&"function"==typeof n.callee?"Arguments":o}},function(e){e.exports=JSON.parse('{"ext":"ext.","country":"Phone number country","phone":"Phone","AB":"Abkhazia","AC":"Ascension Island","AD":"Andorra","AE":"United Arab Emirates","AF":"Afghanistan","AG":"Antigua and Barbuda","AI":"Anguilla","AL":"Albania","AM":"Armenia","AO":"Angola","AQ":"Antarctica","AR":"Argentina","AS":"American Samoa","AT":"Austria","AU":"Australia","AW":"Aruba","AX":"Åland Islands","AZ":"Azerbaijan","BA":"Bosnia and Herzegovina","BB":"Barbados","BD":"Bangladesh","BE":"Belgium","BF":"Burkina Faso","BG":"Bulgaria","BH":"Bahrain","BI":"Burundi","BJ":"Benin","BL":"Saint Barthélemy","BM":"Bermuda","BN":"Brunei Darussalam","BO":"Bolivia","BQ":"Bonaire, Sint Eustatius and Saba","BR":"Brazil","BS":"Bahamas","BT":"Bhutan","BV":"Bouvet Island","BW":"Botswana","BY":"Belarus","BZ":"Belize","CA":"Canada","CC":"Cocos (Keeling) Islands","CD":"Congo, Democratic Republic of the","CF":"Central African Republic","CG":"Congo","CH":"Switzerland","CI":"Cote d\'Ivoire","CK":"Cook Islands","CL":"Chile","CM":"Cameroon","CN":"China","CO":"Colombia","CR":"Costa Rica","CU":"Cuba","CV":"Cape Verde","CW":"Curaçao","CX":"Christmas Island","CY":"Cyprus","CZ":"Czech Republic","DE":"Germany","DJ":"Djibouti","DK":"Denmark","DM":"Dominica","DO":"Dominican Republic","DZ":"Algeria","EC":"Ecuador","EE":"Estonia","EG":"Egypt","EH":"Western Sahara","ER":"Eritrea","ES":"Spain","ET":"Ethiopia","FI":"Finland","FJ":"Fiji","FK":"Falkland Islands","FM":"Federated States of Micronesia","FO":"Faroe Islands","FR":"France","GA":"Gabon","GB":"United Kingdom","GD":"Grenada","GE":"Georgia","GF":"French Guiana","GG":"Guernsey","GH":"Ghana","GI":"Gibraltar","GL":"Greenland","GM":"Gambia","GN":"Guinea","GP":"Guadeloupe","GQ":"Equatorial Guinea","GR":"Greece","GS":"South Georgia and the South Sandwich Islands","GT":"Guatemala","GU":"Guam","GW":"Guinea-Bissau","GY":"Guyana","HK":"Hong Kong","HM":"Heard Island and McDonald Islands","HN":"Honduras","HR":"Croatia","HT":"Haiti","HU":"Hungary","ID":"Indonesia","IE":"Ireland","IL":"Israel","IM":"Isle of Man","IN":"India","IO":"British Indian Ocean Territory","IQ":"Iraq","IR":"Iran","IS":"Iceland","IT":"Italy","JE":"Jersey","JM":"Jamaica","JO":"Jordan","JP":"Japan","KE":"Kenya","KG":"Kyrgyzstan","KH":"Cambodia","KI":"Kiribati","KM":"Comoros","KN":"Saint Kitts and Nevis","KP":"North Korea","KR":"South Korea","KW":"Kuwait","KY":"Cayman Islands","KZ":"Kazakhstan","LA":"Laos","LB":"Lebanon","LC":"Saint Lucia","LI":"Liechtenstein","LK":"Sri Lanka","LR":"Liberia","LS":"Lesotho","LT":"Lithuania","LU":"Luxembourg","LV":"Latvia","LY":"Libya","MA":"Morocco","MC":"Monaco","MD":"Moldova","ME":"Montenegro","MF":"Saint Martin (French Part)","MG":"Madagascar","MH":"Marshall Islands","MK":"North Macedonia","ML":"Mali","MM":"Burma","MN":"Mongolia","MO":"Macao","MP":"Northern Mariana Islands","MQ":"Martinique","MR":"Mauritania","MS":"Montserrat","MT":"Malta","MU":"Mauritius","MV":"Maldives","MW":"Malawi","MX":"Mexico","MY":"Malaysia","MZ":"Mozambique","NA":"Namibia","NC":"New Caledonia","NE":"Niger","NF":"Norfolk Island","NG":"Nigeria","NI":"Nicaragua","NL":"Netherlands","NO":"Norway","NP":"Nepal","NR":"Nauru","NU":"Niue","NZ":"New Zealand","OM":"Oman","OS":"South Ossetia","PA":"Panama","PE":"Peru","PF":"French Polynesia","PG":"Papua New Guinea","PH":"Philippines","PK":"Pakistan","PL":"Poland","PM":"Saint Pierre and Miquelon","PN":"Pitcairn","PR":"Puerto Rico","PS":"Palestine","PT":"Portugal","PW":"Palau","PY":"Paraguay","QA":"Qatar","RE":"Reunion","RO":"Romania","RS":"Serbia","RU":"Russia","RW":"Rwanda","SA":"Saudi Arabia","SB":"Solomon Islands","SC":"Seychelles","SD":"Sudan","SE":"Sweden","SG":"Singapore","SH":"Saint Helena","SI":"Slovenia","SJ":"Svalbard and Jan Mayen","SK":"Slovakia","SL":"Sierra Leone","SM":"San Marino","SN":"Senegal","SO":"Somalia","SR":"Suriname","SS":"South Sudan","ST":"Sao Tome and Principe","SV":"El Salvador","SX":"Si