onfido-sdk-ui
Version:
JavaScript SDK view layer for Onfido identity verification
3 lines • 1.16 MB
JavaScript
/*! License information can be found in onfidoAuth.LICENSES.txt */
/* OnfidoAuth SDK 6.10.0 */
!function(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.OnfidoAuth=n():e.OnfidoAuth=n()}(window,(function(){return function(e){function n(n){for(var t,o,a=n[0],i=n[1],u=0,c=[];u<a.length;u++)o=a[u],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&c.push(r[o][0]),r[o]=0;for(t in i)Object.prototype.hasOwnProperty.call(i,t)&&(e[t]=i[t]);for(s&&s(n);c.length;)c.shift()()}var t={},o={3:0},r={3:0};function a(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,a),o.l=!0,o.exports}a.e=function(e){var n=[];o[e]?n.push(o[e]):0!==o[e]&&{5:1,6:1}[e]&&n.push(o[e]=new Promise((function(n,t){for(var r="onfidoAuth."+({0:"authVendor",1:"crossDevice",5:"vendors~crossDevice"}[e]||e)+".css",i=a.p+r,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var s=(d=u[c]).getAttribute("data-href")||d.getAttribute("href");if("stylesheet"===d.rel&&(s===r||s===i))return n()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var d;if((s=(d=l[c]).getAttribute("data-href"))===r||s===i)return n()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=n,p.onerror=function(n){var r=n&&n.target&&n.target.src||i,a=new Error("Loading CSS chunk "+e+" failed.\n("+r+")");a.request=r,delete o[e],p.parentNode.removeChild(p),t(a)},p.href=i,document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){o[e]=0})));var t=r[e];if(0!==t)if(t)n.push(t[2]);else{var i=new Promise((function(n,o){t=r[e]=[n,o]}));n.push(t[2]=i);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,a.nc&&c.setAttribute("nonce",a.nc),c.src=function(e){return a.p+"onfidoAuth."+({0:"authVendor",1:"crossDevice",5:"vendors~crossDevice"}[e]||e)+".min.js"}(e);var s=new Error;u=function(n){c.onerror=c.onload=null,clearTimeout(l);var t=r[e];if(0!==t){if(t){var o=n&&("load"===n.type?"missing":n.type),a=n&&n.target&&n.target.src;s.message="Loading chunk "+e+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,t[1](s)}r[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(n)},a.m=e,a.c=t,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)a.d(t,o,function(n){return e[n]}.bind(null,o));return t},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="https://assets.onfido.com/web-sdk-releases/6.10.0/",a.oe=function(e){throw console.error(e),e};var i=window.webpackJsonpOnfidoAuth=window.webpackJsonpOnfidoAuth||[],u=i.push.bind(i);i.push=n,i=i.slice();for(var c=0;c<i.length;c++)n(i[c]);var s=u;return a(a.s=635)}([function(e,n,t){"use strict";t.r(n),t.d(n,"render",(function(){return T})),t.d(n,"hydrate",(function(){return M})),t.d(n,"createElement",(function(){return m})),t.d(n,"h",(function(){return m})),t.d(n,"Fragment",(function(){return h})),t.d(n,"createRef",(function(){return y})),t.d(n,"isValidElement",(function(){return r})),t.d(n,"Component",(function(){return v})),t.d(n,"cloneElement",(function(){return j})),t.d(n,"createContext",(function(){return B})),t.d(n,"toChildArray",(function(){return C})),t.d(n,"options",(function(){return o}));var o,r,a,i,u,c,s={},l=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function p(e,n){for(var t in n)e[t]=n[t];return e}function _(e){var n=e.parentNode;n&&n.removeChild(e)}function m(e,n,t){var o,r,a,i=arguments,u={};for(a in n)"key"==a?o=n[a]:"ref"==a?r=n[a]:u[a]=n[a];if(arguments.length>3)for(t=[t],a=3;a<arguments.length;a++)t.push(i[a]);if(null!=t&&(u.children=t),"function"==typeof e&&null!=e.defaultProps)for(a in e.defaultProps)void 0===u[a]&&(u[a]=e.defaultProps[a]);return f(e,u,o,r,null)}function f(e,n,t,r,a){var i={type:e,props:n,key:t,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++o.__v:a};return null!=o.vnode&&o.vnode(i),i}function y(){return{current:null}}function h(e){return e.children}function v(e,n){this.props=e,this.context=n}function b(e,n){if(null==n)return e.__?b(e.__,e.__.__k.indexOf(e)+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?b(e):null}function g(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return g(e)}}function D(e){(!e.__d&&(e.__d=!0)&&a.push(e)&&!S.__r++||u!==o.debounceRendering)&&((u=o.debounceRendering)||i)(S)}function S(){for(var e;S.__r=a.length;)e=a.sort((function(e,n){return e.__v.__b-n.__v.__b})),a=[],e.some((function(e){var n,t,o,r,a,i;e.__d&&(a=(r=(n=e).__v).__e,(i=n.__P)&&(t=[],(o=p({},r)).__v=r.__v+1,L(i,r,o,n.__n,void 0!==i.ownerSVGElement,null!=r.__h?[a]:null,t,null==a?b(r):a,r.__h),x(t,r),r.__e!=a&&g(r)))}))}function k(e,n,t,o,r,a,i,u,c,d){var p,_,m,y,v,g,D,S=o&&o.__k||l,k=S.length;for(t.__k=[],p=0;p<n.length;p++)if(null!=(y=t.__k[p]=null==(y=n[p])||"boolean"==typeof y?null:"string"==typeof y||"number"==typeof y||"bigint"==typeof y?f(null,y,null,null,y):Array.isArray(y)?f(h,{children:y},null,null,null):y.__b>0?f(y.type,y.props,y.key,null,y.__v):y)){if(y.__=t,y.__b=t.__b+1,null===(m=S[p])||m&&y.key==m.key&&y.type===m.type)S[p]=void 0;else for(_=0;_<k;_++){if((m=S[_])&&y.key==m.key&&y.type===m.type){S[_]=void 0;break}m=null}L(e,y,m=m||s,r,a,i,u,c,d),v=y.__e,(_=y.ref)&&m.ref!=_&&(D||(D=[]),m.ref&&D.push(m.ref,null,y),D.push(_,y.__c||v,y)),null!=v?(null==g&&(g=v),"function"==typeof y.type&&null!=y.__k&&y.__k===m.__k?y.__d=c=A(y,c,e):c=w(e,y,m,S,v,c),d||"option"!==t.type?"function"==typeof t.type&&(t.__d=c):e.value=""):c&&m.__e==c&&c.parentNode!=e&&(c=b(m))}for(t.__e=g,p=k;p--;)null!=S[p]&&("function"==typeof t.type&&null!=S[p].__e&&S[p].__e==t.__d&&(t.__d=b(o,p+1)),R(S[p],S[p]));if(D)for(p=0;p<D.length;p++)q(D[p],D[++p],D[++p])}function A(e,n,t){var o,r;for(o=0;o<e.__k.length;o++)(r=e.__k[o])&&(r.__=e,n="function"==typeof r.type?A(r,n,t):w(t,r,r,e.__k,r.__e,n));return n}function C(e,n){return n=n||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){C(e,n)})):n.push(e)),n}function w(e,n,t,o,r,a){var i,u,c;if(void 0!==n.__d)i=n.__d,n.__d=void 0;else if(null==t||r!=a||null==r.parentNode)e:if(null==a||a.parentNode!==e)e.appendChild(r),i=null;else{for(u=a,c=0;(u=u.nextSibling)&&c<o.length;c+=2)if(u==r)break e;e.insertBefore(r,a),i=a}return void 0!==i?i:r.nextSibling}function U(e,n,t){"-"===n[0]?e.setProperty(n,t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function O(e,n,t,o,r){var a;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof o&&(e.style.cssText=o=""),o)for(n in o)t&&n in t||U(e.style,n,"");if(t)for(n in t)o&&t[n]===o[n]||U(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])a=n!==(n=n.replace(/Capture$/,"")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+a]=t,t?o||e.addEventListener(n,a?I:E,a):e.removeEventListener(n,a?I:E,a);else if("dangerouslySetInnerHTML"!==n){if(r)n=n.replace(/xlink[H:h]/,"h").replace(/sName$/,"s");else if("href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null!=t&&(!1!==t||"a"===n[0]&&"r"===n[1])?e.setAttribute(n,t):e.removeAttribute(n))}}function E(e){this.l[e.type+!1](o.event?o.event(e):e)}function I(e){this.l[e.type+!0](o.event?o.event(e):e)}function L(e,n,t,r,a,i,u,c,s){var l,d,_,m,f,y,b,g,D,S,A,C=n.type;if(void 0!==n.constructor)return null;null!=t.__h&&(s=t.__h,c=n.__e=t.__e,n.__h=null,i=[c]),(l=o.__b)&&l(n);try{e:if("function"==typeof C){if(g=n.props,D=(l=C.contextType)&&r[l.__c],S=l?D?D.props.value:l.__:r,t.__c?b=(d=n.__c=t.__c).__=d.__E:("prototype"in C&&C.prototype.render?n.__c=d=new C(g,S):(n.__c=d=new v(g,S),d.constructor=C,d.render=P),D&&D.sub(d),d.props=g,d.state||(d.state={}),d.context=S,d.__n=r,_=d.__d=!0,d.__h=[]),null==d.__s&&(d.__s=d.state),null!=C.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=p({},d.__s)),p(d.__s,C.getDerivedStateFromProps(g,d.__s))),m=d.props,f=d.state,_)null==C.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(null==C.getDerivedStateFromProps&&g!==m&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(g,S),!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(g,d.__s,S)||n.__v===t.__v){d.props=g,d.state=d.__s,n.__v!==t.__v&&(d.__d=!1),d.__v=n,n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),d.__h.length&&u.push(d);break e}null!=d.componentWillUpdate&&d.componentWillUpdate(g,d.__s,S),null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(m,f,y)}))}d.context=S,d.props=g,d.state=d.__s,(l=o.__r)&&l(n),d.__d=!1,d.__v=n,d.__P=e,l=d.render(d.props,d.state,d.context),d.state=d.__s,null!=d.getChildContext&&(r=p(p({},r),d.getChildContext())),_||null==d.getSnapshotBeforeUpdate||(y=d.getSnapshotBeforeUpdate(m,f)),A=null!=l&&l.type===h&&null==l.key?l.props.children:l,k(e,Array.isArray(A)?A:[A],n,t,r,a,i,u,c,s),d.base=n.__e,n.__h=null,d.__h.length&&u.push(d),b&&(d.__E=d.__=null),d.__e=!1}else null==i&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=N(t.__e,n,t,r,a,i,u,s);(l=o.diffed)&&l(n)}catch(e){n.__v=null,(s||null!=i)&&(n.__e=c,n.__h=!!s,i[i.indexOf(c)]=null),o.__e(e,n,t)}}function x(e,n){o.__c&&o.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){o.__e(e,n.__v)}}))}function N(e,n,t,o,r,a,i,u){var c,d,p,m,f=t.props,y=n.props,h=n.type,v=0;if("svg"===h&&(r=!0),null!=a)for(;v<a.length;v++)if((c=a[v])&&(c===e||(h?c.localName==h:3==c.nodeType))){e=c,a[v]=null;break}if(null==e){if(null===h)return document.createTextNode(y);e=r?document.createElementNS("http://www.w3.org/2000/svg",h):document.createElement(h,y.is&&y),a=null,u=!1}if(null===h)f===y||u&&e.data===y||(e.data=y);else{if(a=a&&l.slice.call(e.childNodes),d=(f=t.props||s).dangerouslySetInnerHTML,p=y.dangerouslySetInnerHTML,!u){if(null!=a)for(f={},m=0;m<e.attributes.length;m++)f[e.attributes[m].name]=e.attributes[m].value;(p||d)&&(p&&(d&&p.__html==d.__html||p.__html===e.innerHTML)||(e.innerHTML=p&&p.__html||""))}if(function(e,n,t,o,r){var a;for(a in t)"children"===a||"key"===a||a in n||O(e,a,null,t[a],o);for(a in n)r&&"function"!=typeof n[a]||"children"===a||"key"===a||"value"===a||"checked"===a||t[a]===n[a]||O(e,a,n[a],t[a],o)}(e,y,f,r,u),p)n.__k=[];else if(v=n.props.children,k(e,Array.isArray(v)?v:[v],n,t,o,r&&"foreignObject"!==h,a,i,e.firstChild,u),null!=a)for(v=a.length;v--;)null!=a[v]&&_(a[v]);u||("value"in y&&void 0!==(v=y.value)&&(v!==e.value||"progress"===h&&!v)&&O(e,"value",v,f.value,!1),"checked"in y&&void 0!==(v=y.checked)&&v!==e.checked&&O(e,"checked",v,f.checked,!1))}return e}function q(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){o.__e(e,t)}}function R(e,n,t){var r,a,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||q(r,null,n)),t||"function"==typeof e.type||(t=null!=(a=e.__e)),e.__e=e.__d=void 0,null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,n)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&R(r[i],n,t);null!=a&&_(a)}function P(e,n,t){return this.constructor(e,t)}function T(e,n,t){var r,a,i;o.__&&o.__(e,n),a=(r="function"==typeof t)?null:t&&t.__k||n.__k,i=[],L(n,e=(!r&&t||n).__k=m(h,null,[e]),a||s,s,void 0!==n.ownerSVGElement,!r&&t?[t]:a?null:n.firstChild?l.slice.call(n.childNodes):null,i,!r&&t?t:a?a.__e:n.firstChild,r),x(i,e)}function M(e,n){T(e,n,M)}function j(e,n,t){var o,r,a,i=arguments,u=p({},e.props);for(a in n)"key"==a?o=n[a]:"ref"==a?r=n[a]:u[a]=n[a];if(arguments.length>3)for(t=[t],a=3;a<arguments.length;a++)t.push(i[a]);return null!=t&&(u.children=t),f(e.type,u,o||e.key,r||e.ref,null)}function B(e,n){var t={__c:n="__cC"+c++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,o;return this.getChildContext||(t=[],(o={})[n]=this,this.getChildContext=function(){return o},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some(D)},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}o={__e:function(e,n){for(var t,o,r;n=n.__;)if((t=n.__c)&&!t.__)try{if((o=t.constructor)&&null!=o.getDerivedStateFromError&&(t.setState(o.getDerivedStateFromError(e)),r=t.__d),null!=t.componentDidCatch&&(t.componentDidCatch(e),r=t.__d),r)return t.__E=t}catch(n){e=n}throw e},__v:0},r=function(e){return null!=e&&void 0===e.constructor},v.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=p({},this.state),"function"==typeof e&&(e=e(p({},t),this.props)),e&&p(t,e),null!=e&&this.__v&&(n&&this.__h.push(n),D(this))},v.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),D(this))},v.prototype.render=h,a=[],i="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,S.__r=0,c=0},function(e,n,t){var o=t(181);e.exports=function(e,n,t){return n in e?o(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},function(e,n){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},function(e,n,t){e.exports=t(492)},function(e,n,t){e.exports={modal_animation_duration:"200ms",content:"onfido-sdk-ui-Theme-content",header:"onfido-sdk-ui-Theme-header",step:"onfido-sdk-ui-Theme-step",fullScreenStep:"onfido-sdk-ui-Theme-fullScreenStep",fullHeightContainer:"onfido-sdk-ui-Theme-fullHeightContainer",fullHeightMobileContainer:"onfido-sdk-ui-Theme-fullHeightMobileContainer",navigationBar:"onfido-sdk-ui-Theme-navigationBar",scrollableContent:"onfido-sdk-ui-Theme-scrollableContent",fullScreenContentWrapper:"onfido-sdk-ui-Theme-fullScreenContentWrapper",actionsContainer:"onfido-sdk-ui-Theme-actionsContainer",footer:"onfido-sdk-ui-Theme-footer",logo:"onfido-sdk-ui-Theme-logo",cobrandFooter:"onfido-sdk-ui-Theme-cobrandFooter",logoCobrandImage:"onfido-sdk-ui-Theme-logoCobrandImage",cobrandLabel:"onfido-sdk-ui-Theme-cobrandLabel",cobrandText:"onfido-sdk-ui-Theme-cobrandText",poweredBy:"onfido-sdk-ui-Theme-poweredBy",onfidoCobrandLogo:"onfido-sdk-ui-Theme-onfidoCobrandLogo",defaultLogo:"onfido-sdk-ui-Theme-defaultLogo",noLogo:"onfido-sdk-ui-Theme-noLogo",center:"onfido-sdk-ui-Theme-center",alignTextLeft:"onfido-sdk-ui-Theme-alignTextLeft",icon:"onfido-sdk-ui-Theme-icon",help:"onfido-sdk-ui-Theme-help",helpList:"onfido-sdk-ui-Theme-helpList",link:"onfido-sdk-ui-Theme-link",textButton:"onfido-sdk-ui-Theme-textButton",warningFallbackButton:"onfido-sdk-ui-Theme-warningFallbackButton",errorFallbackButton:"onfido-sdk-ui-Theme-errorFallbackButton",error:"onfido-sdk-ui-Theme-error","button-centered":"onfido-sdk-ui-Theme-button-centered","button-lg":"onfido-sdk-ui-Theme-button-lg","button-sm":"onfido-sdk-ui-Theme-button-sm",vertical:"onfido-sdk-ui-Theme-vertical",portal:"onfido-sdk-ui-Theme-portal",modalBody:"onfido-sdk-ui-Theme-modalBody",modalOverlay:"onfido-sdk-ui-Theme-modalOverlay","modalOverlay--after-open":"onfido-sdk-ui-Theme-modalOverlay--after-open","modalOverlay--before-close":"onfido-sdk-ui-Theme-modalOverlay--before-close",modalInner:"onfido-sdk-ui-Theme-modalInner"}},function(e,n,t){"use strict";t.r(n),t.d(n,"version",(function(){return V})),t.d(n,"Children",(function(){return _})),t.d(n,"render",(function(){return U})),t.d(n,"hydrate",(function(){return O})),t.d(n,"unmountComponentAtNode",(function(){return Y})),t.d(n,"createPortal",(function(){return k})),t.d(n,"createFactory",(function(){return W})),t.d(n,"cloneElement",(function(){return X})),t.d(n,"isValidElement",(function(){return K})),t.d(n,"findDOMNode",(function(){return Q})),t.d(n,"PureComponent",(function(){return u})),t.d(n,"memo",(function(){return c})),t.d(n,"forwardRef",(function(){return d})),t.d(n,"unstable_batchedUpdates",(function(){return Z})),t.d(n,"StrictMode",(function(){return J})),t.d(n,"Suspense",(function(){return y})),t.d(n,"SuspenseList",(function(){return b})),t.d(n,"lazy",(function(){return v})),t.d(n,"__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED",(function(){return T})),t.d(n,"unstable_ImmediatePriority",(function(){return M})),t.d(n,"unstable_UserBlockingPriority",(function(){return j})),t.d(n,"unstable_NormalPriority",(function(){return B})),t.d(n,"unstable_LowPriority",(function(){return F})),t.d(n,"unstable_IdlePriority",(function(){return G})),t.d(n,"unstable_runWithPriority",(function(){return z})),t.d(n,"unstable_now",(function(){return H}));var o=t(33);t.d(n,"useState",(function(){return o.k})),t.d(n,"useReducer",(function(){return o.i})),t.d(n,"useEffect",(function(){return o.d})),t.d(n,"useLayoutEffect",(function(){return o.g})),t.d(n,"useRef",(function(){return o.j})),t.d(n,"useImperativeHandle",(function(){return o.f})),t.d(n,"useMemo",(function(){return o.h})),t.d(n,"useCallback",(function(){return o.a})),t.d(n,"useContext",(function(){return o.b})),t.d(n,"useDebugValue",(function(){return o.c})),t.d(n,"useErrorBoundary",(function(){return o.e}));var r=t(0);function a(e,n){for(var t in n)e[t]=n[t];return e}function i(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 c(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:i(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 i(this.props,e)||i(this.state,n)};var s=r.options.__b;r.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),s&&s(e)};var l="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function d(e){function n(n,t){var o=a({},n);return delete o.ref,e(o,(t=n.ref||t)&&("object"!=typeof t||"current"in t)?t:null)}return n.$$typeof=l,n.render=n,n.prototype.isReactComponent=n.__f=!0,n.displayName="ForwardRef("+(e.displayName||e.name)+")",n}var p=function(e,n){return null==e?null:Object(r.toChildArray)(Object(r.toChildArray)(e).map(n))},_={map:p,forEach:p,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},m=r.options.__e;r.options.__e=function(e,n,t){if(e.then)for(var o,r=n;r=r.__;)if((o=r.__c)&&o.__c)return null==n.__e&&(n.__e=t.__e,n.__k=t.__k),o.__c(e,n);m(e,n,t)};var f=r.options.unmount;function y(){this.__u=0,this.t=null,this.__b=null}function h(e){var n=e.__.__c;return n&&n.__e&&n.__e(e)}function v(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),f&&f(e)},(y.prototype=new r.Component).__c=function(e,n){var t=n.__c,o=this;null==o.t&&(o.t=[]),o.t.push(t);var r=h(o.__v),a=!1,i=function(){a||(a=!0,t.__R=null,r?r(u):u())};t.__R=i;var u=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()}},c=!0===n.__h;o.__u++||c||o.setState({__e:o.__b=o.__v.__k[0]}),e.then(i,i)},y.prototype.componentWillUnmount=function(){this.t=[]},y.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=a({},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 i=n.__e&&Object(r.createElement)(r.Fragment,null,e.fallback);return i&&(i.__h=null),[Object(r.createElement)(r.Fragment,null,n.__e?null:e.children),i]};var g=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 D(e){return this.getChildContext=function(){return e.context},e.children}function S(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)(D,{context:n.context},e.__v),n.l)):n.l&&n.componentWillUnmount()}function k(e,n){return Object(r.createElement)(S,{__v:e,i:n})}(b.prototype=new r.Component).__e=function(e){var n=this,t=h(n.__v),o=n.o.get(e);return o[0]++,function(r){var a=function(){n.props.revealOrder?(o.push(r),g(n,e,o)):r()};t?t(a):a()}},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){g(e,t,n)}))};var A="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,C=/^(?: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]/,w=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};function U(e,n,t){return null==n.__k&&(n.textContent=""),Object(r.render)(e,n),"function"==typeof t&&t(),e?e.__c:null}function O(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 E=r.options.event;function I(){}function L(){return this.cancelBubble}function x(){return this.defaultPrevented}r.options.event=function(e){return E&&(e=E(e)),e.persist=I,e.isPropagationStopped=L,e.isDefaultPrevented=x,e.nativeEvent=e};var N,q={configurable:!0,get:function(){return this.class}},R=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)&&!w(t.type)?a="oninput":/^on(Ani|Tra|Tou|BeforeInp)/.test(a)?a=a.toLowerCase():C.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&&(q.enumerable="className"in t,null!=t.className&&(o.class=t.className),Object.defineProperty(o,"className",q)),e.$$typeof=A,R&&R(e)};var P=r.options.__r;r.options.__r=function(e){P&&P(e),N=e.__c};var T={ReactCurrentDispatcher:{current:{readContext:function(e){return N.__n[e.__c].props.value}}}},M=1,j=2,B=3,F=4,G=5;function z(e,n){return n()}var H="object"==typeof performance&&"function"==typeof performance.now?performance.now.bind(performance):function(){return Date.now()},V="16.8.0";function W(e){return r.createElement.bind(null,e)}function K(e){return!!e&&e.$$typeof===A}function X(e){return K(e)?r.cloneElement.apply(null,arguments):e}function Y(e){return!!e.__k&&(Object(r.render)(null,e),!0)}function Q(e){return e&&(e.base||1===e.nodeType&&e)||null}var Z=function(e,n){return e(n)},J=r.Fragment;n.default={useState:o.k,useReducer:o.i,useEffect:o.d,useLayoutEffect:o.g,useRef:o.j,useImperativeHandle:o.f,useMemo:o.h,useCallback:o.a,useContext:o.b,useDebugValue:o.c,version:"16.8.0",Children:_,render:U,hydrate:O,unmountComponentAtNode:Y,createPortal:k,createElement:r.createElement,createContext:r.createContext,createFactory:W,cloneElement:X,createRef:r.createRef,Fragment:r.Fragment,isValidElement:K,findDOMNode:Q,Component:r.Component,PureComponent:u,memo:c,forwardRef:d,unstable_batchedUpdates:Z,StrictMode:r.Fragment,Suspense:y,SuspenseList:b,lazy:v,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:T}},function(e,n,t){var o;!function(){"use strict";var t={}.hasOwnProperty;function r(){for(var e=[],n=0;n<arguments.length;n++){var o=arguments[n];if(o){var a=typeof o;if("string"===a||"number"===a)e.push(o);else if(Array.isArray(o)&&o.length){var i=r.apply(null,o);i&&e.push(i)}else if("object"===a)for(var u in o)t.call(o,u)&&o[u]&&e.push(u)}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(o=function(){return r}.apply(n,[]))||(e.exports=o)}()},function(e,n,t){e.exports=t(298)},function(e,n,t){var o=t(529),r=t(382);function a(n){return e.exports=a=r?o:function(e){return e.__proto__||o(e)},a(n)}e.exports=a},function(e,n,t){e.exports=t(211)},function(e,n,t){"use strict";t.d(n,"a",(function(){return Z})),t.d(n,"c",(function(){return J})),t.d(n,"b",(function(){return $}));var o=t(22),r=t.n(o),a=t(269),i=t.n(a),u=t(0),c=t(5),s=t(21),l=t(23),d=t.n(l),p=t(24),_=t.n(p),m=t(11),f=t.n(m),y=t(9),h=t.n(y),v=t(12),b=t.n(v),g=t(13),D=t.n(g),S=t(16),k=t.n(S),A=t(61),C=t.n(A),w=t(17),U=t.n(w),O=t(157),E=t.n(O),I=t(1),L=t.n(I),x=t(345),N=t.n(x),q=t(346),R=t(347),P=t(348),T=t(349),M=t(350),j=t(351),B=t(50);function F(e,n){var t=k()(e);if(D.a){var o=D()(e);n&&(o=U()(o).call(o,(function(n){return b()(e,n).enumerable}))),t.push.apply(t,o)}return t}function G(e){for(var n=1;n<arguments.length;n++){var t,o=null!=arguments[n]?arguments[n]:{};if(n%2)h()(t=F(Object(o),!0)).call(t,(function(n){L()(e,n,o[n])}));else if(f.a)_()(e,f()(o));else{var r;h()(r=F(Object(o))).call(r,(function(n){d()(e,n,b()(o,n))}))}}return e}var z=G(G({},{en:q,es:R,de:P,fr:T,it:M,pt:j}),{},{en_US:q,es_ES:R,de_DE:P,fr_FR:T,it_IT:M,pt_PT:j}),H=function(){var e={};for(var n in z)({}).hasOwnProperty.call(z,n)&&(e[n]=z[n].mobilePhrases);return e}(),V=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,r=k()(n.phrases),a=G(G({},t.mobilePhrases),o);!function(e,n,t){var o,r=new E.a(n),a=U()(e).call(e,(function(e){return!r.has(e)})),i=C()(o=k()(z)).call(o,(function(e){return e===t}));a.length&&!i&&console.warn("Missing keys:",a)}(r,function(e){return k()(new N.a({phrases:e}).phrases)}(G(G({},t),{},{mobilePhrases:a})),null==e?void 0:e.locale)},K=function(e,n){if(z[e])return V(e,n,z[e],H[e]);console.warn("Locale not supported")},X=function(e,n){return"string"==typeof e?K(e,n):function(e,n){var t=e.locale,o=e.phrases,r=e.mobilePhrases;W(e,n);var a=K(t,n)||n;return V(t,a,o,r)}(e,n)},Y=Object(B.c)((function(e){var n=function(){var e=new N.a({onMissingKey:function(){return null}});return V("en_US",e,z.en_US,H.en_US)}();return e&&X(e,n)||n})),Q=Object(u.createContext)(void 0),Z=function(e){var n,t=e.language,o=e.children,r=Y(t),a=i()(n=r.t).call(n,r);return Object(u.h)(Q.Provider,{value:{language:r.currentLocale,translate:a,parseTranslatedTags:function(e,n){return Object(s.n)(a(e),n)}}},o)},J=function(){var e=Object(c.useContext)(Q);if(!e)throw new Error("LocaleContext hasn't been initialized!");return e},$=function(e){return function(n){return Object(u.h)(Q.Consumer,null,(function(t){if(null==t)throw new Error("LocaleContext hasn't been initialized!");return Object(u.h)(e,r()({},n,t))}))}}},function(e,n,t){e.exports=t(207)},function(e,n,t){e.exports=t(222)},function(e,n,t){e.exports=t(229)},function(e,n){e.exports=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}},function(e,n,t){var o=t(495),r=t(499);e.exports=function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=o(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&r(e,n)}},function(e,n,t){e.exports=t(231)},function(e,n,t){e.exports=t(225)},function(e,n,t){"use strict";var o=t(29),r=t(71).f,a=t(138),i=t(26),u=t(72),c=t(40),s=t(36),l=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,p,_,m,f,y,h,v=e.target,b=e.global,g=e.stat,D=e.proto,S=b?o:g?o[v]:(o[v]||{}).prototype,k=b?i:i[v]||(i[v]={}),A=k.prototype;for(p in n)t=!a(b?p:v+(g?".":"#")+p,e.forced)&&S&&s(S,p),m=k[p],t&&(f=e.noTargetGet?(h=r(S,p))&&h.value:S[p]),_=t&&f?f:n[p],t&&typeof m==typeof _||(y=e.bind&&t?u(_,o):e.wrap&&t?l(_):D&&"function"==typeof _?u(Function.call,_):_,(e.sham||_&&_.sham||m&&m.sham)&&c(y,"sham",!0),k[p]=y,D&&(s(i,d=v+"Prototype")||c(i,d,{}),i[d][p]=_,e.real&&A&&!A[p]&&c(A,p,_)))}},function(e,n,t){var o=t(156),r=t(2);e.exports=function(e,n){return!n||"object"!==o(n)&&"function"!=typeof n?r(e):n}},function(e,n,t){var o=t(181);function r(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),o(e,r.key,r)}}e.exports=function(e,n,t){return n&&r(e.prototype,n),t&&r(e,t),e}},function(e,n,t){"use strict";t.d(n,"i",(function(){return Z})),t.d(n,"p",(function(){return J})),t.d(n,"o",(function(){return $})),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 ue})),t.d(n,"d",(function(){return pe})),t.d(n,"e",(function(){return _e})),t.d(n,"n",(function(){return me})),t.d(n,"h",(function(){return fe})),t.d(n,"g",(function(){return ye})),t.d(n,"f",(function(){return he})),t.d(n,"a",(function(){return ve})),t.d(n,"c",(function(){return be})),t.d(n,"b",(function(){return ge}));var o,r=t(23),a=t.n(r),i=t(24),u=t.n(i),c=t(11),s=t.n(c),l=t(9),d=t.n(l),p=t(12),_=t.n(p),m=t(13),f=t.n(m),y=t(16),h=t.n(y),v=t(114),b=t.n(v),g=t(1),D=t.n(g),S=t(411),k=t.n(S),A=t(30),C=t.n(A),w=t(412),U=t.n(w),O=t(17),E=t.n(O),I=t(61),L=t.n(I),x=t(283),N=t.n(x),q=t(43),R=t.n(q),P=t(195),T=t.n(P),M=t(196),j=t.n(M),B=t(7),F=t.n(B),G=t(31),z=t.n(G),H=t(0),V=t(413),W=t.n(V),K=t(175);function X(e,n){var t=h()(e);if(f.a){var o=f()(e);n&&(o=E()(o).call(o,(function(n){return _()(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=X(Object(o),!0)).call(t,(function(n){D()(e,n,o[n])}));else if(s.a)u()(e,s()(o));else{var r;d()(r=X(Object(o))).call(r,(function(n){a()(e,n,_()(o,n))}))}}return e}var Q=t(555),Z=function(e){return function(e,n){var t,o,r=Q(n),a=z()(r,2),i=a[0],u=a[1];u!==e&&console.warn(F()(t=F()(o="The css @value: ".concat(n," unit is ")).call(o,u," but it should be ")).call(t,e));return i}("ms",e)},J=function(e,n){return Object(H.h)("div",{className:e},n)},$=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=j()(e=n.substring(T()(n).call(n,"Version/"),T()(n).call(n,"Safari/"))).call(e);return t&&R()(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,re=R()(o=navigator.userAgent||"").call(o,"Windows"),ae=navigator.maxTouchPoints||navigator.msMaxTouchPoints,ie="ontouchstart"in window||ae>0||"function"==typeof window.matchMedia&&matchMedia("(any-pointer: coarse)").matches,ue=re&&ie,ce=function(e){return function(n){return function(e,n){try{W()().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 R()(t).call(t,"input")},le=function(e){var n=e.kind,t=void 0===n?"":n;return R()(t).call(t,"video")},de=function(e){return!!e.label},pe=ce((function(e){return ne()?N()(e).call(e,se):L()(e).call(e,le)})),_e=ce((function(e){var n;return L()(n=E()(e).call(e,se)).call(n,de)})),me=function(e,n){var t,o=(new DOMParser).parseFromString("<l>".concat(e,"</l>"),"application/xml"),r=U()((null===(t=o.firstChild)||void 0===t?void 0:t.childNodes)||[]);return C()(r).call(r,(function(e){var t=e.textContent||"";return e.nodeType===document.TEXT_NODE?t:n({type:e.tagName,text:t})}))},fe=function(){return Math.floor(k()()/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=Object(K.a)("os"),o=Object(K.a)("browser"),r=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:r})},be=function(e){return e?e.charAt(0).toUpperCase()+b()(e).call(e,1):e},ge=function(e){return btoa(unescape(encodeURIComponent(e)))}},function(e,n,t){var o=t(329);function r(){return e.exports=r=o||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e},r.apply(this,arguments)}e.exports=r},function(e,n,t){e.exports=t(202)},function(e,n,t){e.exports=t(204)},function(e,n,t){var o=t(29),r=t(109),a=t(36),i=t(99),u=t(110),c=t(146),s=r("wks"),l=o.Symbol,d=c?l:l&&l.withoutSetter||i;e.exports=function(e){return a(s,e)||(u&&a(l,e)?s[e]=l[e]:s[e]=d("Symbol."+e)),s[e]}},function(e,n){e.exports={}},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"a",(function(){return a})),t.d(n,"e",(function(){return i})),t.d(n,"c",(function(){return u})),t.d(n,"d",(function(){return c}));var o=function(e,n){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var t in n)n.hasOwnProperty(t)&&(e[t]=n[t])})(e,n)};function r(e,n){function t(){this.constructor=e}o(e,n),e.prototype=null===n?Object.create(n):(t.prototype=n.prototype,new t)}var a=function(){return(a=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)};function i(e){var n="function"==typeof Symbol&&Symbol.iterator,t=n&&e[n],o=0;if(t)return t.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function u(e,n){var t="function"==typeof Symbol&&e[Symbol.iterator];if(!t)return e;var o,r,a=t.call(e),i=[];try{for(;(void 0===n||n-- >0)&&!(o=a.next()).done;)i.push(o.value)}catch(e){r={error:e}}finally{try{o&&!o.done&&(t=a.return)&&t.call(a)}finally{if(r)throw r.error}}return i}function c(){for(var e=[],n=0;n<arguments.length;n++)e=e.concat(u(arguments[n]));return e}},function(e,n,t){(function(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 n&&n)||Function("return this")()}).call(this,t(104))},function(e,n,t){e.exports=t(294)},function(e,n,t){var o=t(250),r=t(251),a=t(254);e.exports=function(e,n){return o(e)||r(e,n)||a()}},function(e,n,t){var o=t(27);e.exports=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(e,n,t){"use strict";t.d(n,"k",(function(){return f})),t.d(n,"i",(function(){return y})),t.d(n,"d",(function(){return h})),t.d(n,"g",(function(){return v})),t.d(n,"j",(function(){return b})),t.d(n,"f",(function(){return g})),t.d(n,"h",(function(){return D})),t.d(n,"a",(function(){return S})),t.d(n,"b",(function(){return k})),t.d(n,"c",(function(){return A})),t.d(n,"e",(function(){return C}));var o,r,a,i=t(0),u=0,c=[],s=i.options.__b,l=i.options.__r,d=i.options.diffed,p=i.options.__c,_=i.options.unmount;function m(e,n){i.options.__h&&i.options.__h(r,e,u||n),u=0;var t=r.__H||(r.__H={__:[],__h:[]});return e>=t.__.length&&t.__.push({}),t.__[e]}function f(e){return u=1,y(L,e)}function y(e,n,t){var a=m(o++,2);return a.t=e,a.__c||(a.__=[t?t(n):L(void 0,n),function(e){var n=a.t(a.__[0],e);a.__[0]!==n&&(a.__=[n,a.__[1]],a.__c.setState({}))}],a.__c=r),a.__}function h(e,n){var t=m(o++,3);!i.options.__s&&I(t.__H,n)&&(t.__=e,t.__H=n,r.__H.__h.push(t))}function v(e,n){var t=m(o++,4);!i.options.__s&&I(t.__H,n)&&(t.__=e,t.__H=n,r.__h.push(t))}function b(e){return u=5,D((function(){return{current:e}}),[])}function g(e,n,t){u=6,v((function(){"function"==typeof e?e(n()):e&&(e.current=n())}),null==t?t:t.concat(e))}function D(e,n){var t=m(o++,7);return I(t.__H,n)&&(t.__=e(),t.__H=n,t.__h=e),t.__}function S(e,n){return u=8,D((function(){return e}),n)}function k(e){var n=r.context[e.__c],t=m(o++,9);return t.__c=e,n?(null==t.__&&(t.__=!0,n.sub(r)),n.props.value):e.__}function A(e,n){i.options.useDebugValue&&i.options.useDebugValue(n?n(e):e)}function C(e){var n=m(o++,10),t=f();return n.__=e,r.componentDidCatch||(r.componentDidCatch=function(e){n.__&&n.__(e),t[1](e)}),[t[0],function(){t[1](void 0)}]}function w(){c.forEach((function(e){if(e.__P)try{e.__H.__h.forEach(O),e.__H.__h.forEach(E),e.__H.__h=[]}catch(n){e.__H.__h=[],i.options.__e(n,e.__v)}})),c=[]}i.options.__b=function(e){r=null,s&&s(e)},i.options.__r=function(e){l&&l(e),o=0;var n=(r=e.__c).__H;n&&(n.__h.forEach(O),n.__h.forEach(E),n.__h=[])},i.options.diffed=function(e){d&&d(e);var n=e.__c;n&&n.__H&&n.__H.__h.length&&(1!==c.push(n)&&a===i.options.requestAnimationFrame||((a=i.options.requestAnimationFrame)||function(e){var n,t=function(){clearTimeout(o),U&&cancelAnimationFrame(n),setTimeout(e)},o=setTimeout(t,100);U&&(n=requestAnimationFrame(t))})(w)),r=void 0},i.options.__c=function(e,n){n.some((function(e){try{e.__h.forEach(O),e.__h=e.__h.filter((function(e){return!e.__||E(e)}))}catch(t){n.some((function(e){e.__h&&(e.__h=[])})),n=[],i.options.__e(t,e.__v)}})),p&&p(e,n)},i.options.unmount=function(e){_&&_(e);var n=e.__c;if(n&&n.__H)try{n.__H.__.forEach(O)}catch(e){i.options.__e(e,n.__v)}};var U="function"==typeof requestAnimationFrame;function O(e){var n=r;"function"==typeof e.__c&&e.__c(),r=n}function E(e){var n=r;e.__c=e.__(),r=n}function I(e,n){return!e||e.length!==n.length||n.some((function(n,t){return n!==e[t]}))}function L(e,n){return"function"==typeof n?n(e):n}},function(e,n,t){e.exports={modal_animation_duration:"200ms",passportButtonShadow:"onfido-sdk-ui-Uploader-passportButtonShadow",faceIcon:"onfido-sdk-ui-Uploader-faceIcon",proofOfAddressIcon:"onfido-sdk-ui-Uploader-proofOfAddressIcon",identityIcon:"onfido-sdk-ui-Uploader-identityIcon",icon:"onfido-sdk-ui-Uploader-icon",container:"onfido-sdk-ui-Uploader-container",crossDeviceInstructionsContainer:"onfido-sdk-ui-Uploader-crossDeviceInstructionsContainer",instructions:"onfido-sdk-ui-Uploader-instructions",instructionsCopy:"onfido-sdk-ui-Uploader-instructionsCopy",error:"onfido-sdk-ui-Uploader-error",buttons:"onfido-sdk-ui-Uploader-buttons",vertical:"onfido-sdk-ui-Uploader-vertical",poaButtons:"onfido-sdk-ui-Uploader-poaButtons",buttonContainer:"onfido-sdk-ui-Uploader-buttonContainer",poaBtn:"onfido-sdk-ui-Uploader-poaBtn",crossDeviceButton:"onfido-sdk-ui-Uploader-crossDeviceButton",iconContainer:"onfido-sdk-ui-Uploader-iconContainer",poaIconContainer:"onfido-sdk-ui-Uploader-poaIconContainer",contentWrapper:"onfido-sdk-ui-Uploader-contentWrapper",uploaderWrapper:"onfido-sdk-ui-Uploader-uploaderWrapper",uploadArea:"onfido-sdk-ui-Uploader-uploadArea",imageQualityGuideRow:"onfido-sdk-ui-Uploader-imageQualityGuideRow",documentExampleCol:"onfido-sdk-ui-Uploader-documentExampleCol",documentExampleImg:"onfido-sdk-ui-Uploader-documentExampleImg",documentExampleImgBlur:"onfido-sdk-ui-Uploader-documentExampleImgBlur",documentExampleImgCutoff:"onfido-sdk-ui-Uploader-documentExampleImgCutoff",documentExampleImgGlare:"onfido-sdk-ui-Uploader-documentExampleImgGlare",documentExampleImgGood:"onfido-sdk-ui-Uploader-documentExampleImgGood",documentExampleLabel:"onfido-sdk-ui-Uploader-documentExampleLabel",passportUploadBtn:"onfido-sdk-ui-Uploader-passportUploadBtn"}},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n,t){var o=t(35);e.exports=function(e){if(!o(e))throw TypeError(String(e)+" is not an object");return e}},function(e,n,t){var o=t(26);e.exports=function(e){return o[e+"Prototype"]}},function(e,n,t){var o=t(90),r=t(91);e.exports=function(e){return o(r(e))}},function(e,n,t){var o=t(32),r=t(42),a=t(62);e.exports=o?function(e,n,t){return r.f(e,n,a(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n,t){e.exports=t(238)},function(e,n,t){var o=t(32),r=t(137),a=t(37),i=t(85),u=Object.defineProperty;n.f=o?u:function(e,n,t){if(a(e),n=i(n,!0),a(t),r)try{return u(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,t){e.exports=t(433)},function(e,n,t){var o=t(26),r=t(29),a=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,n){return arguments.length<2?a(o[e])||a(r[e]):o[e]&&o[e][n]||r[e]&&r[e][n]}},function(e,n,t){var o=t(91);e.exports=function(e){return Object(o(e))}},function(e,n,t){var o=t(32),r=t(27),a=t(36),i=Object.defineProperty,u={},c=function(e){throw e};e.exports=function(e,n){if(a(u,e))return u[e];n||(n={});var t=[][e],s=!!a(n,"ACCESSORS")&&n.ACCESSORS,l=a(n,0)?n[0]:c,d=a(n,1)?n[1]:void 0;return u[e]=!!t&&!r((function(){if(s&&!o)return!0;var e={length:-1};s?i(e,1,{enumerable:!0,get:c}):e[1]=1,t.call(e,l,d)}))}},function(e,n,t){e.exports={modal_animation_duration:"200ms",container:"onfido-sdk-ui-crossDevice-CrossDeviceLink-container",secureLinkView:"onfido-sdk-ui-crossDevice-CrossDeviceLink-secureLinkView",qrCodeSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-qrCodeSection",qrCodeContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-qrCodeContainer",smsSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-smsSection",label:"onfido-sdk-ui-crossDevice-CrossDeviceLink-label",numberInputSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-numberInputSection",inputContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-inputContainer",linkText:"onfido-sdk-ui-crossDevice-CrossDeviceLink-linkText",fieldError:"onfido-sdk-ui-crossDevice-CrossDeviceLink-fieldError",numberError:"onfido-sdk-ui-crossDevice-CrossDeviceLink-numberError",sending:"onfido-sdk-ui-crossDevice-CrossDeviceLink-sending",spin:"onfido-sdk-ui-crossDevice-CrossDeviceLink-spin",copyLinkSection:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copyLinkSection",linkContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-linkContainer",copySuccess:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copySuccess",actionContainer:"onfido-sdk-ui-crossDevice-CrossDeviceLink-actionContainer",copyToClipboard:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copyToClipboard",divider:"onfido-sdk-ui-crossDevice-CrossDeviceLink-divider",btn:"onfido-sdk-ui-crossDevice-CrossDeviceLink-btn",styledLabel:"onfido-sdk-ui-crossDevice-CrossDeviceLink-styledLabel",viewOptionsGroup:"onfido-sdk-ui-crossDevice-CrossDeviceLink-viewOptionsGroup",viewOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-viewOption",copyLinkOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-copyLinkOption",qrCodeLinkOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-qrCodeLinkOption",smsLinkOption:"onfido-sdk-ui-crossDevice-CrossDeviceLink-smsLinkOption"}},function(e,n,t){var o=t(234),r=t(304),a=t(306);e.exports=function(e,n){if(null==e)return{};var t,i,u=a(e,n);if(r){var c=r(e);for(i=0;i<c.length;i++)t=c[i],o(n).call(n,t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(u[t]=e[t])}return u}},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){"use strict";t.d(n,"b",(function(){return u})),t.d(n,"a",(function(){return c})),t.d(n,"c",(function(){return s})),t.d(n,"d",(function(){return l}));var o=t(41),r=t.n(o),a=t(407),i=t.n(a),u=function(e){return e},c=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))}}),u)},s=function(e){var n={};return function(){for(var t=arguments.length,o=new Array(t),a=0;a<t;a++)o[a]=arguments[a];var i=r()(o);return n[i]||(n[i]=e.apply(void 0,o))}},l=function(){}},function(e,n,t){"use strict";function o(){return(o=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}t.d(n,"a",(function(){return o}))},function(e,n,t){"use strict";(function(e,o){t.d(n,"d",(function(){return a})),t.d(n,"h",(function(){return i})),t.d(n,"f",(function(){return c})),t.d(n,"k",(function(){return s})),t.d(n,"c",(function(){return l})),t.d(n,"b",(function(){return d})),t.d(n,"a",(function(){return p})),t.d(n,"g",(function(){return _})),t.d(n,"j",(function(){return b})),t.d(n,"i",(function(){return g})),t.d(n,"e",(function(){return D}));var r=t(77);t(177);function a(e,n){return e.require(n)}function i(){return"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}var u={};function c(){return i()?e:"undefined"!=typeof window?window:"undefined"!=typeof self?self:u}function s(){var e=c(),n=e.crypto||e.msCrypto;if(void 0!==n&&n.getRandomValues){var t=new Uint16Array(8);n.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;var o=function(e){for(var n=e.toString(16);n.length<4;)n="0"+n;return n};return o(t[0])+o(t[1])+o(t[2])+o(t[3])+o(t[4])+o(t[5])+o(t[6])+o(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,(function(e){var n=16*Math.random()|0;return("x"===e?n:3&n|8).toString(16)}))}function l(e){var n=c();if(!("console"in n))return e();var t=n.console,o={};["debug","info","warn","error","log","assert"].forEach((function(e){e in n.console&&t[e].__sentry_original__&&(o[e]=t[e],t[e]=t[e].__sentry_original__)}));var r=e();return Object.keys(o).forEach((function(e){t[e]=o[e]})),r}function d(e,n,t){e.exception=e.exception||{},e.exception.values=e.exception.values||[],e.exception.values[0]=e.exception.values[0]||{},e.exception.values[0].value=e.exception.values[0].value||n||"",e.exception.values[0].type=e.exception.values[0].type||t||"Error"}function p(e,n){void 0===n&&(n={});try{e.exception.values[0].mechanism=e.exception.values[0].mechanism||{},Object.keys(n).forEach((function(t){e.exception.values[0].mechanism[t]=n[t]}))}catch(e){}}function _(e){try{for(var n=e,t=[],o=0,r=0,a=" > ".length,i=void 0;n&&o++<5&&!("html"===(i=m(n))||o>1&&r+t.length*a+i.length>=80);)t.push(i),r+=i.length,n=n.parentNode;return t.reverse().join(" > ")}catch(e){return"<unknown>"}}function m(e){var n,t,o,a,i,u=e,c=[];if(!u||!u.tagName)return"";if(c.push(u.tagName.toLowerCase()),u.id&&c.push("#"+u.id),(n=u.className)&&Object(r.k)(n))for(t=n.split(/\s+/),i=0;i<t.length;i++)c.push("."+t[i]);var s=["type","name","title","alt"];for(i=0;i<s.length;i++)o=s[i],(a=u.getAttribute(o))&&c.push("["+o+'="'+a+'"]');return c.join("")}var f=Date.now(),y=0,h={now:fun