onfido-sdk-ui
Version:
JavaScript SDK view layer for Onfido identity verification
1 lines • 3.14 MB
JavaScript
!function(e,n){if("object"==typeof exports&&"object"==typeof module)module.exports=n();else if("function"==typeof define&&define.amd)define([],n);else{var t=n();for(var r in t)("object"==typeof exports?exports:e)[r]=t[r]}}(self,(function(){return function(){var e,n,t={"../node_modules/@babel/runtime-corejs3/core-js-stable/array/from.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/array/from.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/array/is-array.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/array/is-array.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/date/now.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/date/now.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/bind.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/bind.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/concat.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/ends-with.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/ends-with.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/every.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/every.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/filter.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find-index.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/find-index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/find.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/find.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/for-each.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/includes.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/includes.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/index-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/index-of.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/last-index-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/last-index-of.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/map.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/map.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce-right.js":function(e,n,t){t("../node_modules/core-js-pure/stable/instance/reduce-right.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/reduce.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/reduce.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/slice.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/slice.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/some.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/some.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/sort.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/sort.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/splice.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/splice.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/trim.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/trim.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/instance/values.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/instance/values.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/json/stringify.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/map.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/map/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/assign.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/assign.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/define-properties.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/define-property.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/entries.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/entries.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/from-entries.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/from-entries.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/get-own-property-descriptor.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/get-own-property-descriptors.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/get-own-property-symbols.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/keys.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/object/values.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/object/values.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/parse-float.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/parse-float.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/parse-int.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/parse-int.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/promise.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/promise/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/reflect/construct.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/set-timeout.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/set-timeout.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/set.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/set/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/symbol.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/symbol/index.js")},"../node_modules/@babel/runtime-corejs3/core-js-stable/url.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/stable/url/index.js")},"../node_modules/@babel/runtime-corejs3/core-js/array/from.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/array/from.js")},"../node_modules/@babel/runtime-corejs3/core-js/array/is-array.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/array/is-array.js")},"../node_modules/@babel/runtime-corejs3/core-js/get-iterator-method.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/get-iterator-method.js")},"../node_modules/@babel/runtime-corejs3/core-js/instance/index-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/instance/index-of.js")},"../node_modules/@babel/runtime-corejs3/core-js/instance/slice.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/instance/slice.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/assign.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/assign.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/create.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/create.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/define-property.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/define-property.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/get-own-property-symbols.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/get-own-property-symbols.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/get-prototype-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/get-prototype-of.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/keys.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/keys.js")},"../node_modules/@babel/runtime-corejs3/core-js/object/set-prototype-of.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/object/set-prototype-of.js")},"../node_modules/@babel/runtime-corejs3/core-js/promise.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/promise/index.js")},"../node_modules/@babel/runtime-corejs3/core-js/symbol.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/symbol/index.js")},"../node_modules/@babel/runtime-corejs3/core-js/symbol/iterator.js":function(e,n,t){e.exports=t("../node_modules/core-js-pure/features/symbol/iterator.js")},"../node_modules/@babel/runtime-corejs3/regenerator/index.js":function(e,n,t){e.exports=t("../node_modules/regenerator-runtime/runtime-module.js")},"../node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js":function(e,n,t){var r;window,r=function(e){return function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},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 r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},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(t.s=31)}([function(e,n){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(e,n,t){var r=t(0),o=t(5),a=t(6),i=t(14),l=t(16),s="prototype",u=function(e,n,t){var c,d,m,p,f=e&u.F,_=e&u.G,y=e&u.S,h=e&u.P,v=e&u.B,g=_?r:y?r[n]||(r[n]={}):(r[n]||{})[s],b=_?o:o[n]||(o[n]={}),D=b[s]||(b[s]={});for(c in _&&(t=n),t)m=((d=!f&&g&&void 0!==g[c])?g:t)[c],p=v&&d?l(m,r):h&&"function"==typeof m?l(Function.call,m):m,g&&i(g,c,m,e&u.U),b[c]!=m&&a(b,c,p),h&&D[c]!=m&&(D[c]=m)};r.core=o,u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,e.exports=u},function(e,n){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,n,t){e.exports=!t(4)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,n){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,n){var t=e.exports={version:"2.5.7"};"number"==typeof __e&&(__e=t)},function(e,n,t){var r=t(7),o=t(35);e.exports=t(3)?function(e,n,t){return r.f(e,n,o(1,t))}:function(e,n,t){return e[n]=t,e}},function(e,n,t){var r=t(8),o=t(33),a=t(34),i=Object.defineProperty;n.f=t(3)?Object.defineProperty:function(e,n,t){if(r(e),n=a(n,!0),r(t),o)try{return i(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){var r=t(2);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,n){var t=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++t+r).toString(36))}},function(e,n,t){var r=t(20);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,n){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(n,t){n.exports=e},function(e,n,t){var r=t(2),o=t(0).document,a=r(o)&&r(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},function(e,n,t){var r=t(0),o=t(6),a=t(15),i=t(9)("src"),l="toString",s=Function[l],u=(""+s).split(l);t(5).inspectSource=function(e){return s.call(e)},(e.exports=function(e,n,t,l){var s="function"==typeof t;s&&(a(t,"name")||o(t,"name",n)),e[n]!==t&&(s&&(a(t,i)||o(t,i,e[n]?""+e[n]:u.join(String(n)))),e===r?e[n]=t:l?e[n]?e[n]=t:o(e,n,t):(delete e[n],o(e,n,t)))})(Function.prototype,l,(function(){return"function"==typeof this&&this[i]||s.call(this)}))},function(e,n){var t={}.hasOwnProperty;e.exports=function(e,n){return t.call(e,n)}},function(e,n,t){var r=t(17);e.exports=function(e,n,t){if(r(e),void 0===n)return e;switch(t){case 1:return function(t){return e.call(n,t)};case 2:return function(t,r){return e.call(n,t,r)};case 3:return function(t,r,o){return e.call(n,t,r,o)}}return function(){return e.apply(n,arguments)}}},function(e,n){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,n,t){var r=t(37),o=t(26);e.exports=Object.keys||function(e){return r(e,o)}},function(e,n,t){var r=t(10),o=t(11);e.exports=function(e){return r(o(e))}},function(e,n){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},function(e,n,t){var r=t(19),o=t(22),a=t(38);e.exports=function(e){return function(n,t,i){var l,s=r(n),u=o(s.length),c=a(i,u);if(e&&t!=t){for(;c<u;)if((l=s[c++])!=l)return!0}else for(;c<u;c++)if((e||c in s)&&s[c]===t)return e||c||0;return!e&&-1}}},function(e,n,t){var r=t(23),o=Math.min;e.exports=function(e){return 0<e?o(r(e),9007199254740991):0}},function(e,n){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(0<e?r:t)(e)}},function(e,n,t){var r=t(25)("keys"),o=t(9);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,n,t){var r=t(5),o=t(0),a="__core-js_shared__",i=o[a]||(o[a]={});(e.exports=function(e,n){return i[e]||(i[e]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:t(39)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(e,n){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,n,t){var r=t(11);e.exports=function(e){return Object(r(e))}},function(e,n,t){var r=t(1);r(r.S,"Object",{create:t(42)})},function(e,n,t){var r=t(25)("wks"),o=t(9),a=t(0).Symbol,i="function"==typeof a;(e.exports=function(e){return r[e]||(r[e]=i&&a[e]||(i?a:o)("Symbol."+e))}).store=r},function(e,n,t){"use strict";var r=t(4);e.exports=function(e,n){return!!e&&r((function(){n?e.call(null,(function(){}),1):e.call(null)}))}},function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0,t(32),t(28),t(45),t(46),t(51),t(52),t(55);var r=t(12),o=i(t(57)),a=i(t(58));function i(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}return e}).apply(this,arguments)}function s(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u={13:"enter",27:"escape",32:"space",38:"up",40:"down"};function c(){return"undefined"!=typeof navigator&&!(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g)||!navigator.userAgent.match(/AppleWebKit/g))}var d=function(e){function n(n){var t;return(t=e.call(this,n)||this).elementReferences={},t.state={focused:null,hovered:null,menuOpen:!1,options:n.defaultValue?[n.defaultValue]:[],query:n.defaultValue,validChoiceMade:!1,selected:null,ariaHint:!0},t.handleComponentBlur=t.handleComponentBlur.bind(s(s(t))),t.handleKeyDown=t.handleKeyDown.bind(s(s(t))),t.handleUpArrow=t.handleUpArrow.bind(s(s(t))),t.handleDownArrow=t.handleDownArrow.bind(s(s(t))),t.handleEnter=t.handleEnter.bind(s(s(t))),t.handlePrintableKey=t.handlePrintableKey.bind(s(s(t))),t.handleListMouseLeave=t.handleListMouseLeave.bind(s(s(t))),t.handleOptionBlur=t.handleOptionBlur.bind(s(s(t))),t.handleOptionClick=t.handleOptionClick.bind(s(s(t))),t.handleOptionFocus=t.handleOptionFocus.bind(s(s(t))),t.handleOptionMouseDown=t.handleOptionMouseDown.bind(s(s(t))),t.handleOptionMouseEnter=t.handleOptionMouseEnter.bind(s(s(t))),t.handleInputBlur=t.handleInputBlur.bind(s(s(t))),t.handleInputChange=t.handleInputChange.bind(s(s(t))),t.handleInputFocus=t.handleInputFocus.bind(s(s(t))),t.pollInputElement=t.pollInputElement.bind(s(s(t))),t.getDirectInputChanges=t.getDirectInputChanges.bind(s(s(t))),t}!function(e,n){e.prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n}(n,e);var t=n.prototype;return t.isQueryAnOption=function(e,n){var t=this;return-1!==n.map((function(e){return t.templateInputValue(e).toLowerCase()})).indexOf(e.toLowerCase())},t.componentDidMount=function(){this.pollInputElement()},t.componentWillUnmount=function(){clearTimeout(this.$pollInput)},t.pollInputElement=function(){var e=this;this.getDirectInputChanges(),this.$pollInput=setTimeout((function(){e.pollInputElement()}),100)},t.getDirectInputChanges=function(){var e=this.elementReferences[-1];e&&e.value!==this.state.query&&this.handleInputChange({target:{value:e.value}})},t.componentDidUpdate=function(e,n){var t=this.state.focused,r=null===t,o=n.focused!==t;o&&!r&&this.elementReferences[t].focus();var a=-1===t,i=o&&null===n.focused;if(a&&i){var l=this.elementReferences[t];l.setSelectionRange(0,l.value.length)}},t.hasAutoselect=function(){return!c()&&this.props.autoselect},t.templateInputValue=function(e){var n=this.props.templates&&this.props.templates.inputValue;return n?n(e):e},t.templateSuggestion=function(e){var n=this.props.templates&&this.props.templates.suggestion;return n?n(e):e},t.handleComponentBlur=function(e){var n,t=this.state,r=t.options,o=t.query,a=t.selected;this.props.confirmOnBlur?(n=e.query||o,this.props.onConfirm(r[a])):n=o,this.setState({focused:null,menuOpen:e.menuOpen||!1,query:n,selected:null,validChoiceMade:this.isQueryAnOption(n,r)})},t.handleListMouseLeave=function(e){this.setState({hovered:null})},t.handleOptionBlur=function(e,n){var t=this.state,r=t.focused,o=t.menuOpen,a=t.options,i=t.selected,l=null===e.relatedTarget,s=e.relatedTarget===this.elementReferences[-1],u=r!==n&&-1!==r;if(!u&&l||!u&&!s){var d=o&&c();this.handleComponentBlur({menuOpen:d,query:this.templateInputValue(a[i])})}},t.handleInputBlur=function(e){var n=this.state,t=n.focused,r=n.menuOpen,o=n.options,a=n.query,i=n.selected;if(-1===t){var l=r&&c(),s=c()?a:this.templateInputValue(o[i]);this.handleComponentBlur({menuOpen:l,query:s})}},t.handleInputChange=function(e){var n=this,t=this.props,r=t.minLength,o=t.source,a=t.showAllValues,i=this.hasAutoselect(),l=e.target.value,s=0===l.length,u=this.state.query.length!==l.length,c=l.length>=r;this.setState({query:l,ariaHint:s}),a||!s&&u&&c?o(l,(function(e){var t=0<e.length;n.setState({menuOpen:t,options:e,selected:i&&t?0:-1,validChoiceMade:!1})})):!s&&c||this.setState({menuOpen:!1,options:[]})},t.handleInputClick=function(e){this.handleInputChange(e)},t.handleInputFocus=function(e){var n=this.state,t=n.query,r=n.validChoiceMade,o=n.options,a=this.props.minLength,i=!r&&t.length>=a&&0<o.length;i?this.setState((function(e){var n=e.menuOpen;return{focused:-1,menuOpen:i||n,selected:-1}})):this.setState({focused:-1})},t.handleOptionFocus=function(e){this.setState({focused:e,hovered:null,selected:e})},t.handleOptionMouseEnter=function(e,n){c()||this.setState({hovered:n})},t.handleOptionClick=function(e,n){var t=this.state.options[n],r=this.templateInputValue(t);this.props.onConfirm(t),this.setState({focused:-1,hovered:null,menuOpen:!1,query:r,selected:-1,validChoiceMade:!0}),this.forceUpdate()},t.handleOptionMouseDown=function(e){e.preventDefault()},t.handleUpArrow=function(e){e.preventDefault();var n=this.state,t=n.menuOpen,r=n.selected;-1!==r&&t&&this.handleOptionFocus(r-1)},t.handleDownArrow=function(e){var n=this;if(e.preventDefault(),this.props.showAllValues&&!1===this.state.menuOpen)e.preventDefault(),this.props.source("",(function(e){n.setState({menuOpen:!0,options:e,selected:0,focused:0,hovered:null})}));else if(!0===this.state.menuOpen){var t=this.state,r=t.menuOpen,o=t.options,a=t.selected;a!==o.length-1&&r&&this.handleOptionFocus(a+1)}},t.handleSpace=function(e){var n=this;this.props.showAllValues&&!1===this.state.menuOpen&&""===this.state.query&&(e.preventDefault(),this.props.source("",(function(e){n.setState({menuOpen:!0,options:e})}))),-1!==this.state.focused&&(e.preventDefault(),this.handleOptionClick(e,this.state.focused))},t.handleEnter=function(e){this.state.menuOpen&&(e.preventDefault(),0<=this.state.selected&&this.handleOptionClick(e,this.state.selected))},t.handlePrintableKey=function(e){var n=this.elementReferences[-1];e.target===n||n.focus()},t.handleKeyDown=function(e){switch(u[e.keyCode]){case"up":this.handleUpArrow(e);break;case"down":this.handleDownArrow(e);break;case"space":this.handleSpace(e);break;case"enter":this.handleEnter(e);break;case"escape":this.handleComponentBlur({query:this.state.query});break;default:(function(e){return 47<e&&e<58||32===e||8===e||64<e&&e<91||95<e&&e<112||185<e&&e<193||218<e&&e<223})(e.keyCode)&&this.handlePrintableKey(e)}},t.render=function(){var e,n=this,t=this.props,a=t.cssNamespace,i=t.displayMenu,s=t.id,u=t.minLength,d=t.name,m=t.placeholder,p=t.required,f=t.showAllValues,_=t.tNoResults,y=t.tStatusQueryTooShort,h=t.tStatusNoResults,v=t.tStatusSelectedOption,g=t.tStatusResults,b=t.tAssistiveHint,D=t.dropdownArrow,k=this.state,j=k.focused,w=k.hovered,C=k.menuOpen,A=k.options,S=k.query,O=k.selected,E=k.ariaHint,P=k.validChoiceMade,x=this.hasAutoselect(),F=-1===j,M=0===A.length,I=0!==S.length,N=S.length>=u,z=this.props.showNoOptionsFound&&F&&M&&I&&N,U=a+"__wrapper",L=a+"__input",T=null!==j?" "+L+"--focused":"",R=this.props.showAllValues?" "+L+"--show-all-values":" "+L+"--default",q=a+"__dropdown-arrow-down",B=-1!==j&&null!==j,Z=a+"__menu",V=Z+"--"+i,$=Z+"--"+(C||z?"visible":"hidden"),H=a+"__option",G=a+"__hint",W=this.templateInputValue(A[O]),K=W&&0===W.toLowerCase().indexOf(S.toLowerCase())&&x?S+W.substr(S.length):"",Y=s+"__assistiveHint",J=E?{"aria-describedby":Y}:null;return f&&"string"==typeof(e=D({className:q}))&&(e=(0,r.createElement)("div",{className:a+"__dropdown-arrow-down-wrapper",dangerouslySetInnerHTML:{__html:e}})),(0,r.createElement)("div",{className:U,onKeyDown:this.handleKeyDown},(0,r.createElement)(o.default,{id:s,length:A.length,queryLength:S.length,minQueryLength:u,selectedOption:this.templateInputValue(A[O]),selectedOptionIndex:O,validChoiceMade:P,isInFocus:null!==this.state.focused,tQueryTooShort:y,tNoResults:h,tSelectedOption:v,tResults:g}),K&&(0,r.createElement)("span",null,(0,r.createElement)("input",{className:G,readonly:!0,tabIndex:"-1",value:K})),(0,r.createElement)("input",l({"aria-expanded":C?"true":"false","aria-activedescendant":!!B&&s+"__option--"+j,"aria-owns":s+"__listbox","aria-autocomplete":this.hasAutoselect()?"both":"list"},J,{autoComplete:"off",className:""+L+T+R,id:s,onClick:function(e){return n.handleInputClick(e)},onBlur:this.handleInputBlur},function(e){return{onInput:e}}(this.handleInputChange),{onFocus:this.handleInputFocus,name:d,placeholder:m,ref:function(e){n.elementReferences[-1]=e},type:"text",role:"combobox",required:p,value:S})),e,(0,r.createElement)("ul",{className:Z+" "+V+" "+$,onMouseLeave:function(e){return n.handleListMouseLeave(e)},id:s+"__listbox",role:"listbox"},A.map((function(e,t){var o=(-1===j?O===t:j===t)&&null===w?" "+H+"--focused":"",a=t%2?" "+H+"--odd":"",i=c()?"<span id="+s+"__option-suffix--"+t+' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> '+(t+1)+" of "+A.length+"</span>":"";return(0,r.createElement)("li",{"aria-selected":j===t?"true":"false",className:""+H+o+a,dangerouslySetInnerHTML:{__html:n.templateSuggestion(e)+i},id:s+"__option--"+t,key:t,onBlur:function(e){return n.handleOptionBlur(e,t)},onClick:function(e){return n.handleOptionClick(e,t)},onMouseDown:n.handleOptionMouseDown,onMouseEnter:function(e){return n.handleOptionMouseEnter(e,t)},ref:function(e){n.elementReferences[t]=e},role:"option",tabIndex:"-1","aria-posinset":t+1,"aria-setsize":A.length})})),z&&(0,r.createElement)("li",{className:H+" "+H+"--no-results"},_())),(0,r.createElement)("span",{id:Y,style:{display:"none"}},b()))},n}(r.Component);(n.default=d).defaultProps={autoselect:!1,cssNamespace:"autocomplete",defaultValue:"",displayMenu:"inline",minLength:0,name:"input-autocomplete",placeholder:"",onConfirm:function(){},confirmOnBlur:!0,showNoOptionsFound:!0,showAllValues:!1,required:!1,tNoResults:function(){return"No results found"},tAssistiveHint:function(){return"When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures."},dropdownArrow:a.default}},function(e,n,t){var r=t(1);r(r.S+r.F,"Object",{assign:t(36)})},function(e,n,t){e.exports=!t(3)&&!t(4)((function(){return 7!=Object.defineProperty(t(13)("div"),"a",{get:function(){return 7}}).a}))},function(e,n,t){var r=t(2);e.exports=function(e,n){if(!r(e))return e;var t,o;if(n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;if("function"==typeof(t=e.valueOf)&&!r(o=t.call(e)))return o;if(!n&&"function"==typeof(t=e.toString)&&!r(o=t.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,n){e.exports=function(e,n){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:n}}},function(e,n,t){"use strict";var r=t(18),o=t(40),a=t(41),i=t(27),l=t(10),s=Object.assign;e.exports=!s||t(4)((function(){var e={},n={},t=Symbol(),r="abcdefghijklmnopqrst";return e[t]=7,r.split("").forEach((function(e){n[e]=e})),7!=s({},e)[t]||Object.keys(s({},n)).join("")!=r}))?function(e,n){for(var t=i(e),s=arguments.length,u=1,c=o.f,d=a.f;u<s;)for(var m,p=l(arguments[u++]),f=c?r(p).concat(c(p)):r(p),_=f.length,y=0;y<_;)d.call(p,m=f[y++])&&(t[m]=p[m]);return t}:s},function(e,n,t){var r=t(15),o=t(19),a=t(21)(!1),i=t(24)("IE_PROTO");e.exports=function(e,n){var t,l=o(e),s=0,u=[];for(t in l)t!=i&&r(l,t)&&u.push(t);for(;n.length>s;)r(l,t=n[s++])&&(~a(u,t)||u.push(t));return u}},function(e,n,t){var r=t(23),o=Math.max,a=Math.min;e.exports=function(e,n){return(e=r(e))<0?o(e+n,0):a(e,n)}},function(e,n){e.exports=!1},function(e,n){n.f=Object.getOwnPropertySymbols},function(e,n){n.f={}.propertyIsEnumerable},function(e,n,t){var r=t(8),o=t(43),a=t(26),i=t(24)("IE_PROTO"),l=function(){},s="prototype",u=function(){var e,n=t(13)("iframe"),r=a.length;for(n.style.display="none",t(44).appendChild(n),n.src="javascript:",(e=n.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),u=e.F;r--;)delete u[s][a[r]];return u()};e.exports=Object.create||function(e,n){var t;return null!==e?(l[s]=r(e),t=new l,l[s]=null,t[i]=e):t=u(),void 0===n?t:o(t,n)}},function(e,n,t){var r=t(7),o=t(8),a=t(18);e.exports=t(3)?Object.defineProperties:function(e,n){o(e);for(var t,i=a(n),l=i.length,s=0;s<l;)r.f(e,t=i[s++],n[t]);return e}},function(e,n,t){var r=t(0).document;e.exports=r&&r.documentElement},function(e,n,t){var r=t(7).f,o=Function.prototype,a=/^\s*function ([^ (]*)/;"name"in o||t(3)&&r(o,"name",{configurable:!0,get:function(){try{return(""+this).match(a)[1]}catch(e){return""}}})},function(e,n,t){"use strict";var r=t(1),o=t(47)(1);r(r.P+r.F*!t(30)([].map,!0),"Array",{map:function(e){return o(this,e,arguments[1])}})},function(e,n,t){var r=t(16),o=t(10),a=t(27),i=t(22),l=t(48);e.exports=function(e,n){var t=1==e,s=2==e,u=3==e,c=4==e,d=6==e,m=5==e||d,p=n||l;return function(n,l,f){for(var _,y,h=a(n),v=o(h),g=r(l,f,3),b=i(v.length),D=0,k=t?p(n,b):s?p(n,0):void 0;D<b;D++)if((m||D in v)&&(y=g(_=v[D],D,h),e))if(t)k[D]=y;else if(y)switch(e){case 3:return!0;case 5:return _;case 6:return D;case 2:k.push(_)}else if(c)return!1;return d?-1:u||c?c:k}}},function(e,n,t){var r=t(49);e.exports=function(e,n){return new(r(e))(n)}},function(e,n,t){var r=t(2),o=t(50),a=t(29)("species");e.exports=function(e){var n;return o(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!o(n.prototype)||(n=void 0),r(n)&&null===(n=n[a])&&(n=void 0)),void 0===n?Array:n}},function(e,n,t){var r=t(20);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,n,t){"use strict";var r=t(1),o=t(21)(!1),a=[].indexOf,i=!!a&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(i||!t(30)(a)),"Array",{indexOf:function(e){return i?a.apply(this,arguments)||0:o(this,e,arguments[1])}})},function(e,n,t){var r=t(1);r(r.P,"Function",{bind:t(53)})},function(e,n,t){"use strict";var r=t(17),o=t(2),a=t(54),i=[].slice,l={};e.exports=Function.bind||function(e){var n=r(this),t=i.call(arguments,1),s=function(){var r=t.concat(i.call(arguments));return this instanceof s?function(e,n,t){if(!(n in l)){for(var r=[],o=0;o<n;o++)r[o]="a["+o+"]";l[n]=Function("F,a","return new F("+r.join(",")+")")}return l[n](e,t)}(n,r.length,r):a(n,r,e)};return o(n.prototype)&&(s.prototype=n.prototype),s}},function(e,n){e.exports=function(e,n,t){var r=void 0===t;switch(n.length){case 0:return r?e():e.call(t);case 1:return r?e(n[0]):e.call(t,n[0]);case 2:return r?e(n[0],n[1]):e.call(t,n[0],n[1]);case 3:return r?e(n[0],n[1],n[2]):e.call(t,n[0],n[1],n[2]);case 4:return r?e(n[0],n[1],n[2],n[3]):e.call(t,n[0],n[1],n[2],n[3])}return e.apply(t,n)}},function(e,n,t){t(56)("match",1,(function(e,n,t){return[function(t){"use strict";var r=e(this),o=null==t?void 0:t[n];return void 0!==o?o.call(t,r):new RegExp(t)[n](String(r))},t]}))},function(e,n,t){"use strict";var r=t(6),o=t(14),a=t(4),i=t(11),l=t(29);e.exports=function(e,n,t){var s=l(e),u=t(i,s,""[e]),c=u[0],d=u[1];a((function(){var n={};return n[s]=function(){return 7},7!=""[e](n)}))&&(o(String.prototype,e,c),r(RegExp.prototype,s,2==n?function(e,n){return d.call(e,this,n)}:function(e){return d.call(e,this)}))}},function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0,t(28);var r=t(12),o=function(e){function n(){for(var n,t=arguments.length,r=new Array(t),o=0;o<t;o++)r[o]=arguments[o];return(n=e.call.apply(e,[this].concat(r))||this).state={bump:!1,debounced:!1},n}!function(e,n){e.prototype=Object.create(n.prototype),(e.prototype.constructor=e).__proto__=n}(n,e);var t=n.prototype;return t.componentWillMount=function(){var e=this;this.debounceStatusUpdate=function(e,n,t){var r;return function(){var o=this,a=arguments,i=function(){r=null,t||e.apply(o,a)},l=t&&!r;clearTimeout(r),r=setTimeout(i,n),l&&e.apply(o,a)}}((function(){if(!e.state.debounced){var n=!e.props.isInFocus||e.props.validChoiceMade;e.setState((function(e){return{bump:!e.bump,debounced:!0,silenced:n}}))}}),1400)},t.componentWillReceiveProps=function(e){e.queryLength,this.setState({debounced:!1})},t.render=function(){var e,n=this.props,t=n.id,o=n.length,a=n.queryLength,i=n.minQueryLength,l=n.selectedOption,s=n.selectedOptionIndex,u=n.tQueryTooShort,c=n.tNoResults,d=n.tSelectedOption,m=n.tResults,p=this.state,f=p.bump,_=p.debounced,y=p.silenced,h=a<i,v=0===o,g=l?d(l,o,s):"";return e=h?u(i):v?c():m(o,g),this.debounceStatusUpdate(),(0,r.createElement)("div",{style:{border:"0",clip:"rect(0 0 0 0)",height:"1px",marginBottom:"-1px",marginRight:"-1px",overflow:"hidden",padding:"0",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(0,r.createElement)("div",{id:t+"__status--A",role:"status","aria-atomic":"true","aria-live":"polite"},!y&&_&&f?e:""),(0,r.createElement)("div",{id:t+"__status--B",role:"status","aria-atomic":"true","aria-live":"polite"},y||!_||f?"":e))},n}(r.Component);(n.default=o).defaultProps={tQueryTooShort:function(e){return"Type in "+e+" or more characters for results"},tNoResults:function(){return"No search results"},tSelectedOption:function(e,n,t){return e+" "+(t+1)+" of "+n+" is highlighted"},tResults:function(e,n){return e+" "+(1===e?"result":"results")+" "+(1===e?"is":"are")+" available. "+n}}},function(e,n,t){"use strict";n.__esModule=!0,n.default=void 0;var r=t(12);n.default=function(e){var n=e.className;return(0,r.createElement)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:n,focusable:"false"},(0,r.createElement)("g",{stroke:"none",fill:"none","fill-rule":"evenodd"},(0,r.createElement)("polygon",{fill:"#000000",points:"0 0 22 0 11 17"})))}}])},e.exports=r(t("preact"))},"../node_modules/accessible-autocomplete/preact.js":function(e,n,t){e.exports=t("../node_modules/accessible-autocomplete/dist/lib/accessible-autocomplete.preact.min.js")},"./Tracker/index.tsx":function(e,n,t){"use strict";t.d(n,{yZ:function(){return ce},N9:function(){return le},qP:function(){return se},N4:function(){return ue},kN:function(){return fe},_h:function(){return de},k5:function(){return me},Tz:function(){return ie},OV:function(){return ye}});var r,o,a,i,l,s,u=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-property.js"),c=t.n(u),d=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/define-properties.js"),m=t.n(d),p=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptors.js"),f=t.n(p),_=t("../node_modules/@babel/runtime-corejs3/core-js-stable/instance/for-each.js"),y=t.n(_),h=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-descriptor.js"),v=t.n(h),g=t("../node_modules/@babel/runtime-corejs3/core-js-stable/instance/filter.js"),b=t.n(g),D=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/get-own-property-symbols.js"),k=t.n(D),j=t("../node_modules/@babel/runtime-corejs3/core-js-stable/object/keys.js"),w=t.n(j),C=t("../node_modules/@babel/runtime-corejs3/core-js-stable/reflect/construct.js"),A=t.n(C),S=t("../node_modules/@babel/runtime-corejs3/helpers/esm/createClass.js"),O=t("../node_modules/@babel/runtime-corejs3/helpers/esm/extends.js"),E=t("../node_modules/@babel/runtime-corejs3/helpers/esm/toConsumableArray.js"),P=t("../node_modules/@babel/runtime-corejs3/core-js-stable/instance/concat.js"),x=t.n(P),F=t("../node_modules/@babel/runtime-corejs3/helpers/esm/classCallCheck.js"),M=t("../node_modules/@babel/runtime-corejs3/helpers/esm/assertThisInitialized.js"),I=t("../node_modules/@babel/runtime-corejs3/helpers/esm/inherits.js"),N=t("../node_modules/@babel/runtime-corejs3/helpers/esm/possibleConstructorReturn.js"),z=t("../node_modules/@babel/runtime-corejs3/helpers/esm/getPrototypeOf.js"),U=t("../node_modules/@babel/runtime-corejs3/helpers/esm/defineProperty.js"),L=t("../node_modules/@babel/runtime-corejs3/core-js-stable/json/stringify.js"),T=t.n(L),R=t("../node_modules/@babel/runtime-corejs3/helpers/esm/typeof.js"),q=t("preact"),B=t("./components/utils/array.ts"),Z=t("./components/utils/object.ts"),V=t("./core/ExceptionHandler/index.ts"),$=t("./components/utils/onfidoApi.ts"),H=t("./components/ReduxAppWrapper/index.tsx"),G=t("../node_modules/@babel/runtime-corejs3/core-js-stable/map.js"),W=t.n(G),K=new(W())([["screen_welcome","WELCOME"],["screen_workflow_retry","WORKFLOW_RETRY"],["screen_userConsent","USER_CONSENT"],["screen_data_capture","DATA_CAPTURE"],["screen_document_front_capture_file_upload","DOCUMENT_CAPTURE_FRONT"],["screen_document_front_confirmation","DOCUMENT_CAPTURE_CONFIRMATION_FRONT"],["screen_document_back_capture_file_upload","DOCUMENT_CAPTURE_BACK"],["screen_document_back_confirmation","DOCUMENT_CAPTURE_CONFIRMATION_BACK"],["screen_face_selfie_intro","FACIAL_INTRO"],["screen_face_selfie_capture","FACIAL_CAPTURE"],["screen_face_selfie_confirmation","FACIAL_CAPTURE_CONFIRMATION"],["screen_face_video_intro","VIDEO_FACIAL_INTRO"],["screen_face_video_capture_step_1","VIDEO_FACIAL_CAPTURE_STEP_1"],["screen_face_video_capture_step_2","VIDEO_FACIAL_CAPTURE_STEP_2"],["screen_document_type_select","DOCUMENT_TYPE_SELECT"],["screen_document_country_select","ID_DOCUMENT_COUNTRY_SELECT"],["screen_crossDevice","CROSS_DEVICE_INTRO"],["screen_crossDevice_crossdevice_link","CROSS_DEVICE_GET_LINK"],["document_upload_started","UPLOAD"],["document_video_upload_started","UPLOAD"],["face_video_upload_started","UPLOAD"],["Starting snapshot upload","UPLOAD"],["Starting live photo upload","UPLOAD"],["active_video_upload_started","UPLOAD"]]),Y=new(W())([["screen_complete",{eventName:"COMPLETE",properties:{event_type:"screen"}}],["screen_complete_crossdevice_mobile_success",{eventName:"COMPLETE_CROSS_DEVICE_MOBILE_SUCCESS",properties:{event_type:"screen"}}],["screen_document_country_select",{eventName:"COUNTRY_SELECTION",properties:{event_type:"screen"}}],["screen_document_crossDevice_client_intro",{eventName:"CROSS_DEVICE_CLIENT_INTRO",properties:{event_type:"screen"}}],["screen_face_crossDevice_client_intro",{eventName:"CROSS_DEVICE_CLIENT_INTRO",properties:{event_type:"screen"}}],["screen_poa_crossDevice_client_intro",{eventName:"CROSS_DEVICE_CLIENT_INTRO",properties:{event_type:"screen"}}],["screen_crossDevice_desktop_submit",{eventName:"CROSS_DEVICE_DESKTOP_SUBMIT",properties:{event_type:"screen"}}],["screen_crossDevice_crossdevice_link",{eventName:"CROSS_DEVICE_GET_LINK",properties:{event_type:"screen"}}],["screen_crossDevice",{eventName:"CROSS_DEVICE_INTRO",properties:{event_type:"screen"}}],["copy link selected",{eventName:"CROSS_DEVICE_LINK_METHOD_SELECTED",properties:{event_type:"action",link_method_selected:"copy"}}],["qr code selected",{eventName:"CROSS_DEVICE_LINK_METHOD_SELECTED",properties:{event_type:"action",link_method_selected:"qr_code"}}],["sms selected",{eventName:"CROSS_DEVICE_LINK_METHOD_SELECTED",properties:{event_type:"action",link_method_selected:"sms"}}],["screen_crossDevice_mobile_notification_sent",{eventName:"CROSS_DEVICE_MOBILE_NOTIFICATION_SENT",properties:{event_type:"action"}}],["screen_crossDevice_mobile_connected",{eventName:"CROSS_DEVICE_MOBILE_SUBMIT",properties:{event_type:"screen"}}],["screen_crossDevice_sms_failed",{eventName:"CROSS_DEVICE_SMS_FAILED",properties:{event_type:"view"}}],["Starting upload",{eventName:"CUSTOM_API_REQUEST_STARTED",properties:{event_type:"flow"}}],["Completed upload",{eventName:"CUSTOM_API_REQUEST_COMPLETED",properties:{event_type:"flow"}}],["Taking live photo of document",{eventName:"DOCUMENT_CAMERA_SHUTTER_CLICK",properties:{event_type:"action",capture_method_rendered:"camera"}}],["screen_document_back_capture_file_upload",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",document_side:"back",capture_method_rendered:"upload"}}],["screen_document_back_capture",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",document_side:"front"}}],["screen_document_front_capture_file_upload",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload",document_side:"front"}}],["screen_document_front_capture",{eventName:"DOCUMENT_CAPTURE",properties:{event_type:"screen",document_side:"front"}}],["screen_document_back_confirmation",{eventName:"DOCUMENT_CONFIRMATION",properties:{event_type:"screen",document_side:"back"}}],["screen_document_front_confirmation",{eventName:"DOCUMENT_CONFIRMATION",properties:{event_type:"screen",document_side:"front"}}],["screen_document_back_confirmation_retake_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action",document_side:"back"}}],["screen_document_front_confirmation_retake_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action",document_side:"front"}}],["screen_document_back_confirmation_upload_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action",document_side:"back"}}],["screen_document_front_confirmation_upload_button_clicked",{eventName:"DOCUMENT_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action",document_side:"front"}}],["screen_document_fallback_clicked",{eventName:"DOCUMENT_FALLBACK_CLICKED",properties:{event_type:"action"}}],["screen_document_image_quality_guide",{eventName:"DOCUMENT_IMAGE_QUALITY_GUIDE",properties:{event_type:"screen"}}],["screen_document_type_select",{eventName:"DOCUMENT_TYPE_SELECTION",properties:{event_type:"screen",combined_country_and_document_selection:!0}}],["screen_document_document_video_capture_file_upload",{eventName:"DOCUMENT_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_document_document_video_capture",{eventName:"DOCUMENT_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"camera"}}],["screen_document_document_video_capture_camera_access",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS",properties:{event_type:"screen"}}],["screen_document_document_video_capture_camera_access_denied",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED",properties:{event_type:"screen"}}],["screen_document_document_video_capture_camera_access_allow_button_clicked",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS_ALLOW_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_document_document_video_capture_camera_access_denied_refresh_button_clicked",{eventName:"DOCUMENT_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED_REFRESH_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_document_document_video_capture_fallback_triggered",{eventName:"DOCUMENT_VIDEO_FALLBACK_TRIGGERED",properties:{event_type:"action"}}],["screen_face_selfie_intro",{eventName:"FACE_SELFIE_INTRO",properties:{event_type:"screen"}}],["screen_face_selfie_intro_take_selfie_button_clicked",{eventName:"FACE_SELFIE_INTRO_TAKE_SELFIE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_camera_access",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS",properties:{event_type:"screen"}}],["screen_face_selfie_capture_camera_access_denied",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS_DENIED",properties:{event_type:"screen"}}],["screen_face_selfie_capture_camera_access_allow_button_clicked",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS_ALLOW_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_camera_access_denied_refresh_button_clicked",{eventName:"FACE_SELFIE_CAPTURE_CAMERA_ACCESS_DENIED_REFRESH_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_file_upload",{eventName:"FACE_SELFIE_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_face_selfie_capture",{eventName:"FACE_SELFIE_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"camera"}}],["screen_face_selfie_capture_capture_button_clicked",{eventName:"FACE_SELFIE_CAPTURE_CAPTURE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_confirmation",{eventName:"FACE_SELFIE_CONFIRMATION",properties:{event_type:"screen"}}],["screen_face_selfie_confirmation_retake_button_clicked",{eventName:"FACE_SELFIE_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_confirmation_upload_button_clicked",{eventName:"FACE_SELFIE_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_selfie_capture_fallback_triggered",{eventName:"FACE_SELFIE_FALLBACK_TRIGGERED",properties:{event_type:"action"}}],["Snapshot upload completed",{eventName:"FACE_SELFIE_SNAPSHOT_UPLOAD_COMPLETED",properties:{event_type:"flow"}}],["Starting snapshot upload",{eventName:"FACE_SELFIE_SNAPSHOT_UPLOAD_STARTED",properties:{event_type:"flow"}}],["Starting live photo upload",{eventName:"FACE_SELFIE_UPLOAD_STARTED",properties:{event_type:"flow",capture_method_rendered:"camera"}}],["Live photo upload completed",{eventName:"FACE_SELFIE_UPLOAD_COMPLETED",properties:{event_type:"flow",capture_method_rendered:"camera"}}],["screen_face_face_video_capture_file_upload",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_face_face_video_capture",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"camera"}}],["screen_face_face_video_capture_camera_access",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS",properties:{event_type:"screen"}}],["screen_face_face_video_capture_camera_access_denied",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED",properties:{event_type:"screen"}}],["screen_face_face_video_capture_camera_access_allow_button_clicked",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS_ALLOW_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_capture_camera_access_denied_refresh_button_clicked",{eventName:"FACE_VIDEO_CAPTURE_CAMERA_ACCESS_DENIED_REFRESH_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_confirmation_video_error",{eventName:"FACE_VIDEO_CONFIRMATION_VIDEO_ERROR",properties:{event_type:"view",ui_alerts:{video_error:"warning"}}}],["screen_face_video_capture_step_1",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen"}}],["screen_face_video_capture_step_2",{eventName:"FACE_VIDEO_CAPTURE",properties:{event_type:"screen"}}],["screen_face_video_challenge_load_failed",{eventName:"FACE_VIDEO_CHALLENGE_FETCH_ERROR",properties:{event_type:"flow"}}],["screen_face_video_challenge_loaded",{eventName:"FACE_VIDEO_CHALLENGE_LOADED",properties:{event_type:"flow"}}],["screen_face_video_challenge_requested",{eventName:"FACE_VIDEO_CHALLENGE_REQUESTED",properties:{event_type:"flow"}}],["screen_face_face_video_confirmation",{eventName:"FACE_VIDEO_CONFIRMATION",properties:{event_type:"screen"}}],["screen_face_face_video_confirmation_retake_button_clicked",{eventName:"FACE_VIDEO_CONFIRMATION_RETAKE_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_confirmation_upload_button_clicked",{eventName:"FACE_VIDEO_CONFIRMATION_UPLOAD_BUTTON_CLICKED",properties:{event_type:"action"}}],["screen_face_face_video_capture_fallback_triggered",{eventName:"FACE_VIDEO_FALLBACK_TRIGGERED",properties:{event_type:"action"}}],["screen_face_video_intro",{eventName:"FACE_VIDEO_INTRO",properties:{event_type:"screen"}}],["screen_face_video_intro_record_video_button_clicked",{eventName:"FACE_VIDEO_INTRO_RECORD_VIDEO_BUTTON_CLICKED",properties:{event_type:"action"}}],["completed flow",{eventName:"FLOW_COMPLETED",properties:{event_type:"flow"}}],["started flow",{eventName:"FLOW_STARTED",properties:{event_type:"flow"}}],["screen_forbidden_client_error",{eventName:"FORBIDDEN_CLIENT_ERROR",properties:{event_type:"screen"}}],["screen_generic_client_error",{eventName:"GENERIC_CLIENT_ERROR",properties:{event_type:"screen"}}],["screen_interrupted_flow_error",{eventName:"INTERRUPTED_FLOW_ERROR",properties:{event_type:"screen"}}],["screen_poa_poa_file_upload",{eventName:"POA_CAPTURE",properties:{event_type:"screen",capture_method_rendered:"upload"}}],["screen_poa_poa",{eventName:"POA_CAPTURE_POA",properties:{event_type:"screen"}}],["screen_poa_front_confirmation",{eventName:"POA_CONFIRMATION",properties:{event_type:"screen"}}],["screen_poa_type_select",{eventName:"POA_DOCUMENT_TYPE_SELECTION",properties:{event_type:"screen"}}],["screen_poa_poa_country_select",{eventName:"POA_COUNTRY_SELECTION",properties:{event_type:"screen"}}],["screen_poa",{eventName:"POA_INTRO",properties:{event_type:"screen"}}],["screen_unsupported_android_browser",{eventName:"UNSUPPORTED_BROWSER",properties:{event_type:"screen"}}],["screen_unsupported_ios_browser",{eventName:"UNSUPPORTED_BROWSER",properties:{event_type:"screen"}}],["screen_data_capture",{eventName:"DATA_CAPTURE",properties:{event_type:"screen"}}],["screen_userConsent",{eventName:"USER_CONSENT",properties:{event_type:"screen"}}],["screen_welcome",{eventName:"WELCOME",properties:{event_type:"screen"}}],["screen_workflow_retry",{eventName:"WORKFLOW_RETRY",properties:{event_type:"screen"}}],["screen_document_front_confirmation_cutoff_detected",{eventName:"DOCUMENT_CONFIRMATION_ERROR",properties:{event_type:"view",document_side:"front",ui_alerts:{cutoff:"error"}}}],["screen_document_front_confirmation_cutoff_detected_warning",{eventName:"DOCUMENT_CONFIRMATION_WARNING",properties:{event_type:"view",document_side:"front",warning_shown:"cutoff"}}],["screen_document_back_confirmation_cutoff_detected",{eventName:"DOCUMENT_CONFIRMATION_ERROR",properties:{event_type:"view",document_side:"back",ui_alerts:{cutoff:"error"}}}],["screen_document_back_confirmation_cutoff_detected_warning",{eventName:"DOCUMENT_CONFIRMATION_WARNING",properties:{event_type:"view",document_side:"back",warning_shown:"cutoff"}}],["screen_document_front_confirmation_blur_detected",{eventName:"DOCUMENT_CONFIRMATION_ERROR",properties:{event_type:"view",document_side:"front",ui_alerts:{blur:"error"}}}],["screen_document_front_confirmation_blur_detected_warning",{eventName:"DOCUMENT_CONFIRMATION_WARNING",properties:{event_type:"view",document_side:"front",warning_shown:"blur"}}],["screen_document_back_confirmation_blur_detected",{eventName:"DOCUMENT_CONFIRMATION_ERROR",properties:{event_type:"view",document_side:"back",ui_alerts:{blur:"error"}}}],["screen_document_back_confirmation_blur_detected_warning",{eventName:"DOCUMENT_CONFIRMATION_WARNING",properties:{event_type:"view",document_side:"back",warning_shown:"blur"}}],["screen_document_front_confirmation_glare_detected",{eventName:"DOCUMENT_CONFIRMATION_ERROR",properties:{event_type:"view",document_side:"front",ui_alerts:{glare:"error"}}}],["screen_document_front_confirmation_glare_detec