/*! For license information please see 2.ef6f135a.chunk.js.LICENSE.txt */ (this["webpackJsonpprofile-picture-generator"]=this["webpackJsonpprofile-picture-generator"]||[]).push([[2],[function(e,t,n){"use strict";e.exports=n(16)},function(e,t,n){"use strict";e.exports=n(15)},function(e,t,n){e.exports=n(21)()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(6);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,a=!1,l=void 0;try{for(var o,i=e[Symbol.iterator]();!(r=(o=i.next()).done)&&(n.push(o.value),!t||n.length!==t);r=!0);}catch(u){a=!0,l=u}finally{try{r||null==i.return||i.return()}finally{if(a)throw l}}return n}}(e,t)||Object(r.a)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&a[a.length-1])&&(6===l[0]||2===l[0])){o=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]0)&&!(r=l.next()).done;)o.push(r.value)}catch(i){a={error:i}}finally{try{r&&!r.done&&(n=l.return)&&n.call(l)}finally{if(a)throw a.error}}return o}Object.create;var s=new Map([["avi","video/avi"],["gif","image/gif"],["ico","image/x-icon"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["mkv","video/x-matroska"],["mov","video/quicktime"],["mp4","video/mp4"],["pdf","application/pdf"],["png","image/png"],["zip","application/zip"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]]);function f(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=s.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var d=[".DS_Store","Thumbs.db"];function p(e){return(null!==e.target&&e.target.files?v(e.target.files):[]).map((function(e){return f(e)}))}function h(e,t){return i(this,void 0,void 0,(function(){var n;return u(this,(function(r){switch(r.label){case 0:return e.items?(n=v(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(y))]):[3,2];case 1:return[2,m(g(r.sent()))];case 2:return[2,m(v(e.files).map((function(e){return f(e)})))]}}))}))}function m(e){return e.filter((function(e){return-1===d.indexOf(e.name)}))}function v(e){for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,P(n)];if(e.sizen)return[!1,P(n)]}return[!0,null]}function z(e){return void 0!==e&&null!==e}function j(e){var t=e.files,n=e.accept,r=e.minSize,a=e.maxSize,l=e.multiple,o=e.maxFiles;return!(!l&&t.length>1||l&&o>=1&&t.length>o)&&t.every((function(e){var t=_(N(e,n),1)[0],l=_(D(e,r,a),1)[0];return t&&l}))}function F(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function R(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function I(e){e.preventDefault()}function M(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function A(e){return-1!==e.indexOf("Edge/")}function U(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return M(e)||A(e)}function B(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),a=1;ae.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var G=Object(r.forwardRef)((function(e,t){var n=e.children,l=Z(Y(e,["children"])),o=l.open,i=Y(l,["open"]);return Object(r.useImperativeHandle)(t,(function(){return{open:o}}),[o]),a.a.createElement(r.Fragment,null,n(q(q({},i),{},{open:o})))}));G.displayName="Dropzone";var X={disabled:!1,getFilesFromEvent:function(e){return i(this,void 0,void 0,(function(){return u(this,(function(t){return[2,(n=e,n.dataTransfer&&e.dataTransfer?h(e.dataTransfer,e.type):p(e))];var n}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1};G.defaultProps=X,G.propTypes={children:o.a.func,accept:o.a.oneOfType([o.a.string,o.a.arrayOf(o.a.string)]),multiple:o.a.bool,preventDropOnDocument:o.a.bool,noClick:o.a.bool,noKeyboard:o.a.bool,noDrag:o.a.bool,noDragEventsBubbling:o.a.bool,minSize:o.a.number,maxSize:o.a.number,maxFiles:o.a.number,disabled:o.a.bool,getFilesFromEvent:o.a.func,onFileDialogCancel:o.a.func,onDragEnter:o.a.func,onDragLeave:o.a.func,onDragOver:o.a.func,onDrop:o.a.func,onDropAccepted:o.a.func,onDropRejected:o.a.func};var J={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]};function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=q(q({},X),e),n=t.accept,a=t.disabled,l=t.getFilesFromEvent,o=t.maxSize,i=t.minSize,u=t.multiple,c=t.maxFiles,s=t.onDragEnter,f=t.onDragLeave,d=t.onDragOver,p=t.onDrop,h=t.onDropAccepted,m=t.onDropRejected,v=t.onFileDialogCancel,y=t.preventDropOnDocument,g=t.noClick,b=t.noKeyboard,w=t.noDrag,k=t.noDragEventsBubbling,E=Object(r.useRef)(null),S=Object(r.useRef)(null),x=Object(r.useReducer)(ee,J),_=$(x,2),C=_[0],O=_[1],P=C.isFocused,L=C.isFileDialogActive,z=C.draggedFiles,M=Object(r.useCallback)((function(){S.current&&(O({type:"openDialog"}),S.current.value=null,S.current.click())}),[O]),A=function(){L&&setTimeout((function(){S.current&&(S.current.files.length||(O({type:"closeDialog"}),"function"===typeof v&&v()))}),300)};Object(r.useEffect)((function(){return window.addEventListener("focus",A,!1),function(){window.removeEventListener("focus",A,!1)}}),[S,L,v]);var W=Object(r.useCallback)((function(e){E.current&&E.current.isEqualNode(e.target)&&(32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),M()))}),[E,S]),H=Object(r.useCallback)((function(){O({type:"focus"})}),[]),Q=Object(r.useCallback)((function(){O({type:"blur"})}),[]),G=Object(r.useCallback)((function(){g||(U()?setTimeout(M,0):M())}),[S,g]),Z=Object(r.useRef)([]),te=function(e){E.current&&E.current.contains(e.target)||(e.preventDefault(),Z.current=[])};Object(r.useEffect)((function(){return y&&(document.addEventListener("dragover",I,!1),document.addEventListener("drop",te,!1)),function(){y&&(document.removeEventListener("dragover",I),document.removeEventListener("drop",te))}}),[E,y]);var ne=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ce(e),Z.current=[].concat(V(Z.current),[e.target]),R(e)&&Promise.resolve(l(e)).then((function(t){F(e)&&!k||(O({draggedFiles:t,isDragActive:!0,type:"setDraggedFiles"}),s&&s(e))}))}),[l,s,k]),re=Object(r.useCallback)((function(e){if(e.preventDefault(),e.persist(),ce(e),e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(t){}return R(e)&&d&&d(e),!1}),[d,k]),ae=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ce(e);var t=Z.current.filter((function(e){return E.current&&E.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),Z.current=t,t.length>0||(O({isDragActive:!1,type:"setDraggedFiles",draggedFiles:[]}),R(e)&&f&&f(e))}),[E,f,k]),le=Object(r.useCallback)((function(e){e.preventDefault(),e.persist(),ce(e),Z.current=[],R(e)&&Promise.resolve(l(e)).then((function(t){if(!F(e)||k){var r=[],a=[];t.forEach((function(e){var t=$(N(e,n),2),l=t[0],u=t[1],c=$(D(e,i,o),2),s=c[0],f=c[1];if(l&&s)r.push(e);else{var d=[u,f].filter((function(e){return e}));a.push({file:e,errors:d})}})),(!u&&r.length>1||u&&c>=1&&r.length>c)&&(r.forEach((function(e){a.push({file:e,errors:[T]})})),r.splice(0)),O({acceptedFiles:r,fileRejections:a,type:"setFiles"}),p&&p(r,a,e),a.length>0&&m&&m(a,e),r.length>0&&h&&h(r,e)}})),O({type:"reset"})}),[u,n,i,o,c,l,p,h,m,k]),oe=function(e){return a?null:e},ie=function(e){return b?null:oe(e)},ue=function(e){return w?null:oe(e)},ce=function(e){k&&e.stopPropagation()},se=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onKeyDown,l=e.onFocus,o=e.onBlur,i=e.onClick,u=e.onDragEnter,c=e.onDragOver,s=e.onDragLeave,f=e.onDrop,d=Y(e,["refKey","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"]);return q(q(K({onKeyDown:ie(B(r,W)),onFocus:ie(B(l,H)),onBlur:ie(B(o,Q)),onClick:oe(B(i,G)),onDragEnter:ue(B(u,ne)),onDragOver:ue(B(c,re)),onDragLeave:ue(B(s,ae)),onDrop:ue(B(f,le))},n,E),a||b?{}:{tabIndex:0}),d)}}),[E,W,H,Q,G,ne,re,ae,le,b,w,a]),fe=Object(r.useCallback)((function(e){e.stopPropagation()}),[]),de=Object(r.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,a=e.onChange,l=e.onClick,o=Y(e,["refKey","onChange","onClick"]),i=K({accept:n,multiple:u,type:"file",style:{display:"none"},onChange:oe(B(a,le)),onClick:oe(B(l,fe)),autoComplete:"off",tabIndex:-1},r,S);return q(q({},i),o)}}),[S,n,u,le,a]),pe=z.length,he=pe>0&&j({files:z,accept:n,minSize:i,maxSize:o,multiple:u,maxFiles:c}),me=pe>0&&!he;return q(q({},C),{},{isDragAccept:he,isDragReject:me,isFocused:P&&!a,getRootProps:se,getInputProps:de,rootRef:E,inputRef:S,open:oe(M)})}function ee(e,t){switch(t.type){case"focus":return q(q({},e),{},{isFocused:!0});case"blur":return q(q({},e),{},{isFocused:!1});case"openDialog":return q(q({},e),{},{isFileDialogActive:!0});case"closeDialog":return q(q({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":var n=t.isDragActive,r=t.draggedFiles;return q(q({},e),{},{draggedFiles:r,isDragActive:n});case"setFiles":return q(q({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return q(q({},e),{},{isFileDialogActive:!1,isDragActive:!1,draggedFiles:[],acceptedFiles:[],fileRejections:[]});default:return e}}},function(e,t,n){"use strict";n(7);var r=n(0),a=60103;if(t.Fragment=60107,"function"===typeof Symbol&&Symbol.for){var l=Symbol.for;a=l("react.element"),t.Fragment=l("react.fragment")}var o=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,l={},c=null,s=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)i.call(t,r)&&!u.hasOwnProperty(r)&&(l[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===l[r]&&(l[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:s,props:l,_owner:o.current}}t.jsx=c,t.jsxs=c},function(e,t,n){"use strict";var r=n(7),a=60103,l=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,i=60110,u=60112;t.Suspense=60113;var c=60115,s=60116;if("function"===typeof Symbol&&Symbol.for){var f=Symbol.for;a=f("react.element"),l=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),o=f("react.provider"),i=f("react.context"),u=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),s=f("react.lazy")}var d="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n