From a859f57c647d1de34481057a520f329314c25c9d Mon Sep 17 00:00:00 2001 From: Ricardo Freitas Date: Fri, 4 Nov 2016 11:54:38 +0000 Subject: [PATCH] bumped version; updated dist; --- CHANGELOG.md | 4 ++-- dist/onfido.min.js | 19 ++++++++++--------- dist/style.css | 2 +- package.json | 2 +- 4 files changed, 14 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57b02f8101..7c19302ea3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ The standard for the caret can [be found here](https://docs.npmjs.com/misc/semve Breaking changes result in a different major. UI changes that might break customizations on top of the sdk, will be treated as breaking changes too. -## [new-version] +## [0.8.3] ### Added - Started tracking fatal exceptions and page views of the SDK. @@ -88,7 +88,7 @@ Breaking changes result in a different major. UI changes that might break custom The standard for this change log can be found [here](http://keepachangelog.com/). -[new-version]: https://github.com/onfido/onfido-sdk-ui/compare/0.8.2...master +[0.8.3]: https://github.com/onfido/onfido-sdk-ui/compare/0.8.2...0.8.3 [0.8.2]: https://github.com/onfido/onfido-sdk-ui/compare/0.8.1...0.8.2 [0.8.1]: https://github.com/onfido/onfido-sdk-ui/compare/0.8.0...0.8.1 [0.8.0]: https://github.com/onfido/onfido-sdk-ui/compare/0.7.0...0.8.0 diff --git a/dist/onfido.min.js b/dist/onfido.min.js index 6e42ad3ccf..35c2d53202 100644 --- a/dist/onfido.min.js +++ b/dist/onfido.min.js @@ -1,12 +1,12 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Onfido=t():e.Onfido=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(24),n(7),n(39),n(32),n(3),n(14)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u,a,s){"use strict";function c(e){return e&&e.__esModule?e:{"default":e}}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function d(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function h(e){var t=T,n={ready:function(){return e.onReady()},documentCapture:function(n){return e.onDocumentCapture(t(n))},faceCapture:function(n){return e.onFaceCapture(t(n))},complete:function(n){return e.onComplete(t(n))}};return b["default"].forIn(n,function(e,t){o.events.once(t,e)}),n}function v(e){b["default"].forIn(e,function(e,t){o.events.off(t,e)})}function y(e,t){return t&&v(t),h(e)}Object.defineProperty(t,"__esModule",{value:!0});var m=c(i),g=c(u),b=c(s),_=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),w=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C=function(e){var t=e.options,r=t.useModal,o=t.isModalOpen,i=t.buttonId,u=d(t,["useModal","isModalOpen","buttonId"]),a=d(e,["options"]);return(0,n.h)(m["default"],w({useModal:r,buttonId:i},{isOpen:o}),(0,n.h)(g["default"],w({options:u},a)))},O=function(e){var t=e.options,i=e.socket;return(0,n.h)(r.Provider,{store:o.store},(0,n.h)(a.Router,{url:"/"},(0,n.h)(C,{options:t,socket:i,path:"/"}),(0,n.h)(C,{options:t,socket:i,path:"/step/:step/"})))},S=function(e){function t(){var e,r,o,i;l(this,t);for(var u=arguments.length,a=Array(u),s=0;u>s;s++)a[s]=arguments[s];return r=o=f(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),o.render=function(e){return(0,n.h)(O,w({},o.props,{socket:o.state.socket}))},i=r,f(o,i)}return p(t,e),_(t,[{key:"componentWillMount",value:function(){var e=this.props.options.token;this.setState({socket:(0,o.connect)(e)})}},{key:"componentWillReceiveProps",value:function(e){var t=e.options.token;this.props.options.token!==t&&this.setState({socket:(0,o.connect)(t)})}}]),t}(n.Component),x=function(e,t,r){return(0,n.render)((0,n.h)(S,{options:e}),t,r)},k=function(e){var t=e.image,n=e.documentType,r=e.id;return void 0===n?{id:r,image:t}:{id:r,image:t,documentType:n}},T=function(e){return b["default"].mapValues(e,function(e){return e?k(e):null})},P={};P.getCaptures=function(){return T(o.events.getCaptures())};var E={token:"some token",buttonId:"onfido-button",containerId:"onfido-mount",onReady:null,onDocumentCapture:null,onFaceCapture:null,onComplete:null};P.init=function(e){var t=w({},E,e),n=h(t),r=document.getElementById(t.containerId),o=x(t,r);return{options:t,element:o,eventListenersMap:n,setOptions:function(e){return this.options=w({},this.options,e),this.eventListenersMap=y(this.options,this.eventListenersMap),this.element=x(this.options,r,this.element),this.options}}},t["default"]=P,e.exports=t["default"]})},function(e,t,n){!function(e,n){n(t)}(this,function(e){function t(e,t,n){this.nodeName=e,this.attributes=t,this.children=n,this.key=t&&t.key}function n(e,n){var r,o,i,u,a=[];for(u=arguments.length;u-- >2;)F.push(arguments[u]);for(n&&n.children&&(F.length||F.push(n.children),delete n.children);F.length;)if((o=F.pop())instanceof Array)for(u=o.length;u--;)F.push(o[u]);else null!=o&&o!==!1&&("number"!=typeof o&&o!==!0||(o+=""),i="string"==typeof o,i&&r?a[a.length-1]+=o:(a.push(o),r=i));var s=new t(e,n||void 0,a);return L.vnode&&L.vnode(s),s}function r(e,t){if(t)for(var n in t)e[n]=t[n];return e}function o(e){return r({},e)}function i(e,t){for(var n=t.split("."),r=0;n.length>r&&e;r++)e=e[n[r]];return e}function u(e){return"function"==typeof e}function a(e){return"string"==typeof e}function s(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function c(e,t){return n(e.nodeName,r(o(e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function l(e,t,n){var r=t.split("."),o=r[0];return function(t){var u,s,c=t&&t.currentTarget||this,l=e.state,f=l,p=a(n)?i(t,n):c.nodeName?(c.nodeName+c.type).match(/^input(che|rad)/i)?c.checked:c.value:t;if(r.length>1){for(s=0;r.length-1>s;s++)f=f[r[s]]||(f[r[s]]={});f[r[s]]=p,p=l[o]}e.setState((u={},u[o]=p,u))}}function f(e){!e._dirty&&(e._dirty=!0)&&1==X.push(e)&&(L.debounceRendering||q)(p)}function p(){var e,t=X;for(X=[];e=t.pop();)e._dirty&&D(e)}function d(e){var t=e&&e.nodeName;return t&&u(t)&&!(t.prototype&&t.prototype.render)}function h(e,t){return e.nodeName(m(e),t||G)}function v(e,t){return a(t)?e instanceof Text:a(t.nodeName)?y(e,t.nodeName):u(t.nodeName)?e._componentConstructor===t.nodeName||d(t):void 0}function y(e,t){return e.normalizedNodeName===t||V(e.nodeName)===V(t)}function m(e){var t=o(e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function b(e,t,n,r,o){if("className"===t&&(t="class"),"class"===t&&r&&"object"==typeof r&&(r=s(r)),"key"===t);else if("class"!==t||o)if("style"===t){if((!r||a(r)||a(n))&&(e.style.cssText=r||""),r&&"object"==typeof r){if(!a(n))for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"!=typeof r[i]||H[i]?r[i]:r[i]+"px"}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html);else if("o"==t[0]&&"n"==t[1]){var c=e._listeners||(e._listeners={});t=V(t.substring(2)),r?c[t]||e.addEventListener(t,w,!!K[t]):c[t]&&e.removeEventListener(t,w,!!K[t]),c[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)_(e,t,null==r?"":r),null!=r&&r!==!1||e.removeAttribute(t);else{var l=o&&t.match(/^xlink\:?(.+)/);null==r||r===!1?l?e.removeAttributeNS("http://www.w3.org/1999/xlink",V(l[1])):e.removeAttribute(t):"object"==typeof r||u(r)||(l?e.setAttributeNS("http://www.w3.org/1999/xlink",V(l[1]),r):e.setAttribute(t,r))}else e.className=r||""}function _(e,t,n){try{e[t]=n}catch(r){}}function w(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function C(e){if(g(e),e instanceof Element){e._component=e._componentConstructor=null;var t=e.normalizedNodeName||V(e.nodeName);(Y[t]||(Y[t]=[])).push(e)}}function O(e,t){var n=V(e),r=Y[n]&&Y[n].pop()||(t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e));return r.normalizedNodeName=n,r}function S(){for(var e;e=Z.pop();)e.componentDidMount&&e.componentDidMount()}function x(e,t,n,r,o,i){J++||(Q=o instanceof SVGElement);var u=k(e,t,n,r);return o&&u.parentNode!==o&&o.appendChild(u),--J||i||S(),u}function k(e,t,n,r){for(var o=t&&t.attributes;d(t);)t=h(t,n);if(null==t&&(t=""),a(t)){if(e){if(e instanceof Text&&e.parentNode)return e.nodeValue=t,e;E(e)}return document.createTextNode(t)}if(u(t.nodeName))return N(e,t,n,r);var i=e,s=t.nodeName,c=Q;if(a(s)||(s+=""),Q="svg"===s||"foreignObject"!==s&&Q,e){if(!y(e,s)){for(i=O(s,Q);e.firstChild;)i.appendChild(e.firstChild);E(e)}}else i=O(s,Q);t.children&&1===t.children.length&&"string"==typeof t.children[0]&&1===i.childNodes.length&&i.firstChild instanceof Text?i.firstChild.nodeValue=t.children[0]:(t.children&&t.children.length||i.firstChild)&&T(i,t.children,n,r);var l=i[$];if(!l){i[$]=l={};for(var f=i.attributes,p=f.length;p--;)l[f[p].name]=f[p].value}return A(i,t.attributes,l),o&&"function"==typeof o.ref&&(l.ref=o.ref)(i),Q=c,i}function T(e,t,n,r){var o,i,a,s,c=e.childNodes,l=[],f={},p=0,d=0,h=c.length,y=0,m=t&&t.length;if(h)for(var g=0;h>g;g++){var b=c[g],_=m?(i=b._component)?i.__key:(i=b[$])?i.key:null:null;_||0===_?(p++,f[_]=b):l[y++]=b}if(m)for(var g=0;m>g;g++){a=t[g],s=null;var _=a.key;if(null!=_)p&&_ in f&&(s=f[_],f[_]=void 0,p--);else if(!s&&y>d){for(o=d;y>o;o++)if(i=l[o],i&&v(i,a)){s=i,l[o]=void 0,o===y-1&&y--,o===d&&d++;break}!s&&y>d&&u(a.nodeName)&&r&&(s=l[d],l[d++]=void 0)}s=k(s,a,n,r),s&&s!==e&&s!==c[g]&&e.insertBefore(s,c[g]||null)}if(p)for(var g in f)f[g]&&E(f[g]);y>d&&P(l)}function P(e,t){for(var n=e.length;n--;)e[n]&&E(e[n],t)}function E(e,t){var n=e._component;n?U(n,!t):(e[$]&&e[$].ref&&e[$].ref(null),t||C(e),e.childNodes&&e.childNodes.length&&P(e.childNodes,t))}function A(e,t,n){for(var r in n)t&&r in t||null==n[r]||b(e,r,n[r],n[r]=void 0,Q);if(t)for(var o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||b(e,o,n[o],n[o]=t[o],Q)}function M(e){var t=e.constructor.name,n=ee[t];n?n.push(e):ee[t]=[e]}function j(e,t,n){var r=new e(t,n),o=ee[e.name];if(I.call(r,t,n),o)for(var i=o.length;i--;)if(o[i].constructor===e){r.nextBase=o[i].nextBase,o.splice(i,1);break}return r}function R(e,t,n,r,o){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&L.syncComponentUpdates===!1&&e.base?f(e):D(e,1,o)),e.__ref&&e.__ref(e))}function D(e,t,n,i){if(!e._disable){var a,s,c,l,f=e.props,p=e.state,v=e.context,y=e.prevProps||f,g=e.prevState||p,b=e.prevContext||v,_=e.base,w=e.nextBase,C=_||w,O=e._component;if(_&&(e.props=y,e.state=g,e.context=b,2!==t&&e.shouldComponentUpdate&&e.shouldComponentUpdate(f,p,v)===!1?a=!0:e.componentWillUpdate&&e.componentWillUpdate(f,p,v),e.props=f,e.state=p,e.context=v),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!a){for(e.render&&(s=e.render(f,p,v)),e.getChildContext&&(v=r(o(v),e.getChildContext()));d(s);)s=h(s,v);var k,T,P=s&&s.nodeName;if(u(P)){c=O;var A=m(s);c&&c.constructor===P?R(c,A,1,v):(k=c,c=j(P,A,v),c.nextBase=c.nextBase||w,c._parentComponent=e,e._component=c,R(c,A,0,v),D(c,1,n,!0)),T=c.base}else l=C,k=O,k&&(l=e._component=null),(C||1===t)&&(l&&(l._component=null),T=x(l,s,v,n||!_,C&&C.parentNode,!0));if(C&&T!==C&&c!==O){var M=C.parentNode;M&&T!==M&&M.replaceChild(T,C),l||k||!e._parentComponent||(C._component=null,E(C))}if(k&&U(k,T!==C),e.base=T,T&&!i){for(var N=e,I=e;I=I._parentComponent;)N=I;T._component=N,T._componentConstructor=N.constructor}}!_||n?Z.unshift(e):!a&&e.componentDidUpdate&&e.componentDidUpdate(y,g,b);var W,L=e._renderCallbacks;if(L)for(;W=L.pop();)W.call(e);J||i||S()}}function N(e,t,n,r){for(var o=e&&e._component,i=e,u=o&&e._componentConstructor===t.nodeName,a=u,s=m(t);o&&!a&&(o=o._parentComponent);)a=o.constructor===t.nodeName;return o&&a&&(!r||o._component)?(R(o,s,3,n,r),e=o.base):(o&&!u&&(U(o,!0),e=i=null),o=j(t.nodeName,s,n),e&&!o.nextBase&&(o.nextBase=e),R(o,s,1,n,r),e=o.base,i&&e!==i&&(i._component=null,E(i))),e}function U(e,t){var n=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var r=e._component;r?U(r,t):n&&(n[$]&&n[$].ref&&n[$].ref(null),e.nextBase=n,t&&(g(n),M(e)),P(n.childNodes,!t)),e.__ref&&e.__ref(null),e.componentDidUnmount&&e.componentDidUnmount()}function I(e,t){this._dirty=!0,this.context=t,this.props=e,this.state||(this.state={})}function W(e,t,n){return x(n,e,{},!1,t)}var L={},F=[],B={},V=function(e){return B[e]||(B[e]=e.toLowerCase())},z="undefined"!=typeof Promise&&Promise.resolve(),q=z?function(e){z.then(e)}:setTimeout,G={},$="undefined"!=typeof Symbol?Symbol["for"]("preactattr"):"__preactattr_",H={boxFlex:1,boxFlexGroup:1,columnCount:1,fillOpacity:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,strokeOpacity:1,widows:1,zIndex:1,zoom:1},K={blur:1,error:1,focus:1,load:1,resize:1,scroll:1},X=[],Y={},Z=[],J=0,Q=!1,ee={};r(I.prototype,{linkState:function(e,t){var n=this._linkedStates||(this._linkedStates={});return n[e+t]||(n[e+t]=l(this,e,t))},setState:function(e,t){var n=this.state;this.prevState||(this.prevState=o(n)),r(n,u(e)?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),f(this)},forceUpdate:function(){D(this,2)},render:function(){}}),e.h=n,e.cloneElement=c,e.Component=I,e.render=W,e.rerender=p,e.options=L})},function(e,t,n){!function(t,r){e.exports=r(n(78),n(1))}(this,function(e,t){function n(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&b(e.attributes,t.defaultProps),n&&b(e.attributes,n),n=e.attributes,e.children&&!e.children.length&&(e.children=void 0),e.children&&(n.children=e.children)}function r(e,t){var n,r,o;if(t){for(o in t)if(n=W.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[W.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function o(e,n,r){var o=n._preactCompatRendered;o&&o.parentNode!==n&&(o=null),o||(o=n.children[0]);for(var i=n.childNodes.length;i--;)n.childNodes[i]!==o&&n.removeChild(n.childNodes[i]);var u=t.render(e,n,o);return n._preactCompatRendered=u,"function"==typeof r&&r(),u&&u._component||u.base}function i(e,n,r,i){var u=t.h(q,{context:e.context},n),a=o(u,r);return i&&i(a),a}function u(e){var n=e._preactCompatRendered;return!(!n||n.parentNode!==e||(t.render(t.h(B),e,n),0))}function a(e){return p.bind(null,e)}function s(e,t){for(var n=t||0;e.length>n;n++){var r=e[n];Array.isArray(r)?s(r):r&&"object"==typeof r&&!v(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(e[n]=p(r.type||r.nodeName,r.props||r.attributes,r.children))}}function c(e){return"function"==typeof e&&!(e.prototype&&e.prototype.render)}function l(e){return C({displayName:e.displayName||e.name,render:function(t,n,r){return e(t,r)}})}function f(e){var t=e[Y];return t?t===!0?e:t:(t=l(e),Object.defineProperty(t,Y,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,Y,{configurable:!0,value:t}),t)}function p(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return s(e,2),d(t.h.apply(void 0,e))}function d(e){e.preactCompatNormalized=!0,g(e),c(e.nodeName)&&(e.nodeName=f(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!G||"string"!==n&&"number"!==n||(e.attributes.ref=y(t,G)),m(e),e}function h(e,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!v(e))return e;var i=e.attributes||e.props,u=t.h(e.nodeName||e.type,i,e.children||i&&i.children);return d(t.cloneElement.apply(void 0,[u,n].concat(r)))}function v(e){return e&&(e instanceof V||e.$$typeof===U)}function y(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function m(e){var t=e.nodeName,n=e.attributes;if(n&&"string"==typeof t){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.onchange){t=t.toLowerCase();var i="input"===t&&"checkbox"===(n.type+"").toLowerCase()?"onclick":"oninput",u=r[i]||i;n[u]||(n[u]=T([n[r[i]],n[r.onchange]]))}}}function g(e){var t=e.attributes;if(t){var n=t.className||t["class"];n&&(t.className=n)}}function b(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function _(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function w(){}function C(e){function t(t,r){b(this,e),n&&S(this,n),j.call(this,t,r,L),x(this),P.call(this,t,r)}var n=e.mixins&&O(e.mixins);return e.statics&&b(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),w.prototype=j.prototype,t.prototype=new w,t.prototype.constructor=t,t.displayName=e.displayName||"Component",t}function O(e){for(var t={},n=0;e.length>n;n++){var r=e[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(t[o]||(t[o]=[])).push(r[o])}return t}function S(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=T(t[n].concat(e[n]||n)))}function x(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||I.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function k(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function T(e){return function(){for(var t,n=arguments,r=this,o=0;e.length>o;o++){var i=k(r,e[o],n);void 0!==i&&(t=i)}return t}}function P(e,t){E.call(this,e,t),this.componentWillReceiveProps=T([E,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=T([E,A,this.render||"render",M])}function E(e,t){var n=this;if(e){var r=e.children;if(r&&Array.isArray(r)&&1===r.length&&(e.children=r[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),F){var o="function"==typeof this?this:this.constructor,i=this.propTypes||o.propTypes;if(i)for(var u in i)if(i.hasOwnProperty(u)&&"function"==typeof i[u]){var a=n.displayName||o.name,s=i[u](e,u,a,"prop");s&&console.error(Error(s.message||s))}}}}function A(e){G=this}function M(){G===this&&(G=null)}function j(e,n,r){t.Component.call(this,e,n),this.getInitialState&&(this.state=this.getInitialState()),this.refs={},this._refProxies={},r!==L&&P.call(this,e,n)}function R(e,t){j.call(this,e,t)}e="default"in e?e["default"]:e;var D="15.1.0",N="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),U="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,I={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},W=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vert|word|writing|x)[A-Z]/,L={},F="undefined"!=typeof process&&process.env&&!1,B=function(){return null},V=t.h("").constructor;V.prototype.$$typeof=U,V.prototype.preactCompatUpgraded=!1,V.prototype.preactCompatNormalized=!1,Object.defineProperty(V.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(V.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var z=t.options.vnode;t.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,o=e.attributes;o||(o=e.attributes={}),"function"==typeof t?(t[Y]===!0||t.prototype&&"isReactComponent"in t.prototype)&&(e.preactCompatNormalized||d(e),n(e)):o&&r(e,o)}z&&z(e)};var q=function(){};q.prototype.getChildContext=function(){return this.props.context},q.prototype.render=function(e){return e.children[0]};for(var G,$=[],H={map:function(e,t,n){return e=H.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t)},forEach:function(e,t,n){e=H.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e=H.toArray(e),e.length},only:function(e){if(e=H.toArray(e),1!==e.length)throw Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return Array.isArray&&Array.isArray(e)?e:$.concat(e)}},K={},X=N.length;X--;)K[N[X]]=a(N[X]);var Y="undefined"!=typeof Symbol?Symbol["for"]("__preactCompatWrapper"):"__preactCompatWrapper",Z=function(e){return e&&e.base||e};j.prototype=new t.Component,b(j.prototype,{constructor:j,isReactComponent:{},replaceState:function(e,t){var n=this;this.setState(e,t);for(var r in this.state)r in e||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),R.prototype=new j({},{},L),R.prototype.shouldComponentUpdate=function(e,t){return _(this.props,e)||_(this.state,t)};var J={version:D,DOM:K,PropTypes:e,Children:H,render:o,createClass:C,createFactory:a,createElement:p,cloneElement:h,isValidElement:v,findDOMNode:Z,unmountComponentAtNode:u,Component:j,PureComponent:R,unstable_renderSubtreeIntoContainer:i};return J})},function(e,t,n){!function(t,r){e.exports=r(n(1))}(this,function(e){"use strict";function t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_,o=/(?:\?([^#]*))?(#.*)?$/,i=e.match(o),u={},a=void 0;if(i&&i[1])for(var s=i[1].split("&"),c=0;s.length>c;c++){var l=s[c].split("=");u[decodeURIComponent(l[0])]=decodeURIComponent(l.slice(1).join("="))}e=r(e.replace(o,"")),t=r(t||"");for(var f=Math.max(e.length,t.length),p=0;f>p;p++)if(t[p]&&":"===t[p].charAt(0)){var d=t[p].replace(/(^\:|[+*?]+$)/g,""),h=(t[p].match(/[+*?]+$/)||_)[0]||"",v=~h.indexOf("+"),y=~h.indexOf("*"),m=e[p]||"";if(!m&&!y&&(h.indexOf("?")<0||v)){a=!1;break}if(u[d]=decodeURIComponent(m),v||y){u[d]=e.slice(p).map(decodeURIComponent).join("/");break}}else if(t[p]!==e[p]){a=!1;break}return(n["default"]===!0||a!==!1)&&u}function n(e,t){var n=e.attributes||_,r=t.attributes||_;if(n["default"])return 1;if(r["default"])return-1;var i=o(n.path)-o(r.path);return i||n.path.length-r.path.length}function r(e){return i(e).split("/")}function o(e){return(i(e).match(/\/+/g)||"").length}function i(e){return e.replace(/(^\/+|\/+$)/g,"")}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function l(e){return x in e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"push";C&&C[t]?C[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}function p(){var e=void 0;return e=C&&C.getCurrentLocation?C.getCurrentLocation():"undefined"!=typeof location?location:S,""+(e.pathname||"")+(e.search||"")}function d(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),h(e)&&f(e,t?"replace":"push"),v(e)}function h(e){for(var t=O.length;t--;)if(O[t].canRoute(e))return!0;return!1}function v(e){for(var t=!1,n=0;O.length>n;n++)O[n].routeTo(e)===!0&&(t=!0);return t}function y(e){if(e&&e.getAttribute){var t=e.getAttribute("href"),n=e.getAttribute("target");if(t&&t.match(/^\//g)&&(!n||n.match(/^_?self$/i)))return d(t)}}function m(e){if(0===e.button)return y(e.currentTarget||e.target||this),g(e)}function g(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function b(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var t=e.target;do if("A"===(t.nodeName+"").toUpperCase()&&t.getAttribute("href")&&l(t)){if(0!==e.button)return;if(y(t))return g(e)}while(t=t.parentNode)}}var _={},w=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},C=null,O=[],S={},x="undefined"!=typeof Symbol?Symbol["for"]("preactattr"):"__preactattr_";"function"==typeof addEventListener&&(addEventListener("popstate",function(){return v(p())}),addEventListener("click",b));var k=function(t){var n=t.children,r=c(t,["children"]);return e.h("a",w({},r,{onClick:m}),n)},T=function(e){function r(t){u(this,r);var n=a(this,e.call(this,t));return t.history&&(C=t.history),n.state={url:n.props.url||p()},n}return s(r,e),r.prototype.shouldComponentUpdate=function(e){return e["static"]!==!0||e.url!==this.props.url||e.onChange!==this.props.onChange},r.prototype.canRoute=function(e){return this.getMatchingChildren(this.props.children,e,!1).length>0},r.prototype.routeTo=function(e){return this._didRoute=!1,this.setState({url:e}),this.updating?this.canRoute(e):(this.forceUpdate(),this._didRoute)},r.prototype.componentWillMount=function(){O.push(this),this.updating=!0},r.prototype.componentDidMount=function(){this.updating=!1},r.prototype.componentWillUnmount=function(){O.splice(O.indexOf(this),1)},r.prototype.componentWillUpdate=function(){this.updating=!0},r.prototype.componentDidUpdate=function(){this.updating=!1},r.prototype.getMatchingChildren=function(e,r,o){return e.slice().sort(n).filter(function(e){var n=e.attributes,i=n.path,u=t(r,i,n);if(u){if(o!==!1){n.url=r,n.matches=u;for(var a in u)u.hasOwnProperty(a)&&(n[a]=u[a])}return!0}})},r.prototype.render=function(e,t){var n=e.children,r=e.onChange,o=t.url,i=this.getMatchingChildren(n,o,!0),u=i[0]||null;this._didRoute=!!u;var a=this.previousUrl;return o!==a&&(this.previousUrl=o,"function"==typeof r&&r({router:this,url:o,previous:a,active:i,current:u})),u},r}(e.Component),P=function(t){var n=t.component,r=t.url,o=t.matches;return e.h(n,{url:r,matches:o})};return T.route=d,T.Router=T,T.Route=P,T.Link=k,T})},function(e,t){e.exports={step:"onfido-sdk-ui-Theme-step",title:"onfido-sdk-ui-Theme-title","mbottom-large":"onfido-sdk-ui-Theme-mbottom-large",btn:"onfido-sdk-ui-Theme-btn","btn-centered":"onfido-sdk-ui-Theme-btn-centered","btn-primary":"onfido-sdk-ui-Theme-btn-primary","btn-alternative":"onfido-sdk-ui-Theme-btn-alternative",center:"onfido-sdk-ui-Theme-center","overlay-shape":"onfido-sdk-ui-Theme-overlay-shape",overlay:"onfido-sdk-ui-Theme-overlay",icon:"onfido-sdk-ui-Theme-icon",actions:"onfido-sdk-ui-Theme-actions"}},function(e,t,n){var r,o,i;!function(u,a){o=[t,n(77),n(1)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(e,"__esModule",{value:!0}),e.impurify=e.wrapWithClass=e.getCSSMilisecsValue=e.getCSSValue=e.functionalSwitch=void 0;var a=r(t),s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&a["return"]&&a["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=(e.functionalSwitch=function(e,t){return(t[e]||function(e){return null})()},e.getCSSValue=function(e,t){var n=(0,a["default"])(t),r=s(n,2),o=r[0],i=r[1];return i!==e&&console.warn("The css @value: "+t+" unit is "+i+" but it should be "+e),o});e.getCSSMilisecsValue=function(e){return c("ms",e)},e.wrapWithClass=function(e,t){return(0,n.h)("div",{className:e},t)},e.impurify=function(e){var t=function(t){function n(){var t,r,u,a;o(this,n);for(var s=arguments.length,c=Array(s),l=0;s>l;l++)c[l]=arguments[l];return r=u=i(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(c))),u.render=function(){return e(u.props)},a=r,i(u,a)}return u(n,t),n}(n.Component);return t.defaultProps=e.defaultProps,t}})},function(e,t){"use strict";t.__esModule=!0,t.SOCKET_URL="wss://ws.onfido.com:9876",t.SOCKET_URL_DEV="wss://document-check-staging.onfido.co.uk:9876",t.XHR_URL="https://api.onfido.com",t.DOCUMENT_CAPTURE="DOCUMENT_CAPTURE",t.FACE_CAPTURE="FACE_CAPTURE",t.SET_AUTHENTICATED="SET_AUTHENTICATED",t.SET_WEBSOCKET_SUPPORT="SET_WEBSOCKET_SUPPORT",t.SET_WEBSOCKET_ERROR="SET_WEBSOCKET_ERROR",t.SET_GUM_SUPPORT="SET_GUM_SUPPORT",t.SET_DOCUMENT_TYPE="SET_DOCUMENT_TYPE",t.CAPTURE_CREATE="CAPTURE_CREATE",t.CAPTURE_VALIDATE="CAPTURE_VALIDATE",t.CAPTURE_CONFIRM="CAPTURE_CONFIRM",t.CAPTURE_DELETE="CAPTURE_DELETE"},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.selectors=t.unboundActions=t.events=t.actions=t.store=t.connect=void 0;var i=n(64),u=o(i),a=n(16),s=o(a),c=n(20),l=o(c),f=n(15),p=n(21),d=r(p);t.connect=u["default"],t.store=s["default"],t.actions=f.actions,t.events=l["default"],t.unboundActions=f.unboundActions,t.selectors=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(28),i=r(o),u=n(96),a=r(u),s=n(95),c=r(s),l=n(94),f=r(l),p=n(27),d=r(p),h=n(29);r(h),t.createStore=i["default"],t.combineReducers=a["default"],t.bindActionCreators=c["default"],t.applyMiddleware=f["default"],t.compose=d["default"]},function(e,t,n){var r,o;/*! +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Onfido=t():e.Onfido=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="/",t(0)}([function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(25),n(7),n(41),n(34),n(3),n(14),n(32)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function p(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function h(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function v(e){var t=P,n={ready:function(){return e.onReady()},documentCapture:function(n){return e.onDocumentCapture(t(n))},faceCapture:function(n){return e.onFaceCapture(t(n))},complete:function(n){return e.onComplete(t(n))}};return b.default.forIn(n,function(e,t){o.events.once(t,e)}),n}function m(e){b.default.forIn(e,function(e,t){o.events.off(t,e)})}function y(e,t){return t&&m(t),v(e)}Object.defineProperty(t,"__esModule",{value:!0});var g=l(i),_=l(a),b=l(s),w=l(c),k=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),x=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};w.default.setUp();var C=function(e){var t=e.options,r=t.useModal,o=t.isModalOpen,i=t.buttonId,a=h(t,["useModal","isModalOpen","buttonId"]),u=h(e,["options"]);return(0,n.h)(g.default,x({useModal:r,buttonId:i},{isOpen:o}),(0,n.h)(_.default,x({options:a},u)))},S=function(e){var t=e.options,i=e.socket;return(0,n.h)(r.Provider,{store:o.store},(0,n.h)(u.Router,{url:"/"},(0,n.h)(C,{options:t,socket:i,path:"/"}),(0,n.h)(C,{options:t,socket:i,path:"/step/:step/"})))},O=function(e){function t(){var e,r,o,i;f(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=p(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),o.render=function(e){return(0,n.h)(S,x({},o.props,{socket:o.state.socket}))},i=r,p(o,i)}return d(t,e),k(t,[{key:"componentWillMount",value:function(){var e=this.props.options.token;this.setState({socket:(0,o.connect)(e)})}},{key:"componentWillReceiveProps",value:function(e){var t=e.options.token;this.props.options.token!==t&&this.setState({socket:(0,o.connect)(t)})}}]),t}(n.Component),E=function(e,t,r){return(0,n.render)((0,n.h)(O,{options:e}),t,r)},T=function(e){var t=e.image,n=e.documentType,r=e.id;return void 0===n?{id:r,image:t}:{id:r,image:t,documentType:n}},P=function(e){return b.default.mapValues(e,function(e){return e?T(e):null})},A={};A.getCaptures=function(){return P(o.events.getCaptures())};var j={token:"some token",buttonId:"onfido-button",containerId:"onfido-mount",onReady:null,onDocumentCapture:null,onFaceCapture:null,onComplete:null};A.init=function(e){w.default.track();var t=x({},j,e),n=v(t),r=document.getElementById(t.containerId),o=E(t,r);return{options:t,element:o,eventListenersMap:n,setOptions:function(e){return this.options=x({},this.options,e),this.eventListenersMap=y(this.options,this.eventListenersMap),this.element=E(this.options,r,this.element),this.options}}},t.default=A,e.exports=t.default})},function(e,t,n){!function(e,n){n(t)}(this,function(e){function t(e,t,n){this.nodeName=e,this.attributes=t,this.children=n,this.key=t&&t.key}function n(e,n){var r,o,i,a,u=[];for(a=arguments.length;a-- >2;)F.push(arguments[a]);for(n&&n.children&&(F.length||F.push(n.children),delete n.children);F.length;)if((o=F.pop())instanceof Array)for(a=o.length;a--;)F.push(o[a]);else null!=o&&o!==!1&&("number"!=typeof o&&o!==!0||(o+=""),i="string"==typeof o,i&&r?u[u.length-1]+=o:(u.push(o),r=i));var s=new t(e,n||void 0,u);return L.vnode&&L.vnode(s),s}function r(e,t){if(t)for(var n in t)e[n]=t[n];return e}function o(e){return r({},e)}function i(e,t){for(var n=t.split("."),r=0;n.length>r&&e;r++)e=e[n[r]];return e}function a(e){return"function"==typeof e}function u(e){return"string"==typeof e}function s(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function c(e,t){return n(e.nodeName,r(o(e.attributes),t),arguments.length>2?[].slice.call(arguments,2):e.children)}function l(e,t,n){var r=t.split(".");return function(t){for(var o=t&&t.target||this,a={},s=a,c=u(n)?i(t,n):o.nodeName?o.type.match(/^che|rad/)?o.checked:o.value:t,l=0;r.length-1>l;l++)s=s[r[l]]||(s[r[l]]=!l&&e.state[r[l]]||{});s[r[l]]=c,e.setState(a)}}function f(e){!e._dirty&&(e._dirty=!0)&&1==X.push(e)&&(L.debounceRendering||H)(p)}function p(){var e,t=X;for(X=[];e=t.pop();)e._dirty&&D(e)}function d(e){var t=e&&e.nodeName;return t&&a(t)&&!(t.prototype&&t.prototype.render)}function h(e,t){return e.nodeName(y(e),t||q)}function v(e,t){return u(t)?e instanceof Text:u(t.nodeName)?m(e,t.nodeName):a(t.nodeName)?e._componentConstructor===t.nodeName||d(t):void 0}function m(e,t){return e.normalizedNodeName===t||V(e.nodeName)===V(t)}function y(e){var t=o(e.attributes);t.children=e.children;var n=e.nodeName.defaultProps;if(n)for(var r in n)void 0===t[r]&&(t[r]=n[r]);return t}function g(e){var t=e.parentNode;t&&t.removeChild(e)}function _(e,t,n,r,o){if("className"===t&&(t="class"),"class"===t&&r&&"object"==typeof r&&(r=s(r)),"key"===t);else if("class"!==t||o)if("style"===t){if((!r||u(r)||u(n))&&(e.style.cssText=r||""),r&&"object"==typeof r){if(!u(n))for(var i in n)i in r||(e.style[i]="");for(var i in r)e.style[i]="number"!=typeof r[i]||K[i]?r[i]:r[i]+"px"}}else if("dangerouslySetInnerHTML"===t)r&&(e.innerHTML=r.__html);else if("o"==t[0]&&"n"==t[1]){var c=e._listeners||(e._listeners={});t=V(t.substring(2)),r?c[t]||e.addEventListener(t,w,!!G[t]):c[t]&&e.removeEventListener(t,w,!!G[t]),c[t]=r}else if("list"!==t&&"type"!==t&&!o&&t in e)b(e,t,null==r?"":r),null!=r&&r!==!1||e.removeAttribute(t);else{var l=o&&t.match(/^xlink\:?(.+)/);null==r||r===!1?l?e.removeAttributeNS("http://www.w3.org/1999/xlink",V(l[1])):e.removeAttribute(t):"object"==typeof r||a(r)||(l?e.setAttributeNS("http://www.w3.org/1999/xlink",V(l[1]),r):e.setAttribute(t,r))}else e.className=r||""}function b(e,t,n){try{e[t]=n}catch(e){}}function w(e){return this._listeners[e.type](L.event&&L.event(e)||e)}function k(e){if(g(e),e instanceof Element){e._component=e._componentConstructor=null;var t=e.normalizedNodeName||V(e.nodeName);(J[t]||(J[t]=[])).push(e)}}function x(e,t){var n=V(e),r=J[n]&&J[n].pop()||(t?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e));return r.normalizedNodeName=n,r}function C(){for(var e;e=Y.pop();)L.afterMount&&L.afterMount(e),e.componentDidMount&&e.componentDidMount()}function S(e,t,n,r,o,i){Z++||(Q=o instanceof SVGElement);var a=O(e,t,n,r);return o&&a.parentNode!==o&&o.appendChild(a),--Z||i||C(),a}function O(e,t,n,r){for(var o=t&&t.attributes;d(t);)t=h(t,n);if(null==t&&(t=""),u(t)){if(e){if(e instanceof Text&&e.parentNode)return e.nodeValue!=t&&(e.nodeValue=t),e;P(e)}return document.createTextNode(t)}if(a(t.nodeName))return N(e,t,n,r);var i=e,s=t.nodeName,c=Q,l=t.children;if(u(s)||(s+=""),Q="svg"===s||"foreignObject"!==s&&Q,e){if(!m(e,s)){for(i=x(s,Q);e.firstChild;)i.appendChild(e.firstChild);P(e)}}else i=x(s,Q);l&&1===l.length&&"string"==typeof l[0]&&1===i.childNodes.length&&i.firstChild instanceof Text?i.firstChild.nodeValue!=l[0]&&(i.firstChild.nodeValue=l[0]):(l&&l.length||i.firstChild)&&E(i,l,n,r);var f=i[$];if(!f){i[$]=f={};for(var p=i.attributes,v=p.length;v--;)f[p[v].name]=p[v].value}return A(i,t.attributes,f),o&&"function"==typeof o.ref&&(f.ref=o.ref)(i),Q=c,i}function E(e,t,n,r){var o,i,u,s,c=e.childNodes,l=[],f={},p=0,d=0,h=c.length,m=0,y=t&&t.length;if(h)for(var g=0;h>g;g++){var _=c[g],b=y?(i=_._component)?i.__key:(i=_[$])?i.key:null:null;b||0===b?(p++,f[b]=_):l[m++]=_}if(y)for(var g=0;y>g;g++){u=t[g],s=null;var b=u.key;if(null!=b)p&&b in f&&(s=f[b],f[b]=void 0,p--);else if(!s&&m>d){for(o=d;m>o;o++)if(i=l[o],i&&v(i,u)){s=i,l[o]=void 0,o===m-1&&m--,o===d&&d++;break}!s&&m>d&&a(u.nodeName)&&r&&(s=l[d],l[d++]=void 0)}s=O(s,u,n,r),s&&s!==e&&s!==c[g]&&e.insertBefore(s,c[g]||null)}if(p)for(var g in f)f[g]&&P(f[g]);m>d&&T(l)}function T(e,t){for(var n=e.length;n--;)e[n]&&P(e[n],t)}function P(e,t){var n=e._component;n?I(n,!t):(e[$]&&e[$].ref&&e[$].ref(null),t||k(e),e.childNodes&&e.childNodes.length&&T(e.childNodes,t))}function A(e,t,n){for(var r in n)t&&r in t||null==n[r]||_(e,r,n[r],n[r]=void 0,Q);if(t)for(var o in t)"children"===o||"innerHTML"===o||o in n&&t[o]===("value"===o||"checked"===o?e[o]:n[o])||_(e,o,n[o],n[o]=t[o],Q)}function j(e){var t=e.constructor.name,n=ee[t];n?n.push(e):ee[t]=[e]}function M(e,t,n){var r=new e(t,n),o=ee[e.name];if(U.call(r,t,n),o)for(var i=o.length;i--;)if(o[i].constructor===e){r.nextBase=o[i].nextBase,o.splice(i,1);break}return r}function R(e,t,n,r,o){e._disable||(e._disable=!0,(e.__ref=t.ref)&&delete t.ref,(e.__key=t.key)&&delete t.key,!e.base||o?e.componentWillMount&&e.componentWillMount():e.componentWillReceiveProps&&e.componentWillReceiveProps(t,r),r&&r!==e.context&&(e.prevContext||(e.prevContext=e.context),e.context=r),e.prevProps||(e.prevProps=e.props),e.props=t,e._disable=!1,0!==n&&(1!==n&&L.syncComponentUpdates===!1&&e.base?f(e):D(e,1,o)),e.__ref&&e.__ref(e))}function D(e,t,n,i){if(!e._disable){var u,s,c,l,f=e.props,p=e.state,v=e.context,m=e.prevProps||f,g=e.prevState||p,_=e.prevContext||v,b=e.base,w=e.nextBase,k=b||w,x=e._component;if(b&&(e.props=m,e.state=g,e.context=_,2!==t&&e.shouldComponentUpdate&&e.shouldComponentUpdate(f,p,v)===!1?u=!0:e.componentWillUpdate&&e.componentWillUpdate(f,p,v),e.props=f,e.state=p,e.context=v),e.prevProps=e.prevState=e.prevContext=e.nextBase=null,e._dirty=!1,!u){for(e.render&&(s=e.render(f,p,v)),e.getChildContext&&(v=r(o(v),e.getChildContext()));d(s);)s=h(s,v);var O,E,T=s&&s.nodeName;if(a(T)){c=x;var A=y(s);c&&c.constructor===T?R(c,A,1,v):(O=c,c=M(T,A,v),c.nextBase=c.nextBase||w,c._parentComponent=e,e._component=c,R(c,A,0,v),D(c,1,n,!0)),E=c.base}else l=k,O=x,O&&(l=e._component=null),(k||1===t)&&(l&&(l._component=null),E=S(l,s,v,n||!b,k&&k.parentNode,!0));if(k&&E!==k&&c!==x){var j=k.parentNode;j&&E!==j&&(j.replaceChild(E,k),O||(k._component=null,P(k)))}if(O&&I(O,E!==k),e.base=E,E&&!i){for(var N=e,U=e;U=U._parentComponent;)(N=U).base=E;E._component=N,E._componentConstructor=N.constructor}}!b||n?Y.unshift(e):u||(e.componentDidUpdate&&e.componentDidUpdate(m,g,_),L.afterUpdate&&L.afterUpdate(e));var W,F=e._renderCallbacks;if(F)for(;W=F.pop();)W.call(e);Z||i||C()}}function N(e,t,n,r){for(var o=e&&e._component,i=e,a=o&&e._componentConstructor===t.nodeName,u=a,s=y(t);o&&!u&&(o=o._parentComponent);)u=o.constructor===t.nodeName;return o&&u&&(!r||o._component)?(R(o,s,3,n,r),e=o.base):(o&&!a&&(I(o,!0),e=i=null),o=M(t.nodeName,s,n),e&&!o.nextBase&&(o.nextBase=e,i=null),R(o,s,1,n,r),e=o.base,i&&e!==i&&(i._component=null,P(i))),e}function I(e,t){L.beforeUnmount&&L.beforeUnmount(e);var n=e.base;e._disable=!0,e.componentWillUnmount&&e.componentWillUnmount(),e.base=null;var r=e._component;r?I(r,t):n&&(n[$]&&n[$].ref&&n[$].ref(null),e.nextBase=n,t&&(g(n),j(e)),T(n.childNodes,!t)),e.__ref&&e.__ref(null),e.componentDidUnmount&&e.componentDidUnmount()}function U(e,t){this._dirty=!0,this.context=t,this.props=e,this.state||(this.state={})}function W(e,t,n){return S(n,e,{},!1,t)}var L={},F=[],B={},V=function(e){return B[e]||(B[e]=e.toLowerCase())},z="undefined"!=typeof Promise&&Promise.resolve(),H=z?function(e){z.then(e)}:setTimeout,q={},$="undefined"!=typeof Symbol?Symbol.for("preactattr"):"__preactattr_",K={boxFlex:1,boxFlexGroup:1,columnCount:1,fillOpacity:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,fontWeight:1,lineClamp:1,lineHeight:1,opacity:1,order:1,orphans:1,strokeOpacity:1,widows:1,zIndex:1,zoom:1},G={blur:1,error:1,focus:1,load:1,resize:1,scroll:1},X=[],J={},Y=[],Z=0,Q=!1,ee={};r(U.prototype,{linkState:function(e,t){var n=this._linkedStates||(this._linkedStates={});return n[e+t]||(n[e+t]=l(this,e,t))},setState:function(e,t){var n=this.state;this.prevState||(this.prevState=o(n)),r(n,a(e)?e(n,this.props):e),t&&(this._renderCallbacks=this._renderCallbacks||[]).push(t),f(this)},forceUpdate:function(){D(this,2)},render:function(){}}),e.h=n,e.cloneElement=c,e.Component=U,e.render=W,e.rerender=p,e.options=L})},function(e,t,n){!function(t,r){e.exports=r(n(85),n(1))}(this,function(e,t){function n(e){var t=e.nodeName,n=e.attributes;e.attributes={},t.defaultProps&&_(e.attributes,t.defaultProps),n&&_(e.attributes,n),n=e.attributes,e.children&&!e.children.length&&(e.children=void 0),e.children&&(n.children=e.children)}function r(e,t){var n,r,o;if(t){for(o in t)if(n=W.test(o))break;if(n){r=e.attributes={};for(o in t)t.hasOwnProperty(o)&&(r[W.test(o)?o.replace(/([A-Z0-9])/,"-$1").toLowerCase():o]=t[o])}}}function o(e,n,r){var o=n._preactCompatRendered;o&&o.parentNode!==n&&(o=null),o||(o=n.children[0]);for(var i=n.childNodes.length;i--;)n.childNodes[i]!==o&&n.removeChild(n.childNodes[i]);var a=t.render(e,n,o);return n._preactCompatRendered=a,"function"==typeof r&&r(),a&&a._component||a.base}function i(e,n,r,i){var a=t.h(H,{context:e.context},n),u=o(a,r);return i&&i(u),u}function a(e){var n=e._preactCompatRendered;return!(!n||n.parentNode!==e||(t.render(t.h(B),e,n),0))}function u(e){return p.bind(null,e)}function s(e,t){for(var n=t||0;e.length>n;n++){var r=e[n];Array.isArray(r)?s(r):r&&"object"==typeof r&&!v(r)&&(r.props&&r.type||r.attributes&&r.nodeName||r.children)&&(e[n]=p(r.type||r.nodeName,r.props||r.attributes,r.children))}}function c(e){return"function"==typeof e&&!(e.prototype&&e.prototype.render)}function l(e){return k({displayName:e.displayName||e.name,render:function(t,n,r){return e(t,r)}})}function f(e){var t=e[J];return t?t===!0?e:t:(t=l(e),Object.defineProperty(t,J,{configurable:!0,value:!0}),t.displayName=e.displayName,t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,Object.defineProperty(e,J,{configurable:!0,value:t}),t)}function p(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];return s(e,2),d(t.h.apply(void 0,e))}function d(e){e.preactCompatNormalized=!0,g(e),c(e.nodeName)&&(e.nodeName=f(e.nodeName));var t=e.attributes.ref,n=t&&typeof t;return!q||"string"!==n&&"number"!==n||(e.attributes.ref=m(t,q)),y(e),e}function h(e,n){for(var r=[],o=arguments.length-2;o-- >0;)r[o]=arguments[o+2];if(!v(e))return e;var i=e.attributes||e.props,a=t.h(e.nodeName||e.type,i,e.children||i&&i.children);return d(t.cloneElement.apply(void 0,[a,n].concat(r)))}function v(e){return e&&(e instanceof V||e.$$typeof===I)}function m(e,t){return t._refProxies[e]||(t._refProxies[e]=function(n){t&&t.refs&&(t.refs[e]=n,null===n&&(delete t._refProxies[e],t=null))})}function y(e){var t=e.nodeName,n=e.attributes;if(n&&"string"==typeof t){var r={};for(var o in n)r[o.toLowerCase()]=o;if(r.onchange){t=t.toLowerCase();var i="input"===t&&"checkbox"===(n.type+"").toLowerCase()?"onclick":"oninput",a=r[i]||i;n[a]||(n[a]=E([n[r[i]],n[r.onchange]]))}}}function g(e){var t=e.attributes;if(t){var n=t.className||t.class;n&&(t.className=n)}}function _(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function b(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}function w(){}function k(e){function t(t,r){_(this,e),n&&C(this,n),M.call(this,t,r,L),S(this),T.call(this,t,r)}var n=e.mixins&&x(e.mixins);return e.statics&&_(t,e.statics),e.propTypes&&(t.propTypes=e.propTypes),e.defaultProps&&(t.defaultProps=e.defaultProps),e.getDefaultProps&&(t.defaultProps=e.getDefaultProps()),w.prototype=M.prototype,t.prototype=new w,t.prototype.constructor=t,t.displayName=e.displayName||"Component",t}function x(e){for(var t={},n=0;e.length>n;n++){var r=e[n];for(var o in r)r.hasOwnProperty(o)&&"function"==typeof r[o]&&(t[o]||(t[o]=[])).push(r[o])}return t}function C(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=E(t[n].concat(e[n]||n)))}function S(e){for(var t in e){var n=e[t];"function"!=typeof n||n.__bound||U.hasOwnProperty(t)||((e[t]=n.bind(e)).__bound=!0)}}function O(e,t,n){if("string"==typeof t&&(t=e.constructor.prototype[t]),"function"==typeof t)return t.apply(e,n)}function E(e){return function(){for(var t,n=arguments,r=this,o=0;e.length>o;o++){var i=O(r,e[o],n);void 0!==i&&(t=i)}return t}}function T(e,t){P.call(this,e,t),this.componentWillReceiveProps=E([P,this.componentWillReceiveProps||"componentWillReceiveProps"]),this.render=E([P,A,this.render||"render",j])}function P(e,t){var n=this;if(e){var r=e.children;if(r&&Array.isArray(r)&&1===r.length&&(e.children=r[0],e.children&&"object"==typeof e.children&&(e.children.length=1,e.children[0]=e.children)),F){var o="function"==typeof this?this:this.constructor,i=this.propTypes||o.propTypes;if(i)for(var a in i)if(i.hasOwnProperty(a)&&"function"==typeof i[a]){var u=n.displayName||o.name,s=i[a](e,a,u,"prop");s&&console.error(Error(s.message||s))}}}}function A(e){q=this}function j(){q===this&&(q=null)}function M(e,n,r){t.Component.call(this,e,n),this.getInitialState&&(this.state=this.getInitialState()),this.refs={},this._refProxies={},r!==L&&T.call(this,e,n)}function R(e,t){M.call(this,e,t)}e="default"in e?e.default:e;var D="15.1.0",N="a abbr address area article aside audio b base bdi bdo big blockquote body br button canvas caption cite code col colgroup data datalist dd del details dfn dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link main map mark menu menuitem meta meter nav noscript object ol optgroup option output p param picture pre progress q rp rt ruby s samp script section select small source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr circle clipPath defs ellipse g image line linearGradient mask path pattern polygon polyline radialGradient rect stop svg text tspan".split(" "),I="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,U={constructor:1,render:1,shouldComponentUpdate:1,componentWillReceiveProps:1,componentWillUpdate:1,componentDidUpdate:1,componentWillMount:1,componentDidMount:1,componentWillUnmount:1,componentDidUnmount:1},W=/^(?:accent|alignment|arabic|baseline|cap|clip|color|fill|flood|font|glyph|horiz|marker|overline|paint|stop|strikethrough|stroke|text|underline|unicode|units|v|vert|word|writing|x)[A-Z]/,L={},F="undefined"!=typeof process&&process.env&&!1,B=function(){return null},V=t.h("").constructor;V.prototype.$$typeof=I,V.prototype.preactCompatUpgraded=!1,V.prototype.preactCompatNormalized=!1,Object.defineProperty(V.prototype,"type",{get:function(){return this.nodeName},set:function(e){this.nodeName=e},configurable:!0}),Object.defineProperty(V.prototype,"props",{get:function(){return this.attributes},set:function(e){this.attributes=e},configurable:!0});var z=t.options.vnode;t.options.vnode=function(e){if(!e.preactCompatUpgraded){e.preactCompatUpgraded=!0;var t=e.nodeName,o=e.attributes;o||(o=e.attributes={}),"function"==typeof t?(t[J]===!0||t.prototype&&"isReactComponent"in t.prototype)&&(e.preactCompatNormalized||d(e),n(e)):o&&r(e,o)}z&&z(e)};var H=function(){};H.prototype.getChildContext=function(){return this.props.context},H.prototype.render=function(e){return e.children[0]};for(var q,$=[],K={map:function(e,t,n){return e=K.toArray(e),n&&n!==e&&(t=t.bind(n)),e.map(t)},forEach:function(e,t,n){e=K.toArray(e),n&&n!==e&&(t=t.bind(n)),e.forEach(t)},count:function(e){return e=K.toArray(e),e.length},only:function(e){if(e=K.toArray(e),1!==e.length)throw Error("Children.only() expects only one child.");return e[0]},toArray:function(e){return Array.isArray&&Array.isArray(e)?e:$.concat(e)}},G={},X=N.length;X--;)G[N[X]]=u(N[X]);var J="undefined"!=typeof Symbol?Symbol.for("__preactCompatWrapper"):"__preactCompatWrapper",Y=function(e){return e&&e.base||e};M.prototype=new t.Component,_(M.prototype,{constructor:M,isReactComponent:{},replaceState:function(e,t){var n=this;this.setState(e,t);for(var r in this.state)r in e||delete n.state[r]},getDOMNode:function(){return this.base},isMounted:function(){return!!this.base}}),R.prototype=new M({},{},L),R.prototype.shouldComponentUpdate=function(e,t){return b(this.props,e)||b(this.state,t)};var Z={version:D,DOM:G,PropTypes:e,Children:K,render:o,createClass:k,createFactory:u,createElement:p,cloneElement:h,isValidElement:v,findDOMNode:Y,unmountComponentAtNode:a,Component:M,PureComponent:R,unstable_renderSubtreeIntoContainer:i};return Z})},function(e,t,n){!function(t,r){e.exports=r(n(1))}(this,function(e){"use strict";function t(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:b,o=/(?:\?([^#]*))?(#.*)?$/,i=e.match(o),a={},u=void 0;if(i&&i[1])for(var s=i[1].split("&"),c=0;s.length>c;c++){var l=s[c].split("=");a[decodeURIComponent(l[0])]=decodeURIComponent(l.slice(1).join("="))}e=r(e.replace(o,"")),t=r(t||"");for(var f=Math.max(e.length,t.length),p=0;f>p;p++)if(t[p]&&":"===t[p].charAt(0)){var d=t[p].replace(/(^\:|[+*?]+$)/g,""),h=(t[p].match(/[+*?]+$/)||b)[0]||"",v=~h.indexOf("+"),m=~h.indexOf("*"),y=e[p]||"";if(!y&&!m&&(h.indexOf("?")<0||v)){u=!1;break}if(a[d]=decodeURIComponent(y),v||m){a[d]=e.slice(p).map(decodeURIComponent).join("/");break}}else if(t[p]!==e[p]){u=!1;break}return(n.default===!0||u!==!1)&&a}function n(e,t){var n=e.attributes||b,r=t.attributes||b;if(n.default)return 1;if(r.default)return-1;var i=o(n.path)-o(r.path);return i||n.path.length-r.path.length}function r(e){return i(e).split("/")}function o(e){return(i(e).match(/\/+/g)||"").length}function i(e){return e.replace(/(^\/+|\/+$)/g,"")}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function c(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function l(e){return S in e}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"push";k&&k[t]?k[t](e):"undefined"!=typeof history&&history[t+"State"]&&history[t+"State"](null,null,e)}function p(){var e=void 0;return e=k&&k.getCurrentLocation?k.getCurrentLocation():"undefined"!=typeof location?location:C,""+(e.pathname||"")+(e.search||"")}function d(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return"string"!=typeof e&&e.url&&(t=e.replace,e=e.url),h(e)&&f(e,t?"replace":"push"),v(e)}function h(e){for(var t=x.length;t--;)if(x[t].canRoute(e))return!0;return!1}function v(e){for(var t=!1,n=0;x.length>n;n++)x[n].routeTo(e)===!0&&(t=!0);return t}function m(e){if(e&&e.getAttribute){var t=e.getAttribute("href"),n=e.getAttribute("target");if(t&&t.match(/^\//g)&&(!n||n.match(/^_?self$/i)))return d(t)}}function y(e){if(0===e.button)return m(e.currentTarget||e.target||this),g(e)}function g(e){return e&&(e.stopImmediatePropagation&&e.stopImmediatePropagation(),e.stopPropagation&&e.stopPropagation(),e.preventDefault()),!1}function _(e){if(!(e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){var t=e.target;do if("A"===(t.nodeName+"").toUpperCase()&&t.getAttribute("href")&&l(t)){if(0!==e.button)return;if(m(t))return g(e)}while(t=t.parentNode)}}var b={},w=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k=null,x=[],C={},S="undefined"!=typeof Symbol?Symbol.for("preactattr"):"__preactattr_";"function"==typeof addEventListener&&(addEventListener("popstate",function(){return v(p())}),addEventListener("click",_));var O=function(t){var n=t.children,r=c(t,["children"]);return e.h("a",w({},r,{onClick:y}),n)},E=function(e){function r(t){a(this,r);var n=u(this,e.call(this,t));return t.history&&(k=t.history),n.state={url:n.props.url||p()},n}return s(r,e),r.prototype.shouldComponentUpdate=function(e){return e.static!==!0||e.url!==this.props.url||e.onChange!==this.props.onChange},r.prototype.canRoute=function(e){return this.getMatchingChildren(this.props.children,e,!1).length>0},r.prototype.routeTo=function(e){return this._didRoute=!1,this.setState({url:e}),this.updating?this.canRoute(e):(this.forceUpdate(),this._didRoute)},r.prototype.componentWillMount=function(){x.push(this),this.updating=!0},r.prototype.componentDidMount=function(){this.updating=!1},r.prototype.componentWillUnmount=function(){x.splice(x.indexOf(this),1)},r.prototype.componentWillUpdate=function(){this.updating=!0},r.prototype.componentDidUpdate=function(){this.updating=!1},r.prototype.getMatchingChildren=function(e,r,o){return e.slice().sort(n).filter(function(e){var n=e.attributes,i=n.path,a=t(r,i,n);if(a){if(o!==!1){n.url=r,n.matches=a;for(var u in a)a.hasOwnProperty(u)&&(n[u]=a[u])}return!0}})},r.prototype.render=function(e,t){var n=e.children,r=e.onChange,o=t.url,i=this.getMatchingChildren(n,o,!0),a=i[0]||null;this._didRoute=!!a;var u=this.previousUrl;return o!==u&&(this.previousUrl=o,"function"==typeof r&&r({router:this,url:o,previous:u,active:i,current:a})),a},r}(e.Component),T=function(t){var n=t.component,r=t.url,o=t.matches;return e.h(n,{url:r,matches:o})};return E.route=d,E.Router=E,E.Route=T,E.Link=O,E})},function(e,t){e.exports={step:"onfido-sdk-ui-Theme-step",title:"onfido-sdk-ui-Theme-title","mbottom-large":"onfido-sdk-ui-Theme-mbottom-large",btn:"onfido-sdk-ui-Theme-btn","btn-centered":"onfido-sdk-ui-Theme-btn-centered","btn-primary":"onfido-sdk-ui-Theme-btn-primary","btn-alternative":"onfido-sdk-ui-Theme-btn-alternative",center:"onfido-sdk-ui-Theme-center","overlay-shape":"onfido-sdk-ui-Theme-overlay-shape",overlay:"onfido-sdk-ui-Theme-overlay",icon:"onfido-sdk-ui-Theme-icon",actions:"onfido-sdk-ui-Theme-actions"}},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(84),n(1)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(e,"__esModule",{value:!0}),e.impurify=e.wrapWithClass=e.getCSSMilisecsValue=e.getCSSValue=e.functionalSwitch=void 0;var u=r(t),s=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),c=(e.functionalSwitch=function(e,t){return(t[e]||function(e){return null})()},e.getCSSValue=function(e,t){var n=(0,u.default)(t),r=s(n,2),o=r[0],i=r[1];return i!==e&&console.warn("The css @value: "+t+" unit is "+i+" but it should be "+e),o});e.getCSSMilisecsValue=function(e){return c("ms",e)},e.wrapWithClass=function(e,t){return(0,n.h)("div",{className:e},t)},e.impurify=function(e){var t=function(t){function n(){var t,r,a,u;o(this,n);for(var s=arguments.length,c=Array(s),l=0;s>l;l++)c[l]=arguments[l];return r=a=i(this,(t=n.__proto__||Object.getPrototypeOf(n)).call.apply(t,[this].concat(c))),a.render=function(){return e(a.props)},u=r,i(a,u)}return a(n,t),n}(n.Component);return t.defaultProps=e.defaultProps,t}})},function(e,t){"use strict";t.__esModule=!0,t.SOCKET_URL="wss://ws.onfido.com:9876",t.SOCKET_URL_DEV="wss://document-check-staging.onfido.co.uk:9876",t.XHR_URL="https://api.onfido.com",t.DOCUMENT_CAPTURE="DOCUMENT_CAPTURE",t.FACE_CAPTURE="FACE_CAPTURE",t.SET_AUTHENTICATED="SET_AUTHENTICATED",t.SET_WEBSOCKET_SUPPORT="SET_WEBSOCKET_SUPPORT",t.SET_WEBSOCKET_ERROR="SET_WEBSOCKET_ERROR",t.SET_GUM_SUPPORT="SET_GUM_SUPPORT",t.SET_DOCUMENT_TYPE="SET_DOCUMENT_TYPE",t.CAPTURE_CREATE="CAPTURE_CREATE",t.CAPTURE_VALIDATE="CAPTURE_VALIDATE",t.CAPTURE_CONFIRM="CAPTURE_CONFIRM",t.CAPTURE_DELETE="CAPTURE_DELETE"},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.selectors=t.unboundActions=t.events=t.actions=t.store=t.connect=void 0;var i=n(71),a=o(i),u=n(16),s=o(u),c=n(21),l=o(c),f=n(15),p=n(22),d=r(p);t.connect=a.default,t.store=s.default,t.actions=f.actions,t.events=l.default,t.unboundActions=f.unboundActions,t.selectors=d},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.compose=t.applyMiddleware=t.bindActionCreators=t.combineReducers=t.createStore=void 0;var o=n(29),i=r(o),a=n(110),u=r(a),s=n(109),c=r(s),l=n(108),f=r(l),p=n(28),d=r(p),h=n(30);r(h),t.createStore=i.default,t.combineReducers=u.default,t.bindActionCreators=c.default,t.applyMiddleware=f.default,t.compose=d.default},function(e,t,n){var r,o;/*! Copyright (c) 2016 Jed Watson. Licensed under the MIT License (MIT), see http://jedwatson.github.io/classnames */ -!function(){"use strict";function n(){for(var e=[],t=0;arguments.length>t;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var u in r)i.call(r,u)&&r[u]&&e.push(u)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;10>n;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(i){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,u,a=n(e),s=1;arguments.length>s;s++){r=Object(arguments[s]);for(var c in r)o.call(r,c)&&(a[c]=r[c]);if(Object.getOwnPropertySymbols){u=Object.getOwnPropertySymbols(r);for(var l=0;u.length>l;l++)i.call(r,u[l])&&(a[u[l]]=r[u[l]])}}return a}},function(e,t,n){var r,o,i;!function(u,a){o=[t,n(1),n(4),n(52),n(12)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentInstructions=e.DocumentOverlay=e.DocumentTitle=e.DocumentNotFound=void 0;var u=i(n),a=i(r),s=e.DocumentNotFound=function(e){var n=e.message;return(0,t.h)(o.UploadError,null,n)};s.defaultProps={message:"We couldn’t detect a passport or identity card in this image. Please upload another one."};var c=e.DocumentTitle=function(e){var n=e.useCapture,r=e.captureTitle,o=e.uploadTitle;return(0,t.h)("div",{className:u["default"].title},n?r:o)};c.defaultProps={captureTitle:"Place your document in the rectangle",uploadTitle:"Upload a picture of your document"},e.DocumentOverlay=function(){return(0,t.h)("div",{className:u["default"].overlay},(0,t.h)("span",{className:u["default"]["overlay-shape"]+" "+a["default"].rectangle}))},e.DocumentInstructions=function(){return(0,t.h)("div",{className:a["default"].capture},(0,t.h)("p",{className:u["default"].center},"Once it is detected you will be automatically directed to the next step."))}})},function(e,t,n){var r,o,i;!function(u,a){o=[t,n(1),n(22),n(45),n(11),n(41),n(17),n(4),n(59),n(5)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u,a,s,c){"use strict";function l(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e.Uploader=e.UploadError=e.fileToBase64=e.canvasToBase64Images=void 0;var f=l(n),p=l(r),d=l(i),h=(l(u),l(a)),v=l(s),y=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&a["return"]&&a["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),m=function(e){return 0===e.indexOf("data:image/webp")},g=e.canvasToBase64Images=function(e,t){var n=e.toDataURL("image/webp"),r=void 0;m(n)?r=e.toDataURL():(r=n,n=e.toDataURL("image/jpeg")),t(n,r)},b=(e.fileToBase64=function(e,t,n){var r={maxWidth:960,maxHeight:960,canvas:!0};n=n||t,(0,p["default"])(e.preview,function(e){"error"===e.type?n(e):g(e,t)},r)},function(){return(0,t.h)("div",{className:v["default"].base},(0,t.h)("span",{className:h["default"].icon+" "+v["default"].icon}),(0,t.h)("p",{className:v["default"].text},"Take a photo with your camera or upload one from your library."))}),_=function(){return(0,t.h)("div",{className:h["default"].center},(0,t.h)(d["default"],null),(0,t.h)("div",{className:v["default"].processing},"Processing your document"))},w=e.UploadError=function(e){var n=e.children;return(0,t.h)("div",{className:v["default"].text+" "+v["default"].error},n)},C=function(e){var n=e.method;return(0,c.functionalSwitch)(n,{document:function(){return(0,t.h)(o.DocumentNotFound,null)}})},O=function(){return(0,t.h)(w,null,"The file uploaded has an unsupported file type.")};e.Uploader=(0,c.impurify)(function(e){var n=e.method,r=e.onImageSelected,o=e.uploading,i=e.error;return(0,t.h)(f["default"],{onDrop:function(e){var t=y(e,1),n=t[0];return r(n)},multiple:!1,className:v["default"].dropzone},o?(0,t.h)(_,null):(0,t.h)(b,null),!o&&(0,c.functionalSwitch)(i,{INVALID_CAPTURE:function(){return(0,t.h)(C,{method:n})},INVALID_TYPE:function(){return(0,t.h)(O,null)}}))})})},function(e,t,n){function r(e){if(!i(e)||p.call(e)!=u)return!1;var t=o(e);if(null===t)return!0;var n=l.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==f}var o=n(61),i=n(63),u="[object Object]",a=Function.prototype,s=Object.prototype,c=a.toString,l=s.hasOwnProperty,f=c.call(Object),p=s.toString;e.exports=r},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function u(e,t){return e.add(t),e}function a(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function s(e,t,n,r){for(var o=-1,i=e?e.length:0;++o-1}function h(e,t,n){for(var r=-1,o=e?e.length:0;++r-1;);return n}function L(e,t){for(var n=e.length;n--&&S(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function B(e){return"\\"+Gn[e]}function V(e,t){return null==e?oe:e[t]}function z(e){return Un.test(e)}function q(e){return In.test(e)}function G(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function H(e,t){return function(n){return e(t(n))}}function K(e,t){for(var n=-1,r=e.length,o=0,i=[];++n>>1,We=[["ary",be],["bind",pe],["bindKey",de],["curry",ve],["curryRight",ye],["flip",we],["partial",me],["partialRight",ge],["rearg",_e]],Le="[object Arguments]",Fe="[object Array]",Be="[object Boolean]",Ve="[object Date]",ze="[object Error]",qe="[object Function]",Ge="[object GeneratorFunction]",$e="[object Map]",He="[object Number]",Ke="[object Object]",Xe="[object Promise]",Ye="[object Proxy]",Ze="[object RegExp]",Je="[object Set]",Qe="[object String]",et="[object Symbol]",tt="[object WeakMap]",nt="[object WeakSet]",rt="[object ArrayBuffer]",ot="[object DataView]",it="[object Float32Array]",ut="[object Float64Array]",at="[object Int8Array]",st="[object Int16Array]",ct="[object Int32Array]",lt="[object Uint8Array]",ft="[object Uint8ClampedArray]",pt="[object Uint16Array]",dt="[object Uint32Array]",ht=/\b__p \+= '';/g,vt=/\b(__p \+=) '' \+/g,yt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,mt=/&(?:amp|lt|gt|quot|#39);/g,gt=/[&<>"']/g,bt=RegExp(mt.source),_t=RegExp(gt.source),wt=/<%-([\s\S]+?)%>/g,Ct=/<%([\s\S]+?)%>/g,Ot=/<%=([\s\S]+?)%>/g,St=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,xt=/^\w*$/,kt=/^\./,Tt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Pt=/[\\^$.*+?()[\]{}|]/g,Et=RegExp(Pt.source),At=/^\s+|\s+$/g,Mt=/^\s+/,jt=/\s+$/,Rt=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Dt=/\{\n\/\* \[wrapped with (.+)\] \*/,Nt=/,? & /,Ut=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,It=/\\(\\)?/g,Wt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Lt=/\w*$/,Ft=/^[-+]0x[0-9a-f]+$/i,Bt=/^0b[01]+$/i,Vt=/^\[object .+?Constructor\]$/,zt=/^0o[0-7]+$/i,qt=/^(?:0|[1-9]\d*)$/,Gt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,$t=/($^)/,Ht=/['\n\r\u2028\u2029\\]/g,Kt="\\ud800-\\udfff",Xt="\\u0300-\\u036f\\ufe20-\\ufe23",Yt="\\u20d0-\\u20f0",Zt="\\u2700-\\u27bf",Jt="a-z\\xdf-\\xf6\\xf8-\\xff",Qt="\\xac\\xb1\\xd7\\xf7",en="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",tn="\\u2000-\\u206f",nn=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",rn="A-Z\\xc0-\\xd6\\xd8-\\xde",on="\\ufe0e\\ufe0f",un=Qt+en+tn+nn,an="['’]",sn="["+Kt+"]",cn="["+un+"]",ln="["+Xt+Yt+"]",fn="\\d+",pn="["+Zt+"]",dn="["+Jt+"]",hn="[^"+Kt+un+fn+Zt+Jt+rn+"]",vn="\\ud83c[\\udffb-\\udfff]",yn="(?:"+ln+"|"+vn+")",mn="[^"+Kt+"]",gn="(?:\\ud83c[\\udde6-\\uddff]){2}",bn="[\\ud800-\\udbff][\\udc00-\\udfff]",_n="["+rn+"]",wn="\\u200d",Cn="(?:"+dn+"|"+hn+")",On="(?:"+_n+"|"+hn+")",Sn="(?:"+an+"(?:d|ll|m|re|s|t|ve))?",xn="(?:"+an+"(?:D|LL|M|RE|S|T|VE))?",kn=yn+"?",Tn="["+on+"]?",Pn="(?:"+wn+"(?:"+[mn,gn,bn].join("|")+")"+Tn+kn+")*",En=Tn+kn+Pn,An="(?:"+[pn,gn,bn].join("|")+")"+En,Mn="(?:"+[mn+ln+"?",ln,gn,bn,sn].join("|")+")",jn=RegExp(an,"g"),Rn=RegExp(ln,"g"),Dn=RegExp(vn+"(?="+vn+")|"+Mn+En,"g"),Nn=RegExp([_n+"?"+dn+"+"+Sn+"(?="+[cn,_n,"$"].join("|")+")",On+"+"+xn+"(?="+[cn,_n+Cn,"$"].join("|")+")",_n+"?"+Cn+"+"+Sn,_n+"+"+xn,fn,An].join("|"),"g"),Un=RegExp("["+wn+Kt+Xt+Yt+on+"]"),In=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Wn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ln=-1,Fn={};Fn[it]=Fn[ut]=Fn[at]=Fn[st]=Fn[ct]=Fn[lt]=Fn[ft]=Fn[pt]=Fn[dt]=!0,Fn[Le]=Fn[Fe]=Fn[rt]=Fn[Be]=Fn[ot]=Fn[Ve]=Fn[ze]=Fn[qe]=Fn[$e]=Fn[He]=Fn[Ke]=Fn[Ze]=Fn[Je]=Fn[Qe]=Fn[tt]=!1;var Bn={};Bn[Le]=Bn[Fe]=Bn[rt]=Bn[ot]=Bn[Be]=Bn[Ve]=Bn[it]=Bn[ut]=Bn[at]=Bn[st]=Bn[ct]=Bn[$e]=Bn[He]=Bn[Ke]=Bn[Ze]=Bn[Je]=Bn[Qe]=Bn[et]=Bn[lt]=Bn[ft]=Bn[pt]=Bn[dt]=!0,Bn[ze]=Bn[qe]=Bn[tt]=!1;var Vn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},zn={"&":"&","<":"<",">":">",'"':""","'":"'"},qn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Gn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},$n=parseFloat,Hn=parseInt,Kn="object"==typeof e&&e&&e.Object===Object&&e,Xn="object"==typeof self&&self&&self.Object===Object&&self,Yn=Kn||Xn||Function("return this")(),Zn="object"==typeof t&&t&&!t.nodeType&&t,Jn=Zn&&"object"==typeof o&&o&&!o.nodeType&&o,Qn=Jn&&Jn.exports===Zn,er=Qn&&Kn.process,tr=function(){try{return er&&er.binding("util")}catch(e){}}(),nr=tr&&tr.isArrayBuffer,rr=tr&&tr.isDate,or=tr&&tr.isMap,ir=tr&&tr.isRegExp,ur=tr&&tr.isSet,ar=tr&&tr.isTypedArray,sr=P("length"),cr=E(Vn),lr=E(zn),fr=E(qn),pr=function hr(e){function t(e){if(Za(e)&&!sp(e)&&!(e instanceof o)){if(e instanceof r)return e;if(cl.call(e,"__wrapped__"))return Ki(e)}return new r(e)}function n(){}function r(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function o(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ne,this.__views__=[]}function _(){var e=new o(this.__wrapped__);return e.__actions__=Do(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Do(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Do(this.__views__),e}function E(){if(this.__filtered__){var e=new o(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function Z(){var e=this.__wrapped__.value(),t=this.__dir__,n=sp(e),r=0>t,o=n?e.length:0,i=gi(0,o,this.__views__),u=i.start,a=i.end,s=a-u,c=r?a:u-1,l=this.__iteratees__,f=l.length,p=0,d=Il(s,this.__takeCount__);if(!n||ue>o||o==s&&d==s)return vo(e,this.__actions__);var h=[];e:for(;s--&&d>p;){c+=t;for(var v=-1,y=e[c];++vn)return!1;var r=t.length-1;return n==r?t.pop():Ol.call(t,n,1),--this.size,!0}function en(e){var t=this.__data__,n=kn(t,e);return 0>n?oe:t[n][1]}function tn(e){return kn(this.__data__,e)>-1}function nn(e,t){var n=this.__data__,r=kn(n,e);return 0>r?(++this.size,n.push([e,t])):n[r][1]=t,this}function rn(e){var t=-1,n=e?e.length:0;for(this.clear();++tr.length)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new rn(r)}return n.set(e,t),this.size=n.size,this}function bn(e,t){var n=sp(e),r=!n&&ap(e),o=!n&&!r&&lp(e),i=!n&&!r&&!o&&vp(e),u=n||r||o||i,a=u?R(e.length,tl):[],s=a.length;for(var c in e)!t&&!cl.call(e,c)||u&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ki(c,s))||a.push(c);return a}function _n(e){var t=e.length;return t?e[Xr(0,t-1)]:oe}function wn(e,t){return qi(Do(e),Mn(t,0,e.length))}function Cn(e){return qi(Do(e))}function On(e,t,n,r){return e===oe||Ia(e,il[n])&&!cl.call(r,n)?t:e}function Sn(e,t,n){(n===oe||Ia(e[t],n))&&(n!==oe||t in e)||En(e,t,n)}function xn(e,t,n){var r=e[t];cl.call(e,t)&&Ia(r,n)&&(n!==oe||t in e)||En(e,t,n)}function kn(e,t){for(var n=e.length;n--;)if(Ia(e[n][0],t))return n;return-1}function Tn(e,t,n,r){return uf(e,function(e,o,i){t(r,e,n(e),i)}),r}function Pn(e,t){return e&&No(t,js(t),e)}function En(e,t,n){"__proto__"==t&&xl?xl(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function An(e,t){for(var n=-1,r=null==e,o=t.length,i=Kc(o);++nn?n:e),t!==oe&&(e=t>e?t:e)),e}function Dn(e,t,n,r,o,i,u){var a;if(r&&(a=i?r(e,o,i,u):r(e)),a!==oe)return a;if(!Ya(e))return e;var s=sp(e);if(s){if(a=wi(e),!t)return Do(e,a)}else{var l=gf(e),f=l==qe||l==Ge;if(lp(e))return Co(e,t);if(l==Ke||l==Le||f&&!i){if(a=Ci(f?{}:e),!t)return Uo(e,Pn(a,e))}else{if(!Bn[l])return i?e:{};a=Oi(e,l,Dn,t)}}u||(u=new dn);var p=u.get(e);if(p)return p;u.set(e,a);var d=s?oe:(n?li:js)(e);return c(d||e,function(o,i){d&&(i=o,o=e[i]),xn(a,i,Dn(o,t,n,r,i,e,u))}),a}function Nn(e){var t=js(e);return function(n){return Un(n,e,t)}}function Un(e,t,n){var r=n.length;if(null==e)return!r;for(e=Qc(e);r--;){var o=n[r],i=t[o],u=e[o];if(u===oe&&!(o in e)||!i(u))return!1}return!0}function In(e,t,n){if("function"!=typeof e)throw new nl(se);return wf(function(){e.apply(oe,n)},t)}function Vn(e,t,n,r){var o=-1,i=d,u=!0,a=e.length,s=[],c=t.length;if(!a)return s;n&&(t=v(t,N(n))),r?(i=h,u=!1):ue>t.length||(i=I,u=!1,t=new ln(t));e:for(;++on&&(n=-n>o?0:o+n),r=r===oe||r>o?o:hs(r),0>r&&(r+=o),r=n>r?0:vs(r);r>n;)e[n++]=t;return e}function Kn(e,t){var n=[];return uf(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function Xn(e,t,n,r,o){var i=-1,u=e.length;for(n||(n=xi),o||(o=[]);++i0&&n(a)?t>1?Xn(a,t-1,n,r,o):y(o,a):r||(o[o.length]=a)}return o}function Zn(e,t){return e&&sf(e,t,js)}function Jn(e,t){return e&&cf(e,t,js)}function er(e,t){return p(t,function(t){return Ha(e[t])})}function tr(e,t){t=Pi(t,e)?[t]:_o(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[Gi(t[n++])];return n&&n==r?e:oe}function sr(e,t,n){var r=t(e);return sp(e)?r:y(r,n(e))}function pr(e){return pl.call(e)}function vr(e,t){return e>t}function yr(e,t){return null!=e&&cl.call(e,t)}function mr(e,t){return null!=e&&t in Qc(e)}function gr(e,t,n){return e>=Il(t,n)&&eo||120>l.length)?oe:new ln(u&&l)}l=e[0];var f=-1,p=a[0];e:for(;++fc.length;){var y=l[f],m=t?t(y):y;if(y=n||0!==y?y:0,!(p?I(p,m):r(c,m,n))){for(u=i;--u;){var g=a[u];if(!(g?I(g,m):r(e[u],m,n)))continue e}p&&p.push(m),c.push(y)}}return c}function _r(e,t,n,r){return Zn(e,function(e,o,i){t(r,n(e),o,i)}),r}function wr(e,t,n){Pi(t,e)||(t=_o(t),e=Fi(e,t),t=du(t));var r=null==e?e:e[Gi(t)];return null==r?oe:a(r,e,n)}function Cr(e){return Za(e)&&pl.call(e)==Le}function Or(e){return Za(e)&&pl.call(e)==rt}function Sr(e){return Za(e)&&pl.call(e)==Ve}function xr(e,t,n,r,o){return e===t||(null==e||null==t||!Ya(e)&&!Za(t)?e!==e&&t!==t:kr(e,t,xr,n,r,o))}function kr(e,t,n,r,o,i){var u=sp(e),a=sp(t),s=Fe,c=Fe;u||(s=gf(e),s=s==Le?Ke:s),a||(c=gf(t),c=c==Le?Ke:c);var l=s==Ke,f=c==Ke,p=s==c;if(p&&lp(e)){if(!lp(t))return!1;u=!0,l=!1}if(p&&!l)return i||(i=new dn),u||vp(e)?ui(e,t,n,r,o,i):ai(e,t,s,n,r,o,i);if(!(o&Oe)){var d=l&&cl.call(e,"__wrapped__"),h=f&&cl.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,y=h?t.value():t;return i||(i=new dn),n(v,y,r,o,i)}}return!!p&&(i||(i=new dn),si(e,t,n,r,o,i))}function Tr(e){return Za(e)&&gf(e)==$e}function Pr(e,t,n,r){var o=n.length,i=o,u=!r;if(null==e)return!i;for(e=Qc(e);o--;){var a=n[o];if(u&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++oe}function Ir(e,t){var n=-1,r=Wa(e)?Kc(e.length):[];return uf(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Wr(e){var t=yi(e);return 1==t.length&&t[0][2]?Di(t[0][0],t[0][1]):function(n){return n===e||Pr(n,e,t)}}function Lr(e,t){return Pi(e)&&Ri(t)?Di(Gi(e),t):function(n){var r=Es(n,e);return r===oe&&r===t?Ms(n,e):xr(t,r,oe,Ce|Oe)}}function Fr(e,t,n,r,o){e!==t&&sf(t,function(i,u){if(Ya(i))o||(o=new dn),Br(e,t,u,n,Fr,r,o);else{var a=r?r(e[u],i,u+"",e,t,o):oe;a===oe&&(a=i),Sn(e,u,a)}},Rs)}function Br(e,t,n,r,o,i,u){var a=e[n],s=t[n],c=u.get(s);if(c)return Sn(e,n,c),oe;var l=i?i(a,s,n+"",e,t,u):oe,f=l===oe;if(f){var p=sp(s),d=!p&&lp(s),h=!p&&!d&&vp(s);l=s,p||d||h?sp(a)?l=a:La(a)?l=Do(a):d?(f=!1,l=Co(s,!0)):h?(f=!1,l=Eo(s,!0)):l=[]:is(s)||ap(s)?(l=a,ap(a)?l=ms(a):(!Ya(a)||r&&Ha(a))&&(l=Ci(s))):f=!1}f&&(u.set(s,l),o(l,s,r,i,u),u["delete"](s)),Sn(e,n,l)}function Vr(e,t){var n=e.length;if(n)return t+=0>t?n:0,ki(t,n)?e[t]:oe}function zr(e,t,n){var r=-1;t=v(t.length?t:[Cc],N(hi()));var o=Ir(e,function(e,n,o){var i=v(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return M(o,function(e,t){return Mo(e,t,n)})}function qr(e,t){return e=Qc(e),Gr(e,t,function(t,n){return n in e})}function Gr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)a!==e&&Ol.call(a,s,1),Ol.call(e,s,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;if(ki(o))Ol.call(e,o,1);else if(Pi(o,e))delete e[Gi(o)];else{var u=_o(o),a=Fi(e,u);null!=a&&delete a[Gi(du(u))]}}}return e}function Xr(e,t){return e+Al(Fl()*(t-e+1))}function Yr(e,t,n,r){for(var o=-1,i=Ul(El((t-e)/(n||1)),0),u=Kc(i);i--;)u[r?i:++o]=e,e+=n;return u}function Zr(e,t){var n="";if(!e||1>t||t>je)return n;do t%2&&(n+=e),t=Al(t/2),t&&(e+=e);while(t);return n}function Jr(e,t){return Cf(Li(e,t,Cc),e+"")}function Qr(e){return _n(Gs(e))}function eo(e,t){var n=Gs(e);return qi(n,Mn(t,0,n.length))}function to(e,t,n,r){if(!Ya(e))return e;t=Pi(t,e)?[t]:_o(t);for(var o=-1,i=t.length,u=i-1,a=e;null!=a&&++ot&&(t=-t>o?0:o+t),n=n>o?o:n,0>n&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Kc(o);++r=o){for(;o>r;){var i=r+o>>>1,u=e[i];null===u||ss(u)||(n?u>t:u>=t)?o=i:r=i+1}return o}return uo(e,t,Cc,n)}function uo(e,t,n,r){t=n(t);for(var o=0,i=e?e.length:0,u=t!==t,a=null===t,s=ss(t),c=t===oe;i>o;){var l=Al((o+i)/2),f=n(e[l]),p=f!==oe,d=null===f,h=f===f,v=ss(f);if(u)var y=r||h;else y=c?h&&(r||p):a?h&&p&&(r||!d):s?h&&p&&!d&&(r||!v):!d&&!v&&(r?t>=f:t>f);y?o=l+1:i=l}return Il(i,Ue)}function ao(e,t){for(var n=-1,r=e.length,o=0,i=[];++nr?t[r]:oe;n(u,e[r],a)}return u}function go(e){return La(e)?e:[]}function bo(e){return"function"==typeof e?e:Cc}function _o(e){return sp(e)?e:Of(e)}function wo(e,t,n){var r=e.length;return n=n===oe?r:n,t||r>n?ro(e,t,n):e}function Co(e,t){if(t)return e.slice();var n=e.length,r=gl?gl(n):new e.constructor(n);return e.copy(r),r}function Oo(e){var t=new e.constructor(e.byteLength);return new ml(t).set(new ml(e)),t}function So(e,t){var n=t?Oo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function xo(e,t,n){var r=t?n($(e),!0):$(e);return m(r,i,new e.constructor)}function ko(e){var t=new e.constructor(e.source,Lt.exec(e));return t.lastIndex=e.lastIndex,t}function To(e,t,n){var r=t?n(X(e),!0):X(e);return m(r,u,new e.constructor)}function Po(e){return nf?Qc(nf.call(e)):{}}function Eo(e,t){var n=t?Oo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ao(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=ss(e),u=t!==oe,a=null===t,s=t===t,c=ss(t);if(!a&&!c&&!i&&e>t||i&&u&&s&&!a&&!c||r&&u&&s||!n&&s||!o)return 1;if(!r&&!i&&!c&&t>e||c&&n&&o&&!r&&!i||a&&n&&o||!u&&o||!s)return-1}return 0}function Mo(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,u=o.length,a=n.length;++r=a)return s;var c=n[r];return s*("desc"==c?-1:1)}}return e.index-t.index}function jo(e,t,n,r){for(var o=-1,i=e.length,u=n.length,a=-1,s=t.length,c=Ul(i-u,0),l=Kc(s+c),f=!r;++ao)&&(l[n[o]]=e[o]);for(;c--;)l[a++]=e[o++];return l}function Ro(e,t,n,r){for(var o=-1,i=e.length,u=-1,a=n.length,s=-1,c=t.length,l=Ul(i-a,0),f=Kc(l+c),p=!r;++oo)&&(f[d+n[u]]=e[o++]);return f}function Do(e,t){var n=-1,r=e.length;for(t||(t=Kc(r));++n1?n[o-1]:oe,u=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,u&&Ti(n[0],n[1],u)&&(i=3>o?oe:i,o=1),t=Qc(t);++ri&&u[0]!==c&&u[i-1]!==c?[]:K(u,c); -if(i-=l.length,n>i)return ni(e,t,Ko,r.placeholder,oe,u,l,oe,oe,n-i);var f=this&&this!==Yn&&this instanceof r?o:e;return a(f,this,u)}var o=qo(e);return r}function $o(e){return function(t,n,r){var o=Qc(t);if(!Wa(t)){var i=hi(n,3);t=js(t),n=function(e){return i(o[e],e,o)}}var u=e(t,n,r);return u>-1?o[i?t[u]:u]:oe}}function Ho(e){return ci(function(t){var n=t.length,o=n,i=r.prototype.thru;for(e&&t.reverse();o--;){var u=t[o];if("function"!=typeof u)throw new nl(se);if(i&&!a&&"wrapper"==pi(u))var a=new r([],(!0))}for(o=a?o:n;++o=ue)return a.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++om){var C=K(g,_);return ni(e,t,Ko,l.placeholder,n,g,C,a,s,c-m)}var O=p?n:this,S=d?O[e]:e;return m=g.length,a?g=Bi(g,a):v&&m>1&&g.reverse(),f&&m>s&&(g.length=s),this&&this!==Yn&&this instanceof l&&(S=y||qo(S)),S.apply(O,g)}var f=t&be,p=t&pe,d=t&de,h=t&(ve|ye),v=t&we,y=d?oe:qo(e);return l}function Xo(e,t){return function(n,r){return _r(n,e,t(r),{})}}function Yo(e,t){return function(n,r){var o;if(n===oe&&r===oe)return t;if(n!==oe&&(o=n),r!==oe){if(o===oe)return r;"string"==typeof n||"string"==typeof r?(n=co(n),r=co(r)):(n=so(n),r=so(r)),o=e(n,r)}return o}}function Zo(e){return ci(function(t){return t=v(t,N(hi())),Jr(function(n){var r=this;return e(t,function(e){return a(e,r,n)})})})}function Jo(e,t){t=t===oe?" ":co(t);var n=t.length;if(2>n)return n?Zr(t,e):t;var r=Zr(t,El(e/Q(t)));return z(t)?wo(ee(r),0,e).join(""):r.slice(0,e)}function Qo(e,t,n,r){function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,f=Kc(l+s),p=this&&this!==Yn&&this instanceof o?u:e;++ct?1:-1:ds(r),Yr(t,n,r,e)}}function ti(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ys(t),n=ys(n)),e(t,n)}}function ni(e,t,n,r,o,i,u,a,s,c){var l=t&ve,f=l?u:oe,p=l?oe:u,d=l?i:oe,h=l?oe:i;t|=l?me:ge,t&=~(l?ge:me),t&he||(t&=~(pe|de));var v=[e,t,o,d,f,h,p,a,s,c],y=n.apply(oe,v);return Ai(e)&&_f(y,v),y.placeholder=r,Vi(y,e,t)}function ri(e){var t=Jc[e];return function(e,n){if(e=ys(e),n=Il(hs(n),292)){var r=(bs(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(bs(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function oi(e){return function(t){var n=gf(t);return n==$e?$(t):n==Je?Y(t):D(t,e(t))}}function ii(e,t,n,r,o,i,u,a){var s=t&de;if(!s&&"function"!=typeof e)throw new nl(se);var c=r?r.length:0;if(c||(t&=~(me|ge),r=o=oe),u=u===oe?u:Ul(hs(u),0),a=a===oe?a:hs(a),c-=o?o.length:0,t&ge){var l=r,f=o;r=o=oe}var p=s?oe:vf(e),d=[e,t,n,r,o,l,f,i,u,a];if(p&&Ui(d,p),e=d[0],t=d[1],n=d[2],r=d[3],o=d[4],a=d[9]=null==d[9]?s?0:e.length:Ul(d[9]-c,0),!a&&t&(ve|ye)&&(t&=~(ve|ye)),t&&t!=pe)h=t==ve||t==ye?Go(e,t,a):t!=me&&t!=(pe|me)||o.length?Ko.apply(oe,d):Qo(e,t,n,r);else var h=Bo(e,t,n);var v=p?lf:_f;return Vi(v(h,d),e,t)}function ui(e,t,n,r,o,i){var u=o&Oe,a=e.length,s=t.length;if(!(a==s||u&&s>a))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,p=o&Ce?new ln:oe;for(i.set(e,t),i.set(t,e);++l1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Rt,"{\n/* [wrapped with "+t+"] */\n")}function xi(e){return sp(e)||ap(e)||!!(Sl&&e&&e[Sl])}function ki(e,t){return t=null==t?je:t,!!t&&("number"==typeof e||qt.test(e))&&e>-1&&e%1==0&&t>e}function Ti(e,t,n){if(!Ya(n))return!1;var r=typeof t;return!!("number"==r?Wa(n)&&ki(t,n.length):"string"==r&&t in n)&&Ia(n[t],e)}function Pi(e,t){if(sp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ss(e))||xt.test(e)||!St.test(e)||null!=t&&e in Qc(t)}function Ei(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Ai(e){var n=pi(e),r=t[n];if("function"!=typeof r||!(n in o.prototype))return!1;if(e===r)return!0;var i=vf(r);return!!i&&e===i[0]}function Mi(e){return!!al&&al in e}function ji(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||il;return e===n}function Ri(e){return e===e&&!Ya(e)}function Di(e,t){return function(n){return null!=n&&n[e]===t&&(t!==oe||e in Qc(n))}}function Ni(e){var t=Oa(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function Ui(e,t){var n=e[1],r=t[1],o=n|r,i=(pe|de|be)>o,u=r==be&&n==ve||r==be&&n==_e&&t[8]>=e[7].length||r==(be|_e)&&t[8]>=t[7].length&&n==ve;if(!i&&!u)return e;r&pe&&(e[2]=t[2],o|=n&pe?0:he);var a=t[3];if(a){var s=e[3];e[3]=s?jo(s,a,t[4]):a,e[4]=s?K(e[3],fe):t[4]}return a=t[5],a&&(s=e[5],e[5]=s?Ro(s,a,t[6]):a,e[6]=s?K(e[5],fe):t[6]),a=t[7],a&&(e[7]=a),r&be&&(e[8]=null==e[8]?t[8]:Il(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Ii(e,t,n,r,o,i){return Ya(e)&&Ya(t)&&(i.set(t,e),Fr(e,t,oe,Ii,i),i["delete"](t)),e}function Wi(e){var t=[];if(null!=e)for(var n in Qc(e))t.push(n);return t}function Li(e,t,n){return t=Ul(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=Ul(r.length-t,0),u=Kc(i);++o0){if(++t>=ke)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function qi(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++nt)return[];for(var o=0,i=0,u=Kc(El(r/t));r>o;)u[i++]=ro(e,o,o+=t);return u}function Yi(e){for(var t=-1,n=e?e.length:0,r=0,o=[];++tt?0:t,r)):[]}function Qi(e,t,n){var r=e?e.length:0;return r?(t=n||t===oe?1:hs(t),t=r-t,ro(e,0,0>t?0:t)):[]}function eu(e,t){return e&&e.length?ho(e,hi(t,3),!0,!0):[]}function tu(e,t){return e&&e.length?ho(e,hi(t,3),!0):[]}function nu(e,t,n,r){var o=e?e.length:0;return o?(n&&"number"!=typeof n&&Ti(e,t,n)&&(n=0,r=o),Gn(e,t,n,r)):[]}function ru(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=null==n?0:hs(n);return 0>o&&(o=Ul(r+o,0)),O(e,hi(t,3),o)}function ou(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=r-1;return n!==oe&&(o=hs(n),o=0>n?Ul(r+o,0):Il(o,r-1)),O(e,hi(t,3),o,!0)}function iu(e){var t=e?e.length:0;return t?Xn(e,1):[]}function uu(e){var t=e?e.length:0;return t?Xn(e,Me):[]}function au(e,t){var n=e?e.length:0;return n?(t=t===oe?1:hs(t),Xn(e,t)):[]}function su(e){for(var t=-1,n=e?e.length:0,r={};++to&&(o=Ul(r+o,0)),S(e,t,o)}function fu(e){var t=e?e.length:0;return t?ro(e,0,-1):[]}function pu(e,t){return e?Dl.call(e,t):""}function du(e){var t=e?e.length:0;return t?e[t-1]:oe}function hu(e,t,n){var r=e?e.length:0;if(!r)return-1;var o=r;return n!==oe&&(o=hs(n),o=0>o?Ul(r+o,0):Il(o,r-1)),t===t?J(e,t,o):O(e,k,o,!0)}function vu(e,t){return e&&e.length?Vr(e,hs(t)):oe}function yu(e,t){return e&&e.length&&t&&t.length?Hr(e,t):e}function mu(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,hi(n,2)):e}function gu(e,t,n){return e&&e.length&&t&&t.length?Hr(e,t,oe,n):e}function bu(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=hi(t,3);++rr&&Ia(e[r],t))return r}return-1}function xu(e,t){return io(e,t,!0)}function ku(e,t,n){return uo(e,t,hi(n,2),!0)}function Tu(e,t){var n=e?e.length:0;if(n){var r=io(e,t,!0)-1;if(Ia(e[r],t))return r}return-1}function Pu(e){return e&&e.length?ao(e):[]}function Eu(e,t){return e&&e.length?ao(e,hi(t,2)):[]}function Au(e){var t=e?e.length:0;return t?ro(e,1,t):[]}function Mu(e,t,n){return e&&e.length?(t=n||t===oe?1:hs(t),ro(e,0,0>t?0:t)):[]}function ju(e,t,n){var r=e?e.length:0;return r?(t=n||t===oe?1:hs(t),t=r-t,ro(e,0>t?0:t,r)):[]}function Ru(e,t){return e&&e.length?ho(e,hi(t,3),!1,!0):[]}function Du(e,t){return e&&e.length?ho(e,hi(t,3)):[]}function Nu(e){return e&&e.length?lo(e):[]}function Uu(e,t){return e&&e.length?lo(e,hi(t,2)):[]}function Iu(e,t){return e&&e.length?lo(e,oe,t):[]}function Wu(e){if(!e||!e.length)return[];var t=0;return e=p(e,function(e){if(La(e))return t=Ul(e.length,t),!0}),R(t,function(t){return v(e,P(t))})}function Lu(e,t){if(!e||!e.length)return[];var n=Wu(e);return null==t?n:v(n,function(e){return a(t,oe,e)})}function Fu(e,t){return mo(e||[],t||[],xn)}function Bu(e,t){return mo(e||[],t||[],to)}function Vu(e){var n=t(e);return n.__chain__=!0,n}function zu(e,t){return t(e),e}function qu(e,t){return t(e)}function Gu(){return Vu(this)}function $u(){return new r(this.value(),this.__chain__)}function Hu(){this.__values__===oe&&(this.__values__=ps(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function Ku(){return this}function Xu(e){for(var t,r=this;r instanceof n;){var o=Ki(r);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t}function Yu(){var e=this.__wrapped__;if(e instanceof o){var t=e;return this.__actions__.length&&(t=new o(this)),t=t.reverse(),t.__actions__.push({func:qu,args:[_u],thisArg:oe}),new r(t,this.__chain__)}return this.thru(_u)}function Zu(){return vo(this.__wrapped__,this.__actions__)}function Ju(e,t,n){var r=sp(e)?f:zn;return n&&Ti(e,t,n)&&(t=oe),r(e,hi(t,3))}function Qu(e,t){var n=sp(e)?p:Kn;return n(e,hi(t,3))}function ea(e,t){return Xn(ua(e,t),1)}function ta(e,t){return Xn(ua(e,t),Me)}function na(e,t,n){return n=n===oe?1:hs(n),Xn(ua(e,t),n)}function ra(e,t){var n=sp(e)?c:uf;return n(e,hi(t,3))}function oa(e,t){var n=sp(e)?l:af;return n(e,hi(t,3))}function ia(e,t,n,r){e=Wa(e)?e:Gs(e),n=n&&!r?hs(n):0;var o=e.length;return 0>n&&(n=Ul(o+n,0)),as(e)?o>=n&&e.indexOf(t,n)>-1:!!o&&S(e,t,n)>-1}function ua(e,t){var n=sp(e)?v:Ir;return n(e,hi(t,3))}function aa(e,t,n,r){return null==e?[]:(sp(t)||(t=null==t?[]:[t]),n=r?oe:n,sp(n)||(n=null==n?[]:[n]),zr(e,t,n))}function sa(e,t,n){var r=sp(e)?m:A,o=3>arguments.length;return r(e,hi(t,4),n,o,uf)}function ca(e,t,n){var r=sp(e)?g:A,o=3>arguments.length;return r(e,hi(t,4),n,o,af)}function la(e,t){var n=sp(e)?p:Kn;return n(e,Sa(hi(t,3)))}function fa(e){var t=sp(e)?_n:Qr;return t(e)}function pa(e,t,n){t=(n?Ti(e,t,n):t===oe)?1:hs(t);var r=sp(e)?wn:eo;return r(e,t)}function da(e){var t=sp(e)?Cn:no;return t(e)}function ha(e){if(null==e)return 0;if(Wa(e))return as(e)?Q(e):e.length;var t=gf(e);return t==$e||t==Je?e.size:Dr(e).length}function va(e,t,n){var r=sp(e)?b:oo;return n&&Ti(e,t,n)&&(t=oe),r(e,hi(t,3))}function ya(e,t){if("function"!=typeof t)throw new nl(se);return e=hs(e),function(){if(--e<1)return t.apply(this,arguments)}}function ma(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,ii(e,be,oe,oe,oe,oe,t)}function ga(e,t){var n;if("function"!=typeof t)throw new nl(se);return e=hs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e>1||(t=oe),n}}function ba(e,t,n){t=n?oe:t;var r=ii(e,ve,oe,oe,oe,oe,oe,t);return r.placeholder=ba.placeholder,r}function _a(e,t,n){t=n?oe:t;var r=ii(e,ye,oe,oe,oe,oe,oe,t);return r.placeholder=_a.placeholder,r}function wa(e,t,n){function r(t){var n=p,r=d;return p=d=oe,g=t,v=e.apply(r,n)}function o(e){return g=e,y=wf(a,t),b?r(e):v}function i(e){var n=e-m,r=e-g,o=t-n;return _?Il(o,h-r):o}function u(e){var n=e-m,r=e-g;return m===oe||n>=t||0>n||_&&r>=h}function a(){var e=Yf();return u(e)?s(e):(y=wf(a,i(e)),oe)}function s(e){return y=oe,w&&p?r(e):(p=d=oe,v)}function c(){y!==oe&&df(y),g=0,p=m=d=y=oe}function l(){return y===oe?v:s(Yf())}function f(){var e=Yf(),n=u(e);if(p=arguments,d=this,m=e,n){if(y===oe)return o(m);if(_)return y=wf(a,t),r(m)}return y===oe&&(y=wf(a,t)),v}var p,d,h,v,y,m,g=0,b=!1,_=!1,w=!0;if("function"!=typeof e)throw new nl(se);return t=ys(t)||0,Ya(n)&&(b=!!n.leading,_="maxWait"in n,h=_?Ul(ys(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function Ca(e){return ii(e,we)}function Oa(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new nl(se);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var u=e.apply(this,r);return n.cache=i.set(o,u)||i,u};return n.cache=new(Oa.Cache||rn),n}function Sa(e){if("function"!=typeof e)throw new nl(se);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function xa(e){return ga(2,e)}function ka(e,t){if("function"!=typeof e)throw new nl(se);return t=t===oe?t:hs(t),Jr(e,t)}function Ta(e,t){if("function"!=typeof e)throw new nl(se);return t=t===oe?0:Ul(hs(t),0),Jr(function(n){var r=n[t],o=wo(n,0,t);return r&&y(o,r),a(e,this,o)})}function Pa(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new nl(se);return Ya(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),wa(e,t,{leading:r,maxWait:t,trailing:o})}function Ea(e){return ma(e,1)}function Aa(e,t){return t=null==t?Cc:t,np(t,e)}function Ma(){if(!arguments.length)return[];var e=arguments[0];return sp(e)?e:[e]}function ja(e){return Dn(e,!1,!0)}function Ra(e,t){return Dn(e,!1,!0,t)}function Da(e){return Dn(e,!0,!0)}function Na(e,t){return Dn(e,!0,!0,t)}function Ua(e,t){return null==t||Un(e,t,js(t))}function Ia(e,t){return e===t||e!==e&&t!==t}function Wa(e){return null!=e&&Xa(e.length)&&!Ha(e)}function La(e){return Za(e)&&Wa(e)}function Fa(e){return e===!0||e===!1||Za(e)&&pl.call(e)==Be}function Ba(e){return null!=e&&1===e.nodeType&&Za(e)&&!is(e)}function Va(e){if(Wa(e)&&(sp(e)||"string"==typeof e||"function"==typeof e.splice||lp(e)||vp(e)||ap(e)))return!e.length;var t=gf(e);if(t==$e||t==Je)return!e.size;if(ji(e))return!Dr(e).length;for(var n in e)if(cl.call(e,n))return!1;return!0}function za(e,t){return xr(e,t)}function qa(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?xr(e,t,n):!!r}function Ga(e){return!!Za(e)&&(pl.call(e)==ze||"string"==typeof e.message&&"string"==typeof e.name)}function $a(e){return"number"==typeof e&&Rl(e)}function Ha(e){var t=Ya(e)?pl.call(e):"";return t==qe||t==Ge||t==Ye}function Ka(e){return"number"==typeof e&&e==hs(e)}function Xa(e){return"number"==typeof e&&e>-1&&e%1==0&&je>=e}function Ya(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function Za(e){return null!=e&&"object"==typeof e}function Ja(e,t){return e===t||Pr(e,t,yi(t))}function Qa(e,t,n){return n="function"==typeof n?n:oe,Pr(e,t,yi(t),n)}function es(e){return os(e)&&e!=+e}function ts(e){if(bf(e))throw new Yc(ae);return Er(e)}function ns(e){return null===e}function rs(e){return null==e}function os(e){return"number"==typeof e||Za(e)&&pl.call(e)==He}function is(e){if(!Za(e)||pl.call(e)!=Ke)return!1;var t=bl(e);if(null===t)return!0;var n=cl.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&sl.call(n)==fl}function us(e){return Ka(e)&&e>=-je&&je>=e}function as(e){return"string"==typeof e||!sp(e)&&Za(e)&&pl.call(e)==Qe}function ss(e){return"symbol"==typeof e||Za(e)&&pl.call(e)==et}function cs(e){return e===oe}function ls(e){return Za(e)&&gf(e)==tt}function fs(e){return Za(e)&&pl.call(e)==nt}function ps(e){if(!e)return[];if(Wa(e))return as(e)?ee(e):Do(e);if(_l&&e[_l])return G(e[_l]());var t=gf(e),n=t==$e?$:t==Je?X:Gs;return n(e)}function ds(e){if(!e)return 0===e?e:0;if(e=ys(e),e===Me||e===-Me){var t=0>e?-1:1;return t*Re}return e===e?e:0}function hs(e){var t=ds(e),n=t%1;return t===t?n?t-n:t:0}function vs(e){return e?Mn(hs(e),0,Ne):0}function ys(e){if("number"==typeof e)return e;if(ss(e))return De;if(Ya(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Ya(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(At,"");var n=Bt.test(e);return n||zt.test(e)?Hn(e.slice(2),n?2:8):Ft.test(e)?De:+e}function ms(e){return No(e,Rs(e))}function gs(e){return Mn(hs(e),-je,je)}function bs(e){return null==e?"":co(e)}function _s(e,t){var n=of(e);return t?Pn(n,t):n}function ws(e,t){return C(e,hi(t,3),Zn)}function Cs(e,t){return C(e,hi(t,3),Jn)}function Os(e,t){return null==e?e:sf(e,hi(t,3),Rs)}function Ss(e,t){return null==e?e:cf(e,hi(t,3),Rs)}function xs(e,t){return e&&Zn(e,hi(t,3))}function ks(e,t){return e&&Jn(e,hi(t,3))}function Ts(e){return null==e?[]:er(e,js(e))}function Ps(e){return null==e?[]:er(e,Rs(e))}function Es(e,t,n){var r=null==e?oe:tr(e,t);return r===oe?n:r}function As(e,t){return null!=e&&_i(e,t,yr)}function Ms(e,t){return null!=e&&_i(e,t,mr)}function js(e){return Wa(e)?bn(e):Dr(e)}function Rs(e){return Wa(e)?bn(e,!0):Nr(e)}function Ds(e,t){var n={};return t=hi(t,3),Zn(e,function(e,r,o){En(n,t(e,r,o),e)}),n}function Ns(e,t){var n={};return t=hi(t,3),Zn(e,function(e,r,o){En(n,r,t(e,r,o))}),n}function Us(e,t){return Is(e,Sa(hi(t)))}function Is(e,t){return null==e?{}:Gr(e,fi(e),hi(t))}function Ws(e,t,n){t=Pi(t,e)?[t]:_o(t);var r=-1,o=t.length;for(o||(e=oe,o=1);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Fl();return Il(e+o*(t-e+$n("1e-"+((o+"").length-1))),t)}return Xr(e,t)}function Ys(e){return Bp(bs(e).toLowerCase())}function Zs(e){return e=bs(e),e&&e.replace(Gt,cr).replace(Rn,"")}function Js(e,t,n){e=bs(e),t=co(t);var r=e.length;n=n===oe?r:Mn(hs(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function Qs(e){return e=bs(e),e&&_t.test(e)?e.replace(gt,lr):e}function ec(e){return e=bs(e),e&&Et.test(e)?e.replace(Pt,"\\$&"):e}function tc(e,t,n){e=bs(e),t=hs(t);var r=t?Q(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Jo(Al(o),n)+e+Jo(El(o),n)}function nc(e,t,n){e=bs(e),t=hs(t);var r=t?Q(e):0;return t&&t>r?e+Jo(t-r,n):e}function rc(e,t,n){e=bs(e),t=hs(t);var r=t?Q(e):0;return t&&t>r?Jo(t-r,n)+e:e}function oc(e,t,n){return n||null==t?t=0:t&&(t=+t),Ll(bs(e).replace(Mt,""),t||0)}function ic(e,t,n){return t=(n?Ti(e,t,n):t===oe)?1:hs(t),Zr(bs(e),t)}function uc(){var e=arguments,t=bs(e[0]);return 3>e.length?t:t.replace(e[1],e[2])}function ac(e,t,n){return n&&"number"!=typeof n&&Ti(e,t,n)&&(t=n=oe),(n=n===oe?Ne:n>>>0)?(e=bs(e),e&&("string"==typeof t||null!=t&&!dp(t))&&(t=co(t),!t&&z(e))?wo(ee(e),0,n):e.split(t,n)):[]}function sc(e,t,n){return e=bs(e),n=Mn(hs(n),0,e.length),t=co(t),e.slice(n,n+t.length)==t}function cc(e,n,r){var o=t.templateSettings;r&&Ti(e,n,r)&&(n=oe),e=bs(e),n=_p({},n,o,On);var i,u,a=_p({},n.imports,o.imports,On),s=js(a),c=U(a,s),l=0,f=n.interpolate||$t,p="__p += '",d=el((n.escape||$t).source+"|"+f.source+"|"+(f===Ot?Wt:$t).source+"|"+(n.evaluate||$t).source+"|$","g"),h="//# sourceURL="+("sourceURL"in n?n.sourceURL:"lodash.templateSources["+ ++Ln+"]")+"\n";e.replace(d,function(t,n,r,o,a,s){return r||(r=o),p+=e.slice(l,s).replace(Ht,B),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),a&&(u=!0,p+="';\n"+a+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t}),p+="';\n";var v=n.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(u?p.replace(ht,""):p).replace(vt,"$1").replace(yt,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(u?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var y=Vp(function(){return Zc(s,h+"return "+p).apply(oe,c)});if(y.source=p,Ga(y))throw y;return y}function lc(e){return bs(e).toLowerCase()}function fc(e){return bs(e).toUpperCase()}function pc(e,t,n){if(e=bs(e),e&&(n||t===oe))return e.replace(At,"");if(!e||!(t=co(t)))return e;var r=ee(e),o=ee(t),i=W(r,o),u=L(r,o)+1;return wo(r,i,u).join("")}function dc(e,t,n){if(e=bs(e),e&&(n||t===oe))return e.replace(jt,"");if(!e||!(t=co(t)))return e;var r=ee(e),o=L(r,ee(t))+1;return wo(r,0,o).join("")}function hc(e,t,n){if(e=bs(e),e&&(n||t===oe))return e.replace(Mt,"");if(!e||!(t=co(t)))return e;var r=ee(e),o=W(r,ee(t));return wo(r,o).join("")}function vc(e,t){var n=Se,r=xe;if(Ya(t)){var o="separator"in t?t.separator:o;n="length"in t?hs(t.length):n,r="omission"in t?co(t.omission):r}e=bs(e);var i=e.length;if(z(e)){var u=ee(e);i=u.length}if(n>=i)return e;var a=n-Q(r);if(1>a)return r;var s=u?wo(u,0,a).join(""):e.slice(0,a);if(o===oe)return s+r;if(u&&(a+=s.length-a),dp(o)){if(e.slice(a).search(o)){var c,l=s;for(o.global||(o=el(o.source,bs(Lt.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var f=c.index;s=s.slice(0,f===oe?a:f)}}else if(e.indexOf(co(o),a)!=a){var p=s.lastIndexOf(o);p>-1&&(s=s.slice(0,p))}return s+r}function yc(e){return e=bs(e),e&&bt.test(e)?e.replace(mt,fr):e}function mc(e,t,n){return e=bs(e),t=n?oe:t,t===oe?q(e)?re(e):w(e):e.match(t)||[]}function gc(e){var t=e?e.length:0,n=hi();return e=t?v(e,function(e){if("function"!=typeof e[1])throw new nl(se);return[n(e[0]),e[1]]}):[],Jr(function(n){for(var r=-1;++re||e>je)return[];var n=Ne,r=Il(e,Ne);t=hi(t),e-=Ne;for(var o=R(r,t);++n1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,Lu(e,n)}),Bf=ci(function(e){var t=e.length,n=t?e[0]:0,i=this.__wrapped__,u=function(t){return An(t,e)};return 1>=t&&!this.__actions__.length&&i instanceof o&&ki(n)?(i=i.slice(n,+n+(t?1:0)),i.__actions__.push({func:qu,args:[u],thisArg:oe}),new r(i,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(u)}),Vf=Io(function(e,t,n){cl.call(e,n)?++e[n]:En(e,n,1)}),zf=$o(ru),qf=$o(ou),Gf=Io(function(e,t,n){cl.call(e,n)?e[n].push(t):En(e,n,[t])}),$f=Jr(function(e,t,n){var r=-1,o="function"==typeof t,i=Pi(t),u=Wa(e)?Kc(e.length):[];return uf(e,function(e){var s=o?t:i&&null!=e?e[t]:oe;u[++r]=s?a(s,e,n):wr(e,t,n)}),u}),Hf=Io(function(e,t,n){En(e,n,t)}),Kf=Io(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),Xf=Jr(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Ti(e,t[0],t[1])?t=[]:n>2&&Ti(t[0],t[1],t[2])&&(t=[t[0]]),zr(e,Xn(t,1),[])}),Yf=Tl||function(){return Yn.Date.now()},Zf=Jr(function(e,t,n){var r=pe;if(n.length){var o=K(n,di(Zf));r|=me}return ii(e,r,t,n,o)}),Jf=Jr(function(e,t,n){var r=pe|de;if(n.length){var o=K(n,di(Jf));r|=me}return ii(t,r,e,n,o)}),Qf=Jr(function(e,t){return In(e,1,t)}),ep=Jr(function(e,t,n){return In(e,ys(t)||0,n)});Oa.Cache=rn;var tp=pf(function(e,t){t=1==t.length&&sp(t[0])?v(t[0],N(hi())):v(Xn(t,1),N(hi()));var n=t.length;return Jr(function(r){for(var o=-1,i=Il(r.length,n);++o=t}),ap=Cr(function(){return arguments}())?Cr:function(e){return Za(e)&&cl.call(e,"callee")&&!Cl.call(e,"callee")},sp=Kc.isArray,cp=nr?N(nr):Or,lp=jl||Rc,fp=rr?N(rr):Sr,pp=or?N(or):Tr,dp=ir?N(ir):Ar,hp=ur?N(ur):Mr,vp=ar?N(ar):jr,yp=ti(Ur),mp=ti(function(e,t){return t>=e}),gp=Wo(function(e,t){if(ji(t)||Wa(t))return No(t,js(t),e),oe;for(var n in t)cl.call(t,n)&&xn(e,n,t[n])}),bp=Wo(function(e,t){No(t,Rs(t),e)}),_p=Wo(function(e,t,n,r){No(t,Rs(t),e,r)}),wp=Wo(function(e,t,n,r){No(t,js(t),e,r)}),Cp=ci(An),Op=Jr(function(e){return e.push(oe,On),a(_p,oe,e)}),Sp=Jr(function(e){return e.push(oe,Ii),a(Ep,oe,e)}),xp=Xo(function(e,t,n){e[t]=n},_c(Cc)),kp=Xo(function(e,t,n){cl.call(e,t)?e[t].push(n):e[t]=[n]},hi),Tp=Jr(wr),Pp=Wo(function(e,t,n){Fr(e,t,n)}),Ep=Wo(function(e,t,n,r){Fr(e,t,n,r)}),Ap=ci(function(e,t){return null==e?{}:(t=v(t,Gi),qr(e,Vn(fi(e),t)))}),Mp=ci(function(e,t){return null==e?{}:qr(e,v(t,Gi))}),jp=oi(js),Rp=oi(Rs),Dp=zo(function(e,t,n){return t=t.toLowerCase(),e+(n?Ys(t):t)}),Np=zo(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),Up=zo(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Ip=Vo("toLowerCase"),Wp=zo(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),Lp=zo(function(e,t,n){return e+(n?" ":"")+Bp(t)}),Fp=zo(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Bp=Vo("toUpperCase"),Vp=Jr(function(e,t){try{return a(e,oe,t)}catch(n){return Ga(n)?n:new Yc(n)}}),zp=ci(function(e,t){return c(t,function(t){t=Gi(t),En(e,t,Zf(e[t],e))}),e}),qp=Ho(),Gp=Ho(!0),$p=Jr(function(e,t){return function(n){return wr(n,e,t)}}),Hp=Jr(function(e,t){return function(n){return wr(e,n,t)}}),Kp=Zo(v),Xp=Zo(f),Yp=Zo(b),Zp=ei(),Jp=ei(!0),Qp=Yo(function(e,t){return e+t},0),ed=ri("ceil"),td=Yo(function(e,t){return e/t},1),nd=ri("floor"),rd=Yo(function(e,t){return e*t},1),od=ri("round"),id=Yo(function(e,t){return e-t},0);return t.after=ya,t.ary=ma,t.assign=gp,t.assignIn=bp,t.assignInWith=_p,t.assignWith=wp,t.at=Cp,t.before=ga,t.bind=Zf,t.bindAll=zp,t.bindKey=Jf,t.castArray=Ma,t.chain=Vu,t.chunk=Xi,t.compact=Yi,t.concat=Zi,t.cond=gc,t.conforms=bc,t.constant=_c,t.countBy=Vf,t.create=_s,t.curry=ba,t.curryRight=_a,t.debounce=wa,t.defaults=Op,t.defaultsDeep=Sp,t.defer=Qf,t.delay=ep,t.difference=Sf,t.differenceBy=xf,t.differenceWith=kf,t.drop=Ji,t.dropRight=Qi,t.dropRightWhile=eu,t.dropWhile=tu,t.fill=nu,t.filter=Qu,t.flatMap=ea,t.flatMapDeep=ta,t.flatMapDepth=na,t.flatten=iu,t.flattenDeep=uu,t.flattenDepth=au,t.flip=Ca,t.flow=qp,t.flowRight=Gp,t.fromPairs=su,t.functions=Ts,t.functionsIn=Ps,t.groupBy=Gf,t.initial=fu,t.intersection=Tf,t.intersectionBy=Pf,t.intersectionWith=Ef,t.invert=xp,t.invertBy=kp,t.invokeMap=$f,t.iteratee=Oc,t.keyBy=Hf,t.keys=js,t.keysIn=Rs,t.map=ua,t.mapKeys=Ds,t.mapValues=Ns,t.matches=Sc,t.matchesProperty=xc,t.memoize=Oa,t.merge=Pp,t.mergeWith=Ep,t.method=$p,t.methodOf=Hp,t.mixin=kc,t.negate=Sa,t.nthArg=Ec,t.omit=Ap,t.omitBy=Us,t.once=xa,t.orderBy=aa,t.over=Kp,t.overArgs=tp,t.overEvery=Xp,t.overSome=Yp,t.partial=np,t.partialRight=rp,t.partition=Kf,t.pick=Mp,t.pickBy=Is,t.property=Ac,t.propertyOf=Mc,t.pull=Af,t.pullAll=yu,t.pullAllBy=mu,t.pullAllWith=gu,t.pullAt=Mf,t.range=Zp,t.rangeRight=Jp,t.rearg=op,t.reject=la,t.remove=bu,t.rest=ka,t.reverse=_u,t.sampleSize=pa,t.set=Ls,t.setWith=Fs,t.shuffle=da,t.slice=wu,t.sortBy=Xf,t.sortedUniq=Pu,t.sortedUniqBy=Eu,t.split=ac,t.spread=Ta,t.tail=Au,t.take=Mu,t.takeRight=ju,t.takeRightWhile=Ru,t.takeWhile=Du,t.tap=zu,t.throttle=Pa,t.thru=qu,t.toArray=ps,t.toPairs=jp,t.toPairsIn=Rp,t.toPath=Wc,t.toPlainObject=ms,t.transform=Bs,t.unary=Ea,t.union=jf,t.unionBy=Rf,t.unionWith=Df,t.uniq=Nu,t.uniqBy=Uu,t.uniqWith=Iu,t.unset=Vs,t.unzip=Wu,t.unzipWith=Lu,t.update=zs,t.updateWith=qs,t.values=Gs,t.valuesIn=$s,t.without=Nf,t.words=mc,t.wrap=Aa,t.xor=Uf,t.xorBy=If,t.xorWith=Wf,t.zip=Lf,t.zipObject=Fu,t.zipObjectDeep=Bu,t.zipWith=Ff,t.entries=jp,t.entriesIn=Rp,t.extend=bp,t.extendWith=_p,kc(t,t),t.add=Qp,t.attempt=Vp,t.camelCase=Dp,t.capitalize=Ys,t.ceil=ed,t.clamp=Hs,t.clone=ja,t.cloneDeep=Da,t.cloneDeepWith=Na,t.cloneWith=Ra,t.conformsTo=Ua,t.deburr=Zs,t.defaultTo=wc,t.divide=td,t.endsWith=Js,t.eq=Ia,t.escape=Qs,t.escapeRegExp=ec,t.every=Ju,t.find=zf,t.findIndex=ru,t.findKey=ws,t.findLast=qf,t.findLastIndex=ou,t.findLastKey=Cs,t.floor=nd,t.forEach=ra,t.forEachRight=oa,t.forIn=Os,t.forInRight=Ss,t.forOwn=xs,t.forOwnRight=ks,t.get=Es,t.gt=ip,t.gte=up,t.has=As,t.hasIn=Ms,t.head=cu,t.identity=Cc,t.includes=ia,t.indexOf=lu,t.inRange=Ks,t.invoke=Tp,t.isArguments=ap,t.isArray=sp,t.isArrayBuffer=cp,t.isArrayLike=Wa,t.isArrayLikeObject=La,t.isBoolean=Fa,t.isBuffer=lp,t.isDate=fp,t.isElement=Ba,t.isEmpty=Va,t.isEqual=za,t.isEqualWith=qa,t.isError=Ga,t.isFinite=$a,t.isFunction=Ha,t.isInteger=Ka,t.isLength=Xa,t.isMap=pp,t.isMatch=Ja,t.isMatchWith=Qa,t.isNaN=es,t.isNative=ts,t.isNil=rs,t.isNull=ns,t.isNumber=os,t.isObject=Ya,t.isObjectLike=Za,t.isPlainObject=is,t.isRegExp=dp,t.isSafeInteger=us,t.isSet=hp,t.isString=as,t.isSymbol=ss,t.isTypedArray=vp,t.isUndefined=cs,t.isWeakMap=ls,t.isWeakSet=fs,t.join=pu,t.kebabCase=Np,t.last=du,t.lastIndexOf=hu,t.lowerCase=Up,t.lowerFirst=Ip,t.lt=yp,t.lte=mp,t.max=Fc,t.maxBy=Bc,t.mean=Vc,t.meanBy=zc,t.min=qc,t.minBy=Gc,t.stubArray=jc,t.stubFalse=Rc,t.stubObject=Dc,t.stubString=Nc,t.stubTrue=Uc,t.multiply=rd,t.nth=vu,t.noConflict=Tc,t.noop=Pc,t.now=Yf,t.pad=tc,t.padEnd=nc,t.padStart=rc,t.parseInt=oc,t.random=Xs,t.reduce=sa,t.reduceRight=ca,t.repeat=ic,t.replace=uc,t.result=Ws,t.round=od,t.runInContext=hr,t.sample=fa,t.size=ha,t.snakeCase=Wp,t.some=va,t.sortedIndex=Cu,t.sortedIndexBy=Ou,t.sortedIndexOf=Su,t.sortedLastIndex=xu,t.sortedLastIndexBy=ku,t.sortedLastIndexOf=Tu,t.startCase=Lp,t.startsWith=sc,t.subtract=id,t.sum=$c,t.sumBy=Hc,t.template=cc,t.times=Ic,t.toFinite=ds,t.toInteger=hs,t.toLength=vs,t.toLower=lc,t.toNumber=ys,t.toSafeInteger=gs,t.toString=bs,t.toUpper=fc,t.trim=pc,t.trimEnd=dc,t.trimStart=hc,t.truncate=vc,t.unescape=yc,t.uniqueId=Lc,t.upperCase=Fp,t.upperFirst=Bp,t.each=ra,t.eachRight=oa,t.first=cu,kc(t,function(){var e={};return Zn(t,function(n,r){cl.call(t.prototype,r)||(e[r]=n)}),e}(),{chain:!1}),t.VERSION=ie,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){t[e].placeholder=t}),c(["drop","take"],function(e,t){o.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new o(this);n=n===oe?1:Ul(hs(n),0);var i=this.clone();return r?i.__takeCount__=Il(n,i.__takeCount__):i.__views__.push({size:Il(n,Ne),type:e+(0>i.__dir__?"Right":"")}),i},o.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),c(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Pe||n==Ae;o.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:hi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),c(["head","last"],function(e,t){var n="take"+(t?"Right":"");o.prototype[e]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");o.prototype[e]=function(){return this.__filtered__?new o(this):this[n](1)}}),o.prototype.compact=function(){return this.filter(Cc)},o.prototype.find=function(e){return this.filter(e).head()},o.prototype.findLast=function(e){return this.reverse().find(e)},o.prototype.invokeMap=Jr(function(e,t){return"function"==typeof e?new o(this):this.map(function(n){return wr(n,e,t)})}),o.prototype.reject=function(e){return this.filter(Sa(hi(e)))},o.prototype.slice=function(e,t){e=hs(e);var n=this;return n.__filtered__&&(e>0||0>t)?new o(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=hs(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},o.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},o.prototype.toArray=function(){return this.take(Ne)},Zn(o.prototype,function(e,n){var i=/^(?:filter|find|map|reject)|While$/.test(n),u=/^(?:head|last)$/.test(n),a=t[u?"take"+("last"==n?"Right":""):n],s=u||/^find/.test(n);a&&(t.prototype[n]=function(){var n=this.__wrapped__,c=u?[1]:arguments,l=n instanceof o,f=c[0],p=l||sp(n),d=function(e){var n=a.apply(t,y([e],c));return u&&h?n[0]:n};p&&i&&"function"==typeof f&&1!=f.length&&(l=p=!1);var h=this.__chain__,v=!!this.__actions__.length,m=s&&!h,g=l&&!v;if(!s&&p){n=g?n:new o(this);var b=e.apply(n,c);return b.__actions__.push({func:qu,args:[d],thisArg:oe}),new r(b,h)}return m&&g?e.apply(this,c):(b=this.thru(d),m?u?b.value()[0]:b.value():b)})}),c(["pop","push","shift","sort","splice","unshift"],function(e){var n=rl[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);t.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var t=this.value();return n.apply(sp(t)?t:[],e)}return this[r](function(t){return n.apply(sp(t)?t:[],e)})}}),Zn(o.prototype,function(e,n){var r=t[n];if(r){var o=r.name+"",i=Xl[o]||(Xl[o]=[]);i.push({name:n,func:r})}}),Xl[Ko(oe,de).name]=[{name:"wrapper",func:oe}],o.prototype.clone=_,o.prototype.reverse=E,o.prototype.value=Z,t.prototype.at=Bf,t.prototype.chain=Gu,t.prototype.commit=$u,t.prototype.next=Hu,t.prototype.plant=Xu,t.prototype.reverse=Yu,t.prototype.toJSON=t.prototype.valueOf=t.prototype.value=Zu,t.prototype.first=t.prototype.head,_l&&(t.prototype[_l]=Ku),t},dr=pr();Yn._=dr,r=function(){return dr}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(30)(e))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.actions=t.unboundActions=void 0;var i=n(8),u=n(10),a=o(u),s=n(16),c=o(s),l=n(67),f=r(l),p=n(66),d=r(p),h=t.unboundActions=(0,a["default"])({},f,d);t.actions=(0,i.bindActionCreators)(h,c["default"].dispatch)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(8),i=n(70),u=r(i),a=(0,o.createStore)(u["default"],window.devToolsExtension?window.devToolsExtension():void 0);t["default"]=a},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(3),n(4),n(50),n(5)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var s=a(o),c=a(i),l=function(e){var t=e.image;return(0,n.h)("div",{className:c["default"].captures},(0,n.h)("img",{src:t,className:c["default"].image}))},f=function(e){var t=e.capture,r=e.nextLink,o=e.retakeAction,i=e.confirmAction;return(0,n.h)("div",{className:s["default"].previews+" "+s["default"].step},(0,n.h)("h1",{className:s["default"].title},"Confirm capture"),(0,n.h)("p",null,"Please confirm that you are happy with this photo."),(0,n.h)(l,{image:t.image}),(0,n.h)("div",{className:s["default"].actions+" "+c["default"].actions},(0,n.h)("button",{onClick:o,className:s["default"].btn+" "+c["default"]["btn-outline"]},"Take again"),(0,n.h)("a",{href:r,className:s["default"].btn+" "+s["default"]["btn-primary"],onClick:i},"Confirm")))},p=function(e){var t=e.nextLink,r=e.method,o=e.validCaptures,i=e.actions,u=i.deleteCaptures,a=i.confirmCapture,s=o[r][0];return(0,n.h)(f,{capture:s,retakeAction:function(){return u({method:r})},confirmAction:function(){return a({method:r,id:s.id})},nextLink:t})};t["default"]=(0,u.impurify)(p),e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[t,n(1),n(4),n(55)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(e,"__esModule",{value:!0}),e.FaceInstructions=e.FaceOverlay=e.FaceTitle=void 0;var i=o(n),u=o(r);e.FaceTitle=function(e){var n=e.useCapture,r=n?"Place your face in the circle":"Upload a picture of your face";return(0,t.h)("div",{className:i["default"].title},r)},e.FaceOverlay=function(){return(0,t.h)("div",{className:i["default"].overlay},(0,t.h)("span",{className:i["default"]["overlay-shape"]+" "+u["default"].circle}))},e.FaceInstructions=function(e){var n=e.handeClick;return(0,t.h)("div",{className:u["default"].instructions},(0,t.h)("button",{className:i["default"].btn+" "+i["default"]["btn-primary"]+" "+i["default"]["btn-centered"],onClick:n},"Take photo"))}})},function(e,t,n){var r,o;(function(n){!function(){"use strict";function i(){var e,t,n,r=h.userAgent,o=h.appName,i=""+parseFloat(h.appVersion),u=parseInt(h.appVersion,10);if(m){o="Opera";try{i=h.userAgent.split("OPR/")[1].split(" ")[0],u=i.split(".")[0]}catch(a){i="0.0.0.0",u=0}}else w?(t=r.indexOf("MSIE"),o="IE",i=r.substring(t+5)):_?(t=r.indexOf("Chrome"),o="Chrome",i=r.substring(t+7)):b?(t=r.indexOf("Safari"),o="Safari",i=r.substring(t+7),(t=r.indexOf("Version"))!==-1&&(i=r.substring(t+8))):g?(t=r.indexOf("Firefox"),o="Firefox",i=r.substring(t+8)):(e=r.lastIndexOf(" ")+1)<(t=r.lastIndexOf("/"))&&(o=r.substring(e,t),i=r.substring(t+1),o.toLowerCase()===o.toUpperCase()&&(o=h.appName));return y&&(o="Edge",i=""+parseInt(h.userAgent.match(/Edge\/(\d+).(\d+)$/)[2],10)),(n=i.indexOf(";"))!==-1&&(i=i.substring(0,n)),(n=i.indexOf(" "))!==-1&&(i=i.substring(0,n)),u=parseInt(""+i,10),isNaN(u)&&(i=""+parseFloat(h.appVersion),u=parseInt(h.appVersion,10)),{fullVersion:i,version:u,name:o,isPrivateBrowsing:!1}}function u(e,t){var n=0,r=50,o=!1,i=window.setInterval(function(){e()&&(window.clearInterval(i),t(o)),n++>r&&(window.clearInterval(i),o=!0,t(o))},10)}function a(e){var t=e.toLowerCase();if(0===t.indexOf("msie")&&0===t.indexOf("trident"))return!1;var n=/(?:msie|rv:)\s?([\d\.]+)/.exec(t);return!(!n||parseInt(n[1],10)<10)}function s(e){var t;if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){t=!1},function(e){t=!0});else if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var n;try{n=window.indexedDB.open("test"),n.onerror=function(){return!0}}catch(r){t=!0}void 0===t&&u(function(){return"done"===n.readyState},function(e){e||(t=!n.result)})}else if(a(window.navigator.userAgent)){t=!1;try{window.indexedDB||(t=!0)}catch(r){t=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(r){t=!0}void 0===t&&(t=!1,window.localStorage.removeItem("test"))}u(function(){return void 0!==t},function(n){e(t)})}function c(){var e="-",t=h.appVersion,n=h.userAgent,r=e,o=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(var i in o){var u=o[i];if(u.r.test(n)){r=u.s;break}}var a=e;switch(/Windows/.test(r)&&(/Windows (.*)/.test(r)&&(a=/Windows (.*)/.exec(r)[1]),r="Windows"),r){case"Mac OS X":/Mac OS X (10[\.\_\d]+)/.test(n)&&(a=/Mac OS X (10[\.\_\d]+)/.exec(n)[1]);break;case"Android":/Android ([\.\_\d]+)/.test(n)&&(a=/Android ([\.\_\d]+)/.exec(n)[1]);break;case"iOS":/OS (\d+)_(\d+)_?(\d+)?/.test(n)&&(a=/OS (\d+)_(\d+)_?(\d+)?/.exec(t),a=a[1]+"."+a[2]+"."+(0|a[3]))}return{osName:r,osVersion:a}}function l(e){W.isWebRTCSupported&&(W.isORTCSupported||f(function(t){e(t.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)?"Local: "+t:"Public: "+t)}))}function f(e){function t(t){var r=/([0-9]{1,3}(\.[0-9]{1,3}){3})/,o=r.exec(t);if(!o)return void console.warn("Could not match IP address in",t);var i=o[1];void 0===n[i]&&e(i),n[i]=!0}var n={},r=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,o=!!window.webkitRTCPeerConnection;if(!r){var i=document.getElementById("iframe");if(!i)throw"NOTE: you need to have an iframe in the page right above the script tag.";var u=i.contentWindow;r=u.RTCPeerConnection||u.mozRTCPeerConnection||u.webkitRTCPeerConnection,o=!!u.webkitRTCPeerConnection}if(r){var a,s={optional:[{RtpDataChannels:!0}]};o&&(a={iceServers:[{urls:"stun:stun.services.mozilla.com"}]},void 0!==W&&W.browser.isFirefox&&38>=W.browser.version&&(a[0]={url:a[0].urls}));var c=new r(a,s);c.onicecandidate=function(e){e.candidate&&t(e.candidate.candidate)},c.createDataChannel(""),c.createOffer(function(e){c.setLocalDescription(e,function(){},function(){})},function(){}),setTimeout(function(){var e=c.localDescription.sdp.split("\n");e.forEach(function(e){0===e.indexOf("a=candidate:")&&t(e)})},1e3)}}function p(e){return j?(!h.enumerateDevices&&window.MediaStreamTrack&&window.MediaStreamTrack.getSources&&(h.enumerateDevices=window.MediaStreamTrack.getSources.bind(window.MediaStreamTrack)),!h.enumerateDevices&&h.enumerateDevices&&(h.enumerateDevices=h.enumerateDevices.bind(h)),h.enumerateDevices?(P=[],E=[],A=[],M=[],void h.enumerateDevices(function(t){t.forEach(function(e){var t={};for(var n in e)t[n]=e[n];"audio"===t.kind&&(t.kind="audioinput"),"video"===t.kind&&(t.kind="videoinput");var r;P.forEach(function(e){e.id===t.id&&e.kind===t.kind&&(r=!0)}),r||(t.deviceId||(t.deviceId=t.id),t.id||(t.id=t.deviceId),t.label?("videoinput"!==t.kind||I||(I=!0),"audioinput"!==t.kind||U||(U=!0)):(t.label="Please invoke getUserMedia once.","https:"!==location.protocol&&document.domain.search&&document.domain.search(/localhost|127.0./g)===-1&&(t.label="HTTPs is required to get label of this "+t.kind+" device.")),"audioinput"===t.kind&&(R=!0,E.indexOf(t)===-1&&E.push(t)),"audiooutput"===t.kind&&(D=!0,A.indexOf(t)===-1&&A.push(t)),"videoinput"===t.kind&&(N=!0,M.indexOf(t)===-1&&M.push(t)),P.indexOf(t)===-1&&P.push(t))}),void 0!==W&&(W.MediaDevices=P,W.hasMicrophone=R,W.hasSpeakers=D,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=I,W.isWebsiteHasMicrophonePermissions=U,W.audioInputDevices=E,W.audioOutputDevices=A,W.videoInputDevices=M),e&&e()})):void(e&&e())):void(e&&e())}var d="Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45";!function(e){"undefined"==typeof window&&("undefined"==typeof window&&void 0!==n?(n.navigator={userAgent:d,getUserMedia:function(){}},e.window=n):"undefined"==typeof window,"undefined"==typeof document&&(e.document={},document.createElement=document.captureStream=document.mozCaptureStream=function(){return{}}),"undefined"==typeof location&&(e.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(e.screen={width:0,height:0}))}(void 0!==n?n:window);var h=window.navigator;void 0!==h?(void 0!==h.webkitGetUserMedia&&(h.getUserMedia=h.webkitGetUserMedia),void 0!==h.mozGetUserMedia&&(h.getUserMedia=h.mozGetUserMedia)):h={getUserMedia:function(){},userAgent:d};var v=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(h.userAgent||""),y=!(h.userAgent.indexOf("Edge")===-1||!h.msSaveOrOpenBlob&&!h.msSaveBlob),m=!!window.opera||h.userAgent.indexOf(" OPR/")>=0,g=void 0!==window.InstallTrigger,b=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,_=!!window.chrome&&!m,w=!!document.documentMode&&!y,C={Android:function(){return h.userAgent.match(/Android/i)},BlackBerry:function(){return h.userAgent.match(/BlackBerry|BB10/i)},iOS:function(){return h.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return h.userAgent.match(/Opera Mini/i)},Windows:function(){return h.userAgent.match(/IEMobile/i)},any:function(){return C.Android()||C.BlackBerry()||C.iOS()||C.Opera()||C.Windows()},getOsName:function(){var e="Unknown OS";return C.Android()&&(e="Android"),C.BlackBerry()&&(e="BlackBerry"),C.iOS()&&(e="iOS"),C.Opera()&&(e="Opera Mini"),C.Windows()&&(e="Windows"),e}},O="Unknown OS",S="Unknown OS Version";if(C.any())O=C.getOsName();else{var x=c();O=x.osName,S=x.osVersion}var k=!1,T=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){!k&&e in document.createElement("canvas")&&(k=!0),!T&&e in document.createElement("video")&&(T=!0)});var P=[],E=[],A=[],M=[];h.mediaDevices&&h.mediaDevices.enumerateDevices&&(h.enumerateDevices=function(e){h.mediaDevices.enumerateDevices().then(e)["catch"](function(){e([])})});var j=!1;"undefined"!=typeof MediaStreamTrack&&"getSources"in MediaStreamTrack?j=!0:h.mediaDevices&&h.mediaDevices.enumerateDevices&&(j=!0);var R=!1,D=!1,N=!1,U=!1,I=!1;p();var W=window.DetectRTC||{};W.browser=i(),s(function(e){W.browser.isPrivateBrowsing=!!e}),W.browser["is"+W.browser.name]=!0;var L=(!!(window.process&&"object"==typeof window.process&&window.process.versions&&window.process.versions["node-webkit"]),!1);["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){L||e in window&&(L=!0)}),W.isWebRTCSupported=L,W.isORTCSupported="undefined"!=typeof RTCIceGatherer;var F=!1;W.browser.isChrome&&W.browser.version>=35?F=!0:W.browser.isFirefox&&W.browser.version>=34&&(F=!0),"https:"!==location.protocol&&(F=!1),W.isScreenCapturingSupported=F;var B={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){B.isSupported||e in window&&(B.isSupported=!0,"createMediaStreamSource"in window[e].prototype&&(B.isCreateMediaStreamSourceSupported=!0))}),W.isAudioContextSupported=B.isSupported,W.isCreateMediaStreamSourceSupported=B.isCreateMediaStreamSourceSupported;var V=!1;W.browser.isChrome&&W.browser.version>31&&(V=!0),W.isRtpDataChannelsSupported=V;var z=!1;W.browser.isFirefox&&W.browser.version>28?z=!0:W.browser.isChrome&&W.browser.version>25?z=!0:W.browser.isOpera&&W.browser.version>=11&&(z=!0),W.isSctpDataChannelsSupported=z,W.isMobileDevice=v;var q=!1;h.getUserMedia?q=!0:h.mediaDevices&&h.mediaDevices.getUserMedia&&(q=!0),W.browser.isChrome&&W.browser.version>=46&&"https:"!==location.protocol&&(W.isGetUserMediaSupported="Requires HTTPs"),W.isGetUserMediaSupported=q,W.osName=O,W.osVersion=S;var G="";if(screen.width){var $=screen.width?screen.width:"",H=screen.height?screen.height:"";G+=""+$+" x "+H}W.displayResolution=G,W.isCanvasSupportsStreamCapturing=k,W.isVideoSupportsStreamCapturing=T,W.DetectLocalIPAddress=l,W.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,W.isWebSocketsBlocked=!W.isWebSocketsSupported,W.checkWebSocketsSupport=function(e){e=e||function(){};try{var t=new WebSocket("wss://echo.websocket.org:443/");t.onopen=function(){W.isWebSocketsBlocked=!1,e(),t.close(),t=null},t.onerror=function(){W.isWebSocketsBlocked=!0,e()}}catch(n){W.isWebSocketsBlocked=!0,e()}},W.load=function(e){e=e||function(){},p(e)},W.MediaDevices=P,W.hasMicrophone=R,W.hasSpeakers=D,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=I,W.isWebsiteHasMicrophonePermissions=U,W.audioInputDevices=E,W.audioOutputDevices=A,W.videoInputDevices=M;var K=!1;"setSinkId"in document.createElement("video")&&(K=!0),W.isSetSinkIdSupported=K;var X=!1;W.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(X=!0):W.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(X=!0),W.isRTPSenderReplaceTracksSupported=X;var Y=!1;W.browser.isFirefox&&W.browser.version>38&&(Y=!0),W.isRemoteStreamProcessingSupported=Y;var Z=!1;"undefined"!=typeof MediaStreamTrack&&"applyConstraints"in MediaStreamTrack.prototype&&(Z=!0),W.isApplyConstraintsSupported=Z;var J=!1;W.browser.isFirefox&&W.browser.version>=43&&(J=!0),W.isMultiMonitorScreenCapturingSupported=J,W.isPromisesSupported=!!("Promise"in window),void 0===W&&(window.DetectRTC={});var Q=window.MediaStream;void 0===Q&&"undefined"!=typeof webkitMediaStream&&(Q=webkitMediaStream),W.MediaStream=void 0!==Q&&Object.keys(Q.prototype),W.MediaStreamTrack="undefined"!=typeof MediaStreamTrack&&Object.keys(MediaStreamTrack.prototype);var ee=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;W.RTCPeerConnection=void 0!==ee&&Object.keys(ee.prototype),window.DetectRTC=W,e.exports=W,r=[],o=function(){return W}.apply(t,r),!(void 0!==o&&(e.exports=o))}()}).call(t,function(){return this}())},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=c["default"].getState(),t=f.captureSelector(e);h(e)&&d.emit("ready"),(0,p.each)(f.isThereAValidCapture(e),function(e,n){e&&d.emit(n+"Capture",t)}),f.allCaptured(e)&&d.emit("complete",t)}t.__esModule=!0;var u=n(72),a=o(u),s=n(16),c=o(s),l=n(21),f=r(l),p=n(14),d=new a["default"];c["default"].subscribe(i);var h=function(e){return e.globals.authenticated};d.getCaptures=function(){return f.captureSelector(c["default"].getState())},t["default"]=d},function(e,t,n){"use strict";t.__esModule=!0,t.captureSelector=t.allCaptured=t.areAllCapturesInvalid=t.hasUnprocessedCaptures=t.unprocessedCaptures=t.validCaptures=t.isThereAValidAndConfirmedCapture=t.isThereAValidCapture=void 0;var r=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&a["return"]&&a["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(76),i=n(14),u=function(e){return e.captures},a=function(e){return(0,o.createSelector)(u,function(t){return(0,i.mapValues)(t,e)})},s=(t.isThereAValidCapture=a(function(e){return e.some(function(e){return e.valid})}),t.isThereAValidAndConfirmedCapture=a(function(e){return e.some(function(e){return e.valid&&e.confirmed})})),c=t.validCaptures=a(function(e){return e.filter(function(e){return e.valid})});t.unprocessedCaptures=a(function(e){return e.filter(function(e){return!e.processed})}),t.hasUnprocessedCaptures=a(function(e){return e.some(function(e){return!e.processed})}),t.areAllCapturesInvalid=a(function(e){return e.length>0&&e.every(function(e){return e.processed&&!e.valid})}),t.allCaptured=(0,o.createSelector)(s,function(e){return(0,i.every)(e,function(e){return e})}),t.captureSelector=(0,o.createSelector)(c,function(e){return(0,i.mapKeys)((0,i.mapValues)(e,function(e){var t=r(e,1),n=t[0];return n}),function(e,t){return t+"Capture"})})},function(e,t,n){!function(t,r){e.exports=r(n(2))}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),f=r(l),p=n(2),d=r(p),h="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"),v=function(e){function t(e,n){i(this,t);var r=u(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.onClick=r.onClick.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.fileAccepted=r.fileAccepted.bind(r),r.isFileDialogActive=!1,r.state={isDragActive:!1},r}return a(t,e),c(t,[{key:"componentDidMount",value:function(){this.enterCounter=0,document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){document.body.onfocus=null}},{key:"onDragStart",value:function(e){this.props.onDragStart&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){e.preventDefault(),++this.enterCounter;var t=e.dataTransfer&&e.dataTransfer.items?e.dataTransfer.items:[],n=this.allFilesAccepted(Array.prototype.slice.call(t));this.setState({isDragActive:n,isDragReject:!n}),this.props.onDragEnter&&this.props.onDragEnter.call(this,e)}},{key:"onDragOver",value:function(e){ -return e.preventDefault(),e.stopPropagation(),e.dataTransfer.dropEffect="copy",!1}},{key:"onDragLeave",value:function(e){e.preventDefault(),--this.enterCounter>0||(this.setState({isDragActive:!1,isDragReject:!1}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){e.preventDefault(),this.enterCounter=0,this.setState({isDragActive:!1,isDragReject:!1});for(var t=e.dataTransfer?e.dataTransfer.files:e.target.files,n=this.props.multiple?t.length:Math.min(t.length,1),r=[],o=[],i=0;n>i;i++){var u=t[i];this.props.disablePreview||(u.preview=window.URL.createObjectURL(u)),this.fileAccepted(u)&&this.fileMatchSize(u)?r.push(u):o.push(u)}this.props.onDrop&&this.props.onDrop.call(this,r,o,e),o.length>0?this.props.onDropRejected&&this.props.onDropRejected.call(this,o,e):r.length>0&&this.props.onDropAccepted&&this.props.onDropAccepted.call(this,r,e),this.isFileDialogActive=!1}},{key:"onClick",value:function(){this.props.disableClick||this.open()}},{key:"onFileDialogCancel",value:function n(){var n=this.props.onFileDialogCancel,e=this.fileInputEl,t=this.isFileDialogActive;n&&t&&setTimeout(function(){var r=e.files;r.length||(t=!1,n())},300)}},{key:"fileAccepted",value:function(e){return(0,f["default"])(e,this.props.accept)}},{key:"fileMatchSize",value:function(e){return this.props.maxSize>=e.size&&e.size>=this.props.minSize}},{key:"allFilesAccepted",value:function(e){return e.every(this.fileAccepted)}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this,t=this.props,n=t.accept,r=t.activeClassName,i=t.inputProps,u=t.multiple,a=t.name,c=t.rejectClassName,l=o(t,["accept","activeClassName","inputProps","multiple","name","rejectClassName"]),f=l.activeStyle,p=l.className,v=l.rejectStyle,y=l.style,m=o(l,["activeStyle","className","rejectStyle","style"]),g=this.state,b=g.isDragActive,_=g.isDragReject;p=p||"",b&&r&&(p+=" "+r),_&&c&&(p+=" "+c),p||y||f||v||(y={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},f={borderStyle:"solid",backgroundColor:"#eee"},v={borderStyle:"solid",backgroundColor:"#ffdddd"});var w=void 0;w=f&&b?s({},y,f):v&&_?s({},y,v):s({},y);var C={accept:n,type:"file",style:{display:"none"},multiple:h&&u,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};a&&a.length&&(C.name=a);var O=["disablePreview","disableClick","onDropAccepted","onDropRejected","maxSize","minSize","onFileDialogCancel"],S=s({},m);return O.forEach(function(e){return delete S[e]}),d["default"].createElement("div",s({className:p,style:w},S,{onClick:this.onClick,onDragStart:this.onDragStart,onDragEnter:this.onDragEnter,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop}),this.props.children,d["default"].createElement("input",s({},i,C)))}}]),t}(d["default"].Component);v.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},v.propTypes={onDrop:d["default"].PropTypes.func,onDropAccepted:d["default"].PropTypes.func,onDropRejected:d["default"].PropTypes.func,onDragStart:d["default"].PropTypes.func,onDragEnter:d["default"].PropTypes.func,onDragLeave:d["default"].PropTypes.func,children:d["default"].PropTypes.node,style:d["default"].PropTypes.object,activeStyle:d["default"].PropTypes.object,rejectStyle:d["default"].PropTypes.object,className:d["default"].PropTypes.string,activeClassName:d["default"].PropTypes.string,rejectClassName:d["default"].PropTypes.string,disablePreview:d["default"].PropTypes.bool,disableClick:d["default"].PropTypes.bool,onFileDialogCancel:d["default"].PropTypes.func,inputProps:d["default"].PropTypes.object,multiple:d["default"].PropTypes.bool,accept:d["default"].PropTypes.string,name:d["default"].PropTypes.string,maxSize:d["default"].PropTypes.number,minSize:d["default"].PropTypes.number},t["default"]=v,e.exports=t["default"]},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";t.__esModule=!0,n(8),n(9),t["default"]=function(e,t){if(e&&t){var n=function(){var n=t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return{v:n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t})}}();if("object"==typeof n)return n.v}return!0},e.exports=t["default"]},function(e,t){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(2),o=n(1),i=n(4),u=n(19),a="prototype",s=function(e,t){return function(){return e.apply(t,arguments)}},c=function(e,t,n){var l,f,p,d,h=e&c.G,v=e&c.P,y=h?r:e&c.S?r[t]||(r[t]={}):(r[t]||{})[a],m=h?o:o[t]||(o[t]={});h&&(n=t);for(l in n)f=!(e&c.F)&&y&&l in y,p=(f?y:n)[l],d=e&c.B&&f?s(p,r):v&&"function"==typeof p?s(Function.call,p):p,y&&!f&&u(y,l,p),m[l]!=p&&i(m,l,d),v&&((m[a]||(m[a]={}))[l]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t,n){var r=n(5),o=n(18);e.exports=n(22)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(20)("wks"),o=n(2).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(6))("Symbol."+e))}},function(e,t,n){n(26),e.exports=n(1).Array.some},function(e,t,n){n(25),e.exports=n(1).String.endsWith},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n(7)("match")]=!1,!"/./"[e](t)}catch(o){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(t){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(16),o=n(11),i=n(7)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(2),o=n(4),i=n(6)("src"),u="toString",a=Function[u],s=(""+a).split(u);n(1).inspectSource=function(e){return a.call(e)},(e.exports=function(e,t,n,u){"function"==typeof n&&(o(n,i,e[t]?""+e[t]:s.join(t+"")),"name"in n||(n.name=t)),e===r?e[t]=n:(u||delete e[t],o(e,t,n))})(Function.prototype,u,function(){return"function"==typeof this&&this[i]||a.call(this)})},function(e,t,n){var r=n(2),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,n){var r=n(17),o=n(13);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return o(e)+""}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(23),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),o=n(24),i=n(21),u="endsWith",a=""[u];r(r.P+r.F*n(14)(u),"String",{endsWith:function(e){var t=i(this,e,u),n=arguments,r=n.length>1?n[1]:void 0,s=o(t.length),c=void 0===r?s:Math.min(o(r),s),l=e+"";return a?a.call(t,l,c):t.slice(c-l.length,c)===l}})},function(e,t,n){var r=n(5),o=n(3),i=n(1).Array||Array,u={},a=function(e,t){r.each.call(e.split(","),function(e){void 0==t&&e in i?u[e]=i[e]:e in[]&&(u[e]=n(12)(Function.call,[][e],t))})};a("pop,reverse,shift,keys,values,entries",1),a("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),a("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",u)}])},function(t,n){t.exports=e}])})},function(e,t){"use strict";/*! +!function(){"use strict";function n(){for(var e=[],t=0;arguments.length>t;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r))e.push(n.apply(null,r));else if("object"===o)for(var a in r)i.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}var i={}.hasOwnProperty;void 0!==e&&e.exports?e.exports=n:(r=[],o=function(){return n}.apply(t,r),!(void 0!==o&&(e.exports=o)))}()},function(e,t){"use strict";function n(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}function r(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;10>n;n++)t["_"+String.fromCharCode(n)]=n;var r=Object.getOwnPropertyNames(t).map(function(e){return t[e]});if("0123456789"!==r.join(""))return!1;var o={};return"abcdefghijklmnopqrst".split("").forEach(function(e){o[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},o)).join("")}catch(e){return!1}}var o=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;e.exports=r()?Object.assign:function(e,t){for(var r,a,u=n(e),s=1;arguments.length>s;s++){r=Object(arguments[s]);for(var c in r)o.call(r,c)&&(u[c]=r[c]);if(Object.getOwnPropertySymbols){a=Object.getOwnPropertySymbols(r);for(var l=0;a.length>l;l++)i.call(r,a[l])&&(u[a[l]]=r[a[l]])}}return u}},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(4),n(54),n(12)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0}),e.DocumentInstructions=e.DocumentOverlay=e.DocumentTitle=e.DocumentNotFound=void 0;var a=i(n),u=i(r),s=e.DocumentNotFound=function(e){var n=e.message;return(0,t.h)(o.UploadError,null,n)};s.defaultProps={message:"We couldn’t detect a passport or identity card in this image. Please upload another one."};var c=e.DocumentTitle=function(e){var n=e.useCapture,r=e.captureTitle,o=e.uploadTitle;return(0,t.h)("div",{className:a.default.title},n?r:o)};c.defaultProps={captureTitle:"Place your document in the rectangle",uploadTitle:"Upload a picture of your document"},e.DocumentOverlay=function(){return(0,t.h)("div",{className:a.default.overlay},(0,t.h)("span",{className:a.default["overlay-shape"]+" "+u.default.rectangle}))},e.DocumentInstructions=function(){return(0,t.h)("div",{className:u.default.capture},(0,t.h)("p",{className:a.default.center},"Once it is detected you will be automatically directed to the next step."))}})},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(23),n(47),n(11),n(43),n(17),n(4),n(61),n(5)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0}),e.Uploader=e.UploadError=e.fileToBase64=e.canvasToBase64Images=void 0;var f=l(n),p=l(r),d=l(i),h=(l(a),l(u)),v=l(s),m=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),y=function(e){return 0===e.indexOf("data:image/webp")},g=e.canvasToBase64Images=function(e,t){var n=e.toDataURL("image/webp"),r=void 0;y(n)?r=e.toDataURL():(r=n,n=e.toDataURL("image/jpeg")),t(n,r)},_=(e.fileToBase64=function(e,t,n){var r={maxWidth:960,maxHeight:960,canvas:!0};n=n||t,(0,p.default)(e.preview,function(e){"error"===e.type?n(e):g(e,t)},r)},function(){return(0,t.h)("div",{className:v.default.base},(0,t.h)("span",{className:h.default.icon+" "+v.default.icon}),(0,t.h)("p",{className:v.default.text},"Take a photo with your camera or upload one from your library."))}),b=function(){return(0,t.h)("div",{className:h.default.center},(0,t.h)(d.default,null),(0,t.h)("div",{className:v.default.processing},"Processing your document"))},w=e.UploadError=function(e){var n=e.children;return(0,t.h)("div",{className:v.default.text+" "+v.default.error},n)},k=function(e){var n=e.method;return(0,c.functionalSwitch)(n,{document:function(){return(0,t.h)(o.DocumentNotFound,null)}})},x=function(){return(0,t.h)(w,null,"The file uploaded has an unsupported file type.")};e.Uploader=(0,c.impurify)(function(e){var n=e.method,r=e.onImageSelected,o=e.uploading,i=e.error;return(0,t.h)(f.default,{onDrop:function(e){var t=m(e,1),n=t[0];return r(n)},multiple:!1,className:v.default.dropzone},o?(0,t.h)(b,null):(0,t.h)(_,null),!o&&(0,c.functionalSwitch)(i,{INVALID_CAPTURE:function(){return(0,t.h)(k,{method:n})},INVALID_TYPE:function(){return(0,t.h)(x,null)}}))})})},function(e,t,n){function r(e){if(!a(e)||o(e)!=u)return!1;var t=i(e);if(null===t)return!0;var n=f.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&l.call(n)==p}var o=n(63),i=n(65),a=n(70),u="[object Object]",s=Function.prototype,c=Object.prototype,l=s.toString,f=c.hasOwnProperty,p=l.call(Object);e.exports=r},function(e,t,n){var r;(function(e,o){(function(){function i(e,t){return e.set(t[0],t[1]),e}function a(e,t){return e.add(t),e}function u(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function s(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o-1}function h(e,t,n){for(var r=-1,o=null==e?0:e.length;++r-1;);return n}function L(e,t){for(var n=e.length;n--&&C(t,e[n],0)>-1;);return n}function F(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}function B(e){return"\\"+Yn[e]}function V(e,t){return null==e?oe:e[t]}function z(e){return Vn.test(e)}function H(e){return zn.test(e)}function q(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}function $(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function K(e,t){return function(n){return e(t(n))}}function G(e,t){for(var n=-1,r=e.length,o=0,i=[];++n>>1,We=[["ary",_e],["bind",pe],["bindKey",de],["curry",ve],["curryRight",me],["flip",we],["partial",ye],["partialRight",ge],["rearg",be]],Le="[object Arguments]",Fe="[object Array]",Be="[object AsyncFunction]",Ve="[object Boolean]",ze="[object Date]",He="[object DOMException]",qe="[object Error]",$e="[object Function]",Ke="[object GeneratorFunction]",Ge="[object Map]",Xe="[object Number]",Je="[object Null]",Ye="[object Object]",Ze="[object Promise]",Qe="[object Proxy]",et="[object RegExp]",tt="[object Set]",nt="[object String]",rt="[object Symbol]",ot="[object Undefined]",it="[object WeakMap]",at="[object WeakSet]",ut="[object ArrayBuffer]",st="[object DataView]",ct="[object Float32Array]",lt="[object Float64Array]",ft="[object Int8Array]",pt="[object Int16Array]",dt="[object Int32Array]",ht="[object Uint8Array]",vt="[object Uint8ClampedArray]",mt="[object Uint16Array]",yt="[object Uint32Array]",gt=/\b__p \+= '';/g,_t=/\b(__p \+=) '' \+/g,bt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,wt=/&(?:amp|lt|gt|quot|#39);/g,kt=/[&<>"']/g,xt=RegExp(wt.source),Ct=RegExp(kt.source),St=/<%-([\s\S]+?)%>/g,Ot=/<%([\s\S]+?)%>/g,Et=/<%=([\s\S]+?)%>/g,Tt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pt=/^\w*$/,At=/^\./,jt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mt=/[\\^$.*+?()[\]{}|]/g,Rt=RegExp(Mt.source),Dt=/^\s+|\s+$/g,Nt=/^\s+/,It=/\s+$/,Ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Wt=/\{\n\/\* \[wrapped with (.+)\] \*/,Lt=/,? & /,Ft=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Bt=/\\(\\)?/g,Vt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zt=/\w*$/,Ht=/^[-+]0x[0-9a-f]+$/i,qt=/^0b[01]+$/i,$t=/^\[object .+?Constructor\]$/,Kt=/^0o[0-7]+$/i,Gt=/^(?:0|[1-9]\d*)$/,Xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Jt=/($^)/,Yt=/['\n\r\u2028\u2029\\]/g,Zt="\\ud800-\\udfff",Qt="\\u0300-\\u036f\\ufe20-\\ufe23",en="\\u20d0-\\u20f0",tn="\\u2700-\\u27bf",nn="a-z\\xdf-\\xf6\\xf8-\\xff",rn="\\xac\\xb1\\xd7\\xf7",on="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",an="\\u2000-\\u206f",un=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",sn="A-Z\\xc0-\\xd6\\xd8-\\xde",cn="\\ufe0e\\ufe0f",ln=rn+on+an+un,fn="['’]",pn="["+Zt+"]",dn="["+ln+"]",hn="["+Qt+en+"]",vn="\\d+",mn="["+tn+"]",yn="["+nn+"]",gn="[^"+Zt+ln+vn+tn+nn+sn+"]",_n="\\ud83c[\\udffb-\\udfff]",bn="(?:"+hn+"|"+_n+")",wn="[^"+Zt+"]",kn="(?:\\ud83c[\\udde6-\\uddff]){2}",xn="[\\ud800-\\udbff][\\udc00-\\udfff]",Cn="["+sn+"]",Sn="\\u200d",On="(?:"+yn+"|"+gn+")",En="(?:"+Cn+"|"+gn+")",Tn="(?:"+fn+"(?:d|ll|m|re|s|t|ve))?",Pn="(?:"+fn+"(?:D|LL|M|RE|S|T|VE))?",An=bn+"?",jn="["+cn+"]?",Mn="(?:"+Sn+"(?:"+[wn,kn,xn].join("|")+")"+jn+An+")*",Rn="\\d*(?:(?:1st|2nd|3rd|(?![123])\\dth)\\b)",Dn="\\d*(?:(?:1ST|2ND|3RD|(?![123])\\dTH)\\b)",Nn=jn+An+Mn,In="(?:"+[mn,kn,xn].join("|")+")"+Nn,Un="(?:"+[wn+hn+"?",hn,kn,xn,pn].join("|")+")",Wn=RegExp(fn,"g"),Ln=RegExp(hn,"g"),Fn=RegExp(_n+"(?="+_n+")|"+Un+Nn,"g"),Bn=RegExp([Cn+"?"+yn+"+"+Tn+"(?="+[dn,Cn,"$"].join("|")+")",En+"+"+Pn+"(?="+[dn,Cn+On,"$"].join("|")+")",Cn+"?"+On+"+"+Tn,Cn+"+"+Pn,Dn,Rn,vn,In].join("|"),"g"),Vn=RegExp("["+Sn+Zt+Qt+en+cn+"]"),zn=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Hn=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],qn=-1,$n={};$n[ct]=$n[lt]=$n[ft]=$n[pt]=$n[dt]=$n[ht]=$n[vt]=$n[mt]=$n[yt]=!0,$n[Le]=$n[Fe]=$n[ut]=$n[Ve]=$n[st]=$n[ze]=$n[qe]=$n[$e]=$n[Ge]=$n[Xe]=$n[Ye]=$n[et]=$n[tt]=$n[nt]=$n[it]=!1;var Kn={};Kn[Le]=Kn[Fe]=Kn[ut]=Kn[st]=Kn[Ve]=Kn[ze]=Kn[ct]=Kn[lt]=Kn[ft]=Kn[pt]=Kn[dt]=Kn[Ge]=Kn[Xe]=Kn[Ye]=Kn[et]=Kn[tt]=Kn[nt]=Kn[rt]=Kn[ht]=Kn[vt]=Kn[mt]=Kn[yt]=!0,Kn[qe]=Kn[$e]=Kn[it]=!1;var Gn={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},Xn={"&":"&","<":"<",">":">",'"':""","'":"'"},Jn={"&":"&","<":"<",">":">",""":'"',"'":"'"},Yn={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Zn=parseFloat,Qn=parseInt,er="object"==typeof e&&e&&e.Object===Object&&e,tr="object"==typeof self&&self&&self.Object===Object&&self,nr=er||tr||Function("return this")(),rr="object"==typeof t&&t&&!t.nodeType&&t,or=rr&&"object"==typeof o&&o&&!o.nodeType&&o,ir=or&&or.exports===rr,ar=ir&&er.process,ur=function(){try{return ar&&ar.binding("util")}catch(e){}}(),sr=ur&&ur.isArrayBuffer,cr=ur&&ur.isDate,lr=ur&&ur.isMap,fr=ur&&ur.isRegExp,pr=ur&&ur.isSet,dr=ur&&ur.isTypedArray,hr=T("length"),vr=P(Gn),mr=P(Xn),yr=P(Jn),gr=function e(t){function n(e){if(rs(e)&&!vp(e)&&!(e instanceof b)){if(e instanceof o)return e;if(hl.call(e,"__wrapped__"))return ea(e)}return new o(e)}function r(){}function o(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=oe}function b(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ne,this.__views__=[]}function P(){var e=new b(this.__wrapped__);return e.__actions__=Wo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Wo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Wo(this.__views__),e}function Y(){if(this.__filtered__){var e=new b(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function te(){var e=this.__wrapped__.value(),t=this.__dir__,n=vp(e),r=0>t,o=n?e.length:0,i=xi(0,o,this.__views__),a=i.start,u=i.end,s=u-a,c=r?u:a-1,l=this.__iteratees__,f=l.length,p=0,d=Hl(s,this.__takeCount__);if(!n||ae>o||o==s&&d==s)return _o(e,this.__actions__);var h=[];e:for(;s--&&d>p;){c+=t;for(var v=-1,m=e[c];++vn)return!1;var r=t.length-1;return n==r?t.pop():Tl.call(t,n,1),--this.size,!0}function an(e){var t=this.__data__,n=jn(t,e);return 0>n?oe:t[n][1]}function un(e){return jn(this.__data__,e)>-1}function sn(e,t){var n=this.__data__,r=jn(n,e);return 0>r?(++this.size,n.push([e,t])):n[r][1]=t,this}function cn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tr.length)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new cn(r)}return n.set(e,t),this.size=n.size,this}function Cn(e,t){var n=vp(e),r=!n&&hp(e),o=!n&&!r&&yp(e),i=!n&&!r&&!o&&kp(e),a=n||r||o||i,u=a?R(e.length,ul):[],s=u.length;for(var c in e)!t&&!hl.call(e,c)||a&&("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||ji(c,s))||u.push(c);return u}function Sn(e){var t=e.length;return t?e[Qr(0,t-1)]:oe}function On(e,t){return Ji(Wo(e),In(t,0,e.length))}function En(e){return Ji(Wo(e))}function Tn(e,t,n,r){return e===oe||zu(e,fl[n])&&!hl.call(r,n)?t:e}function Pn(e,t,n){(n===oe||zu(e[t],n))&&(n!==oe||t in e)||Dn(e,t,n)}function An(e,t,n){var r=e[t];hl.call(e,t)&&zu(r,n)&&(n!==oe||t in e)||Dn(e,t,n)}function jn(e,t){for(var n=e.length;n--;)if(zu(e[n][0],t))return n;return-1}function Mn(e,t,n,r){return df(e,function(e,o,i){t(r,e,n(e),i)}),r}function Rn(e,t){return e&&Lo(t,Ws(t),e)}function Dn(e,t,n){"__proto__"==t&&Ml?Ml(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function Nn(e,t){for(var n=-1,r=t.length,o=el(r),i=null==e;++nn?n:e),t!==oe&&(e=t>e?t:e)),e}function Un(e,t,n,r,o,i,a){var u;if(r&&(u=i?r(e,o,i,a):r(e)),u!==oe)return u;if(!ns(e))return e;var s=vp(e);if(s){if(u=Oi(e),!t)return Wo(e,u)}else{var l=Sf(e),f=l==$e||l==Ke;if(yp(e))return Oo(e,t);if(l==Ye||l==Le||f&&!i){if(u=Ei(f?{}:e),!t)return Fo(e,Rn(u,e))}else{if(!Kn[l])return i?e:{};u=Ti(e,l,Un,t)}}a||(a=new gn);var p=a.get(e);if(p)return p;a.set(e,u);var d=s?oe:(n?hi:Ws)(e);return c(d||e,function(o,i){d&&(i=o,o=e[i]),An(u,i,Un(o,t,n,r,i,e,a))}),u}function Fn(e){var t=Ws(e);return function(n){return Bn(n,e,t)}}function Bn(e,t,n){var r=n.length;if(null==e)return!r;for(e=il(e);r--;){var o=n[r],i=t[o],a=e[o];if(a===oe&&!(o in e)||!i(a))return!1}return!0}function Vn(e,t,n){if("function"!=typeof e)throw new sl(se);return Tf(function(){e.apply(oe,n)},t)}function zn(e,t,n,r){var o=-1,i=d,a=!0,u=e.length,s=[],c=t.length;if(!u)return s;n&&(t=v(t,N(n))),r?(i=h,a=!1):ae>t.length||(i=U,a=!1,t=new vn(t));e:for(;++on&&(n=-n>o?0:o+n),r=r===oe||r>o?o:bs(r),0>r&&(r+=o),r=n>r?0:ws(r);r>n;)e[n++]=t;return e}function Yn(e,t){var n=[];return df(e,function(e,r,o){t(e,r,o)&&n.push(e)}),n}function er(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=Ai),o||(o=[]);++i0&&n(u)?t>1?er(u,t-1,n,r,o):m(o,u):r||(o[o.length]=u)}return o}function tr(e,t){return e&&vf(e,t,Ws)}function rr(e,t){return e&&mf(e,t,Ws)}function or(e,t){return p(t,function(t){return Qu(e[t])})}function ar(e,t){t=Ri(t,e)?[t]:Co(t);for(var n=0,r=t.length;null!=e&&r>n;)e=e[Yi(t[n++])];return n&&n==r?e:oe}function ur(e,t,n){var r=t(e);return vp(e)?r:m(r,n(e))}function hr(e){return null==e?e===oe?ot:Je:(e=il(e),jl&&jl in e?ki(e):Hi(e))}function gr(e,t){return e>t}function br(e,t){return null!=e&&hl.call(e,t)}function wr(e,t){return null!=e&&t in il(e)}function kr(e,t,n){return e>=Hl(t,n)&&eo||120>l.length)?oe:new vn(a&&l)}l=e[0];var f=-1,p=u[0];e:for(;++fc.length;){var m=l[f],y=t?t(m):m;if(m=n||0!==m?m:0,!(p?U(p,y):r(c,y,n))){for(a=i;--a;){var g=u[a];if(!(g?U(g,y):r(e[a],y,n)))continue e}p&&p.push(y),c.push(m)}}return c}function Cr(e,t,n,r){return tr(e,function(e,o,i){t(r,n(e),o,i)}),r}function Sr(e,t,n){Ri(t,e)||(t=Co(t),e=$i(e,t),t=_a(t));var r=null==e?e:e[Yi(t)];return null==r?oe:u(r,e,n)}function Or(e){return rs(e)&&hr(e)==Le}function Er(e){return rs(e)&&hr(e)==ut}function Tr(e){return rs(e)&&hr(e)==ze}function Pr(e,t,n,r,o){return e===t||(null==e||null==t||!ns(e)&&!rs(t)?e!==e&&t!==t:Ar(e,t,Pr,n,r,o))}function Ar(e,t,n,r,o,i){var a=vp(e),u=vp(t),s=Fe,c=Fe;a||(s=Sf(e),s=s==Le?Ye:s),u||(c=Sf(t),c=c==Le?Ye:c);var l=s==Ye,f=c==Ye,p=s==c;if(p&&yp(e)){if(!yp(t))return!1;a=!0,l=!1}if(p&&!l)return i||(i=new gn),a||kp(e)?li(e,t,n,r,o,i):fi(e,t,s,n,r,o,i);if(!(o&xe)){var d=l&&hl.call(e,"__wrapped__"),h=f&&hl.call(t,"__wrapped__");if(d||h){var v=d?e.value():e,m=h?t.value():t;return i||(i=new gn),n(v,m,r,o,i)}}return!!p&&(i||(i=new gn),pi(e,t,n,r,o,i))}function jr(e){return rs(e)&&Sf(e)==Ge}function Mr(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=il(e);o--;){var u=n[o];if(a&&u[2]?u[1]!==e[u[0]]:!(u[0]in e))return!1}for(;++oe}function Br(e,t){var n=-1,r=Hu(e)?el(e.length):[];return df(e,function(e,o,i){r[++n]=t(e,o,i)}),r}function Vr(e){var t=bi(e);return 1==t.length&&t[0][2]?Li(t[0][0],t[0][1]):function(n){return n===e||Mr(n,e,t)}}function zr(e,t){return Ri(e)&&Wi(t)?Li(Yi(e),t):function(n){var r=Ns(n,e);return r===oe&&r===t?Us(n,e):Pr(t,r,oe,ke|xe)}}function Hr(e,t,n,r,o){e!==t&&vf(t,function(i,a){if(ns(i))o||(o=new gn),qr(e,t,a,n,Hr,r,o);else{var u=r?r(e[a],i,a+"",e,t,o):oe;u===oe&&(u=i),Pn(e,a,u)}},Ls)}function qr(e,t,n,r,o,i,a){var u=e[n],s=t[n],c=a.get(s);if(c)return Pn(e,n,c),oe;var l=i?i(u,s,n+"",e,t,a):oe,f=l===oe;if(f){var p=vp(s),d=!p&&yp(s),h=!p&&!d&&kp(s);l=s,p||d||h?vp(u)?l=u:qu(u)?l=Wo(u):d?(f=!1,l=Oo(s,!0)):h?(f=!1,l=Ro(s,!0)):l=[]:fs(s)||hp(s)?(l=u,hp(u)?l=xs(u):(!ns(u)||r&&Qu(u))&&(l=Ei(s))):f=!1}f&&(a.set(s,l),o(l,s,r,i,a),a.delete(s)),Pn(e,n,l)}function $r(e,t){var n=e.length;if(n)return t+=0>t?n:0,ji(t,n)?e[t]:oe}function Kr(e,t,n){var r=-1;t=v(t.length?t:[Tc],N(gi()));var o=Br(e,function(e,n,o){var i=v(t,function(t){return t(e)});return{criteria:i,index:++r,value:e}});return j(o,function(e,t){return No(e,t,n)})}function Gr(e,t){return e=il(e),Xr(e,t,function(t,n){return n in e})}function Xr(e,t,n){for(var r=-1,o=t.length,i={};++r-1;)u!==e&&Tl.call(u,s,1),Tl.call(e,s,1);return e}function Zr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;if(ji(o))Tl.call(e,o,1);else if(Ri(o,e))delete e[Yi(o)];else{var a=Co(o),u=$i(e,a);null!=u&&delete u[Yi(_a(a))]}}}return e}function Qr(e,t){return e+Ul(Kl()*(t-e+1))}function eo(e,t,n,r){for(var o=-1,i=zl(Il((t-e)/(n||1)),0),a=el(i);i--;)a[r?i:++o]=e,e+=n;return a}function to(e,t){var n="";if(!e||1>t||t>Me)return n;do t%2&&(n+=e),t=Ul(t/2),t&&(e+=e);while(t);return n}function no(e,t){return Pf(qi(e,t,Tc),e+"")}function ro(e){return Sn(Ys(e))}function oo(e,t){var n=Ys(e);return Ji(n,In(t,0,n.length))}function io(e,t,n,r){if(!ns(e))return e;t=Ri(t,e)?[t]:Co(t);for(var o=-1,i=t.length,a=i-1,u=e;null!=u&&++ot&&(t=-t>o?0:o+t),n=n>o?o:n,0>n&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=el(o);++r=o){for(;o>r;){var i=r+o>>>1,a=e[i];null===a||hs(a)||(n?a>t:a>=t)?o=i:r=i+1}return o}return lo(e,t,Tc,n)}function lo(e,t,n,r){t=n(t);for(var o=0,i=null==e?0:e.length,a=t!==t,u=null===t,s=hs(t),c=t===oe;i>o;){var l=Ul((o+i)/2),f=n(e[l]),p=f!==oe,d=null===f,h=f===f,v=hs(f);if(a)var m=r||h;else m=c?h&&(r||p):u?h&&p&&(r||!d):s?h&&p&&!d&&(r||!v):!d&&!v&&(r?t>=f:t>f);m?o=l+1:i=l}return Hl(i,Ie)}function fo(e,t){for(var n=-1,r=e.length,o=0,i=[];++nr)return r?vo(e[0]):[];for(var o=-1,i=el(r);++or?t[r]:oe;n(a,e[r],u)}return a}function ko(e){return qu(e)?e:[]}function xo(e){return"function"==typeof e?e:Tc}function Co(e){return vp(e)?e:Af(e)}function So(e,t,n){var r=e.length;return n=n===oe?r:n,t||r>n?uo(e,t,n):e}function Oo(e,t){if(t)return e.slice();var n=e.length,r=Cl?Cl(n):new e.constructor(n);return e.copy(r),r}function Eo(e){var t=new e.constructor(e.byteLength);return new xl(t).set(new xl(e)),t}function To(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}function Po(e,t,n){var r=t?n($(e),!0):$(e);return y(r,i,new e.constructor)}function Ao(e){var t=new e.constructor(e.source,zt.exec(e));return t.lastIndex=e.lastIndex,t}function jo(e,t,n){var r=t?n(X(e),!0):X(e);return y(r,a,new e.constructor)}function Mo(e){return lf?il(lf.call(e)):{}}function Ro(e,t){var n=t?Eo(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Do(e,t){if(e!==t){var n=e!==oe,r=null===e,o=e===e,i=hs(e),a=t!==oe,u=null===t,s=t===t,c=hs(t);if(!u&&!c&&!i&&e>t||i&&a&&s&&!u&&!c||r&&a&&s||!n&&s||!o)return 1;if(!r&&!i&&!c&&t>e||c&&n&&o&&!r&&!i||u&&n&&o||!a&&o||!s)return-1}return 0}function No(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,u=n.length;++r=u)return s;var c=n[r];return s*("desc"==c?-1:1)}}return e.index-t.index}function Io(e,t,n,r){for(var o=-1,i=e.length,a=n.length,u=-1,s=t.length,c=zl(i-a,0),l=el(s+c),f=!r;++uo)&&(l[n[o]]=e[o]);for(;c--;)l[u++]=e[o++];return l}function Uo(e,t,n,r){for(var o=-1,i=e.length,a=-1,u=n.length,s=-1,c=t.length,l=zl(i-u,0),f=el(l+c),p=!r;++oo)&&(f[d+n[a]]=e[o++]);return f}function Wo(e,t){var n=-1,r=e.length;for(t||(t=el(r));++n1?n[o-1]:oe,a=o>2?n[2]:oe;for(i=e.length>3&&"function"==typeof i?(o--,i):oe,a&&Mi(n[0],n[1],a)&&(i=3>o?oe:i,o=1),t=il(t);++ri&&a[0]!==c&&a[i-1]!==c?[]:G(a,c);if(i-=l.length,n>i)return ai(e,t,Zo,r.placeholder,oe,a,l,oe,oe,n-i);var f=this&&this!==nr&&this instanceof r?o:e;return u(f,this,a)}var o=Go(e);return r}function Jo(e){return function(t,n,r){var o=il(t);if(!Hu(t)){var i=gi(n,3);t=Ws(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:oe}}function Yo(e){return di(function(t){var n=t.length,r=n,i=o.prototype.thru;for(e&&t.reverse();r--;){var a=t[r];if("function"!=typeof a)throw new sl(se);if(i&&!u&&"wrapper"==mi(a))var u=new o([],!0)}for(r=u?r:n;++r=ae)return u.plant(r).value();for(var o=0,i=n?t[o].apply(this,e):r;++oy){var k=G(g,b);return ai(e,t,Zo,l.placeholder,n,g,k,u,s,c-y)}var x=p?n:this,C=d?x[e]:e;return y=g.length,u?g=Ki(g,u):v&&y>1&&g.reverse(),f&&y>s&&(g.length=s),this&&this!==nr&&this instanceof l&&(C=m||Go(C)),C.apply(x,g)}var f=t&_e,p=t&pe,d=t&de,h=t&(ve|me),v=t&we,m=d?oe:Go(e);return l}function Qo(e,t){return function(n,r){return Cr(n,e,t(r),{})}}function ei(e,t){return function(n,r){var o;if(n===oe&&r===oe)return t;if(n!==oe&&(o=n),r!==oe){if(o===oe)return r;"string"==typeof n||"string"==typeof r?(n=ho(n),r=ho(r)):(n=po(n),r=po(r)),o=e(n,r)}return o}}function ti(e){return di(function(t){return t=v(t,N(gi())),no(function(n){var r=this;return e(t,function(e){return u(e,r,n)})})})}function ni(e,t){t=t===oe?" ":ho(t);var n=t.length;if(2>n)return n?to(t,e):t;var r=to(t,Il(e/Q(t)));return z(t)?So(ee(r),0,e).join(""):r.slice(0,e)}function ri(e,t,n,r){function o(){for(var t=-1,s=arguments.length,c=-1,l=r.length,f=el(l+s),p=this&&this!==nr&&this instanceof o?a:e;++ct?1:-1:_s(r),eo(t,n,r,e)}}function ii(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=ks(t),n=ks(n)),e(t,n)}}function ai(e,t,n,r,o,i,a,u,s,c){var l=t&ve,f=l?a:oe,p=l?oe:a,d=l?i:oe,h=l?oe:i;t|=l?ye:ge,t&=~(l?ge:ye),t&he||(t&=~(pe|de));var v=[e,t,o,d,f,h,p,u,s,c],m=n.apply(oe,v);return Ni(e)&&Ef(m,v),m.placeholder=r,Gi(m,e,t)}function ui(e){var t=ol[e];return function(e,n){if(e=ks(e),n=Hl(bs(n),292)){var r=(Ss(e)+"e").split("e"),o=t(r[0]+"e"+(+r[1]+n));return r=(Ss(o)+"e").split("e"),+(r[0]+"e"+(+r[1]-n))}return t(e)}}function si(e){return function(t){var n=Sf(t);return n==Ge?$(t):n==tt?J(t):D(t,e(t))}}function ci(e,t,n,r,o,i,a,u){var s=t&de;if(!s&&"function"!=typeof e)throw new sl(se);var c=r?r.length:0;if(c||(t&=~(ye|ge),r=o=oe),a=a===oe?a:zl(bs(a),0),u=u===oe?u:bs(u),c-=o?o.length:0,t&ge){var l=r,f=o;r=o=oe}var p=s?oe:kf(e),d=[e,t,n,r,o,l,f,i,a,u];if(p&&Bi(d,p),e=d[0],t=d[1],n=d[2],r=d[3],o=d[4],u=d[9]=null==d[9]?s?0:e.length:zl(d[9]-c,0),!u&&t&(ve|me)&&(t&=~(ve|me)),t&&t!=pe)h=t==ve||t==me?Xo(e,t,u):t!=ye&&t!=(pe|ye)||o.length?Zo.apply(oe,d):ri(e,t,n,r);else var h=qo(e,t,n);var v=p?yf:Ef;return Gi(v(h,d),e,t)}function li(e,t,n,r,o,i){var a=o&xe,u=e.length,s=t.length;if(!(u==s||a&&s>u))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var l=-1,f=!0,p=o&ke?new vn:oe;for(i.set(e,t),i.set(t,e);++l1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(Ut,"{\n/* [wrapped with "+t+"] */\n")}function Ai(e){return vp(e)||hp(e)||!!(Pl&&e&&e[Pl])}function ji(e,t){return t=null==t?Me:t,!!t&&("number"==typeof e||Gt.test(e))&&e>-1&&e%1==0&&t>e}function Mi(e,t,n){if(!ns(n))return!1;var r=typeof t;return!!("number"==r?Hu(n)&&ji(t,n.length):"string"==r&&t in n)&&zu(n[t],e)}function Ri(e,t){if(vp(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!hs(e))||Pt.test(e)||!Tt.test(e)||null!=t&&e in il(t)}function Di(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function Ni(e){var t=mi(e),r=n[t];if("function"!=typeof r||!(t in b.prototype))return!1;if(e===r)return!0;var o=kf(r);return!!o&&e===o[0]}function Ii(e){return!!ml&&ml in e}function Ui(e){var t=e&&e.constructor,n="function"==typeof t&&t.prototype||fl;return e===n}function Wi(e){return e===e&&!ns(e)}function Li(e,t){return function(n){return null!=n&&n[e]===t&&(t!==oe||e in il(n))}}function Fi(e){var t=Pu(e,function(e){return n.size===le&&n.clear(),e}),n=t.cache;return t}function Bi(e,t){var n=e[1],r=t[1],o=n|r,i=(pe|de|_e)>o,a=r==_e&&n==ve||r==_e&&n==be&&t[8]>=e[7].length||r==(_e|be)&&t[8]>=t[7].length&&n==ve;if(!i&&!a)return e;r&pe&&(e[2]=t[2],o|=n&pe?0:he);var u=t[3];if(u){var s=e[3];e[3]=s?Io(s,u,t[4]):u,e[4]=s?G(e[3],fe):t[4]}return u=t[5],u&&(s=e[5],e[5]=s?Uo(s,u,t[6]):u,e[6]=s?G(e[5],fe):t[6]),u=t[7],u&&(e[7]=u),r&_e&&(e[8]=null==e[8]?t[8]:Hl(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o,e}function Vi(e,t,n,r,o,i){return ns(e)&&ns(t)&&(i.set(t,e),Hr(e,t,oe,Vi,i),i.delete(t)),e}function zi(e){var t=[];if(null!=e)for(var n in il(e))t.push(n);return t}function Hi(e){return yl.call(e)}function qi(e,t,n){return t=zl(t===oe?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=zl(r.length-t,0),a=el(i);++o0){if(++t>=Oe)return arguments[0]}else t=0;return e.apply(oe,arguments)}}function Ji(e,t){var n=-1,r=e.length,o=r-1;for(t=t===oe?r:t;++nt)return[];for(var o=0,i=0,a=el(Il(r/t));r>o;)a[i++]=uo(e,o,o+=t);return a}function na(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++tt?0:t,r)):[]}function ia(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:bs(t),t=r-t,uo(e,0,0>t?0:t)):[]}function aa(e,t){return e&&e.length?go(e,gi(t,3),!0,!0):[]}function ua(e,t){return e&&e.length?go(e,gi(t,3),!0):[]}function sa(e,t,n,r){var o=null==e?0:e.length;return o?(n&&"number"!=typeof n&&Mi(e,t,n)&&(n=0,r=o),Jn(e,t,n,r)):[]}function ca(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:bs(n);return 0>o&&(o=zl(r+o,0)),x(e,gi(t,3),o)}function la(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r-1;return n!==oe&&(o=bs(n),o=0>n?zl(r+o,0):Hl(o,r-1)),x(e,gi(t,3),o,!0)}function fa(e){var t=null==e?0:e.length;return t?er(e,1):[]}function pa(e){var t=null==e?0:e.length;return t?er(e,je):[]}function da(e,t){var n=null==e?0:e.length;return n?(t=t===oe?1:bs(t),er(e,t)):[]}function ha(e){for(var t=-1,n=null==e?0:e.length,r={};++to&&(o=zl(r+o,0)),C(e,t,o)}function ya(e){var t=null==e?0:e.length;return t?uo(e,0,-1):[]}function ga(e,t){return null==e?"":Bl.call(e,t)}function _a(e){var t=null==e?0:e.length;return t?e[t-1]:oe}function ba(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=r;return n!==oe&&(o=bs(n),o=0>o?zl(r+o,0):Hl(o,r-1)),t===t?Z(e,t,o):x(e,O,o,!0)}function wa(e,t){return e&&e.length?$r(e,bs(t)):oe}function ka(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}function xa(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,gi(n,2)):e}function Ca(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,oe,n):e}function Sa(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=gi(t,3);++rr&&zu(e[r],t))return r}return-1}function ja(e,t){return co(e,t,!0)}function Ma(e,t,n){return lo(e,t,gi(n,2),!0)}function Ra(e,t){var n=null==e?0:e.length;if(n){var r=co(e,t,!0)-1;if(zu(e[r],t))return r}return-1}function Da(e){return e&&e.length?fo(e):[]}function Na(e,t){return e&&e.length?fo(e,gi(t,2)):[]}function Ia(e){var t=null==e?0:e.length;return t?uo(e,1,t):[]}function Ua(e,t,n){return e&&e.length?(t=n||t===oe?1:bs(t),uo(e,0,0>t?0:t)):[]}function Wa(e,t,n){var r=null==e?0:e.length;return r?(t=n||t===oe?1:bs(t),t=r-t,uo(e,0>t?0:t,r)):[]}function La(e,t){return e&&e.length?go(e,gi(t,3),!1,!0):[]}function Fa(e,t){return e&&e.length?go(e,gi(t,3)):[]}function Ba(e){return e&&e.length?vo(e):[]}function Va(e,t){return e&&e.length?vo(e,gi(t,2)):[]}function za(e,t){return t="function"==typeof t?t:oe,e&&e.length?vo(e,oe,t):[]}function Ha(e){if(!e||!e.length)return[];var t=0;return e=p(e,function(e){if(qu(e))return t=zl(e.length,t),!0}),R(t,function(t){return v(e,T(t))})}function qa(e,t){if(!e||!e.length)return[];var n=Ha(e);return null==t?n:v(n,function(e){return u(t,oe,e)})}function $a(e,t){return wo(e||[],t||[],An)}function Ka(e,t){return wo(e||[],t||[],io)}function Ga(e){var t=n(e);return t.__chain__=!0,t}function Xa(e,t){return t(e),e}function Ja(e,t){return t(e)}function Ya(){return Ga(this)}function Za(){return new o(this.value(),this.__chain__)}function Qa(){this.__values__===oe&&(this.__values__=gs(this.value()));var e=this.__index__>=this.__values__.length,t=e?oe:this.__values__[this.__index__++];return{done:e,value:t}}function eu(){return this}function tu(e){for(var t,n=this;n instanceof r;){var o=ea(n);o.__index__=0,o.__values__=oe,t?i.__wrapped__=o:t=o;var i=o;n=n.__wrapped__}return i.__wrapped__=e,t}function nu(){var e=this.__wrapped__;if(e instanceof b){var t=e;return this.__actions__.length&&(t=new b(this)),t=t.reverse(),t.__actions__.push({func:Ja,args:[Oa],thisArg:oe}),new o(t,this.__chain__)}return this.thru(Oa)}function ru(){return _o(this.__wrapped__,this.__actions__)}function ou(e,t,n){var r=vp(e)?f:Gn;return n&&Mi(e,t,n)&&(t=oe),r(e,gi(t,3))}function iu(e,t){var n=vp(e)?p:Yn;return n(e,gi(t,3))}function au(e,t){return er(pu(e,t),1)}function uu(e,t){return er(pu(e,t),je)}function su(e,t,n){return n=n===oe?1:bs(n),er(pu(e,t),n)}function cu(e,t){var n=vp(e)?c:df;return n(e,gi(t,3))}function lu(e,t){var n=vp(e)?l:hf;return n(e,gi(t,3))}function fu(e,t,n,r){e=Hu(e)?e:Ys(e),n=n&&!r?bs(n):0;var o=e.length;return 0>n&&(n=zl(o+n,0)),ds(e)?o>=n&&e.indexOf(t,n)>-1:!!o&&C(e,t,n)>-1}function pu(e,t){var n=vp(e)?v:Br;return n(e,gi(t,3))}function du(e,t,n,r){return null==e?[]:(vp(t)||(t=null==t?[]:[t]),n=r?oe:n,vp(n)||(n=null==n?[]:[n]),Kr(e,t,n))}function hu(e,t,n){var r=vp(e)?y:A,o=3>arguments.length;return r(e,gi(t,4),n,o,df)}function vu(e,t,n){var r=vp(e)?g:A,o=3>arguments.length;return r(e,gi(t,4),n,o,hf)}function mu(e,t){var n=vp(e)?p:Yn;return n(e,Au(gi(t,3)))}function yu(e){var t=vp(e)?Sn:ro;return t(e)}function gu(e,t,n){t=(n?Mi(e,t,n):t===oe)?1:bs(t);var r=vp(e)?On:oo;return r(e,t)}function _u(e){var t=vp(e)?En:ao;return t(e)}function bu(e){if(null==e)return 0;if(Hu(e))return ds(e)?Q(e):e.length;var t=Sf(e);return t==Ge||t==tt?e.size:Wr(e).length}function wu(e,t,n){var r=vp(e)?_:so;return n&&Mi(e,t,n)&&(t=oe),r(e,gi(t,3))}function ku(e,t){if("function"!=typeof t)throw new sl(se);return e=bs(e),function(){if(--e<1)return t.apply(this,arguments)}}function xu(e,t,n){return t=n?oe:t,t=e&&null==t?e.length:t,ci(e,_e,oe,oe,oe,oe,t)}function Cu(e,t){var n;if("function"!=typeof t)throw new sl(se);return e=bs(e),function(){return--e>0&&(n=t.apply(this,arguments)),e>1||(t=oe),n}}function Su(e,t,n){t=n?oe:t;var r=ci(e,ve,oe,oe,oe,oe,oe,t);return r.placeholder=Su.placeholder,r}function Ou(e,t,n){t=n?oe:t;var r=ci(e,me,oe,oe,oe,oe,oe,t);return r.placeholder=Ou.placeholder,r}function Eu(e,t,n){function r(t){var n=p,r=d;return p=d=oe,g=t,v=e.apply(r,n)}function o(e){return g=e,m=Tf(u,t),_?r(e):v}function i(e){var n=e-y,r=e-g,o=t-n;return b?Hl(o,h-r):o}function a(e){var n=e-y,r=e-g;return y===oe||n>=t||0>n||b&&r>=h}function u(){var e=rp();return a(e)?s(e):(m=Tf(u,i(e)),oe)}function s(e){return m=oe,w&&p?r(e):(p=d=oe,v)}function c(){m!==oe&&bf(m),g=0,p=y=d=m=oe}function l(){return m===oe?v:s(rp())}function f(){var e=rp(),n=a(e);if(p=arguments,d=this,y=e,n){if(m===oe)return o(y);if(b)return m=Tf(u,t),r(y)}return m===oe&&(m=Tf(u,t)),v}var p,d,h,v,m,y,g=0,_=!1,b=!1,w=!0;if("function"!=typeof e)throw new sl(se);return t=ks(t)||0,ns(n)&&(_=!!n.leading,b="maxWait"in n,h=b?zl(ks(n.maxWait)||0,t):h,w="trailing"in n?!!n.trailing:w),f.cancel=c,f.flush=l,f}function Tu(e){return ci(e,we)}function Pu(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new sl(se);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Pu.Cache||cn),n}function Au(e){if("function"!=typeof e)throw new sl(se);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function ju(e){return Cu(2,e)}function Mu(e,t){if("function"!=typeof e)throw new sl(se);return t=t===oe?t:bs(t),no(e,t)}function Ru(e,t){if("function"!=typeof e)throw new sl(se);return t=t===oe?0:zl(bs(t),0),no(function(n){var r=n[t],o=So(n,0,t);return r&&m(o,r),u(e,this,o)})}function Du(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new sl(se);return ns(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),Eu(e,t,{leading:r,maxWait:t,trailing:o})}function Nu(e){return xu(e,1)}function Iu(e,t){return cp(xo(t),e)}function Uu(){if(!arguments.length)return[];var e=arguments[0];return vp(e)?e:[e]}function Wu(e){return Un(e,!1,!0)}function Lu(e,t){return t="function"==typeof t?t:oe,Un(e,!1,!0,t)}function Fu(e){return Un(e,!0,!0)}function Bu(e,t){return t="function"==typeof t?t:oe,Un(e,!0,!0,t)}function Vu(e,t){return null==t||Bn(e,t,Ws(t))}function zu(e,t){return e===t||e!==e&&t!==t}function Hu(e){return null!=e&&ts(e.length)&&!Qu(e)}function qu(e){return rs(e)&&Hu(e)}function $u(e){return e===!0||e===!1||rs(e)&&hr(e)==Ve}function Ku(e){return rs(e)&&1===e.nodeType&&!fs(e)}function Gu(e){if(null==e)return!0;if(Hu(e)&&(vp(e)||"string"==typeof e||"function"==typeof e.splice||yp(e)||kp(e)||hp(e)))return!e.length;var t=Sf(e);if(t==Ge||t==tt)return!e.size;if(Ui(e))return!Wr(e).length;for(var n in e)if(hl.call(e,n))return!1;return!0}function Xu(e,t){return Pr(e,t)}function Ju(e,t,n){n="function"==typeof n?n:oe;var r=n?n(e,t):oe;return r===oe?Pr(e,t,n):!!r}function Yu(e){if(!rs(e))return!1;var t=hr(e);return t==qe||t==He||"string"==typeof e.message&&"string"==typeof e.name&&!fs(e)}function Zu(e){return"number"==typeof e&&Fl(e)}function Qu(e){if(!ns(e))return!1;var t=hr(e);return t==$e||t==Ke||t==Be||t==Qe}function es(e){return"number"==typeof e&&e==bs(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&Me>=e}function ns(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function rs(e){return null!=e&&"object"==typeof e}function os(e,t){return e===t||Mr(e,t,bi(t))}function is(e,t,n){return n="function"==typeof n?n:oe,Mr(e,t,bi(t),n)}function as(e){return ls(e)&&e!=+e}function us(e){if(Of(e))throw new nl(ue);return Rr(e)}function ss(e){return null===e}function cs(e){return null==e}function ls(e){return"number"==typeof e||rs(e)&&hr(e)==Xe}function fs(e){if(!rs(e)||hr(e)!=Ye)return!1;var t=Sl(e);if(null===t)return!0;var n=hl.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&dl.call(n)==gl}function ps(e){return es(e)&&e>=-Me&&Me>=e}function ds(e){return"string"==typeof e||!vp(e)&&rs(e)&&hr(e)==nt}function hs(e){return"symbol"==typeof e||rs(e)&&hr(e)==rt}function vs(e){return e===oe}function ms(e){return rs(e)&&Sf(e)==it}function ys(e){return rs(e)&&hr(e)==at}function gs(e){if(!e)return[];if(Hu(e))return ds(e)?ee(e):Wo(e);if(Al&&e[Al])return q(e[Al]());var t=Sf(e),n=t==Ge?$:t==tt?X:Ys;return n(e)}function _s(e){if(!e)return 0===e?e:0;if(e=ks(e),e===je||e===-je){var t=0>e?-1:1;return t*Re}return e===e?e:0}function bs(e){var t=_s(e),n=t%1;return t===t?n?t-n:t:0}function ws(e){return e?In(bs(e),0,Ne):0}function ks(e){if("number"==typeof e)return e;if(hs(e))return De;if(ns(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ns(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Dt,"");var n=qt.test(e);return n||Kt.test(e)?Qn(e.slice(2),n?2:8):Ht.test(e)?De:+e}function xs(e){return Lo(e,Ls(e))}function Cs(e){return In(bs(e),-Me,Me)}function Ss(e){return null==e?"":ho(e)}function Os(e,t){var n=pf(e);return null==t?n:Rn(n,t)}function Es(e,t){return k(e,gi(t,3),tr)}function Ts(e,t){return k(e,gi(t,3),rr)}function Ps(e,t){return null==e?e:vf(e,gi(t,3),Ls)}function As(e,t){return null==e?e:mf(e,gi(t,3),Ls)}function js(e,t){return e&&tr(e,gi(t,3))}function Ms(e,t){return e&&rr(e,gi(t,3))}function Rs(e){return null==e?[]:or(e,Ws(e))}function Ds(e){return null==e?[]:or(e,Ls(e))}function Ns(e,t,n){var r=null==e?oe:ar(e,t);return r===oe?n:r}function Is(e,t){return null!=e&&Si(e,t,br)}function Us(e,t){return null!=e&&Si(e,t,wr)}function Ws(e){return Hu(e)?Cn(e):Wr(e)}function Ls(e){return Hu(e)?Cn(e,!0):Lr(e)}function Fs(e,t){var n={};return t=gi(t,3),tr(e,function(e,r,o){Dn(n,t(e,r,o),e)}),n}function Bs(e,t){var n={};return t=gi(t,3),tr(e,function(e,r,o){Dn(n,r,t(e,r,o))}),n}function Vs(e,t){return zs(e,Au(gi(t)))}function zs(e,t){return null==e?{}:Xr(e,vi(e),gi(t))}function Hs(e,t,n){t=Ri(t,e)?[t]:Co(t);var r=-1,o=t.length;for(o||(e=oe,o=1);++rt){var r=e;e=t,t=r}if(n||e%1||t%1){var o=Kl();return Hl(e+o*(t-e+Zn("1e-"+((o+"").length-1))),t)}return Qr(e,t)}function nc(e){return Gp(Ss(e).toLowerCase())}function rc(e){return e=Ss(e),e&&e.replace(Xt,vr).replace(Ln,"")}function oc(e,t,n){e=Ss(e),t=ho(t);var r=e.length;n=n===oe?r:In(bs(n),0,r);var o=n;return n-=t.length,n>=0&&e.slice(n,o)==t}function ic(e){return e=Ss(e),e&&Ct.test(e)?e.replace(kt,mr):e}function ac(e){return e=Ss(e),e&&Rt.test(e)?e.replace(Mt,"\\$&"):e}function uc(e,t,n){e=Ss(e),t=bs(t);var r=t?Q(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return ni(Ul(o),n)+e+ni(Il(o),n)}function sc(e,t,n){e=Ss(e),t=bs(t);var r=t?Q(e):0;return t&&t>r?e+ni(t-r,n):e}function cc(e,t,n){e=Ss(e),t=bs(t);var r=t?Q(e):0;return t&&t>r?ni(t-r,n)+e:e}function lc(e,t,n){return n||null==t?t=0:t&&(t=+t),$l(Ss(e).replace(Nt,""),t||0)}function fc(e,t,n){return t=(n?Mi(e,t,n):t===oe)?1:bs(t),to(Ss(e),t)}function pc(){var e=arguments,t=Ss(e[0]);return 3>e.length?t:t.replace(e[1],e[2])}function dc(e,t,n){return n&&"number"!=typeof n&&Mi(e,t,n)&&(t=n=oe),(n=n===oe?Ne:n>>>0)?(e=Ss(e),e&&("string"==typeof t||null!=t&&!bp(t))&&(t=ho(t),!t&&z(e))?So(ee(e),0,n):e.split(t,n)):[]}function hc(e,t,n){return e=Ss(e),n=In(bs(n),0,e.length),t=ho(t),e.slice(n,n+t.length)==t}function vc(e,t,r){var o=n.templateSettings;r&&Mi(e,t,r)&&(t=oe),e=Ss(e),t=Ep({},t,o,Tn);var i,a,u=Ep({},t.imports,o.imports,Tn),s=Ws(u),c=I(u,s),l=0,f=t.interpolate||Jt,p="__p += '",d=al((t.escape||Jt).source+"|"+f.source+"|"+(f===Et?Vt:Jt).source+"|"+(t.evaluate||Jt).source+"|$","g"),h="//# sourceURL="+("sourceURL"in t?t.sourceURL:"lodash.templateSources["+ ++qn+"]")+"\n";e.replace(d,function(t,n,r,o,u,s){return r||(r=o),p+=e.slice(l,s).replace(Yt,B),n&&(i=!0,p+="' +\n__e("+n+") +\n'"),u&&(a=!0,p+="';\n"+u+";\n__p += '"),r&&(p+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=s+t.length,t}),p+="';\n";var v=t.variable;v||(p="with (obj) {\n"+p+"\n}\n"),p=(a?p.replace(gt,""):p).replace(_t,"$1").replace(bt,"$1;"),p="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+p+"return __p\n}";var m=Xp(function(){return rl(s,h+"return "+p).apply(oe,c)});if(m.source=p,Yu(m))throw m;return m}function mc(e){return Ss(e).toLowerCase()}function yc(e){return Ss(e).toUpperCase()}function gc(e,t,n){if(e=Ss(e),e&&(n||t===oe))return e.replace(Dt,"");if(!e||!(t=ho(t)))return e;var r=ee(e),o=ee(t),i=W(r,o),a=L(r,o)+1;return So(r,i,a).join("")}function _c(e,t,n){if(e=Ss(e),e&&(n||t===oe))return e.replace(It,"");if(!e||!(t=ho(t)))return e;var r=ee(e),o=L(r,ee(t))+1;return So(r,0,o).join("")}function bc(e,t,n){if(e=Ss(e),e&&(n||t===oe))return e.replace(Nt,"");if(!e||!(t=ho(t)))return e;var r=ee(e),o=W(r,ee(t));return So(r,o).join("")}function wc(e,t){var n=Ce,r=Se;if(ns(t)){var o="separator"in t?t.separator:o;n="length"in t?bs(t.length):n,r="omission"in t?ho(t.omission):r}e=Ss(e);var i=e.length;if(z(e)){var a=ee(e);i=a.length}if(n>=i)return e;var u=n-Q(r);if(1>u)return r;var s=a?So(a,0,u).join(""):e.slice(0,u);if(o===oe)return s+r;if(a&&(u+=s.length-u),bp(o)){if(e.slice(u).search(o)){var c,l=s;for(o.global||(o=al(o.source,Ss(zt.exec(o))+"g")),o.lastIndex=0;c=o.exec(l);)var f=c.index;s=s.slice(0,f===oe?u:f)}}else if(e.indexOf(ho(o),u)!=u){var p=s.lastIndexOf(o);p>-1&&(s=s.slice(0,p))}return s+r}function kc(e){return e=Ss(e),e&&xt.test(e)?e.replace(wt,yr):e}function xc(e,t,n){return e=Ss(e),t=n?oe:t,t===oe?H(e)?re(e):w(e):e.match(t)||[]}function Cc(e){var t=null==e?0:e.length,n=gi();return e=t?v(e,function(e){if("function"!=typeof e[1])throw new sl(se);return[n(e[0]),e[1]]}):[],no(function(n){for(var r=-1;++re||e>Me)return[];var n=Ne,r=Hl(e,Ne);t=gi(t),e-=Ne;for(var o=R(r,t);++n1?e[t-1]:oe;return n="function"==typeof n?(e.pop(),n):oe,qa(e,n)}),Gf=di(function(e){var t=e.length,n=t?e[0]:0,r=this.__wrapped__,i=function(t){return Nn(t,e)};return 1>=t&&!this.__actions__.length&&r instanceof b&&ji(n)?(r=r.slice(n,+n+(t?1:0)),r.__actions__.push({func:Ja,args:[i],thisArg:oe}),new o(r,this.__chain__).thru(function(e){return t&&!e.length&&e.push(oe),e})):this.thru(i)}),Xf=Bo(function(e,t,n){hl.call(e,n)?++e[n]:Dn(e,n,1)}),Jf=Jo(ca),Yf=Jo(la),Zf=Bo(function(e,t,n){hl.call(e,n)?e[n].push(t):Dn(e,n,[t])}),Qf=no(function(e,t,n){var r=-1,o="function"==typeof t,i=Ri(t),a=Hu(e)?el(e.length):[];return df(e,function(e){var s=o?t:i&&null!=e?e[t]:oe;a[++r]=s?u(s,e,n):Sr(e,t,n)}),a}),ep=Bo(function(e,t,n){Dn(e,n,t)}),tp=Bo(function(e,t,n){e[n?0:1].push(t)},function(){return[[],[]]}),np=no(function(e,t){if(null==e)return[];var n=t.length;return n>1&&Mi(e,t[0],t[1])?t=[]:n>2&&Mi(t[0],t[1],t[2])&&(t=[t[0]]),Kr(e,er(t,1),[])}),rp=Dl||function(){return nr.Date.now()},op=no(function(e,t,n){var r=pe;if(n.length){var o=G(n,yi(op));r|=ye}return ci(e,r,t,n,o)}),ip=no(function(e,t,n){var r=pe|de;if(n.length){var o=G(n,yi(ip));r|=ye}return ci(t,r,e,n,o)}),ap=no(function(e,t){return Vn(e,1,t)}),up=no(function(e,t,n){return Vn(e,ks(t)||0,n)});Pu.Cache=cn;var sp=_f(function(e,t){t=1==t.length&&vp(t[0])?v(t[0],N(gi())):v(er(t,1),N(gi()));var n=t.length;return no(function(r){for(var o=-1,i=Hl(r.length,n);++o=t}),hp=Or(function(){return arguments}())?Or:function(e){return rs(e)&&hl.call(e,"callee")&&!El.call(e,"callee")},vp=el.isArray,mp=sr?N(sr):Er,yp=Ll||Lc,gp=cr?N(cr):Tr,_p=lr?N(lr):jr,bp=fr?N(fr):Dr,wp=pr?N(pr):Nr,kp=dr?N(dr):Ir,xp=ii(Fr),Cp=ii(function(e,t){return t>=e}),Sp=Vo(function(e,t){if(Ui(t)||Hu(t))return Lo(t,Ws(t),e),oe;for(var n in t)hl.call(t,n)&&An(e,n,t[n])}),Op=Vo(function(e,t){Lo(t,Ls(t),e)}),Ep=Vo(function(e,t,n,r){Lo(t,Ls(t),e,r)}),Tp=Vo(function(e,t,n,r){Lo(t,Ws(t),e,r)}),Pp=di(Nn),Ap=no(function(e){return e.push(oe,Tn),u(Ep,oe,e)}),jp=no(function(e){return e.push(oe,Vi),u(Ip,oe,e)}),Mp=Qo(function(e,t,n){e[t]=n},Oc(Tc)),Rp=Qo(function(e,t,n){hl.call(e,t)?e[t].push(n):e[t]=[n]},gi),Dp=no(Sr),Np=Vo(function(e,t,n){Hr(e,t,n)}),Ip=Vo(function(e,t,n,r){Hr(e,t,n,r)}),Up=di(function(e,t){return null==e?{}:(t=v(t,Yi),Gr(e,zn(vi(e),t)))}),Wp=di(function(e,t){return null==e?{}:Gr(e,v(t,Yi))}),Lp=si(Ws),Fp=si(Ls),Bp=Ko(function(e,t,n){return t=t.toLowerCase(),e+(n?nc(t):t)}),Vp=Ko(function(e,t,n){return e+(n?"-":"")+t.toLowerCase()}),zp=Ko(function(e,t,n){return e+(n?" ":"")+t.toLowerCase()}),Hp=$o("toLowerCase"),qp=Ko(function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}),$p=Ko(function(e,t,n){return e+(n?" ":"")+Gp(t)}),Kp=Ko(function(e,t,n){return e+(n?" ":"")+t.toUpperCase()}),Gp=$o("toUpperCase"),Xp=no(function(e,t){try{return u(e,oe,t)}catch(e){return Yu(e)?e:new nl(e)}}),Jp=di(function(e,t){return c(t,function(t){t=Yi(t),Dn(e,t,op(e[t],e))}),e}),Yp=Yo(),Zp=Yo(!0),Qp=no(function(e,t){return function(n){return Sr(n,e,t)}}),ed=no(function(e,t){return function(n){return Sr(e,n,t)}}),td=ti(v),nd=ti(f),rd=ti(_),od=oi(),id=oi(!0),ad=ei(function(e,t){return e+t},0),ud=ui("ceil"),sd=ei(function(e,t){return e/t},1),cd=ui("floor"),ld=ei(function(e,t){return e*t},1),fd=ui("round"),pd=ei(function(e,t){return e-t},0);return n.after=ku,n.ary=xu,n.assign=Sp,n.assignIn=Op,n.assignInWith=Ep,n.assignWith=Tp,n.at=Pp,n.before=Cu,n.bind=op,n.bindAll=Jp,n.bindKey=ip,n.castArray=Uu,n.chain=Ga,n.chunk=ta,n.compact=na,n.concat=ra,n.cond=Cc,n.conforms=Sc,n.constant=Oc,n.countBy=Xf,n.create=Os,n.curry=Su,n.curryRight=Ou,n.debounce=Eu,n.defaults=Ap,n.defaultsDeep=jp,n.defer=ap,n.delay=up,n.difference=jf,n.differenceBy=Mf,n.differenceWith=Rf,n.drop=oa,n.dropRight=ia,n.dropRightWhile=aa,n.dropWhile=ua,n.fill=sa,n.filter=iu,n.flatMap=au,n.flatMapDeep=uu,n.flatMapDepth=su,n.flatten=fa,n.flattenDeep=pa,n.flattenDepth=da,n.flip=Tu,n.flow=Yp,n.flowRight=Zp,n.fromPairs=ha,n.functions=Rs,n.functionsIn=Ds,n.groupBy=Zf,n.initial=ya,n.intersection=Df,n.intersectionBy=Nf,n.intersectionWith=If,n.invert=Mp,n.invertBy=Rp,n.invokeMap=Qf,n.iteratee=Pc,n.keyBy=ep,n.keys=Ws,n.keysIn=Ls,n.map=pu,n.mapKeys=Fs,n.mapValues=Bs,n.matches=Ac,n.matchesProperty=jc,n.memoize=Pu,n.merge=Np,n.mergeWith=Ip,n.method=Qp,n.methodOf=ed,n.mixin=Mc,n.negate=Au,n.nthArg=Nc,n.omit=Up,n.omitBy=Vs,n.once=ju,n.orderBy=du,n.over=td,n.overArgs=sp,n.overEvery=nd,n.overSome=rd,n.partial=cp,n.partialRight=lp,n.partition=tp,n.pick=Wp,n.pickBy=zs,n.property=Ic,n.propertyOf=Uc,n.pull=Uf,n.pullAll=ka,n.pullAllBy=xa,n.pullAllWith=Ca,n.pullAt=Wf,n.range=od,n.rangeRight=id,n.rearg=fp,n.reject=mu,n.remove=Sa,n.rest=Mu,n.reverse=Oa,n.sampleSize=gu,n.set=qs,n.setWith=$s,n.shuffle=_u,n.slice=Ea,n.sortBy=np,n.sortedUniq=Da,n.sortedUniqBy=Na,n.split=dc,n.spread=Ru,n.tail=Ia,n.take=Ua,n.takeRight=Wa,n.takeRightWhile=La,n.takeWhile=Fa,n.tap=Xa,n.throttle=Du,n.thru=Ja,n.toArray=gs,n.toPairs=Lp,n.toPairsIn=Fp,n.toPath=Hc,n.toPlainObject=xs,n.transform=Ks,n.unary=Nu,n.union=Lf,n.unionBy=Ff,n.unionWith=Bf,n.uniq=Ba,n.uniqBy=Va,n.uniqWith=za,n.unset=Gs,n.unzip=Ha,n.unzipWith=qa,n.update=Xs,n.updateWith=Js,n.values=Ys,n.valuesIn=Zs,n.without=Vf,n.words=xc,n.wrap=Iu,n.xor=zf,n.xorBy=Hf,n.xorWith=qf,n.zip=$f,n.zipObject=$a,n.zipObjectDeep=Ka,n.zipWith=Kf,n.entries=Lp,n.entriesIn=Fp,n.extend=Op,n.extendWith=Ep,Mc(n,n),n.add=ad,n.attempt=Xp,n.camelCase=Bp,n.capitalize=nc,n.ceil=ud,n.clamp=Qs,n.clone=Wu,n.cloneDeep=Fu,n.cloneDeepWith=Bu,n.cloneWith=Lu,n.conformsTo=Vu,n.deburr=rc,n.defaultTo=Ec,n.divide=sd,n.endsWith=oc,n.eq=zu,n.escape=ic,n.escapeRegExp=ac,n.every=ou,n.find=Jf,n.findIndex=ca,n.findKey=Es,n.findLast=Yf,n.findLastIndex=la,n.findLastKey=Ts,n.floor=cd,n.forEach=cu,n.forEachRight=lu,n.forIn=Ps,n.forInRight=As,n.forOwn=js,n.forOwnRight=Ms,n.get=Ns,n.gt=pp,n.gte=dp,n.has=Is,n.hasIn=Us,n.head=va,n.identity=Tc,n.includes=fu,n.indexOf=ma,n.inRange=ec,n.invoke=Dp,n.isArguments=hp,n.isArray=vp,n.isArrayBuffer=mp,n.isArrayLike=Hu,n.isArrayLikeObject=qu,n.isBoolean=$u,n.isBuffer=yp,n.isDate=gp,n.isElement=Ku,n.isEmpty=Gu,n.isEqual=Xu,n.isEqualWith=Ju,n.isError=Yu,n.isFinite=Zu,n.isFunction=Qu,n.isInteger=es,n.isLength=ts,n.isMap=_p,n.isMatch=os,n.isMatchWith=is,n.isNaN=as,n.isNative=us,n.isNil=cs,n.isNull=ss,n.isNumber=ls,n.isObject=ns,n.isObjectLike=rs,n.isPlainObject=fs,n.isRegExp=bp,n.isSafeInteger=ps,n.isSet=wp,n.isString=ds,n.isSymbol=hs,n.isTypedArray=kp,n.isUndefined=vs,n.isWeakMap=ms,n.isWeakSet=ys,n.join=ga,n.kebabCase=Vp,n.last=_a,n.lastIndexOf=ba,n.lowerCase=zp,n.lowerFirst=Hp,n.lt=xp,n.lte=Cp,n.max=$c,n.maxBy=Kc,n.mean=Gc,n.meanBy=Xc,n.min=Jc,n.minBy=Yc,n.stubArray=Wc,n.stubFalse=Lc,n.stubObject=Fc,n.stubString=Bc,n.stubTrue=Vc,n.multiply=ld,n.nth=wa,n.noConflict=Rc,n.noop=Dc,n.now=rp,n.pad=uc,n.padEnd=sc,n.padStart=cc,n.parseInt=lc,n.random=tc,n.reduce=hu,n.reduceRight=vu,n.repeat=fc,n.replace=pc,n.result=Hs,n.round=fd,n.runInContext=e,n.sample=yu,n.size=bu,n.snakeCase=qp,n.some=wu,n.sortedIndex=Ta,n.sortedIndexBy=Pa,n.sortedIndexOf=Aa,n.sortedLastIndex=ja,n.sortedLastIndexBy=Ma,n.sortedLastIndexOf=Ra,n.startCase=$p,n.startsWith=hc,n.subtract=pd,n.sum=Zc,n.sumBy=Qc,n.template=vc,n.times=zc,n.toFinite=_s,n.toInteger=bs,n.toLength=ws,n.toLower=mc,n.toNumber=ks,n.toSafeInteger=Cs,n.toString=Ss,n.toUpper=yc,n.trim=gc,n.trimEnd=_c,n.trimStart=bc,n.truncate=wc,n.unescape=kc,n.uniqueId=qc,n.upperCase=Kp,n.upperFirst=Gp,n.each=cu,n.eachRight=lu,n.first=va,Mc(n,function(){var e={};return tr(n,function(t,r){hl.call(n.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),n.VERSION=ie,c(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){n[e].placeholder=n}),c(["drop","take"],function(e,t){b.prototype[e]=function(n){var r=this.__filtered__;if(r&&!t)return new b(this);n=n===oe?1:zl(bs(n),0);var o=this.clone();return r?o.__takeCount__=Hl(n,o.__takeCount__):o.__views__.push({size:Hl(n,Ne),type:e+(0>o.__dir__?"Right":"")}),o},b.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}}),c(["filter","map","takeWhile"],function(e,t){var n=t+1,r=n==Te||n==Ae;b.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:gi(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}}),c(["head","last"],function(e,t){var n="take"+(t?"Right":"");b.prototype[e]=function(){return this[n](1).value()[0]}}),c(["initial","tail"],function(e,t){var n="drop"+(t?"":"Right");b.prototype[e]=function(){return this.__filtered__?new b(this):this[n](1)}}),b.prototype.compact=function(){return this.filter(Tc)},b.prototype.find=function(e){return this.filter(e).head()},b.prototype.findLast=function(e){return this.reverse().find(e)},b.prototype.invokeMap=no(function(e,t){return"function"==typeof e?new b(this):this.map(function(n){return Sr(n,e,t)})}),b.prototype.reject=function(e){return this.filter(Au(gi(e)))},b.prototype.slice=function(e,t){e=bs(e);var n=this;return n.__filtered__&&(e>0||0>t)?new b(n):(0>e?n=n.takeRight(-e):e&&(n=n.drop(e)),t!==oe&&(t=bs(t),n=0>t?n.dropRight(-t):n.take(t-e)),n)},b.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},b.prototype.toArray=function(){return this.take(Ne)},tr(b.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),i=/^(?:head|last)$/.test(t),a=n[i?"take"+("last"==t?"Right":""):t],u=i||/^find/.test(t);a&&(n.prototype[t]=function(){var t=this.__wrapped__,s=i?[1]:arguments,c=t instanceof b,l=s[0],f=c||vp(t),p=function(e){var t=a.apply(n,m([e],s));return i&&d?t[0]:t};f&&r&&"function"==typeof l&&1!=l.length&&(c=f=!1);var d=this.__chain__,h=!!this.__actions__.length,v=u&&!d,y=c&&!h;if(!u&&f){t=y?t:new b(this);var g=e.apply(t,s);return g.__actions__.push({func:Ja,args:[p],thisArg:oe}),new o(g,d)}return v&&y?e.apply(this,s):(g=this.thru(p),v?i?g.value()[0]:g.value():g)})}),c(["pop","push","shift","sort","splice","unshift"],function(e){var t=cl[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",o=/^(?:pop|shift)$/.test(e);n.prototype[e]=function(){var e=arguments;if(o&&!this.__chain__){var n=this.value();return t.apply(vp(n)?n:[],e)}return this[r](function(n){return t.apply(vp(n)?n:[],e)})}}),tr(b.prototype,function(e,t){var r=n[t];if(r){var o=r.name+"",i=nf[o]||(nf[o]=[]);i.push({name:t,func:r})}}),nf[Zo(oe,de).name]=[{name:"wrapper",func:oe}],b.prototype.clone=P,b.prototype.reverse=Y,b.prototype.value=te,n.prototype.at=Gf,n.prototype.chain=Ya,n.prototype.commit=Za,n.prototype.next=Qa,n.prototype.plant=tu,n.prototype.reverse=nu,n.prototype.toJSON=n.prototype.valueOf=n.prototype.value=ru,n.prototype.first=n.prototype.head,Al&&(n.prototype[Al]=eu),n},_r=gr();nr._=_r,r=function(){return _r}.call(t,n,t,o),!(r!==oe&&(o.exports=r))}).call(this)}).call(t,function(){return this}(),n(31)(e))},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.actions=t.unboundActions=void 0;var i=n(8),a=n(10),u=o(a),s=n(16),c=o(s),l=n(74),f=r(l),p=n(73),d=r(p),h=t.unboundActions=(0,u.default)({},f,d);t.actions=(0,i.bindActionCreators)(h,c.default.dispatch)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(8),i=n(77),a=r(i),u=(0,o.createStore)(a.default,window.devToolsExtension?window.devToolsExtension():void 0);t.default=u},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(4),n(52),n(5)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var s=u(o),c=u(i),l=function(e){var t=e.image;return(0,n.h)("div",{className:c.default.captures},(0,n.h)("img",{src:t,className:c.default.image}))},f=function(e){var t=e.capture,r=e.nextLink,o=e.retakeAction,i=e.confirmAction;return(0,n.h)("div",{className:s.default.previews+" "+s.default.step},(0,n.h)("h1",{className:s.default.title},"Confirm capture"),(0,n.h)("p",null,"Please confirm that you are happy with this photo."),(0,n.h)(l,{image:t.image}),(0,n.h)("div",{className:s.default.actions+" "+c.default.actions},(0,n.h)("button",{onClick:o,className:s.default.btn+" "+c.default["btn-outline"]},"Take again"),(0,n.h)("a",{href:r,className:s.default.btn+" "+s.default["btn-primary"],onClick:i},"Confirm")))},p=function(e){var t=e.nextLink,r=e.method,o=e.validCaptures,i=e.actions,a=i.deleteCaptures,u=i.confirmCapture,s=o[r][0];return(0,n.h)(f,{capture:s,retakeAction:function(){return a({method:r})},confirmAction:function(){return u({method:r,id:s.id})},nextLink:t})};t.default=(0,a.impurify)(p),e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[t,n(1),n(4),n(57)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(e,"__esModule",{value:!0}),e.FaceInstructions=e.FaceOverlay=e.FaceTitle=void 0;var i=o(n),a=o(r);e.FaceTitle=function(e){var n=e.useCapture,r=n?"Place your face in the circle":"Upload a picture of your face";return(0,t.h)("div",{className:i.default.title},r)},e.FaceOverlay=function(){return(0,t.h)("div",{className:i.default.overlay},(0,t.h)("span",{className:i.default["overlay-shape"]+" "+a.default.circle}))},e.FaceInstructions=function(e){var n=e.handeClick;return(0,t.h)("div",{className:a.default.instructions},(0,t.h)("button",{className:i.default.btn+" "+i.default["btn-primary"]+" "+i.default["btn-centered"],onClick:n},"Take photo"))}})},function(e,t,n){var r,o;(function(n){!function(){"use strict";function i(){var e,t,n,r=h.userAgent,o=h.appName,i=""+parseFloat(h.appVersion),a=parseInt(h.appVersion,10);if(y){o="Opera";try{i=h.userAgent.split("OPR/")[1].split(" ")[0],a=i.split(".")[0]}catch(e){i="0.0.0.0",a=0}}else w?(t=r.indexOf("MSIE"),o="IE",i=r.substring(t+5)):b?(t=r.indexOf("Chrome"),o="Chrome",i=r.substring(t+7)):_?(t=r.indexOf("Safari"),o="Safari",i=r.substring(t+7),(t=r.indexOf("Version"))!==-1&&(i=r.substring(t+8))):g?(t=r.indexOf("Firefox"),o="Firefox",i=r.substring(t+8)):(e=r.lastIndexOf(" ")+1)<(t=r.lastIndexOf("/"))&&(o=r.substring(e,t),i=r.substring(t+1),o.toLowerCase()===o.toUpperCase()&&(o=h.appName));return m&&(o="Edge",i=""+parseInt(h.userAgent.match(/Edge\/(\d+).(\d+)$/)[2],10)),(n=i.indexOf(";"))!==-1&&(i=i.substring(0,n)),(n=i.indexOf(" "))!==-1&&(i=i.substring(0,n)),a=parseInt(""+i,10),isNaN(a)&&(i=""+parseFloat(h.appVersion),a=parseInt(h.appVersion,10)),{fullVersion:i,version:a,name:o,isPrivateBrowsing:!1}}function a(e,t){var n=0,r=50,o=!1,i=window.setInterval(function(){e()&&(window.clearInterval(i),t(o)),n++>r&&(window.clearInterval(i),o=!0,t(o))},10)}function u(e){var t=e.toLowerCase();if(0===t.indexOf("msie")&&0===t.indexOf("trident"))return!1;var n=/(?:msie|rv:)\s?([\d\.]+)/.exec(t);return!(!n||parseInt(n[1],10)<10)}function s(e){var t;if(window.webkitRequestFileSystem)window.webkitRequestFileSystem(window.TEMPORARY,1,function(){t=!1},function(e){t=!0});else if(window.indexedDB&&/Firefox/.test(window.navigator.userAgent)){var n;try{n=window.indexedDB.open("test"),n.onerror=function(){return!0}}catch(e){t=!0}void 0===t&&a(function(){return"done"===n.readyState},function(e){e||(t=!n.result)})}else if(u(window.navigator.userAgent)){t=!1;try{window.indexedDB||(t=!0)}catch(e){t=!0}}else if(window.localStorage&&/Safari/.test(window.navigator.userAgent)){try{window.localStorage.setItem("test",1)}catch(e){t=!0}void 0===t&&(t=!1,window.localStorage.removeItem("test"))}a(function(){return void 0!==t},function(n){e(t)})}function c(){var e="-",t=h.appVersion,n=h.userAgent,r=e,o=[{s:"Windows 10",r:/(Windows 10.0|Windows NT 10.0)/},{s:"Windows 8.1",r:/(Windows 8.1|Windows NT 6.3)/},{s:"Windows 8",r:/(Windows 8|Windows NT 6.2)/},{s:"Windows 7",r:/(Windows 7|Windows NT 6.1)/},{s:"Windows Vista",r:/Windows NT 6.0/},{s:"Windows Server 2003",r:/Windows NT 5.2/},{s:"Windows XP",r:/(Windows NT 5.1|Windows XP)/},{s:"Windows 2000",r:/(Windows NT 5.0|Windows 2000)/},{s:"Windows ME",r:/(Win 9x 4.90|Windows ME)/},{s:"Windows 98",r:/(Windows 98|Win98)/},{s:"Windows 95",r:/(Windows 95|Win95|Windows_95)/},{s:"Windows NT 4.0",r:/(Windows NT 4.0|WinNT4.0|WinNT|Windows NT)/},{s:"Windows CE",r:/Windows CE/},{s:"Windows 3.11",r:/Win16/},{s:"Android",r:/Android/},{s:"Open BSD",r:/OpenBSD/},{s:"Sun OS",r:/SunOS/},{s:"Linux",r:/(Linux|X11)/},{s:"iOS",r:/(iPhone|iPad|iPod)/},{s:"Mac OS X",r:/Mac OS X/},{s:"Mac OS",r:/(MacPPC|MacIntel|Mac_PowerPC|Macintosh)/},{s:"QNX",r:/QNX/},{s:"UNIX",r:/UNIX/},{s:"BeOS",r:/BeOS/},{s:"OS/2",r:/OS\/2/},{s:"Search Bot",r:/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask Jeeves\/Teoma|ia_archiver)/}];for(var i in o){var a=o[i];if(a.r.test(n)){r=a.s;break}}var u=e;switch(/Windows/.test(r)&&(/Windows (.*)/.test(r)&&(u=/Windows (.*)/.exec(r)[1]),r="Windows"),r){case"Mac OS X":/Mac OS X (10[\.\_\d]+)/.test(n)&&(u=/Mac OS X (10[\.\_\d]+)/.exec(n)[1]);break;case"Android":/Android ([\.\_\d]+)/.test(n)&&(u=/Android ([\.\_\d]+)/.exec(n)[1]);break;case"iOS":/OS (\d+)_(\d+)_?(\d+)?/.test(n)&&(u=/OS (\d+)_(\d+)_?(\d+)?/.exec(t),u=u[1]+"."+u[2]+"."+(0|u[3]))}return{osName:r,osVersion:u}}function l(e){W.isWebRTCSupported&&(W.isORTCSupported||f(function(t){e(t.match(/^(192\.168\.|169\.254\.|10\.|172\.(1[6-9]|2\d|3[01]))/)?"Local: "+t:"Public: "+t)}))}function f(e){function t(t){var r=/([0-9]{1,3}(\.[0-9]{1,3}){3})/,o=r.exec(t);if(!o)return void console.warn("Could not match IP address in",t);var i=o[1];void 0===n[i]&&e(i),n[i]=!0}var n={},r=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection,o=!!window.webkitRTCPeerConnection;if(!r){var i=document.getElementById("iframe");if(!i)throw"NOTE: you need to have an iframe in the page right above the script tag.";var a=i.contentWindow;r=a.RTCPeerConnection||a.mozRTCPeerConnection||a.webkitRTCPeerConnection,o=!!a.webkitRTCPeerConnection}if(r){var u,s={optional:[{RtpDataChannels:!0}]};o&&(u={iceServers:[{urls:"stun:stun.services.mozilla.com"}]},void 0!==W&&W.browser.isFirefox&&38>=W.browser.version&&(u[0]={url:u[0].urls}));var c=new r(u,s);c.onicecandidate=function(e){e.candidate&&t(e.candidate.candidate)},c.createDataChannel(""),c.createOffer(function(e){c.setLocalDescription(e,function(){},function(){})},function(){}),setTimeout(function(){var e=c.localDescription.sdp.split("\n");e.forEach(function(e){0===e.indexOf("a=candidate:")&&t(e)})},1e3)}}function p(e){return M?(!h.enumerateDevices&&window.MediaStreamTrack&&window.MediaStreamTrack.getSources&&(h.enumerateDevices=window.MediaStreamTrack.getSources.bind(window.MediaStreamTrack)),!h.enumerateDevices&&h.enumerateDevices&&(h.enumerateDevices=h.enumerateDevices.bind(h)),h.enumerateDevices?(T=[],P=[],A=[],j=[],void h.enumerateDevices(function(t){t.forEach(function(e){var t={};for(var n in e)t[n]=e[n];"audio"===t.kind&&(t.kind="audioinput"),"video"===t.kind&&(t.kind="videoinput");var r;T.forEach(function(e){e.id===t.id&&e.kind===t.kind&&(r=!0)}),r||(t.deviceId||(t.deviceId=t.id),t.id||(t.id=t.deviceId),t.label?("videoinput"!==t.kind||U||(U=!0),"audioinput"!==t.kind||I||(I=!0)):(t.label="Please invoke getUserMedia once.","https:"!==location.protocol&&document.domain.search&&document.domain.search(/localhost|127.0./g)===-1&&(t.label="HTTPs is required to get label of this "+t.kind+" device.")),"audioinput"===t.kind&&(R=!0,P.indexOf(t)===-1&&P.push(t)),"audiooutput"===t.kind&&(D=!0,A.indexOf(t)===-1&&A.push(t)),"videoinput"===t.kind&&(N=!0,j.indexOf(t)===-1&&j.push(t)),T.indexOf(t)===-1&&T.push(t))}),void 0!==W&&(W.MediaDevices=T,W.hasMicrophone=R,W.hasSpeakers=D,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=U,W.isWebsiteHasMicrophonePermissions=I,W.audioInputDevices=P,W.audioOutputDevices=A,W.videoInputDevices=j),e&&e()})):void(e&&e())):void(e&&e())}var d="Fake/5.0 (FakeOS) AppleWebKit/123 (KHTML, like Gecko) Fake/12.3.4567.89 Fake/123.45";!function(e){"undefined"==typeof window&&("undefined"==typeof window&&void 0!==n?(n.navigator={userAgent:d,getUserMedia:function(){}},e.window=n):"undefined"==typeof window,"undefined"==typeof document&&(e.document={},document.createElement=document.captureStream=document.mozCaptureStream=function(){return{}}),"undefined"==typeof location&&(e.location={protocol:"file:",href:"",hash:""}),"undefined"==typeof screen&&(e.screen={width:0,height:0}))}(void 0!==n?n:window);var h=window.navigator;void 0!==h?(void 0!==h.webkitGetUserMedia&&(h.getUserMedia=h.webkitGetUserMedia),void 0!==h.mozGetUserMedia&&(h.getUserMedia=h.mozGetUserMedia)):h={getUserMedia:function(){},userAgent:d};var v=!!/Android|webOS|iPhone|iPad|iPod|BB10|BlackBerry|IEMobile|Opera Mini|Mobile|mobile/i.test(h.userAgent||""),m=!(h.userAgent.indexOf("Edge")===-1||!h.msSaveOrOpenBlob&&!h.msSaveBlob),y=!!window.opera||h.userAgent.indexOf(" OPR/")>=0,g=void 0!==window.InstallTrigger,_=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0,b=!!window.chrome&&!y,w=!!document.documentMode&&!m,k={Android:function(){return h.userAgent.match(/Android/i)},BlackBerry:function(){return h.userAgent.match(/BlackBerry|BB10/i)},iOS:function(){return h.userAgent.match(/iPhone|iPad|iPod/i)},Opera:function(){return h.userAgent.match(/Opera Mini/i)},Windows:function(){return h.userAgent.match(/IEMobile/i)},any:function(){return k.Android()||k.BlackBerry()||k.iOS()||k.Opera()||k.Windows()},getOsName:function(){var e="Unknown OS";return k.Android()&&(e="Android"),k.BlackBerry()&&(e="BlackBerry"),k.iOS()&&(e="iOS"),k.Opera()&&(e="Opera Mini"),k.Windows()&&(e="Windows"),e}},x="Unknown OS",C="Unknown OS Version";if(k.any())x=k.getOsName();else{var S=c();x=S.osName,C=S.osVersion}var O=!1,E=!1;["captureStream","mozCaptureStream","webkitCaptureStream"].forEach(function(e){!O&&e in document.createElement("canvas")&&(O=!0),!E&&e in document.createElement("video")&&(E=!0)});var T=[],P=[],A=[],j=[];h.mediaDevices&&h.mediaDevices.enumerateDevices&&(h.enumerateDevices=function(e){h.mediaDevices.enumerateDevices().then(e).catch(function(){e([])})});var M=!1;"undefined"!=typeof MediaStreamTrack&&"getSources"in MediaStreamTrack?M=!0:h.mediaDevices&&h.mediaDevices.enumerateDevices&&(M=!0);var R=!1,D=!1,N=!1,I=!1,U=!1;p();var W=window.DetectRTC||{};W.browser=i(),s(function(e){W.browser.isPrivateBrowsing=!!e}),W.browser["is"+W.browser.name]=!0;var L=(!!(window.process&&"object"==typeof window.process&&window.process.versions&&window.process.versions["node-webkit"]),!1);["RTCPeerConnection","webkitRTCPeerConnection","mozRTCPeerConnection","RTCIceGatherer"].forEach(function(e){L||e in window&&(L=!0)}),W.isWebRTCSupported=L,W.isORTCSupported="undefined"!=typeof RTCIceGatherer;var F=!1;W.browser.isChrome&&W.browser.version>=35?F=!0:W.browser.isFirefox&&W.browser.version>=34&&(F=!0),"https:"!==location.protocol&&(F=!1),W.isScreenCapturingSupported=F;var B={isSupported:!1,isCreateMediaStreamSourceSupported:!1};["AudioContext","webkitAudioContext","mozAudioContext","msAudioContext"].forEach(function(e){B.isSupported||e in window&&(B.isSupported=!0,"createMediaStreamSource"in window[e].prototype&&(B.isCreateMediaStreamSourceSupported=!0))}),W.isAudioContextSupported=B.isSupported,W.isCreateMediaStreamSourceSupported=B.isCreateMediaStreamSourceSupported;var V=!1;W.browser.isChrome&&W.browser.version>31&&(V=!0),W.isRtpDataChannelsSupported=V;var z=!1;W.browser.isFirefox&&W.browser.version>28?z=!0:W.browser.isChrome&&W.browser.version>25?z=!0:W.browser.isOpera&&W.browser.version>=11&&(z=!0),W.isSctpDataChannelsSupported=z,W.isMobileDevice=v;var H=!1;h.getUserMedia?H=!0:h.mediaDevices&&h.mediaDevices.getUserMedia&&(H=!0),W.browser.isChrome&&W.browser.version>=46&&"https:"!==location.protocol&&(W.isGetUserMediaSupported="Requires HTTPs"),W.isGetUserMediaSupported=H,W.osName=x,W.osVersion=C;var q="";if(screen.width){var $=screen.width?screen.width:"",K=screen.height?screen.height:"";q+=""+$+" x "+K}W.displayResolution=q,W.isCanvasSupportsStreamCapturing=O,W.isVideoSupportsStreamCapturing=E,W.DetectLocalIPAddress=l,W.isWebSocketsSupported="WebSocket"in window&&2===window.WebSocket.CLOSING,W.isWebSocketsBlocked=!W.isWebSocketsSupported,W.checkWebSocketsSupport=function(e){e=e||function(){};try{var t=new WebSocket("wss://echo.websocket.org:443/");t.onopen=function(){W.isWebSocketsBlocked=!1,e(),t.close(),t=null},t.onerror=function(){W.isWebSocketsBlocked=!0,e()}}catch(t){W.isWebSocketsBlocked=!0,e()}},W.load=function(e){e=e||function(){},p(e)},W.MediaDevices=T,W.hasMicrophone=R,W.hasSpeakers=D,W.hasWebcam=N,W.isWebsiteHasWebcamPermissions=U,W.isWebsiteHasMicrophonePermissions=I,W.audioInputDevices=P,W.audioOutputDevices=A,W.videoInputDevices=j;var G=!1;"setSinkId"in document.createElement("video")&&(G=!0),W.isSetSinkIdSupported=G;var X=!1;W.browser.isFirefox&&"undefined"!=typeof mozRTCPeerConnection?"getSenders"in mozRTCPeerConnection.prototype&&(X=!0):W.browser.isChrome&&"undefined"!=typeof webkitRTCPeerConnection&&"getSenders"in webkitRTCPeerConnection.prototype&&(X=!0),W.isRTPSenderReplaceTracksSupported=X;var J=!1;W.browser.isFirefox&&W.browser.version>38&&(J=!0),W.isRemoteStreamProcessingSupported=J;var Y=!1;"undefined"!=typeof MediaStreamTrack&&"applyConstraints"in MediaStreamTrack.prototype&&(Y=!0),W.isApplyConstraintsSupported=Y;var Z=!1;W.browser.isFirefox&&W.browser.version>=43&&(Z=!0),W.isMultiMonitorScreenCapturingSupported=Z,W.isPromisesSupported=!!("Promise"in window),void 0===W&&(window.DetectRTC={});var Q=window.MediaStream;void 0===Q&&"undefined"!=typeof webkitMediaStream&&(Q=webkitMediaStream),W.MediaStream=void 0!==Q&&Object.keys(Q.prototype),W.MediaStreamTrack="undefined"!=typeof MediaStreamTrack&&Object.keys(MediaStreamTrack.prototype);var ee=window.RTCPeerConnection||window.mozRTCPeerConnection||window.webkitRTCPeerConnection;W.RTCPeerConnection=void 0!==ee&&Object.keys(ee.prototype),window.DetectRTC=W,e.exports=W,r=[],o=function(){return W}.apply(t,r),!(void 0!==o&&(e.exports=o))}()}).call(t,function(){return this}())},function(e,t,n){var r=n(69),o=r.Symbol;e.exports=o},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(){var e=c.default.getState(),t=f.captureSelector(e);h(e)&&d.emit("ready"),(0,p.each)(f.isThereAValidCapture(e),function(e,n){e&&d.emit(n+"Capture",t)}),f.allCaptured(e)&&d.emit("complete",t)}t.__esModule=!0;var a=n(79),u=o(a),s=n(16),c=o(s),l=n(22),f=r(l),p=n(14),d=new u.default;c.default.subscribe(i);var h=function(e){return e.globals.authenticated};d.getCaptures=function(){return f.captureSelector(c.default.getState())},t.default=d},function(e,t,n){"use strict";t.__esModule=!0,t.captureSelector=t.allCaptured=t.areAllCapturesInvalid=t.hasUnprocessedCaptures=t.unprocessedCaptures=t.validCaptures=t.isThereAValidAndConfirmedCapture=t.isThereAValidCapture=void 0;var r=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),o=n(83),i=n(14),a=function(e){return e.captures},u=function(e){return(0,o.createSelector)(a,function(t){return(0,i.mapValues)(t,e)})},s=(t.isThereAValidCapture=u(function(e){return e.some(function(e){return e.valid})}),t.isThereAValidAndConfirmedCapture=u(function(e){return e.some(function(e){return e.valid&&e.confirmed})})),c=t.validCaptures=u(function(e){return e.filter(function(e){return e.valid})});t.unprocessedCaptures=u(function(e){return e.filter(function(e){return!e.processed})}),t.hasUnprocessedCaptures=u(function(e){return e.some(function(e){return!e.processed})}),t.areAllCapturesInvalid=u(function(e){return e.length>0&&e.every(function(e){return e.processed&&!e.valid})}),t.allCaptured=(0,o.createSelector)(s,function(e){return(0,i.every)(e,function(e){return e})}),t.captureSelector=(0,o.createSelector)(c,function(e){return(0,i.mapKeys)((0,i.mapValues)(e,function(e){var t=r(e,1),n=t[0];return n}),function(e,t){return t+"Capture"})})},function(e,t,n){!function(t,r){e.exports=r(n(2))}(this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},c=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),l=n(1),f=r(l),p=n(2),d=r(p),h="undefined"==typeof document||!document||!document.createElement||"multiple"in document.createElement("input"),v=function(e){function t(e,n){i(this,t);var r=a(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e,n));return r.onClick=r.onClick.bind(r),r.onDragStart=r.onDragStart.bind(r),r.onDragEnter=r.onDragEnter.bind(r),r.onDragLeave=r.onDragLeave.bind(r),r.onDragOver=r.onDragOver.bind(r),r.onDrop=r.onDrop.bind(r),r.onFileDialogCancel=r.onFileDialogCancel.bind(r),r.fileAccepted=r.fileAccepted.bind(r), +r.isFileDialogActive=!1,r.state={isDragActive:!1},r}return u(t,e),c(t,[{key:"componentDidMount",value:function(){this.enterCounter=0,document.body.onfocus=this.onFileDialogCancel}},{key:"componentWillUnmount",value:function(){document.body.onfocus=null}},{key:"onDragStart",value:function(e){this.props.onDragStart&&this.props.onDragStart.call(this,e)}},{key:"onDragEnter",value:function(e){e.preventDefault(),++this.enterCounter;var t=e.dataTransfer&&e.dataTransfer.items?e.dataTransfer.items:[],n=this.allFilesAccepted(Array.prototype.slice.call(t));this.setState({isDragActive:n,isDragReject:!n}),this.props.onDragEnter&&this.props.onDragEnter.call(this,e)}},{key:"onDragOver",value:function(e){e.preventDefault(),e.stopPropagation();try{e.dataTransfer.dropEffect="copy"}catch(e){}return!1}},{key:"onDragLeave",value:function(e){e.preventDefault(),--this.enterCounter>0||(this.setState({isDragActive:!1,isDragReject:!1}),this.props.onDragLeave&&this.props.onDragLeave.call(this,e))}},{key:"onDrop",value:function(e){e.preventDefault(),this.enterCounter=0,this.setState({isDragActive:!1,isDragReject:!1});for(var t=e.dataTransfer?e.dataTransfer.files:e.target.files,n=this.props.multiple?t.length:Math.min(t.length,1),r=[],o=[],i=0;n>i;i++){var a=t[i];this.props.disablePreview||(a.preview=window.URL.createObjectURL(a)),this.fileAccepted(a)&&this.fileMatchSize(a)?r.push(a):o.push(a)}this.props.onDrop&&this.props.onDrop.call(this,r,o,e),o.length>0?this.props.onDropRejected&&this.props.onDropRejected.call(this,o,e):r.length>0&&this.props.onDropAccepted&&this.props.onDropAccepted.call(this,r,e),this.isFileDialogActive=!1}},{key:"onClick",value:function(){this.props.disableClick||this.open()}},{key:"onFileDialogCancel",value:function e(){var e=this.props.onFileDialogCancel,t=this.fileInputEl,n=this.isFileDialogActive;e&&n&&setTimeout(function(){var r=t.files;r.length||(n=!1,e())},300)}},{key:"fileAccepted",value:function(e){return(0,f.default)(e,this.props.accept)}},{key:"fileMatchSize",value:function(e){return this.props.maxSize>=e.size&&e.size>=this.props.minSize}},{key:"allFilesAccepted",value:function(e){return e.every(this.fileAccepted)}},{key:"open",value:function(){this.isFileDialogActive=!0,this.fileInputEl.value=null,this.fileInputEl.click()}},{key:"render",value:function(){var e=this,t=this.props,n=t.accept,r=t.activeClassName,i=t.inputProps,a=t.multiple,u=t.name,c=t.rejectClassName,l=o(t,["accept","activeClassName","inputProps","multiple","name","rejectClassName"]),f=l.activeStyle,p=l.className,v=l.rejectStyle,m=l.style,y=o(l,["activeStyle","className","rejectStyle","style"]),g=this.state,_=g.isDragActive,b=g.isDragReject;p=p||"",_&&r&&(p+=" "+r),b&&c&&(p+=" "+c),p||m||f||v||(m={width:200,height:200,borderWidth:2,borderColor:"#666",borderStyle:"dashed",borderRadius:5},f={borderStyle:"solid",backgroundColor:"#eee"},v={borderStyle:"solid",backgroundColor:"#ffdddd"});var w=void 0;w=f&&_?s({},m,f):v&&b?s({},m,v):s({},m);var k={accept:n,type:"file",style:{display:"none"},multiple:h&&a,ref:function(t){return e.fileInputEl=t},onChange:this.onDrop};u&&u.length&&(k.name=u);var x=["disablePreview","disableClick","onDropAccepted","onDropRejected","maxSize","minSize","onFileDialogCancel"],C=s({},y);return x.forEach(function(e){return delete C[e]}),d.default.createElement("div",s({className:p,style:w},C,{onClick:this.onClick,onDragStart:this.onDragStart,onDragEnter:this.onDragEnter,onDragOver:this.onDragOver,onDragLeave:this.onDragLeave,onDrop:this.onDrop}),this.props.children,d.default.createElement("input",s({},i,k)))}}]),t}(d.default.Component);v.defaultProps={disablePreview:!1,disableClick:!1,multiple:!0,maxSize:1/0,minSize:0},v.propTypes={onDrop:d.default.PropTypes.func,onDropAccepted:d.default.PropTypes.func,onDropRejected:d.default.PropTypes.func,onDragStart:d.default.PropTypes.func,onDragEnter:d.default.PropTypes.func,onDragLeave:d.default.PropTypes.func,children:d.default.PropTypes.node,style:d.default.PropTypes.object,activeStyle:d.default.PropTypes.object,rejectStyle:d.default.PropTypes.object,className:d.default.PropTypes.string,activeClassName:d.default.PropTypes.string,rejectClassName:d.default.PropTypes.string,disablePreview:d.default.PropTypes.bool,disableClick:d.default.PropTypes.bool,onFileDialogCancel:d.default.PropTypes.func,inputProps:d.default.PropTypes.object,multiple:d.default.PropTypes.bool,accept:d.default.PropTypes.string,name:d.default.PropTypes.string,maxSize:d.default.PropTypes.number,minSize:d.default.PropTypes.number},t.default=v,e.exports=t.default},function(e,t){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";t.__esModule=!0,n(8),n(9),t.default=function(e,t){if(e&&t){var n=function(){var n=t.split(","),r=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return{v:n.some(function(e){var t=e.trim();return"."===t.charAt(0)?r.toLowerCase().endsWith(t.toLowerCase()):/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t})}}();if("object"==typeof n)return n.v}return!0},e.exports=t.default},function(e,t){var n=e.exports={version:"1.2.2"};"number"==typeof __e&&(__e=n)},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(2),o=n(1),i=n(4),a=n(19),u="prototype",s=function(e,t){return function(){return e.apply(t,arguments)}},c=function(e,t,n){var l,f,p,d,h=e&c.G,v=e&c.P,m=h?r:e&c.S?r[t]||(r[t]={}):(r[t]||{})[u],y=h?o:o[t]||(o[t]={});h&&(n=t);for(l in n)f=!(e&c.F)&&m&&l in m,p=(f?m:n)[l],d=e&c.B&&f?s(p,r):v&&"function"==typeof p?s(Function.call,p):p,m&&!f&&a(m,l,p),y[l]!=p&&i(y,l,d),v&&((y[u]||(y[u]={}))[l]=p)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,e.exports=c},function(e,t,n){var r=n(5),o=n(18);e.exports=n(22)?function(e,t,n){return r.setDesc(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t){var n=Object;e.exports={create:n.create,getProto:n.getPrototypeOf,isEnum:{}.propertyIsEnumerable,getDesc:n.getOwnPropertyDescriptor,setDesc:n.defineProperty,setDescs:n.defineProperties,getKeys:n.keys,getNames:n.getOwnPropertyNames,getSymbols:n.getOwnPropertySymbols,each:[].forEach}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t,n){var r=n(20)("wks"),o=n(2).Symbol;e.exports=function(e){return r[e]||(r[e]=o&&o[e]||(o||n(6))("Symbol."+e))}},function(e,t,n){n(26),e.exports=n(1).Array.some},function(e,t,n){n(25),e.exports=n(1).String.endsWith},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(10);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n(7)("match")]=!1,!"/./"[e](t)}catch(e){}}return!0}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(16),o=n(11),i=n(7)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(2),o=n(4),i=n(6)("src"),a="toString",u=Function[a],s=(""+u).split(a);n(1).inspectSource=function(e){return u.call(e)},(e.exports=function(e,t,n,a){"function"==typeof n&&(o(n,i,e[t]?""+e[t]:s.join(t+"")),"name"in n||(n.name=t)),e===r?e[t]=n:(a||delete e[t],o(e,t,n))})(Function.prototype,a,function(){return"function"==typeof this&&this[i]||u.call(this)})},function(e,t,n){var r=n(2),o="__core-js_shared__",i=r[o]||(r[o]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,n){var r=n(17),o=n(13);e.exports=function(e,t,n){if(r(t))throw TypeError("String#"+n+" doesn't accept regex!");return o(e)+""}},function(e,t,n){e.exports=!n(15)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(23),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){"use strict";var r=n(3),o=n(24),i=n(21),a="endsWith",u=""[a];r(r.P+r.F*n(14)(a),"String",{endsWith:function(e){var t=i(this,e,a),n=arguments,r=n.length>1?n[1]:void 0,s=o(t.length),c=void 0===r?s:Math.min(o(r),s),l=e+"";return u?u.call(t,l,c):t.slice(c-l.length,c)===l}})},function(e,t,n){var r=n(5),o=n(3),i=n(1).Array||Array,a={},u=function(e,t){r.each.call(e.split(","),function(e){void 0==t&&e in i?a[e]=i[e]:e in[]&&(a[e]=n(12)(Function.call,[][e],t))})};u("pop,reverse,shift,keys,values,entries",1),u("indexOf,every,some,forEach,map,filter,find,findIndex,includes",3),u("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"),o(o.S,"Array",a)}])},function(t,n){t.exports=e}])})},function(e,t){"use strict";/*! * Adapted from jQuery UI core * * http://jqueryui.com @@ -17,12 +17,13 @@ return e.preventDefault(),e.stopPropagation(),e.dataTransfer.dropEffect="copy",! * * http://api.jqueryui.com/category/ui-core/ */ -function n(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&o(e)}function r(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||"none"===e.style.display}function o(e){for(;e&&e!==document.body;){if(r(e))return!1;e=e.parentNode}return!0}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&n(e,!r)}function u(e){return[].slice.call(e.querySelectorAll("*"),0).filter(function(e){return i(e)})}e.exports=u},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0,t.connect=t.Provider=void 0;var o=n(87),i=r(o),u=n(88),a=r(u);t.Provider=i["default"],t.connect=a["default"]},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);t["default"]=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw Error(e)}catch(t){}}t.__esModule=!0,t["default"]=n},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t,n){function r(){m===y&&(m=y.slice())}function i(){return v}function a(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var t=!0;return r(),m.push(e),function(){if(t){t=!1,r();var n=m.indexOf(e);m.splice(n,1)}}}function l(e){if(!(0,u["default"])(e))throw Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(g)throw Error("Reducers may not dispatch actions.");try{g=!0,v=h(v,e)}finally{g=!1}for(var t=y=m,n=0;t.length>n;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw Error("Expected the nextReducer to be a function.");h=e,l({type:c.INIT})}function p(){var e,t=a;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[s["default"]]=function(){return this},e}var d;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw Error("Expected the reducer to be a function.");var h=e,v=t,y=[],m=y,g=!1;return l({type:c.INIT}),d={dispatch:l,subscribe:a,getState:i,replaceReducer:f},d[s["default"]]=p,d}t.__esModule=!0,t.ActionTypes=void 0,t["default"]=o;var i=n(13),u=r(i),a=n(97),s=r(a),c=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw Error(e)}catch(t){}}t.__esModule=!0,t["default"]=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(42),n(40),n(34),n(35)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var c=a(r),l=a(o),f=a(i),p=a(u),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(e,t){var r=t.type,o=t.options,i=h({},o,e);switch(r){case"document":return[(0,n.h)(l["default"],h({method:"document"},i)),(0,n.h)(f["default"],h({method:"document"},i,{autoCapture:!0}))];case"face":return(0,n.h)(f["default"],h({method:"face"},i,{autoCapture:!1}));case"welcome":return(0,n.h)(c["default"],i);case"complete":return(0,n.h)(p["default"],i);default:return(0,n.h)("div",null,'Step "',r,'" does not exist')}},y=function(e){return{type:e}},m=function(e){return"object"===(void 0===e?"undefined":d(e))},g=function(e){return m(e)?e:y(e)},b=function(e,t){return v(e,g(t))},_=function(e){var t;return(t=[]).concat.apply(t,s(e))},w=function(e,t){return _(t.map(function(t){return b(e,t)}))};t["default"]={stepsToComponents:w},e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(3),n(9),n(8),n(24),n(7),n(31),n(38)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u,a,s,c){"use strict";function l(e){return e&&e.__esModule?e:{"default":e}}function f(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function p(e){return v({unprocessedCaptures:w(e),hasUnprocessedCaptures:m(e),areAllCapturesInvalid:g(e),isThereAValidCapture:b(e),validCaptures:_(e)},e.globals)}function d(e){return{actions:(0,i.bindActionCreators)(a.unboundActions,e)}}Object.defineProperty(t,"__esModule",{value:!0});var h=(l(o),l(c)),v=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y=function(e){var t=e.websocketErrorEncountered,r=e.step,o=e.options,i=e.socket,u=f(e,["websocketErrorEncountered","step","options","socket"]),a=r||0,c=v({prevLink:"/step/"+(parseInt(a,10)-1||1)+"/",nextLink:"/step/"+(parseInt(a,10)+1||1)+"/",socket:i,step:r},u),l=function(e){return(0,s.stepsToComponents)(c,e)},p=["welcome","document","face","complete"],d=l(o.steps||p);return(0,n.h)("div",null,(0,n.h)(h["default"],{visible:t}),d[a]||(0,n.h)("div",null,"Error: Step Missing"))},m=a.selectors.hasUnprocessedCaptures,g=a.selectors.areAllCapturesInvalid,b=a.selectors.isThereAValidCapture,_=a.selectors.validCaptures,w=a.selectors.unprocessedCaptures;t["default"]=(0,u.connect)(p,d)(y),e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(3),n(93),n(46),n(9),n(7),n(22),n(11),n(18),n(12),n(36),n(5),n(47)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u,a,s,c,l,f,p,d,h){"use strict";function v(e){return e&&e.__esModule?e:{"default":e}}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var b=v(o),_=v(i),w=(v(u),v(s)),C=v(p),O=v(h),S=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),x=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(s){o=!0,i=s}finally{try{!r&&a["return"]&&a["return"]()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),T=function(e){var t=e.method,r=e.countDownRef;return(0,d.functionalSwitch)(t,{document:function(){return(0,n.h)(c.DocumentOverlay,null)},face:function(){return(0,n.h)("div",null,(0,n.h)(C["default"],{ref:r}),(0,n.h)(l.FaceOverlay,null))}})},P=function(e){var t=e.method,r=e.faceCaptureClick;return(0,d.functionalSwitch)(t,{document:function(){return(0,n.h)(c.DocumentInstructions,null)},face:function(){return(0,n.h)(l.FaceInstructions,{handeClick:r})}})},E=function(e){var t=e.onUploadFallback;return(0,n.h)(w["default"],{onDrop:function(e){var n=k(e,1),r=n[0];return t(r)},className:O["default"].uploadFallback,multiple:!1},(0,n.h)("button",null," Having problems? Click here to upload a file"))},A=function(e){var t=e.method,r=e.onUploadFallback,o=e.onUserMedia,i=e.faceCaptureClick,u=e.countDownRef,a=e.webcamRef;return(0,n.h)("div",null,(0,n.h)("div",{className:O["default"]["video-overlay"]},(0,n.h)(T,{method:t,countDownRef:u}),(0,n.h)(b["default"],x({className:O["default"].video,audio:!1},{onUserMedia:o,ref:a})),(0,n.h)(E,{onUploadFallback:r})),(0,n.h)(P,{method:t,faceCaptureClick:i}))},M=function(e){function t(){var e,r,o,i;y(this,t);for(var u=arguments.length,a=Array(u),s=0;u>s;s++)a[s]=arguments[s];return r=o=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),o.webcam=null,o.capture={start:function(){o.capture.stop(),o.interval=setInterval(function(){return o.screenshot()},1e3)},stop:function(){return clearInterval(o.interval)},once:function(){var e={useEasing:!1,useGrouping:!1},t=new _["default"](o.countdown,3,0,0,3,e);t.start(function(){return o.screenshot()})}},o.screenshot=function(){var e=o.props.onScreenshot;(0,f.canvasToBase64Images)(o.webcam.getCanvas(),e)},o.render=function(e){var t=e.method,r=e.onUserMedia,i=e.onUploadFallback;return(0,n.h)(A,{method:t,onUserMedia:r,onUploadFallback:i,faceCaptureClick:o.capture.once,countDownRef:function(e){o.countdown=e},webcamRef:function(e){o.webcam=e}})},i=r,m(o,i)}return g(t,e),S(t,[{key:"webcamMounted",value:function(){var e=this,t=this.props.autoCapture;t&&this.capture.start(),a.events.on("onBeforeClose",function(){e.capture.stop(),(0,r.route)("/",!0)})}},{key:"webcamUnmounted",value:function(){this.capture.stop()}},{key:"componentDidMount",value:function(){this.webcamMounted()}},{key:"componentWillUnmount",value:function(){this.webcamUnmounted()}}]),t}(n.Component);t["default"]=M,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(7),n(9),n(44),n(12),n(33),n(17),n(18),n(11),n(43),n(19),n(48),n(5)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u,a,s,c,l,f,p,d,h){"use strict";function v(e){return e&&e.__esModule?e:{"default":e}}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function m(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function _(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=void 0;var w=v(o),C=v(i),O=v(a),S=v(s),x=v(f),k=v(p),T=v(d),P=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},E=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),A=function(e){function t(e){g(this,t);var n=b(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onUserMedia=function(){n.setState({hasWebcam:!0,hasWebcamPermission:!0,DetectRTCLoading:!1})},n.validateCapture=function(e,t){var r=n.props,o=r.actions,i=r.method;o.validateCapture({id:e,valid:t,method:i})},n.maxAutomaticCaptures=3,n.handleMessages=function(e){var t=e.is_document;n.validateCapture(e.id,t)},n.handleImage=function(e,t){if(!e)return void console.warn("Cannot handle a null image");var r=n.createPayload(t,e);(0,h.functionalSwitch)(n.props.method,{document:function(){return n.handleDocument(r)},face:function(){return n.handleFace(r)}})},n.createPayload=function(e,t){return{id:(0,C["default"])(),messageType:n.method,image:e,imageLossy:t}},n.createSocketPayload=function(e){var t=e.id,n=e.messageType,r=e.imageLossy,o=e.documentType;return JSON.stringify({id:t,messageType:n,image:r,documentType:o})},n.onUploadFallback=function(e){n.setState({uploadFallback:!0}),n.deleteCaptures(),n.onImageFileSelected(e)},n.onImageFileSelected=function(e){(0,u.fileToBase64)(e,n.handleImage,n.handleImageError)},n.handleImageError=function(){n.setState({fileTypeError:!0})},n.deleteCaptures=function(){var e=n.props,t=e.method,r=e.actions.deleteCaptures;r({method:t})},n.errorType=function(e){var t=e.areAllCapturesInvalid,r=e.method;return n.state.fileTypeError?"INVALID_TYPE":t[r]?"INVALID_CAPTURE":null},n.state={hasWebcamPermission:!1,hasWebcam:k["default"].hasWebcam,DetectRTCLoading:!0,uploadFallback:!1},n}return _(t,e),E(t,[{key:"componentDidMount",value:function(){var e=this;r.events.on("onMessage",function(t){return e.handleMessages(t)}),this.checkWebcamSupport()}},{key:"componentWillUnmount",value:function(){this.setState({uploadFallback:!1})}},{key:"componentWillReceiveProps",value:function(e){var t=e.isThereAValidCapture,n=e.method,r=e.hasUnprocessedCaptures;t[n]&&this.setState({uploadFallback:!1}),r[n]&&this.setState({fileTypeError:!1})}},{key:"checkWebcamSupport",value:function(){var e=this;k["default"].load(function(t){e.setState({DetectRTCLoading:!1,hasWebcam:k["default"].hasWebcam})})}},{key:"supportsWebcam",value:function(){var e=k["default"].isGetUserMediaSupported&&this.state.DetectRTCLoading;return e||this.state.hasWebcam}},{key:"createCapture",value:function(e){var t=this.props,n=t.actions,r=t.method;n.createCapture({method:r,capture:e,maxCaptures:this.maxAutomaticCaptures})}},{key:"handleDocument",value:function(e){var t=this.props,n=t.socket,r=t.method,o=t.documentType,i=t.unprocessedCaptures,u=i[r];return u.length===this.maxAutomaticCaptures?void console.warn("Server response is slow, waiting for responses before uploading more"):(e=P({},e,{documentType:o}),n.sendMessage(this.createSocketPayload(e)),void this.createCapture(e))}},{key:"handleFace",value:function(e){this.createCapture(P({},e,{valid:!0}))}},{key:"render",value:function(e){var t=e.method,r=e.isThereAValidCapture,o=e.useWebcam,i=e.hasUnprocessedCaptures,u=e.areAllCapturesInvalid,a=m(e,["method","isThereAValidCapture","useWebcam","hasUnprocessedCaptures","areAllCapturesInvalid"]),s=!this.state.uploadFallback&&o&&this.supportsWebcam()&&x["default"],c=r[t];return(0,n.h)(R,P({method:t,useCapture:s,hasCaptured:c,onUserMedia:this.onUserMedia,onScreenshot:this.handleImage,onUploadFallback:this.onUploadFallback,onImageSelected:this.onImageFileSelected,uploading:i[t],error:this.errorType({areAllCapturesInvalid:u,method:t})},a))}}]),t}(n.Component);t["default"]=A;var M=function(e){var t=e.method,r=e.useCapture;return(0,h.functionalSwitch)(t,{document:function(){return(0,n.h)(l.DocumentTitle,{useCapture:r})},face:function(){return(0,n.h)(c.FaceTitle,{useCapture:r})}})},j=(0,h.impurify)(function(e){var t=e.method,r=e.useCapture,o=m(e,["method","useCapture"]);return(0,n.h)("div",null,(0,n.h)(M,{method:t,useCapture:r}),r?(0,n.h)(O["default"],P({method:t},o)):(0,n.h)(u.Uploader,P({method:t},o)))}),R=function(e){var t,r=e.method,o=e.useCapture,i=e.hasCaptured,u=m(e,["method","useCapture","hasCaptured"]);return(0,n.h)("div",{className:(0,w["default"])((t={},y(t,T["default"].camera,o&&!i),y(t,T["default"].uploader,!o&&!i),t))},i?(0,n.h)(S["default"],P({method:r},u)):(0,n.h)(j,P({method:r,useCapture:o},u)))};A.defaultProps={useWebcam:!0,method:"document"},e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(3),n(4),n(49)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i){"use strict";function u(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=u(o),s=u(i),c=function(e){var t=e.message,r=e.submessage;return(0,n.h)("div",null,(0,n.h)("div",{className:a["default"].step},(0,n.h)("span",{className:a["default"].icon+" "+s["default"].icon}),(0,n.h)("h1",{className:a["default"].title+" "+a["default"].center},t),(0,n.h)("p",{className:a["default"]["mbottom-large"]+" "+a["default"].center},r)))};c.defaultProps={message:"Verification complete",submessage:"Thank you."},t["default"]=c,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(51)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(r),u=function(){return(0,n.h)("span",{className:i["default"].countdown})};t["default"]=u,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(3),n(53)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=i(o),l=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=[{value:"identity",label:"Identity Card",icon:"icon-identity"},{value:"passport",label:"Passport",icon:"icon-passport"},{value:"license",label:"Driver's License",icon:"icon-license"}],p=function(e){function t(){var e,o,i,s;u(this,t);for(var l=arguments.length,f=Array(l),p=0;l>p;p++)f[p]=arguments[p];return o=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(f))),i.handleSelect=function(e,t){e.stopPropagation();var n=i.props,o=n.setDocumentType,u=n.nextLink;o(t),(0,r.route)(u,!1)},i.renderOption=function(e){return(0,n.h)("div",{"class":c["default"].option,onClick:function(t){return i.handleSelect(t,e.value)}},(0,n.h)("div",{"class":c["default"].icon+" "+c["default"][e.icon]}),(0,n.h)("span",null,e.label))},s=o,a(i,s)}return s(t,e),l(t,[{key:"render",value:function(){var e=this;return(0,n.h)("div",{"class":c["default"].selector},f.map(function(t){return e.renderOption(t)}))}}]),t}(n.Component);t["default"]=p,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(3),n(54)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var u=i(o),a=function(e){var t=e.visible;return(0,n.h)("div",{className:u["default"].base+" "+(t?"":u["default"].hidden)},(0,n.h)("div",null,(0,n.h)("p",null,"There was an error connecting to the server"),(0,n.h)("p",null,"Please wait and try again later")))};a.defaultProps={visible:!0},t["default"]=a,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(7),n(56),n(84),n(1),n(5)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u){"use strict";function a(e){return e&&e.__esModule?e:{"default":e}}function s(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p,d,h=a(r),v=a(o),y=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),m=(0,u.getCSSMilisecsValue)(h["default"].modal_animation_duration),g=function(e){var t=e.children;return(0,u.wrapWithClass)(h["default"].content,t)},b=function(e){var t=e.children;return(0,u.wrapWithClass)(h["default"].inner,(0,i.h)(g,null,t))},_=(d=p=function(e){function t(e){c(this,t);var r=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.openModal=function(){n.events.emit("onBeforeOpen"),r.setState({isOpen:!0})},r.onAfterOpen=function(){return n.events.emit("onOpen")},r.onRequestClose=function(){console.log("onRequestClose"),n.events.emit("onBeforeClose"),r.setState({isOpen:!1})},r.onAfterClose=function(){return n.events.emit("onClose")},r.state={isOpen:!1},r}return f(t,e),y(t,[{key:"componentDidMount",value:function(){var e=this.props.buttonId;console.log("componentDidMount",e);var t=document.getElementById(e);return t?(t.addEventListener("click",this.openModal),t.disabled=!1,void this.setState({button:t})):void console.warn("The button with id #"+e+" cannot be found")}},{key:"componentWillUnmount",value:function(){var e=this.state.button;e&&e.removeEventListener("click",this.openModal)}},{key:"render",value:function(){return(0,i.h)(v["default"],{isOpen:this.state.isOpen||this.props.isOpen,onAfterOpen:this.onAfterOpen,onRequestClose:this.onRequestClose,onAfterClose:this.onAfterClose,portalClassName:h["default"].portal,overlayClassName:h["default"].overlay,bodyClassName:h["default"].modalBody,className:h["default"].inner,shouldCloseOnOverlayClick:!0,closeTimeoutMS:m},(0,i.h)(t.WrapperContentImpure,null,this.props.children))}}]),t}(i.Component),p.WrapperContentImpure=(0,u.impurify)(g),d),w=function(e){var t=e.useModal,n=e.children,r=s(e,["useModal","children"]);return t?(0,i.h)(_,r,n):(0,i.h)(b,null,n)},C=function(e){function t(){var e,n,r,o;c(this,t);for(var u=arguments.length,a=Array(u),s=0;u>s;s++)a[s]=arguments[s];return n=r=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),r.render=function(){return(0,i.h)(w,r.props)},o=n,l(r,o)}return f(t,e),y(t,[{key:"componentDidMount",value:function(){this.props.useModal||(n.events.emit("onBeforeOpen"),n.events.emit("onOpen"))}}]),t}(i.Component);t["default"]=C,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(9),n(4),n(57),n(37),n(5)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,u,a){"use strict";function s(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var c=(s(r),s(o)),l=s(i),f=s(u),p=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(e){var t=e.actions.setDocumentType,r=e.data,o=r.renderDropdown,i=r.title,u=r.hint;return(0,n.h)("div",{className:l["default"].wrapper},(0,n.h)("div",{className:l["default"].methods+" "+c["default"].step},(0,n.h)("h1",{className:c["default"].title},i),(0,n.h)("div",null,(0,n.h)("p",{className:c["default"]["mbottom-large"]},u),o&&(0,n.h)(f["default"],p({setDocumentType:t},e)))))};d.defaultProps={data:{hint:"Select the type of document you would like to upload",title:"Verify your identity",renderDropdown:!0}},t["default"]=(0,a.impurify)(d),e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(58)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(r),u=function(){return(0,n.h)("div",{className:i["default"].loader},(0,n.h)("div",{className:i["default"].inner},(0,n.h)("div",null),(0,n.h)("div",null),(0,n.h)("div",null)))};t["default"]=u,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(1),n(3),n(4),n(60)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i){"use strict";function u(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var a=u(o),s=u(i),c=function(e){var t=e.title,o=e.descriptions,i=e.nextButton,u=e.nextLink;return(0,n.h)("div",null,(0,n.h)("div",{className:a["default"].step},(0,n.h)("h1",{className:a["default"].title},t),(0,n.h)("div",{className:s["default"]["mtop-large"]+" "+a["default"]["mbottom-large"]},o.map(function(e){return(0,n.h)("p",null,e)})),(0,n.h)(r.Link,{href:u,className:a["default"].btn+" "+a["default"]["btn-centered"]+" "+a["default"]["btn-primary"]},i)))};c.defaultProps={title:"Open your new bank account",descriptions:["To open a bank account, we will need to verify your identity.","It will only take a couple of minutes."],nextButton:"Verify Identity"},t["default"]=c,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(u,a){o=[e,t,n(19)],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n);t["default"]=!o["default"].isMobileDevice,e.exports=t["default"]})},function(e,t,n){var r,o,i;!function(n,u){o=[e,t],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return Math.random().toString(36).substring(7)};t["default"]=n,e.exports=t["default"]})},function(e,t,n){var r;!function(o){"use strict";function i(e,t,n){var r,o=document.createElement("img");if(o.onerror=function(r){return i.onerror(o,r,e,t,n)},o.onload=function(r){return i.onload(o,r,e,t,n)},i.isInstanceOf("Blob",e)||i.isInstanceOf("File",e))r=o._objectURL=i.createObjectURL(e);else{if("string"!=typeof e)return!1;r=e,n&&n.crossOrigin&&(o.crossOrigin=n.crossOrigin)}return r?(o.src=r,o):i.readFile(e,function(e){var n=e.target;n&&n.result?o.src=n.result:t&&t(e)})}function u(e,t){!e._objectURL||t&&t.noRevoke||(i.revokeObjectURL(e._objectURL),delete e._objectURL)}var a=window.createObjectURL&&window||window.URL&&URL.revokeObjectURL&&URL||window.webkitURL&&webkitURL;i.isInstanceOf=function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},i.transform=function(e,t,n,r,o){n(i.scale(e,t,o),o)},i.onerror=function(e,t,n,r,o){u(e,o),r&&r.call(e,t)},i.onload=function(e,t,n,r,o){u(e,o),r&&i.transform(e,o,r,n,{})},i.transformCoordinates=function(){},i.getTransformedOptions=function(e,t){var n,r,o,i,u=t.aspectRatio;if(!u)return t;n={};for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n.crop=!0,o=e.naturalWidth||e.width,i=e.naturalHeight||e.height,o/i>u?(n.maxWidth=i*u,n.maxHeight=i):(n.maxWidth=o,n.maxHeight=o/u),n},i.renderImageToCanvas=function(e,t,n,r,o,i,u,a,s,c){return e.getContext("2d").drawImage(t,n,r,o,i,u,a,s,c),e},i.hasCanvasOption=function(e){return e.canvas||e.crop||!!e.aspectRatio},i.scale=function(e,t,n){function r(){var e=Math.max((s||w)/w,(c||C)/C);e>1&&(w*=e,C*=e)}function o(){var e=Math.min((u||w)/w,(a||C)/C);1>e&&(w*=e,C*=e)}t=t||{};var u,a,s,c,l,f,p,d,h,v,y,m=document.createElement("canvas"),g=e.getContext||i.hasCanvasOption(t)&&m.getContext,b=e.naturalWidth||e.width,_=e.naturalHeight||e.height,w=b,C=_;if(g&&(t=i.getTransformedOptions(e,t,n),p=t.left||0,d=t.top||0,t.sourceWidth?(l=t.sourceWidth,void 0!==t.right&&void 0===t.left&&(p=b-l-t.right)):l=b-p-(t.right||0),t.sourceHeight?(f=t.sourceHeight,void 0!==t.bottom&&void 0===t.top&&(d=_-f-t.bottom)):f=_-d-(t.bottom||0),w=l,C=f),u=t.maxWidth,a=t.maxHeight,s=t.minWidth,c=t.minHeight,g&&u&&a&&t.crop?(w=u,C=a,y=l/f-u/a,0>y?(f=a*l/u,void 0===t.top&&void 0===t.bottom&&(d=(_-f)/2)):y>0&&(l=u*f/a,void 0===t.left&&void 0===t.right&&(p=(b-l)/2))):((t.contain||t.cover)&&(s=u=u||s,c=a=a||c),t.cover?(o(),r()):(r(),o())),g){if(h=t.pixelRatio,h>1&&(m.style.width=w+"px",m.style.height=C+"px",w*=h,C*=h,m.getContext("2d").scale(h,h)),v=t.downsamplingRatio,v>0&&1>v&&l>w&&f>C)for(;l*v>w;)m.width=l*v,m.height=f*v,i.renderImageToCanvas(m,e,p,d,l,f,0,0,m.width,m.height),l=m.width,f=m.height,e=document.createElement("canvas"),e.width=l,e.height=f,i.renderImageToCanvas(e,m,0,0,l,f,0,0,l,f);return m.width=w,m.height=C,i.transformCoordinates(m,t),i.renderImageToCanvas(m,e,p,d,l,f,0,0,w,C)}return e.width=w,e.height=C,e},i.createObjectURL=function(e){return!!a&&a.createObjectURL(e)},i.revokeObjectURL=function(e){return!!a&&a.revokeObjectURL(e)},i.readFile=function(e,t,n){if(window.FileReader){var r=new FileReader;if(r.onload=r.onerror=t,n=n||"readAsDataURL",r[n])return r[n](e),r}return!1},r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(window)},function(e,t,n){var r,o;!function(i,u){r=u,o="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==o&&(e.exports=o))}(this,function(e,t,n){var r=function(e,t,n,r,o,i){for(var u=0,a=["webkit","moz","ms","o"],s=0;a.length>s&&!window.requestAnimationFrame;++s)window.requestAnimationFrame=window[a[s]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[a[s]+"CancelAnimationFrame"]||window[a[s]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),r=Math.max(0,16-(n-u)),o=window.setTimeout(function(){e(n+r)},r);return u=n+r,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)});var c=this;c.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:null,formattingFn:null};for(var l in i)i.hasOwnProperty(l)&&(c.options[l]=i[l]);""===c.options.separator&&(c.options.useGrouping=!1),c.options.prefix||(c.options.prefix=""),c.options.suffix||(c.options.suffix=""),c.d="string"==typeof e?document.getElementById(e):e,c.startVal=+t,c.endVal=+n,c.countDown=c.startVal>c.endVal,c.frameVal=c.startVal,c.decimals=Math.max(0,r||0),c.dec=Math.pow(10,c.decimals),c.duration=1e3*+o||2e3,c.formatNumber=function(e){e=e.toFixed(c.decimals),e+="";var t,n,r,o;if(t=e.split("."),n=t[0],r=t.length>1?c.options.decimal+t[1]:"",o=/(\d+)(\d{3})/,c.options.useGrouping)for(;o.test(n);)n=n.replace(o,"$1"+c.options.separator+"$2");return c.options.prefix+n+r+c.options.suffix},c.easeOutExpo=function(e,t,n,r){return n*(-Math.pow(2,-10*e/r)+1)*1024/1023+t},c.easingFn=c.options.easingFn?c.options.easingFn:c.easeOutExpo, -c.formattingFn=c.options.formattingFn?c.options.formattingFn:c.formatNumber,c.version=function(){return"1.7.1"},c.printValue=function(e){var t=c.formattingFn(e);"INPUT"===c.d.tagName?this.d.value=t:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=t:this.d.innerHTML=t},c.count=function(e){c.startTime||(c.startTime=e),c.timestamp=e;var t=e-c.startTime;c.remaining=c.duration-t,c.frameVal=c.options.useEasing?c.countDown?c.startVal-c.easingFn(t,0,c.startVal-c.endVal,c.duration):c.easingFn(t,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.startVal-(c.startVal-c.endVal)*(t/c.duration):c.startVal+(c.endVal-c.startVal)*(t/c.duration),c.frameVal=c.countDown?c.endVal>c.frameVal?c.endVal:c.frameVal:c.frameVal>c.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),c.duration>t?c.rAF=requestAnimationFrame(c.count):c.callback&&c.callback()},c.start=function(e){return c.callback=e,c.rAF=requestAnimationFrame(c.count),!1},c.pauseResume=function(){c.paused?(c.paused=!1,delete c.startTime,c.duration=c.remaining,c.startVal=c.frameVal,requestAnimationFrame(c.count)):(c.paused=!0,cancelAnimationFrame(c.rAF))},c.reset=function(){c.paused=!1,delete c.startTime,c.startVal=t,cancelAnimationFrame(c.rAF),c.printValue(c.startVal)},c.update=function(e){cancelAnimationFrame(c.rAF),c.paused=!1,delete c.startTime,c.startVal=c.frameVal,c.endVal=+e,c.countDown=c.startVal>c.endVal,c.rAF=requestAnimationFrame(c.count)},c.printValue(c.startVal)};return r})},function(e,t){e.exports={"video-overlay":"onfido-sdk-ui-Camera-video-overlay",video:"onfido-sdk-ui-Camera-video",uploadFallback:"onfido-sdk-ui-Camera-uploadFallback"}},function(e,t){e.exports={camera:"onfido-sdk-ui-Capture-camera",uploader:"onfido-sdk-ui-Capture-uploader"}},function(e,t){e.exports={icon:"onfido-sdk-ui-Complete-icon"}},function(e,t){e.exports={captures:"onfido-sdk-ui-Confirm-captures",image:"onfido-sdk-ui-Confirm-image","btn-outline":"onfido-sdk-ui-Confirm-btn-outline",actions:"onfido-sdk-ui-Confirm-actions"}},function(e,t){e.exports={countdown:"onfido-sdk-ui-Countdown-countdown"}},function(e,t){e.exports={capture:"onfido-sdk-ui-Document-capture",rectangle:"onfido-sdk-ui-Document-rectangle"}},function(e,t){e.exports={option:"onfido-sdk-ui-DocumentSelector-option",icon:"onfido-sdk-ui-DocumentSelector-icon","icon-passport":"onfido-sdk-ui-DocumentSelector-icon-passport","icon-identity":"onfido-sdk-ui-DocumentSelector-icon-identity","icon-license":"onfido-sdk-ui-DocumentSelector-icon-license",selector:"onfido-sdk-ui-DocumentSelector-selector"}},function(e,t){e.exports={base:"onfido-sdk-ui-Error-base",hidden:"onfido-sdk-ui-Error-hidden"}},function(e,t){e.exports={circle:"onfido-sdk-ui-Face-circle",instructions:"onfido-sdk-ui-Face-instructions"}},function(e,t){e.exports={modal_animation_duration:"200ms",portal:"onfido-sdk-ui-Modal-portal",modalBody:"onfido-sdk-ui-Modal-modalBody",overlay:"onfido-sdk-ui-Modal-overlay","overlay--after-open":"onfido-sdk-ui-Modal-overlay--after-open","overlay--before-close":"onfido-sdk-ui-Modal-overlay--before-close",inner:"onfido-sdk-ui-Modal-inner",content:"onfido-sdk-ui-Modal-content"}},function(e,t){e.exports={methods:"onfido-sdk-ui-Select-methods",wrapper:"onfido-sdk-ui-Select-wrapper"}},function(e,t){e.exports={loader:"onfido-sdk-ui-Spinner-loader",inner:"onfido-sdk-ui-Spinner-inner","ball-scale-ripple-multiple":"onfido-sdk-ui-Spinner-ball-scale-ripple-multiple"}},function(e,t){e.exports={base:"onfido-sdk-ui-Uploader-base",text:"onfido-sdk-ui-Uploader-text",error:"onfido-sdk-ui-Uploader-error",processing:"onfido-sdk-ui-Uploader-processing",icon:"onfido-sdk-ui-Uploader-icon",dropzone:"onfido-sdk-ui-Uploader-dropzone"}},function(e,t){e.exports={"mtop-large":"onfido-sdk-ui-Welcome-mtop-large"}},function(e,t,n){var r=n(62),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){l(c.supportsWebSockets),f(c.supportsGetUserMedia)}function i(e){o();try{if(!c.supportsWebSockets)throw"WebSockets not supported";var t=new a["default"];return t.connect(e),t}catch(n){console.log(n)}}t.__esModule=!0,t["default"]=i;var u=n(65),a=r(u),s=n(15),c=n(71),l=s.actions.setWebSocketSupport,f=s.actions.setGumSupport},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(73),s=o(a),c=n(20),l=o(c),f=n(6),p=r(f),d=n(15),h=n(75),v=o(h),y=d.actions.setWebSocketError,m=d.actions.setAuthenticated,g=function(){function e(){i(this,e)}return u(e,[{key:"connect",value:function(e){var t=this,n=s["default"].stringify({jwt:e}),r=p.SOCKET_URL+"?"+n,o=new v["default"](r);o.onerror=function(e){l["default"].emit("onError"),y(!0)},o.onopen=function(){t.socket=o,t.onMessage(),m(!0)}}},{key:"onMessage",value:function(){this.socket.onmessage=function(e){var t=JSON.parse(e.data);l["default"].emit("onMessage",t)}}},{key:"sendMessage",value:function(e){this.socket.send(e)}}]),e}();t["default"]=g},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}t.__esModule=!0,t.deleteCaptures=t.confirmCapture=t.validateCapture=t.createCapture=void 0;var o=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(6),u=r(i),a=function(e){return e},s=function(e,t){return function(n){return{type:e,payload:(t||a)(n)}}};t.createCapture=s(u.CAPTURE_CREATE,function(e){return o({maxCaptures:3},e)}),t.validateCapture=s(u.CAPTURE_VALIDATE,function(e){return o({valid:!0},e)}),t.confirmCapture=s(u.CAPTURE_CONFIRM),t.deleteCaptures=s(u.CAPTURE_DELETE)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return{type:l.SET_WEBSOCKET_SUPPORT,payload:e}}function i(e){return{type:l.SET_WEBSOCKET_ERROR,payload:e}}function u(e){return{type:l.SET_DOCUMENT_TYPE,payload:e}}function a(e){return{type:l.SET_AUTHENTICATED,payload:e}}function s(e){return{type:l.SET_GUM_SUPPORT,payload:e}}t.__esModule=!0,t.setWebSocketSupport=o,t.setWebSocketError=i,t.setDocumentType=u,t.setAuthenticated=a,t.setGumSupport=s;var c=n(6),l=r(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=t.payload||{},r=n.method,o=e[r],a=function(t){return s({},e,u({},r,t))},c=h.bind(this,o,function(e){return e.id===n.id});switch(t.type){case l.CAPTURE_CREATE:var f=n.maxCaptures,p=n.capture,v=o.slice(0,f-1);return a([p].concat(i(v)));case l.CAPTURE_VALIDATE:var y=c({valid:n.valid,processed:!0});return a(y);case l.CAPTURE_CONFIRM:var m=c({confirmed:!0});return a(m);case l.CAPTURE_DELETE:return a([]);default:return d}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.captures=a;var c=n(6),l=o(c),f=n(10),p=r(f),d={document:[],face:[]},h=function(e,t,n){return e.map(function(e){return t(e)?(0,p["default"])({},e,n):e})}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t["default"]=e,t}function o(e){return e&&e.__esModule?e:{"default":e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case c.SET_AUTHENTICATED:return e=(0,a["default"])({},e,{authenticated:t.payload});case c.SET_WEBSOCKET_SUPPORT:return e=(0,a["default"])({},e,{supportsWebSockets:t.payload});case c.SET_WEBSOCKET_ERROR:return e=(0,a["default"])({},e,{websocketErrorEncountered:t.payload});case c.SET_GUM_SUPPORT:return e=(0,a["default"])({},e,{supportsGetUserMedia:t.payload});case c.SET_DOCUMENT_TYPE:return e=(0,a["default"])({},e,{documentType:t.payload});default:return e}}t.__esModule=!0,t["default"]=i;var u=n(10),a=o(u),s=n(6),c=r(s),l={authenticated:!1,supportsWebSockets:!1,supportsGetUserMedia:!1,websocketErrorEncountered:null,documentType:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}t.__esModule=!0;var o=n(8),i=n(68),u=n(69),a=r(u);t["default"]=(0,o.combineReducers)({captures:i.captures,globals:a["default"]})},function(e,t){"use strict";t.__esModule=!0,t.supportsGetUserMedia="getUserMedia"in navigator||"webkitGetUserMedia"in navigator||"mozGetUserMedia"in navigator||"msGetUserMedia"in navigator,t.supportsWebSockets="WebSocket"in window},function(e,t,n){var r;!function(o){function i(){this._events={},this._conf&&u.call(this,this._conf)}function u(e){e?(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),this._events.maxListeners=e.maxListeners!==o?e.maxListeners:p,e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this.newListener=e.newListener),this.wildcard&&(this.listenerTree={})):this._events.maxListeners=p}function a(e){console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",e),console.trace&&console.trace()}function s(e){this._events={},this.newListener=!1,u.call(this,e)}function c(e,t,n,r){if(!n)return[];var o,i,u,a,s,l,f,p=[],d=t.length,h=t[r],v=t[r+1];if(r===d&&n._listeners){if("function"==typeof n._listeners)return e&&e.push(n._listeners),[n];for(o=0,i=n._listeners.length;i>o;o++)e&&e.push(n._listeners[o]);return[n]}if("*"===h||"**"===h||n[h]){if("*"===h){for(u in n)"_listeners"!==u&&n.hasOwnProperty(u)&&(p=p.concat(c(e,t,n[u],r+1)));return p}if("**"===h){f=r+1===d||r+2===d&&"*"===v,f&&n._listeners&&(p=p.concat(c(e,t,n,d)));for(u in n)"_listeners"!==u&&n.hasOwnProperty(u)&&("*"===u||"**"===u?(n[u]._listeners&&!f&&(p=p.concat(c(e,t,n[u],d))),p=p.concat(c(e,t,n[u],r))):p=p.concat(u===v?c(e,t,n[u],r+2):c(e,t,n[u],r)));return p}p=p.concat(c(e,t,n[h],r+1))}if(a=n["*"],a&&c(e,t,a,r+1),s=n["**"])if(d>r){s._listeners&&c(e,t,s,d);for(u in s)"_listeners"!==u&&s.hasOwnProperty(u)&&(u===v?c(e,t,s[u],r+2):u===h?c(e,t,s[u],r+1):(l={},l[u]=s[u],c(e,t,{"**":l},r+1)))}else s._listeners?c(e,t,s,d):s["*"]&&s["*"]._listeners&&c(e,t,s["*"],d);return p}function l(e,t){e="string"==typeof e?e.split(this.delimiter):e.slice();for(var n=0,r=e.length;r>n+1;n++)if("**"===e[n]&&"**"===e[n+1])return;for(var i=this.listenerTree,u=e.shift();u!==o;){if(i[u]||(i[u]={}),i=i[u],0===e.length)return i._listeners?("function"==typeof i._listeners&&(i._listeners=[i._listeners]),i._listeners.push(t),!i._listeners.warned&&this._events.maxListeners>0&&i._listeners.length>this._events.maxListeners&&(i._listeners.warned=!0,a(i._listeners.length))):i._listeners=t,!0;u=e.shift()}return!0}var f=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},p=10;s.EventEmitter2=s,s.prototype.delimiter=".",s.prototype.setMaxListeners=function(e){e!==o&&(this._events||i.call(this),this._events.maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},s.prototype.event="",s.prototype.once=function(e,t){return this.many(e,1,t),this},s.prototype.many=function(e,t,n){function r(){0===--t&&o.off(e,r),n.apply(this,arguments)}var o=this;if("function"!=typeof n)throw Error("many only accepts instances of Function");return r._origin=n,this.on(e,r),o},s.prototype.emit=function(){this._events||i.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return!1;var t,n,r,o,u,a=arguments.length;if(this._all&&this._all.length){if(u=this._all.slice(),a>3)for(t=Array(a),o=0;a>o;o++)t[o]=arguments[o];for(r=0,n=u.length;n>r;r++)switch(this.event=e,a){case 1:u[r].call(this,e);break;case 2:u[r].call(this,e,arguments[1]);break;case 3:u[r].call(this,e,arguments[1],arguments[2]);break;default:u[r].apply(this,t)}}if(this.wildcard){u=[];var s="string"==typeof e?e.split(this.delimiter):e.slice();c.call(this,u,s,this.listenerTree,0)}else{if(u=this._events[e],"function"==typeof u){switch(this.event=e,a){case 1:u.call(this);break;case 2:u.call(this,arguments[1]);break;case 3:u.call(this,arguments[1],arguments[2]);break;default:for(t=Array(a-1),o=1;a>o;o++)t[o-1]=arguments[o];u.apply(this,t)}return!0}u&&(u=u.slice())}if(u&&u.length){if(a>3)for(t=Array(a-1),o=1;a>o;o++)t[o-1]=arguments[o];for(r=0,n=u.length;n>r;r++)switch(this.event=e,a){case 1:u[r].call(this);break;case 2:u[r].call(this,arguments[1]);break;case 3:u[r].call(this,arguments[1],arguments[2]);break;default:u[r].apply(this,t)}return!0}if(!this._all&&"error"===e)throw arguments[1]instanceof Error?arguments[1]:Error("Uncaught, unspecified 'error' event.");return!!this._all},s.prototype.emitAsync=function(){this._events||i.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return Promise.resolve([!1]);var t,n,r,o,u,a=[],s=arguments.length;if(this._all){if(s>3)for(t=Array(s),o=1;s>o;o++)t[o]=arguments[o];for(r=0,n=this._all.length;n>r;r++)switch(this.event=e,s){case 1:a.push(this._all[r].call(this,e));break;case 2:a.push(this._all[r].call(this,e,arguments[1]));break;case 3:a.push(this._all[r].call(this,e,arguments[1],arguments[2]));break;default:a.push(this._all[r].apply(this,t))}}if(this.wildcard){u=[];var l="string"==typeof e?e.split(this.delimiter):e.slice();c.call(this,u,l,this.listenerTree,0)}else u=this._events[e];if("function"==typeof u)switch(this.event=e,s){case 1:a.push(u.call(this));break;case 2:a.push(u.call(this,arguments[1]));break;case 3:a.push(u.call(this,arguments[1],arguments[2]));break;default:for(t=Array(s-1),o=1;s>o;o++)t[o-1]=arguments[o];a.push(u.apply(this,t))}else if(u&&u.length){if(s>3)for(t=Array(s-1),o=1;s>o;o++)t[o-1]=arguments[o];for(r=0,n=u.length;n>r;r++)switch(this.event=e,s){case 1:a.push(u[r].call(this));break;case 2:a.push(u[r].call(this,arguments[1]));break;case 3:a.push(u[r].call(this,arguments[1],arguments[2]));break;default:a.push(u[r].apply(this,t))}}else if(!this._all&&"error"===e)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(a)},s.prototype.on=function(e,t){if("function"==typeof e)return this.onAny(e),this;if("function"!=typeof t)throw Error("on only accepts instances of Function");return this._events||i.call(this),this.emit("newListener",e,t),this.wildcard?(l.call(this,e,t),this):(this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),this._events[e].push(t),!this._events[e].warned&&this._events.maxListeners>0&&this._events[e].length>this._events.maxListeners&&(this._events[e].warned=!0,a(this._events[e].length))):this._events[e]=t,this)},s.prototype.onAny=function(e){if("function"!=typeof e)throw Error("onAny only accepts instances of Function");return this._all||(this._all=[]),this._all.push(e),this},s.prototype.addListener=s.prototype.on,s.prototype.off=function(e,t){function n(e){if(e!==o){var t=Object.keys(e);for(var r in t){var i=t[r],u=e[i];u instanceof Function||"object"!=typeof u||null===u||(Object.keys(u).length>0&&n(e[i]),0===Object.keys(u).length&&delete e[i])}}}if("function"!=typeof t)throw Error("removeListener only takes instances of Function");var r,i=[];if(this.wildcard){var u="string"==typeof e?e.split(this.delimiter):e.slice();i=c.call(this,null,u,this.listenerTree,0)}else{if(!this._events[e])return this;r=this._events[e],i.push({_listeners:r})}for(var a=0;i.length>a;a++){var s=i[a];if(r=s._listeners,f(r)){for(var l=-1,p=0,d=r.length;d>p;p++)if(r[p]===t||r[p].listener&&r[p].listener===t||r[p]._origin&&r[p]._origin===t){l=p;break}if(0>l)continue;return this.wildcard?s._listeners.splice(l,1):this._events[e].splice(l,1),0===r.length&&(this.wildcard?delete s._listeners:delete this._events[e]),this.emit("removeListener",e,t),this}(r===t||r.listener&&r.listener===t||r._origin&&r._origin===t)&&(this.wildcard?delete s._listeners:delete this._events[e],this.emit("removeListener",e,t))}return n(this.listenerTree),this},s.prototype.offAny=function(e){var t,n=0,r=0;if(e&&this._all&&this._all.length>0){for(t=this._all,n=0,r=t.length;r>n;n++)if(e===t[n])return t.splice(n,1),this.emit("removeListenerAny",e),this}else{for(t=this._all,n=0,r=t.length;r>n;n++)this.emit("removeListenerAny",t[n]);this._all=[]}return this},s.prototype.removeListener=s.prototype.off,s.prototype.removeAllListeners=function(e){if(0===arguments.length)return!this._events||i.call(this),this;if(this.wildcard)for(var t="string"==typeof e?e.split(this.delimiter):e.slice(),n=c.call(this,null,t,this.listenerTree,0),r=0;n.length>r;r++){var o=n[r];o._listeners=null}else this._events&&(this._events[e]=null);return this},s.prototype.listeners=function(e){if(this.wildcard){var t=[],n="string"==typeof e?e.split(this.delimiter):e.slice();return c.call(this,t,n,this.listenerTree,0),t}return this._events||i.call(this),this._events[e]||(this._events[e]=[]),f(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},s.prototype.listenerCount=function(e){return this.listeners(e).length},s.prototype.listenersAny=function(){return this._all?this._all:[]},r=function(){return s}.call(t,n,t,e),!(r!==o&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}var o=n(74),i=n(10);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e){var t=Object.create(null);return"string"!=typeof e?t:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=n.shift(),o=n.length>0?n.join("="):void 0;r=decodeURIComponent(r),o=void 0===o?null:decodeURIComponent(o),void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}),t):t},t.stringify=function(e,t){var n={encode:!0,strict:!0};return t=i(n,t),e?Object.keys(e).sort().map(function(n){var o=e[n];if(void 0===o)return"";if(null===o)return r(n,t);if(Array.isArray(o)){var i=[];return o.slice().forEach(function(e){void 0!==e&&i.push(null===e?r(n,t):r(n,t)+"="+r(e,t))}),i.join("&")}return r(n,t)+"="+r(o,t)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){var r,o,i;!function(n,u){o=[],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(){function e(t,n,r){function o(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}var i={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};r||(r={});for(var u in i)this[u]=void 0!==r[u]?r[u]:i[u];this.url=t,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a,s=this,c=!1,l=!1,f=document.createElement("div");f.addEventListener("open",function(e){s.onopen(e)}),f.addEventListener("close",function(e){s.onclose(e)}),f.addEventListener("connecting",function(e){s.onconnecting(e)}),f.addEventListener("message",function(e){s.onmessage(e)}),f.addEventListener("error",function(e){s.onerror(e)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f),this.open=function(t){if(a=new WebSocket(s.url,n||[]),t){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(o("connecting")),this.reconnectAttempts=0;(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",s.url);var r=a,i=setTimeout(function(){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",s.url),l=!0,r.close(),l=!1},s.timeoutInterval);a.onopen=function(n){clearTimeout(i),(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",s.url),s.protocol=a.protocol,s.readyState=WebSocket.OPEN,s.reconnectAttempts=0;var r=o("open");r.isReconnect=t,t=!1,f.dispatchEvent(r)},a.onclose=function(n){if(clearTimeout(i),a=null,c)s.readyState=WebSocket.CLOSED,f.dispatchEvent(o("close"));else{s.readyState=WebSocket.CONNECTING;var r=o("connecting");r.code=n.code,r.reason=n.reason,r.wasClean=n.wasClean,f.dispatchEvent(r),t||l||((s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",s.url),f.dispatchEvent(o("close")));var i=s.reconnectInterval*Math.pow(s.reconnectDecay,s.reconnectAttempts);setTimeout(function(){s.reconnectAttempts++,s.open(!0)},i>s.maxReconnectInterval?s.maxReconnectInterval:i)}},a.onmessage=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,t.data);var n=o("message");n.data=t.data,f.dispatchEvent(n)},a.onerror=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,t),f.dispatchEvent(o("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(t){if(a)return(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,t),a.send(t);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,t){void 0===e&&(e=1e3),c=!0,a&&a.close(e,t)},this.refresh=function(){a&&a.close()}}if("WebSocket"in window)return e.prototype.onopen=function(e){},e.prototype.onclose=function(e){},e.prototype.onconnecting=function(e){},e.prototype.onmessage=function(e){},e.prototype.onerror=function(e){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){return e===t}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){for(var r=arguments.length,i=Array(r),u=0;r>u;u++)i[u]=arguments[u];return null!==n&&n.length===i.length&&i.every(function(e,r){return t(e,n[r])})||(o=e.apply(void 0,i)),n=i,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function u(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;t>o;o++)r[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),u=0;t>u;u++)o[u]=arguments[u];var a=0,s=o.pop(),c=i(o),l=e.apply(void 0,[function(){return a++,s.apply(void 0,arguments)}].concat(r)),f=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;r>i;i++)o[i-2]=arguments[i];var u=c.map(function(n){return n.apply(void 0,[e,t].concat(o))});return l.apply(void 0,n(u))};return f.resultFunc=s,f.recomputations=function(){return a},f.resetRecomputations=function(){return a=0},f}}function a(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if("object"!=typeof e)throw Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=u,t.createStructuredSelector=a;var s=t.createSelector=u(o)},function(e,t){e.exports=function(e,t){t||(t=[0,""]),e+="";var n=parseFloat(e,10);return t[0]=n,t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t}},function(e,t,n){var r,o,i;!function(n,u){o=[t,e],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){"use strict";function n(e){var t=e&&(C&&e[C]||e[O]);if("function"==typeof t)return t}function r(e){function t(t,n,r,o,i,u){if(o=o||S,u=u||r,null==n[r]){var a=_[i];return t?Error("Required "+a+" `"+u+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i,u)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function o(e){function t(t,n,r,o,i){var u=t[n],a=v(u);if(a!==e){var s=_[o],c=y(u);return Error("Invalid "+s+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function i(){return r(w.thatReturns(null))}function u(e){function t(t,n,r,o,i){var u=t[n];if(!Array.isArray(u)){var a=_[o],s=v(u);return Error("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var c=0;u.length>c;c++){var l=e(u,c,r,o,i+"["+c+"]");if(l instanceof Error)return l}return null}return r(t)}function a(){function e(e,t,n,r,o){if(!b.isValidElement(e[t])){var i=_[r];return Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a single ReactElement."))}return null}return r(e)}function s(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var u=_[o],a=e.name||S,s=m(t[n]);return Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+a+"`."))}return null}return r(t)}function c(e){function t(t,n,r,o,i){for(var u=t[n],a=0;e.length>a;a++)if(u===e[a])return null;var s=_[o],c=JSON.stringify(e);return Error("Invalid "+s+" `"+i+"` of value `"+u+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return r(Array.isArray(e)?t:function(){return Error("Invalid argument supplied to oneOf, expected an instance of array.")})}function l(e){function t(t,n,r,o,i){var u=t[n],a=v(u);if("object"!==a){var s=_[o];return Error("Invalid "+s+" `"+i+"` of type "+("`"+a+"` supplied to `"+r+"`, expected an object."))}for(var c in u)if(u.hasOwnProperty(c)){var l=e(u,c,r,o,i+"."+c);if(l instanceof Error)return l}return null}return r(t)}function f(e){function t(t,n,r,o,i){for(var u=0;e.length>u;u++){var a=e[u];if(null==a(t,n,r,o,i))return null}var s=_[o];return Error("Invalid "+s+" `"+i+"` supplied to "+("`"+r+"`."))}return r(Array.isArray(e)?t:function(){return Error("Invalid argument supplied to oneOfType, expected an instance of array.")})}function p(){function e(e,t,n,r,o){if(!h(e[t])){var i=_[r];return Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return r(e)}function d(e){function t(t,n,r,o,i){var u=t[n],a=v(u);if("object"!==a){var s=_[o];return Error("Invalid "+s+" `"+i+"` of type `"+a+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var l=e[c];if(l){var f=l(u,c,r,o,i+"."+c);if(f)return f}}return null}return r(t)}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||b.isValidElement(e))return!0;var t=n(e);if(!t)return!1;var r,o=t.call(e);if(t!==e.entries){for(;!(r=o.next()).done;)if(!h(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!h(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function y(e){var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function m(e){return e.constructor&&e.constructor.name?e.constructor.name:S}var g="function"==typeof Symbol&&Symbol["for"]&&Symbol["for"]("react.element")||60103,b={};b.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===g};var _={prop:"prop",context:"context",childContext:"child context"},w={thatReturns:function(e){return function(){return e}}},C="function"==typeof Symbol&&Symbol.iterator,O="@@iterator",S="<>",x={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:i(),arrayOf:u,element:a(),instanceOf:s,node:p(),objectOf:l,oneOf:c,oneOfType:f,shape:d};t.exports=x})},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(2),i=n(2),u=n(86),a=o.createFactory(n(80)),s=n(81),c=n(85),l=n(2).unstable_renderSubtreeIntoContainer,f=u.canUseDOM?window.HTMLElement:{},p=u.canUseDOM?document.body:{appendChild:function(){}},d=o.createClass({displayName:"Modal",statics:{setAppElement:function(e){p=s.setElement(e)},injectCSS:function(){}},propTypes:{isOpen:o.PropTypes.bool.isRequired,style:o.PropTypes.shape({content:o.PropTypes.object,overlay:o.PropTypes.object}),portalClassName:o.PropTypes.string,bodyClassName:o.PropTypes.string,appElement:o.PropTypes.instanceOf(f),onAfterOpen:o.PropTypes.func,onRequestClose:o.PropTypes.func,closeTimeoutMS:o.PropTypes.number,ariaHideApp:o.PropTypes.bool,shouldCloseOnOverlayClick:o.PropTypes.bool},getDefaultProps:function(){return{isOpen:!1,portalClassName:"ReactModalPortal",bodyClassName:"ReactModal__Body",ariaHideApp:!0,closeTimeoutMS:0,shouldCloseOnOverlayClick:!0}},componentDidMount:function(){this.node=document.createElement("div"),this.node.className=this.props.portalClassName,document.body.appendChild(this.node),this.renderPortal(this.props)},componentWillReceiveProps:function(e){this.renderPortal(e)},componentWillUnmount:function(){i.unmountComponentAtNode(this.node),document.body.removeChild(this.node),c(document.body).remove(this.openBodyClass())},openBodyClass:function(){return this.props.bodyClassName+"--open"},renderPortal:function(e){e.isOpen?c(document.body).add(this.openBodyClass()):c(document.body).remove(this.openBodyClass()),e.ariaHideApp&&s.toggle(e.isOpen,e.appElement),this.portal=l(this,a(r({},e,{defaultStyles:d.defaultStyles})),this.node)},render:function(){return o.DOM.noscript()}});d.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},e.exports=d},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(2),i=o.DOM.div,u=n(82),a=n(83),s=function(){},c={onAfterClose:s,style:{overlay:{},content:{}},overlayClassName:"ReactModal__Overlay",className:"ReactModal__Content"};e.exports=o.createClass({displayName:"ModalPortal",shouldClose:null,getDefaultProps:function(){return c},getInitialState:function(){return{afterOpen:!1,beforeClose:!1}},componentDidMount:function(){this.props.isOpen&&(this.setFocusAfterRender(!0),this.open())},componentWillUnmount:function(){clearTimeout(this.closeTimer)},componentWillReceiveProps:function(e){!this.props.isOpen&&e.isOpen?(this.setFocusAfterRender(!0),this.open()):this.props.isOpen&&!e.isOpen&&this.close()},componentDidUpdate:function(){this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1)); -},setFocusAfterRender:function(e){this.focusAfterRender=e},open:function(){this.state.afterOpen&&this.state.beforeClose?(clearTimeout(this.closeTimer),this.setState({beforeClose:!1})):(u.setupScopedFocus(this.node),u.markForFocusLater(),this.setState({isOpen:!0},function(){this.setState({afterOpen:!0}),this.props.isOpen&&this.props.onAfterOpen&&this.props.onAfterOpen()}.bind(this)))},close:function(){this.ownerHandlesClose()&&(this.props.closeTimeoutMS>0?this.closeWithTimeout():this.closeWithoutTimeout())},focusContent:function(){this.contentHasFocus()||this.refs.content.focus()},closeWithTimeout:function(){this.setState({beforeClose:!0},function(){this.closeTimer=setTimeout(this.closeWithoutTimeout,this.props.closeTimeoutMS)}.bind(this))},closeWithoutTimeout:function(){this.setState({beforeClose:!1,isOpen:!1,afterOpen:!1},this.afterClose)},afterClose:function(){u.returnFocus(),u.teardownScopedFocus(),this.props.onAfterClose()},handleKeyDown:function(e){9==e.keyCode&&a(this.refs.content,e),27==e.keyCode&&(e.preventDefault(),this.requestClose(e))},handleOverlayMouseDown:function(e){null===this.shouldClose&&(this.shouldClose=!0)},handleOverlayMouseUp:function(e){this.shouldClose&&this.props.shouldCloseOnOverlayClick&&(this.ownerHandlesClose()?this.requestClose(e):this.focusContent()),this.shouldClose=null},handleContentMouseDown:function(e){this.shouldClose=!1},handleContentMouseUp:function(e){this.shouldClose=!1},requestClose:function(e){this.ownerHandlesClose()&&this.props.onRequestClose(e)},ownerHandlesClose:function(){return this.props.onRequestClose},shouldBeClosed:function(){return!this.props.isOpen&&!this.state.beforeClose},contentHasFocus:function(){return document.activeElement===this.refs.content||this.refs.content.contains(document.activeElement)},buildClassName:function(e){var t=e+" ";return this.state.afterOpen&&(t+=e+"--after-open"),this.state.beforeClose&&(t+=e+"--before-close"),t},getPropInlineStyle:function(e,t){var n=e?this.props.defaultStyles[t]:{},o=this.props.style[t]||{};return r({},n,o)},isPropEqualToDefault:function(e){return this.props[e]===c[e]},render:function(){var e=this.getPropInlineStyle(this.isPropEqualToDefault("className"),"content"),t=this.getPropInlineStyle(this.isPropEqualToDefault("overlayClassName"),"overlay");return this.shouldBeClosed()?i():i({ref:"overlay",className:this.buildClassName(this.props.overlayClassName),style:t,onMouseDown:this.handleOverlayMouseDown,onMouseUp:this.handleOverlayMouseUp},i({ref:"content",style:e,className:this.buildClassName(this.props.className),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentMouseDown,onMouseUp:this.handleContentMouseUp,role:"dialog"},this.props.children))}})},function(e,t){"use strict";function n(e){if("string"==typeof e){var t=document.querySelectorAll(e);e="length"in t?t[0]:t}return s=e||s}function r(e){u(e),(e||s).setAttribute("aria-hidden","true")}function o(e){u(e),(e||s).removeAttribute("aria-hidden")}function i(e,t){e?r(t):o(t)}function u(e){if(!e&&!s)throw Error("react-modal: You must set an element with `Modal.setAppElement(el)` to make this accessible")}function a(){s=document.body}var s="undefined"!=typeof document?document.body:null;t.toggle=i,t.setElement=n,t.show=o,t.hide=r,t.resetForTesting=a},function(e,t,n){"use strict";function r(e){s=!0}function o(e){if(s){if(s=!1,!u)return;setTimeout(function(){if(!u.contains(document.activeElement)){var e=i(u)[0]||u;e.focus()}},0)}}var i=n(23),u=null,a=null,s=!1;t.markForFocusLater=function(){a=document.activeElement},t.returnFocus=function(){try{a.focus()}catch(e){console.warn("You tried to return focus to "+a+" but it is not in the DOM anymore")}a=null},t.setupScopedFocus=function(e){u=e,window.addEventListener?(window.addEventListener("blur",r,!1),document.addEventListener("focus",o,!0)):(window.attachEvent("onBlur",r),document.attachEvent("onFocus",o))},t.teardownScopedFocus=function(){u=null,window.addEventListener?(window.removeEventListener("blur",r),document.removeEventListener("focus",o)):(window.detachEvent("onBlur",r),document.detachEvent("onFocus",o))}},function(e,t,n){"use strict";var r=n(23);e.exports=function(e,t){var n=r(e);if(!n.length)return void t.preventDefault();var o=n[t.shiftKey?0:n.length-1],i=o===document.activeElement||e===document.activeElement;if(i){t.preventDefault();var u=n[t.shiftKey?n.length-1:0];u.focus()}}},function(e,t,n){"use strict";e.exports=n(79)},function(e,t){function n(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function r(e){return this instanceof r?(e||(e={}),e.nodeType&&(e={el:e}),this.opts=e,this.el=e.el||document.body,"object"!=typeof this.el&&(this.el=document.querySelector(this.el)),void 0):new r(e)}e.exports=function(e){return new r(e)},r.prototype.add=function(e){var t=this.el;if(t){if(""===t.className)return t.className=e;var r=t.className.split(" ");return n(r,e)>-1?r:(r.push(e),t.className=r.join(" "),r)}},r.prototype.remove=function(e){var t=this.el;if(t&&""!==t.className){var r=t.className.split(" "),o=n(r,e);return o>-1&&r.splice(o,1),t.className=r.join(" "),r}},r.prototype.has=function(e){var t=this.el;if(t){var r=t.className.split(" ");return n(r,e)>-1}},r.prototype.toggle=function(e){var t=this.el;t&&(this.has(e)?this.remove(e):this.add(e))}},function(e,t,n){var r;/*! +function n(e,t){var n=e.nodeName.toLowerCase();return(/input|select|textarea|button|object/.test(n)?!e.disabled:"a"===n?e.href||t:t)&&o(e)}function r(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||"none"===e.style.display}function o(e){for(;e&&e!==document.body;){if(r(e))return!1;e=e.parentNode}return!0}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var r=isNaN(t);return(r||t>=0)&&n(e,!r)}function a(e){return[].slice.call(e.querySelectorAll("*"),0).filter(function(e){return i(e)})}e.exports=a},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.connect=t.Provider=void 0;var o=n(101),i=r(o),a=n(102),u=r(a);t.Provider=i.default,t.connect=u.default},function(e,t,n){"use strict";t.__esModule=!0;var r=n(2);t.default=r.PropTypes.shape({subscribe:r.PropTypes.func.isRequired,dispatch:r.PropTypes.func.isRequired,getState:r.PropTypes.func.isRequired})},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t){"use strict";function n(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];if(0===t.length)return function(e){return e};if(1===t.length)return t[0];var r=t[t.length-1],o=t.slice(0,-1);return function(){return o.reduceRight(function(e,t){return t(e)},r.apply(void 0,arguments))}}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){function r(){y===m&&(y=m.slice())}function i(){return v}function u(e){if("function"!=typeof e)throw Error("Expected listener to be a function.");var t=!0;return r(),y.push(e),function(){if(t){t=!1,r();var n=y.indexOf(e);y.splice(n,1)}}}function l(e){if(!(0,a.default)(e))throw Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(g)throw Error("Reducers may not dispatch actions.");try{g=!0,v=h(v,e)}finally{g=!1}for(var t=m=y,n=0;t.length>n;n++)t[n]();return e}function f(e){if("function"!=typeof e)throw Error("Expected the nextReducer to be a function.");h=e,l({type:c.INIT})}function p(){var e,t=u;return e={subscribe:function(e){function n(){e.next&&e.next(i())}if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");n();var r=t(n);return{unsubscribe:r}}},e[s.default]=function(){return this},e}var d;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw Error("Expected the enhancer to be a function.");return n(o)(e,t)}if("function"!=typeof e)throw Error("Expected the reducer to be a function.");var h=e,v=t,m=[],y=m,g=!1;return l({type:c.INIT}),d={dispatch:l,subscribe:u,getState:i,replaceReducer:f},d[s.default]=p,d}t.__esModule=!0,t.ActionTypes=void 0,t.default=o;var i=n(13),a=r(i),u=n(111),s=r(u),c=t.ActionTypes={INIT:"@@redux/INIT"}},function(e,t){"use strict";function n(e){"undefined"!=typeof console&&"function"==typeof console.error&&console.error(e);try{throw Error(e)}catch(e){}}t.__esModule=!0,t.default=n},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children=[],e.webpackPolyfill=1),e}},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(90),n(115)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n),i=o.default.config("https://6e3dc0335efc49889187ec90288a84fd@sentry.io/109946"),a="onfidojssdkwoopra",u=new window.WoopraTracker(a),s=function(){u.init(),u.config({domain:"onfido-js-sdk.com",cookie_name:"onfido-js-sdk-woopra",cookie_domain:location.hostname,referer:location.href}),o.default.TraceKit.collectWindowErrors=!0},c=function(){u.track(),i.install()};t.default={setUp:s,track:c},e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(44),n(42),n(36),n(37)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}function s(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}Object.defineProperty(t,"__esModule",{value:!0});var c=u(r),l=u(o),f=u(i),p=u(a),d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},v=function(e,t){var r=t.type,o=t.options,i=h({},o,e);switch(r){case"document":return[(0,n.h)(l.default,h({method:"document"},i)),(0,n.h)(f.default,h({method:"document"},i,{autoCapture:!0}))];case"face":return(0,n.h)(f.default,h({method:"face"},i,{autoCapture:!1}));case"welcome":return(0,n.h)(c.default,i);case"complete":return(0,n.h)(p.default,i);default:return(0,n.h)("div",null,'Step "',r,'" does not exist')}},m=function(e){return{type:e}},y=function(e){return"object"===(void 0===e?"undefined":d(e))},g=function(e){return y(e)?e:m(e)},_=function(e,t){return v(e,g(t))},b=function(e){var t;return(t=[]).concat.apply(t,s(e))},w=function(e,t){return b(t.map(function(t){return _(e,t)}))};t.default={stepsToComponents:w},e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(9),n(8),n(25),n(7),n(33),n(40)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c){"use strict";function l(e){return e&&e.__esModule?e:{default:e}}function f(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function p(e){return v({unprocessedCaptures:w(e),hasUnprocessedCaptures:y(e),areAllCapturesInvalid:g(e),isThereAValidCapture:_(e),validCaptures:b(e)},e.globals)}function d(e){return{actions:(0,i.bindActionCreators)(u.unboundActions,e)}}Object.defineProperty(t,"__esModule",{value:!0});var h=(l(o),l(c)),v=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(e){var t=e.websocketErrorEncountered,r=e.step,o=e.options,i=e.socket,a=f(e,["websocketErrorEncountered","step","options","socket"]),u=r||0,c=v({prevLink:"/step/"+(parseInt(u,10)-1||1)+"/",nextLink:"/step/"+(parseInt(u,10)+1||1)+"/",socket:i,step:r},a),l=function(e){return(0,s.stepsToComponents)(c,e)},p=["welcome","document","face","complete"],d=l(o.steps||p);return(0,n.h)("div",null,(0,n.h)(h.default,{visible:t}),d[u]||(0,n.h)("div",null,"Error: Step Missing"))},y=u.selectors.hasUnprocessedCaptures,g=u.selectors.areAllCapturesInvalid,_=u.selectors.isThereAValidCapture,b=u.selectors.validCaptures,w=u.selectors.unprocessedCaptures;t.default=(0,a.connect)(p,d)(m),e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(107),n(48),n(9),n(7),n(23),n(11),n(18),n(12),n(38),n(5),n(49)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c,l,f,p,d,h){"use strict";function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function y(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function g(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var _=v(o),b=v(i),w=(v(a),v(s)),k=v(p),x=v(h),C=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),S=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O=function(){function e(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,u=e[Symbol.iterator]();!(r=(a=u.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&u.return&&u.return()}finally{if(o)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),E=function(e){var t=e.method,r=e.countDownRef;return(0,d.functionalSwitch)(t,{document:function(){return(0,n.h)(c.DocumentOverlay,null)},face:function(){return(0,n.h)("div",null,(0,n.h)(k.default,{ref:r}),(0,n.h)(l.FaceOverlay,null))}})},T=function(e){var t=e.method,r=e.faceCaptureClick;return(0,d.functionalSwitch)(t,{document:function(){return(0,n.h)(c.DocumentInstructions,null)},face:function(){return(0,n.h)(l.FaceInstructions,{handeClick:r})}})},P=function(e){var t=e.onUploadFallback;return(0,n.h)(w.default,{onDrop:function(e){var n=O(e,1),r=n[0];return t(r)},className:x.default.uploadFallback,multiple:!1},(0,n.h)("button",null," Having problems? Click here to upload a file"))},A=function(e){var t=e.method,r=e.onUploadFallback,o=e.onUserMedia,i=e.faceCaptureClick,a=e.countDownRef,u=e.webcamRef;return(0,n.h)("div",null,(0,n.h)("div",{className:x.default["video-overlay"]},(0,n.h)(E,{method:t,countDownRef:a}),(0,n.h)(_.default,S({className:x.default.video,audio:!1},{onUserMedia:o,ref:u})),(0,n.h)(P,{onUploadFallback:r})),(0,n.h)(T,{method:t,faceCaptureClick:i}))},j=function(e){function t(){var e,r,o,i;m(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return r=o=y(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),o.webcam=null,o.capture={start:function(){o.capture.stop(),o.interval=setInterval(function(){return o.screenshot()},1e3)},stop:function(){return clearInterval(o.interval)},once:function(){var e={useEasing:!1,useGrouping:!1},t=new b.default(o.countdown,3,0,0,3,e);t.start(function(){return o.screenshot()})}},o.screenshot=function(){var e=o.props.onScreenshot;(0,f.canvasToBase64Images)(o.webcam.getCanvas(),e)},o.render=function(e){var t=e.method,r=e.onUserMedia,i=e.onUploadFallback;return(0,n.h)(A,{method:t,onUserMedia:r,onUploadFallback:i,faceCaptureClick:o.capture.once,countDownRef:function(e){o.countdown=e},webcamRef:function(e){o.webcam=e}})},i=r,y(o,i)}return g(t,e),C(t,[{key:"webcamMounted",value:function(){var e=this,t=this.props.autoCapture;t&&this.capture.start(),u.events.on("onBeforeClose",function(){e.capture.stop(),(0,r.route)("/",!0)})}},{key:"webcamUnmounted",value:function(){this.capture.stop()}},{key:"componentDidMount",value:function(){this.webcamMounted()}},{key:"componentWillUnmount",value:function(){this.webcamUnmounted()}}]),t}(n.Component);t.default=j,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(7),n(9),n(46),n(12),n(35),n(17),n(18),n(11),n(45),n(19),n(50),n(5)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u,s,c,l,f,p,d,h){"use strict";function v(e){return e&&e.__esModule?e:{default:e}}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function y(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var w=v(o),k=v(i),x=v(u),C=v(s),S=v(f),O=v(p),E=v(d),T=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),A=function(e){function t(e){g(this,t);var n=_(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onUserMedia=function(){n.setState({hasWebcam:!0,hasWebcamPermission:!0,DetectRTCLoading:!1})},n.validateCapture=function(e,t){var r=n.props,o=r.actions,i=r.method;o.validateCapture({id:e,valid:t,method:i})},n.maxAutomaticCaptures=3,n.handleMessages=function(e){var t=e.is_document;n.validateCapture(e.id,t)},n.handleImage=function(e,t){if(!e)return void console.warn("Cannot handle a null image");var r=n.createPayload(t,e);(0,h.functionalSwitch)(n.props.method,{document:function(){return n.handleDocument(r)},face:function(){return n.handleFace(r)}})},n.createPayload=function(e,t){return{id:(0,k.default)(),messageType:n.method,image:e,imageLossy:t}},n.createSocketPayload=function(e){var t=e.id,n=e.messageType,r=e.imageLossy,o=e.documentType;return JSON.stringify({id:t,messageType:n,image:r,documentType:o})},n.onUploadFallback=function(e){n.setState({uploadFallback:!0}),n.deleteCaptures(),n.onImageFileSelected(e)},n.onImageFileSelected=function(e){(0,a.fileToBase64)(e,n.handleImage,n.handleImageError)},n.handleImageError=function(){n.setState({fileTypeError:!0})},n.deleteCaptures=function(){var e=n.props,t=e.method,r=e.actions.deleteCaptures;r({method:t})},n.errorType=function(e){var t=e.areAllCapturesInvalid,r=e.method;return n.state.fileTypeError?"INVALID_TYPE":t[r]?"INVALID_CAPTURE":null},n.state={hasWebcamPermission:!1,hasWebcam:O.default.hasWebcam,DetectRTCLoading:!0,uploadFallback:!1},n}return b(t,e),P(t,[{key:"componentDidMount",value:function(){var e=this;r.events.on("onMessage",function(t){return e.handleMessages(t)}),this.checkWebcamSupport()}},{key:"componentWillUnmount",value:function(){this.setState({uploadFallback:!1})}},{key:"componentWillReceiveProps",value:function(e){var t=e.isThereAValidCapture,n=e.method,r=e.hasUnprocessedCaptures;t[n]&&this.setState({uploadFallback:!1}),r[n]&&this.setState({fileTypeError:!1})}},{key:"checkWebcamSupport",value:function(){var e=this;O.default.load(function(t){e.setState({DetectRTCLoading:!1,hasWebcam:O.default.hasWebcam})})}},{key:"supportsWebcam",value:function(){var e=O.default.isGetUserMediaSupported&&this.state.DetectRTCLoading;return e||this.state.hasWebcam}},{key:"createCapture",value:function(e){var t=this.props,n=t.actions,r=t.method;n.createCapture({method:r,capture:e,maxCaptures:this.maxAutomaticCaptures})}},{key:"handleDocument",value:function(e){var t=this.props,n=t.socket,r=t.method,o=t.documentType,i=t.unprocessedCaptures,a=i[r];return a.length===this.maxAutomaticCaptures?void console.warn("Server response is slow, waiting for responses before uploading more"):(e=T({},e,{documentType:o}),n.sendMessage(this.createSocketPayload(e)),void this.createCapture(e))}},{key:"handleFace",value:function(e){this.createCapture(T({},e,{valid:!0}))}},{key:"render",value:function(e){var t=e.method,r=e.isThereAValidCapture,o=e.useWebcam,i=e.hasUnprocessedCaptures,a=e.areAllCapturesInvalid,u=y(e,["method","isThereAValidCapture","useWebcam","hasUnprocessedCaptures","areAllCapturesInvalid"]),s=!this.state.uploadFallback&&o&&this.supportsWebcam()&&S.default,c=r[t];return(0,n.h)(R,T({method:t,useCapture:s,hasCaptured:c,onUserMedia:this.onUserMedia,onScreenshot:this.handleImage,onUploadFallback:this.onUploadFallback,onImageSelected:this.onImageFileSelected,uploading:i[t],error:this.errorType({areAllCapturesInvalid:a,method:t})},u))}}]),t}(n.Component);t.default=A;var j=function(e){var t=e.method,r=e.useCapture;return(0,h.functionalSwitch)(t,{document:function(){return(0,n.h)(l.DocumentTitle,{useCapture:r})},face:function(){return(0,n.h)(c.FaceTitle,{useCapture:r})}})},M=(0,h.impurify)(function(e){var t=e.method,r=e.useCapture,o=y(e,["method","useCapture"]);return(0,n.h)("div",null,(0,n.h)(j,{method:t,useCapture:r}),r?(0,n.h)(x.default,T({method:t},o)):(0,n.h)(a.Uploader,T({method:t},o)))}),R=function(e){var t,r=e.method,o=e.useCapture,i=e.hasCaptured,a=y(e,["method","useCapture","hasCaptured"]);return(0,n.h)("div",{className:(0,w.default)((t={},m(t,E.default.camera,o&&!i),m(t,E.default.uploader,!o&&!i),t))},i?(0,n.h)(C.default,T({method:r},a)):(0,n.h)(M,T({method:r,useCapture:o},a)))};A.defaultProps={useWebcam:!0,method:"document"},e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(4),n(51)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=a(o),s=a(i),c=function(e){var t=e.message,r=e.submessage;return(0,n.h)("div",null,(0,n.h)("div",{className:u.default.step},(0,n.h)("span",{className:u.default.icon+" "+s.default.icon}),(0,n.h)("h1",{className:u.default.title+" "+u.default.center},t),(0,n.h)("p",{className:u.default["mbottom-large"]+" "+u.default.center},r)))};c.defaultProps={message:"Verification complete",submessage:"Thank you."},t.default=c,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(53)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(r),a=function(){return(0,n.h)("span",{className:i.default.countdown})};t.default=a,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(55)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var c=i(o),l=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),f=[{value:"identity",label:"Identity Card",icon:"icon-identity"},{value:"passport",label:"Passport",icon:"icon-passport"},{value:"license",label:"Driver's License",icon:"icon-license"}],p=function(e){function t(){var e,o,i,s;a(this,t);for(var l=arguments.length,f=Array(l),p=0;l>p;p++)f[p]=arguments[p];return o=i=u(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(f))),i.handleSelect=function(e,t){e.stopPropagation();var n=i.props,o=n.setDocumentType,a=n.nextLink;o(t),(0,r.route)(a,!1)},i.renderOption=function(e){return(0,n.h)("div",{class:c.default.option,onClick:function(t){return i.handleSelect(t,e.value)}},(0,n.h)("div",{class:c.default.icon+" "+c.default[e.icon]}),(0,n.h)("span",null,e.label))},s=o,u(i,s)}return s(t,e),l(t,[{key:"render",value:function(){var e=this;return(0,n.h)("div",{class:c.default.selector},f.map(function(t){return e.renderOption(t)}))}}]),t}(n.Component);t.default=p,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(56)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var a=i(o),u=function(e){var t=e.visible;return(0,n.h)("div",{className:a.default.base+" "+(t?"":a.default.hidden)},(0,n.h)("div",null,(0,n.h)("p",null,"There was an error connecting to the server"),(0,n.h)("p",null,"Please wait and try again later")))};u.defaultProps={visible:!0},t.default=u,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(7),n(58),n(98),n(1),n(5)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a){"use strict";function u(e){return e&&e.__esModule?e:{default:e}}function s(e,t){var n={};for(var r in e)t.indexOf(r)<0&&Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var p,d,h=u(r),v=u(o),m=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),y=(0,a.getCSSMilisecsValue)(h.default.modal_animation_duration),g=function(e){var t=e.children;return(0,a.wrapWithClass)(h.default.content,t)},_=function(e){var t=e.children;return(0,a.wrapWithClass)(h.default.inner,(0,i.h)(g,null,t))},b=(d=p=function(e){function t(e){c(this,t);var r=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.openModal=function(){n.events.emit("onBeforeOpen"),r.setState({isOpen:!0})},r.onAfterOpen=function(){return n.events.emit("onOpen")},r.onRequestClose=function(){console.log("onRequestClose"),n.events.emit("onBeforeClose"),r.setState({isOpen:!1})},r.onAfterClose=function(){return n.events.emit("onClose")},r.state={isOpen:!1},r}return f(t,e),m(t,[{key:"componentDidMount",value:function(){var e=this.props.buttonId;console.log("componentDidMount",e);var t=document.getElementById(e);return t?(t.addEventListener("click",this.openModal),t.disabled=!1,void this.setState({button:t})):void console.warn("The button with id #"+e+" cannot be found")}},{key:"componentWillUnmount",value:function(){var e=this.state.button;e&&e.removeEventListener("click",this.openModal)}},{key:"render",value:function(){return(0,i.h)(v.default,{isOpen:this.state.isOpen||this.props.isOpen,onAfterOpen:this.onAfterOpen,onRequestClose:this.onRequestClose,onAfterClose:this.onAfterClose,portalClassName:h.default.portal,overlayClassName:h.default.overlay,bodyClassName:h.default.modalBody,className:h.default.inner,shouldCloseOnOverlayClick:!0,closeTimeoutMS:y},(0,i.h)(t.WrapperContentImpure,null,this.props.children))}}]),t}(i.Component),p.WrapperContentImpure=(0,a.impurify)(g),d),w=function(e){var t=e.useModal,n=e.children,r=s(e,["useModal","children"]);return t?(0,i.h)(b,r,n):(0,i.h)(_,null,n)},k=function(e){function t(){var e,n,r,o;c(this,t);for(var a=arguments.length,u=Array(a),s=0;a>s;s++)u[s]=arguments[s];return n=r=l(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(u))),r.render=function(){return(0,i.h)(w,r.props)},o=n,l(r,o)}return f(t,e),m(t,[{key:"componentDidMount",value:function(){this.props.useModal||(n.events.emit("onBeforeOpen"),n.events.emit("onOpen"))}}]),t}(i.Component);t.default=k,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(9),n(4),n(59),n(39),n(5)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i,a,u){"use strict";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var c=(s(r),s(o)),l=s(i),f=s(a),p=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},d=function(e){var t=e.actions.setDocumentType,r=e.data,o=r.renderDropdown,i=r.title,a=r.hint;return(0,n.h)("div",{className:l.default.wrapper},(0,n.h)("div",{className:l.default.methods+" "+c.default.step},(0,n.h)("h1",{className:c.default.title},i),(0,n.h)("div",null,(0,n.h)("p",{className:c.default["mbottom-large"]},a),o&&(0,n.h)(f.default,p({setDocumentType:t},e)))))};d.defaultProps={data:{hint:"Select the type of document you would like to upload",title:"Verify your identity",renderDropdown:!0}},t.default=(0,u.impurify)(d),e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(60)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=o(r),a=function(){return(0,n.h)("div",{className:i.default.loader},(0,n.h)("div",{className:i.default.inner},(0,n.h)("div",null),(0,n.h)("div",null),(0,n.h)("div",null)))};t.default=a,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(1),n(3),n(4),n(62)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n,r,o,i){"use strict";function a(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var u=a(o),s=a(i),c=function(e){var t=e.title,o=e.descriptions,i=e.nextButton,a=e.nextLink;return(0,n.h)("div",null,(0,n.h)("div",{className:u.default.step},(0,n.h)("h1",{className:u.default.title},t),(0,n.h)("div",{className:s.default["mtop-large"]+" "+u.default["mbottom-large"]},o.map(function(e){return(0,n.h)("p",null,e)})),(0,n.h)(r.Link,{href:a,className:u.default.btn+" "+u.default["btn-centered"]+" "+u.default["btn-primary"]},i)))};c.defaultProps={title:"Open your new bank account",descriptions:["To open a bank account, we will need to verify your identity.","It will only take a couple of minutes."],nextButton:"Verify Identity"},t.default=c,e.exports=t.default})},function(e,t,n){var r,o,i;!function(a,u){o=[e,t,n(19)],r=u,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var o=r(n);t.default=!o.default.isMobileDevice,e.exports=t.default})},function(e,t,n){var r,o,i;!function(n,a){o=[e,t],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){return Math.random().toString(36).substring(7)};t.default=n,e.exports=t.default})},function(e,t,n){var r;!function(o){"use strict";function i(e,t,n){var r,o=document.createElement("img");if(o.onerror=function(r){return i.onerror(o,r,e,t,n)},o.onload=function(r){return i.onload(o,r,e,t,n)},i.isInstanceOf("Blob",e)||i.isInstanceOf("File",e))r=o._objectURL=i.createObjectURL(e);else{if("string"!=typeof e)return!1;r=e,n&&n.crossOrigin&&(o.crossOrigin=n.crossOrigin)}return r?(o.src=r,o):i.readFile(e,function(e){var n=e.target;n&&n.result?o.src=n.result:t&&t(e)})}function a(e,t){!e._objectURL||t&&t.noRevoke||(i.revokeObjectURL(e._objectURL),delete e._objectURL)}var u=window.createObjectURL&&window||window.URL&&URL.revokeObjectURL&&URL||window.webkitURL&&webkitURL;i.isInstanceOf=function(e,t){return Object.prototype.toString.call(t)==="[object "+e+"]"},i.transform=function(e,t,n,r,o){n(i.scale(e,t,o),o)},i.onerror=function(e,t,n,r,o){a(e,o),r&&r.call(e,t)},i.onload=function(e,t,n,r,o){a(e,o),r&&i.transform(e,o,r,n,{})},i.transformCoordinates=function(){},i.getTransformedOptions=function(e,t){var n,r,o,i,a=t.aspectRatio;if(!a)return t;n={};for(r in t)t.hasOwnProperty(r)&&(n[r]=t[r]);return n.crop=!0,o=e.naturalWidth||e.width,i=e.naturalHeight||e.height,o/i>a?(n.maxWidth=i*a,n.maxHeight=i):(n.maxWidth=o,n.maxHeight=o/a),n},i.renderImageToCanvas=function(e,t,n,r,o,i,a,u,s,c){return e.getContext("2d").drawImage(t,n,r,o,i,a,u,s,c),e},i.hasCanvasOption=function(e){return e.canvas||e.crop||!!e.aspectRatio},i.scale=function(e,t,n){function r(){var e=Math.max((s||w)/w,(c||k)/k);e>1&&(w*=e,k*=e)}function o(){var e=Math.min((a||w)/w,(u||k)/k);1>e&&(w*=e,k*=e)}t=t||{};var a,u,s,c,l,f,p,d,h,v,m,y=document.createElement("canvas"),g=e.getContext||i.hasCanvasOption(t)&&y.getContext,_=e.naturalWidth||e.width,b=e.naturalHeight||e.height,w=_,k=b;if(g&&(t=i.getTransformedOptions(e,t,n),p=t.left||0,d=t.top||0,t.sourceWidth?(l=t.sourceWidth,void 0!==t.right&&void 0===t.left&&(p=_-l-t.right)):l=_-p-(t.right||0),t.sourceHeight?(f=t.sourceHeight,void 0!==t.bottom&&void 0===t.top&&(d=b-f-t.bottom)):f=b-d-(t.bottom||0),w=l,k=f),a=t.maxWidth,u=t.maxHeight,s=t.minWidth,c=t.minHeight,g&&a&&u&&t.crop?(w=a,k=u,m=l/f-a/u,0>m?(f=u*l/a,void 0===t.top&&void 0===t.bottom&&(d=(b-f)/2)):m>0&&(l=a*f/u,void 0===t.left&&void 0===t.right&&(p=(_-l)/2))):((t.contain||t.cover)&&(s=a=a||s,c=u=u||c),t.cover?(o(),r()):(r(),o())),g){if(h=t.pixelRatio,h>1&&(y.style.width=w+"px",y.style.height=k+"px",w*=h,k*=h,y.getContext("2d").scale(h,h)),v=t.downsamplingRatio,v>0&&1>v&&l>w&&f>k)for(;l*v>w;)y.width=l*v,y.height=f*v,i.renderImageToCanvas(y,e,p,d,l,f,0,0,y.width,y.height),l=y.width,f=y.height,e=document.createElement("canvas"),e.width=l,e.height=f,i.renderImageToCanvas(e,y,0,0,l,f,0,0,l,f);return y.width=w,y.height=k,i.transformCoordinates(y,t),i.renderImageToCanvas(y,e,p,d,l,f,0,0,w,k)}return e.width=w,e.height=k,e},i.createObjectURL=function(e){return!!u&&u.createObjectURL(e)},i.revokeObjectURL=function(e){return!!u&&u.revokeObjectURL(e)},i.readFile=function(e,t,n){if(window.FileReader){var r=new FileReader;if(r.onload=r.onerror=t,n=n||"readAsDataURL",r[n])return r[n](e),r}return!1},r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}(window)},function(e,t,n){var r,o;!function(i,a){r=a,o="function"==typeof r?r.call(t,n,t,e):r,!(void 0!==o&&(e.exports=o))}(this,function(e,t,n){var r=function(e,t,n,r,o,i){for(var a=0,u=["webkit","moz","ms","o"],s=0;u.length>s&&!window.requestAnimationFrame;++s)window.requestAnimationFrame=window[u[s]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[u[s]+"CancelAnimationFrame"]||window[u[s]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,t){var n=(new Date).getTime(),r=Math.max(0,16-(n-a)),o=window.setTimeout(function(){e(n+r)},r);return a=n+r,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)});var c=this;c.options={useEasing:!0,useGrouping:!0,separator:",",decimal:".",easingFn:null,formattingFn:null};for(var l in i)i.hasOwnProperty(l)&&(c.options[l]=i[l]);""===c.options.separator&&(c.options.useGrouping=!1),c.options.prefix||(c.options.prefix=""),c.options.suffix||(c.options.suffix=""),c.d="string"==typeof e?document.getElementById(e):e,c.startVal=+t,c.endVal=+n,c.countDown=c.startVal>c.endVal,c.frameVal=c.startVal,c.decimals=Math.max(0,r||0),c.dec=Math.pow(10,c.decimals),c.duration=1e3*+o||2e3,c.formatNumber=function(e){e=e.toFixed(c.decimals), +e+="";var t,n,r,o;if(t=e.split("."),n=t[0],r=t.length>1?c.options.decimal+t[1]:"",o=/(\d+)(\d{3})/,c.options.useGrouping)for(;o.test(n);)n=n.replace(o,"$1"+c.options.separator+"$2");return c.options.prefix+n+r+c.options.suffix},c.easeOutExpo=function(e,t,n,r){return n*(-Math.pow(2,-10*e/r)+1)*1024/1023+t},c.easingFn=c.options.easingFn?c.options.easingFn:c.easeOutExpo,c.formattingFn=c.options.formattingFn?c.options.formattingFn:c.formatNumber,c.version=function(){return"1.7.1"},c.printValue=function(e){var t=c.formattingFn(e);"INPUT"===c.d.tagName?this.d.value=t:"text"===c.d.tagName||"tspan"===c.d.tagName?this.d.textContent=t:this.d.innerHTML=t},c.count=function(e){c.startTime||(c.startTime=e),c.timestamp=e;var t=e-c.startTime;c.remaining=c.duration-t,c.frameVal=c.options.useEasing?c.countDown?c.startVal-c.easingFn(t,0,c.startVal-c.endVal,c.duration):c.easingFn(t,c.startVal,c.endVal-c.startVal,c.duration):c.countDown?c.startVal-(c.startVal-c.endVal)*(t/c.duration):c.startVal+(c.endVal-c.startVal)*(t/c.duration),c.frameVal=c.countDown?c.endVal>c.frameVal?c.endVal:c.frameVal:c.frameVal>c.endVal?c.endVal:c.frameVal,c.frameVal=Math.round(c.frameVal*c.dec)/c.dec,c.printValue(c.frameVal),c.duration>t?c.rAF=requestAnimationFrame(c.count):c.callback&&c.callback()},c.start=function(e){return c.callback=e,c.rAF=requestAnimationFrame(c.count),!1},c.pauseResume=function(){c.paused?(c.paused=!1,delete c.startTime,c.duration=c.remaining,c.startVal=c.frameVal,requestAnimationFrame(c.count)):(c.paused=!0,cancelAnimationFrame(c.rAF))},c.reset=function(){c.paused=!1,delete c.startTime,c.startVal=t,cancelAnimationFrame(c.rAF),c.printValue(c.startVal)},c.update=function(e){cancelAnimationFrame(c.rAF),c.paused=!1,delete c.startTime,c.startVal=c.frameVal,c.endVal=+e,c.countDown=c.startVal>c.endVal,c.rAF=requestAnimationFrame(c.count)},c.printValue(c.startVal)};return r})},function(e,t){e.exports={"video-overlay":"onfido-sdk-ui-Camera-video-overlay",video:"onfido-sdk-ui-Camera-video",uploadFallback:"onfido-sdk-ui-Camera-uploadFallback"}},function(e,t){e.exports={camera:"onfido-sdk-ui-Capture-camera",uploader:"onfido-sdk-ui-Capture-uploader"}},function(e,t){e.exports={icon:"onfido-sdk-ui-Complete-icon"}},function(e,t){e.exports={captures:"onfido-sdk-ui-Confirm-captures",image:"onfido-sdk-ui-Confirm-image","btn-outline":"onfido-sdk-ui-Confirm-btn-outline",actions:"onfido-sdk-ui-Confirm-actions"}},function(e,t){e.exports={countdown:"onfido-sdk-ui-Countdown-countdown"}},function(e,t){e.exports={capture:"onfido-sdk-ui-Document-capture",rectangle:"onfido-sdk-ui-Document-rectangle"}},function(e,t){e.exports={option:"onfido-sdk-ui-DocumentSelector-option",icon:"onfido-sdk-ui-DocumentSelector-icon","icon-passport":"onfido-sdk-ui-DocumentSelector-icon-passport","icon-identity":"onfido-sdk-ui-DocumentSelector-icon-identity","icon-license":"onfido-sdk-ui-DocumentSelector-icon-license",selector:"onfido-sdk-ui-DocumentSelector-selector"}},function(e,t){e.exports={base:"onfido-sdk-ui-Error-base",hidden:"onfido-sdk-ui-Error-hidden"}},function(e,t){e.exports={circle:"onfido-sdk-ui-Face-circle",instructions:"onfido-sdk-ui-Face-instructions"}},function(e,t){e.exports={modal_animation_duration:"200ms",portal:"onfido-sdk-ui-Modal-portal",modalBody:"onfido-sdk-ui-Modal-modalBody",overlay:"onfido-sdk-ui-Modal-overlay","overlay--after-open":"onfido-sdk-ui-Modal-overlay--after-open","overlay--before-close":"onfido-sdk-ui-Modal-overlay--before-close",inner:"onfido-sdk-ui-Modal-inner",content:"onfido-sdk-ui-Modal-content"}},function(e,t){e.exports={methods:"onfido-sdk-ui-Select-methods",wrapper:"onfido-sdk-ui-Select-wrapper"}},function(e,t){e.exports={loader:"onfido-sdk-ui-Spinner-loader",inner:"onfido-sdk-ui-Spinner-inner","ball-scale-ripple-multiple":"onfido-sdk-ui-Spinner-ball-scale-ripple-multiple"}},function(e,t){e.exports={base:"onfido-sdk-ui-Uploader-base",text:"onfido-sdk-ui-Uploader-text",error:"onfido-sdk-ui-Uploader-error",processing:"onfido-sdk-ui-Uploader-processing",icon:"onfido-sdk-ui-Uploader-icon",dropzone:"onfido-sdk-ui-Uploader-dropzone"}},function(e,t){e.exports={"mtop-large":"onfido-sdk-ui-Welcome-mtop-large"}},function(e,t,n){function r(e){return null==e?void 0===e?s:u:(e=Object(e),c&&c in e?i(e):a(e))}var o=n(20),i=n(66),a=n(67),u="[object Null]",s="[object Undefined]",c=o?o.toStringTag:void 0;e.exports=r},function(e,t){(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.exports=n}).call(t,function(){return this}())},function(e,t,n){var r=n(68),o=r(Object.getPrototypeOf,Object);e.exports=o},function(e,t,n){function r(e){var t=a.call(e,s),n=e[s];try{e[s]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(t?e[s]=n:delete e[s]),o}var o=n(20),i=Object.prototype,a=i.hasOwnProperty,u=i.toString,s=o?o.toStringTag:void 0;e.exports=r},function(e,t){function n(e){return o.call(e)}var r=Object.prototype,o=r.toString;e.exports=n},function(e,t){function n(e,t){return function(n){return e(t(n))}}e.exports=n},function(e,t,n){var r=n(64),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},function(e,t){function n(e){return null!=e&&"object"==typeof e}e.exports=n},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){l(c.supportsWebSockets),f(c.supportsGetUserMedia)}function i(e){o();try{if(!c.supportsWebSockets)throw"WebSockets not supported";var t=new u.default;return t.connect(e),t}catch(e){console.log(e)}}t.__esModule=!0,t.default=i;var a=n(72),u=r(a),s=n(15),c=n(78),l=s.actions.setWebSocketSupport,f=s.actions.setGumSupport},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=n(80),s=o(u),c=n(21),l=o(c),f=n(6),p=r(f),d=n(15),h=n(82),v=o(h),m=d.actions.setWebSocketError,y=d.actions.setAuthenticated,g=function(){function e(){i(this,e)}return a(e,[{key:"connect",value:function(e){var t=this,n=s.default.stringify({jwt:e}),r=p.SOCKET_URL+"?"+n,o=new v.default(r);o.onerror=function(e){l.default.emit("onError"),m(!0)},o.onopen=function(){t.socket=o,t.onMessage(),y(!0)}}},{key:"onMessage",value:function(){this.socket.onmessage=function(e){var t=JSON.parse(e.data);l.default.emit("onMessage",t)}}},{key:"sendMessage",value:function(e){this.socket.send(e)}}]),e}();t.default=g},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0,t.deleteCaptures=t.confirmCapture=t.validateCapture=t.createCapture=void 0;var o=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(6),a=r(i),u=function(e){return e},s=function(e,t){return function(n){return{type:e,payload:(t||u)(n)}}};t.createCapture=s(a.CAPTURE_CREATE,function(e){return o({maxCaptures:3},e)}),t.validateCapture=s(a.CAPTURE_VALIDATE,function(e){return o({valid:!0},e)}),t.confirmCapture=s(a.CAPTURE_CONFIRM),t.deleteCaptures=s(a.CAPTURE_DELETE)},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return{type:l.SET_WEBSOCKET_SUPPORT,payload:e}}function i(e){return{type:l.SET_WEBSOCKET_ERROR,payload:e}}function a(e){return{type:l.SET_DOCUMENT_TYPE,payload:e}}function u(e){return{type:l.SET_AUTHENTICATED,payload:e}}function s(e){return{type:l.SET_GUM_SUPPORT,payload:e}}t.__esModule=!0,t.setWebSocketSupport=o,t.setWebSocketError=i,t.setDocumentType=a,t.setAuthenticated=u,t.setGumSupport=s;var c=n(6),l=r(c)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function i(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,t=arguments[1],n=t.payload||{},r=n.method,o=e[r],u=function(t){return s({},e,a({},r,t))},c=h.bind(this,o,function(e){return e.id===n.id});switch(t.type){case l.CAPTURE_CREATE:var f=n.maxCaptures,p=n.capture,v=o.slice(0,f-1);return u([p].concat(i(v)));case l.CAPTURE_VALIDATE:var m=c({valid:n.valid,processed:!0});return u(m);case l.CAPTURE_CONFIRM:var y=c({confirmed:!0});return u(y);case l.CAPTURE_DELETE:return u([]);default:return d}}t.__esModule=!0;var s=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.captures=u;var c=n(6),l=o(c),f=n(10),p=r(f),d={document:[],face:[]},h=function(e,t,n){return e.map(function(e){return t(e)?(0,p.default)({},e,n):e})}},function(e,t,n){"use strict";function r(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}function i(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l,t=arguments[1];switch(t.type){case c.SET_AUTHENTICATED:return e=(0,u.default)({},e,{authenticated:t.payload});case c.SET_WEBSOCKET_SUPPORT:return e=(0,u.default)({},e,{supportsWebSockets:t.payload});case c.SET_WEBSOCKET_ERROR:return e=(0,u.default)({},e,{websocketErrorEncountered:t.payload});case c.SET_GUM_SUPPORT:return e=(0,u.default)({},e,{supportsGetUserMedia:t.payload});case c.SET_DOCUMENT_TYPE:return e=(0,u.default)({},e,{documentType:t.payload});default:return e}}t.__esModule=!0,t.default=i;var a=n(10),u=o(a),s=n(6),c=r(s),l={authenticated:!1,supportsWebSockets:!1,supportsGetUserMedia:!1,websocketErrorEncountered:null,documentType:null}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(8),i=n(75),a=n(76),u=r(a);t.default=(0,o.combineReducers)({captures:i.captures,globals:u.default})},function(e,t){"use strict";t.__esModule=!0,t.supportsGetUserMedia="getUserMedia"in navigator||"webkitGetUserMedia"in navigator||"mozGetUserMedia"in navigator||"msGetUserMedia"in navigator,t.supportsWebSockets="WebSocket"in window},function(e,t,n){var r;!function(o){function i(){this._events={},this._conf&&a.call(this,this._conf)}function a(e){e?(this._conf=e,e.delimiter&&(this.delimiter=e.delimiter),this._events.maxListeners=e.maxListeners!==o?e.maxListeners:p,e.wildcard&&(this.wildcard=e.wildcard),e.newListener&&(this.newListener=e.newListener),this.wildcard&&(this.listenerTree={})):this._events.maxListeners=p}function u(e){console.error("(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.",e),console.trace&&console.trace()}function s(e){this._events={},this.newListener=!1,a.call(this,e)}function c(e,t,n,r){if(!n)return[];var o,i,a,u,s,l,f,p=[],d=t.length,h=t[r],v=t[r+1];if(r===d&&n._listeners){if("function"==typeof n._listeners)return e&&e.push(n._listeners),[n];for(o=0,i=n._listeners.length;i>o;o++)e&&e.push(n._listeners[o]);return[n]}if("*"===h||"**"===h||n[h]){if("*"===h){for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&(p=p.concat(c(e,t,n[a],r+1)));return p}if("**"===h){f=r+1===d||r+2===d&&"*"===v,f&&n._listeners&&(p=p.concat(c(e,t,n,d)));for(a in n)"_listeners"!==a&&n.hasOwnProperty(a)&&("*"===a||"**"===a?(n[a]._listeners&&!f&&(p=p.concat(c(e,t,n[a],d))),p=p.concat(c(e,t,n[a],r))):p=p.concat(a===v?c(e,t,n[a],r+2):c(e,t,n[a],r)));return p}p=p.concat(c(e,t,n[h],r+1))}if(u=n["*"],u&&c(e,t,u,r+1),s=n["**"])if(d>r){s._listeners&&c(e,t,s,d);for(a in s)"_listeners"!==a&&s.hasOwnProperty(a)&&(a===v?c(e,t,s[a],r+2):a===h?c(e,t,s[a],r+1):(l={},l[a]=s[a],c(e,t,{"**":l},r+1)))}else s._listeners?c(e,t,s,d):s["*"]&&s["*"]._listeners&&c(e,t,s["*"],d);return p}function l(e,t){e="string"==typeof e?e.split(this.delimiter):e.slice();for(var n=0,r=e.length;r>n+1;n++)if("**"===e[n]&&"**"===e[n+1])return;for(var i=this.listenerTree,a=e.shift();a!==o;){if(i[a]||(i[a]={}),i=i[a],0===e.length)return i._listeners?("function"==typeof i._listeners&&(i._listeners=[i._listeners]),i._listeners.push(t),!i._listeners.warned&&this._events.maxListeners>0&&i._listeners.length>this._events.maxListeners&&(i._listeners.warned=!0,u(i._listeners.length))):i._listeners=t,!0;a=e.shift()}return!0}var f=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},p=10;s.EventEmitter2=s,s.prototype.delimiter=".",s.prototype.setMaxListeners=function(e){e!==o&&(this._events||i.call(this),this._events.maxListeners=e,this._conf||(this._conf={}),this._conf.maxListeners=e)},s.prototype.event="",s.prototype.once=function(e,t){return this.many(e,1,t),this},s.prototype.many=function(e,t,n){function r(){0===--t&&o.off(e,r),n.apply(this,arguments)}var o=this;if("function"!=typeof n)throw Error("many only accepts instances of Function");return r._origin=n,this.on(e,r),o},s.prototype.emit=function(){this._events||i.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return!1;var t,n,r,o,a,u=arguments.length;if(this._all&&this._all.length){if(a=this._all.slice(),u>3)for(t=Array(u),o=0;u>o;o++)t[o]=arguments[o];for(r=0,n=a.length;n>r;r++)switch(this.event=e,u){case 1:a[r].call(this,e);break;case 2:a[r].call(this,e,arguments[1]);break;case 3:a[r].call(this,e,arguments[1],arguments[2]);break;default:a[r].apply(this,t)}}if(this.wildcard){a=[];var s="string"==typeof e?e.split(this.delimiter):e.slice();c.call(this,a,s,this.listenerTree,0)}else{if(a=this._events[e],"function"==typeof a){switch(this.event=e,u){case 1:a.call(this);break;case 2:a.call(this,arguments[1]);break;case 3:a.call(this,arguments[1],arguments[2]);break;default:for(t=Array(u-1),o=1;u>o;o++)t[o-1]=arguments[o];a.apply(this,t)}return!0}a&&(a=a.slice())}if(a&&a.length){if(u>3)for(t=Array(u-1),o=1;u>o;o++)t[o-1]=arguments[o];for(r=0,n=a.length;n>r;r++)switch(this.event=e,u){case 1:a[r].call(this);break;case 2:a[r].call(this,arguments[1]);break;case 3:a[r].call(this,arguments[1],arguments[2]);break;default:a[r].apply(this,t)}return!0}if(!this._all&&"error"===e)throw arguments[1]instanceof Error?arguments[1]:Error("Uncaught, unspecified 'error' event.");return!!this._all},s.prototype.emitAsync=function(){this._events||i.call(this);var e=arguments[0];if("newListener"===e&&!this.newListener&&!this._events.newListener)return Promise.resolve([!1]);var t,n,r,o,a,u=[],s=arguments.length;if(this._all){if(s>3)for(t=Array(s),o=1;s>o;o++)t[o]=arguments[o];for(r=0,n=this._all.length;n>r;r++)switch(this.event=e,s){case 1:u.push(this._all[r].call(this,e));break;case 2:u.push(this._all[r].call(this,e,arguments[1]));break;case 3:u.push(this._all[r].call(this,e,arguments[1],arguments[2]));break;default:u.push(this._all[r].apply(this,t))}}if(this.wildcard){a=[];var l="string"==typeof e?e.split(this.delimiter):e.slice();c.call(this,a,l,this.listenerTree,0)}else a=this._events[e];if("function"==typeof a)switch(this.event=e,s){case 1:u.push(a.call(this));break;case 2:u.push(a.call(this,arguments[1]));break;case 3:u.push(a.call(this,arguments[1],arguments[2]));break;default:for(t=Array(s-1),o=1;s>o;o++)t[o-1]=arguments[o];u.push(a.apply(this,t))}else if(a&&a.length){if(s>3)for(t=Array(s-1),o=1;s>o;o++)t[o-1]=arguments[o];for(r=0,n=a.length;n>r;r++)switch(this.event=e,s){case 1:u.push(a[r].call(this));break;case 2:u.push(a[r].call(this,arguments[1]));break;case 3:u.push(a[r].call(this,arguments[1],arguments[2]));break;default:u.push(a[r].apply(this,t))}}else if(!this._all&&"error"===e)return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(u)},s.prototype.on=function(e,t){if("function"==typeof e)return this.onAny(e),this;if("function"!=typeof t)throw Error("on only accepts instances of Function");return this._events||i.call(this),this.emit("newListener",e,t),this.wildcard?(l.call(this,e,t),this):(this._events[e]?("function"==typeof this._events[e]&&(this._events[e]=[this._events[e]]),this._events[e].push(t),!this._events[e].warned&&this._events.maxListeners>0&&this._events[e].length>this._events.maxListeners&&(this._events[e].warned=!0,u(this._events[e].length))):this._events[e]=t,this)},s.prototype.onAny=function(e){if("function"!=typeof e)throw Error("onAny only accepts instances of Function");return this._all||(this._all=[]),this._all.push(e),this},s.prototype.addListener=s.prototype.on,s.prototype.off=function(e,t){function n(e){if(e!==o){var t=Object.keys(e);for(var r in t){var i=t[r],a=e[i];a instanceof Function||"object"!=typeof a||null===a||(Object.keys(a).length>0&&n(e[i]),0===Object.keys(a).length&&delete e[i])}}}if("function"!=typeof t)throw Error("removeListener only takes instances of Function");var r,i=[];if(this.wildcard){var a="string"==typeof e?e.split(this.delimiter):e.slice();i=c.call(this,null,a,this.listenerTree,0)}else{if(!this._events[e])return this;r=this._events[e],i.push({_listeners:r})}for(var u=0;i.length>u;u++){var s=i[u];if(r=s._listeners,f(r)){for(var l=-1,p=0,d=r.length;d>p;p++)if(r[p]===t||r[p].listener&&r[p].listener===t||r[p]._origin&&r[p]._origin===t){l=p;break}if(0>l)continue;return this.wildcard?s._listeners.splice(l,1):this._events[e].splice(l,1),0===r.length&&(this.wildcard?delete s._listeners:delete this._events[e]),this.emit("removeListener",e,t),this}(r===t||r.listener&&r.listener===t||r._origin&&r._origin===t)&&(this.wildcard?delete s._listeners:delete this._events[e],this.emit("removeListener",e,t))}return n(this.listenerTree),this},s.prototype.offAny=function(e){var t,n=0,r=0;if(e&&this._all&&this._all.length>0){for(t=this._all,n=0,r=t.length;r>n;n++)if(e===t[n])return t.splice(n,1),this.emit("removeListenerAny",e),this}else{for(t=this._all,n=0,r=t.length;r>n;n++)this.emit("removeListenerAny",t[n]);this._all=[]}return this},s.prototype.removeListener=s.prototype.off,s.prototype.removeAllListeners=function(e){if(0===arguments.length)return!this._events||i.call(this),this;if(this.wildcard)for(var t="string"==typeof e?e.split(this.delimiter):e.slice(),n=c.call(this,null,t,this.listenerTree,0),r=0;n.length>r;r++){var o=n[r];o._listeners=null}else this._events&&(this._events[e]=null);return this},s.prototype.listeners=function(e){if(this.wildcard){var t=[],n="string"==typeof e?e.split(this.delimiter):e.slice();return c.call(this,t,n,this.listenerTree,0),t}return this._events||i.call(this),this._events[e]||(this._events[e]=[]),f(this._events[e])||(this._events[e]=[this._events[e]]),this._events[e]},s.prototype.listenerCount=function(e){return this.listeners(e).length},s.prototype.listenersAny=function(){return this._all?this._all:[]},r=function(){return s}.call(t,n,t,e),!(r!==o&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e,t){return t.encode?t.strict?o(e):encodeURIComponent(e):e}var o=n(81),i=n(10);t.extract=function(e){return e.split("?")[1]||""},t.parse=function(e){var t=Object.create(null);return"string"!=typeof e?t:(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach(function(e){var n=e.replace(/\+/g," ").split("="),r=n.shift(),o=n.length>0?n.join("="):void 0;r=decodeURIComponent(r),o=void 0===o?null:decodeURIComponent(o),void 0===t[r]?t[r]=o:Array.isArray(t[r])?t[r].push(o):t[r]=[t[r],o]}),t):t},t.stringify=function(e,t){var n={encode:!0,strict:!0};return t=i(n,t),e?Object.keys(e).sort().map(function(n){var o=e[n];if(void 0===o)return"";if(null===o)return r(n,t);if(Array.isArray(o)){var i=[];return o.slice().forEach(function(e){void 0!==e&&i.push(null===e?r(n,t):r(n,t)+"="+r(e,t))}),i.join("&")}return r(n,t)+"="+r(o,t)}).filter(function(e){return e.length>0}).join("&"):""}},function(e,t){"use strict";e.exports=function(e){return encodeURIComponent(e).replace(/[!'()*]/g,function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})}},function(e,t,n){var r,o,i;!function(n,a){o=[],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(){function e(t,n,r){function o(e,t){var n=document.createEvent("CustomEvent");return n.initCustomEvent(e,!1,!1,t),n}var i={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};r||(r={});for(var a in i)this[a]=void 0!==r[a]?r[a]:i[a];this.url=t,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var u,s=this,c=!1,l=!1,f=document.createElement("div");f.addEventListener("open",function(e){s.onopen(e)}),f.addEventListener("close",function(e){s.onclose(e)}),f.addEventListener("connecting",function(e){s.onconnecting(e)}),f.addEventListener("message",function(e){s.onmessage(e)}),f.addEventListener("error",function(e){s.onerror(e)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f),this.open=function(t){if(u=new WebSocket(s.url,n||[]),t){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(o("connecting")),this.reconnectAttempts=0;(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",s.url);var r=u,i=setTimeout(function(){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",s.url),l=!0,r.close(),l=!1},s.timeoutInterval);u.onopen=function(n){clearTimeout(i),(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onopen",s.url),s.protocol=u.protocol,s.readyState=WebSocket.OPEN,s.reconnectAttempts=0;var r=o("open");r.isReconnect=t,t=!1,f.dispatchEvent(r)},u.onclose=function(n){if(clearTimeout(i),u=null,c)s.readyState=WebSocket.CLOSED,f.dispatchEvent(o("close"));else{s.readyState=WebSocket.CONNECTING;var r=o("connecting");r.code=n.code,r.reason=n.reason,r.wasClean=n.wasClean,f.dispatchEvent(r),t||l||((s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onclose",s.url),f.dispatchEvent(o("close")));var i=s.reconnectInterval*Math.pow(s.reconnectDecay,s.reconnectAttempts);setTimeout(function(){s.reconnectAttempts++,s.open(!0)},i>s.maxReconnectInterval?s.maxReconnectInterval:i)}},u.onmessage=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",s.url,t.data);var n=o("message");n.data=t.data,f.dispatchEvent(n)},u.onerror=function(t){(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","onerror",s.url,t),f.dispatchEvent(o("error"))}},1==this.automaticOpen&&this.open(!1),this.send=function(t){if(u)return(s.debug||e.debugAll)&&console.debug("ReconnectingWebSocket","send",s.url,t),u.send(t);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(e,t){void 0===e&&(e=1e3),c=!0,u&&u.close(e,t)},this.refresh=function(){u&&u.close()}}if("WebSocket"in window)return e.prototype.onopen=function(e){},e.prototype.onclose=function(e){},e.prototype.onconnecting=function(e){},e.prototype.onmessage=function(e){},e.prototype.onerror=function(e){},e.debugAll=!1,e.CONNECTING=WebSocket.CONNECTING,e.OPEN=WebSocket.OPEN,e.CLOSING=WebSocket.CLOSING,e.CLOSED=WebSocket.CLOSED,e})},function(e,t){"use strict";function n(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);e.length>t;t++)n[t]=e[t];return n}return Array.from(e)}function r(e,t){return e===t}function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r,n=null,o=null;return function(){for(var r=arguments.length,i=Array(r),a=0;r>a;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every(function(e,r){return t(e,n[r])})||(o=e.apply(void 0,i)),n=i,o}}function i(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every(function(e){return"function"==typeof e})){var n=t.map(function(e){return typeof e}).join(", ");throw Error("Selector creators expect all input-selectors to be functions, "+("instead received the following types: ["+n+"]"))}return t}function a(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;t>o;o++)r[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),a=0;t>a;a++)o[a]=arguments[a];var u=0,s=o.pop(),c=i(o),l=e.apply(void 0,[function(){return u++,s.apply(void 0,arguments)}].concat(r)),f=function(e,t){for(var r=arguments.length,o=Array(r>2?r-2:0),i=2;r>i;i++)o[i-2]=arguments[i];var a=c.map(function(n){return n.apply(void 0,[e,t].concat(o))});return l.apply(void 0,n(a))};return f.resultFunc=s,f.recomputations=function(){return u},f.resetRecomputations=function(){return u=0},f}}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if("object"!=typeof e)throw Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map(function(t){return e[t]}),function(){for(var e=arguments.length,t=Array(e),r=0;e>r;r++)t[r]=arguments[r];return t.reduce(function(e,t,r){return e[n[r]]=t,e},{})})}t.__esModule=!0,t.defaultMemoize=o,t.createSelectorCreator=a,t.createStructuredSelector=u;var s=t.createSelector=a(o)},function(e,t){e.exports=function(e,t){t||(t=[0,""]),e+="";var n=parseFloat(e,10);return t[0]=n,t[1]=e.match(/[\d.\-\+]*\s*(.*)/)[1]||"",t}},function(e,t,n){var r,o,i;!function(n,a){o=[t,e],r=a,i="function"==typeof r?r.apply(t,o):r,!(void 0!==i&&(e.exports=i))}(this,function(e,t){"use strict";function n(e){var t=e&&(k&&e[k]||e[x]);if("function"==typeof t)return t}function r(e){function t(t,n,r,o,i,a){if(o=o||C,a=a||r,null==n[r]){var u=b[i];return t?Error("Required "+u+" `"+a+"` was not specified in "+("`"+o+"`.")):null}return e(n,r,o,i,a)}var n=t.bind(null,!1);return n.isRequired=t.bind(null,!0),n}function o(e){function t(t,n,r,o,i){var a=t[n],u=v(a);if(u!==e){var s=b[o],c=m(a);return Error("Invalid "+s+" `"+i+"` of type "+("`"+c+"` supplied to `"+r+"`, expected ")+("`"+e+"`."))}return null}return r(t)}function i(){return r(w.thatReturns(null))}function a(e){function t(t,n,r,o,i){var a=t[n];if(!Array.isArray(a)){var u=b[o],s=v(a);return Error("Invalid "+u+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected an array."))}for(var c=0;a.length>c;c++){var l=e(a,c,r,o,i+"["+c+"]");if(l instanceof Error)return l}return null}return r(t)}function u(){function e(e,t,n,r,o){if(!_.isValidElement(e[t])){var i=b[r];return Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a single ReactElement."))}return null}return r(e)}function s(e){function t(t,n,r,o,i){if(!(t[n]instanceof e)){var a=b[o],u=e.name||C,s=y(t[n]);return Error("Invalid "+a+" `"+i+"` of type "+("`"+s+"` supplied to `"+r+"`, expected ")+("instance of `"+u+"`."))}return null}return r(t)}function c(e){function t(t,n,r,o,i){for(var a=t[n],u=0;e.length>u;u++)if(a===e[u])return null;var s=b[o],c=JSON.stringify(e);return Error("Invalid "+s+" `"+i+"` of value `"+a+"` "+("supplied to `"+r+"`, expected one of "+c+"."))}return r(Array.isArray(e)?t:function(){return Error("Invalid argument supplied to oneOf, expected an instance of array.")})}function l(e){function t(t,n,r,o,i){var a=t[n],u=v(a);if("object"!==u){var s=b[o];return Error("Invalid "+s+" `"+i+"` of type "+("`"+u+"` supplied to `"+r+"`, expected an object."))}for(var c in a)if(a.hasOwnProperty(c)){var l=e(a,c,r,o,i+"."+c);if(l instanceof Error)return l}return null}return r(t)}function f(e){function t(t,n,r,o,i){for(var a=0;e.length>a;a++){var u=e[a];if(null==u(t,n,r,o,i))return null}var s=b[o];return Error("Invalid "+s+" `"+i+"` supplied to "+("`"+r+"`."))}return r(Array.isArray(e)?t:function(){return Error("Invalid argument supplied to oneOfType, expected an instance of array.")})}function p(){function e(e,t,n,r,o){if(!h(e[t])){var i=b[r];return Error("Invalid "+i+" `"+o+"` supplied to "+("`"+n+"`, expected a ReactNode."))}return null}return r(e)}function d(e){function t(t,n,r,o,i){var a=t[n],u=v(a);if("object"!==u){var s=b[o];return Error("Invalid "+s+" `"+i+"` of type `"+u+"` "+("supplied to `"+r+"`, expected `object`."))}for(var c in e){var l=e[c];if(l){var f=l(a,c,r,o,i+"."+c);if(f)return f}}return null}return r(t)}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||_.isValidElement(e))return!0;var t=n(e);if(!t)return!1;var r,o=t.call(e);if(t!==e.entries){for(;!(r=o.next()).done;)if(!h(r.value))return!1}else for(;!(r=o.next()).done;){var i=r.value;if(i&&!h(i[1]))return!1}return!0;default:return!1}}function v(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":t}function m(e){var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}function y(e){return e.constructor&&e.constructor.name?e.constructor.name:C}var g="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,_={};_.isValidElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===g};var b={prop:"prop",context:"context",childContext:"child context"},w={thatReturns:function(e){return function(){return e}}},k="function"==typeof Symbol&&Symbol.iterator,x="@@iterator",C="<>",S={array:o("array"),bool:o("boolean"),func:o("function"),number:o("number"),object:o("object"),string:o("string"),any:i(),arrayOf:a,element:u(),instanceOf:s,node:p(),objectOf:l,oneOf:c,oneOfType:f,shape:d};t.exports=S})},function(e,t){function n(e,t,n,o){return JSON.stringify(e,r(t,o),n)}function r(e,t){var n=[],r=[];return null==t&&(t=function(e,t){return n[0]===t?"[Circular ~]":"[Circular ~."+r.slice(0,n.indexOf(t)).join(".")+"]"}),function(o,i){if(n.length>0){var a=n.indexOf(this);~a?n.splice(a+1):n.push(this),~a?r.splice(a,1/0,o):r.push(o),~n.indexOf(i)&&(i=t.call(this,o,i))}else n.push(i);return null==e?i:e.call(this,o,i)}}t=e.exports=n,t.getSerialize=r},function(e,t){"use strict";function n(e){this.name="RavenConfigError",this.message=e}n.prototype=Error(),n.prototype.constructor=n,e.exports=n},function(e,t){"use strict";var n=function(e,t,n){var r=e[t],o=e;if(t in e){var i="warn"===t?"warning":t;e[t]=function(){var e=[].slice.call(arguments),t=""+e.join(" "),a={level:i,logger:"console",extra:{arguments:e}};n&&n(t,a),r&&Function.prototype.apply.call(r,o,e)}}};e.exports={wrapMethod:n}},function(e,t,n){"use strict";function r(){return+new Date}function o(){this._hasJSON=!("object"!=typeof JSON||!JSON.stringify),this._hasDocument=!i(P),this._lastCapturedException=null,this._lastEventId=null,this._globalServer=null,this._globalKey=null,this._globalProject=null,this._globalContext={},this._globalOptions={logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],crossOrigin:"anonymous",collectWindowErrors:!0,maxMessageLength:0,stackTraceLimit:50,autoBreadcrumbs:!0},this._ignoreOnError=0,this._isRavenInstalled=!1,this._originalErrorStackTraceLimit=Error.stackTraceLimit,this._originalConsole=T.console||{},this._originalConsoleMethods={},this._plugins=[],this._startTime=r(),this._wrappedBuiltIns=[],this._breadcrumbs=[],this._lastCapturedEvent=null,this._location=T.location,this._lastHref=this._location&&this._location.href;for(var e in this._originalConsole)this._originalConsoleMethods[e]=this._originalConsole[e]}function i(e){return void 0===e}function a(e){return"function"==typeof e}function u(e){return"[object String]"===A.toString.call(e)}function s(e){return"object"==typeof e&&null!==e}function c(e){ +for(var t in e)return!1;return!0}function l(e){var t=A.toString.call(e);return s(e)&&"[object Error]"===t||"[object Exception]"===t||e instanceof Error}function f(e,t){var n,r;if(i(e.length))for(n in e)h(e,n)&&t.call(null,n,e[n]);else if(r=e.length)for(n=0;r>n;n++)t.call(null,n,e[n])}function p(e,t){return t?(f(t,function(t,n){e[t]=n}),e):e}function d(e,t){return t&&e.length>t?e.substr(0,t)+"…":e}function h(e,t){return A.hasOwnProperty.call(e,t)}function v(e){for(var t,n=[],r=0,o=e.length;o>r;r++)t=e[r],u(t)?n.push(t.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):t&&t.source&&n.push(t.source);return RegExp(n.join("|"),"i")}function m(e){var t=[];return f(e,function(e,n){t.push(encodeURIComponent(e)+"="+encodeURIComponent(n))}),t.join("&")}function y(e){var t=e.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!t)return{};var n=t[6]||"",r=t[8]||"";return{protocol:t[2],host:t[4],path:t[5],relative:t[5]+n+r}}function g(){var e=window.crypto||window.msCrypto;if(!i(e)&&e.getRandomValues){var t=new Uint16Array(8);e.getRandomValues(t),t[3]=4095&t[3]|16384,t[4]=16383&t[4]|32768;var n=function(e){for(var t=e.toString(16);4>t.length;)t="0"+t;return t};return n(t[0])+n(t[1])+n(t[2])+n(t[3])+n(t[4])+n(t[5])+n(t[6])+n(t[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0,n="x"===e?t:3&t|8;return n.toString(16)})}function _(e){for(var t,n=5,r=80,o=[],i=0,a=0,u=" > ",s=u.length;e&&i++=i||r>a+o.length*s+t.length));)o.push(t),a+=t.length,e=e.parentNode;return o.reverse().join(u)}function b(e){var t,n,r,o,i,a=[];if(!e||!e.tagName)return"";if(a.push(e.tagName.toLowerCase()),e.id&&a.push("#"+e.id),t=e.className,t&&u(t))for(n=t.split(" "),i=0;n.length>i;i++)a.push("."+n[i]);var s=["type","name","title","alt"];for(i=0;s.length>i;i++)r=s[i],o=e.getAttribute(r),o&&a.push("["+r+'="'+o+'"]');return a.join("")}function w(e,t,n,r){var o=e[t];e[t]=n(o),r&&r.push([e,t,o])}var k=n(91),x=n(87),C=n(86),S=n(88).wrapMethod,O="source protocol user pass host port path".split(" "),E=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/,T="undefined"!=typeof window?window:void 0,P=T&&T.document;o.prototype={VERSION:"3.8.0",debug:!1,TraceKit:k,config:function(e,t){var n=this;if(n._globalServer)return this._logDebug("error","Error: Raven has already been configured"),n;if(!e)return n;var r=n._globalOptions;t&&f(t,function(e,t){"tags"===e||"extra"===e?n._globalContext[e]=t:r[e]=t}),n.setDSN(e),r.ignoreErrors.push(/^Script error\.?$/),r.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),r.ignoreErrors=v(r.ignoreErrors),r.ignoreUrls=!!r.ignoreUrls.length&&v(r.ignoreUrls),r.whitelistUrls=!!r.whitelistUrls.length&&v(r.whitelistUrls),r.includePaths=v(r.includePaths),r.maxBreadcrumbs=Math.max(0,Math.min(r.maxBreadcrumbs||100,100));var o={xhr:!0,console:!0,dom:!0,location:!0},i=r.autoBreadcrumbs;return"[object Object]"==={}.toString.call(i)?i=p(o,i):i!==!1&&(i=o),r.autoBreadcrumbs=i,k.collectWindowErrors=!!r.collectWindowErrors,n},install:function(){var e=this;return e.isSetup()&&!e._isRavenInstalled&&(k.report.subscribe(function(){e._handleOnErrorStackInfo.apply(e,arguments)}),e._instrumentTryCatch(),e._globalOptions.autoBreadcrumbs&&e._instrumentBreadcrumbs(),e._drainPlugins(),e._isRavenInstalled=!0),Error.stackTraceLimit=e._globalOptions.stackTraceLimit,this},setDSN:function(e){var t=this,n=t._parseDSN(e),r=n.path.lastIndexOf("/"),o=n.path.substr(1,r);t._dsn=e,t._globalKey=n.user,t._globalSecret=n.pass&&n.pass.substr(1),t._globalProject=n.path.substr(r+1),t._globalServer=t._getGlobalServer(n),t._globalEndpoint=t._globalServer+"/"+o+"api/"+t._globalProject+"/store/"},context:function(e,t,n){return a(e)&&(n=t||[],t=e,e=void 0),this.wrap(e,t).apply(this,n)},wrap:function(e,t,n){function r(){var r=[],i=arguments.length,u=!e||e&&e.deep!==!1;for(n&&a(n)&&n.apply(this,arguments);i--;)r[i]=u?o.wrap(e,arguments[i]):arguments[i];try{return t.apply(this,r)}catch(t){throw o._ignoreNextOnError(),o.captureException(t,e),t}}var o=this;if(i(t)&&!a(e))return e;if(a(e)&&(t=e,e=void 0),!a(t))return t;try{if(t.__raven__)return t;if(t.__raven_wrapper__)return t.__raven_wrapper__}catch(e){return t}for(var u in t)h(t,u)&&(r[u]=t[u]);return r.prototype=t.prototype,t.__raven_wrapper__=r,r.__raven__=!0,r.__inner__=t,r},uninstall:function(){return k.report.uninstall(),this._restoreBuiltIns(),Error.stackTraceLimit=this._originalErrorStackTraceLimit,this._isRavenInstalled=!1,this},captureException:function(e,t){if(!l(e))return this.captureMessage(e,p({trimHeadFrames:1,stacktrace:!0},t));this._lastCapturedException=e;try{var n=k.computeStackTrace(e);this._handleStackInfo(n,t)}catch(t){if(e!==t)throw t}return this},captureMessage:function(e,t){if(!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(e)){var n=p({message:e+""},t);if(t&&t.stacktrace){var r;try{throw Error(e)}catch(e){r=e}r.name=null,t=p({fingerprint:e,trimHeadFrames:(t.trimHeadFrames||0)+1},t);var o=k.computeStackTrace(r),i=this._prepareFrames(o,t);n.stacktrace={frames:i.reverse()}}return this._send(n),this}},captureBreadcrumb:function(e){var t=p({timestamp:r()/1e3},e);return this._breadcrumbs.push(t),this._breadcrumbs.length>this._globalOptions.maxBreadcrumbs&&this._breadcrumbs.shift(),this},addPlugin:function(e){var t=[].slice.call(arguments,1);return this._plugins.push([e,t]),this._isRavenInstalled&&this._drainPlugins(),this},setUserContext:function(e){return this._globalContext.user=e,this},setExtraContext:function(e){return this._mergeContext("extra",e),this},setTagsContext:function(e){return this._mergeContext("tags",e),this},clearContext:function(){return this._globalContext={},this},getContext:function(){return JSON.parse(C(this._globalContext))},setEnvironment:function(e){return this._globalOptions.environment=e,this},setRelease:function(e){return this._globalOptions.release=e,this},setDataCallback:function(e){var t=this._globalOptions.dataCallback;return this._globalOptions.dataCallback=a(e)?function(n){return e(n,t)}:e,this},setShouldSendCallback:function(e){var t=this._globalOptions.shouldSendCallback;return this._globalOptions.shouldSendCallback=a(e)?function(n){return e(n,t)}:e,this},setTransport:function(e){return this._globalOptions.transport=e,this},lastException:function(){return this._lastCapturedException},lastEventId:function(){return this._lastEventId},isSetup:function(){return!(!this._hasJSON||!this._globalServer&&(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this._logDebug("error","Error: Raven has not been configured.")),1))},afterLoad:function(){var e=T.RavenConfig;e&&this.config(e.dsn,e.config).install()},showReportDialog:function(e){if(P){e=e||{};var t=e.eventId||this.lastEventId();if(!t)throw new x("Missing eventId");var n=e.dsn||this._dsn;if(!n)throw new x("Missing DSN");var r=encodeURIComponent,o="";o+="?eventId="+r(t),o+="&dsn="+r(n);var i=e.user||this._globalContext.user;i&&(i.name&&(o+="&name="+r(i.name)),i.email&&(o+="&email="+r(i.email)));var a=this._getGlobalServer(this._parseDSN(n)),u=P.createElement("script");u.async=!0,u.src=a+"/api/embed/error-page/"+o,(P.head||P.body).appendChild(u)}},_ignoreNextOnError:function(){var e=this;this._ignoreOnError+=1,setTimeout(function(){e._ignoreOnError-=1})},_triggerEvent:function(e,t){var n,r;if(this._hasDocument){t=t||{},e="raven"+e.substr(0,1).toUpperCase()+e.substr(1),P.createEvent?(n=P.createEvent("HTMLEvents"),n.initEvent(e,!0,!0)):(n=P.createEventObject(),n.eventType=e);for(r in t)h(t,r)&&(n[r]=t[r]);if(P.createEvent)P.dispatchEvent(n);else try{P.fireEvent("on"+n.eventType.toLowerCase(),n)}catch(e){}}},_breadcrumbEventHandler:function(e){var t=this;return function(n){if(t._keypressTimeout=null,t._lastCapturedEvent!==n){t._lastCapturedEvent=n;var r,o=n.target;try{r=_(o)}catch(e){r=""}t.captureBreadcrumb({category:"ui."+e,message:r})}}},_keypressEventHandler:function(){var e=this,t=1e3;return function(n){var r=n.target,o=r&&r.tagName;if(o&&("INPUT"===o||"TEXTAREA"===o||r.isContentEditable)){var i=e._keypressTimeout;i||e._breadcrumbEventHandler("input")(n),clearTimeout(i),e._keypressTimeout=setTimeout(function(){e._keypressTimeout=null},t)}}},_captureUrlChange:function(e,t){var n=y(this._location.href),r=y(t),o=y(e);this._lastHref=t,n.protocol===r.protocol&&n.host===r.host&&(t=r.relative),n.protocol===o.protocol&&n.host===o.host&&(e=o.relative),this.captureBreadcrumb({category:"navigation",data:{to:t,from:e}})},_instrumentTryCatch:function(){function e(e){return function(t,r){for(var o=Array(arguments.length),i=0;o.length>i;++i)o[i]=arguments[i];var u=o[0];return a(u)&&(o[0]=n.wrap(u)),e.apply?e.apply(this,o):e(o[0],o[1])}}function t(e){var t=T[e]&&T[e].prototype;t&&t.hasOwnProperty&&t.hasOwnProperty("addEventListener")&&(w(t,"addEventListener",function(t){return function(r,i,a,u){try{i&&i.handleEvent&&(i.handleEvent=n.wrap(i.handleEvent))}catch(e){}var s;return o&&o.dom&&("EventTarget"===e||"Node"===e)&&("click"===r?s=n._breadcrumbEventHandler(r):"keypress"===r&&(s=n._keypressEventHandler())),t.call(this,r,n.wrap(i,void 0,s),a,u)}},r),w(t,"removeEventListener",function(e){return function(t,n,r,o){try{n=n&&(n.__raven_wrapper__?n.__raven_wrapper__:n)}catch(e){}return e.call(this,t,n,r,o)}},r))}var n=this,r=n._wrappedBuiltIns,o=this._globalOptions.autoBreadcrumbs;w(T,"setTimeout",e,r),w(T,"setInterval",e,r),T.requestAnimationFrame&&w(T,"requestAnimationFrame",function(e){return function(t){return e(n.wrap(t))}},r);for(var i=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],u=0;i.length>u;u++)t(i[u]);var s=T.jQuery||T.$;s&&s.fn&&s.fn.ready&&w(s.fn,"ready",function(e){return function(t){return e.call(this,n.wrap(t))}},r)},_instrumentBreadcrumbs:function(){function e(e,n){e in n&&a(n[e])&&w(n,e,function(e){return t.wrap(e)})}var t=this,n=this._globalOptions.autoBreadcrumbs,r=t._wrappedBuiltIns;if(n.xhr&&"XMLHttpRequest"in T){var o=XMLHttpRequest.prototype;w(o,"open",function(e){return function(n,r){return u(r)&&r.indexOf(t._globalKey)===-1&&(this.__raven_xhr={method:n,url:r,status_code:null}),e.apply(this,arguments)}},r),w(o,"send",function(n){return function(r){function o(){if(i.__raven_xhr&&(1===i.readyState||4===i.readyState)){try{i.__raven_xhr.status_code=i.status}catch(e){}t.captureBreadcrumb({type:"http",category:"xhr",data:i.__raven_xhr})}}for(var i=this,u=["onload","onerror","onprogress"],s=0;u.length>s;s++)e(u[s],i);return"onreadystatechange"in i&&a(i.onreadystatechange)?w(i,"onreadystatechange",function(e){return t.wrap(e,void 0,o)}):i.onreadystatechange=o,n.apply(this,arguments)}},r)}n.xhr&&"fetch"in T&&w(T,"fetch",function(e){return function(n,r){for(var o=Array(arguments.length),i=0;o.length>i;++i)o[i]=arguments[i];var a="GET";o[1]&&o[1].method&&(a=o[1].method);var u={method:a,url:o[0],status_code:null};return t.captureBreadcrumb({type:"http",category:"fetch",data:u}),e.apply(this,o).then(function(e){return u.status_code=e.status,e})}},r),n.dom&&this._hasDocument&&(P.addEventListener?(P.addEventListener("click",t._breadcrumbEventHandler("click"),!1),P.addEventListener("keypress",t._keypressEventHandler(),!1)):(P.attachEvent("onclick",t._breadcrumbEventHandler("click")),P.attachEvent("onkeypress",t._keypressEventHandler())));var i=T.chrome,s=i&&i.app&&i.app.runtime,c=!s&&T.history&&history.pushState;if(n.location&&c){var l=T.onpopstate;T.onpopstate=function(){var e=t._location.href;if(t._captureUrlChange(t._lastHref,e),l)return l.apply(this,arguments)},w(history,"pushState",function(e){return function(){var n=arguments.length>2?arguments[2]:void 0;return n&&t._captureUrlChange(t._lastHref,n+""),e.apply(this,arguments)}},r)}if(n.console&&"console"in T&&console.log){var p=function(e,n){t.captureBreadcrumb({message:e,level:n.level,category:"console"})};f(["debug","info","warn","error","log"],function(e,t){S(console,t,p)})}},_restoreBuiltIns:function(){for(var e;this._wrappedBuiltIns.length;){e=this._wrappedBuiltIns.shift();var t=e[0],n=e[1],r=e[2];t[n]=r}},_drainPlugins:function(){var e=this;f(this._plugins,function(t,n){var r=n[0],o=n[1];r.apply(e,[e].concat(o))})},_parseDSN:function(e){var t=E.exec(e),n={},r=7;try{for(;r--;)n[O[r]]=t[r]||""}catch(t){throw new x("Invalid DSN: "+e)}if(n.pass&&!this._globalOptions.allowSecretKey)throw new x("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return n},_getGlobalServer:function(e){var t="//"+e.host+(e.port?":"+e.port:"");return e.protocol&&(t=e.protocol+":"+t),t},_handleOnErrorStackInfo:function(){this._ignoreOnError||this._handleStackInfo.apply(this,arguments)},_handleStackInfo:function(e,t){var n=this._prepareFrames(e,t);this._triggerEvent("handle",{stackInfo:e,options:t}),this._processException(e.name,e.message,e.url,e.lineno,n,t)},_prepareFrames:function(e,t){var n=this,r=[];if(e.stack&&e.stack.length&&(f(e.stack,function(e,t){var o=n._normalizeFrame(t);o&&r.push(o)}),t&&t.trimHeadFrames))for(var o=0;t.trimHeadFrames>o&&r.length>o;o++)r[o].in_app=!1;return r=r.slice(0,this._globalOptions.stackTraceLimit)},_normalizeFrame:function(e){if(e.url){var t={filename:e.url,lineno:e.line,colno:e.column,function:e.func||"?"};return t.in_app=!(this._globalOptions.includePaths.test&&!this._globalOptions.includePaths.test(t.filename)||/(Raven|TraceKit)\./.test(t.function)||/raven\.(min\.)?js$/.test(t.filename)),t}},_processException:function(e,t,n,r,o,i){var a;if((!this._globalOptions.ignoreErrors.test||!this._globalOptions.ignoreErrors.test(t))&&(t+="",o&&o.length?(n=o[0].filename||n,o.reverse(),a={frames:o}):n&&(a={frames:[{filename:n,lineno:r,in_app:!0}]}),(!this._globalOptions.ignoreUrls.test||!this._globalOptions.ignoreUrls.test(n))&&(!this._globalOptions.whitelistUrls.test||this._globalOptions.whitelistUrls.test(n)))){var u=p({exception:{values:[{type:e,value:t,stacktrace:a}]},culprit:n},i);this._send(u)}},_trimPacket:function(e){var t=this._globalOptions.maxMessageLength;if(e.message&&(e.message=d(e.message,t)),e.exception){var n=e.exception.values[0];n.value=d(n.value,t)}return e},_getHttpData:function(){if(this._hasDocument&&P.location&&P.location.href){var e={headers:{"User-Agent":navigator.userAgent}};return e.url=P.location.href,P.referrer&&(e.headers.Referer=P.referrer),e}},_send:function(e){var t=this._globalOptions,n={project:this._globalProject,logger:t.logger,platform:"javascript"},o=this._getHttpData();o&&(n.request=o),e.trimHeadFrames&&delete e.trimHeadFrames,e=p(n,e),e.tags=p(p({},this._globalContext.tags),e.tags),e.extra=p(p({},this._globalContext.extra),e.extra),e.extra["session:duration"]=r()-this._startTime,this._breadcrumbs&&this._breadcrumbs.length>0&&(e.breadcrumbs={values:[].slice.call(this._breadcrumbs,0)}),c(e.tags)&&delete e.tags,this._globalContext.user&&(e.user=this._globalContext.user),t.environment&&(e.environment=t.environment),t.release&&(e.release=t.release),t.serverName&&(e.server_name=t.serverName),a(t.dataCallback)&&(e=t.dataCallback(e)||e),e&&!c(e)&&(a(t.shouldSendCallback)&&!t.shouldSendCallback(e)||this._sendProcessedPayload(e))},_getUuid:function(){return g()},_sendProcessedPayload:function(e,t){var n=this,r=this._globalOptions;if(this._lastEventId=e.event_id||(e.event_id=this._getUuid()),e=this._trimPacket(e),this._logDebug("debug","Raven about to send:",e),this.isSetup()){var o={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this._globalKey};this._globalSecret&&(o.sentry_secret=this._globalSecret);var i=e.exception&&e.exception.values[0];this.captureBreadcrumb({category:"sentry",message:i?(i.type?i.type+": ":"")+i.value:e.message,event_id:e.event_id,level:e.level||"error"});var a=this._globalEndpoint;(r.transport||this._makeRequest).call(this,{url:a,auth:o,data:e,options:r,onSuccess:function(){n._triggerEvent("success",{data:e,src:a}),t&&t()},onError:function(r){n._triggerEvent("failure",{data:e,src:a}),r=r||Error("Raven send failed (no additional details provided)"),t&&t(r)}})}},_makeRequest:function(e){function t(){200===n.status?e.onSuccess&&e.onSuccess():e.onError&&e.onError(Error("Sentry error code: "+n.status))}var n=new XMLHttpRequest,r="withCredentials"in n||"undefined"!=typeof XDomainRequest;if(r){var o=e.url;"withCredentials"in n?n.onreadystatechange=function(){4===n.readyState&&t()}:(n=new XDomainRequest,o=o.replace(/^https?:/,""),n.onload=t),n.open("POST",o+"?"+m(e.auth)),n.send(C(e.data))}},_logDebug:function(e){this._originalConsoleMethods[e]&&this.debug&&Function.prototype.apply.call(this._originalConsoleMethods[e],this._originalConsole,[].slice.call(arguments,1))},_mergeContext:function(e,t){i(t)?delete this._globalContext[e]:this._globalContext[e]=p(this._globalContext[e]||{},t)}};var A=Object.prototype;"undefined"!=typeof __DEV__&&__DEV__&&(o.utils={isUndefined:i,isFunction:a,isString:u,isObject:s,isEmptyObject:c,isError:l,each:f,objectMerge:p,truncate:d,hasKey:h,joinRegExp:v,urlencode:m,uuid4:g,htmlTreeAsString:_,htmlElementAsString:b,parseUrl:y,fill:w}),o.prototype.setUser=o.prototype.setUserContext,o.prototype.setReleaseContext=o.prototype.setRelease,e.exports=o},function(e,t,n){"use strict";var r=n(89),o=window.Raven,i=new r;i.noConflict=function(){return window.Raven=o,i},i.afterLoad(),e.exports=i},function(e,t){"use strict";function n(){return"undefined"==typeof document?"":document.location.href}var r={collectWindowErrors:!0,debug:!1},o=[].slice,i="?",a=/^(?:Uncaught (?:exception: )?)?((?:Eval|Internal|Range|Reference|Syntax|Type|URI)Error): ?(.*)$/;r.report=function(){function e(e){l(),m.push(e)}function t(e){for(var t=m.length-1;t>=0;--t)m[t]===e&&m.splice(t,1)}function u(){f(),m=[]}function s(e,t){var n=null;if(!t||r.collectWindowErrors){for(var i in m)if(m.hasOwnProperty(i))try{m[i].apply(null,[e].concat(o.call(arguments,2)))}catch(e){n=e}if(n)throw n}}function c(e,t,o,u,c){var l=null;if(_)r.computeStackTrace.augmentStackTraceWithInitialElement(_,t,o,e),p();else if(c)l=r.computeStackTrace(c),s(l,!0);else{var f,d={url:t,line:o,column:u},v=void 0,m=e;if("[object String]"==={}.toString.call(e)){var f=e.match(a);f&&(v=f[1],m=f[2])}d.func=i,l={name:v,message:m,url:n(),stack:[d]},s(l,!0)}return!!h&&h.apply(this,arguments)}function l(){v||(h=window.onerror,window.onerror=c,v=!0)}function f(){v&&(window.onerror=h,v=!1,h=void 0)}function p(){var e=_,t=y;y=null,_=null,g=null,s.apply(null,[e,!1].concat(t))}function d(e,t){var n=o.call(arguments,1);if(_){if(g===e)return;p()}var i=r.computeStackTrace(e);if(_=i,g=e,y=n,setTimeout(function(){g===e&&p()},i.incomplete?2e3:0),t!==!1)throw e}var h,v,m=[],y=null,g=null,_=null;return d.subscribe=e,d.unsubscribe=t,d.uninstall=u,d}(),r.computeStackTrace=function(){function e(e){if(void 0!==e.stack&&e.stack){for(var t,r,o=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,a=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|\[native).*?)(?::(\d+))?(?::(\d+))?\s*$/i,u=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,s=e.stack.split("\n"),c=[],l=(/^(.*) is undefined$/.exec(e.message),0),f=s.length;f>l;++l){if(t=o.exec(s[l])){var p=t[2]&&t[2].indexOf("native")!==-1;r={url:p?null:t[2],func:t[1]||i,args:p?[t[2]]:[],line:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}else if(t=u.exec(s[l]))r={url:t[2],func:t[1]||i,args:[],line:+t[3],column:t[4]?+t[4]:null};else{if(!(t=a.exec(s[l])))continue;r={url:t[3],func:t[1]||i,args:t[2]?t[2].split(","):[],line:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}!r.func&&r.line&&(r.func=i),c.push(r)}return c.length?(c[0].column||void 0===e.columnNumber||(c[0].column=e.columnNumber+1),{name:e.name,message:e.message,url:n(),stack:c}):null}}function t(e,t,n,r){var o={url:t,line:n};if(o.url&&o.line){if(e.incomplete=!1,o.func||(o.func=i),e.stack.length>0&&e.stack[0].url===o.url){if(e.stack[0].line===o.line)return!1;if(!e.stack[0].line&&e.stack[0].func===o.func)return e.stack[0].line=o.line,!1}return e.stack.unshift(o),e.partial=!0,!0}return e.incomplete=!0,!1}function o(e,u){for(var s,c,l=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,f=[],p={},d=!1,h=o.caller;h&&!d;h=h.caller)if(h!==a&&h!==r.report){if(c={url:null,func:i,line:null,column:null},h.name?c.func=h.name:(s=l.exec(""+h))&&(c.func=s[1]),void 0===c.func)try{c.func=s.input.substring(0,s.input.indexOf("{"))}catch(e){}p[""+h]?d=!0:p[""+h]=!0,f.push(c)}u&&f.splice(0,u);var v={name:e.name,message:e.message,url:n(),stack:f};return t(v,e.sourceURL||e.fileName,e.line||e.lineNumber,e.message||e.description),v}function a(t,i){var a=null;i=null==i?0:+i;try{if(a=e(t))return a}catch(e){if(r.debug)throw e}try{if(a=o(t,i+1))return a}catch(e){if(r.debug)throw e}return{name:t.name,message:t.message,url:n()}}return a.augmentStackTraceWithInitialElement=t,a.computeStackTraceFromStackProp=e,a}(),e.exports=r},function(e,t){e.exports="(function(window, document) {\n 'use strict';\n\n var Woopra = {},\n _on,\n _handler = [],\n _download_tracking = false,\n _download_pause,\n _outgoing_tracking = false,\n _outgoing_pause,\n _auto_decorate,\n _outgoing_ignore_subdomain = true;\n\n /**\n * Constants\n */\n var VERSION = 11;\n var ENDPOINT = 'woopra.com/track/';\n var XDM_PARAM_NAME = '__woopraid';\n\n /**\n * addEventListener polyfill 1.0 / Eirik Backer / MIT Licence\n * https://gist.github.com/eirikbacker/2864711\n * removeEventListener from https://gist.github.com/jonathantneal/3748027\n */\n /*eslint-disable*/\n (function(win, doc){\n if (win.addEventListener) return;\t\t//No need to polyfill\n\n var listeners = [];\n\n function docHijack(p){var old = doc[p];doc[p] = function(v){return addListen(old(v))}}\n function addEvent(on, fn, self) {\n self = this;\n\n listeners.unshift([self, on, fn, function(e) {\n var e = e || win.event;\n e.preventDefault = e.preventDefault || function(){e.returnValue = false}\n e.stopPropagation = e.stopPropagation || function(){e.cancelBubble = true}\n e.currentTarget = self;\n e.target = e.srcElement || self;\n fn.call(self, e);\n }]);\n\n return this.attachEvent('on' + on, listeners[0][3])\n }\n\n function removeEvent(on, fn) {\n for (var index = 0, register; register = listeners[index]; ++index) {\n if (register[0] == this && register[1] == on && register[2] == fn) {\n return this.detachEvent(\"on\" + on, listeners.splice(index, 1)[0][3]);\n }\n }\n }\n\n function addListen(obj, i){\n if (obj && (i = obj.length)) {\n while(i--) {\n obj[i].addEventListener = addEvent;\n obj[i].removeEventListener = removeEvent;\n }\n }\n else if (obj) {\n obj.addEventListener = addEvent;\n obj.removeEventListener = removeEvent;\n }\n\n return obj;\n }\n\n addListen([doc, win]);\n if ('Element' in win) {\n // IE 8\n win.Element.prototype.addEventListener = addEvent;\n win.Element.prototype.removeEventListener = removeEvent;\n }\n else {\n // IE < 8\n //Make sure we also init at domReady\n doc.attachEvent('onreadystatechange', function(){addListen(doc.all)});\n docHijack('getElementsByTagName');\n docHijack('getElementById');\n docHijack('createElement');\n addListen(doc.all);\n }\n })(window, document);\n\n /**\n * Array.prototype.indexOf polyfill via\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/indexOf\n */\n if (!Array.prototype.indexOf) {\n Array.prototype.indexOf = function (searchElement, fromIndex) {\n if ( this === undefined || this === null ) {\n throw new TypeError( '\"this\" is null or not defined' );\n }\n\n var length = this.length >>> 0; // Hack to convert object.length to a UInt32\n\n fromIndex = +fromIndex || 0;\n\n if (Math.abs(fromIndex) === Infinity) {\n fromIndex = 0;\n }\n\n if (fromIndex < 0) {\n fromIndex += length;\n if (fromIndex < 0) {\n fromIndex = 0;\n }\n }\n\n for (;fromIndex < length; fromIndex++) {\n if (this[fromIndex] === searchElement) {\n return fromIndex;\n }\n }\n\n return -1;\n };\n }\n\n /**\n * Helper functions\n */\n Woopra.extend = function(o1, o2) {\n for (var key in o2) {\n o1[key] = o2[key];\n }\n };\n\n // https://code.google.com/p/form-serialize/\n // modified to return an object\n Woopra.serializeForm = function(form, options) {\n if (!form || form.nodeName !== \"FORM\") {\n return;\n }\n var _options = options || {};\n var _exclude = _options.exclude || [];\n var i, j, data = {};\n for (i = form.elements.length - 1; i >= 0; i = i - 1) {\n if (form.elements[i].name === \"\" || _exclude.indexOf(form.elements[i].name) > -1) {\n continue;\n }\n switch (form.elements[i].nodeName) {\n case 'INPUT':\n switch (form.elements[i].type) {\n case 'text':\n case 'hidden':\n case 'button':\n case 'reset':\n case 'submit':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'checkbox':\n case 'radio':\n if (form.elements[i].checked) {\n data[form.elements[i].name] = form.elements[i].value;\n }\n break;\n case 'file':\n break;\n }\n break;\n case 'TEXTAREA':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'SELECT':\n switch (form.elements[i].type) {\n case 'select-one':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n case 'select-multiple':\n for (j = form.elements[i].options.length - 1; j >= 0; j = j - 1) {\n if (form.elements[i].options[j].selected) {\n data[form.elements[i].name] = form.elements[i].options[j].value;\n }\n }\n break;\n }\n break;\n case 'BUTTON':\n switch (form.elements[i].type) {\n case 'reset':\n case 'submit':\n case 'button':\n data[form.elements[i].name] = form.elements[i].value;\n break;\n }\n break;\n }\n }\n return data;\n };\n\n /*\\\n |*|\n |*| :: cookies.js ::\n |*|\n |*| A complete cookies reader/writer framework with full unicode support.\n |*|\n |*| Revision #1 - September 4, 2014\n |*|\n |*| https://developer.mozilla.org/en-US/docs/Web/API/document.cookie\n |*| https://developer.mozilla.org/User:fusionchess\n |*|\n |*| This framework is released under the GNU Public License, version 3 or later.\n |*| http://www.gnu.org/licenses/gpl-3.0-standalone.html\n |*|\n |*| Syntaxes:\n |*|\n |*| * docCookies.setItem(name, value[, end[, path[, domain[, secure]]]])\n |*| * docCookies.getItem(name)\n |*| * docCookies.removeItem(name[, path[, domain]])\n |*| * docCookies.hasItem(name)\n |*| * docCookies.keys()\n |*|\n \\*/\n var docCookies = {\n getItem: function (sKey) {\n if (!sKey) { return null; }\n return decodeURIComponent(document.cookie.replace(new RegExp(\"(?:(?:^|.*;)\\\\s*\" + encodeURIComponent(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\\\\s*([^;]*).*$)|^.*$\"), \"$1\")) || null;\n },\n setItem: function (sKey, sValue, vEnd, sPath, sDomain, bSecure) {\n if (!sKey || /^(?:expires|max\\-age|path|domain|secure)$/i.test(sKey)) { return false; }\n var sExpires = \"\";\n if (vEnd) {\n switch (vEnd.constructor) {\n case Number:\n sExpires = vEnd === Infinity ? \"; expires=Fri, 31 Dec 9999 23:59:59 GMT\" : \"; max-age=\" + vEnd;\n break;\n case String:\n sExpires = \"; expires=\" + vEnd;\n break;\n case Date:\n sExpires = \"; expires=\" + vEnd.toUTCString();\n break;\n }\n }\n document.cookie = encodeURIComponent(sKey) + \"=\" + encodeURIComponent(sValue) + sExpires + (sDomain ? \"; domain=\" + sDomain : \"\") + (sPath ? \"; path=\" + sPath : \"\") + (bSecure ? \"; secure\" : \"\");\n return true;\n },\n removeItem: function (sKey, sPath, sDomain) {\n if (!this.hasItem(sKey)) { return false; }\n document.cookie = encodeURIComponent(sKey) + \"=; expires=Thu, 01 Jan 1970 00:00:00 GMT\" + (sDomain ? \"; domain=\" + sDomain : \"\") + (sPath ? \"; path=\" + sPath : \"\");\n return true;\n },\n hasItem: function (sKey) {\n if (!sKey) { return false; }\n return (new RegExp(\"(?:^|;\\\\s*)\" + encodeURIComponent(sKey).replace(/[\\-\\.\\+\\*]/g, \"\\\\$&\") + \"\\\\s*\\\\=\")).test(document.cookie);\n },\n keys: function () {\n var aKeys = document.cookie.replace(/((?:^|\\s*;)[^\\=]+)(?=;|$)|^\\s*|\\s*(?:\\=[^;]*)?(?:\\1|$)/g, \"\").split(/\\s*(?:\\=[^;]*)?;\\s*/);\n for (var nLen = aKeys.length, nIdx = 0; nIdx < nLen; nIdx++) { aKeys[nIdx] = decodeURIComponent(aKeys[nIdx]); }\n return aKeys;\n }\n };\n\n Woopra.docCookies = docCookies;\n /*eslint-enable*/\n\n /**\n * Wrapper for window.location\n */\n Woopra.location = function(property, value) {\n // make sure property is valid\n if (typeof window.location[property] !== 'undefined') {\n if (typeof value !== 'undefined') {\n window.location[property] = value;\n }\n else {\n return window.location[property];\n }\n }\n };\n\n /**\n * Parses current URL for parameters that start with either `utm_` or `woo_`\n * and have the keys `source`, `medium`, `content`, `campaign`, `term`\n *\n * @return {Object} Returns an object with campaign keys as keys\n */\n Woopra.getCampaignData = function() {\n var vars = Woopra.getUrlParams(),\n campaign = {},\n campaignKeys = ['source', 'medium', 'content', 'campaign', 'term'],\n key,\n value;\n\n for (var i = 0; i < campaignKeys.length; i++) {\n key = campaignKeys[i];\n value = vars['utm_' + key] || vars['woo_' + key];\n\n if (typeof value !== 'undefined') {\n campaign['campaign_' + (key === 'campaign' ? 'name' : key)] = value;\n }\n }\n\n return campaign;\n };\n\n Woopra.mapQueryParams = function(mapping) {\n var vars = Woopra.getUrlParams(),\n params = {};\n\n for (var key in mapping) {\n var value = vars[key];\n if (typeof value !== 'undefined') {\n params[mapping[key]] = value;\n }\n }\n\n return params;\n }\n\n\n /**\n * Parses the URL parameters for data beginning with a certain prefix\n *\n * @param {Function} method The callback method for each key found matching `prefix`\n * @param {string} prefix The prefix that the parameter should start with\n */\n Woopra.getCustomData = function(method, prefix) {\n var vars = Woopra.getUrlParams(),\n i,\n _prefix = prefix || 'wv_',\n key,\n value;\n\n for (i in vars) {\n if (vars.hasOwnProperty(i)) {\n value = vars[i];\n\n if (i.substring(0, _prefix.length) === _prefix) {\n key = i.substring(_prefix.length);\n method.call(this, key, value);\n }\n }\n }\n };\n\n /**\n * Parses Visitor Data in the URL.\n *\n * Query params that start with 'wv_'\n */\n Woopra.getVisitorUrlData = function(context) {\n Woopra.getCustomData.call(context, context.identify, 'wv_');\n };\n\n\n /**\n * Hides any campaign data (query params: wv_, woo_, utm_) from the URL\n * by using pushState (if available)\n */\n Woopra.hideCampaignData = function() {\n return Woopra.hideUrlParams(['wv_', 'woo_', 'utm_']);\n };\n Woopra.hideCrossDomainId = function() {\n return Woopra.hideUrlParams([XDM_PARAM_NAME]);\n };\n\n /**\n * Hides any URL parameters by calling window.history.replaceState\n *\n * @param {Array} params A list of parameter prefixes that will be hidden\n * @return {String} Returns the new URL that will be used\n */\n Woopra.hideUrlParams = function(params) {\n var regex = new RegExp('[?&]+((?:' + params.join('|') + ')[^=&]*)=([^&#]*)', 'gi');\n var href = Woopra.location('href').replace(regex, '');\n\n if (window.history && window.history.replaceState) {\n window.history.replaceState(null, null, href);\n }\n\n return href;\n };\n\n /**\n * Retrieves the current URL parameters as an object\n *\n * @return {Object} An object for all of the URL parameters\n */\n Woopra.getUrlParams = function() {\n var vars = {};\n var href = Woopra.location('href');\n\n if (href) {\n href.replace(/[?&]+([^=&]+)=([^&]*)/gi, function(m, key, value) {\n vars[key] = decodeURIComponent(value.split('+').join(' '));\n });\n }\n return vars;\n };\n\n Woopra.buildUrlParams = function(params, prefix) {\n var _prefix = prefix || '',\n key,\n p = [];\n\n if (typeof params === 'undefined') {\n return params;\n }\n\n for (key in params) {\n if (params.hasOwnProperty(key)) {\n if (params[key] !== 'undefined' &&\n params[key] !== 'null' &&\n typeof params[key] !== 'undefined') {\n p.push(_prefix + encodeURIComponent(key) + '=' + encodeURIComponent(params[key]));\n }\n }\n }\n return p.join('&');\n };\n\n /**\n * Generates a random 12 character string\n *\n * @return {String} Returns a random 12 character string\n */\n Woopra.randomString = function() {\n var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz',\n i,\n rnum,\n s = '';\n\n for (i = 0; i < 12; i++) {\n rnum = Math.floor(Math.random() * chars.length);\n s += chars.substring(rnum, rnum + 1);\n }\n\n return s;\n };\n\n Woopra.loadScript = function(url, callback) {\n var ssc,\n _callback,\n script = document.createElement('script');\n\n script.type = 'text/javascript';\n script.async = true;\n\n if (callback && typeof callback === 'function') {\n _callback = callback;\n }\n\n if (typeof script.onreadystatechange !== 'undefined') {\n script.onreadystatechange = function() {\n if (this.readyState === 4 ||\n this.readyState === 'complete' ||\n this.readyState === 'loaded') {\n if (_callback) {\n _callback();\n }\n Woopra.removeScript(script);\n }\n };\n }\n else {\n script.onload = function() {\n if (_callback) {\n _callback();\n }\n Woopra.removeScript(script);\n };\n script.onerror = function() {\n Woopra.removeScript(script);\n };\n }\n\n script.src = url;\n\n ssc = document.getElementsByTagName('script')[0];\n ssc.parentNode.insertBefore(script, ssc);\n };\n\n Woopra.removeScript = function(script) {\n if (script && script.parentNode) {\n script.parentNode.removeChild(script);\n }\n };\n\n /**\n * Helper to either query an element by id, or return element if passed\n * through options\n *\n * Supports searching by ids and classnames (or querySelector if browser supported)\n */\n Woopra.getElement = function(selector, options) {\n var _options = typeof selector === 'string' ? options || {} : selector || {};\n var _selector = selector;\n\n if (_options.el) {\n return _options.el;\n }\n else if (typeof selector === 'string') {\n if (document.querySelectorAll) {\n return document.querySelectorAll(_selector);\n }\n else if (selector[0] === '#') {\n _selector = selector.substr(1);\n return document.getElementById(_selector);\n }\n else if (selector[0] === '.') {\n _selector = selector.substr(1);\n return document.getElementsByClassName(_selector);\n }\n }\n };\n\n /**\n * Retrieves the current client domain name using the hostname\n * and returning the last two tokens with a `.` separator (domain + tld).\n *\n * This can be an issue if there is a second level domain\n */\n Woopra.getDomain = function(hostname) {\n var _hostname = hostname || Woopra.location('hostname');\n var secondLevelTlds = {\n 'com.au': 1,\n 'net.au': 1,\n 'org.au': 1,\n 'co.hu': 1,\n 'com.ru': 1,\n 'ac.za': 1,\n 'net.za': 1,\n 'com.za': 1,\n 'co.za': 1,\n 'co.uk': 1,\n 'org.uk': 1,\n 'me.uk': 1,\n 'net.uk': 1\n };\n var domain = _hostname.substring(_hostname.lastIndexOf('.', _hostname.lastIndexOf('.') - 1) + 1);\n\n // check if domain is in list of second level domains, ignore if so\n if (secondLevelTlds[domain]) {\n domain = _hostname.substring(_hostname.lastIndexOf('.', _hostname.indexOf(domain) - 2) + 1);\n }\n\n return domain;\n };\n\n /**\n * Returns the current hostname with 'www' stripped out\n */\n Woopra.getHostnameNoWww = function() {\n var hostname = Woopra.location('hostname');\n\n if (hostname.indexOf('www.') === 0) {\n return hostname.replace('www.', '');\n }\n\n return hostname;\n };\n\n /**\n * Checks if string ends with suffix\n *\n * @param {string} str The haystack string\n * @param {string} suffix The needle\n * @return {boolean} True if needle was found in haystack\n */\n Woopra.endsWith = function(str, suffix) {\n return str.indexOf(suffix, str.length - suffix.length) !== -1;\n };\n\n /**\n * Checks if string starts with prefix\n *\n * @param {string} str The haystack string\n * @param {string} prefix The needle\n * @return {boolean} True if needle was found in haystack\n */\n Woopra.startsWith = function(str, prefix) {\n return str.indexOf(prefix) === 0;\n };\n\n _on = Woopra._on = function(parent, event, callback) {\n var id = parent.instanceName;\n\n if (!_handler[event]) {\n _handler[event] = {};\n }\n _handler[event][id] = parent;\n\n if (parent.__l) {\n if (!parent.__l[event]) {\n parent.__l[event] = [];\n }\n parent.__l[event].push(callback);\n }\n };\n\n Woopra._fire = function(event) {\n var handler;\n var _event = _handler[event];\n var _l;\n\n if (_event) {\n for (var id in _event) {\n if (_event.hasOwnProperty(id)) {\n handler = _event[id];\n _l = handler && handler.__l;\n if (_l && _l[event]) {\n for (var i = 0; i < _l[event].length; i++) {\n _l[event][i].apply(this, Array.prototype.slice.call(arguments, 1));\n }\n }\n\n }\n }\n }\n };\n\n Woopra.attachEvent = function(element, type, callback) {\n if (element.addEventListener) {\n element.addEventListener(type, callback);\n }\n else if (element.attachEvent) {\n /*eslint-disable*/\n element.attachEvent('on' + type, function(e) {\n var e = e || win.event;\n e.preventDefault = e.preventDefault || function() {e.returnValue = false};\n e.stopPropagation = e.stopPropagation || function() {e.cancelBubble = true};\n callback.call(self, e);\n });\n /*eslint-enable*/\n }\n };\n\n Woopra.leftClick = function(evt) {\n evt = evt || window.event;\n var button = (typeof evt.which !== 'undefined' && evt.which === 1) ||\n (typeof evt.button !== 'undefined' && evt.button === 0);\n return button && !evt.metaKey && !evt.altKey && !evt.ctrlKey && !evt.shiftKey;\n };\n\n Woopra.redirect = function(link) {\n Woopra.location('href', link);\n };\n\n /**\n * Determines if the current URL should be considered an outgoing URL\n */\n Woopra.isOutgoingLink = function(targetHostname) {\n var currentHostname = Woopra.location('hostname');\n var currentDomain = Woopra.getDomain(currentHostname);\n\n return targetHostname !== currentHostname &&\n targetHostname.replace(/^www\\./, '') !== currentHostname.replace(/^www\\./, '') &&\n (\n !_outgoing_ignore_subdomain ||\n currentDomain !== Woopra.getDomain(targetHostname)\n ) &&\n !Woopra.startsWith(targetHostname, 'javascript') &&\n targetHostname !== '' &&\n targetHostname !== '#';\n };\n\n // attaches any events\n // needs to be handled here, instead of in a tracking instance because\n // these events should only be fired once on a page\n (function(on, fire) {\n on(document, 'mousedown', function(e) {\n var cElem;\n\n fire('mousemove', e, new Date());\n\n if (_auto_decorate) {\n cElem = e.srcElement || e.target;\n while (typeof cElem !== 'undefined' && cElem !== null) {\n if (cElem.tagName && cElem.tagName.toLowerCase() === 'a') {\n break;\n }\n cElem = cElem.parentNode;\n }\n if (typeof cElem !== 'undefined' && cElem !== null) {\n fire('auto_decorate', cElem);\n }\n }\n });\n\n on(document, 'click', function(e) {\n var cElem,\n link,\n ignoreTarget = '_blank',\n _download;\n\n cElem = e.srcElement || e.target;\n\n if (Woopra.leftClick(e)) {\n fire('click', e, cElem);\n }\n\n if (_download_tracking || _outgoing_tracking) {\n\n // searches for an anchor element\n while (typeof cElem !== 'undefined' && cElem !== null) {\n if (cElem.tagName && cElem.tagName.toLowerCase() === 'a') {\n break;\n }\n cElem = cElem.parentNode;\n }\n\n if (typeof cElem !== 'undefined' && cElem !== null &&\n !cElem.getAttribute('data-woopra-tracked')) {\n link = cElem;\n _download = link.pathname.match(/(?:doc|dmg|eps|svg|xls|ppt|pdf|xls|zip|txt|vsd|vxd|js|css|rar|exe|wma|mov|avi|wmv|mp3|mp4|m4v)($|\\&)/);\n\n if (_download_tracking && _download) {\n fire('download', link.href);\n\n if (link.target !== ignoreTarget && Woopra.leftClick(e)) {\n e.preventDefault();\n e.stopPropagation();\n\n link.setAttribute('data-woopra-tracked', true);\n window.setTimeout(function() {\n link.click();\n }, _download_pause);\n }\n }\n // Make sure\n // * outgoing tracking is enabled\n // * this URL does not match a download URL (doesn't end\n // in a binary file extension)\n // * not ignoring subdomains OR link hostname is not a partial\n // match of current hostname (to check for subdomains),\n // * hostname is not empty\n if (_outgoing_tracking &&\n !_download &&\n Woopra.isOutgoingLink(link.hostname)) {\n fire('outgoing', link.href);\n\n if (link.target !== ignoreTarget && Woopra.leftClick(e)) {\n e.preventDefault();\n e.stopPropagation();\n\n link.setAttribute('data-woopra-tracked', true);\n\n window.setTimeout(function() {\n link.click();\n }, _outgoing_pause);\n }\n }\n }\n }\n });\n\n on(document, 'mousemove', function(e) {\n fire('mousemove', e, new Date());\n });\n\n on(document, 'keydown', function() {\n fire('keydown');\n });\n })(Woopra.attachEvent, Woopra._fire);\n\n var Tracker = function(instanceName) {\n this.visitorData = {};\n this.sessionData = {};\n\n this.options = {\n app: 'js-client',\n use_cookies: true,\n ping: true,\n ping_interval: 12000,\n idle_timeout: 300000,\n idle_threshold: 10000,\n download_pause: _download_pause || 200,\n outgoing_pause: _outgoing_pause || 200,\n download_tracking: false,\n outgoing_tracking: false,\n outgoing_ignore_subdomain: true,\n hide_campaign: false,\n hide_xdm_data: false,\n campaign_once: false,\n third_party: false,\n save_url_hash: true,\n cross_domain: false,\n region: null,\n ignore_query_url: false,\n map_query_params: {},\n cookie_name: 'wooTracker',\n cookie_domain: '.' + Woopra.getHostnameNoWww(),\n cookie_path: '/',\n cookie_expire: new Date(new Date().setDate(new Date().getDate() + 730))\n };\n\n this.instanceName = instanceName || 'woopra';\n this.idle = 0;\n this.cookie = '';\n this.last_activity = new Date();\n this.loaded = false;\n this.dirtyCookie = false;\n this.sentCampaign = false;\n this.version = VERSION;\n\n if (instanceName && instanceName !== '') {\n window[instanceName] = this;\n }\n };\n\n Tracker.prototype = {\n docCookies: docCookies,\n init: function() {\n var callback,\n self = this;\n\n this.__l = {};\n this._processQueue('config');\n this._setupCookie();\n this._bindEvents();\n\n // Otherwise loading indicator gets stuck until the every response\n // in the queue has been received\n setTimeout(function() {\n self._processQueue();\n }, 1);\n\n this.loaded = true;\n\n callback = this.config('initialized');\n if (callback && typeof callback === 'function') {\n callback(this.instanceName);\n }\n\n // Safe to remove cross domain url parameter after setupCookie is called\n // Should only need to be called once on load\n if (this.config('hide_xdm_data')) {\n Woopra.hideCrossDomainId();\n }\n\n },\n\n /**\n * Processes the tracker queue in case user tries to push events\n * before tracker is ready.\n */\n _processQueue: function(type) {\n var i,\n action,\n events,\n _wpt;\n\n _wpt = window.__woo ? window.__woo[this.instanceName] : _wpt;\n _wpt = window._w ? window._w[this.instanceName] : _wpt;\n\n // if _wpt is undefined, means script was loaded asynchronously and\n // there is no queue\n\n if (_wpt && _wpt._e) {\n events = _wpt._e;\n for (i = 0; i < events.length; i++) {\n action = events[i];\n if (typeof action !== 'undefined' && this[action[0]] &&\n (typeof type === 'undefined' || type === action[0])) {\n this[action[0]].apply(this, Array.prototype.slice.call(action, 1));\n }\n }\n }\n },\n\n /**\n * Sets up the tracking cookie\n */\n _setupCookie: function() {\n var url_id = this.getUrlId();\n\n this.cookie = this.getCookie();\n\n // overwrite saved cookie if id is in url\n if (url_id) {\n this.cookie = url_id;\n }\n\n // Setup cookie\n if (!this.cookie || this.cookie.length < 1) {\n this.cookie = Woopra.randomString();\n }\n\n docCookies.setItem(\n this.config('cookie_name'),\n this.cookie,\n this.config('cookie_expire'),\n this.config('cookie_path'),\n this.config('cookie_domain')\n );\n\n this.dirtyCookie = true;\n },\n\n /**\n * Binds some events to measure mouse and keyboard events\n */\n _bindEvents: function() {\n var self = this;\n\n _on(this, 'mousemove', function() {\n self.moved.apply(self, arguments);\n });\n _on(this, 'keydown', function() {\n self.typed.apply(self, arguments);\n });\n _on(this, 'download', function() {\n self.downloaded.apply(self, arguments);\n });\n _on(this, 'outgoing', function() {\n self.outgoing.apply(self, arguments);\n });\n _on(this, 'auto_decorate', function() {\n self.autoDecorate.apply(self, arguments);\n });\n },\n\n /**\n * Sets/gets values from dataStore depending on arguments passed\n *\n * @param dataStore Object The tracker property to read/write\n * @param key String/Object Returns property object if key and value is undefined,\n * acts as a getter if only `key` is defined and a string, and\n * acts as a setter if `key` and `value` are defined OR if `key` is an object.\n */\n _dataSetter: function(dataStore, key, value) {\n var i;\n\n if (typeof key === 'undefined') {\n return dataStore;\n }\n\n if (typeof value === 'undefined') {\n if (typeof key === 'string') {\n return dataStore[key];\n }\n if (typeof key === 'object') {\n for (i in key) {\n if (key.hasOwnProperty(i)) {\n if (i.substring(0, 7) === 'cookie_') {\n this.dirtyCookie = true;\n }\n dataStore[i] = key[i];\n }\n }\n }\n }\n else {\n if (key.substring(0, 7) === 'cookie_') {\n this.dirtyCookie = true;\n }\n dataStore[key] = value;\n }\n\n return this;\n },\n\n /**\n * Builds the correct tracking Url and performs an HTTP request\n */\n _push: function(options) {\n var _options = options || {},\n random = 'ra=' + Woopra.randomString(),\n queryString,\n endpoint,\n urlParam,\n scriptUrl,\n types = [\n ['visitorData', 'cv_'],\n ['eventData', 'ce_'],\n ['sessionData', 'cs_']\n ],\n _type,\n i,\n data = [];\n\n endpoint = this.getEndpoint(_options.endpoint);\n\n // Load custom visitor params from url\n Woopra.getVisitorUrlData(this);\n\n if (this.config('hide_campaign')) {\n Woopra.hideCampaignData();\n }\n\n data.push(random);\n\n // push tracker config values\n data.push(Woopra.buildUrlParams(this.getOptionParams()));\n\n // push eventName if it exists\n if (_options.eventName) {\n data.push('event=' + _options.eventName);\n }\n\n for (i in types) {\n if (types.hasOwnProperty(i)) {\n _type = types[i];\n if (_options[_type[0]]) {\n urlParam = Woopra.buildUrlParams(_options[_type[0]], _type[1]);\n if (urlParam) {\n data.push(urlParam);\n }\n }\n }\n }\n\n queryString = '?' + data.join('&');\n\n scriptUrl = endpoint + queryString;\n Woopra.loadScript(scriptUrl, _options.callback);\n },\n\n /*\n * Returns the Woopra cookie string\n */\n getCookie: function() {\n return docCookies.getItem(this.config('cookie_name'));\n },\n\n /**\n * Generates a destination endpoint string to use depending on different\n * configuration options\n */\n getEndpoint: function(path) {\n var protocol = this.config('protocol');\n var _protocol = protocol && protocol !== '' ? protocol + ':' : '';\n var _path = path || '';\n var endpoint = _protocol + '//';\n var region = this.config('region');\n var thirdPartyPath;\n\n if (this.config('third_party') && !this.config('domain')) {\n throw new Error('Error: `domain` is not set.');\n }\n\n // create endpoint, default is www.woopra.com/track/\n // China region will be cn.t.woopra.com/track\n if (region) {\n endpoint += region + '.t.';\n }\n else {\n endpoint += 'www.';\n }\n\n thirdPartyPath = this.config('third_party') ? 'tp/' + this.config('domain') : '';\n\n if (_path && !Woopra.endsWith(_path, '/')) {\n _path += '/';\n }\n\n if (thirdPartyPath && !Woopra.startsWith(_path, '/')) {\n thirdPartyPath += '/';\n }\n\n endpoint += ENDPOINT + thirdPartyPath + _path;\n\n return endpoint;\n },\n\n /**\n * Sets configuration options\n */\n config: function(key, value) {\n var data = this._dataSetter(this.options, key, value);\n\n // dataSetter returns `this` when it is used as a setter\n if (data === this) {\n // do validation\n if (this.options.ping_interval < 6000) {\n this.options.ping_interval = 6000;\n }\n else if (this.options.ping_interval > 60000) {\n this.options.ping_interval = 60000;\n }\n\n // set script wide variables for events that are bound on script load\n // since we shouldn't bind per tracker instance\n _outgoing_tracking = this.options.outgoing_tracking;\n _outgoing_pause = this.options.outgoing_pause;\n _download_tracking = this.options.download_tracking;\n _download_pause = this.options.download_pause;\n _auto_decorate = typeof _auto_decorate === 'undefined' && this.options.cross_domain ? this.options.cross_domain : _auto_decorate;\n _outgoing_ignore_subdomain = this.options.outgoing_ignore_subdomain;\n\n if (this.dirtyCookie && this.loaded) {\n this._setupCookie();\n }\n }\n\n return data;\n },\n\n /**\n * Use to attach custom visit data that doesn't stick to visitor\n * ** Not in use yet\n */\n visit: function(key, value) {\n return this._dataSetter(this.sessionData, key, value);\n },\n\n /**\n * Attach custom visitor data\n */\n identify: function(key, value) {\n return this._dataSetter(this.visitorData, key, value);\n },\n\n /**\n * Generic method to call any tracker method\n */\n call: function(funcName) {\n if (this[funcName] && typeof this[funcName] === 'function') {\n this[funcName].apply(this, Array.prototype.slice.call(arguments, 1));\n }\n\n },\n\n /**\n * Send an event to tracking servr\n */\n track: function(name, options) {\n var event = {},\n eventName = '',\n cb,\n _hash,\n _cb = arguments[arguments.length - 1];\n\n // Load campaign params (load first to allow overrides)\n if (!this.config('campaign_once') || !this.sentCampaign) {\n Woopra.extend(event, Woopra.getCampaignData());\n this.sentCampaign = true;\n }\n\n // Load query params mapping into Woopra event\n Woopra.extend(event, Woopra.mapQueryParams(this.config('map_query_params')));\n\n\n if (typeof _cb === 'function') {\n cb = _cb;\n }\n // Track default: pageview\n if (typeof name === 'undefined' || name === cb) {\n eventName = 'pv';\n }\n // Track custom events\n else if (typeof options === 'undefined' || options === cb) {\n if (typeof name === 'string') {\n eventName = name;\n }\n if (typeof name === 'object') {\n if (name.name && name.name === 'pv') {\n eventName = 'pv';\n }\n\n this._dataSetter(event, name);\n }\n }\n // Track custom events in format of name,object\n else {\n this._dataSetter(event, options);\n eventName = name;\n }\n\n // Add some defaults for pageview\n if (eventName === 'pv') {\n event.url = event.url || this.getPageUrl();\n event.title = event.title || this.getPageTitle();\n event.domain = event.domain || this.getDomainName();\n event.uri = event.uri || this.getURI();\n\n if (this.config('save_url_hash')) {\n _hash = event.hash || this.getPageHash();\n if (_hash !== '') {\n event.hash = _hash;\n }\n }\n }\n\n this._push({\n endpoint: 'ce',\n visitorData: this.visitorData,\n sessionData: this.sessionData,\n eventName: eventName,\n eventData: event,\n callback: cb\n });\n\n this.startPing();\n },\n\n /**\n * Tracks a single form and then resubmits it\n */\n trackForm: function(eventName, selector, options) {\n var els;\n var _event = eventName || 'Tracked Form';\n var _options = typeof selector === 'string' ? options || {} : selector || {};\n var bindEl;\n var self = this;\n\n bindEl = function(el, ev, props, opts) {\n Woopra.attachEvent(el, 'submit', function(e) {\n self.trackFormHandler(e, el, ev, _options);\n });\n };\n\n if (_options.elements) {\n els = _options.elements;\n }\n else {\n els = Woopra.getElement(selector, _options);\n }\n\n // attach event if form was found\n if (els && els.length > 0) {\n for (var i in els) {\n bindEl(els[i], _event, _options);\n }\n }\n },\n\n trackFormHandler: function(e, el, eventName, options) {\n var data;\n var personData;\n var trackFinished = false;\n\n if (!el.getAttribute('data-tracked')) {\n data = Woopra.serializeForm(el, options);\n\n if (options.identify && typeof options.identify === 'function') {\n personData = options.identify(data) || {};\n if (personData) {\n this.identify(personData);\n }\n }\n\n if (options.noSubmit) {\n this.track(eventName, data, function() {\n if (typeof options.callback === 'function') {\n options.callback(data);\n }\n });\n }\n else {\n e.preventDefault();\n e.stopPropagation();\n\n el.setAttribute('data-tracked', 1);\n\n // submit the form if the reply takes less than 250ms\n this.track(eventName, data, function() {\n trackFinished = true;\n\n if (typeof options.callback === 'function') {\n options.callback(data);\n }\n\n el.submit();\n });\n\n // set timeout to resubmit to be a hard 250ms\n // so even if woopra does not reply it will still\n // submit the form\n setTimeout(function() {\n if (!trackFinished) {\n el.submit();\n }\n }, 250);\n }\n }\n },\n\n /**\n * Tracks clicks\n *\n * @param {String} eventName The name of the event to track\n * @param {String} selector The id of element to track\n * @param {Object} properties Any event properties to track with\n * @param {Object} options (Optional) Options object\n * @param {Array} options.elements Supports an array of elements (jQuery object)\n * @param {Boolean} options.noNav (Default: false) If true, will only perform the track event and let the click event bubble up\n */\n trackClick: function(eventName, selector, properties, options) {\n var els = [];\n var i;\n var _options = options || {};\n var _event = eventName || 'Item Clicked';\n var bindEl;\n var self = this;\n\n bindEl = function(el, ev, props, opts) {\n Woopra.attachEvent(el, 'click', function(e) {\n self.trackClickHandler(e, el, ev, props, opts);\n });\n };\n\n /**\n * Support an array of elements\n */\n if (_options.elements) {\n els = _options.elements;\n }\n else {\n els = Woopra.getElement(selector, _options);\n }\n\n if (els) {\n for (i = 0; i < els.length; i++) {\n bindEl(els[i], _event, properties, _options);\n }\n }\n },\n\n trackClickHandler: function(e, el, eventName, properties, options) {\n var trackFinished = false;\n\n if (!el.getAttribute('data-tracked')) {\n if (options.noNav) {\n this.track(eventName, properties);\n }\n else {\n e.preventDefault();\n\n el.setAttribute('data-tracked', 1);\n\n this.track(eventName, properties, function() {\n trackFinished = true;\n\n if (typeof options.callback === 'function') {\n options.callback();\n }\n\n el.click();\n });\n\n setTimeout(function() {\n if (!trackFinished) {\n el.click();\n }\n }, 250);\n }\n }\n },\n\n startPing: function() {\n var self = this;\n\n if (typeof this.pingInterval === 'undefined') {\n this.pingInterval = window.setInterval(function() {\n self.ping();\n }, this.config('ping_interval'));\n }\n },\n\n stopPing: function() {\n if (typeof this.pingInterval !== 'undefined') {\n window.clearInterval(this.pingInterval);\n delete this.pingInterval;\n }\n },\n\n /**\n * Pings tracker with visitor info\n */\n ping: function() {\n var now;\n\n if (this.config('ping') && this.idle < this.config('idle_timeout')) {\n this._push({\n endpoint: 'ping'\n });\n }\n else {\n this.stopPing();\n }\n\n now = new Date();\n if (now - this.last_activity > this.config('idle_threshold')) {\n this.idle = now - this.last_activity;\n }\n\n return this;\n },\n\n /**\n * Pushes visitor data to server without sending an event\n */\n push: function(cb) {\n this._push({\n endpoint: 'identify',\n visitorData: this.visitorData,\n sessionData: this.sessionData,\n callback: cb\n });\n return this;\n },\n\n /**\n * synchronous sleep\n */\n sleep: function() {\n },\n\n // User Action tracking and event handlers\n\n /**\n * Clicks\n */\n\n /**\n * Measure when the user last moved their mouse to update idle state\n */\n moved: function(e, last_activity) {\n this.last_activity = last_activity;\n this.idle = 0;\n },\n\n /**\n * Measure when user last typed\n */\n typed: function() {\n this.vs = 2;\n },\n\n downloaded: function(url) {\n this.track('download', {\n url: url\n });\n },\n\n outgoing: function(url) {\n this.track('outgoing', {\n url: url\n });\n },\n\n /**\n * Event handler for decorating an element with a URL (for now only\n * anchor tags)\n */\n autoDecorate: function(elem) {\n var decorated;\n var canDecorate;\n var xdm = this.config('cross_domain');\n\n if (xdm) {\n if (typeof xdm === 'string') {\n canDecorate = elem.href.indexOf(xdm) > -1;\n }\n else if (xdm.push) {\n canDecorate = xdm.indexOf(elem.hostname) > -1;\n }\n\n if (canDecorate) {\n decorated = this.decorate(elem);\n\n if (decorated) {\n elem.href = decorated;\n // bind an event handler on mouseup to remove the url\n }\n }\n }\n },\n\n /**\n * Resets cookie\n */\n reset: function() {\n docCookies.removeItem(\n this.config('cookie_name'),\n this.config('cookie_path'),\n this.config('cookie_domain')\n );\n this.cookie = null;\n this._setupCookie();\n },\n\n /**\n * Decorates a given URL with a __woopraid query param with value of\n * the current cookie\n */\n decorate: function(url) {\n var el;\n var query;\n var pathname;\n var host;\n\n if (typeof url === 'string') {\n el = document.createElement('a');\n el.href = url;\n query = el.search ? '&' : '?';\n }\n else if (url && url.href) {\n el = url;\n }\n\n if (el) {\n query = el.search ? '&' : '?';\n pathname = el.pathname && el.pathname.charAt(0) === '/' ? el.pathname : '/' + el.pathname;\n\n host = el.hostname + (el.port && el.port !== '' && el.port !== '80' && el.port !== '0' ? ':' + el.port : '');\n\n return el.protocol + '//' +\n host +\n pathname +\n el.search +\n query + XDM_PARAM_NAME + '=' + this.cookie +\n el.hash;\n }\n },\n\n /**\n * Undecorates a URL with __woopraid query param\n */\n undecorate: function(url) {\n var regex = new RegExp('[?&]+(?:' + XDM_PARAM_NAME + ')=([^&#]*)', 'gi');\n var _url = url;\n\n if (url && url.href) {\n _url = url.href;\n }\n\n if (_url) {\n return _url.replace(regex, '');\n }\n },\n\n getPageUrl: function() {\n if (this.options.ignore_query_url) {\n return Woopra.location('pathname');\n }\n else {\n return Woopra.location('pathname') + Woopra.location('search');\n }\n },\n\n getPageHash: function() {\n return Woopra.location('hash');\n },\n\n getPageTitle: function() {\n return (document.getElementsByTagName('title').length === 0) ? '' : document.getElementsByTagName('title')[0].innerHTML;\n },\n\n getDomainName: function() {\n return Woopra.location('hostname');\n },\n\n getURI: function() {\n return Woopra.location('href');\n },\n\n /**\n * Retrieves a Woopra unique id from a URL's query param (__woopraid)\n *\n * @param {String} href The full URL to extract from\n */\n getUrlId: function(href) {\n var _href = href || Woopra.location('href');\n var matches;\n var regex = new RegExp(XDM_PARAM_NAME + '=([^&#]+)');\n\n matches = _href.match(regex);\n\n if (matches && matches[1]) {\n return matches[1];\n }\n },\n\n getOptionParams: function() {\n // default params\n var o = {\n alias: this.config('domain') || Woopra.getHostnameNoWww(),\n instance: this.instanceName,\n ka: this.config('keep_alive') || this.config('ping_interval') * 2,\n meta: docCookies.getItem('wooMeta') || '',\n screen: window.screen.width + 'x' + window.screen.height,\n language: window.navigator.browserLanguage || window.navigator.language || '',\n app: this.config('app'),\n referer: this.config('referer') || document.referrer,\n idle: '' + parseInt(this.idle / 1000, 10),\n vs: 'i'\n };\n\n if (!this.config('domain')) {\n o._warn = 'no_domain';\n\n if (Woopra.getHostnameNoWww() !== Woopra.getDomain()) {\n o._warn += ',domain_mismatch';\n }\n }\n\n // set cookie if configured\n if (this.config('use_cookies')) {\n o.cookie = this.getCookie() || this.cookie;\n }\n\n // set ip if configured\n if (this.config('ip')) {\n o.ip = this.config('ip');\n }\n // this.vs is 2 after typing so 'writing'\n if (this.vs === 2) {\n o.vs = 'w';\n this.vs = 0;\n }\n else if (this.idle === 0) {\n o.vs = 'r';\n }\n\n return o;\n },\n\n /**\n * Stop ping timers and cleanup any globals. Shouldn't really\n * be needed by clients.\n */\n dispose: function() {\n this.stopPing();\n\n for (var id in this.__l) {\n if (this.__l.hasOwnProperty(id)) {\n _handler[id][this.instanceName] = null;\n }\n }\n this.__l = null;\n\n // cleanup global\n if (typeof window[this.instanceName] !== 'undefined') {\n try {\n delete window[this.instanceName];\n }\n catch(e) {\n window[this.instanceName] = undefined;\n }\n }\n }\n };\n\n window.WoopraTracker = Tracker;\n window.WoopraLoadScript = Woopra.loadScript;\n\n if (typeof window.exports !== 'undefined') {\n Woopra.Tracker = Tracker;\n window.exports.Woopra = Woopra;\n\n if (typeof window.woopraLoaded === 'function') {\n window.woopraLoaded();\n window.woopraLoaded = null;\n }\n }\n\n // Initialize instances & preloaded settings/events\n var _queue = window.__woo || window._w;\n if (typeof _queue !== 'undefined') {\n for (var name in _queue) {\n if (_queue.hasOwnProperty(name)) {\n var instance = new Tracker(name);\n instance.init();\n\n // DO NOT REMOVE\n // compatibility with old tracker and chat\n if (typeof window.woopraTracker === 'undefined') {\n window.woopraTracker = instance;\n }\n }\n }\n }\n\n})(window, document);\n"; +},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(2),i=n(2),a=n(100),u=o.createFactory(n(94)),s=n(95),c=n(99),l=n(2).unstable_renderSubtreeIntoContainer,f=a.canUseDOM?window.HTMLElement:{},p=a.canUseDOM?document.body:{appendChild:function(){}},d=o.createClass({displayName:"Modal",statics:{setAppElement:function(e){p=s.setElement(e)},injectCSS:function(){}},propTypes:{isOpen:o.PropTypes.bool.isRequired,style:o.PropTypes.shape({content:o.PropTypes.object,overlay:o.PropTypes.object}),portalClassName:o.PropTypes.string,bodyClassName:o.PropTypes.string,appElement:o.PropTypes.instanceOf(f),onAfterOpen:o.PropTypes.func,onRequestClose:o.PropTypes.func,closeTimeoutMS:o.PropTypes.number,ariaHideApp:o.PropTypes.bool,shouldCloseOnOverlayClick:o.PropTypes.bool},getDefaultProps:function(){return{isOpen:!1,portalClassName:"ReactModalPortal",bodyClassName:"ReactModal__Body",ariaHideApp:!0,closeTimeoutMS:0,shouldCloseOnOverlayClick:!0}},componentDidMount:function(){this.node=document.createElement("div"),this.node.className=this.props.portalClassName,document.body.appendChild(this.node),this.renderPortal(this.props)},componentWillReceiveProps:function(e){this.renderPortal(e)},componentWillUnmount:function(){i.unmountComponentAtNode(this.node),document.body.removeChild(this.node),c(document.body).remove(this.openBodyClass())},openBodyClass:function(){return this.props.bodyClassName+"--open"},renderPortal:function(e){e.isOpen?c(document.body).add(this.openBodyClass()):c(document.body).remove(this.openBodyClass()),e.ariaHideApp&&s.toggle(e.isOpen,e.appElement),this.portal=l(this,u(r({},e,{defaultStyles:d.defaultStyles})),this.node)},render:function(){return o.DOM.noscript()}});d.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},e.exports=d},function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=n(2),i=o.DOM.div,a=n(96),u=n(97),s=function(){},c={onAfterClose:s,style:{overlay:{},content:{}},overlayClassName:"ReactModal__Overlay",className:"ReactModal__Content"};e.exports=o.createClass({displayName:"ModalPortal",shouldClose:null,getDefaultProps:function(){return c},getInitialState:function(){return{afterOpen:!1,beforeClose:!1}},componentDidMount:function(){this.props.isOpen&&(this.setFocusAfterRender(!0),this.open())},componentWillUnmount:function(){clearTimeout(this.closeTimer)},componentWillReceiveProps:function(e){!this.props.isOpen&&e.isOpen?(this.setFocusAfterRender(!0),this.open()):this.props.isOpen&&!e.isOpen&&this.close()},componentDidUpdate:function(){this.focusAfterRender&&(this.focusContent(),this.setFocusAfterRender(!1))},setFocusAfterRender:function(e){this.focusAfterRender=e},open:function(){this.state.afterOpen&&this.state.beforeClose?(clearTimeout(this.closeTimer),this.setState({beforeClose:!1})):(a.setupScopedFocus(this.node),a.markForFocusLater(),this.setState({isOpen:!0},function(){this.setState({afterOpen:!0}),this.props.isOpen&&this.props.onAfterOpen&&this.props.onAfterOpen()}.bind(this)))},close:function(){this.ownerHandlesClose()&&(this.props.closeTimeoutMS>0?this.closeWithTimeout():this.closeWithoutTimeout())},focusContent:function(){this.contentHasFocus()||this.refs.content.focus()},closeWithTimeout:function(){this.setState({beforeClose:!0},function(){this.closeTimer=setTimeout(this.closeWithoutTimeout,this.props.closeTimeoutMS)}.bind(this))},closeWithoutTimeout:function(){this.setState({beforeClose:!1,isOpen:!1,afterOpen:!1},this.afterClose)},afterClose:function(){a.returnFocus(),a.teardownScopedFocus(),this.props.onAfterClose()},handleKeyDown:function(e){9==e.keyCode&&u(this.refs.content,e),27==e.keyCode&&(e.preventDefault(),this.requestClose(e))},handleOverlayMouseDown:function(e){null===this.shouldClose&&(this.shouldClose=!0)},handleOverlayMouseUp:function(e){this.shouldClose&&this.props.shouldCloseOnOverlayClick&&(this.ownerHandlesClose()?this.requestClose(e):this.focusContent()),this.shouldClose=null},handleContentMouseDown:function(e){this.shouldClose=!1},handleContentMouseUp:function(e){this.shouldClose=!1},requestClose:function(e){this.ownerHandlesClose()&&this.props.onRequestClose(e)},ownerHandlesClose:function(){return this.props.onRequestClose},shouldBeClosed:function(){return!this.props.isOpen&&!this.state.beforeClose},contentHasFocus:function(){return document.activeElement===this.refs.content||this.refs.content.contains(document.activeElement)},buildClassName:function(e){var t=e+" ";return this.state.afterOpen&&(t+=e+"--after-open"),this.state.beforeClose&&(t+=e+"--before-close"),t},getPropInlineStyle:function(e,t){var n=e?this.props.defaultStyles[t]:{},o=this.props.style[t]||{};return r({},n,o)},isPropEqualToDefault:function(e){return this.props[e]===c[e]},render:function(){var e=this.getPropInlineStyle(this.isPropEqualToDefault("className"),"content"),t=this.getPropInlineStyle(this.isPropEqualToDefault("overlayClassName"),"overlay");return this.shouldBeClosed()?i():i({ref:"overlay",className:this.buildClassName(this.props.overlayClassName),style:t,onMouseDown:this.handleOverlayMouseDown,onMouseUp:this.handleOverlayMouseUp},i({ref:"content",style:e,className:this.buildClassName(this.props.className),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentMouseDown,onMouseUp:this.handleContentMouseUp,role:"dialog"},this.props.children))}})},function(e,t){"use strict";function n(e){if("string"==typeof e){var t=document.querySelectorAll(e);e="length"in t?t[0]:t}return s=e||s}function r(e){a(e),(e||s).setAttribute("aria-hidden","true")}function o(e){a(e),(e||s).removeAttribute("aria-hidden")}function i(e,t){e?r(t):o(t)}function a(e){if(!e&&!s)throw Error("react-modal: You must set an element with `Modal.setAppElement(el)` to make this accessible")}function u(){s=document.body}var s="undefined"!=typeof document?document.body:null;t.toggle=i,t.setElement=n,t.show=o,t.hide=r,t.resetForTesting=u},function(e,t,n){"use strict";function r(e){s=!0}function o(e){if(s){if(s=!1,!a)return;setTimeout(function(){if(!a.contains(document.activeElement)){var e=i(a)[0]||a;e.focus()}},0)}}var i=n(24),a=null,u=null,s=!1;t.markForFocusLater=function(){u=document.activeElement},t.returnFocus=function(){try{u.focus()}catch(e){console.warn("You tried to return focus to "+u+" but it is not in the DOM anymore")}u=null},t.setupScopedFocus=function(e){a=e,window.addEventListener?(window.addEventListener("blur",r,!1),document.addEventListener("focus",o,!0)):(window.attachEvent("onBlur",r),document.attachEvent("onFocus",o))},t.teardownScopedFocus=function(){a=null,window.addEventListener?(window.removeEventListener("blur",r),document.removeEventListener("focus",o)):(window.detachEvent("onBlur",r),document.detachEvent("onFocus",o))}},function(e,t,n){"use strict";var r=n(24);e.exports=function(e,t){var n=r(e);if(!n.length)return void t.preventDefault();var o=n[t.shiftKey?0:n.length-1],i=o===document.activeElement||e===document.activeElement;if(i){t.preventDefault();var a=n[t.shiftKey?n.length-1:0];a.focus()}}},function(e,t,n){"use strict";e.exports=n(93)},function(e,t){function n(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;r>n;n++)if(e[n]===t)return n;return-1}function r(e){return this instanceof r?(e||(e={}),e.nodeType&&(e={el:e}),this.opts=e,this.el=e.el||document.body,"object"!=typeof this.el&&(this.el=document.querySelector(this.el)),void 0):new r(e)}e.exports=function(e){return new r(e)},r.prototype.add=function(e){var t=this.el;if(t){if(""===t.className)return t.className=e;var r=t.className.split(" ");return n(r,e)>-1?r:(r.push(e),t.className=r.join(" "),r)}},r.prototype.remove=function(e){var t=this.el;if(t&&""!==t.className){var r=t.className.split(" "),o=n(r,e);return o>-1&&r.splice(o,1),t.className=r.join(" "),r}},r.prototype.has=function(e){var t=this.el;if(t){var r=t.className.split(" ");return n(r,e)>-1}},r.prototype.toggle=function(e){var t=this.el;t&&(this.has(e)?this.remove(e):this.add(e))}},function(e,t,n){var r;/*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */ -!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t["default"]=void 0;var a=n(2),s=n(25),c=r(s),l=n(26),f=(r(l),function(e){function t(n,r){o(this,t);var u=i(this,e.call(this,n,r));return u.store=n.store,u}return u(t,e),t.prototype.getChildContext=function(){return{store:this.store}},t.prototype.render=function(){var e=this.props.children;return a.Children.only(e)},t}(a.Component));t["default"]=f,f.propTypes={store:c["default"].isRequired,children:a.PropTypes.element.isRequired},f.childContextTypes={store:c["default"].isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function u(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(e){return e.displayName||e.name||"Component"}function s(e,t){try{return e.apply(t)}catch(n){return T.value=n,T}}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=!!e,p=e||S,h=void 0;h="function"==typeof t?t:t?(0,m["default"])(t):x;var y=n||k,g=r.pure,b=void 0===g||g,_=r.withRef,C=void 0!==_&&_,E=b&&y!==k,A=P++;return function(e){function t(e,t,n){var r=y(e,t,n);return r}var n="Connect("+a(e)+")",r=function(r){function a(e,t){o(this,a);var u=i(this,r.call(this,e,t));u.version=A,u.store=e.store||t.store,(0,O["default"])(u.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a , "+('or explicitly pass "store" as a prop to "'+n+'".'));var s=u.store.getState();return u.state={storeState:s},u.clearCache(),u}return u(a,r),a.prototype.shouldComponentUpdate=function(){return!b||this.haveOwnPropsChanged||this.hasStoreStateChanged},a.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},a.prototype.configureFinalMapState=function(e,t){var n=p(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:p,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},a.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},a.prototype.configureFinalMapDispatch=function(e,t){var n=h(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},a.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return!(this.stateProps&&(0,v["default"])(e,this.stateProps)||(this.stateProps=e,0))},a.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return!(this.dispatchProps&&(0,v["default"])(e,this.dispatchProps)||(this.dispatchProps=e,0))},a.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&E&&(0,v["default"])(e,this.mergedProps)||(this.mergedProps=e,0))},a.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},a.prototype.trySubscribe=function(){c&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},a.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},a.prototype.componentDidMount=function(){this.trySubscribe()},a.prototype.componentWillReceiveProps=function(e){b&&(0,v["default"])(e,this.props)||(this.haveOwnPropsChanged=!0)},a.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},a.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},a.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!b||t!==e){if(b&&!this.doStatePropsDependOnOwnProps){var n=s(this.updateStatePropsIfNeeded,this);if(!n)return;n===T&&(this.statePropsPrecalculationError=T.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},a.prototype.getWrappedInstance=function(){return(0,O["default"])(C,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},a.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var u=!0,a=!0;b&&i&&(u=n||t&&this.doStatePropsDependOnOwnProps,a=t&&this.doDispatchPropsDependOnOwnProps);var s=!1,c=!1;r?s=!0:u&&(s=this.updateStatePropsIfNeeded()),a&&(c=this.updateDispatchPropsIfNeeded());var p=!0;return p=!!(s||c||t)&&this.updateMergedPropsIfNeeded(),!p&&i?i:this.renderedElement=C?(0,f.createElement)(e,l({},this.mergedProps,{ref:"wrappedInstance"})):(0,f.createElement)(e,this.mergedProps)},a}(f.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:d["default"]},r.propTypes={store:d["default"]},(0,w["default"])(r,e)}}var l=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0,t["default"]=c;var f=n(2),p=n(25),d=r(p),h=n(89),v=r(h),y=n(90),m=r(y),g=n(26),b=(r(g),n(13)),_=(r(b),n(91)),w=r(_),C=n(92),O=r(C),S=function(e){return{}},x=function(e){return{dispatch:e}},k=function(e,t,n){return l({},n,e,t)},T={value:null},P=0},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;n.length>i;i++)if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;return!0}t.__esModule=!0,t["default"]=n},function(e,t,n){"use strict";function r(e){return function(t){return(0,o.bindActionCreators)(e,t)}}t.__esModule=!0,t["default"]=r;var o=n(8)},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var u=Object.getOwnPropertyNames(t);o&&(u=u.concat(Object.getOwnPropertySymbols(t)));for(var a=0;u.length>a;++a)if(!(n[u[a]]||r[u[a]]||i&&i[u[a]]))try{e[u[a]]=t[u[a]]}catch(s){}}return e}},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,u,a){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,u,a],l=0;s=Error(t.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){!function(t,r){e.exports=r(n(2),n(2))}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(){return!!(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia)}t.__esModule=!0;var a=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),c=r(s),l=n(2),f=function(e){function t(){o(this,t),e.call(this),this.state={hasUserMedia:!1}}return i(t,e),a(t,null,[{key:"defaultProps",value:{audio:!0,height:480,width:640,screenshotFormat:"image/webp",onUserMedia:function(){}},enumerable:!0},{key:"propTypes",value:{audio:s.PropTypes.bool,muted:s.PropTypes.bool,onUserMedia:s.PropTypes.func,height:s.PropTypes.oneOfType([s.PropTypes.number,s.PropTypes.string]),width:s.PropTypes.oneOfType([s.PropTypes.number,s.PropTypes.string]),screenshotFormat:s.PropTypes.oneOf(["image/webp","image/png","image/jpeg"]),className:s.PropTypes.string},enumerable:!0},{key:"mountedInstances",value:[],enumerable:!0},{key:"userMediaRequested",value:!1,enumerable:!0}]),t.prototype.componentDidMount=function(){u()&&(t.mountedInstances.push(this),this.state.hasUserMedia||t.userMediaRequested||this.requestUserMedia())},t.prototype.requestUserMedia=function(){var e=this;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var n=function(n,r){var o={video:{optional:[{sourceId:r}]}};e.props.audio&&(o.audio={optional:[{sourceId:n}]}),navigator.getUserMedia(o,function(e){t.mountedInstances.forEach(function(t){return t.handleUserMedia(null,e)})},function(e){t.mountedInstances.forEach(function(t){return t.handleUserMedia(e)})})};this.props.audioSource&&this.props.videoSource?n(this.props.audioSource,this.props.videoSource):"mediaDevices"in navigator?navigator.mediaDevices.enumerateDevices().then(function(e){var t=null,r=null;e.forEach(function(e){"audio"===e.kind?t=e.id:"video"===e.kind&&(r=e.id)}),n(t,r)})["catch"](function(e){console.log(e.name+": "+e.message)}):MediaStreamTrack.getSources(function(e){var t=null,r=null;e.forEach(function(e){"audio"===e.kind?t=e.id:"video"===e.kind&&(r=e.id)}),n(t,r)}),t.userMediaRequested=!0},t.prototype.handleUserMedia=function(e,t){if(e)return void this.setState({hasUserMedia:!1});var n=window.URL.createObjectURL(t);this.stream=t,this.setState({hasUserMedia:!0,src:n}),this.props.onUserMedia()},t.prototype.componentWillUnmount=function(){var e=t.mountedInstances.indexOf(this);if(t.mountedInstances.splice(e,1),0===t.mountedInstances.length&&this.state.hasUserMedia){if(this.stream.stop)this.stream.stop();else{if(this.stream.getVideoTracks)for(var n=this.stream.getVideoTracks(),r=Array.isArray(n),o=0,n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if(o=n.next(),o.done)break;i=o.value}var u=i;u.stop()}if(this.stream.getAudioTracks)for(var a=this.stream.getAudioTracks(),s=Array.isArray(a),c=0,a=s?a:a[Symbol.iterator]();;){var l;if(s){if(c>=a.length)break;l=a[c++]}else{if(c=a.next(),c.done)break;l=c.value}var u=l;u.stop()}}t.userMediaRequested=!1,window.URL.revokeObjectURL(this.state.src)}},t.prototype.getScreenshot=function(){if(!this.state.hasUserMedia)return null;var e=this.getCanvas();return e.toDataURL(this.props.screenshotFormat)},t.prototype.getCanvas=function(){if(!this.state.hasUserMedia)return null;var e=l.findDOMNode(this);if(!this.ctx){var t=document.createElement("canvas"),n=e.videoWidth/e.videoHeight;t.width=e.clientWidth,t.height=e.clientWidth/n,this.canvas=t,this.ctx=t.getContext("2d")}var r=this.ctx,o=this.canvas;return r.drawImage(e,0,0,o.width,o.height),o},t.prototype.render=function(){return c["default"].createElement("video",{autoPlay:!0,width:this.props.width,height:this.props.height,src:this.state.src,muted:this.props.muted,className:this.props.className})},t}(s.Component);t["default"]=f,e.exports=t["default"]},function(t,n){t.exports=e},function(e,n){e.exports=t}])})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var u=e(n,r,o),s=u.dispatch,c=[],l={getState:u.getState,dispatch:function(e){return s(e)}};return c=t.map(function(e){return e(l)}),s=a["default"].apply(void 0,c)(u.dispatch),i({},u,{dispatch:s})}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t["default"]=o;var u=n(27),a=r(u)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},i=0;r.length>i;i++){var u=r[i],a=e[u];"function"==typeof a&&(o[u]=n(a,t))}return o}t.__esModule=!0,t["default"]=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{"default":e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:a.ActionTypes.INIT});if(void 0===r)throw Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if(void 0===n(void 0,{type:o}))throw Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+a.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function u(e){for(var t=Object.keys(e),n={},r=0;t.length>r;r++){var u=t[r];"function"==typeof e[u]&&(n[u]=e[u])}var a,s=Object.keys(n);try{i(n)}catch(c){a=c}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(a)throw a;for(var r=!1,i={},u=0;s.length>u;u++){var c=s[u],l=n[c],f=e[c],p=l(f,t);if(void 0===p){var d=o(c,t);throw Error(d)}i[c]=p,r=r||p!==f}return r?i:e}}t.__esModule=!0,t["default"]=u;var a=n(28),s=n(13),c=(r(s),n(29));r(c)},function(e,t,n){e.exports=n(98)},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{"default":e}}Object.defineProperty(t,"__esModule",{value:!0});var i,u=n(99),a=o(u);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var s=(0,a["default"])(i);t["default"]=s}).call(t,function(){return this}(),n(30)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t["default"]=n}])}); +!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};r=function(){return i}.call(t,n,t,e),!(void 0!==r&&(e.exports=r))}()},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}t.__esModule=!0,t.default=void 0;var u=n(2),s=n(26),c=r(s),l=n(27),f=(r(l),function(e){function t(n,r){o(this,t);var a=i(this,e.call(this,n,r));return a.store=n.store,a}return a(t,e),t.prototype.getChildContext=function(){return{store:this.store}},t.prototype.render=function(){var e=this.props.children;return u.Children.only(e)},t}(u.Component));t.default=f,f.propTypes={store:c.default.isRequired,children:u.PropTypes.element.isRequired},f.childContextTypes={store:c.default.isRequired}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function a(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function u(e){return e.displayName||e.name||"Component"}function s(e,t){try{return e.apply(t)}catch(e){return E.value=e,E}}function c(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},c=!!e,p=e||C,h=void 0;h="function"==typeof t?t:t?(0,y.default)(t):S;var m=n||O,g=r.pure,_=void 0===g||g,b=r.withRef,k=void 0!==b&&b,P=_&&m!==O,A=T++;return function(e){function t(e,t,n){var r=m(e,t,n);return r}var n="Connect("+u(e)+")",r=function(r){function u(e,t){o(this,u);var a=i(this,r.call(this,e,t));a.version=A,a.store=e.store||t.store,(0,x.default)(a.store,'Could not find "store" in either the context or '+('props of "'+n+'". ')+"Either wrap the root component in a , "+('or explicitly pass "store" as a prop to "'+n+'".'));var s=a.store.getState();return a.state={storeState:s},a.clearCache(),a}return a(u,r),u.prototype.shouldComponentUpdate=function(){return!_||this.haveOwnPropsChanged||this.hasStoreStateChanged},u.prototype.computeStateProps=function(e,t){if(!this.finalMapStateToProps)return this.configureFinalMapState(e,t);var n=e.getState(),r=this.doStatePropsDependOnOwnProps?this.finalMapStateToProps(n,t):this.finalMapStateToProps(n);return r},u.prototype.configureFinalMapState=function(e,t){var n=p(e.getState(),t),r="function"==typeof n;return this.finalMapStateToProps=r?n:p,this.doStatePropsDependOnOwnProps=1!==this.finalMapStateToProps.length,r?this.computeStateProps(e,t):n},u.prototype.computeDispatchProps=function(e,t){if(!this.finalMapDispatchToProps)return this.configureFinalMapDispatch(e,t);var n=e.dispatch,r=this.doDispatchPropsDependOnOwnProps?this.finalMapDispatchToProps(n,t):this.finalMapDispatchToProps(n);return r},u.prototype.configureFinalMapDispatch=function(e,t){var n=h(e.dispatch,t),r="function"==typeof n;return this.finalMapDispatchToProps=r?n:h,this.doDispatchPropsDependOnOwnProps=1!==this.finalMapDispatchToProps.length,r?this.computeDispatchProps(e,t):n},u.prototype.updateStatePropsIfNeeded=function(){var e=this.computeStateProps(this.store,this.props);return!(this.stateProps&&(0,v.default)(e,this.stateProps)||(this.stateProps=e,0))},u.prototype.updateDispatchPropsIfNeeded=function(){var e=this.computeDispatchProps(this.store,this.props);return!(this.dispatchProps&&(0,v.default)(e,this.dispatchProps)||(this.dispatchProps=e,0))},u.prototype.updateMergedPropsIfNeeded=function(){var e=t(this.stateProps,this.dispatchProps,this.props);return!(this.mergedProps&&P&&(0,v.default)(e,this.mergedProps)||(this.mergedProps=e,0))},u.prototype.isSubscribed=function(){return"function"==typeof this.unsubscribe},u.prototype.trySubscribe=function(){c&&!this.unsubscribe&&(this.unsubscribe=this.store.subscribe(this.handleChange.bind(this)),this.handleChange())},u.prototype.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null)},u.prototype.componentDidMount=function(){this.trySubscribe()},u.prototype.componentWillReceiveProps=function(e){_&&(0,v.default)(e,this.props)||(this.haveOwnPropsChanged=!0)},u.prototype.componentWillUnmount=function(){this.tryUnsubscribe(),this.clearCache()},u.prototype.clearCache=function(){this.dispatchProps=null,this.stateProps=null,this.mergedProps=null,this.haveOwnPropsChanged=!0,this.hasStoreStateChanged=!0,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,this.renderedElement=null,this.finalMapDispatchToProps=null,this.finalMapStateToProps=null},u.prototype.handleChange=function(){if(this.unsubscribe){var e=this.store.getState(),t=this.state.storeState;if(!_||t!==e){if(_&&!this.doStatePropsDependOnOwnProps){var n=s(this.updateStatePropsIfNeeded,this);if(!n)return;n===E&&(this.statePropsPrecalculationError=E.value),this.haveStatePropsBeenPrecalculated=!0}this.hasStoreStateChanged=!0,this.setState({storeState:e})}}},u.prototype.getWrappedInstance=function(){return(0,x.default)(k,"To access the wrapped instance, you need to specify { withRef: true } as the fourth argument of the connect() call."),this.refs.wrappedInstance},u.prototype.render=function(){var t=this.haveOwnPropsChanged,n=this.hasStoreStateChanged,r=this.haveStatePropsBeenPrecalculated,o=this.statePropsPrecalculationError,i=this.renderedElement;if(this.haveOwnPropsChanged=!1,this.hasStoreStateChanged=!1,this.haveStatePropsBeenPrecalculated=!1,this.statePropsPrecalculationError=null,o)throw o;var a=!0,u=!0;_&&i&&(a=n||t&&this.doStatePropsDependOnOwnProps,u=t&&this.doDispatchPropsDependOnOwnProps);var s=!1,c=!1;r?s=!0:a&&(s=this.updateStatePropsIfNeeded()),u&&(c=this.updateDispatchPropsIfNeeded());var p=!0;return p=!!(s||c||t)&&this.updateMergedPropsIfNeeded(),!p&&i?i:this.renderedElement=k?(0,f.createElement)(e,l({},this.mergedProps,{ref:"wrappedInstance"})):(0,f.createElement)(e,this.mergedProps)},u}(f.Component);return r.displayName=n,r.WrappedComponent=e,r.contextTypes={store:d.default},r.propTypes={store:d.default},(0,w.default)(r,e)}}var l=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.__esModule=!0,t.default=c;var f=n(2),p=n(26),d=r(p),h=n(103),v=r(h),m=n(104),y=r(m),g=n(27),_=(r(g),n(13)),b=(r(_),n(105)),w=r(b),k=n(106),x=r(k),C=function(e){return{}},S=function(e){return{dispatch:e}},O=function(e,t,n){return l({},n,e,t)},E={value:null},T=0},function(e,t){"use strict";function n(e,t){if(e===t)return!0;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=Object.prototype.hasOwnProperty,i=0;n.length>i;i++)if(!o.call(t,n[i])||e[n[i]]!==t[n[i]])return!1;return!0}t.__esModule=!0,t.default=n},function(e,t,n){"use strict";function r(e){return function(t){return(0,o.bindActionCreators)(e,t)}}t.__esModule=!0,t.default=r;var o=n(8)},function(e,t){"use strict";var n={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,arguments:!0,arity:!0},o="function"==typeof Object.getOwnPropertySymbols;e.exports=function(e,t,i){if("string"!=typeof t){var a=Object.getOwnPropertyNames(t);o&&(a=a.concat(Object.getOwnPropertySymbols(t)));for(var u=0;a.length>u;++u)if(!(n[a[u]]||r[a[u]]||i&&i[a[u]]))try{e[a[u]]=t[a[u]]}catch(e){}}return e}},function(e,t,n){"use strict";var r=function(e,t,n,r,o,i,a,u){if(!e){var s;if(void 0===t)s=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,u],l=0;s=Error(t.replace(/%s/g,function(){return c[l++]})),s.name="Invariant Violation"}throw s.framesToPop=1,s}};e.exports=r},function(e,t,n){!function(t,r){e.exports=r(n(2),n(2))}(this,function(e,t){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function a(){return!!(navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia)}t.__esModule=!0;var u=function(){function e(e,t){for(var n=0;t.length>n;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(1),c=r(s),l=n(2),f=function(e){function t(){o(this,t),e.call(this),this.state={hasUserMedia:!1}}return i(t,e),u(t,null,[{key:"defaultProps",value:{audio:!0,height:480,width:640,screenshotFormat:"image/webp",onUserMedia:function(){}},enumerable:!0},{key:"propTypes",value:{audio:s.PropTypes.bool,muted:s.PropTypes.bool,onUserMedia:s.PropTypes.func,height:s.PropTypes.oneOfType([s.PropTypes.number,s.PropTypes.string]),width:s.PropTypes.oneOfType([s.PropTypes.number,s.PropTypes.string]),screenshotFormat:s.PropTypes.oneOf(["image/webp","image/png","image/jpeg"]),className:s.PropTypes.string},enumerable:!0},{key:"mountedInstances",value:[],enumerable:!0},{key:"userMediaRequested",value:!1,enumerable:!0}]),t.prototype.componentDidMount=function(){a()&&(t.mountedInstances.push(this),this.state.hasUserMedia||t.userMediaRequested||this.requestUserMedia())},t.prototype.requestUserMedia=function(){var e=this;navigator.getUserMedia=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||navigator.msGetUserMedia;var n=function(n,r){var o={video:{optional:[{sourceId:r}]}};e.props.audio&&(o.audio={optional:[{sourceId:n}]}),navigator.getUserMedia(o,function(e){t.mountedInstances.forEach(function(t){return t.handleUserMedia(null,e)})},function(e){t.mountedInstances.forEach(function(t){return t.handleUserMedia(e)})})};this.props.audioSource&&this.props.videoSource?n(this.props.audioSource,this.props.videoSource):"mediaDevices"in navigator?navigator.mediaDevices.enumerateDevices().then(function(e){var t=null,r=null;e.forEach(function(e){"audio"===e.kind?t=e.id:"video"===e.kind&&(r=e.id)}),n(t,r)}).catch(function(e){console.log(e.name+": "+e.message)}):MediaStreamTrack.getSources(function(e){var t=null,r=null;e.forEach(function(e){"audio"===e.kind?t=e.id:"video"===e.kind&&(r=e.id)}),n(t,r)}),t.userMediaRequested=!0},t.prototype.handleUserMedia=function(e,t){if(e)return void this.setState({hasUserMedia:!1});var n=window.URL.createObjectURL(t);this.stream=t,this.setState({hasUserMedia:!0,src:n}),this.props.onUserMedia()},t.prototype.componentWillUnmount=function(){var e=t.mountedInstances.indexOf(this);if(t.mountedInstances.splice(e,1),0===t.mountedInstances.length&&this.state.hasUserMedia){if(this.stream.stop)this.stream.stop();else{if(this.stream.getVideoTracks)for(var n=this.stream.getVideoTracks(),r=Array.isArray(n),o=0,n=r?n:n[Symbol.iterator]();;){var i;if(r){if(o>=n.length)break;i=n[o++]}else{if(o=n.next(),o.done)break;i=o.value}var a=i;a.stop()}if(this.stream.getAudioTracks)for(var u=this.stream.getAudioTracks(),s=Array.isArray(u),c=0,u=s?u:u[Symbol.iterator]();;){var l;if(s){if(c>=u.length)break;l=u[c++]}else{if(c=u.next(),c.done)break;l=c.value}var a=l;a.stop()}}t.userMediaRequested=!1,window.URL.revokeObjectURL(this.state.src)}},t.prototype.getScreenshot=function(){if(!this.state.hasUserMedia)return null;var e=this.getCanvas();return e.toDataURL(this.props.screenshotFormat)},t.prototype.getCanvas=function(){if(!this.state.hasUserMedia)return null;var e=l.findDOMNode(this);if(!this.ctx){var t=document.createElement("canvas"),n=e.videoWidth/e.videoHeight;t.width=e.clientWidth,t.height=e.clientWidth/n,this.canvas=t,this.ctx=t.getContext("2d")}var r=this.ctx,o=this.canvas;return r.drawImage(e,0,0,o.width,o.height),o},t.prototype.render=function(){return c.default.createElement("video",{autoPlay:!0,width:this.props.width,height:this.props.height,src:this.state.src,muted:this.props.muted,className:this.props.className})},t}(s.Component);t.default=f,e.exports=t.default},function(t,n){t.exports=e},function(e,n){e.exports=t}])})},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(){for(var e=arguments.length,t=Array(e),n=0;e>n;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var a=e(n,r,o),s=a.dispatch,c=[],l={getState:a.getState,dispatch:function(e){return s(e)}};return c=t.map(function(e){return e(l)}),s=u.default.apply(void 0,c)(a.dispatch),i({},a,{dispatch:s})}}}t.__esModule=!0;var i=Object.assign||function(e){for(var t=1;arguments.length>t;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=o;var a=n(28),u=r(a)},function(e,t){"use strict";function n(e,t){return function(){return t(e.apply(void 0,arguments))}}function r(e,t){if("function"==typeof e)return n(e,t);if("object"!=typeof e||null===e)throw Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var r=Object.keys(e),o={},i=0;r.length>i;i++){var a=r[i],u=e[a];"function"==typeof u&&(o[a]=n(u,t))}return o}t.__esModule=!0,t.default=r},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t){var n=t&&t.type,r=n&&'"'+n+'"'||"an action";return"Given action "+r+', reducer "'+e+'" returned undefined. To ignore an action, you must explicitly return the previous state.'}function i(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:u.ActionTypes.INIT});if(void 0===r)throw Error('Reducer "'+t+'" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.');var o="@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".");if(void 0===n(void 0,{type:o}))throw Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+u.ActionTypes.INIT+' or other actions in "redux/*" ')+"namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined.")})}function a(e){for(var t=Object.keys(e),n={},r=0;t.length>r;r++){var a=t[r];"function"==typeof e[a]&&(n[a]=e[a])}var u,s=Object.keys(n);try{i(n)}catch(e){u=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(u)throw u;for(var r=!1,i={},a=0;s.length>a;a++){var c=s[a],l=n[c],f=e[c],p=l(f,t);if(void 0===p){var d=o(c,t);throw Error(d)}i[c]=p,r=r||p!==f}return r?i:e}}t.__esModule=!0,t.default=a;var u=n(29),s=n(13),c=(r(s),n(30));r(c)},function(e,t,n){e.exports=n(112)},function(e,t,n){(function(e,r){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i,a=n(113),u=o(a);i="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var s=(0,u.default)(i);t.default=s}).call(t,function(){return this}(),n(31)(e))},function(e,t){"use strict";function n(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=n},function(e,t){e.exports=function(e){"undefined"!=typeof execScript?execScript(e):eval.call(null,e)}},function(e,t,n){n(114)(n(92))}])}); //# sourceMappingURL=onfido.min.js.map \ No newline at end of file diff --git a/dist/style.css b/dist/style.css index 89a9c54ac0..1a0e5fca0f 100644 --- a/dist/style.css +++ b/dist/style.css @@ -1,2 +1,2 @@ -.onfido-sdk-ui-Modal-portal>*{opacity:0}.onfido-sdk-ui-Modal-modalBody{/*! Just a placeholder no namespace this element using css modules*/}.onfido-sdk-ui-Modal-overlay{display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);transition:opacity .2s,z-index 0s .2s}.onfido-sdk-ui-Modal-overlay--after-open{opacity:1}.onfido-sdk-ui-Modal-overlay--before-close{opacity:0}.onfido-sdk-ui-Modal-inner{position:relative;overflow:auto;margin:auto;width:94vw;max-width:32rem;height:600px;text-align:center;max-height:calc(100% + 4px);background:#f3f3f3 url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%22109px%22%20height%3D%2223px%22%20viewBox%3D%220%200%20109%2023%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB0C1F3F5-ACA4-4559-9115-540CB810D458%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220.00851075359%22%20width%3D%22108.871354%22%20height%3D%2222.0104878%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22108.871354%22%20height%3D%2222.0104878%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2201%22%20transform%3D%22translate%28-663.000000%2C%20-771.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20fill%3D%22%23F3F3F3%22%20x%3D%22469%22%20y%3D%22212%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Powered-by-Onfido%22%20transform%3D%22translate%28663.000000%2C%20771.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M71.6045005%2C13.9209592%20C73.1935808%2C13.9209592%2074.5317537%2C12.8190103%2074.5317537%2C11.1376863%20C74.5317537%2C9.45636218%2073.1935808%2C8.38849419%2071.6045005%2C8.38849419%20C70.0273682%2C8.38849419%2068.7011433%2C9.45636218%2068.7011433%2C11.1376863%20C68.7011433%2C12.8190103%2070.0273682%2C13.9209592%2071.6045005%2C13.9209592%20L71.6045005%2C13.9209592%20L71.6045005%2C13.9209592%20Z%20M86.9314726%2C8.50192423%20L84.3649347%2C8.50209716%20L84.3649347%2C8.01360436%20C84.3649347%2C7.34334679%2084.5441543%2C6.741251%2085.3566164%2C6.741251%20L85.965963%2C6.741251%20L85.965963%2C5.61658152%20L85.3566164%2C5.61658152%20C83.827276%2C5.61658152%2083.1223456%2C6.55948624%2083.1223456%2C8.01360436%20L83.1223456%2C8.50209716%20L82.1063801%2C8.50209716%20L82.1063801%2C9.46772248%20L83.1223456%2C9.46772248%20L83.1223456%2C13.8073562%20L84.3649347%2C13.8073562%20L84.3649347%2C9.46772248%20L86.9314726%2C9.46772248%20L86.9314726%2C13.8073562%20L88.1501657%2C13.8073562%20L88.1501657%2C8.50187059%20L86.9314726%2C8.50187059%20L86.9314726%2C8.50192423%20Z%20M71.6369327%2C12.8271266%20C70.7169388%2C12.8271266%2069.9522686%2C12.1795897%2069.9522686%2C11.1798835%20C69.9522686%2C10.2028978%2070.7169388%2C9.57808146%2071.6369327%2C9.57808146%20C72.5688745%2C9.57808146%2073.3335447%2C10.2028978%2073.3335447%2C11.1798835%20C73.3335447%2C12.1795897%2072.5688745%2C12.8271266%2071.6369327%2C12.8271266%20L71.6369327%2C12.8271266%20Z%20M77.09732%2C10.9957606%20C77.09732%2C9.95061317%2077.8022504%2C9.57572334%2078.5310767%2C9.57572334%20C79.247955%2C9.57572334%2079.701978%2C10.0528558%2079.701978%2C10.8935179%20L79.701978%2C13.8471953%20L80.9326191%2C13.8471953%20L80.9326191%2C10.7571943%20C80.9326191%2C9.257635%2080.1560009%2C8.42833326%2078.80588%2C8.42833326%20C78.1845855%2C8.42833326%2077.4199153%2C8.723701%2077.09732%2C9.33715708%20L77.09732%2C8.54193624%20L75.8666789%2C8.54193624%20L75.8666789%2C13.8471953%20L77.09732%2C13.8471953%20L77.09732%2C10.9957606%20L77.09732%2C10.9957606%20Z%20M86.7164091%2C6.17872514%20C86.7164091%2C6.59905616%2087.0987442%2C6.9171445%2087.5408192%2C6.9171445%20C87.9948421%2C6.9171445%2088.3532813%2C6.59905616%2088.3532813%2C6.17872514%20C88.3532813%2C5.75839412%2087.9948421%2C5.44030578%2087.5408192%2C5.44030578%20C87.0987442%2C5.44030578%2086.7164091%2C5.75839412%2086.7164091%2C6.17872514%20L86.7164091%2C6.17872514%20Z%20M94.1869752%2C13.8073562%20L95.4056683%2C13.8073562%20L95.4056683%2C5.61658152%20L94.1869752%2C5.61658152%20L94.1869752%2C9.26323712%20C93.840484%2C8.68386193%2093.0877618%2C8.38849419%2092.2991956%2C8.38849419%20C90.7937511%2C8.38849419%2089.5153181%2C9.45636218%2089.5153181%2C11.1604069%20C89.5153181%2C12.8303706%2090.7937511%2C13.9209592%2092.2991956%2C13.9209592%20C93.0638658%2C13.9209592%2093.840484%2C13.6028709%2094.1869752%2C13.034856%20L94.1869752%2C13.8073562%20L94.1869752%2C13.8073562%20Z%20M94.1630793%2C11.1376863%20C94.1630793%2C12.1714734%2093.3625651%2C12.7849294%2092.4545192%2C12.7849294%20C91.5225774%2C12.7849294%2090.7818031%2C12.1146719%2090.7818031%2C11.1376863%20C90.7818031%2C10.1607006%2091.5225774%2C9.52452397%2092.4545192%2C9.52452397%20C93.2908773%2C9.52452397%2094.1630793%2C10.0925389%2094.1630793%2C11.1376863%20L94.1630793%2C11.1376863%20Z%20M102.595264%2C11.1376863%20C102.595264%2C9.45636218%20101.257091%2C8.38849419%2099.6680108%2C8.38849419%20C98.0908785%2C8.38849419%2096.7646536%2C9.45636218%2096.7646536%2C11.1376863%20C96.7646536%2C12.8190103%2098.0908785%2C13.9209592%2099.6680108%2C13.9209592%20C101.257091%2C13.9209592%20102.595264%2C12.8190103%20102.595264%2C11.1376863%20L102.595264%2C11.1376863%20Z%20M62.0506072%2C8.4936649%20C61.283336%2C7.65833059%2060.1549203%2C7.13060169%2058.8968708%2C7.13060169%20C56.5852373%2C7.13060169%2054.7112881%2C8.91237858%2054.7112881%2C11.1103118%20C54.7112881%2C13.3082449%2056.5852373%2C15.0900218%2058.8968708%2C15.0900218%20C61.2085042%2C15.0900218%2063.0824534%2C13.3082449%2063.0824534%2C11.1103118%20C63.0824534%2C11.0394937%2063.0804937%2C11.0080214%2063.0804937%2C11.0080214%20C63.0784965%2C10.9473238%2063.1126943%2C10.8649421%2063.1571387%2C10.8226838%20L64.4929757%2C9.55255148%20C64.5379262%2C9.50981185%2064.5877355%2C9.52289552%2064.6053584%2C9.58069962%20C64.6053584%2C9.58069962%2064.6267875%2C9.6482133%2064.650259%2C9.73555617%20C64.7702431%2C10.1820429%2064.8340289%2C10.6499092%2064.8340289%2C11.1319407%20C64.8340289%2C14.2377159%2062.1860572%2C16.7554442%2058.9196186%2C16.7554442%20C55.6531799%2C16.7554442%2053.0052082%2C14.2377159%2053.0052082%2C11.1319407%20C53.0052082%2C8.02616549%2055.6531799%2C5.50843722%2058.9196186%2C5.50843722%20C60.6434589%2C5.50843722%2062.1950483%2C6.20965662%2063.2760838%2C7.32846475%20L64.7692695%2C5.90872299%20C64.813329%2C5.8668306%2064.8989338%2C5.83287011%2064.9626423%2C5.83287011%20L66.7826753%2C5.83287011%20C67.0339001%2C5.83287011%2067.0934933%2C5.96984895%2066.915312%2C6.13926628%20L59.0479212%2C13.6196907%20C58.9588875%2C13.7043452%2058.8154719%2C13.7052355%2058.7265936%2C13.6207288%20L56.4981236%2C11.6100129%20C56.4535235%2C11.5676065%2056.417368%2C11.4857957%2056.417368%2C11.4252207%20L56.417368%2C9.6947081%20C56.417368%2C9.45583999%2056.5608038%2C9.39857982%2056.7389248%2C9.5679398%20L58.8059559%2C11.4251574%20C58.850556%2C11.4675637%2058.9232404%2C11.4672087%2058.9664883%2C11.426088%20L62.0506072%2C8.4936649%20L62.0506072%2C8.4936649%20Z%20M99.6680108%2C12.7849294%20C98.748017%2C12.7849294%2097.9833468%2C12.1373925%2097.9833468%2C11.1376863%20C97.9833468%2C10.1607006%2098.748017%2C9.53588427%2099.6680108%2C9.53588427%20C100.599953%2C9.53588427%20101.364623%2C10.1607006%20101.364623%2C11.1376863%20C101.364623%2C12.1373925%20100.599953%2C12.7849294%2099.6680108%2C12.7849294%20L99.6680108%2C12.7849294%20Z%22%20id%3D%22Path%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-82%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20id%3D%22powered-by%22%20font-family%3D%22OpenSans%2C%20Open%20Sans%2C%20sans-serif%22%20font-size%3D%227.76784438%22%20font-weight%3D%22normal%22%20fill%3D%22%23DADADA%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%227%22%20y%3D%2213%22%3Epowered%20by%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E') 50% calc(100% - 20px) no-repeat;border-radius:3px;font-size:.875rem;font-family:Gotham SSm A,Gotham SSm B,sans-serif;line-height:1.5;font-weight:300}@media (max-width:30em){.onfido-sdk-ui-Modal-inner{width:100%;height:100%;position:absolute}}.onfido-sdk-ui-Modal-inner,.onfido-sdk-ui-Modal-inner *,.onfido-sdk-ui-Modal-inner :after,.onfido-sdk-ui-Modal-inner :before{box-sizing:border-box}.onfido-sdk-ui-Modal-portal .onfido-sdk-ui-Modal-inner{margin:auto;z-index:-1;opacity:0;transform:scale(0);transition:opacity .2s,transform .2s,z-index 0s .2s}.onfido-sdk-ui-Modal-overlay--after-open .onfido-sdk-ui-Modal-inner{z-index:100;opacity:1;transform:scale(1);transition:opacity .2s,transform .2s}.onfido-sdk-ui-Modal-content{color:#9b9b9b;font-size:18px;width:100%;max-height:100%;bottom:50%;transform:translateY(50%);position:absolute}.onfido-sdk-ui-Theme-step{background:#f3f3f3;margin:0 1.5rem 4rem}@media (min-width:30em){.onfido-sdk-ui-Theme-step{margin:0 3rem 4rem}}.onfido-sdk-ui-Theme-title{font-weight:300;font-size:24px;margin-top:0;color:#4a4a4a;width:100%;text-align:center;padding-bottom:1.8rem;padding-top:1.2rem}.onfido-sdk-ui-Theme-mbottom-large{margin-bottom:4rem}.onfido-sdk-ui-Theme-btn{font:inherit;font-weight:500;font-size:14px;line-height:inherit;text-decoration:none;text-align:center;cursor:pointer;display:inline-block;border:none;border-radius:2rem;padding:1.2rem 2rem;outline:none}.onfido-sdk-ui-Theme-btn:disabled{opacity:.5}.onfido-sdk-ui-Theme-btn-centered{margin:auto}.onfido-sdk-ui-Theme-btn-primary{display:block;width:215px;border:none;background:#20c7a0;color:#fff}@media (max-width:30em){.onfido-sdk-ui-Theme-btn-primary{width:auto}}.onfido-sdk-ui-Theme-btn-alternative{background-color:#2980b9}.onfido-sdk-ui-Theme-center{text-align:center}.onfido-sdk-ui-Theme-overlay-shape{border:1px solid #00c8a0;position:absolute;bottom:50%;left:50%;transform:translate(-50%,50%);box-shadow:0 0 0 300px rgba(0,0,0,.7)}.onfido-sdk-ui-Theme-overlay{display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.onfido-sdk-ui-Theme-icon{display:block;background-repeat:no-repeat;background-position:50%;height:4rem}.onfido-sdk-ui-Theme-actions{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:.75rem 1.5rem 0}@media (min-width:30em){.onfido-sdk-ui-Theme-actions{padding:1.5em 3rem 0}}.onfido-sdk-ui-Welcome-mtop-large{margin-top:4rem}@media (min-width:30em){.onfido-sdk-ui-Select-methods{display:-ms-flexbox;display:flex;-ms-flex:auto;flex:auto;-ms-flex-wrap:wrap;flex-wrap:wrap}}.onfido-sdk-ui-Select-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.onfido-sdk-ui-DocumentSelector-option{cursor:pointer;float:left;width:33.33333333%;padding:0 9px;font-size:12px;letter-spacing:.2px}@media (max-width:30em){.onfido-sdk-ui-DocumentSelector-option{float:none;margin:2rem auto;width:100%}}.onfido-sdk-ui-DocumentSelector-icon{width:124px;max-width:100%;margin:0 auto 1rem;background-position:50% 50%;background-repeat:no-repeat;background-size:50%}.onfido-sdk-ui-DocumentSelector-icon:after{content:"";display:block;padding-bottom:100%;padding-top:2px;border:1px solid #dadada;border-radius:5px}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon:after{border:2px solid #20c7a0;padding-top:0;position:relative}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-passport{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2263px%22%20height%3D%2289px%22%20viewBox%3D%220%200%2063%2089%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EGroup%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-HD%22%20transform%3D%22translate%28-456.000000%2C%20-322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%20transform%3D%22translate%28456.000000%2C%20322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M37.322%2C37.1444826%20L32.699%2C37.1444826%20L32.699%2C43.3274826%20L38.493%2C43.3274826%20C38.417%2C41.1514826%2038.012%2C39.0754826%2037.322%2C37.1444826%20L37.322%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M32.699%2C30.0954826%20L32.699%2C35.6144826%20L36.706%2C35.6144826%20C35.709%2C33.4394826%2034.331%2C31.5544826%2032.699%2C30.0954826%20L32.699%2C30.0954826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M38.494%2C44.8534826%20L32.699%2C44.8534826%20L32.699%2C51.0384826%20L37.323%2C51.0384826%20C38.012%2C49.1074826%2038.417%2C47.0314826%2038.494%2C44.8534826%20L38.494%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C58.0874826%20L31.183%2C52.5684826%20L27.176%2C52.5684826%20C28.173%2C54.7434826%2029.549%2C56.6284826%2031.183%2C58.0874826%20L31.183%2C58.0874826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M36.706%2C52.5674826%20L32.699%2C52.5674826%20L32.699%2C58.0864826%20C34.333%2C56.6284826%2035.709%2C54.7434826%2036.706%2C52.5674826%20L36.706%2C52.5674826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M43.112%2C35.6154826%20C41.259%2C33.1724826%2038.46%2C31.1984826%2035.186%2C30.4614826%20C36.454%2C31.9304826%2037.554%2C33.7034826%2038.354%2C35.6154826%20L43.112%2C35.6154826%20L43.112%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M35.187%2C57.7224826%20C38.46%2C56.9844826%2041.26%2C55.0114826%2043.113%2C52.5684826%20L38.356%2C52.5684826%20C37.555%2C54.4804826%2036.454%2C56.2534826%2035.187%2C57.7224826%20L35.187%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C44.8534826%20C39.938%2C47.0284826%2039.561%2C49.1084826%2038.928%2C51.0314826%20L44.116%2C51.0364826%20C45.168%2C49.1964826%2045.815%2C47.0944826%2045.936%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C51.0384826%20L31.184%2C51.0384826%20L31.184%2C44.8534826%20L25.39%2C44.8534826%20C25.465%2C47.0314826%2025.87%2C49.1074826%2026.56%2C51.0384826%20L26.56%2C51.0384826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C43.3294826%20L45.936%2C43.3294826%20C45.816%2C41.0864826%2045.169%2C38.9864826%2044.116%2C37.1444826%20L38.928%2C37.1504826%20C39.559%2C39.0744826%2039.937%2C41.1534826%2040.009%2C43.3294826%20L40.009%2C43.3294826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.873%2C44.8534826%20L17.946%2C44.8534826%20L17.946%2C44.8534826%20C18.066%2C47.0944826%2018.713%2C49.1964826%2019.766%2C51.0384826%20L24.954%2C51.0334826%20C24.321%2C49.1084826%2023.945%2C47.0274826%2023.873%2C44.8534826%20L23.873%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M24.953%2C37.1494826%20L19.765%2C37.1434826%20C18.713%2C38.9854826%2018.066%2C41.0864826%2017.945%2C43.3284826%20L23.872%2C43.3284826%20C23.945%2C41.1534826%2024.321%2C39.0744826%2024.953%2C37.1494826%20L24.953%2C37.1494826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C37.1444826%20C25.872%2C39.0744826%2025.465%2C41.1514826%2025.389%2C43.3274826%20L31.183%2C43.3274826%20L31.183%2C37.1444826%20L26.56%2C37.1444826%20L26.56%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C57.7224826%20C27.428%2C56.2534826%2026.327%2C54.4804826%2025.527%2C52.5684826%20L20.77%2C52.5684826%20C22.623%2C55.0114826%2025.424%2C56.9844826%2028.695%2C57.7224826%20L28.695%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C30.4604826%20C25.422%2C31.1984826%2022.623%2C33.1714826%2020.769%2C35.6144826%20L25.526%2C35.6144826%20C26.327%2C33.7024826%2027.428%2C31.9284826%2028.695%2C30.4604826%20L28.695%2C30.4604826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C35.6154826%20L31.183%2C30.0964826%20C29.551%2C31.5564826%2028.173%2C33.4414826%2027.176%2C35.6154826%20L31.183%2C35.6154826%20L31.183%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M59.117%2C0.0914825785%20L4.765%2C0.0914825785%20C2.62%2C0.0914825785%200.882%2C1.82948258%200.882%2C3.97348258%20L0.882%2C84.2084826%20C0.882%2C86.3534826%202.62%2C88.0914826%204.765%2C88.0914826%20L59.118%2C88.0914826%20C61.262%2C88.0914826%2063%2C86.3534826%2063%2C84.2094826%20L63%2C3.97348258%20C63%2C1.82948258%2061.262%2C0.0914825785%2059.117%2C0.0914825785%20L59.117%2C0.0914825785%20Z%20M31.941%2C28.5624826%20C40.517%2C28.5624826%2047.47%2C35.5154826%2047.47%2C44.0914826%20C47.47%2C52.6674826%2040.517%2C59.6204826%2031.941%2C59.6204826%20C23.365%2C59.6204826%2016.412%2C52.6674826%2016.412%2C44.0914826%20C16.412%2C35.5154826%2023.365%2C28.5624826%2031.941%2C28.5624826%20L31.941%2C28.5624826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2272.3217781%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2277.4493031%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2216%22%20y%3D%228.61571707%22%20width%3D%2231%22%20height%3D%222.50948416%22%20rx%3D%221.25474208%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2221.5760711%22%20y%3D%2214.9430433%22%20width%3D%2220.7543312%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-passport{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2263px%22%20height%3D%2289px%22%20viewBox%3D%220%200%2063%2089%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EGroup%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-HD%22%20transform%3D%22translate%28-456.000000%2C%20-322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%20transform%3D%22translate%28456.000000%2C%20322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M37.322%2C37.1444826%20L32.699%2C37.1444826%20L32.699%2C43.3274826%20L38.493%2C43.3274826%20C38.417%2C41.1514826%2038.012%2C39.0754826%2037.322%2C37.1444826%20L37.322%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M32.699%2C30.0954826%20L32.699%2C35.6144826%20L36.706%2C35.6144826%20C35.709%2C33.4394826%2034.331%2C31.5544826%2032.699%2C30.0954826%20L32.699%2C30.0954826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M38.494%2C44.8534826%20L32.699%2C44.8534826%20L32.699%2C51.0384826%20L37.323%2C51.0384826%20C38.012%2C49.1074826%2038.417%2C47.0314826%2038.494%2C44.8534826%20L38.494%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C58.0874826%20L31.183%2C52.5684826%20L27.176%2C52.5684826%20C28.173%2C54.7434826%2029.549%2C56.6284826%2031.183%2C58.0874826%20L31.183%2C58.0874826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M36.706%2C52.5674826%20L32.699%2C52.5674826%20L32.699%2C58.0864826%20C34.333%2C56.6284826%2035.709%2C54.7434826%2036.706%2C52.5674826%20L36.706%2C52.5674826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M43.112%2C35.6154826%20C41.259%2C33.1724826%2038.46%2C31.1984826%2035.186%2C30.4614826%20C36.454%2C31.9304826%2037.554%2C33.7034826%2038.354%2C35.6154826%20L43.112%2C35.6154826%20L43.112%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M35.187%2C57.7224826%20C38.46%2C56.9844826%2041.26%2C55.0114826%2043.113%2C52.5684826%20L38.356%2C52.5684826%20C37.555%2C54.4804826%2036.454%2C56.2534826%2035.187%2C57.7224826%20L35.187%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C44.8534826%20C39.938%2C47.0284826%2039.561%2C49.1084826%2038.928%2C51.0314826%20L44.116%2C51.0364826%20C45.168%2C49.1964826%2045.815%2C47.0944826%2045.936%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C51.0384826%20L31.184%2C51.0384826%20L31.184%2C44.8534826%20L25.39%2C44.8534826%20C25.465%2C47.0314826%2025.87%2C49.1074826%2026.56%2C51.0384826%20L26.56%2C51.0384826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C43.3294826%20L45.936%2C43.3294826%20C45.816%2C41.0864826%2045.169%2C38.9864826%2044.116%2C37.1444826%20L38.928%2C37.1504826%20C39.559%2C39.0744826%2039.937%2C41.1534826%2040.009%2C43.3294826%20L40.009%2C43.3294826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.873%2C44.8534826%20L17.946%2C44.8534826%20L17.946%2C44.8534826%20C18.066%2C47.0944826%2018.713%2C49.1964826%2019.766%2C51.0384826%20L24.954%2C51.0334826%20C24.321%2C49.1084826%2023.945%2C47.0274826%2023.873%2C44.8534826%20L23.873%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M24.953%2C37.1494826%20L19.765%2C37.1434826%20C18.713%2C38.9854826%2018.066%2C41.0864826%2017.945%2C43.3284826%20L23.872%2C43.3284826%20C23.945%2C41.1534826%2024.321%2C39.0744826%2024.953%2C37.1494826%20L24.953%2C37.1494826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C37.1444826%20C25.872%2C39.0744826%2025.465%2C41.1514826%2025.389%2C43.3274826%20L31.183%2C43.3274826%20L31.183%2C37.1444826%20L26.56%2C37.1444826%20L26.56%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C57.7224826%20C27.428%2C56.2534826%2026.327%2C54.4804826%2025.527%2C52.5684826%20L20.77%2C52.5684826%20C22.623%2C55.0114826%2025.424%2C56.9844826%2028.695%2C57.7224826%20L28.695%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C30.4604826%20C25.422%2C31.1984826%2022.623%2C33.1714826%2020.769%2C35.6144826%20L25.526%2C35.6144826%20C26.327%2C33.7024826%2027.428%2C31.9284826%2028.695%2C30.4604826%20L28.695%2C30.4604826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C35.6154826%20L31.183%2C30.0964826%20C29.551%2C31.5564826%2028.173%2C33.4414826%2027.176%2C35.6154826%20L31.183%2C35.6154826%20L31.183%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M59.117%2C0.0914825785%20L4.765%2C0.0914825785%20C2.62%2C0.0914825785%200.882%2C1.82948258%200.882%2C3.97348258%20L0.882%2C84.2084826%20C0.882%2C86.3534826%202.62%2C88.0914826%204.765%2C88.0914826%20L59.118%2C88.0914826%20C61.262%2C88.0914826%2063%2C86.3534826%2063%2C84.2094826%20L63%2C3.97348258%20C63%2C1.82948258%2061.262%2C0.0914825785%2059.117%2C0.0914825785%20L59.117%2C0.0914825785%20Z%20M31.941%2C28.5624826%20C40.517%2C28.5624826%2047.47%2C35.5154826%2047.47%2C44.0914826%20C47.47%2C52.6674826%2040.517%2C59.6204826%2031.941%2C59.6204826%20C23.365%2C59.6204826%2016.412%2C52.6674826%2016.412%2C44.0914826%20C16.412%2C35.5154826%2023.365%2C28.5624826%2031.941%2C28.5624826%20L31.941%2C28.5624826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2272.3217781%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2277.4493031%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2216%22%20y%3D%228.61571707%22%20width%3D%2231%22%20height%3D%222.50948416%22%20rx%3D%221.25474208%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2221.5760711%22%20y%3D%2214.9430433%22%20width%3D%2220.7543312%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-identity{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB1819F19-251B-4135-8B81-3983F35580E2%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-530.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-4%22%20transform%3D%22translate%28501.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%20fill%3D%22%23DADADA%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.28305865%2C0.313063783%20C2.08305865%2C0.313063783%200.283058647%2C2.11306378%200.283058647%2C4.31306378%20L0.283058647%2C47.2130638%20C0.283058647%2C49.4130638%202.08305865%2C51.2130638%204.28305865%2C51.2130638%20L77.5830586%2C51.2130638%20C79.7830586%2C51.2130638%2081.5830586%2C49.4130638%2081.5830586%2C47.2130638%20L81.5830586%2C4.31306378%20C81.5830586%2C2.11306378%2079.7830586%2C0.313063783%2077.5830586%2C0.313063783%20L4.28305865%2C0.313063783%20Z%20M21.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20C21.4830586%2C37.6130638%209.98305865%2C37.6130638%209.98305865%2C37.6130638%20L10.1830586%2C36.4130638%20C10.6830586%2C35.1130638%2010.6830586%2C34.2130638%2012.0830586%2C33.6130638%20C13.8830586%2C32.8130638%2016.7830586%2C32.0130638%2017.7830586%2C31.1130638%20C18.2830586%2C30.6130638%2018.3830586%2C30.1130638%2018.3830586%2C29.5130638%20C18.3830586%2C29.3130638%2018.3830586%2C29.1130638%2018.2830586%2C28.9130638%20C17.4830586%2C28.6130638%2016.9830586%2C27.0130638%2016.7830586%2C26.5130638%20C16.4830586%2C26.4130638%2016.2830586%2C26.3130638%2016.1830586%2C26.1130638%20C15.2830586%2C24.6130638%2014.8830586%2C23.5130638%2015.7830586%2C23.4130638%20C15.7830586%2C23.4130638%2015.6830586%2C22.9130638%2015.6830586%2C22.0130638%20L15.1830586%2C20.5130638%20C15.1830586%2C20.5130638%2015.1830586%2C20.1130638%2015.5830586%2C19.0130638%20C15.9830586%2C17.8130638%2015.4830586%2C16.9130638%2017.1830586%2C17.1130638%20C17.1830586%2C17.1130638%2016.9830586%2C15.4130638%2021.5830586%2C14.3130638%20C26.1830586%2C13.2130638%2024.8830586%2C15.8130638%2027.2830586%2C17.0130638%20C27.2830586%2C17.0130638%2027.6830586%2C18.1130638%2026.7830586%2C18.9130638%20C27.5830586%2C21.1130638%2027.0830586%2C23.5130638%2027.0830586%2C23.5130638%20C27.8830586%2C23.6130638%2027.5830586%2C24.7130638%2026.6830586%2C26.2130638%20C26.5830586%2C26.4130638%2026.2830586%2C26.5130638%2026.0830586%2C26.6130638%20C25.8830586%2C27.1130638%2025.3830586%2C28.7130638%2024.5830586%2C29.0130638%20C24.4830586%2C29.2130638%2024.4830586%2C29.4130638%2024.4830586%2C29.6130638%20C24.4830586%2C30.2130638%2024.5830586%2C30.7130638%2025.0830586%2C31.2130638%20C26.0830586%2C32.2130638%2028.9830586%2C33.0130638%2030.7830586%2C33.7130638%20C32.1830586%2C34.3130638%2032.1830586%2C35.2130638%2032.6830586%2C36.5130638%20L32.8830586%2C37.7130638%20C32.7830586%2C37.6130638%2021.2830586%2C37.6130638%2021.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20Z%20M38.3830586%2C19.1130638%20C38.3830586%2C18.8369214%2038.6140146%2C18.6130638%2038.8809394%2C18.6130638%20L68.7851779%2C18.6130638%20C69.0601498%2C18.6130638%2069.2830586%2C18.8449974%2069.2830586%2C19.1130638%20L69.2830586%2C19.1130638%20C69.2830586%2C19.3892062%2069.0521027%2C19.6130638%2068.7851779%2C19.6130638%20L38.8809394%2C19.6130638%20C38.6059675%2C19.6130638%2038.3830586%2C19.3811302%2038.3830586%2C19.1130638%20L38.3830586%2C19.1130638%20Z%20M38.3830586%2C25.7630638%20C38.3830586%2C25.4869214%2038.6140146%2C25.2630638%2038.8809394%2C25.2630638%20L68.7851779%2C25.2630638%20C69.0601498%2C25.2630638%2069.2830586%2C25.4949974%2069.2830586%2C25.7630638%20L69.2830586%2C25.7630638%20C69.2830586%2C26.0392062%2069.0521027%2C26.2630638%2068.7851779%2C26.2630638%20L38.8809394%2C26.2630638%20C38.6059675%2C26.2630638%2038.3830586%2C26.0311302%2038.3830586%2C25.7630638%20L38.3830586%2C25.7630638%20Z%20M38.3830586%2C32.4130638%20C38.3830586%2C32.1369214%2038.6148942%2C31.9130638%2038.8918617%2C31.9130638%20L54.2742556%2C31.9130638%20C54.5552598%2C31.9130638%2054.7830586%2C32.1449974%2054.7830586%2C32.4130638%20L54.7830586%2C32.4130638%20C54.7830586%2C32.6892062%2054.5512231%2C32.9130638%2054.2742556%2C32.9130638%20L38.8918617%2C32.9130638%20C38.6108575%2C32.9130638%2038.3830586%2C32.6811302%2038.3830586%2C32.4130638%20L38.3830586%2C32.4130638%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-identity{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB1819F19-251B-4135-8B81-3983F35580E2%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-530.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-4%22%20transform%3D%22translate%28501.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%2320c7a0%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%20fill%3D%22%2320c7a0%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.28305865%2C0.313063783%20C2.08305865%2C0.313063783%200.283058647%2C2.11306378%200.283058647%2C4.31306378%20L0.283058647%2C47.2130638%20C0.283058647%2C49.4130638%202.08305865%2C51.2130638%204.28305865%2C51.2130638%20L77.5830586%2C51.2130638%20C79.7830586%2C51.2130638%2081.5830586%2C49.4130638%2081.5830586%2C47.2130638%20L81.5830586%2C4.31306378%20C81.5830586%2C2.11306378%2079.7830586%2C0.313063783%2077.5830586%2C0.313063783%20L4.28305865%2C0.313063783%20Z%20M21.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20C21.4830586%2C37.6130638%209.98305865%2C37.6130638%209.98305865%2C37.6130638%20L10.1830586%2C36.4130638%20C10.6830586%2C35.1130638%2010.6830586%2C34.2130638%2012.0830586%2C33.6130638%20C13.8830586%2C32.8130638%2016.7830586%2C32.0130638%2017.7830586%2C31.1130638%20C18.2830586%2C30.6130638%2018.3830586%2C30.1130638%2018.3830586%2C29.5130638%20C18.3830586%2C29.3130638%2018.3830586%2C29.1130638%2018.2830586%2C28.9130638%20C17.4830586%2C28.6130638%2016.9830586%2C27.0130638%2016.7830586%2C26.5130638%20C16.4830586%2C26.4130638%2016.2830586%2C26.3130638%2016.1830586%2C26.1130638%20C15.2830586%2C24.6130638%2014.8830586%2C23.5130638%2015.7830586%2C23.4130638%20C15.7830586%2C23.4130638%2015.6830586%2C22.9130638%2015.6830586%2C22.0130638%20L15.1830586%2C20.5130638%20C15.1830586%2C20.5130638%2015.1830586%2C20.1130638%2015.5830586%2C19.0130638%20C15.9830586%2C17.8130638%2015.4830586%2C16.9130638%2017.1830586%2C17.1130638%20C17.1830586%2C17.1130638%2016.9830586%2C15.4130638%2021.5830586%2C14.3130638%20C26.1830586%2C13.2130638%2024.8830586%2C15.8130638%2027.2830586%2C17.0130638%20C27.2830586%2C17.0130638%2027.6830586%2C18.1130638%2026.7830586%2C18.9130638%20C27.5830586%2C21.1130638%2027.0830586%2C23.5130638%2027.0830586%2C23.5130638%20C27.8830586%2C23.6130638%2027.5830586%2C24.7130638%2026.6830586%2C26.2130638%20C26.5830586%2C26.4130638%2026.2830586%2C26.5130638%2026.0830586%2C26.6130638%20C25.8830586%2C27.1130638%2025.3830586%2C28.7130638%2024.5830586%2C29.0130638%20C24.4830586%2C29.2130638%2024.4830586%2C29.4130638%2024.4830586%2C29.6130638%20C24.4830586%2C30.2130638%2024.5830586%2C30.7130638%2025.0830586%2C31.2130638%20C26.0830586%2C32.2130638%2028.9830586%2C33.0130638%2030.7830586%2C33.7130638%20C32.1830586%2C34.3130638%2032.1830586%2C35.2130638%2032.6830586%2C36.5130638%20L32.8830586%2C37.7130638%20C32.7830586%2C37.6130638%2021.2830586%2C37.6130638%2021.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20Z%20M38.3830586%2C19.1130638%20C38.3830586%2C18.8369214%2038.6140146%2C18.6130638%2038.8809394%2C18.6130638%20L68.7851779%2C18.6130638%20C69.0601498%2C18.6130638%2069.2830586%2C18.8449974%2069.2830586%2C19.1130638%20L69.2830586%2C19.1130638%20C69.2830586%2C19.3892062%2069.0521027%2C19.6130638%2068.7851779%2C19.6130638%20L38.8809394%2C19.6130638%20C38.6059675%2C19.6130638%2038.3830586%2C19.3811302%2038.3830586%2C19.1130638%20L38.3830586%2C19.1130638%20Z%20M38.3830586%2C25.7630638%20C38.3830586%2C25.4869214%2038.6140146%2C25.2630638%2038.8809394%2C25.2630638%20L68.7851779%2C25.2630638%20C69.0601498%2C25.2630638%2069.2830586%2C25.4949974%2069.2830586%2C25.7630638%20L69.2830586%2C25.7630638%20C69.2830586%2C26.0392062%2069.0521027%2C26.2630638%2068.7851779%2C26.2630638%20L38.8809394%2C26.2630638%20C38.6059675%2C26.2630638%2038.3830586%2C26.0311302%2038.3830586%2C25.7630638%20L38.3830586%2C25.7630638%20Z%20M38.3830586%2C32.4130638%20C38.3830586%2C32.1369214%2038.6148942%2C31.9130638%2038.8918617%2C31.9130638%20L54.2742556%2C31.9130638%20C54.5552598%2C31.9130638%2054.7830586%2C32.1449974%2054.7830586%2C32.4130638%20L54.7830586%2C32.4130638%20C54.7830586%2C32.6892062%2054.5512231%2C32.9130638%2054.2742556%2C32.9130638%20L38.8918617%2C32.9130638%20C38.6108575%2C32.9130638%2038.3830586%2C32.6811302%2038.3830586%2C32.4130638%20L38.3830586%2C32.4130638%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-license{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EA6BE5E14-EA91-43EA-9B09-3188B38721E3%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-829.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-7%22%20transform%3D%22translate%28800.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2281.2178872%22%20height%3D%2251.4546762%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Page-1%22%20transform%3D%22translate%289.874020%2C%2019.825959%29%22%20fill%3D%22%23FFFFFF%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.320118%2C6.37074412%20C27.3062114%2C6.29249668%2027.2783984%2C6.19830308%2027.2227722%2C6.07666726%20L22.2057223%2C1.93363238%20L12.1099346%2C1.93363238%20C11.8760195%2C1.91916958%2011.7490778%2C2.03338859%2011.6392519%2C2.16689133%20L8.26424281%2C5.68246335%20L0.884864867%2C6.95889783%20C0.781813877%2C7.05160806%200.67840631%2C7.14283493%200.596393412%2C7.38313986%20L0.611726258%2C10.0238981%20C0.771829698%2C10.4470276%200.880585933%2C10.3921432%201.00182239%2C10.4514777%20L2.42242842%2C10.4514777%20C2.42242842%2C6.86173751%207.5635674%2C6.8762003%207.5635674%2C10.4514777%20L20.6735075%2C10.4514777%20C20.6735075%2C6.85432069%2025.7754229%2C6.86173751%2025.7754229%2C10.4514777%20L26.940006%2C10.4514777%20C27.1350541%2C10.4325648%2027.2448801%2C10.2530778%2027.3383034%2C10.042811%20L27.320118%2C6.37074412%20Z%20M16.4837181%2C6.19978645%20L9.48980077%2C6.19978645%20C9.22379372%2C6.09113005%209.18777936%2C5.92462248%209.29903164%2C5.72325585%20L11.8132618%2C3.1433155%20C11.8703143%2C3.09251029%2011.9148865%2C3.02427556%2012.0125888%2C3.03873835%20L16.4837181%2C3.03873835%20L16.4837181%2C6.19978645%20Z%20M23.7265267%2C6.20126981%20L17.3152576%2C6.20126981%20L17.3152576%2C3.04022172%20L21.0775101%2C3.04022172%20C21.1762822%2C3.02427556%2021.2208544%2C3.09399365%2021.2764805%2C3.14479886%20L23.4312803%2C5.40173676%20C23.6306073%2C5.71138894%2024.030331%2C6.13748517%2023.7265267%2C6.20126981%20L23.7265267%2C6.20126981%20Z%22%20id%3D%22Fill-1%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.98123084%2C8.28576668%20C3.8277016%2C8.28576668%202.89453745%2C9.25774076%202.89453745%2C10.455557%20C2.89453745%2C11.6552274%203.82912791%2C12.6257181%204.98123084%2C12.6257181%20C6.1344035%2C12.6257181%207.06756765%2C11.653744%207.06756765%2C10.455557%20C7.06756765%2C9.2562574%206.13297719%2C8.28576668%204.98123084%2C8.28576668%20L4.98123084%2C8.28576668%20Z%20M4.98123084%2C11.3667131%20C4.49521527%2C11.3667131%204.10084021%2C10.9569339%204.10084021%2C10.4514777%20C4.10084021%2C9.94565069%204.49521527%2C9.53587146%204.98123084%2C9.53587146%20C5.46724641%2C9.53587146%205.86162147%2C9.94565069%205.86162147%2C10.4514777%20C5.86162147%2C10.9569339%205.46724641%2C11.3667131%204.98123084%2C11.3667131%20L4.98123084%2C11.3667131%20Z%22%20id%3D%22Fill-2%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.2251783%2C8.28428332%20C22.0720057%2C8.28428332%2021.1384849%2C9.2562574%2021.1384849%2C10.4540736%20C21.1384849%2C11.653744%2022.0730754%2C12.6242347%2023.2251783%2C12.6242347%20C24.378351%2C12.6242347%2025.3115151%2C11.6522607%2025.3115151%2C10.4540736%20C25.3115151%2C9.25477403%2024.378351%2C8.28428332%2023.2251783%2C8.28428332%20L23.2251783%2C8.28428332%20Z%20M23.2251783%2C11.3667131%20C22.7391628%2C11.3667131%2022.3447877%2C10.9569339%2022.3447877%2C10.4514777%20C22.3447877%2C9.94565069%2022.7391628%2C9.53587146%2023.2251783%2C9.53587146%20C23.7111939%2C9.53587146%2024.105569%2C9.94565069%2024.105569%2C10.4514777%20C24.105569%2C10.9569339%2023.7111939%2C11.3667131%2023.2251783%2C11.3667131%20L23.2251783%2C11.3667131%20Z%22%20id%3D%22Fill-3%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%220.0370233284%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.6621834%22%20y%3D%2213.3851802%22%20width%3D%2216.077044%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%226.90141318%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-license{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EA6BE5E14-EA91-43EA-9B09-3188B38721E3%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-829.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-7%22%20transform%3D%22translate%28800.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%2320c7a0%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2281.2178872%22%20height%3D%2251.4546762%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Page-1%22%20transform%3D%22translate%289.874020%2C%2019.825959%29%22%20fill%3D%22%23FFFFFF%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.320118%2C6.37074412%20C27.3062114%2C6.29249668%2027.2783984%2C6.19830308%2027.2227722%2C6.07666726%20L22.2057223%2C1.93363238%20L12.1099346%2C1.93363238%20C11.8760195%2C1.91916958%2011.7490778%2C2.03338859%2011.6392519%2C2.16689133%20L8.26424281%2C5.68246335%20L0.884864867%2C6.95889783%20C0.781813877%2C7.05160806%200.67840631%2C7.14283493%200.596393412%2C7.38313986%20L0.611726258%2C10.0238981%20C0.771829698%2C10.4470276%200.880585933%2C10.3921432%201.00182239%2C10.4514777%20L2.42242842%2C10.4514777%20C2.42242842%2C6.86173751%207.5635674%2C6.8762003%207.5635674%2C10.4514777%20L20.6735075%2C10.4514777%20C20.6735075%2C6.85432069%2025.7754229%2C6.86173751%2025.7754229%2C10.4514777%20L26.940006%2C10.4514777%20C27.1350541%2C10.4325648%2027.2448801%2C10.2530778%2027.3383034%2C10.042811%20L27.320118%2C6.37074412%20Z%20M16.4837181%2C6.19978645%20L9.48980077%2C6.19978645%20C9.22379372%2C6.09113005%209.18777936%2C5.92462248%209.29903164%2C5.72325585%20L11.8132618%2C3.1433155%20C11.8703143%2C3.09251029%2011.9148865%2C3.02427556%2012.0125888%2C3.03873835%20L16.4837181%2C3.03873835%20L16.4837181%2C6.19978645%20Z%20M23.7265267%2C6.20126981%20L17.3152576%2C6.20126981%20L17.3152576%2C3.04022172%20L21.0775101%2C3.04022172%20C21.1762822%2C3.02427556%2021.2208544%2C3.09399365%2021.2764805%2C3.14479886%20L23.4312803%2C5.40173676%20C23.6306073%2C5.71138894%2024.030331%2C6.13748517%2023.7265267%2C6.20126981%20L23.7265267%2C6.20126981%20Z%22%20id%3D%22Fill-1%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.98123084%2C8.28576668%20C3.8277016%2C8.28576668%202.89453745%2C9.25774076%202.89453745%2C10.455557%20C2.89453745%2C11.6552274%203.82912791%2C12.6257181%204.98123084%2C12.6257181%20C6.1344035%2C12.6257181%207.06756765%2C11.653744%207.06756765%2C10.455557%20C7.06756765%2C9.2562574%206.13297719%2C8.28576668%204.98123084%2C8.28576668%20L4.98123084%2C8.28576668%20Z%20M4.98123084%2C11.3667131%20C4.49521527%2C11.3667131%204.10084021%2C10.9569339%204.10084021%2C10.4514777%20C4.10084021%2C9.94565069%204.49521527%2C9.53587146%204.98123084%2C9.53587146%20C5.46724641%2C9.53587146%205.86162147%2C9.94565069%205.86162147%2C10.4514777%20C5.86162147%2C10.9569339%205.46724641%2C11.3667131%204.98123084%2C11.3667131%20L4.98123084%2C11.3667131%20Z%22%20id%3D%22Fill-2%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.2251783%2C8.28428332%20C22.0720057%2C8.28428332%2021.1384849%2C9.2562574%2021.1384849%2C10.4540736%20C21.1384849%2C11.653744%2022.0730754%2C12.6242347%2023.2251783%2C12.6242347%20C24.378351%2C12.6242347%2025.3115151%2C11.6522607%2025.3115151%2C10.4540736%20C25.3115151%2C9.25477403%2024.378351%2C8.28428332%2023.2251783%2C8.28428332%20L23.2251783%2C8.28428332%20Z%20M23.2251783%2C11.3667131%20C22.7391628%2C11.3667131%2022.3447877%2C10.9569339%2022.3447877%2C10.4514777%20C22.3447877%2C9.94565069%2022.7391628%2C9.53587146%2023.2251783%2C9.53587146%20C23.7111939%2C9.53587146%2024.105569%2C9.94565069%2024.105569%2C10.4514777%20C24.105569%2C10.9569339%2023.7111939%2C11.3667131%2023.2251783%2C11.3667131%20L23.2251783%2C11.3667131%20Z%22%20id%3D%22Fill-3%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%220.0370233284%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.6621834%22%20y%3D%2213.3851802%22%20width%3D%2216.077044%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%226.90141318%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-selector{position:relative;width:100%}.onfido-sdk-ui-Document-capture{width:100%;padding:1rem 1.5rem 3rem;color:#9b9b9b;display:-ms-flexbox;display:flex}.onfido-sdk-ui-Document-capture p{margin:0}.onfido-sdk-ui-Document-rectangle{width:80%;height:67.94055202%}.onfido-sdk-ui-Confirm-captures{margin-bottom:1.5rem}.onfido-sdk-ui-Confirm-image{max-width:92%;display:block;margin:0 auto}.onfido-sdk-ui-Confirm-btn-outline{background-color:transparent;border:1px solid #ccc;color:#9b9b9b}.onfido-sdk-ui-Confirm-actions{padding:0}.onfido-sdk-ui-Uploader-base{padding:1.5rem}.onfido-sdk-ui-Uploader-text{text-align:center;padding:0 1.5rem;margin-bottom:0}.onfido-sdk-ui-Uploader-text+.onfido-sdk-ui-Uploader-text{margin-top:1.5rem}.onfido-sdk-ui-Uploader-error{color:#dc0505;margin-top:.75rem;font-weight:400}.onfido-sdk-ui-Uploader-processing{text-align:center}.onfido-sdk-ui-Uploader-icon{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2280px%22%20height%3D%2274px%22%20viewBox%3D%220%200%2080%2074%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3Enoun_148000_cc%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22noun_148000_cc%22%20fill%3D%22%234A88C2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M79.523%2C39.069%20C79.523%2C44.071%2077.649%2C48.89%2074.248%2C52.638%20C70.822%2C56.413%2066.222%2C58.683%2061.294%2C59.031%20C61.248%2C59.034%2061.202%2C59.036%2061.156%2C59.036%20L49.014%2C59.036%20C47.933%2C59.036%2047.057%2C58.16%2047.057%2C57.079%20C47.057%2C55.998%2047.933%2C55.122%2049.014%2C55.122%20L61.084%2C55.122%20C69.1%2C54.519%2075.609%2C47.333%2075.609%2C39.069%20C75.609%2C31.28%2070.026%2C24.451%2062.623%2C23.185%20C61.752%2C23.036%2061.089%2C22.322%2061.005%2C21.442%20C60.078%2C11.723%2051.998%2C4.394%2042.211%2C4.394%20C34.93%2C4.394%2028.223%2C8.645%2025.127%2C15.223%20C24.694%2C16.143%2023.628%2C16.578%2022.676%2C16.224%20C21.769%2C15.888%2020.801%2C15.717%2019.798%2C15.717%20C15.138%2C15.717%2011.348%2C19.508%2011.348%2C24.167%20C11.348%2C25.182%2011.519%2C26.157%2011.855%2C27.063%20C12.185%2C27.954%2011.827%2C28.954%2011.006%2C29.434%20C6.926%2C31.814%204.392%2C36.221%204.392%2C40.937%20C4.392%2C48.227%2010.143%2C54.709%2016.961%2C55.121%20L30.976%2C55.121%20C32.057%2C55.121%2032.933%2C55.997%2032.933%2C57.078%20C32.933%2C58.159%2032.057%2C59.035%2030.976%2C59.035%20L16.903%2C59.035%20C16.867%2C59.035%2016.83%2C59.034%2016.794%2C59.032%20C12.411%2C58.788%208.287%2C56.714%205.181%2C53.194%20C2.147%2C49.756%200.477%2C45.403%200.477%2C40.938%20C0.477%2C35.355%203.222%2C30.106%207.731%2C26.895%20C7.533%2C26.012%207.433%2C25.1%207.433%2C24.168%20C7.433%2C17.351%2012.979%2C11.804%2019.796%2C11.804%20C20.666%2C11.804%2021.522%2C11.893%2022.354%2C12.069%20C26.362%2C4.978%2033.982%2C0.481%2042.21%2C0.481%20C47.918%2C0.481%2053.379%2C2.6%2057.588%2C6.446%20C61.408%2C9.937%2063.906%2C14.576%2064.716%2C19.632%20C73.252%2C21.803%2079.523%2C29.904%2079.523%2C39.069%20L79.523%2C39.069%20Z%20M50.321%2C42.847%20C50.703%2C43.229%2051.204%2C43.42%2051.705%2C43.42%20C52.206%2C43.42%2052.707%2C43.229%2053.088%2C42.847%20C53.852%2C42.083%2053.852%2C40.844%2053.088%2C40.08%20L41.384%2C28.375%20C40.62%2C27.611%2039.381%2C27.611%2038.617%2C28.375%20L26.912%2C40.079%20C26.148%2C40.843%2026.148%2C42.082%2026.912%2C42.846%20C27.294%2C43.228%2027.795%2C43.419%2028.296%2C43.419%20C28.797%2C43.419%2029.298%2C43.228%2029.679%2C42.846%20L38.044%2C34.481%20L38.044%2C71.562%20C38.044%2C72.643%2038.92%2C73.519%2040.001%2C73.519%20C41.082%2C73.519%2041.958%2C72.643%2041.958%2C71.562%20L41.958%2C34.482%20L50.321%2C42.847%20L50.321%2C42.847%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E');background-size:4rem auto}.onfido-sdk-ui-Uploader-dropzone{-ms-flex:auto;flex:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;cursor:pointer}@media (min-width:30em){.onfido-sdk-ui-Uploader-dropzone{min-height:20rem}}.onfido-sdk-ui-Spinner-loader{width:48px;height:48px;margin:0 auto 1.5rem}@keyframes onfido-sdk-ui-Spinner-ball-scale-ripple-multiple{0%{transform:scale(.1);opacity:1}70%{transform:scale(1);opacity:.7}to{opacity:0}}.onfido-sdk-ui-Spinner-inner{position:relative;transform:translateX(25px)}.onfido-sdk-ui-Spinner-inner>div:nth-child(0){animation-delay:-.8s}.onfido-sdk-ui-Spinner-inner>div:nth-child(1){animation-delay:-.6s}.onfido-sdk-ui-Spinner-inner>div:nth-child(2){animation-delay:-.4s}.onfido-sdk-ui-Spinner-inner>div:nth-child(3){animation-delay:-.2s}.onfido-sdk-ui-Spinner-inner>div{animation-fill-mode:both;position:absolute;top:-2px;left:-26px;width:50px;height:50px;border-radius:100%;border:2px solid #ccc;animation:onfido-sdk-ui-Spinner-ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8)}.onfido-sdk-ui-Face-circle{width:0;height:0;padding:0 45% 60% 0;border-radius:100%}.onfido-sdk-ui-Face-instructions{margin:15px 0 55px}.onfido-sdk-ui-Capture-camera,.onfido-sdk-ui-Capture-uploader{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}.onfido-sdk-ui-Countdown-countdown{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;text-shadow:0 0 .35rem rgba(0,0,0,.7);font-size:6rem;line-height:1}.onfido-sdk-ui-Camera-video-overlay{position:relative;overflow:hidden;margin-top:-10px}.onfido-sdk-ui-Camera-video{max-width:100%;height:auto!important;display:block}.onfido-sdk-ui-Camera-uploadFallback{display:block;position:absolute;bottom:0;right:0;padding-right:7px;padding-bottom:3px}.onfido-sdk-ui-Camera-uploadFallback button{background:none;border:none;display:inline;font:inherit;margin:0;padding:0;outline:none;outline-offset:0;cursor:pointer;color:#fff}.onfido-sdk-ui-Camera-uploadFallback button:hover{text-decoration:underline}.onfido-sdk-ui-Complete-icon{height:4rem;background-size:contain;background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2247px%22%20height%3D%2243px%22%20viewBox%3D%220%200%2047%2043%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EE5C2839F-CF3B-4CE6-BC83-EE4E41D1604F%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2208%22%20transform%3D%22translate%28-697.000000%2C%20-360.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20fill%3D%22%23F3F3F3%22%20x%3D%22470%22%20y%3D%22213%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M713.693755%2C402.826033%20C712.867822%2C402.826033%20712.093511%2C402.516308%20711.525682%2C401.94848%20L698.001041%2C388.010872%20C696.710522%2C386.823594%20696.658901%2C384.810384%20697.8978%2C383.519865%20C699.085077%2C382.229346%20701.098287%2C382.177725%20702.388806%2C383.416624%20L712.299994%2C390.488669%20C712.867822%2C391.004877%20713.745376%2C390.901635%20714.209962%2C390.282186%20L737.697412%2C361.271314%20C738.729828%2C359.877553%20740.743038%2C359.567829%20742.136798%2C360.651865%20C743.530559%2C361.68428%20743.840284%2C363.69749%20742.756248%2C365.091251%20L716.223172%2C401.535513%20C715.655344%2C402.258204%20714.829412%2C402.722791%20713.951859%2C402.774412%20C713.848617%2C402.826033%20713.796996%2C402.826033%20713.693755%2C402.826033%22%20id%3D%22Fill-1%22%20fill%3D%22%239B9B9B%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E');margin-top:1.5rem;margin-bottom:1.5rem}.onfido-sdk-ui-Error-base{position:absolute;display:none;width:100%;height:100%;z-index:999;background:rgba(0,0,0,.85);font-size:2rem;-ms-flex-align:center;align-items:center}.onfido-sdk-ui-Error-base:not(.onfido-sdk-ui-Error-hidden){display:-ms-flexbox;display:flex}.onfido-sdk-ui-Error-base p{margin:4rem 0} +.onfido-sdk-ui-Theme-step{background:#f3f3f3;margin:0 1.5rem 4rem}@media (min-width:30em){.onfido-sdk-ui-Theme-step{margin:0 3rem 4rem}}.onfido-sdk-ui-Theme-title{font-weight:300;font-size:24px;margin-top:0;color:#4a4a4a;width:100%;text-align:center;padding-bottom:1.8rem;padding-top:1.2rem}.onfido-sdk-ui-Theme-mbottom-large{margin-bottom:4rem}.onfido-sdk-ui-Theme-btn{font:inherit;font-weight:500;font-size:14px;line-height:inherit;text-decoration:none;text-align:center;cursor:pointer;display:inline-block;border:none;border-radius:2rem;padding:1.2rem 2rem;outline:none}.onfido-sdk-ui-Theme-btn:disabled{opacity:.5}.onfido-sdk-ui-Theme-btn-centered{margin:auto}.onfido-sdk-ui-Theme-btn-primary{display:block;width:215px;border:none;background:#20c7a0;color:#fff}@media (max-width:30em){.onfido-sdk-ui-Theme-btn-primary{width:auto}}.onfido-sdk-ui-Theme-btn-alternative{background-color:#2980b9}.onfido-sdk-ui-Theme-center{text-align:center}.onfido-sdk-ui-Theme-overlay-shape{border:1px solid #00c8a0;position:absolute;bottom:50%;left:50%;transform:translate(-50%,50%);box-shadow:0 0 0 300px rgba(0,0,0,.7)}.onfido-sdk-ui-Theme-overlay{display:-ms-flexbox;display:flex;position:absolute;width:100%;height:100%}.onfido-sdk-ui-Theme-icon{display:block;background-repeat:no-repeat;background-position:50%;height:4rem}.onfido-sdk-ui-Theme-actions{width:100%;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:.75rem 1.5rem 0}@media (min-width:30em){.onfido-sdk-ui-Theme-actions{padding:1.5em 3rem 0}}.onfido-sdk-ui-Welcome-mtop-large{margin-top:4rem}@media (min-width:30em){.onfido-sdk-ui-Select-methods{display:-ms-flexbox;display:flex;-ms-flex:auto;flex:auto;-ms-flex-wrap:wrap;flex-wrap:wrap}}.onfido-sdk-ui-Select-wrapper{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.onfido-sdk-ui-DocumentSelector-option{cursor:pointer;float:left;width:33.33333333%;padding:0 9px;font-size:12px;letter-spacing:.2px}@media (max-width:30em){.onfido-sdk-ui-DocumentSelector-option{float:none;margin:2rem auto;width:100%}}.onfido-sdk-ui-DocumentSelector-icon{width:124px;max-width:100%;margin:0 auto 1rem;background-position:50% 50%;background-repeat:no-repeat;background-size:50%}.onfido-sdk-ui-DocumentSelector-icon:after{content:"";display:block;padding-bottom:100%;padding-top:2px;border:1px solid #dadada;border-radius:5px}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon:after{border:2px solid #20c7a0;padding-top:0;position:relative}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-passport{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2263px%22%20height%3D%2289px%22%20viewBox%3D%220%200%2063%2089%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EGroup%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-HD%22%20transform%3D%22translate%28-456.000000%2C%20-322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%20transform%3D%22translate%28456.000000%2C%20322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M37.322%2C37.1444826%20L32.699%2C37.1444826%20L32.699%2C43.3274826%20L38.493%2C43.3274826%20C38.417%2C41.1514826%2038.012%2C39.0754826%2037.322%2C37.1444826%20L37.322%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M32.699%2C30.0954826%20L32.699%2C35.6144826%20L36.706%2C35.6144826%20C35.709%2C33.4394826%2034.331%2C31.5544826%2032.699%2C30.0954826%20L32.699%2C30.0954826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M38.494%2C44.8534826%20L32.699%2C44.8534826%20L32.699%2C51.0384826%20L37.323%2C51.0384826%20C38.012%2C49.1074826%2038.417%2C47.0314826%2038.494%2C44.8534826%20L38.494%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C58.0874826%20L31.183%2C52.5684826%20L27.176%2C52.5684826%20C28.173%2C54.7434826%2029.549%2C56.6284826%2031.183%2C58.0874826%20L31.183%2C58.0874826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M36.706%2C52.5674826%20L32.699%2C52.5674826%20L32.699%2C58.0864826%20C34.333%2C56.6284826%2035.709%2C54.7434826%2036.706%2C52.5674826%20L36.706%2C52.5674826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M43.112%2C35.6154826%20C41.259%2C33.1724826%2038.46%2C31.1984826%2035.186%2C30.4614826%20C36.454%2C31.9304826%2037.554%2C33.7034826%2038.354%2C35.6154826%20L43.112%2C35.6154826%20L43.112%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M35.187%2C57.7224826%20C38.46%2C56.9844826%2041.26%2C55.0114826%2043.113%2C52.5684826%20L38.356%2C52.5684826%20C37.555%2C54.4804826%2036.454%2C56.2534826%2035.187%2C57.7224826%20L35.187%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C44.8534826%20C39.938%2C47.0284826%2039.561%2C49.1084826%2038.928%2C51.0314826%20L44.116%2C51.0364826%20C45.168%2C49.1964826%2045.815%2C47.0944826%2045.936%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C51.0384826%20L31.184%2C51.0384826%20L31.184%2C44.8534826%20L25.39%2C44.8534826%20C25.465%2C47.0314826%2025.87%2C49.1074826%2026.56%2C51.0384826%20L26.56%2C51.0384826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C43.3294826%20L45.936%2C43.3294826%20C45.816%2C41.0864826%2045.169%2C38.9864826%2044.116%2C37.1444826%20L38.928%2C37.1504826%20C39.559%2C39.0744826%2039.937%2C41.1534826%2040.009%2C43.3294826%20L40.009%2C43.3294826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.873%2C44.8534826%20L17.946%2C44.8534826%20L17.946%2C44.8534826%20C18.066%2C47.0944826%2018.713%2C49.1964826%2019.766%2C51.0384826%20L24.954%2C51.0334826%20C24.321%2C49.1084826%2023.945%2C47.0274826%2023.873%2C44.8534826%20L23.873%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M24.953%2C37.1494826%20L19.765%2C37.1434826%20C18.713%2C38.9854826%2018.066%2C41.0864826%2017.945%2C43.3284826%20L23.872%2C43.3284826%20C23.945%2C41.1534826%2024.321%2C39.0744826%2024.953%2C37.1494826%20L24.953%2C37.1494826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C37.1444826%20C25.872%2C39.0744826%2025.465%2C41.1514826%2025.389%2C43.3274826%20L31.183%2C43.3274826%20L31.183%2C37.1444826%20L26.56%2C37.1444826%20L26.56%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C57.7224826%20C27.428%2C56.2534826%2026.327%2C54.4804826%2025.527%2C52.5684826%20L20.77%2C52.5684826%20C22.623%2C55.0114826%2025.424%2C56.9844826%2028.695%2C57.7224826%20L28.695%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C30.4604826%20C25.422%2C31.1984826%2022.623%2C33.1714826%2020.769%2C35.6144826%20L25.526%2C35.6144826%20C26.327%2C33.7024826%2027.428%2C31.9284826%2028.695%2C30.4604826%20L28.695%2C30.4604826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C35.6154826%20L31.183%2C30.0964826%20C29.551%2C31.5564826%2028.173%2C33.4414826%2027.176%2C35.6154826%20L31.183%2C35.6154826%20L31.183%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M59.117%2C0.0914825785%20L4.765%2C0.0914825785%20C2.62%2C0.0914825785%200.882%2C1.82948258%200.882%2C3.97348258%20L0.882%2C84.2084826%20C0.882%2C86.3534826%202.62%2C88.0914826%204.765%2C88.0914826%20L59.118%2C88.0914826%20C61.262%2C88.0914826%2063%2C86.3534826%2063%2C84.2094826%20L63%2C3.97348258%20C63%2C1.82948258%2061.262%2C0.0914825785%2059.117%2C0.0914825785%20L59.117%2C0.0914825785%20Z%20M31.941%2C28.5624826%20C40.517%2C28.5624826%2047.47%2C35.5154826%2047.47%2C44.0914826%20C47.47%2C52.6674826%2040.517%2C59.6204826%2031.941%2C59.6204826%20C23.365%2C59.6204826%2016.412%2C52.6674826%2016.412%2C44.0914826%20C16.412%2C35.5154826%2023.365%2C28.5624826%2031.941%2C28.5624826%20L31.941%2C28.5624826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2272.3217781%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2277.4493031%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2216%22%20y%3D%228.61571707%22%20width%3D%2231%22%20height%3D%222.50948416%22%20rx%3D%221.25474208%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2221.5760711%22%20y%3D%2214.9430433%22%20width%3D%2220.7543312%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-passport{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2263px%22%20height%3D%2289px%22%20viewBox%3D%220%200%2063%2089%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EGroup%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Desktop-HD%22%20transform%3D%22translate%28-456.000000%2C%20-322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group%22%20transform%3D%22translate%28456.000000%2C%20322.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M37.322%2C37.1444826%20L32.699%2C37.1444826%20L32.699%2C43.3274826%20L38.493%2C43.3274826%20C38.417%2C41.1514826%2038.012%2C39.0754826%2037.322%2C37.1444826%20L37.322%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M32.699%2C30.0954826%20L32.699%2C35.6144826%20L36.706%2C35.6144826%20C35.709%2C33.4394826%2034.331%2C31.5544826%2032.699%2C30.0954826%20L32.699%2C30.0954826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M38.494%2C44.8534826%20L32.699%2C44.8534826%20L32.699%2C51.0384826%20L37.323%2C51.0384826%20C38.012%2C49.1074826%2038.417%2C47.0314826%2038.494%2C44.8534826%20L38.494%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C58.0874826%20L31.183%2C52.5684826%20L27.176%2C52.5684826%20C28.173%2C54.7434826%2029.549%2C56.6284826%2031.183%2C58.0874826%20L31.183%2C58.0874826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M36.706%2C52.5674826%20L32.699%2C52.5674826%20L32.699%2C58.0864826%20C34.333%2C56.6284826%2035.709%2C54.7434826%2036.706%2C52.5674826%20L36.706%2C52.5674826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M43.112%2C35.6154826%20C41.259%2C33.1724826%2038.46%2C31.1984826%2035.186%2C30.4614826%20C36.454%2C31.9304826%2037.554%2C33.7034826%2038.354%2C35.6154826%20L43.112%2C35.6154826%20L43.112%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M35.187%2C57.7224826%20C38.46%2C56.9844826%2041.26%2C55.0114826%2043.113%2C52.5684826%20L38.356%2C52.5684826%20C37.555%2C54.4804826%2036.454%2C56.2534826%2035.187%2C57.7224826%20L35.187%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C44.8534826%20C39.938%2C47.0284826%2039.561%2C49.1084826%2038.928%2C51.0314826%20L44.116%2C51.0364826%20C45.168%2C49.1964826%2045.815%2C47.0944826%2045.936%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20L40.009%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C51.0384826%20L31.184%2C51.0384826%20L31.184%2C44.8534826%20L25.39%2C44.8534826%20C25.465%2C47.0314826%2025.87%2C49.1074826%2026.56%2C51.0384826%20L26.56%2C51.0384826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M40.009%2C43.3294826%20L45.936%2C43.3294826%20C45.816%2C41.0864826%2045.169%2C38.9864826%2044.116%2C37.1444826%20L38.928%2C37.1504826%20C39.559%2C39.0744826%2039.937%2C41.1534826%2040.009%2C43.3294826%20L40.009%2C43.3294826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.873%2C44.8534826%20L17.946%2C44.8534826%20L17.946%2C44.8534826%20C18.066%2C47.0944826%2018.713%2C49.1964826%2019.766%2C51.0384826%20L24.954%2C51.0334826%20C24.321%2C49.1084826%2023.945%2C47.0274826%2023.873%2C44.8534826%20L23.873%2C44.8534826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M24.953%2C37.1494826%20L19.765%2C37.1434826%20C18.713%2C38.9854826%2018.066%2C41.0864826%2017.945%2C43.3284826%20L23.872%2C43.3284826%20C23.945%2C41.1534826%2024.321%2C39.0744826%2024.953%2C37.1494826%20L24.953%2C37.1494826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M26.56%2C37.1444826%20C25.872%2C39.0744826%2025.465%2C41.1514826%2025.389%2C43.3274826%20L31.183%2C43.3274826%20L31.183%2C37.1444826%20L26.56%2C37.1444826%20L26.56%2C37.1444826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C57.7224826%20C27.428%2C56.2534826%2026.327%2C54.4804826%2025.527%2C52.5684826%20L20.77%2C52.5684826%20C22.623%2C55.0114826%2025.424%2C56.9844826%2028.695%2C57.7224826%20L28.695%2C57.7224826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.695%2C30.4604826%20C25.422%2C31.1984826%2022.623%2C33.1714826%2020.769%2C35.6144826%20L25.526%2C35.6144826%20C26.327%2C33.7024826%2027.428%2C31.9284826%2028.695%2C30.4604826%20L28.695%2C30.4604826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M31.183%2C35.6154826%20L31.183%2C30.0964826%20C29.551%2C31.5564826%2028.173%2C33.4414826%2027.176%2C35.6154826%20L31.183%2C35.6154826%20L31.183%2C35.6154826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M59.117%2C0.0914825785%20L4.765%2C0.0914825785%20C2.62%2C0.0914825785%200.882%2C1.82948258%200.882%2C3.97348258%20L0.882%2C84.2084826%20C0.882%2C86.3534826%202.62%2C88.0914826%204.765%2C88.0914826%20L59.118%2C88.0914826%20C61.262%2C88.0914826%2063%2C86.3534826%2063%2C84.2094826%20L63%2C3.97348258%20C63%2C1.82948258%2061.262%2C0.0914825785%2059.117%2C0.0914825785%20L59.117%2C0.0914825785%20Z%20M31.941%2C28.5624826%20C40.517%2C28.5624826%2047.47%2C35.5154826%2047.47%2C44.0914826%20C47.47%2C52.6674826%2040.517%2C59.6204826%2031.941%2C59.6204826%20C23.365%2C59.6204826%2016.412%2C52.6674826%2016.412%2C44.0914826%20C16.412%2C35.5154826%2023.365%2C28.5624826%2031.941%2C28.5624826%20L31.941%2C28.5624826%20Z%22%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2272.3217781%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20fill%3D%22%23F1F8FE%22%20x%3D%2211.9049644%22%20y%3D%2277.4493031%22%20width%3D%2241%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2216%22%20y%3D%228.61571707%22%20width%3D%2231%22%20height%3D%222.50948416%22%20rx%3D%221.25474208%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-80%22%20fill%3D%22%23F1F8FE%22%20x%3D%2221.5760711%22%20y%3D%2214.9430433%22%20width%3D%2220.7543312%22%20height%3D%221%22%20rx%3D%220.5%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-identity{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB1819F19-251B-4135-8B81-3983F35580E2%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-530.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-4%22%20transform%3D%22translate%28501.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%20fill%3D%22%23DADADA%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.28305865%2C0.313063783%20C2.08305865%2C0.313063783%200.283058647%2C2.11306378%200.283058647%2C4.31306378%20L0.283058647%2C47.2130638%20C0.283058647%2C49.4130638%202.08305865%2C51.2130638%204.28305865%2C51.2130638%20L77.5830586%2C51.2130638%20C79.7830586%2C51.2130638%2081.5830586%2C49.4130638%2081.5830586%2C47.2130638%20L81.5830586%2C4.31306378%20C81.5830586%2C2.11306378%2079.7830586%2C0.313063783%2077.5830586%2C0.313063783%20L4.28305865%2C0.313063783%20Z%20M21.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20C21.4830586%2C37.6130638%209.98305865%2C37.6130638%209.98305865%2C37.6130638%20L10.1830586%2C36.4130638%20C10.6830586%2C35.1130638%2010.6830586%2C34.2130638%2012.0830586%2C33.6130638%20C13.8830586%2C32.8130638%2016.7830586%2C32.0130638%2017.7830586%2C31.1130638%20C18.2830586%2C30.6130638%2018.3830586%2C30.1130638%2018.3830586%2C29.5130638%20C18.3830586%2C29.3130638%2018.3830586%2C29.1130638%2018.2830586%2C28.9130638%20C17.4830586%2C28.6130638%2016.9830586%2C27.0130638%2016.7830586%2C26.5130638%20C16.4830586%2C26.4130638%2016.2830586%2C26.3130638%2016.1830586%2C26.1130638%20C15.2830586%2C24.6130638%2014.8830586%2C23.5130638%2015.7830586%2C23.4130638%20C15.7830586%2C23.4130638%2015.6830586%2C22.9130638%2015.6830586%2C22.0130638%20L15.1830586%2C20.5130638%20C15.1830586%2C20.5130638%2015.1830586%2C20.1130638%2015.5830586%2C19.0130638%20C15.9830586%2C17.8130638%2015.4830586%2C16.9130638%2017.1830586%2C17.1130638%20C17.1830586%2C17.1130638%2016.9830586%2C15.4130638%2021.5830586%2C14.3130638%20C26.1830586%2C13.2130638%2024.8830586%2C15.8130638%2027.2830586%2C17.0130638%20C27.2830586%2C17.0130638%2027.6830586%2C18.1130638%2026.7830586%2C18.9130638%20C27.5830586%2C21.1130638%2027.0830586%2C23.5130638%2027.0830586%2C23.5130638%20C27.8830586%2C23.6130638%2027.5830586%2C24.7130638%2026.6830586%2C26.2130638%20C26.5830586%2C26.4130638%2026.2830586%2C26.5130638%2026.0830586%2C26.6130638%20C25.8830586%2C27.1130638%2025.3830586%2C28.7130638%2024.5830586%2C29.0130638%20C24.4830586%2C29.2130638%2024.4830586%2C29.4130638%2024.4830586%2C29.6130638%20C24.4830586%2C30.2130638%2024.5830586%2C30.7130638%2025.0830586%2C31.2130638%20C26.0830586%2C32.2130638%2028.9830586%2C33.0130638%2030.7830586%2C33.7130638%20C32.1830586%2C34.3130638%2032.1830586%2C35.2130638%2032.6830586%2C36.5130638%20L32.8830586%2C37.7130638%20C32.7830586%2C37.6130638%2021.2830586%2C37.6130638%2021.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20Z%20M38.3830586%2C19.1130638%20C38.3830586%2C18.8369214%2038.6140146%2C18.6130638%2038.8809394%2C18.6130638%20L68.7851779%2C18.6130638%20C69.0601498%2C18.6130638%2069.2830586%2C18.8449974%2069.2830586%2C19.1130638%20L69.2830586%2C19.1130638%20C69.2830586%2C19.3892062%2069.0521027%2C19.6130638%2068.7851779%2C19.6130638%20L38.8809394%2C19.6130638%20C38.6059675%2C19.6130638%2038.3830586%2C19.3811302%2038.3830586%2C19.1130638%20L38.3830586%2C19.1130638%20Z%20M38.3830586%2C25.7630638%20C38.3830586%2C25.4869214%2038.6140146%2C25.2630638%2038.8809394%2C25.2630638%20L68.7851779%2C25.2630638%20C69.0601498%2C25.2630638%2069.2830586%2C25.4949974%2069.2830586%2C25.7630638%20L69.2830586%2C25.7630638%20C69.2830586%2C26.0392062%2069.0521027%2C26.2630638%2068.7851779%2C26.2630638%20L38.8809394%2C26.2630638%20C38.6059675%2C26.2630638%2038.3830586%2C26.0311302%2038.3830586%2C25.7630638%20L38.3830586%2C25.7630638%20Z%20M38.3830586%2C32.4130638%20C38.3830586%2C32.1369214%2038.6148942%2C31.9130638%2038.8918617%2C31.9130638%20L54.2742556%2C31.9130638%20C54.5552598%2C31.9130638%2054.7830586%2C32.1449974%2054.7830586%2C32.4130638%20L54.7830586%2C32.4130638%20C54.7830586%2C32.6892062%2054.5512231%2C32.9130638%2054.2742556%2C32.9130638%20L38.8918617%2C32.9130638%20C38.6108575%2C32.9130638%2038.3830586%2C32.6811302%2038.3830586%2C32.4130638%20L38.3830586%2C32.4130638%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-identity{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB1819F19-251B-4135-8B81-3983F35580E2%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-530.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-4%22%20transform%3D%22translate%28501.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%2320c7a0%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%20fill%3D%22%2320c7a0%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.28305865%2C0.313063783%20C2.08305865%2C0.313063783%200.283058647%2C2.11306378%200.283058647%2C4.31306378%20L0.283058647%2C47.2130638%20C0.283058647%2C49.4130638%202.08305865%2C51.2130638%204.28305865%2C51.2130638%20L77.5830586%2C51.2130638%20C79.7830586%2C51.2130638%2081.5830586%2C49.4130638%2081.5830586%2C47.2130638%20L81.5830586%2C4.31306378%20C81.5830586%2C2.11306378%2079.7830586%2C0.313063783%2077.5830586%2C0.313063783%20L4.28305865%2C0.313063783%20Z%20M21.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20C21.4830586%2C37.6130638%209.98305865%2C37.6130638%209.98305865%2C37.6130638%20L10.1830586%2C36.4130638%20C10.6830586%2C35.1130638%2010.6830586%2C34.2130638%2012.0830586%2C33.6130638%20C13.8830586%2C32.8130638%2016.7830586%2C32.0130638%2017.7830586%2C31.1130638%20C18.2830586%2C30.6130638%2018.3830586%2C30.1130638%2018.3830586%2C29.5130638%20C18.3830586%2C29.3130638%2018.3830586%2C29.1130638%2018.2830586%2C28.9130638%20C17.4830586%2C28.6130638%2016.9830586%2C27.0130638%2016.7830586%2C26.5130638%20C16.4830586%2C26.4130638%2016.2830586%2C26.3130638%2016.1830586%2C26.1130638%20C15.2830586%2C24.6130638%2014.8830586%2C23.5130638%2015.7830586%2C23.4130638%20C15.7830586%2C23.4130638%2015.6830586%2C22.9130638%2015.6830586%2C22.0130638%20L15.1830586%2C20.5130638%20C15.1830586%2C20.5130638%2015.1830586%2C20.1130638%2015.5830586%2C19.0130638%20C15.9830586%2C17.8130638%2015.4830586%2C16.9130638%2017.1830586%2C17.1130638%20C17.1830586%2C17.1130638%2016.9830586%2C15.4130638%2021.5830586%2C14.3130638%20C26.1830586%2C13.2130638%2024.8830586%2C15.8130638%2027.2830586%2C17.0130638%20C27.2830586%2C17.0130638%2027.6830586%2C18.1130638%2026.7830586%2C18.9130638%20C27.5830586%2C21.1130638%2027.0830586%2C23.5130638%2027.0830586%2C23.5130638%20C27.8830586%2C23.6130638%2027.5830586%2C24.7130638%2026.6830586%2C26.2130638%20C26.5830586%2C26.4130638%2026.2830586%2C26.5130638%2026.0830586%2C26.6130638%20C25.8830586%2C27.1130638%2025.3830586%2C28.7130638%2024.5830586%2C29.0130638%20C24.4830586%2C29.2130638%2024.4830586%2C29.4130638%2024.4830586%2C29.6130638%20C24.4830586%2C30.2130638%2024.5830586%2C30.7130638%2025.0830586%2C31.2130638%20C26.0830586%2C32.2130638%2028.9830586%2C33.0130638%2030.7830586%2C33.7130638%20C32.1830586%2C34.3130638%2032.1830586%2C35.2130638%2032.6830586%2C36.5130638%20L32.8830586%2C37.7130638%20C32.7830586%2C37.6130638%2021.2830586%2C37.6130638%2021.3830586%2C37.6130638%20L21.3830586%2C37.6130638%20Z%20M38.3830586%2C19.1130638%20C38.3830586%2C18.8369214%2038.6140146%2C18.6130638%2038.8809394%2C18.6130638%20L68.7851779%2C18.6130638%20C69.0601498%2C18.6130638%2069.2830586%2C18.8449974%2069.2830586%2C19.1130638%20L69.2830586%2C19.1130638%20C69.2830586%2C19.3892062%2069.0521027%2C19.6130638%2068.7851779%2C19.6130638%20L38.8809394%2C19.6130638%20C38.6059675%2C19.6130638%2038.3830586%2C19.3811302%2038.3830586%2C19.1130638%20L38.3830586%2C19.1130638%20Z%20M38.3830586%2C25.7630638%20C38.3830586%2C25.4869214%2038.6140146%2C25.2630638%2038.8809394%2C25.2630638%20L68.7851779%2C25.2630638%20C69.0601498%2C25.2630638%2069.2830586%2C25.4949974%2069.2830586%2C25.7630638%20L69.2830586%2C25.7630638%20C69.2830586%2C26.0392062%2069.0521027%2C26.2630638%2068.7851779%2C26.2630638%20L38.8809394%2C26.2630638%20C38.6059675%2C26.2630638%2038.3830586%2C26.0311302%2038.3830586%2C25.7630638%20L38.3830586%2C25.7630638%20Z%20M38.3830586%2C32.4130638%20C38.3830586%2C32.1369214%2038.6148942%2C31.9130638%2038.8918617%2C31.9130638%20L54.2742556%2C31.9130638%20C54.5552598%2C31.9130638%2054.7830586%2C32.1449974%2054.7830586%2C32.4130638%20L54.7830586%2C32.4130638%20C54.7830586%2C32.6892062%2054.5512231%2C32.9130638%2054.2742556%2C32.9130638%20L38.8918617%2C32.9130638%20C38.6108575%2C32.9130638%2038.3830586%2C32.6811302%2038.3830586%2C32.4130638%20L38.3830586%2C32.4130638%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-license{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EA6BE5E14-EA91-43EA-9B09-3188B38721E3%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-829.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-7%22%20transform%3D%22translate%28800.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Shape%22%20fill%3D%22%23DADADA%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2281.2178872%22%20height%3D%2251.4546762%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Page-1%22%20transform%3D%22translate%289.874020%2C%2019.825959%29%22%20fill%3D%22%23FFFFFF%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.320118%2C6.37074412%20C27.3062114%2C6.29249668%2027.2783984%2C6.19830308%2027.2227722%2C6.07666726%20L22.2057223%2C1.93363238%20L12.1099346%2C1.93363238%20C11.8760195%2C1.91916958%2011.7490778%2C2.03338859%2011.6392519%2C2.16689133%20L8.26424281%2C5.68246335%20L0.884864867%2C6.95889783%20C0.781813877%2C7.05160806%200.67840631%2C7.14283493%200.596393412%2C7.38313986%20L0.611726258%2C10.0238981%20C0.771829698%2C10.4470276%200.880585933%2C10.3921432%201.00182239%2C10.4514777%20L2.42242842%2C10.4514777%20C2.42242842%2C6.86173751%207.5635674%2C6.8762003%207.5635674%2C10.4514777%20L20.6735075%2C10.4514777%20C20.6735075%2C6.85432069%2025.7754229%2C6.86173751%2025.7754229%2C10.4514777%20L26.940006%2C10.4514777%20C27.1350541%2C10.4325648%2027.2448801%2C10.2530778%2027.3383034%2C10.042811%20L27.320118%2C6.37074412%20Z%20M16.4837181%2C6.19978645%20L9.48980077%2C6.19978645%20C9.22379372%2C6.09113005%209.18777936%2C5.92462248%209.29903164%2C5.72325585%20L11.8132618%2C3.1433155%20C11.8703143%2C3.09251029%2011.9148865%2C3.02427556%2012.0125888%2C3.03873835%20L16.4837181%2C3.03873835%20L16.4837181%2C6.19978645%20Z%20M23.7265267%2C6.20126981%20L17.3152576%2C6.20126981%20L17.3152576%2C3.04022172%20L21.0775101%2C3.04022172%20C21.1762822%2C3.02427556%2021.2208544%2C3.09399365%2021.2764805%2C3.14479886%20L23.4312803%2C5.40173676%20C23.6306073%2C5.71138894%2024.030331%2C6.13748517%2023.7265267%2C6.20126981%20L23.7265267%2C6.20126981%20Z%22%20id%3D%22Fill-1%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.98123084%2C8.28576668%20C3.8277016%2C8.28576668%202.89453745%2C9.25774076%202.89453745%2C10.455557%20C2.89453745%2C11.6552274%203.82912791%2C12.6257181%204.98123084%2C12.6257181%20C6.1344035%2C12.6257181%207.06756765%2C11.653744%207.06756765%2C10.455557%20C7.06756765%2C9.2562574%206.13297719%2C8.28576668%204.98123084%2C8.28576668%20L4.98123084%2C8.28576668%20Z%20M4.98123084%2C11.3667131%20C4.49521527%2C11.3667131%204.10084021%2C10.9569339%204.10084021%2C10.4514777%20C4.10084021%2C9.94565069%204.49521527%2C9.53587146%204.98123084%2C9.53587146%20C5.46724641%2C9.53587146%205.86162147%2C9.94565069%205.86162147%2C10.4514777%20C5.86162147%2C10.9569339%205.46724641%2C11.3667131%204.98123084%2C11.3667131%20L4.98123084%2C11.3667131%20Z%22%20id%3D%22Fill-2%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.2251783%2C8.28428332%20C22.0720057%2C8.28428332%2021.1384849%2C9.2562574%2021.1384849%2C10.4540736%20C21.1384849%2C11.653744%2022.0730754%2C12.6242347%2023.2251783%2C12.6242347%20C24.378351%2C12.6242347%2025.3115151%2C11.6522607%2025.3115151%2C10.4540736%20C25.3115151%2C9.25477403%2024.378351%2C8.28428332%2023.2251783%2C8.28428332%20L23.2251783%2C8.28428332%20Z%20M23.2251783%2C11.3667131%20C22.7391628%2C11.3667131%2022.3447877%2C10.9569339%2022.3447877%2C10.4514777%20C22.3447877%2C9.94565069%2022.7391628%2C9.53587146%2023.2251783%2C9.53587146%20C23.7111939%2C9.53587146%2024.105569%2C9.94565069%2024.105569%2C10.4514777%20C24.105569%2C10.9569339%2023.7111939%2C11.3667131%2023.2251783%2C11.3667131%20L23.2251783%2C11.3667131%20Z%22%20id%3D%22Fill-3%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%220.0370233284%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.6621834%22%20y%3D%2213.3851802%22%20width%3D%2216.077044%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%226.90141318%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-option:hover .onfido-sdk-ui-DocumentSelector-icon.onfido-sdk-ui-DocumentSelector-icon-license{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2282px%22%20height%3D%2252px%22%20viewBox%3D%220%200%2082%2052%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EA6BE5E14-EA91-43EA-9B09-3188B38721E3%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20rx%3D%225%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22140%22%20height%3D%22140%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2202%22%20transform%3D%22translate%28-829.000000%2C%20-559.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-6%22%20transform%3D%22translate%28470.000000%2C%20212.000000%29%22%20fill%3D%22%23F3F3F3%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-7%22%20transform%3D%22translate%28800.000000%2C%20515.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-186%22%20stroke%3D%22%2320c7a0%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Group-2%22%20transform%3D%22translate%2829.000000%2C%2044.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Shape%22%20fill%3D%22%2320c7a0%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2281.2178872%22%20height%3D%2251.4546762%22%20rx%3D%224%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Page-1%22%20transform%3D%22translate%289.874020%2C%2019.825959%29%22%20fill%3D%22%23FFFFFF%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M27.320118%2C6.37074412%20C27.3062114%2C6.29249668%2027.2783984%2C6.19830308%2027.2227722%2C6.07666726%20L22.2057223%2C1.93363238%20L12.1099346%2C1.93363238%20C11.8760195%2C1.91916958%2011.7490778%2C2.03338859%2011.6392519%2C2.16689133%20L8.26424281%2C5.68246335%20L0.884864867%2C6.95889783%20C0.781813877%2C7.05160806%200.67840631%2C7.14283493%200.596393412%2C7.38313986%20L0.611726258%2C10.0238981%20C0.771829698%2C10.4470276%200.880585933%2C10.3921432%201.00182239%2C10.4514777%20L2.42242842%2C10.4514777%20C2.42242842%2C6.86173751%207.5635674%2C6.8762003%207.5635674%2C10.4514777%20L20.6735075%2C10.4514777%20C20.6735075%2C6.85432069%2025.7754229%2C6.86173751%2025.7754229%2C10.4514777%20L26.940006%2C10.4514777%20C27.1350541%2C10.4325648%2027.2448801%2C10.2530778%2027.3383034%2C10.042811%20L27.320118%2C6.37074412%20Z%20M16.4837181%2C6.19978645%20L9.48980077%2C6.19978645%20C9.22379372%2C6.09113005%209.18777936%2C5.92462248%209.29903164%2C5.72325585%20L11.8132618%2C3.1433155%20C11.8703143%2C3.09251029%2011.9148865%2C3.02427556%2012.0125888%2C3.03873835%20L16.4837181%2C3.03873835%20L16.4837181%2C6.19978645%20Z%20M23.7265267%2C6.20126981%20L17.3152576%2C6.20126981%20L17.3152576%2C3.04022172%20L21.0775101%2C3.04022172%20C21.1762822%2C3.02427556%2021.2208544%2C3.09399365%2021.2764805%2C3.14479886%20L23.4312803%2C5.40173676%20C23.6306073%2C5.71138894%2024.030331%2C6.13748517%2023.7265267%2C6.20126981%20L23.7265267%2C6.20126981%20Z%22%20id%3D%22Fill-1%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.98123084%2C8.28576668%20C3.8277016%2C8.28576668%202.89453745%2C9.25774076%202.89453745%2C10.455557%20C2.89453745%2C11.6552274%203.82912791%2C12.6257181%204.98123084%2C12.6257181%20C6.1344035%2C12.6257181%207.06756765%2C11.653744%207.06756765%2C10.455557%20C7.06756765%2C9.2562574%206.13297719%2C8.28576668%204.98123084%2C8.28576668%20L4.98123084%2C8.28576668%20Z%20M4.98123084%2C11.3667131%20C4.49521527%2C11.3667131%204.10084021%2C10.9569339%204.10084021%2C10.4514777%20C4.10084021%2C9.94565069%204.49521527%2C9.53587146%204.98123084%2C9.53587146%20C5.46724641%2C9.53587146%205.86162147%2C9.94565069%205.86162147%2C10.4514777%20C5.86162147%2C10.9569339%205.46724641%2C11.3667131%204.98123084%2C11.3667131%20L4.98123084%2C11.3667131%20Z%22%20id%3D%22Fill-2%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M23.2251783%2C8.28428332%20C22.0720057%2C8.28428332%2021.1384849%2C9.2562574%2021.1384849%2C10.4540736%20C21.1384849%2C11.653744%2022.0730754%2C12.6242347%2023.2251783%2C12.6242347%20C24.378351%2C12.6242347%2025.3115151%2C11.6522607%2025.3115151%2C10.4540736%20C25.3115151%2C9.25477403%2024.378351%2C8.28428332%2023.2251783%2C8.28428332%20L23.2251783%2C8.28428332%20Z%20M23.2251783%2C11.3667131%20C22.7391628%2C11.3667131%2022.3447877%2C10.9569339%2022.3447877%2C10.4514777%20C22.3447877%2C9.94565069%2022.7391628%2C9.53587146%2023.2251783%2C9.53587146%20C23.7111939%2C9.53587146%2024.105569%2C9.94565069%2024.105569%2C10.4514777%20C24.105569%2C10.9569339%2023.7111939%2C11.3667131%2023.2251783%2C11.3667131%20L23.2251783%2C11.3667131%20Z%22%20id%3D%22Fill-3%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%220.0370233284%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.6621834%22%20y%3D%2213.3851802%22%20width%3D%2216.077044%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-78%22%20x%3D%2232.3281796%22%20y%3D%226.90141318%22%20width%3D%2230.9997555%22%20height%3D%220.89101877%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E')}.onfido-sdk-ui-DocumentSelector-selector{position:relative;width:100%}.onfido-sdk-ui-Document-capture{width:100%;padding:1rem 1.5rem 3rem;color:#9b9b9b;display:-ms-flexbox;display:flex}.onfido-sdk-ui-Document-capture p{margin:0}.onfido-sdk-ui-Document-rectangle{width:80%;height:67.94055202%}.onfido-sdk-ui-Confirm-captures{margin-bottom:1.5rem}.onfido-sdk-ui-Confirm-image{max-width:92%;display:block;margin:0 auto}.onfido-sdk-ui-Confirm-btn-outline{background-color:transparent;border:1px solid #ccc;color:#9b9b9b}.onfido-sdk-ui-Confirm-actions{padding:0}.onfido-sdk-ui-Uploader-base{padding:1.5rem}.onfido-sdk-ui-Uploader-text{text-align:center;padding:0 1.5rem;margin-bottom:0}.onfido-sdk-ui-Uploader-text+.onfido-sdk-ui-Uploader-text{margin-top:1.5rem}.onfido-sdk-ui-Uploader-error{color:#dc0505;margin-top:.75rem;font-weight:400}.onfido-sdk-ui-Uploader-processing{text-align:center}.onfido-sdk-ui-Uploader-icon{background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2280px%22%20height%3D%2274px%22%20viewBox%3D%220%200%2080%2074%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3Enoun_148000_cc%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20Sketch.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22noun_148000_cc%22%20fill%3D%22%234A88C2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M79.523%2C39.069%20C79.523%2C44.071%2077.649%2C48.89%2074.248%2C52.638%20C70.822%2C56.413%2066.222%2C58.683%2061.294%2C59.031%20C61.248%2C59.034%2061.202%2C59.036%2061.156%2C59.036%20L49.014%2C59.036%20C47.933%2C59.036%2047.057%2C58.16%2047.057%2C57.079%20C47.057%2C55.998%2047.933%2C55.122%2049.014%2C55.122%20L61.084%2C55.122%20C69.1%2C54.519%2075.609%2C47.333%2075.609%2C39.069%20C75.609%2C31.28%2070.026%2C24.451%2062.623%2C23.185%20C61.752%2C23.036%2061.089%2C22.322%2061.005%2C21.442%20C60.078%2C11.723%2051.998%2C4.394%2042.211%2C4.394%20C34.93%2C4.394%2028.223%2C8.645%2025.127%2C15.223%20C24.694%2C16.143%2023.628%2C16.578%2022.676%2C16.224%20C21.769%2C15.888%2020.801%2C15.717%2019.798%2C15.717%20C15.138%2C15.717%2011.348%2C19.508%2011.348%2C24.167%20C11.348%2C25.182%2011.519%2C26.157%2011.855%2C27.063%20C12.185%2C27.954%2011.827%2C28.954%2011.006%2C29.434%20C6.926%2C31.814%204.392%2C36.221%204.392%2C40.937%20C4.392%2C48.227%2010.143%2C54.709%2016.961%2C55.121%20L30.976%2C55.121%20C32.057%2C55.121%2032.933%2C55.997%2032.933%2C57.078%20C32.933%2C58.159%2032.057%2C59.035%2030.976%2C59.035%20L16.903%2C59.035%20C16.867%2C59.035%2016.83%2C59.034%2016.794%2C59.032%20C12.411%2C58.788%208.287%2C56.714%205.181%2C53.194%20C2.147%2C49.756%200.477%2C45.403%200.477%2C40.938%20C0.477%2C35.355%203.222%2C30.106%207.731%2C26.895%20C7.533%2C26.012%207.433%2C25.1%207.433%2C24.168%20C7.433%2C17.351%2012.979%2C11.804%2019.796%2C11.804%20C20.666%2C11.804%2021.522%2C11.893%2022.354%2C12.069%20C26.362%2C4.978%2033.982%2C0.481%2042.21%2C0.481%20C47.918%2C0.481%2053.379%2C2.6%2057.588%2C6.446%20C61.408%2C9.937%2063.906%2C14.576%2064.716%2C19.632%20C73.252%2C21.803%2079.523%2C29.904%2079.523%2C39.069%20L79.523%2C39.069%20Z%20M50.321%2C42.847%20C50.703%2C43.229%2051.204%2C43.42%2051.705%2C43.42%20C52.206%2C43.42%2052.707%2C43.229%2053.088%2C42.847%20C53.852%2C42.083%2053.852%2C40.844%2053.088%2C40.08%20L41.384%2C28.375%20C40.62%2C27.611%2039.381%2C27.611%2038.617%2C28.375%20L26.912%2C40.079%20C26.148%2C40.843%2026.148%2C42.082%2026.912%2C42.846%20C27.294%2C43.228%2027.795%2C43.419%2028.296%2C43.419%20C28.797%2C43.419%2029.298%2C43.228%2029.679%2C42.846%20L38.044%2C34.481%20L38.044%2C71.562%20C38.044%2C72.643%2038.92%2C73.519%2040.001%2C73.519%20C41.082%2C73.519%2041.958%2C72.643%2041.958%2C71.562%20L41.958%2C34.482%20L50.321%2C42.847%20L50.321%2C42.847%20Z%22%20id%3D%22Shape%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E');background-size:4rem auto}.onfido-sdk-ui-Uploader-dropzone{-ms-flex:auto;flex:auto;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;cursor:pointer}@media (min-width:30em){.onfido-sdk-ui-Uploader-dropzone{min-height:20rem}}.onfido-sdk-ui-Spinner-loader{width:48px;height:48px;margin:0 auto 1.5rem}@keyframes onfido-sdk-ui-Spinner-ball-scale-ripple-multiple{0%{transform:scale(.1);opacity:1}70%{transform:scale(1);opacity:.7}to{opacity:0}}.onfido-sdk-ui-Spinner-inner{position:relative;transform:translateX(25px)}.onfido-sdk-ui-Spinner-inner>div:nth-child(0){animation-delay:-.8s}.onfido-sdk-ui-Spinner-inner>div:nth-child(1){animation-delay:-.6s}.onfido-sdk-ui-Spinner-inner>div:nth-child(2){animation-delay:-.4s}.onfido-sdk-ui-Spinner-inner>div:nth-child(3){animation-delay:-.2s}.onfido-sdk-ui-Spinner-inner>div{animation-fill-mode:both;position:absolute;top:-2px;left:-26px;width:50px;height:50px;border-radius:100%;border:2px solid #ccc;animation:onfido-sdk-ui-Spinner-ball-scale-ripple-multiple 1.25s 0s infinite cubic-bezier(.21,.53,.56,.8)}.onfido-sdk-ui-Face-circle{width:0;height:0;padding:0 45% 60% 0;border-radius:100%}.onfido-sdk-ui-Face-instructions{margin:15px 0 55px}.onfido-sdk-ui-Capture-camera,.onfido-sdk-ui-Capture-uploader{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;position:relative}.onfido-sdk-ui-Countdown-countdown{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);color:#fff;text-shadow:0 0 .35rem rgba(0,0,0,.7);font-size:6rem;line-height:1}.onfido-sdk-ui-Camera-video-overlay{position:relative;overflow:hidden;margin-top:-10px}.onfido-sdk-ui-Camera-video{max-width:100%;height:auto!important;display:block}.onfido-sdk-ui-Camera-uploadFallback{display:block;position:absolute;bottom:0;right:0;padding-right:7px;padding-bottom:3px}.onfido-sdk-ui-Camera-uploadFallback button{background:none;border:none;display:inline;font:inherit;margin:0;padding:0;outline:none;outline-offset:0;cursor:pointer;color:#fff}.onfido-sdk-ui-Camera-uploadFallback button:hover{text-decoration:underline}.onfido-sdk-ui-Complete-icon{height:4rem;background-size:contain;background-image:url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%2247px%22%20height%3D%2243px%22%20viewBox%3D%220%200%2047%2043%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EE5C2839F-CF3B-4CE6-BC83-EE4E41D1604F%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2208%22%20transform%3D%22translate%28-697.000000%2C%20-360.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20fill%3D%22%23F3F3F3%22%20x%3D%22470%22%20y%3D%22213%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M713.693755%2C402.826033%20C712.867822%2C402.826033%20712.093511%2C402.516308%20711.525682%2C401.94848%20L698.001041%2C388.010872%20C696.710522%2C386.823594%20696.658901%2C384.810384%20697.8978%2C383.519865%20C699.085077%2C382.229346%20701.098287%2C382.177725%20702.388806%2C383.416624%20L712.299994%2C390.488669%20C712.867822%2C391.004877%20713.745376%2C390.901635%20714.209962%2C390.282186%20L737.697412%2C361.271314%20C738.729828%2C359.877553%20740.743038%2C359.567829%20742.136798%2C360.651865%20C743.530559%2C361.68428%20743.840284%2C363.69749%20742.756248%2C365.091251%20L716.223172%2C401.535513%20C715.655344%2C402.258204%20714.829412%2C402.722791%20713.951859%2C402.774412%20C713.848617%2C402.826033%20713.796996%2C402.826033%20713.693755%2C402.826033%22%20id%3D%22Fill-1%22%20fill%3D%22%239B9B9B%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E');margin-top:1.5rem;margin-bottom:1.5rem}.onfido-sdk-ui-Error-base{position:absolute;display:none;width:100%;height:100%;z-index:999;background:rgba(0,0,0,.85);font-size:2rem;-ms-flex-align:center;align-items:center}.onfido-sdk-ui-Error-base:not(.onfido-sdk-ui-Error-hidden){display:-ms-flexbox;display:flex}.onfido-sdk-ui-Error-base p{margin:4rem 0}.onfido-sdk-ui-Modal-portal>*{opacity:0}.onfido-sdk-ui-Modal-modalBody{/*! Just a placeholder no namespace this element using css modules*/}.onfido-sdk-ui-Modal-overlay{display:-ms-flexbox;display:flex;position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);transition:opacity .2s,z-index 0s .2s}.onfido-sdk-ui-Modal-overlay--after-open{opacity:1}.onfido-sdk-ui-Modal-overlay--before-close{opacity:0}.onfido-sdk-ui-Modal-inner{position:relative;overflow:auto;margin:auto;width:94vw;max-width:32rem;height:600px;text-align:center;max-height:calc(100% + 4px);background:#f3f3f3 url('data:image/svg+xml;charset=US-ASCII,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%20standalone%3D%22no%22%3F%3E%3Csvg%20width%3D%22109px%22%20height%3D%2223px%22%20viewBox%3D%220%200%20109%2023%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%20%20%20%20%3Ctitle%3EB0C1F3F5-ACA4-4559-9115-540CB810D458%3C%2Ftitle%3E%20%20%20%20%3Cdesc%3ECreated%20with%20sketchtool.%3C%2Fdesc%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220.00851075359%22%20width%3D%22108.871354%22%20height%3D%2222.0104878%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20maskContentUnits%3D%22userSpaceOnUse%22%20maskUnits%3D%22objectBoundingBox%22%20x%3D%220%22%20y%3D%220%22%20width%3D%22108.871354%22%20height%3D%2222.0104878%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22Page-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%2201%22%20transform%3D%22translate%28-663.000000%2C%20-771.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22Rectangle-160%22%20fill%3D%22%23F3F3F3%22%20x%3D%22469%22%20y%3D%22212%22%20width%3D%22500%22%20height%3D%22600%22%20rx%3D%223%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22Powered-by-Onfido%22%20transform%3D%22translate%28663.000000%2C%20771.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M71.6045005%2C13.9209592%20C73.1935808%2C13.9209592%2074.5317537%2C12.8190103%2074.5317537%2C11.1376863%20C74.5317537%2C9.45636218%2073.1935808%2C8.38849419%2071.6045005%2C8.38849419%20C70.0273682%2C8.38849419%2068.7011433%2C9.45636218%2068.7011433%2C11.1376863%20C68.7011433%2C12.8190103%2070.0273682%2C13.9209592%2071.6045005%2C13.9209592%20L71.6045005%2C13.9209592%20L71.6045005%2C13.9209592%20Z%20M86.9314726%2C8.50192423%20L84.3649347%2C8.50209716%20L84.3649347%2C8.01360436%20C84.3649347%2C7.34334679%2084.5441543%2C6.741251%2085.3566164%2C6.741251%20L85.965963%2C6.741251%20L85.965963%2C5.61658152%20L85.3566164%2C5.61658152%20C83.827276%2C5.61658152%2083.1223456%2C6.55948624%2083.1223456%2C8.01360436%20L83.1223456%2C8.50209716%20L82.1063801%2C8.50209716%20L82.1063801%2C9.46772248%20L83.1223456%2C9.46772248%20L83.1223456%2C13.8073562%20L84.3649347%2C13.8073562%20L84.3649347%2C9.46772248%20L86.9314726%2C9.46772248%20L86.9314726%2C13.8073562%20L88.1501657%2C13.8073562%20L88.1501657%2C8.50187059%20L86.9314726%2C8.50187059%20L86.9314726%2C8.50192423%20Z%20M71.6369327%2C12.8271266%20C70.7169388%2C12.8271266%2069.9522686%2C12.1795897%2069.9522686%2C11.1798835%20C69.9522686%2C10.2028978%2070.7169388%2C9.57808146%2071.6369327%2C9.57808146%20C72.5688745%2C9.57808146%2073.3335447%2C10.2028978%2073.3335447%2C11.1798835%20C73.3335447%2C12.1795897%2072.5688745%2C12.8271266%2071.6369327%2C12.8271266%20L71.6369327%2C12.8271266%20Z%20M77.09732%2C10.9957606%20C77.09732%2C9.95061317%2077.8022504%2C9.57572334%2078.5310767%2C9.57572334%20C79.247955%2C9.57572334%2079.701978%2C10.0528558%2079.701978%2C10.8935179%20L79.701978%2C13.8471953%20L80.9326191%2C13.8471953%20L80.9326191%2C10.7571943%20C80.9326191%2C9.257635%2080.1560009%2C8.42833326%2078.80588%2C8.42833326%20C78.1845855%2C8.42833326%2077.4199153%2C8.723701%2077.09732%2C9.33715708%20L77.09732%2C8.54193624%20L75.8666789%2C8.54193624%20L75.8666789%2C13.8471953%20L77.09732%2C13.8471953%20L77.09732%2C10.9957606%20L77.09732%2C10.9957606%20Z%20M86.7164091%2C6.17872514%20C86.7164091%2C6.59905616%2087.0987442%2C6.9171445%2087.5408192%2C6.9171445%20C87.9948421%2C6.9171445%2088.3532813%2C6.59905616%2088.3532813%2C6.17872514%20C88.3532813%2C5.75839412%2087.9948421%2C5.44030578%2087.5408192%2C5.44030578%20C87.0987442%2C5.44030578%2086.7164091%2C5.75839412%2086.7164091%2C6.17872514%20L86.7164091%2C6.17872514%20Z%20M94.1869752%2C13.8073562%20L95.4056683%2C13.8073562%20L95.4056683%2C5.61658152%20L94.1869752%2C5.61658152%20L94.1869752%2C9.26323712%20C93.840484%2C8.68386193%2093.0877618%2C8.38849419%2092.2991956%2C8.38849419%20C90.7937511%2C8.38849419%2089.5153181%2C9.45636218%2089.5153181%2C11.1604069%20C89.5153181%2C12.8303706%2090.7937511%2C13.9209592%2092.2991956%2C13.9209592%20C93.0638658%2C13.9209592%2093.840484%2C13.6028709%2094.1869752%2C13.034856%20L94.1869752%2C13.8073562%20L94.1869752%2C13.8073562%20Z%20M94.1630793%2C11.1376863%20C94.1630793%2C12.1714734%2093.3625651%2C12.7849294%2092.4545192%2C12.7849294%20C91.5225774%2C12.7849294%2090.7818031%2C12.1146719%2090.7818031%2C11.1376863%20C90.7818031%2C10.1607006%2091.5225774%2C9.52452397%2092.4545192%2C9.52452397%20C93.2908773%2C9.52452397%2094.1630793%2C10.0925389%2094.1630793%2C11.1376863%20L94.1630793%2C11.1376863%20Z%20M102.595264%2C11.1376863%20C102.595264%2C9.45636218%20101.257091%2C8.38849419%2099.6680108%2C8.38849419%20C98.0908785%2C8.38849419%2096.7646536%2C9.45636218%2096.7646536%2C11.1376863%20C96.7646536%2C12.8190103%2098.0908785%2C13.9209592%2099.6680108%2C13.9209592%20C101.257091%2C13.9209592%20102.595264%2C12.8190103%20102.595264%2C11.1376863%20L102.595264%2C11.1376863%20Z%20M62.0506072%2C8.4936649%20C61.283336%2C7.65833059%2060.1549203%2C7.13060169%2058.8968708%2C7.13060169%20C56.5852373%2C7.13060169%2054.7112881%2C8.91237858%2054.7112881%2C11.1103118%20C54.7112881%2C13.3082449%2056.5852373%2C15.0900218%2058.8968708%2C15.0900218%20C61.2085042%2C15.0900218%2063.0824534%2C13.3082449%2063.0824534%2C11.1103118%20C63.0824534%2C11.0394937%2063.0804937%2C11.0080214%2063.0804937%2C11.0080214%20C63.0784965%2C10.9473238%2063.1126943%2C10.8649421%2063.1571387%2C10.8226838%20L64.4929757%2C9.55255148%20C64.5379262%2C9.50981185%2064.5877355%2C9.52289552%2064.6053584%2C9.58069962%20C64.6053584%2C9.58069962%2064.6267875%2C9.6482133%2064.650259%2C9.73555617%20C64.7702431%2C10.1820429%2064.8340289%2C10.6499092%2064.8340289%2C11.1319407%20C64.8340289%2C14.2377159%2062.1860572%2C16.7554442%2058.9196186%2C16.7554442%20C55.6531799%2C16.7554442%2053.0052082%2C14.2377159%2053.0052082%2C11.1319407%20C53.0052082%2C8.02616549%2055.6531799%2C5.50843722%2058.9196186%2C5.50843722%20C60.6434589%2C5.50843722%2062.1950483%2C6.20965662%2063.2760838%2C7.32846475%20L64.7692695%2C5.90872299%20C64.813329%2C5.8668306%2064.8989338%2C5.83287011%2064.9626423%2C5.83287011%20L66.7826753%2C5.83287011%20C67.0339001%2C5.83287011%2067.0934933%2C5.96984895%2066.915312%2C6.13926628%20L59.0479212%2C13.6196907%20C58.9588875%2C13.7043452%2058.8154719%2C13.7052355%2058.7265936%2C13.6207288%20L56.4981236%2C11.6100129%20C56.4535235%2C11.5676065%2056.417368%2C11.4857957%2056.417368%2C11.4252207%20L56.417368%2C9.6947081%20C56.417368%2C9.45583999%2056.5608038%2C9.39857982%2056.7389248%2C9.5679398%20L58.8059559%2C11.4251574%20C58.850556%2C11.4675637%2058.9232404%2C11.4672087%2058.9664883%2C11.426088%20L62.0506072%2C8.4936649%20L62.0506072%2C8.4936649%20Z%20M99.6680108%2C12.7849294%20C98.748017%2C12.7849294%2097.9833468%2C12.1373925%2097.9833468%2C11.1376863%20C97.9833468%2C10.1607006%2098.748017%2C9.53588427%2099.6680108%2C9.53588427%20C100.599953%2C9.53588427%20101.364623%2C10.1607006%20101.364623%2C11.1376863%20C101.364623%2C12.1373925%20100.599953%2C12.7849294%2099.6680108%2C12.7849294%20L99.6680108%2C12.7849294%20Z%22%20id%3D%22Path%22%20fill%3D%22%23DADADA%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22Rectangle-82%22%20stroke%3D%22%23DADADA%22%20mask%3D%22url%28%23mask-2%29%22%20stroke-width%3D%222%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctext%20id%3D%22powered-by%22%20font-family%3D%22OpenSans%2C%20Open%20Sans%2C%20sans-serif%22%20font-size%3D%227.76784438%22%20font-weight%3D%22normal%22%20fill%3D%22%23DADADA%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ctspan%20x%3D%227%22%20y%3D%2213%22%3Epowered%20by%3C%2Ftspan%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Ftext%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E') 50% calc(100% - 20px) no-repeat;border-radius:3px;font-size:.875rem;font-family:Gotham SSm A,Gotham SSm B,sans-serif;line-height:1.5;font-weight:300}@media (max-width:30em){.onfido-sdk-ui-Modal-inner{width:100%;height:100%;position:absolute}}.onfido-sdk-ui-Modal-inner,.onfido-sdk-ui-Modal-inner *,.onfido-sdk-ui-Modal-inner :after,.onfido-sdk-ui-Modal-inner :before{box-sizing:border-box}.onfido-sdk-ui-Modal-portal .onfido-sdk-ui-Modal-inner{margin:auto;z-index:-1;opacity:0;transform:scale(0);transition:opacity .2s,transform .2s,z-index 0s .2s}.onfido-sdk-ui-Modal-overlay--after-open .onfido-sdk-ui-Modal-inner{z-index:100;opacity:1;transform:scale(1);transition:opacity .2s,transform .2s}.onfido-sdk-ui-Modal-content{color:#9b9b9b;font-size:18px;width:100%;max-height:100%;bottom:50%;transform:translateY(50%);position:absolute} /*# sourceMappingURL=style.css.map*/ \ No newline at end of file diff --git a/package.json b/package.json index 61516e2f84..8b03b0013b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "onfido-sdk-ui", - "version": "0.8.2", + "version": "0.8.3", "description": "JavaScript SDK view layer for Onfido identity verification", "scripts": { "predev": "npm run build",