@stokr/components-library 1.0.4 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  /*! For license information please see index.js.LICENSE.txt */
2
- !function(){var e={846:function(e,t,n){(t=n(645)(!1)).push([e.id,'/*!\r\n Ionicons, v4.5.0-3\r\n Created by Ben Sperry for the Ionic Framework, http://ionicons.com/\r\n https://twitter.com/benjsperry https://twitter.com/ionicframework\r\n MIT License: https://github.com/driftyco/ionicons\r\n\r\n Android-style icons originally built by Google’s\r\n Material Design Icons: https://github.com/google/material-design-icons\r\n used under CC BY http://creativecommons.org/licenses/by/4.0/\r\n Modified icons to fit ionicon’s grid from original.\r\n*/\r\n/* Stripped from @font-face declaration */\r\n.ion,.ionicons,.ion-ios-add:before,.ion-ios-add-circle:before,.ion-ios-add-circle-outline:before,.ion-ios-airplane:before,.ion-ios-alarm:before,.ion-ios-albums:before,.ion-ios-alert:before,.ion-ios-american-football:before,.ion-ios-analytics:before,.ion-ios-aperture:before,.ion-ios-apps:before,.ion-ios-appstore:before,.ion-ios-archive:before,.ion-ios-arrow-back:before,.ion-ios-arrow-down:before,.ion-ios-arrow-dropdown:before,.ion-ios-arrow-dropdown-circle:before,.ion-ios-arrow-dropleft:before,.ion-ios-arrow-dropleft-circle:before,.ion-ios-arrow-dropright:before,.ion-ios-arrow-dropright-circle:before,.ion-ios-arrow-dropup:before,.ion-ios-arrow-dropup-circle:before,.ion-ios-arrow-forward:before,.ion-ios-arrow-round-back:before,.ion-ios-arrow-round-down:before,.ion-ios-arrow-round-forward:before,.ion-ios-arrow-round-up:before,.ion-ios-arrow-up:before,.ion-ios-at:before,.ion-ios-attach:before,.ion-ios-backspace:before,.ion-ios-barcode:before,.ion-ios-baseball:before,.ion-ios-basket:before,.ion-ios-basketball:before,.ion-ios-battery-charging:before,.ion-ios-battery-dead:before,.ion-ios-battery-full:before,.ion-ios-beaker:before,.ion-ios-bed:before,.ion-ios-beer:before,.ion-ios-bicycle:before,.ion-ios-bluetooth:before,.ion-ios-boat:before,.ion-ios-body:before,.ion-ios-bonfire:before,.ion-ios-book:before,.ion-ios-bookmark:before,.ion-ios-bookmarks:before,.ion-ios-bowtie:before,.ion-ios-briefcase:before,.ion-ios-browsers:before,.ion-ios-brush:before,.ion-ios-bug:before,.ion-ios-build:before,.ion-ios-bulb:before,.ion-ios-bus:before,.ion-ios-business:before,.ion-ios-cafe:before,.ion-ios-calculator:before,.ion-ios-calendar:before,.ion-ios-call:before,.ion-ios-camera:before,.ion-ios-car:before,.ion-ios-card:before,.ion-ios-cart:before,.ion-ios-cash:before,.ion-ios-cellular:before,.ion-ios-chatboxes:before,.ion-ios-chatbubbles:before,.ion-ios-checkbox:before,.ion-ios-checkbox-outline:before,.ion-ios-checkmark:before,.ion-ios-checkmark-circle:before,.ion-ios-checkmark-circle-outline:before,.ion-ios-clipboard:before,.ion-ios-clock:before,.ion-ios-close:before,.ion-ios-close-circle:before,.ion-ios-close-circle-outline:before,.ion-ios-cloud:before,.ion-ios-cloud-circle:before,.ion-ios-cloud-done:before,.ion-ios-cloud-download:before,.ion-ios-cloud-outline:before,.ion-ios-cloud-upload:before,.ion-ios-cloudy:before,.ion-ios-cloudy-night:before,.ion-ios-code:before,.ion-ios-code-download:before,.ion-ios-code-working:before,.ion-ios-cog:before,.ion-ios-color-fill:before,.ion-ios-color-filter:before,.ion-ios-color-palette:before,.ion-ios-color-wand:before,.ion-ios-compass:before,.ion-ios-construct:before,.ion-ios-contact:before,.ion-ios-contacts:before,.ion-ios-contract:before,.ion-ios-contrast:before,.ion-ios-copy:before,.ion-ios-create:before,.ion-ios-crop:before,.ion-ios-cube:before,.ion-ios-cut:before,.ion-ios-desktop:before,.ion-ios-disc:before,.ion-ios-document:before,.ion-ios-done-all:before,.ion-ios-download:before,.ion-ios-easel:before,.ion-ios-egg:before,.ion-ios-exit:before,.ion-ios-expand:before,.ion-ios-eye:before,.ion-ios-eye-off:before,.ion-ios-fastforward:before,.ion-ios-female:before,.ion-ios-filing:before,.ion-ios-film:before,.ion-ios-finger-print:before,.ion-ios-fitness:before,.ion-ios-flag:before,.ion-ios-flame:before,.ion-ios-flash:before,.ion-ios-flash-off:before,.ion-ios-flashlight:before,.ion-ios-flask:before,.ion-ios-flower:before,.ion-ios-folder:before,.ion-ios-folder-open:before,.ion-ios-football:before,.ion-ios-funnel:before,.ion-ios-gift:before,.ion-ios-git-branch:before,.ion-ios-git-commit:before,.ion-ios-git-compare:before,.ion-ios-git-merge:before,.ion-ios-git-network:before,.ion-ios-git-pull-request:before,.ion-ios-glasses:before,.ion-ios-globe:before,.ion-ios-grid:before,.ion-ios-hammer:before,.ion-ios-hand:before,.ion-ios-happy:before,.ion-ios-headset:before,.ion-ios-heart:before,.ion-ios-heart-dislike:before,.ion-ios-heart-empty:before,.ion-ios-heart-half:before,.ion-ios-help:before,.ion-ios-help-buoy:before,.ion-ios-help-circle:before,.ion-ios-help-circle-outline:before,.ion-ios-home:before,.ion-ios-hourglass:before,.ion-ios-ice-cream:before,.ion-ios-image:before,.ion-ios-images:before,.ion-ios-infinite:before,.ion-ios-information:before,.ion-ios-information-circle:before,.ion-ios-information-circle-outline:before,.ion-ios-jet:before,.ion-ios-journal:before,.ion-ios-key:before,.ion-ios-keypad:before,.ion-ios-laptop:before,.ion-ios-leaf:before,.ion-ios-link:before,.ion-ios-list:before,.ion-ios-list-box:before,.ion-ios-locate:before,.ion-ios-lock:before,.ion-ios-log-in:before,.ion-ios-log-out:before,.ion-ios-magnet:before,.ion-ios-mail:before,.ion-ios-mail-open:before,.ion-ios-mail-unread:before,.ion-ios-male:before,.ion-ios-man:before,.ion-ios-map:before,.ion-ios-medal:before,.ion-ios-medical:before,.ion-ios-medkit:before,.ion-ios-megaphone:before,.ion-ios-menu:before,.ion-ios-mic:before,.ion-ios-mic-off:before,.ion-ios-microphone:before,.ion-ios-moon:before,.ion-ios-more:before,.ion-ios-move:before,.ion-ios-musical-note:before,.ion-ios-musical-notes:before,.ion-ios-navigate:before,.ion-ios-notifications:before,.ion-ios-notifications-off:before,.ion-ios-notifications-outline:before,.ion-ios-nuclear:before,.ion-ios-nutrition:before,.ion-ios-open:before,.ion-ios-options:before,.ion-ios-outlet:before,.ion-ios-paper:before,.ion-ios-paper-plane:before,.ion-ios-partly-sunny:before,.ion-ios-pause:before,.ion-ios-paw:before,.ion-ios-people:before,.ion-ios-person:before,.ion-ios-person-add:before,.ion-ios-phone-landscape:before,.ion-ios-phone-portrait:before,.ion-ios-photos:before,.ion-ios-pie:before,.ion-ios-pin:before,.ion-ios-pint:before,.ion-ios-pizza:before,.ion-ios-planet:before,.ion-ios-play:before,.ion-ios-play-circle:before,.ion-ios-podium:before,.ion-ios-power:before,.ion-ios-pricetag:before,.ion-ios-pricetags:before,.ion-ios-print:before,.ion-ios-pulse:before,.ion-ios-qr-scanner:before,.ion-ios-quote:before,.ion-ios-radio:before,.ion-ios-radio-button-off:before,.ion-ios-radio-button-on:before,.ion-ios-rainy:before,.ion-ios-recording:before,.ion-ios-redo:before,.ion-ios-refresh:before,.ion-ios-refresh-circle:before,.ion-ios-remove:before,.ion-ios-remove-circle:before,.ion-ios-remove-circle-outline:before,.ion-ios-reorder:before,.ion-ios-repeat:before,.ion-ios-resize:before,.ion-ios-restaurant:before,.ion-ios-return-left:before,.ion-ios-return-right:before,.ion-ios-reverse-camera:before,.ion-ios-rewind:before,.ion-ios-ribbon:before,.ion-ios-rocket:before,.ion-ios-rose:before,.ion-ios-sad:before,.ion-ios-save:before,.ion-ios-school:before,.ion-ios-search:before,.ion-ios-send:before,.ion-ios-settings:before,.ion-ios-share:before,.ion-ios-share-alt:before,.ion-ios-shirt:before,.ion-ios-shuffle:before,.ion-ios-skip-backward:before,.ion-ios-skip-forward:before,.ion-ios-snow:before,.ion-ios-speedometer:before,.ion-ios-square:before,.ion-ios-square-outline:before,.ion-ios-star:before,.ion-ios-star-half:before,.ion-ios-star-outline:before,.ion-ios-stats:before,.ion-ios-stopwatch:before,.ion-ios-subway:before,.ion-ios-sunny:before,.ion-ios-swap:before,.ion-ios-switch:before,.ion-ios-sync:before,.ion-ios-tablet-landscape:before,.ion-ios-tablet-portrait:before,.ion-ios-tennisball:before,.ion-ios-text:before,.ion-ios-thermometer:before,.ion-ios-thumbs-down:before,.ion-ios-thumbs-up:before,.ion-ios-thunderstorm:before,.ion-ios-time:before,.ion-ios-timer:before,.ion-ios-today:before,.ion-ios-train:before,.ion-ios-transgender:before,.ion-ios-trash:before,.ion-ios-trending-down:before,.ion-ios-trending-up:before,.ion-ios-trophy:before,.ion-ios-tv:before,.ion-ios-umbrella:before,.ion-ios-undo:before,.ion-ios-unlock:before,.ion-ios-videocam:before,.ion-ios-volume-high:before,.ion-ios-volume-low:before,.ion-ios-volume-mute:before,.ion-ios-volume-off:before,.ion-ios-walk:before,.ion-ios-wallet:before,.ion-ios-warning:before,.ion-ios-watch:before,.ion-ios-water:before,.ion-ios-wifi:before,.ion-ios-wine:before,.ion-ios-woman:before,.ion-logo-android:before,.ion-logo-angular:before,.ion-logo-apple:before,.ion-logo-bitbucket:before,.ion-logo-bitcoin:before,.ion-logo-buffer:before,.ion-logo-chrome:before,.ion-logo-closed-captioning:before,.ion-logo-codepen:before,.ion-logo-css3:before,.ion-logo-designernews:before,.ion-logo-dribbble:before,.ion-logo-dropbox:before,.ion-logo-euro:before,.ion-logo-facebook:before,.ion-logo-flickr:before,.ion-logo-foursquare:before,.ion-logo-freebsd-devil:before,.ion-logo-game-controller-a:before,.ion-logo-game-controller-b:before,.ion-logo-github:before,.ion-logo-google:before,.ion-logo-googleplus:before,.ion-logo-hackernews:before,.ion-logo-html5:before,.ion-logo-instagram:before,.ion-logo-ionic:before,.ion-logo-ionitron:before,.ion-logo-javascript:before,.ion-logo-linkedin:before,.ion-logo-markdown:before,.ion-logo-model-s:before,.ion-logo-no-smoking:before,.ion-logo-nodejs:before,.ion-logo-npm:before,.ion-logo-octocat:before,.ion-logo-pinterest:before,.ion-logo-playstation:before,.ion-logo-polymer:before,.ion-logo-python:before,.ion-logo-reddit:before,.ion-logo-rss:before,.ion-logo-sass:before,.ion-logo-skype:before,.ion-logo-slack:before,.ion-logo-snapchat:before,.ion-logo-steam:before,.ion-logo-tumblr:before,.ion-logo-tux:before,.ion-logo-twitch:before,.ion-logo-twitter:before,.ion-logo-usd:before,.ion-logo-vimeo:before,.ion-logo-vk:before,.ion-logo-whatsapp:before,.ion-logo-windows:before,.ion-logo-wordpress:before,.ion-logo-xbox:before,.ion-logo-xing:before,.ion-logo-yahoo:before,.ion-logo-yen:before,.ion-logo-youtube:before,.ion-md-add:before,.ion-md-add-circle:before,.ion-md-add-circle-outline:before,.ion-md-airplane:before,.ion-md-alarm:before,.ion-md-albums:before,.ion-md-alert:before,.ion-md-american-football:before,.ion-md-analytics:before,.ion-md-aperture:before,.ion-md-apps:before,.ion-md-appstore:before,.ion-md-archive:before,.ion-md-arrow-back:before,.ion-md-arrow-down:before,.ion-md-arrow-dropdown:before,.ion-md-arrow-dropdown-circle:before,.ion-md-arrow-dropleft:before,.ion-md-arrow-dropleft-circle:before,.ion-md-arrow-dropright:before,.ion-md-arrow-dropright-circle:before,.ion-md-arrow-dropup:before,.ion-md-arrow-dropup-circle:before,.ion-md-arrow-forward:before,.ion-md-arrow-round-back:before,.ion-md-arrow-round-down:before,.ion-md-arrow-round-forward:before,.ion-md-arrow-round-up:before,.ion-md-arrow-up:before,.ion-md-at:before,.ion-md-attach:before,.ion-md-backspace:before,.ion-md-barcode:before,.ion-md-baseball:before,.ion-md-basket:before,.ion-md-basketball:before,.ion-md-battery-charging:before,.ion-md-battery-dead:before,.ion-md-battery-full:before,.ion-md-beaker:before,.ion-md-bed:before,.ion-md-beer:before,.ion-md-bicycle:before,.ion-md-bluetooth:before,.ion-md-boat:before,.ion-md-body:before,.ion-md-bonfire:before,.ion-md-book:before,.ion-md-bookmark:before,.ion-md-bookmarks:before,.ion-md-bowtie:before,.ion-md-briefcase:before,.ion-md-browsers:before,.ion-md-brush:before,.ion-md-bug:before,.ion-md-build:before,.ion-md-bulb:before,.ion-md-bus:before,.ion-md-business:before,.ion-md-cafe:before,.ion-md-calculator:before,.ion-md-calendar:before,.ion-md-call:before,.ion-md-camera:before,.ion-md-car:before,.ion-md-card:before,.ion-md-cart:before,.ion-md-cash:before,.ion-md-cellular:before,.ion-md-chatboxes:before,.ion-md-chatbubbles:before,.ion-md-checkbox:before,.ion-md-checkbox-outline:before,.ion-md-checkmark:before,.ion-md-checkmark-circle:before,.ion-md-checkmark-circle-outline:before,.ion-md-clipboard:before,.ion-md-clock:before,.ion-md-close:before,.ion-md-close-circle:before,.ion-md-close-circle-outline:before,.ion-md-cloud:before,.ion-md-cloud-circle:before,.ion-md-cloud-done:before,.ion-md-cloud-download:before,.ion-md-cloud-outline:before,.ion-md-cloud-upload:before,.ion-md-cloudy:before,.ion-md-cloudy-night:before,.ion-md-code:before,.ion-md-code-download:before,.ion-md-code-working:before,.ion-md-cog:before,.ion-md-color-fill:before,.ion-md-color-filter:before,.ion-md-color-palette:before,.ion-md-color-wand:before,.ion-md-compass:before,.ion-md-construct:before,.ion-md-contact:before,.ion-md-contacts:before,.ion-md-contract:before,.ion-md-contrast:before,.ion-md-copy:before,.ion-md-create:before,.ion-md-crop:before,.ion-md-cube:before,.ion-md-cut:before,.ion-md-desktop:before,.ion-md-disc:before,.ion-md-document:before,.ion-md-done-all:before,.ion-md-download:before,.ion-md-easel:before,.ion-md-egg:before,.ion-md-exit:before,.ion-md-expand:before,.ion-md-eye:before,.ion-md-eye-off:before,.ion-md-fastforward:before,.ion-md-female:before,.ion-md-filing:before,.ion-md-film:before,.ion-md-finger-print:before,.ion-md-fitness:before,.ion-md-flag:before,.ion-md-flame:before,.ion-md-flash:before,.ion-md-flash-off:before,.ion-md-flashlight:before,.ion-md-flask:before,.ion-md-flower:before,.ion-md-folder:before,.ion-md-folder-open:before,.ion-md-football:before,.ion-md-funnel:before,.ion-md-gift:before,.ion-md-git-branch:before,.ion-md-git-commit:before,.ion-md-git-compare:before,.ion-md-git-merge:before,.ion-md-git-network:before,.ion-md-git-pull-request:before,.ion-md-glasses:before,.ion-md-globe:before,.ion-md-grid:before,.ion-md-hammer:before,.ion-md-hand:before,.ion-md-happy:before,.ion-md-headset:before,.ion-md-heart:before,.ion-md-heart-dislike:before,.ion-md-heart-empty:before,.ion-md-heart-half:before,.ion-md-help:before,.ion-md-help-buoy:before,.ion-md-help-circle:before,.ion-md-help-circle-outline:before,.ion-md-home:before,.ion-md-hourglass:before,.ion-md-ice-cream:before,.ion-md-image:before,.ion-md-images:before,.ion-md-infinite:before,.ion-md-information:before,.ion-md-information-circle:before,.ion-md-information-circle-outline:before,.ion-md-jet:before,.ion-md-journal:before,.ion-md-key:before,.ion-md-keypad:before,.ion-md-laptop:before,.ion-md-leaf:before,.ion-md-link:before,.ion-md-list:before,.ion-md-list-box:before,.ion-md-locate:before,.ion-md-lock:before,.ion-md-log-in:before,.ion-md-log-out:before,.ion-md-magnet:before,.ion-md-mail:before,.ion-md-mail-open:before,.ion-md-mail-unread:before,.ion-md-male:before,.ion-md-man:before,.ion-md-map:before,.ion-md-medal:before,.ion-md-medical:before,.ion-md-medkit:before,.ion-md-megaphone:before,.ion-md-menu:before,.ion-md-mic:before,.ion-md-mic-off:before,.ion-md-microphone:before,.ion-md-moon:before,.ion-md-more:before,.ion-md-move:before,.ion-md-musical-note:before,.ion-md-musical-notes:before,.ion-md-navigate:before,.ion-md-notifications:before,.ion-md-notifications-off:before,.ion-md-notifications-outline:before,.ion-md-nuclear:before,.ion-md-nutrition:before,.ion-md-open:before,.ion-md-options:before,.ion-md-outlet:before,.ion-md-paper:before,.ion-md-paper-plane:before,.ion-md-partly-sunny:before,.ion-md-pause:before,.ion-md-paw:before,.ion-md-people:before,.ion-md-person:before,.ion-md-person-add:before,.ion-md-phone-landscape:before,.ion-md-phone-portrait:before,.ion-md-photos:before,.ion-md-pie:before,.ion-md-pin:before,.ion-md-pint:before,.ion-md-pizza:before,.ion-md-planet:before,.ion-md-play:before,.ion-md-play-circle:before,.ion-md-podium:before,.ion-md-power:before,.ion-md-pricetag:before,.ion-md-pricetags:before,.ion-md-print:before,.ion-md-pulse:before,.ion-md-qr-scanner:before,.ion-md-quote:before,.ion-md-radio:before,.ion-md-radio-button-off:before,.ion-md-radio-button-on:before,.ion-md-rainy:before,.ion-md-recording:before,.ion-md-redo:before,.ion-md-refresh:before,.ion-md-refresh-circle:before,.ion-md-remove:before,.ion-md-remove-circle:before,.ion-md-remove-circle-outline:before,.ion-md-reorder:before,.ion-md-repeat:before,.ion-md-resize:before,.ion-md-restaurant:before,.ion-md-return-left:before,.ion-md-return-right:before,.ion-md-reverse-camera:before,.ion-md-rewind:before,.ion-md-ribbon:before,.ion-md-rocket:before,.ion-md-rose:before,.ion-md-sad:before,.ion-md-save:before,.ion-md-school:before,.ion-md-search:before,.ion-md-send:before,.ion-md-settings:before,.ion-md-share:before,.ion-md-share-alt:before,.ion-md-shirt:before,.ion-md-shuffle:before,.ion-md-skip-backward:before,.ion-md-skip-forward:before,.ion-md-snow:before,.ion-md-speedometer:before,.ion-md-square:before,.ion-md-square-outline:before,.ion-md-star:before,.ion-md-star-half:before,.ion-md-star-outline:before,.ion-md-stats:before,.ion-md-stopwatch:before,.ion-md-subway:before,.ion-md-sunny:before,.ion-md-swap:before,.ion-md-switch:before,.ion-md-sync:before,.ion-md-tablet-landscape:before,.ion-md-tablet-portrait:before,.ion-md-tennisball:before,.ion-md-text:before,.ion-md-thermometer:before,.ion-md-thumbs-down:before,.ion-md-thumbs-up:before,.ion-md-thunderstorm:before,.ion-md-time:before,.ion-md-timer:before,.ion-md-today:before,.ion-md-train:before,.ion-md-transgender:before,.ion-md-trash:before,.ion-md-trending-down:before,.ion-md-trending-up:before,.ion-md-trophy:before,.ion-md-tv:before,.ion-md-umbrella:before,.ion-md-undo:before,.ion-md-unlock:before,.ion-md-videocam:before,.ion-md-volume-high:before,.ion-md-volume-low:before,.ion-md-volume-mute:before,.ion-md-volume-off:before,.ion-md-walk:before,.ion-md-wallet:before,.ion-md-warning:before,.ion-md-watch:before,.ion-md-water:before,.ion-md-wifi:before,.ion-md-wine:before,.ion-md-woman:before{display:inline-block;font-family:"Ionicons";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ion-ios-add:before{content:"\\f102"}.ion-ios-add-circle:before{content:"\\f101"}.ion-ios-add-circle-outline:before{content:"\\f100"}.ion-ios-airplane:before{content:"\\f137"}.ion-ios-alarm:before{content:"\\f3c8"}.ion-ios-albums:before{content:"\\f3ca"}.ion-ios-alert:before{content:"\\f104"}.ion-ios-american-football:before{content:"\\f106"}.ion-ios-analytics:before{content:"\\f3ce"}.ion-ios-aperture:before{content:"\\f108"}.ion-ios-apps:before{content:"\\f10a"}.ion-ios-appstore:before{content:"\\f10c"}.ion-ios-archive:before{content:"\\f10e"}.ion-ios-arrow-back:before{content:"\\f3cf"}.ion-ios-arrow-down:before{content:"\\f3d0"}.ion-ios-arrow-dropdown:before{content:"\\f110"}.ion-ios-arrow-dropdown-circle:before{content:"\\f125"}.ion-ios-arrow-dropleft:before{content:"\\f112"}.ion-ios-arrow-dropleft-circle:before{content:"\\f129"}.ion-ios-arrow-dropright:before{content:"\\f114"}.ion-ios-arrow-dropright-circle:before{content:"\\f12b"}.ion-ios-arrow-dropup:before{content:"\\f116"}.ion-ios-arrow-dropup-circle:before{content:"\\f12d"}.ion-ios-arrow-forward:before{content:"\\f3d1"}.ion-ios-arrow-round-back:before{content:"\\f117"}.ion-ios-arrow-round-down:before{content:"\\f118"}.ion-ios-arrow-round-forward:before{content:"\\f119"}.ion-ios-arrow-round-up:before{content:"\\f11a"}.ion-ios-arrow-up:before{content:"\\f3d8"}.ion-ios-at:before{content:"\\f3da"}.ion-ios-attach:before{content:"\\f11b"}.ion-ios-backspace:before{content:"\\f11d"}.ion-ios-barcode:before{content:"\\f3dc"}.ion-ios-baseball:before{content:"\\f3de"}.ion-ios-basket:before{content:"\\f11f"}.ion-ios-basketball:before{content:"\\f3e0"}.ion-ios-battery-charging:before{content:"\\f120"}.ion-ios-battery-dead:before{content:"\\f121"}.ion-ios-battery-full:before{content:"\\f122"}.ion-ios-beaker:before{content:"\\f124"}.ion-ios-bed:before{content:"\\f139"}.ion-ios-beer:before{content:"\\f126"}.ion-ios-bicycle:before{content:"\\f127"}.ion-ios-bluetooth:before{content:"\\f128"}.ion-ios-boat:before{content:"\\f12a"}.ion-ios-body:before{content:"\\f3e4"}.ion-ios-bonfire:before{content:"\\f12c"}.ion-ios-book:before{content:"\\f3e8"}.ion-ios-bookmark:before{content:"\\f12e"}.ion-ios-bookmarks:before{content:"\\f3ea"}.ion-ios-bowtie:before{content:"\\f130"}.ion-ios-briefcase:before{content:"\\f3ee"}.ion-ios-browsers:before{content:"\\f3f0"}.ion-ios-brush:before{content:"\\f132"}.ion-ios-bug:before{content:"\\f134"}.ion-ios-build:before{content:"\\f136"}.ion-ios-bulb:before{content:"\\f138"}.ion-ios-bus:before{content:"\\f13a"}.ion-ios-business:before{content:"\\f1a3"}.ion-ios-cafe:before{content:"\\f13c"}.ion-ios-calculator:before{content:"\\f3f2"}.ion-ios-calendar:before{content:"\\f3f4"}.ion-ios-call:before{content:"\\f13e"}.ion-ios-camera:before{content:"\\f3f6"}.ion-ios-car:before{content:"\\f140"}.ion-ios-card:before{content:"\\f142"}.ion-ios-cart:before{content:"\\f3f8"}.ion-ios-cash:before{content:"\\f144"}.ion-ios-cellular:before{content:"\\f13d"}.ion-ios-chatboxes:before{content:"\\f3fa"}.ion-ios-chatbubbles:before{content:"\\f146"}.ion-ios-checkbox:before{content:"\\f148"}.ion-ios-checkbox-outline:before{content:"\\f147"}.ion-ios-checkmark:before{content:"\\f3ff"}.ion-ios-checkmark-circle:before{content:"\\f14a"}.ion-ios-checkmark-circle-outline:before{content:"\\f149"}.ion-ios-clipboard:before{content:"\\f14c"}.ion-ios-clock:before{content:"\\f403"}.ion-ios-close:before{content:"\\f406"}.ion-ios-close-circle:before{content:"\\f14e"}.ion-ios-close-circle-outline:before{content:"\\f14d"}.ion-ios-cloud:before{content:"\\f40c"}.ion-ios-cloud-circle:before{content:"\\f152"}.ion-ios-cloud-done:before{content:"\\f154"}.ion-ios-cloud-download:before{content:"\\f408"}.ion-ios-cloud-outline:before{content:"\\f409"}.ion-ios-cloud-upload:before{content:"\\f40b"}.ion-ios-cloudy:before{content:"\\f410"}.ion-ios-cloudy-night:before{content:"\\f40e"}.ion-ios-code:before{content:"\\f157"}.ion-ios-code-download:before{content:"\\f155"}.ion-ios-code-working:before{content:"\\f156"}.ion-ios-cog:before{content:"\\f412"}.ion-ios-color-fill:before{content:"\\f159"}.ion-ios-color-filter:before{content:"\\f414"}.ion-ios-color-palette:before{content:"\\f15b"}.ion-ios-color-wand:before{content:"\\f416"}.ion-ios-compass:before{content:"\\f15d"}.ion-ios-construct:before{content:"\\f15f"}.ion-ios-contact:before{content:"\\f41a"}.ion-ios-contacts:before{content:"\\f161"}.ion-ios-contract:before{content:"\\f162"}.ion-ios-contrast:before{content:"\\f163"}.ion-ios-copy:before{content:"\\f41c"}.ion-ios-create:before{content:"\\f165"}.ion-ios-crop:before{content:"\\f41e"}.ion-ios-cube:before{content:"\\f168"}.ion-ios-cut:before{content:"\\f16a"}.ion-ios-desktop:before{content:"\\f16c"}.ion-ios-disc:before{content:"\\f16e"}.ion-ios-document:before{content:"\\f170"}.ion-ios-done-all:before{content:"\\f171"}.ion-ios-download:before{content:"\\f420"}.ion-ios-easel:before{content:"\\f173"}.ion-ios-egg:before{content:"\\f175"}.ion-ios-exit:before{content:"\\f177"}.ion-ios-expand:before{content:"\\f178"}.ion-ios-eye:before{content:"\\f425"}.ion-ios-eye-off:before{content:"\\f17a"}.ion-ios-fastforward:before{content:"\\f427"}.ion-ios-female:before{content:"\\f17b"}.ion-ios-filing:before{content:"\\f429"}.ion-ios-film:before{content:"\\f42b"}.ion-ios-finger-print:before{content:"\\f17c"}.ion-ios-fitness:before{content:"\\f1ab"}.ion-ios-flag:before{content:"\\f42d"}.ion-ios-flame:before{content:"\\f42f"}.ion-ios-flash:before{content:"\\f17e"}.ion-ios-flash-off:before{content:"\\f12f"}.ion-ios-flashlight:before{content:"\\f141"}.ion-ios-flask:before{content:"\\f431"}.ion-ios-flower:before{content:"\\f433"}.ion-ios-folder:before{content:"\\f435"}.ion-ios-folder-open:before{content:"\\f180"}.ion-ios-football:before{content:"\\f437"}.ion-ios-funnel:before{content:"\\f182"}.ion-ios-gift:before{content:"\\f191"}.ion-ios-git-branch:before{content:"\\f183"}.ion-ios-git-commit:before{content:"\\f184"}.ion-ios-git-compare:before{content:"\\f185"}.ion-ios-git-merge:before{content:"\\f186"}.ion-ios-git-network:before{content:"\\f187"}.ion-ios-git-pull-request:before{content:"\\f188"}.ion-ios-glasses:before{content:"\\f43f"}.ion-ios-globe:before{content:"\\f18a"}.ion-ios-grid:before{content:"\\f18c"}.ion-ios-hammer:before{content:"\\f18e"}.ion-ios-hand:before{content:"\\f190"}.ion-ios-happy:before{content:"\\f192"}.ion-ios-headset:before{content:"\\f194"}.ion-ios-heart:before{content:"\\f443"}.ion-ios-heart-dislike:before{content:"\\f13f"}.ion-ios-heart-empty:before{content:"\\f19b"}.ion-ios-heart-half:before{content:"\\f19d"}.ion-ios-help:before{content:"\\f446"}.ion-ios-help-buoy:before{content:"\\f196"}.ion-ios-help-circle:before{content:"\\f198"}.ion-ios-help-circle-outline:before{content:"\\f197"}.ion-ios-home:before{content:"\\f448"}.ion-ios-hourglass:before{content:"\\f103"}.ion-ios-ice-cream:before{content:"\\f19a"}.ion-ios-image:before{content:"\\f19c"}.ion-ios-images:before{content:"\\f19e"}.ion-ios-infinite:before{content:"\\f44a"}.ion-ios-information:before{content:"\\f44d"}.ion-ios-information-circle:before{content:"\\f1a0"}.ion-ios-information-circle-outline:before{content:"\\f19f"}.ion-ios-jet:before{content:"\\f1a5"}.ion-ios-journal:before{content:"\\f189"}.ion-ios-key:before{content:"\\f1a7"}.ion-ios-keypad:before{content:"\\f450"}.ion-ios-laptop:before{content:"\\f1a8"}.ion-ios-leaf:before{content:"\\f1aa"}.ion-ios-link:before{content:"\\f22a"}.ion-ios-list:before{content:"\\f454"}.ion-ios-list-box:before{content:"\\f143"}.ion-ios-locate:before{content:"\\f1ae"}.ion-ios-lock:before{content:"\\f1b0"}.ion-ios-log-in:before{content:"\\f1b1"}.ion-ios-log-out:before{content:"\\f1b2"}.ion-ios-magnet:before{content:"\\f1b4"}.ion-ios-mail:before{content:"\\f1b8"}.ion-ios-mail-open:before{content:"\\f1b6"}.ion-ios-mail-unread:before{content:"\\f145"}.ion-ios-male:before{content:"\\f1b9"}.ion-ios-man:before{content:"\\f1bb"}.ion-ios-map:before{content:"\\f1bd"}.ion-ios-medal:before{content:"\\f1bf"}.ion-ios-medical:before{content:"\\f45c"}.ion-ios-medkit:before{content:"\\f45e"}.ion-ios-megaphone:before{content:"\\f1c1"}.ion-ios-menu:before{content:"\\f1c3"}.ion-ios-mic:before{content:"\\f461"}.ion-ios-mic-off:before{content:"\\f45f"}.ion-ios-microphone:before{content:"\\f1c6"}.ion-ios-moon:before{content:"\\f468"}.ion-ios-more:before{content:"\\f1c8"}.ion-ios-move:before{content:"\\f1cb"}.ion-ios-musical-note:before{content:"\\f46b"}.ion-ios-musical-notes:before{content:"\\f46c"}.ion-ios-navigate:before{content:"\\f46e"}.ion-ios-notifications:before{content:"\\f1d3"}.ion-ios-notifications-off:before{content:"\\f1d1"}.ion-ios-notifications-outline:before{content:"\\f133"}.ion-ios-nuclear:before{content:"\\f1d5"}.ion-ios-nutrition:before{content:"\\f470"}.ion-ios-open:before{content:"\\f1d7"}.ion-ios-options:before{content:"\\f1d9"}.ion-ios-outlet:before{content:"\\f1db"}.ion-ios-paper:before{content:"\\f472"}.ion-ios-paper-plane:before{content:"\\f1dd"}.ion-ios-partly-sunny:before{content:"\\f1df"}.ion-ios-pause:before{content:"\\f478"}.ion-ios-paw:before{content:"\\f47a"}.ion-ios-people:before{content:"\\f47c"}.ion-ios-person:before{content:"\\f47e"}.ion-ios-person-add:before{content:"\\f1e1"}.ion-ios-phone-landscape:before{content:"\\f1e2"}.ion-ios-phone-portrait:before{content:"\\f1e3"}.ion-ios-photos:before{content:"\\f482"}.ion-ios-pie:before{content:"\\f484"}.ion-ios-pin:before{content:"\\f1e5"}.ion-ios-pint:before{content:"\\f486"}.ion-ios-pizza:before{content:"\\f1e7"}.ion-ios-planet:before{content:"\\f1eb"}.ion-ios-play:before{content:"\\f488"}.ion-ios-play-circle:before{content:"\\f113"}.ion-ios-podium:before{content:"\\f1ed"}.ion-ios-power:before{content:"\\f1ef"}.ion-ios-pricetag:before{content:"\\f48d"}.ion-ios-pricetags:before{content:"\\f48f"}.ion-ios-print:before{content:"\\f1f1"}.ion-ios-pulse:before{content:"\\f493"}.ion-ios-qr-scanner:before{content:"\\f1f3"}.ion-ios-quote:before{content:"\\f1f5"}.ion-ios-radio:before{content:"\\f1f9"}.ion-ios-radio-button-off:before{content:"\\f1f6"}.ion-ios-radio-button-on:before{content:"\\f1f7"}.ion-ios-rainy:before{content:"\\f495"}.ion-ios-recording:before{content:"\\f497"}.ion-ios-redo:before{content:"\\f499"}.ion-ios-refresh:before{content:"\\f49c"}.ion-ios-refresh-circle:before{content:"\\f135"}.ion-ios-remove:before{content:"\\f1fc"}.ion-ios-remove-circle:before{content:"\\f1fb"}.ion-ios-remove-circle-outline:before{content:"\\f1fa"}.ion-ios-reorder:before{content:"\\f1fd"}.ion-ios-repeat:before{content:"\\f1fe"}.ion-ios-resize:before{content:"\\f1ff"}.ion-ios-restaurant:before{content:"\\f201"}.ion-ios-return-left:before{content:"\\f202"}.ion-ios-return-right:before{content:"\\f203"}.ion-ios-reverse-camera:before{content:"\\f49f"}.ion-ios-rewind:before{content:"\\f4a1"}.ion-ios-ribbon:before{content:"\\f205"}.ion-ios-rocket:before{content:"\\f14b"}.ion-ios-rose:before{content:"\\f4a3"}.ion-ios-sad:before{content:"\\f207"}.ion-ios-save:before{content:"\\f1a6"}.ion-ios-school:before{content:"\\f209"}.ion-ios-search:before{content:"\\f4a5"}.ion-ios-send:before{content:"\\f20c"}.ion-ios-settings:before{content:"\\f4a7"}.ion-ios-share:before{content:"\\f211"}.ion-ios-share-alt:before{content:"\\f20f"}.ion-ios-shirt:before{content:"\\f213"}.ion-ios-shuffle:before{content:"\\f4a9"}.ion-ios-skip-backward:before{content:"\\f215"}.ion-ios-skip-forward:before{content:"\\f217"}.ion-ios-snow:before{content:"\\f218"}.ion-ios-speedometer:before{content:"\\f4b0"}.ion-ios-square:before{content:"\\f21a"}.ion-ios-square-outline:before{content:"\\f15c"}.ion-ios-star:before{content:"\\f4b3"}.ion-ios-star-half:before{content:"\\f4b1"}.ion-ios-star-outline:before{content:"\\f4b2"}.ion-ios-stats:before{content:"\\f21c"}.ion-ios-stopwatch:before{content:"\\f4b5"}.ion-ios-subway:before{content:"\\f21e"}.ion-ios-sunny:before{content:"\\f4b7"}.ion-ios-swap:before{content:"\\f21f"}.ion-ios-switch:before{content:"\\f221"}.ion-ios-sync:before{content:"\\f222"}.ion-ios-tablet-landscape:before{content:"\\f223"}.ion-ios-tablet-portrait:before{content:"\\f24e"}.ion-ios-tennisball:before{content:"\\f4bb"}.ion-ios-text:before{content:"\\f250"}.ion-ios-thermometer:before{content:"\\f252"}.ion-ios-thumbs-down:before{content:"\\f254"}.ion-ios-thumbs-up:before{content:"\\f256"}.ion-ios-thunderstorm:before{content:"\\f4bd"}.ion-ios-time:before{content:"\\f4bf"}.ion-ios-timer:before{content:"\\f4c1"}.ion-ios-today:before{content:"\\f14f"}.ion-ios-train:before{content:"\\f258"}.ion-ios-transgender:before{content:"\\f259"}.ion-ios-trash:before{content:"\\f4c5"}.ion-ios-trending-down:before{content:"\\f25a"}.ion-ios-trending-up:before{content:"\\f25b"}.ion-ios-trophy:before{content:"\\f25d"}.ion-ios-tv:before{content:"\\f115"}.ion-ios-umbrella:before{content:"\\f25f"}.ion-ios-undo:before{content:"\\f4c7"}.ion-ios-unlock:before{content:"\\f261"}.ion-ios-videocam:before{content:"\\f4cd"}.ion-ios-volume-high:before{content:"\\f11c"}.ion-ios-volume-low:before{content:"\\f11e"}.ion-ios-volume-mute:before{content:"\\f263"}.ion-ios-volume-off:before{content:"\\f264"}.ion-ios-walk:before{content:"\\f266"}.ion-ios-wallet:before{content:"\\f18b"}.ion-ios-warning:before{content:"\\f268"}.ion-ios-watch:before{content:"\\f269"}.ion-ios-water:before{content:"\\f26b"}.ion-ios-wifi:before{content:"\\f26d"}.ion-ios-wine:before{content:"\\f26f"}.ion-ios-woman:before{content:"\\f271"}.ion-logo-android:before{content:"\\f225"}.ion-logo-angular:before{content:"\\f227"}.ion-logo-apple:before{content:"\\f229"}.ion-logo-bitbucket:before{content:"\\f193"}.ion-logo-bitcoin:before{content:"\\f22b"}.ion-logo-buffer:before{content:"\\f22d"}.ion-logo-chrome:before{content:"\\f22f"}.ion-logo-closed-captioning:before{content:"\\f105"}.ion-logo-codepen:before{content:"\\f230"}.ion-logo-css3:before{content:"\\f231"}.ion-logo-designernews:before{content:"\\f232"}.ion-logo-dribbble:before{content:"\\f233"}.ion-logo-dropbox:before{content:"\\f234"}.ion-logo-euro:before{content:"\\f235"}.ion-logo-facebook:before{content:"\\f236"}.ion-logo-flickr:before{content:"\\f107"}.ion-logo-foursquare:before{content:"\\f237"}.ion-logo-freebsd-devil:before{content:"\\f238"}.ion-logo-game-controller-a:before{content:"\\f13b"}.ion-logo-game-controller-b:before{content:"\\f181"}.ion-logo-github:before{content:"\\f239"}.ion-logo-google:before{content:"\\f23a"}.ion-logo-googleplus:before{content:"\\f23b"}.ion-logo-hackernews:before{content:"\\f23c"}.ion-logo-html5:before{content:"\\f23d"}.ion-logo-instagram:before{content:"\\f23e"}.ion-logo-ionic:before{content:"\\f150"}.ion-logo-ionitron:before{content:"\\f151"}.ion-logo-javascript:before{content:"\\f23f"}.ion-logo-linkedin:before{content:"\\f240"}.ion-logo-markdown:before{content:"\\f241"}.ion-logo-model-s:before{content:"\\f153"}.ion-logo-no-smoking:before{content:"\\f109"}.ion-logo-nodejs:before{content:"\\f242"}.ion-logo-npm:before{content:"\\f195"}.ion-logo-octocat:before{content:"\\f243"}.ion-logo-pinterest:before{content:"\\f244"}.ion-logo-playstation:before{content:"\\f245"}.ion-logo-polymer:before{content:"\\f15e"}.ion-logo-python:before{content:"\\f246"}.ion-logo-reddit:before{content:"\\f247"}.ion-logo-rss:before{content:"\\f248"}.ion-logo-sass:before{content:"\\f249"}.ion-logo-skype:before{content:"\\f24a"}.ion-logo-slack:before{content:"\\f10b"}.ion-logo-snapchat:before{content:"\\f24b"}.ion-logo-steam:before{content:"\\f24c"}.ion-logo-tumblr:before{content:"\\f24d"}.ion-logo-tux:before{content:"\\f2ae"}.ion-logo-twitch:before{content:"\\f2af"}.ion-logo-twitter:before{content:"\\f2b0"}.ion-logo-usd:before{content:"\\f2b1"}.ion-logo-vimeo:before{content:"\\f2c4"}.ion-logo-vk:before{content:"\\f10d"}.ion-logo-whatsapp:before{content:"\\f2c5"}.ion-logo-windows:before{content:"\\f32f"}.ion-logo-wordpress:before{content:"\\f330"}.ion-logo-xbox:before{content:"\\f34c"}.ion-logo-xing:before{content:"\\f10f"}.ion-logo-yahoo:before{content:"\\f34d"}.ion-logo-yen:before{content:"\\f34e"}.ion-logo-youtube:before{content:"\\f34f"}.ion-md-add:before{content:"\\f273"}.ion-md-add-circle:before{content:"\\f272"}.ion-md-add-circle-outline:before{content:"\\f158"}.ion-md-airplane:before{content:"\\f15a"}.ion-md-alarm:before{content:"\\f274"}.ion-md-albums:before{content:"\\f275"}.ion-md-alert:before{content:"\\f276"}.ion-md-american-football:before{content:"\\f277"}.ion-md-analytics:before{content:"\\f278"}.ion-md-aperture:before{content:"\\f279"}.ion-md-apps:before{content:"\\f27a"}.ion-md-appstore:before{content:"\\f27b"}.ion-md-archive:before{content:"\\f27c"}.ion-md-arrow-back:before{content:"\\f27d"}.ion-md-arrow-down:before{content:"\\f27e"}.ion-md-arrow-dropdown:before{content:"\\f280"}.ion-md-arrow-dropdown-circle:before{content:"\\f27f"}.ion-md-arrow-dropleft:before{content:"\\f282"}.ion-md-arrow-dropleft-circle:before{content:"\\f281"}.ion-md-arrow-dropright:before{content:"\\f284"}.ion-md-arrow-dropright-circle:before{content:"\\f283"}.ion-md-arrow-dropup:before{content:"\\f286"}.ion-md-arrow-dropup-circle:before{content:"\\f285"}.ion-md-arrow-forward:before{content:"\\f287"}.ion-md-arrow-round-back:before{content:"\\f288"}.ion-md-arrow-round-down:before{content:"\\f289"}.ion-md-arrow-round-forward:before{content:"\\f28a"}.ion-md-arrow-round-up:before{content:"\\f28b"}.ion-md-arrow-up:before{content:"\\f28c"}.ion-md-at:before{content:"\\f28d"}.ion-md-attach:before{content:"\\f28e"}.ion-md-backspace:before{content:"\\f28f"}.ion-md-barcode:before{content:"\\f290"}.ion-md-baseball:before{content:"\\f291"}.ion-md-basket:before{content:"\\f292"}.ion-md-basketball:before{content:"\\f293"}.ion-md-battery-charging:before{content:"\\f294"}.ion-md-battery-dead:before{content:"\\f295"}.ion-md-battery-full:before{content:"\\f296"}.ion-md-beaker:before{content:"\\f297"}.ion-md-bed:before{content:"\\f160"}.ion-md-beer:before{content:"\\f298"}.ion-md-bicycle:before{content:"\\f299"}.ion-md-bluetooth:before{content:"\\f29a"}.ion-md-boat:before{content:"\\f29b"}.ion-md-body:before{content:"\\f29c"}.ion-md-bonfire:before{content:"\\f29d"}.ion-md-book:before{content:"\\f29e"}.ion-md-bookmark:before{content:"\\f29f"}.ion-md-bookmarks:before{content:"\\f2a0"}.ion-md-bowtie:before{content:"\\f2a1"}.ion-md-briefcase:before{content:"\\f2a2"}.ion-md-browsers:before{content:"\\f2a3"}.ion-md-brush:before{content:"\\f2a4"}.ion-md-bug:before{content:"\\f2a5"}.ion-md-build:before{content:"\\f2a6"}.ion-md-bulb:before{content:"\\f2a7"}.ion-md-bus:before{content:"\\f2a8"}.ion-md-business:before{content:"\\f1a4"}.ion-md-cafe:before{content:"\\f2a9"}.ion-md-calculator:before{content:"\\f2aa"}.ion-md-calendar:before{content:"\\f2ab"}.ion-md-call:before{content:"\\f2ac"}.ion-md-camera:before{content:"\\f2ad"}.ion-md-car:before{content:"\\f2b2"}.ion-md-card:before{content:"\\f2b3"}.ion-md-cart:before{content:"\\f2b4"}.ion-md-cash:before{content:"\\f2b5"}.ion-md-cellular:before{content:"\\f164"}.ion-md-chatboxes:before{content:"\\f2b6"}.ion-md-chatbubbles:before{content:"\\f2b7"}.ion-md-checkbox:before{content:"\\f2b9"}.ion-md-checkbox-outline:before{content:"\\f2b8"}.ion-md-checkmark:before{content:"\\f2bc"}.ion-md-checkmark-circle:before{content:"\\f2bb"}.ion-md-checkmark-circle-outline:before{content:"\\f2ba"}.ion-md-clipboard:before{content:"\\f2bd"}.ion-md-clock:before{content:"\\f2be"}.ion-md-close:before{content:"\\f2c0"}.ion-md-close-circle:before{content:"\\f2bf"}.ion-md-close-circle-outline:before{content:"\\f166"}.ion-md-cloud:before{content:"\\f2c9"}.ion-md-cloud-circle:before{content:"\\f2c2"}.ion-md-cloud-done:before{content:"\\f2c3"}.ion-md-cloud-download:before{content:"\\f2c6"}.ion-md-cloud-outline:before{content:"\\f2c7"}.ion-md-cloud-upload:before{content:"\\f2c8"}.ion-md-cloudy:before{content:"\\f2cb"}.ion-md-cloudy-night:before{content:"\\f2ca"}.ion-md-code:before{content:"\\f2ce"}.ion-md-code-download:before{content:"\\f2cc"}.ion-md-code-working:before{content:"\\f2cd"}.ion-md-cog:before{content:"\\f2cf"}.ion-md-color-fill:before{content:"\\f2d0"}.ion-md-color-filter:before{content:"\\f2d1"}.ion-md-color-palette:before{content:"\\f2d2"}.ion-md-color-wand:before{content:"\\f2d3"}.ion-md-compass:before{content:"\\f2d4"}.ion-md-construct:before{content:"\\f2d5"}.ion-md-contact:before{content:"\\f2d6"}.ion-md-contacts:before{content:"\\f2d7"}.ion-md-contract:before{content:"\\f2d8"}.ion-md-contrast:before{content:"\\f2d9"}.ion-md-copy:before{content:"\\f2da"}.ion-md-create:before{content:"\\f2db"}.ion-md-crop:before{content:"\\f2dc"}.ion-md-cube:before{content:"\\f2dd"}.ion-md-cut:before{content:"\\f2de"}.ion-md-desktop:before{content:"\\f2df"}.ion-md-disc:before{content:"\\f2e0"}.ion-md-document:before{content:"\\f2e1"}.ion-md-done-all:before{content:"\\f2e2"}.ion-md-download:before{content:"\\f2e3"}.ion-md-easel:before{content:"\\f2e4"}.ion-md-egg:before{content:"\\f2e5"}.ion-md-exit:before{content:"\\f2e6"}.ion-md-expand:before{content:"\\f2e7"}.ion-md-eye:before{content:"\\f2e9"}.ion-md-eye-off:before{content:"\\f2e8"}.ion-md-fastforward:before{content:"\\f2ea"}.ion-md-female:before{content:"\\f2eb"}.ion-md-filing:before{content:"\\f2ec"}.ion-md-film:before{content:"\\f2ed"}.ion-md-finger-print:before{content:"\\f2ee"}.ion-md-fitness:before{content:"\\f1ac"}.ion-md-flag:before{content:"\\f2ef"}.ion-md-flame:before{content:"\\f2f0"}.ion-md-flash:before{content:"\\f2f1"}.ion-md-flash-off:before{content:"\\f169"}.ion-md-flashlight:before{content:"\\f16b"}.ion-md-flask:before{content:"\\f2f2"}.ion-md-flower:before{content:"\\f2f3"}.ion-md-folder:before{content:"\\f2f5"}.ion-md-folder-open:before{content:"\\f2f4"}.ion-md-football:before{content:"\\f2f6"}.ion-md-funnel:before{content:"\\f2f7"}.ion-md-gift:before{content:"\\f199"}.ion-md-git-branch:before{content:"\\f2fa"}.ion-md-git-commit:before{content:"\\f2fb"}.ion-md-git-compare:before{content:"\\f2fc"}.ion-md-git-merge:before{content:"\\f2fd"}.ion-md-git-network:before{content:"\\f2fe"}.ion-md-git-pull-request:before{content:"\\f2ff"}.ion-md-glasses:before{content:"\\f300"}.ion-md-globe:before{content:"\\f301"}.ion-md-grid:before{content:"\\f302"}.ion-md-hammer:before{content:"\\f303"}.ion-md-hand:before{content:"\\f304"}.ion-md-happy:before{content:"\\f305"}.ion-md-headset:before{content:"\\f306"}.ion-md-heart:before{content:"\\f308"}.ion-md-heart-dislike:before{content:"\\f167"}.ion-md-heart-empty:before{content:"\\f1a1"}.ion-md-heart-half:before{content:"\\f1a2"}.ion-md-help:before{content:"\\f30b"}.ion-md-help-buoy:before{content:"\\f309"}.ion-md-help-circle:before{content:"\\f30a"}.ion-md-help-circle-outline:before{content:"\\f16d"}.ion-md-home:before{content:"\\f30c"}.ion-md-hourglass:before{content:"\\f111"}.ion-md-ice-cream:before{content:"\\f30d"}.ion-md-image:before{content:"\\f30e"}.ion-md-images:before{content:"\\f30f"}.ion-md-infinite:before{content:"\\f310"}.ion-md-information:before{content:"\\f312"}.ion-md-information-circle:before{content:"\\f311"}.ion-md-information-circle-outline:before{content:"\\f16f"}.ion-md-jet:before{content:"\\f315"}.ion-md-journal:before{content:"\\f18d"}.ion-md-key:before{content:"\\f316"}.ion-md-keypad:before{content:"\\f317"}.ion-md-laptop:before{content:"\\f318"}.ion-md-leaf:before{content:"\\f319"}.ion-md-link:before{content:"\\f22e"}.ion-md-list:before{content:"\\f31b"}.ion-md-list-box:before{content:"\\f31a"}.ion-md-locate:before{content:"\\f31c"}.ion-md-lock:before{content:"\\f31d"}.ion-md-log-in:before{content:"\\f31e"}.ion-md-log-out:before{content:"\\f31f"}.ion-md-magnet:before{content:"\\f320"}.ion-md-mail:before{content:"\\f322"}.ion-md-mail-open:before{content:"\\f321"}.ion-md-mail-unread:before{content:"\\f172"}.ion-md-male:before{content:"\\f323"}.ion-md-man:before{content:"\\f324"}.ion-md-map:before{content:"\\f325"}.ion-md-medal:before{content:"\\f326"}.ion-md-medical:before{content:"\\f327"}.ion-md-medkit:before{content:"\\f328"}.ion-md-megaphone:before{content:"\\f329"}.ion-md-menu:before{content:"\\f32a"}.ion-md-mic:before{content:"\\f32c"}.ion-md-mic-off:before{content:"\\f32b"}.ion-md-microphone:before{content:"\\f32d"}.ion-md-moon:before{content:"\\f32e"}.ion-md-more:before{content:"\\f1c9"}.ion-md-move:before{content:"\\f331"}.ion-md-musical-note:before{content:"\\f332"}.ion-md-musical-notes:before{content:"\\f333"}.ion-md-navigate:before{content:"\\f334"}.ion-md-notifications:before{content:"\\f338"}.ion-md-notifications-off:before{content:"\\f336"}.ion-md-notifications-outline:before{content:"\\f337"}.ion-md-nuclear:before{content:"\\f339"}.ion-md-nutrition:before{content:"\\f33a"}.ion-md-open:before{content:"\\f33b"}.ion-md-options:before{content:"\\f33c"}.ion-md-outlet:before{content:"\\f33d"}.ion-md-paper:before{content:"\\f33f"}.ion-md-paper-plane:before{content:"\\f33e"}.ion-md-partly-sunny:before{content:"\\f340"}.ion-md-pause:before{content:"\\f341"}.ion-md-paw:before{content:"\\f342"}.ion-md-people:before{content:"\\f343"}.ion-md-person:before{content:"\\f345"}.ion-md-person-add:before{content:"\\f344"}.ion-md-phone-landscape:before{content:"\\f346"}.ion-md-phone-portrait:before{content:"\\f347"}.ion-md-photos:before{content:"\\f348"}.ion-md-pie:before{content:"\\f349"}.ion-md-pin:before{content:"\\f34a"}.ion-md-pint:before{content:"\\f34b"}.ion-md-pizza:before{content:"\\f354"}.ion-md-planet:before{content:"\\f356"}.ion-md-play:before{content:"\\f357"}.ion-md-play-circle:before{content:"\\f174"}.ion-md-podium:before{content:"\\f358"}.ion-md-power:before{content:"\\f359"}.ion-md-pricetag:before{content:"\\f35a"}.ion-md-pricetags:before{content:"\\f35b"}.ion-md-print:before{content:"\\f35c"}.ion-md-pulse:before{content:"\\f35d"}.ion-md-qr-scanner:before{content:"\\f35e"}.ion-md-quote:before{content:"\\f35f"}.ion-md-radio:before{content:"\\f362"}.ion-md-radio-button-off:before{content:"\\f360"}.ion-md-radio-button-on:before{content:"\\f361"}.ion-md-rainy:before{content:"\\f363"}.ion-md-recording:before{content:"\\f364"}.ion-md-redo:before{content:"\\f365"}.ion-md-refresh:before{content:"\\f366"}.ion-md-refresh-circle:before{content:"\\f228"}.ion-md-remove:before{content:"\\f368"}.ion-md-remove-circle:before{content:"\\f367"}.ion-md-remove-circle-outline:before{content:"\\f176"}.ion-md-reorder:before{content:"\\f369"}.ion-md-repeat:before{content:"\\f36a"}.ion-md-resize:before{content:"\\f36b"}.ion-md-restaurant:before{content:"\\f36c"}.ion-md-return-left:before{content:"\\f36d"}.ion-md-return-right:before{content:"\\f36e"}.ion-md-reverse-camera:before{content:"\\f36f"}.ion-md-rewind:before{content:"\\f370"}.ion-md-ribbon:before{content:"\\f371"}.ion-md-rocket:before{content:"\\f179"}.ion-md-rose:before{content:"\\f372"}.ion-md-sad:before{content:"\\f373"}.ion-md-save:before{content:"\\f1a9"}.ion-md-school:before{content:"\\f374"}.ion-md-search:before{content:"\\f375"}.ion-md-send:before{content:"\\f376"}.ion-md-settings:before{content:"\\f377"}.ion-md-share:before{content:"\\f379"}.ion-md-share-alt:before{content:"\\f378"}.ion-md-shirt:before{content:"\\f37a"}.ion-md-shuffle:before{content:"\\f37b"}.ion-md-skip-backward:before{content:"\\f37c"}.ion-md-skip-forward:before{content:"\\f37d"}.ion-md-snow:before{content:"\\f37e"}.ion-md-speedometer:before{content:"\\f37f"}.ion-md-square:before{content:"\\f381"}.ion-md-square-outline:before{content:"\\f380"}.ion-md-star:before{content:"\\f384"}.ion-md-star-half:before{content:"\\f382"}.ion-md-star-outline:before{content:"\\f383"}.ion-md-stats:before{content:"\\f385"}.ion-md-stopwatch:before{content:"\\f386"}.ion-md-subway:before{content:"\\f387"}.ion-md-sunny:before{content:"\\f388"}.ion-md-swap:before{content:"\\f389"}.ion-md-switch:before{content:"\\f38a"}.ion-md-sync:before{content:"\\f38b"}.ion-md-tablet-landscape:before{content:"\\f38c"}.ion-md-tablet-portrait:before{content:"\\f38d"}.ion-md-tennisball:before{content:"\\f38e"}.ion-md-text:before{content:"\\f38f"}.ion-md-thermometer:before{content:"\\f390"}.ion-md-thumbs-down:before{content:"\\f391"}.ion-md-thumbs-up:before{content:"\\f392"}.ion-md-thunderstorm:before{content:"\\f393"}.ion-md-time:before{content:"\\f394"}.ion-md-timer:before{content:"\\f395"}.ion-md-today:before{content:"\\f17d"}.ion-md-train:before{content:"\\f396"}.ion-md-transgender:before{content:"\\f397"}.ion-md-trash:before{content:"\\f398"}.ion-md-trending-down:before{content:"\\f399"}.ion-md-trending-up:before{content:"\\f39a"}.ion-md-trophy:before{content:"\\f39b"}.ion-md-tv:before{content:"\\f17f"}.ion-md-umbrella:before{content:"\\f39c"}.ion-md-undo:before{content:"\\f39d"}.ion-md-unlock:before{content:"\\f39e"}.ion-md-videocam:before{content:"\\f39f"}.ion-md-volume-high:before{content:"\\f123"}.ion-md-volume-low:before{content:"\\f131"}.ion-md-volume-mute:before{content:"\\f3a1"}.ion-md-volume-off:before{content:"\\f3a2"}.ion-md-walk:before{content:"\\f3a4"}.ion-md-wallet:before{content:"\\f18f"}.ion-md-warning:before{content:"\\f3a5"}.ion-md-watch:before{content:"\\f3a6"}.ion-md-water:before{content:"\\f3a7"}.ion-md-wifi:before{content:"\\f3a8"}.ion-md-wine:before{content:"\\f3a9"}.ion-md-woman:before{content:"\\f3aa"}',""]),e.exports=t},645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var c=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([c]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},342:function(e,t,n){var r=n(846);"string"==typeof r&&(r=[[e.id,r,""]]);n(723)(r,{hmr:!0,transform:void 0,insertInto:void 0}),r.locals&&(e.exports=r.locals)},723:function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),c=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=c.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),s=null,u=0,f=[],d=n(947);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(v(r.parts[a],t))}else{var c=[];for(a=0;a<r.parts.length;a++)c.push(v(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:c}}}}function m(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],c={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}function h(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertAt.before,n);n.insertBefore(t,o)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=f.indexOf(e);t>=0&&f.splice(t,1)}function b(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=n.nc;r&&(e.attrs.nonce=r)}return y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function v(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=s||(s=b(t)),r=E.bind(null,n,a,!1),o=E.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}(t),r=O.bind(null,n,t),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=S.bind(null,n),o=function(){g(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=m(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(c=i[a.id]).refs--,r.push(c)}for(e&&p(m(e,t),t),o=0;o<r.length;o++){var c;if(0===(c=r[o]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete i[c.id]}}}};var w,x=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function E(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function S(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function O(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(a),c&&URL.revokeObjectURL(c)}},947:function(e){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},748:function(e,t,n){e.exports=n.p+"03f9f978feb2b015b6812ba10f689967.png"},955:function(e,t,n){e.exports=n.p+"14aa35d4e84aebef77cf00b421fc393a.gif"},136:function(e,t,n){e.exports=n.p+"2ba2db4ff86a2663686a100e75b50ba9.png"},216:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAEYCAYAAACHjumMAAAACXBIWXMAACxKAAAsSgF3enRNAAAK90lEQVR4nO3d/3EbRR/A4d13+N90gDvAVIA6wFRAqIBQAUkFmApwKoipIKYCnApep4O4gn1nX68nJqeTTqCvdNp7nplMZiRPnFiXj/bH6S6XUhJAhP/4qQJRBAYIIzBAGIEBwggMEEZggDACA4QRGCCMwABhBAYIIzBAGIEBwnyxpB9tzvkipXSZUlqllM5TSl8Nvgj+vfcppfuU0m39VUq5W+rPtPtPU+ecv0wpvUwpvRAUjuRDSulVSummlPJxSS9C14HJOdfRypWwMBMP9Y2ulHKzlBek2zWYnHMNy1txYUbO6jGZc75uI+vudTmCqS9gSumHwRMwH3WdZtX7lKm7EUzO+ZW4cAK+Tild9/5CdTWCyTnX3aF3gyf+7kN7YesK/93SFt2IlXM+bzuUdf3vcsIU/edSytXg0U70Fpi79s6wTl1ge1lK6f5dg/nIOb9oGw1nI3+pelxelFLuB890oJspUnshN8VlJS4cWjvmztuayzpn7TSKLnUzgsk51ynPt4MnPsVlsSc7cXxt1+h25E3woZTS5a5SFyOYNu9dF5fqSlw4trbWNzZSOWvnbHWnlynSavDIo4c2/4WjK6XUEcyfI3+PsWP4pPUemMWdms3sjZ3FezF4pAO9BOZ88MijsRcTjmVsut5lYLpY5M05j/0jvrH+wtyMHa+llDx48MR1HZgeXzBO35KOVxecAsIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBCm68DknC8GD8IR5ZzPl/Tz7yUw7wePPBIY5mY18vcZO4ZPWi+BuRs88mjsxYRjGTsmx47hk9ZLYG4Hjzy6zDl/OXgUjqAdi5cj33nsGD5pvQTmZvDIo7MNLygc2ot2TK4zdgyftC4CU0r5mFL6Y/DEo1eDR+DA2ujl5ch3/aMdw93paRdp7B3gq5zz2AsLh1KPwa9Gvtf14JFO5FJKP/+YnO9HXsSHlNJ5r+8SzFvbmr4bmR59KKV0u3Xd23kwY9Ohs57fJZi965G4pA3HbBe6GsGkzaOY6vtSythUCvYu51wD8svIn/u+lNL1uVo9nsm7ab3l2tm9HErO+XJDXNKWY7UL3QWmjVDGdpTOWmScG0Oo9ka2aVr+Wymly3NfnutuipQ+bQneb5j31tOyVxZ9idDiUuOx+OOvyw87thfuxeCJT76uB4CRDPs2IS51R/PFUt7cuv00dZsqvR488YnIsFcT4lK9LKV0+bmjdbq+XEMppa7gvxk88clTZCz88q/knFcT4vK6lLJpXaY7Xa7BfC7nfNdiMqYOWy+XsOjG/uWc63T89y1/8JtSyqZpe5eWckW71ZbrbdR3nXftQIHJcs5X4jJuESOY9Gln6XbbSKaUYk2GSdpHAP675WsXG5e0pGvytlX71ZY1mU3zZ/jcts8QvV5yXKovBo907Gn7Oudcf/9pzb/0YfAIjLsffSalH5e2oLvOIu8qUEqpp2j/uCYoLuvAZKWUGpjfPvv6ekx9Iy6PFrMGs06bQ9fPi9R1l+t2wMCux9GqTb8/tuPIGeLNogMDxHLjNSCMwABhBAYIIzBAGIEBwggMEEZggDACA4RZ1GeRoj27uXn9/caZwfPTzt5etb/YjbNuYzmTd09GLpf4cynl6qT/YR1p1/u5evYaPbSLby/mEpaHZoq0P6/WXO7h15yz26TMwLMLQz1/jdzxM5gRzJ5suaPk+3Ylee+UB9biXi8A/+3Ydy6l5MGD7IURzP5sWm95urj45eAZwrRp692muNSbzw8eYW8EZn+23cS8DsfftqE6wdp6y18bRpVPXAMokCnSHrV3zJsJB7U7Swaq614ppR+2fAd3kjgAgdmzKXP+xgG+ZxMv7J5a4C+dRhDPFGnP6qiklLLaclfJ9OxWKYboe9CuKnc/IS5v2uhRXA7ACCZQW9S9XrN9/bk/lnS/4n1rkf51wh/rvKQDE5hg7czRmwnvrB/asN1W9kRtSnQ1cb3FCXVHYIoUrA7FSykXW+7HlNrC8K27S07Twn07IS51veVcXI5DYA6k3YBr3a1SnqtTqd/bLggj2tRz2/3GU7ur4oWp5/GYIh3YjlvZdjo+k3Ou5xv9MnhiyI3PZkBgjqCtHdSD/7st3/2hLf7eDJ5ZmB1+ZtayZsQU6QjaVvblxK3st+1de7GefVJ9W1z+TCldiMt8GMEcWTt/42bCVvaf7Z15UesJay6xMOa3dktgZkRgZmCHM1AXNfxvn9v6afDE39Vp5EvrLfNkijQDbcp0seZG6p+rC8N/9X72bw1uzvl2QlyePtMlLjNlBDMzO0wJ3rR37q6mTDvssjn7+QQYwcxMezdetXfnTX5oJ+ZdbPiak7LDJRZe10VycZk/I5iZ2vE0+JPfyt7hEgu27U+IwMzcDh/kO8ldlB0+q+XEwxMkMCdg5I4F65zUVvYOW/RdrjctgTWYE9C2pc9bQDapF7m6b/9xZ62NzN5NiEu9xILF3BMlMCeilwtZtS3omwnTvrre8o3rt5w2U6QTdKoXsmpTveuJ6y2uWdwBI5gT1HZRLiZsZX83l63sFsUpZyu7xEJHBOZEtd2U1YQLWX197AtZtVP+324ZcT20Syy44FZHTJE6sMvZv4f8D7zDHRZcYqFTAtOJuV3IqtetdXZjitSJ9u5/0RZ2N6lTprvIrey2g/XXhLjUU/4t5nZMYDqy44Ws3u37QlZtC/p64hb096WURV9IawlMkTp16AtZ7bgF7ZT/hTCC6VS7Je35hK3sp7N///Fook2JJm1Bu6vishjBLMDEK8OltptTv/ZmSgTa7tWrCQvLyVX+l0lgFmKHrewn79uo5K7d8/nJqo2MLif+We6quGACsyA7rJPsiy3ohbMGsyBtFLGasJW9D7agMYJZqvbZoKuJ6ye7+NA+YHm79J8xRjCLVT8wWUo5b/fL/rCHn8NDG7WciwtPjGD4vzaiudxh8fbJ+2c7T6ZD/I3AMNAWg+tazZft9+c+tp2l+utWVNhEYIAw1mCAMAIDhBEYIIzAAGEEBggjMEAYgQHCCAwQRmCAMAIDhBEYIIzAAGEEBoiRUvofC1mUYG6CPtYAAAAASUVORK5CYII="},586:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAADOCAYAAAFORQ6CAAAACXBIWXMAACxKAAAsSgF3enRNAAAeE0lEQVR4nO1d7VXbzBJec+7/kAoCFYRUEFJBoIJABSEVvKaCmAriVBBTQaCCmAqACoIr8D3rzJrxeEfalfZTmucc3fvG2NJKo9n5nlHr9brToZTS/zPt+vsJnMQZk4n+yXpivq//vVkF+swF//O5oFLqnl7A/JsuqPV8LnfsetLJZPKilHrj8t2DlhNd+NzJer0+1N81j7/TheHHS1/awQI2F59MJlfcd6w09qVXw8VPuHPt0HgymSyVUu/7XnTvIpaLby8c4i7bLq4wF2yYOfJF6QI2ZPDdQEJd/EChxxD5Ylf4OpjGT0qpdzEeuW2b3fLxer0+Qvx3EuiCT9z7Y+PjZ6XUS98XbvsS/dtG9/9OXy58QaDJSm+FPhdULcJDf9YonXwlj89TchKLeOO3bn+vT8aZNM7ymDx+698YfLN9HHUDYQXEZLKwXjjUFtp0Hk4eX/a9KOAtuyjuUYfiY+7vrAbiqsJ0uWjjhdHF71wXMJlMZs5PylUBV0pdgRLPHj4KfVcrYuF7oV4Xhjt9snx24nvhRhoT+m1op8UnfQ+UUke+L2LrzuVjG/mwYJslYe7S1ZIwioRVBu+cu5gNxKw4kCXB0nHnwujROmscDhe3bkBGodcX+hvbksDn/x+s5mdsS8I8+h0TJiXMxf/nw6d9ANc5Nnd+YPg0lhmzUXNeX9on/Ozxvjvtu/nTfZzd8xuEwazPBZtuYO/C1GHW5e5dfqO/Q/XqO/yPNkWe0NLnJb12ZqemvbdBf3ZXb7m3G+7+AvZyfFx4efQmk81TbbQW+4KzFPVnNnl8Heiih7YbaNwyQ9x1J4W+707mIs+DWxL6ZdMe3LbvuVgS+n8WjhfVCz1yIVOrYd5kkBN4yfTo8tj4z1q+9kz19VhwdoF43uTG+6w89AtMyZg6ibPl1Abji4dt48TH/lBwk1gXgmMean0GvSmMKPMtFGUQ/x6i879dr9etBlkbOvFwqtePXHOmlPra95o+Wo9+vb70vWAI9Hngzk6IUK9UaKD1Pei9o+30bFARnSQrNdtgi54rpT6s12stKfZwgL78gnZZs2MGCf+kApIMR+Ze6KWzhBRzYDKZaBXw6QBbPgO7QUrhx014jeEBneRxmn6Z/eCye+9sWszNZxdDTUDrdAorsppWyTdP3kSv9bT55Kdk157g3bzXqj1gVEw4pmg9p/CZM/t5Gw8mZQlufoEWEsSbbjCZTM7Qgz1BNzm1rOmOPZHly71dgvC9UxTqO+vo81ygcxw6fP/CY32bc7p+0Tv5kMQ52cXj74V2CqPvHZrvuZx0GcJVrrUf8AWv4f87vQUd377tg3HOhVSFiSef3J9OMaaSbrrPWpx3aQ8vYlT0ffBeYon6nBLf6AVc8yaJx4NZhPlxNDeryZFWgdipl9cSKQNHE0vcyfd8WNlAtvnh2tMD2rboqIeJALccnQO03qIs2YWUOtNpSEgOH6W6tjlShFlaL5BKzAWLOFCQHfwYW1qIF8+V3SsRBVFulkYgdtI6ENbr9QJu+lilkOuB+XLaVfFf7xoOTyHXFZxniVulsx0MgefPKgIvB3mNCW/2MvjX6/UZVle1DA6xRhVAm/KO9XqeP6i/rDNlYSHvY4Zb4LyfVKDNq0ul4yb5UiU2A0P4w71uNrSC7ou+bOOVAA432svk6gOTHqFeNy8vq8sl3qsjgn9UmS6bDYIlupd4o+p1PZuCJ9fNq61MV+Oy1BjRer2ekdd61vR9W66mNr5/qMIDYRQumyctR64i4scBi0VbTglOV8C5DdXdqPpHIJyS+pcWyewUIYM5Zk3iqAlww7f6tcZv6yjyMkxOxlhudnOTB6lcIilB4sAaHzY3DSE/s4NpVZBtYVHJjVoliikxMjvYSidY1kplk0IB/3xrrUqxKBVB3Csp4aIfTHA3CPLl7bYdOq8iJHDVo0uopHE3Llmj8g2wWSmLQd0iJaQMmlQm9UpNd5u2xY/7tN736QYrVfT0KR+iNczR53fOPmkHp/VeZaIJTiW8UeuDNgkrrufokiA2gc4yH2OLKVOxAv88t+wbH33O16myxPAJ1lJCb2AhN0fjq3KhLOuRh0Vcq9cb753BTpSD40APcbOxOokelwuGoITvOSavzfMa/chbQ6DLomygocc2fxBZzNJHOSBwjwW17GDzPnmHcCzazg/Hsst1fNbjVCcU4rVseeDe5/dp3wfrOHd6jX1eSQySUqA3sgf480/yty5477mWhfMrkEqB8GSV1sxXnXrkk6J7VNrNmh5PHt/fqL1Vpud2XY+r6PnZaVUR0WlTc6GsKoi6qXOQ3asyAsOUwHQWha6UVbuRb7b8M/LN9nq7OnWPhv8838iuRAjBRn1r6ZN4IEPtF50MAbjoTxo4ioGQG2PvWE8sD2SM8/Y28SymnVPzQBtM12F0o5+CPsC+lN07YYDXOpYsD55vTKyZD8jS4fBsKBi0AMKCwcRncSMST+gE8E4mbOmIViYQG6ZFMNrTMGE1d1xjDoFuzecQt8P4TsqKqk8rMaiKcyG3/Bf5OIgux/Q/q7IJhkHxxCXpa1tElVV2Qle3fRdLXJyEiZDcpma0w2OuSKskFCVzcX8QRNgbpFkml4dEEzZ4rCF3LjvnglvtN/k4WW/PLoDRVt/JT5261CVdZw7icnK01DaDTcAFSAjXto5BydeWkriMopLUVRsTpegJBtFlrkmMAflkCHuL5OggCKvUa38xMgHpT6w+Y22IwrmQgvVIPq4muzkkYtrmbQjKuSh/FhPWNLEYHWEV6l+BstoVymyP0h7coDdxTXo7MV+u0bZbvD2YCqabAypS0fiCCB2su4PqEca1bTXFmQI1IKbl4JNXMxjzpVTgTgQIneVz67ZsosmEsDgeKYQNBG0yoW37Bs6K5bNXDpeVuA7mS7ZEsbFAV8ciQpsEgI+I0K3Vs9ttmdl2R2m+lAzGn20VjZhzsbts1OZLyUDcfIyWaXV1jmYWx9BBXJ+bJIMDNLdL7NFKgFImsemJfdpaNs8OUCncu755moJ4IINAjJK7dXpYMim/0o5S29lpBFVkHgwNjPKkrRbWk4V/s2MKEfX7HP3pEXF1tQljpYOMzMGExdkoYYqOUQHgCdOM3XvYihz2AlHLcdWjitWtyJqiwQ3ZuF0IXsGkFqkQiQtB298x2QdF50DlABNsUaEzNViZ2wVk6Mc9nEI07303LiYsHtQQLwWnR+E+HoyyJx9MZwLLkXyOSMqj4b73hrmhOWf6OA2xTnzNUJkYe25Konlfoj8NTvMmCQvGlFyRESq2HQw7IYKbmkmS0tfr9ZxJ7v6NCJ09FdQHpLDW9DJ7RsR08ctvdZUYfoQ+xMVhP2cOJDFLnCX4HyJ0kRmRjJfoHhE0qxJJdsL7UGPpwhT4F6Z5N5h9uoVU74aeEZ7fHdpFPgUT3qGVFjOglRwvsZWjBqdCUIcNGfvbyWHRRo9gJ4Phy7EeOKeBXgQ6/xVz/iAarAshSiQuHlwdnavWaHB1y6Fzgc8wcWCtU2ZHwEd0Uw3WZq4ZZCQdeUE33YGL7WPjcf1DIObnDj9/hhcgacQrxjOznbNTh2GCDyYds0+zz64A+7EanzZJbHsOdE6r2RXC/bjEi+za3HRE2Nb1BrQCsOm49SPEmBaqIK9Z0l8JyDOKXroaumO2wW8J6u+C5KjdpihdDep+tBC4KpdiLJCi81WquHes+tydk9Y6+C4EiNctaZJ/lMABjQSVMn8nNUhZ623qJP/oSemWDL5sPSJSwdKHMkv2aLKKAwuRqx8FSGEpwcxaa5W8nKS0ji8hYOsYW4KekbyDHOr4goP2uONLtB4RIaHXaekY+7zez/zPt8bUnGtdBB83Ncjaqwq689xZemhtUKo1UETvRzOplmRoYL/rL9ITGR+zvg4T/XvIVHyxXQO682DCJul03hc19luecRwUGCsI0FfrKx9cfS5sodqmPiVDOO8hw3A+Fr/3IIgL2/LCooW34QGmww2ygrHaGQfqH1EvQCb+7kBYBd1WH4fqQauSuKbUUSn1g/mKHu1ElZ5PMNSCC5D/GFyJaoq8p8D5R1Mm98k7O5HMrcWH9wzbEo/atGWbd6t342rYkm27QNXd8aogbui2eQ3XubOMua/WB168zIXSEkrYmxgOeZgh9IF8/LXWMtSiOdenW1qEa9tEQFW5YUVyrvZEWQhrnPJJuAh2hmvy8e+axsEVx7nMtI9LXQaaaT3VtiIuhrg5xrr5gHnpih4BV8S2DFmSlLD3JUVcoAv8Ofn4e8nKVgkTwapTXBhFr7hskmycq6M3JDtwgxqadaPp9Rh/SusIkIW4UE9E5w79rCm/GSrrj8nHn0sa3lhKglzVjUNLHWOXjHNNX2dCWNPOp+p4KlTrXZKPf+XuYZ2EuOCzpS7E6yG12TftmMjHppNelvvMUXGghj6LqJQARDTiMo0sR9PwM1UkqwlRtmXw5lDCXo6pk6tppoZm9ik0ACpJtkdQzpWRcHaAB+4/8sfosw9Dtk2oYo57LuR48YNsy6DyU8J+EsK+wlRVoNFtBn9jdSDo2/ux6EhOqWDa4AdXtjpzLhPJuRXCtkP7zi3PyShbwXa7rsORB1djmwvMLKcgw0C8iAt1ONThL5M6e4J5rr3Fm/O2DEXRdAFRshDHBu1bB0LuVEP0LXNx4twhRnJKBZMg38mz10jcElxoYwXjk/diKHZbZpLBBxXJKRmwTd+SJT76NE61cu4YIzmlgtk9nZStHc6F3hBZk8EFu2ACEMolAHGAvry0eE1GFckpGV0qILbbsoVjZRsuEDaXL7dF2xSqB9mGy0VDAGIPg+tmM2ZoGYxzvoW4AwDVqM02LcQdACwexI2j6QBNk5SZBBXAmKskJ5pGkDaEnkAHFwNxLRYMWtlAtWQ6OIpqyyZgLIMnCgLqNNDW83KrQWsOP2B8mP/lzJQXvALkKU0T5mqXcW3S6YZzIer/1vLlv6UOKh46oEXwXokrOJc4/QjL4dPttoyMY+ri+hw6t0fAA7U+pHnONw7OpZ1wIGsKlTaFegxg8qmUqyuY2LsrNp4LWvMn8vG7oXY4zQnErZSw1z6uYJKg+MY1zcZWtSZmUwCEfrbYHHJKkAMBTlsEGLNJRqp2ACpGp4Q9D8U03u7HBrkgCXOOYHpaBdFnMOd29i0zCtd9g5o+ejBlJCpkaybvbdkG2DpoH4iP4qe2A5iBEvYhZmumIFEhppuLKFx8aauKIcZI5QJvCvkAZAXtUzx6PzVwKyXsbcQOPlhmL/tU+Z0B8TbhJpSlN3o/dYvr8Ix+L5r3r8cgie3AB8vfDpnBEIshDIZoeCbcfc98n2HH61+hc85jTb4enZ8aAizWQvSELYrw7vgUtcmYnhpiS6iGJpiDsIlRg9LP5E/fMhSiY6Z5SdJBrsVP3bvIOBfAGWGrV55karKNOXcZRea2/O7OIpNeKpOtp4xsPe14jqdA69qhSY7J11X7qQM6I3bkY6Dl7SBLv2VUSX5D/vS1VLNJOyMY8+ZDx5ZM+Ddxmoen3pbbzoWOu4K24eBmHRFPztt50duyDcDFxfmpYWQ6V6vcVxHchvqitf0v6c2D8z7lVrh8nREhuKw0zsUpHcG4K7efGjIjqDNildgZ4Q2yw23yl/sQdydHNuRCc/ipUVcBmhlxWUl0C9Pg3zZf2tbisUUGsQ3hGi8xz2+5HvYBB1EcbWKyeOKia3ETr/Vx0eF8JwxR9XES+V6wXnEW6Jx7tOjbtXX741R+VCa9B+MBRMad0UIhUKF3AJ2S+6Xht0nShGI8N9s5+xIXJ3olG1oIMnfpUBjliqTJ9qmI29fOnTL/HRUQUjxC9jGNOrnClGikJCy2j7uum57T7iGLsdfnPEBr1DsIVjBe4N/T2PLUU95eBTrnzGaL906QIx4cyV1uQewtGfe9DuF+xM5/KfdsQIqACK4X6k1c4rWhWfSCXeCXn45oDY7ggQOpAGwEDhaEfE5m99xx24ZKSt9pAC1DLPZBS0lSPKNQSelz/G8pJ7ECZ2/QJIUoCDkRbI69P8K9u8jhzQsmc6kMEdn7CpLG+9z2/VAIrVDhJHQ6hGHMwG7SZAn5wXs/EoN69IMaSQVk9fNzcdrq+zErV+C0wFybtBNQlK6ttC3AWJUrsoslb/MUqxBsZytmMggHDZpgn6N/V8zU1p12gxBkHwVgO8ZNYb7luO+ozbQtM3FG0UqB7FTZ7jl2CeeSJJu/GToHUxGU82WOXnEArkkcAXkzVBlseXFtnXCTIVV97gUtFxlaSyNL4t557vE9SQdYMHPpqnZ0MHP7L2kwJQeSFoKBDKZb1ftauRh6TBVJWJVz9AzT/1DVkIfFcKsqbW5/thJO2IppwZeCGbFFcjI0N3lp6FpTDGFVTuKq3YIvW/D6NxA5+xaHmoY9Wqodrot1r5aQa4zyb+cN9UBrSDA7SrCOQ5ILbDuKqfxn76PIRTUXfeHjDirmDnsS8oLpsmM75qUT1RxFz/IDxeWugJTZFZRFFiVT21BETwwOUBN0AjLtbYpcX4Rb0Nw1AxzWRlhV+xROyNO6sFTD++IeutMMal6DjFgtFFANeAaFbcFKVUHM3YFCKHVdlUIYtwCAdJkGZNAuuAVDQGr5KoAwbgaAY3VWeE2kls7TUkIggl0I4yYCMOvcU6reorY8vdRa8AYZ1fuspR2QDTfAyKPJciwZwrgRAQOcFo6SNYuEA4a+AkeQ66aSrCWVwA5h3MAARpi1NKkzuIeuhkU5iaAx7pWDVF5BZ8M4raIFLIRxA6FhFCPFAzBrFfGlod5X7RDG7QGwWxeOkumiZo+tpyZxC/cr9nAkFJ2BUSIgrXUJWZC/W5j2GmVwVB1mgWyYC8iGOTbzExjoeYZ/xz43OSZE4joApM2U1FFzGJW08fCWV691lARh3AZAYsTMQRUW++7VHp46PK9ncGqJPdwRwrgEUDi8EAnSD9DCx0VDuQcmFnvYA2Ljgiqs5/aB3fqnhWkHY7fGhO6aj6pD7hsu9RHZwxIbdsSoJa6HVBAvaQB4ajNTSfLgMTrGhaqbuditeeFBh2eggyR5IIxCVdY7PQrh/Gp4WVbQW2gChcDCtJGgzQwwNyakpT7FO9QQZQlppKPHYCUuhHDmEFNsw03J8+fHAk+a/YTBlqM0XwbHuB4peuLNLBhgD88dCzS0w3BUiR6DYFzP1ENJiq8MY0otdUW1Ni6kHt45ph5+QyEcYdrKoGmG7OGmyR/6HfiF7OHBTierTuJ6hHBGbQMNHWMveqiCcSX1UNAE8DTPHTtCDsIeLpZxPZwTknoo2MKz6OGq1p5aRTGuhHAEIeGhqVVX9FAE40oIRxAbQyt6yDn4y9XFLyVggmAArW7haA8X29kyaTioYwjnSJhWEArQyeMUQksfWjp5fIXKpRfQCotBEokrIRxB6fAoeigiiSca40oIR1AroE/Wfw7LfwAmTt5eNyjjSghHMCR4RjmSJnn0tnGhe8QCdY9oYtob6R4hqAVgD5+V2Nmys8SVEI5grCih6MGLcT1DONK1QDB45Jr00Koqk0ZqPiEcYVrB4KH7YqGmeDcN96tNyD+gSi/Afu4MVuJKIzWBoBs8ix46pe7uMa7eDRy8aBLCEQgc4NHZ8l4nhrg+UxvjvjDqcNXVFAJBbrTlNoDK7QSrqgzu7Av453xs/XwEgtgAHtPZWoddeExGkAgEBQFU6xmxj/f8SMK4AkEhcPAvXRpTdRsO0jFaiNMKBIIIcOCxthDRDyiGUAckRms6xgeJNQkEYwbkQMwMTxEe28tzAK/yMUx2uGUe3SZ0pL1YnBcZ4x507ORVEAJBTfAoTFjpnP2mLwCz23B8AD/+BuEeDtpQfkT9akWlFggApEHE3xamXUGGoYs2y40nPd3YuJC2ZRpOn0OuMYf3SNw/GZ1bIBgTCLM+tmRJ4WFyhx7jQ7m04aO9XGWYonbk2NrjHeocX1x7D4EgJMjURxdmPUfM2iVxiWPc08YiA53SCOMmTT1i02RxbSd/R86tqTi3BLUDPMFPjvXmWlP9lKLmvFMc13P8g5JeUoKaAObfzCG/WMXO2+ccVL0TMICJrxx79CjxUAtKhEePNAXv8FWKIptojGu5kGbiqeMDeIAHILW7guTwfFezCJxkjEsu6qNyPAMTSy8qQTR4dHBUJdSac4wbtSE68VB/Eg+1IDUs2UttTKu7WLwFB1OxvdKyFBl4dghQkAI2E+eWwAUdnKfFvl9ZVGUXiIdaEAIgDGaOPZBXwKjF15kXy7gY4qEW+MBTc1vBAC/XrKXsgNTi35Z13Ccd+tUGaEA9BftiIjnUAoqe2UvVMG0bkjMu5HiuyfECu+cOJIdaoCJlL+m4reU9rEZzyyFxLyyfvWE+30I81OOC3niBdqaOtSmkqN+FD549vW3v27vCtDZuLXdFqcqu0ITpk0Nd1t0IDPQGi5j1V0tixD1i1pOxtQquknExtGMKDSp+C17nJvyHmHguhRB5AcUohlm/OzDrMTDraU9mtdrGhWXxDUvicgDn1gVi4uuWn3xBE9bubHa2ICwgIWJKEiKamPUWJUScjiyCwL6Pg2JcjAAe6pP0qx4mcPYSdIjImr3UYMc2mVw5YLXrtVaQg3E5IkRlFIuHuomJ8YAm8VB3AEQPFohZ2+ZQXZtNVs/SiZxgwzFuMXZy2+aSg3G5h5PM1gQP9aF4qMPC0s7FpfeSYdaUTsPiGbdhjRtToSTGdc1bDgrxUPcDxFhrS4jg1liSY4qzb/MwbpMKlNuutHioud62BqP0UEOM9QnFWIto5+KCBhX0uTDHF8cLm80ll3OKk2rFOITAuXUmHup/sMRYQydEpALHuMXUgYMAsG6G5lnmYlyOkEU6gcbqoSZhG58Ya8kJEVyGXkkNHDg+eBV4ujoo9QGSdW07cqynzwEP+YW7H3I8QTVTqfdiSixd7mUNL/thRbQ6Ze7jpbB1Lph1Trffybi4JbO4s1peBObF4O6LY2Tt4DrKtF5TRvnkseZZTcxK7nfexhCFrJN79ifb72Rc3BWzuLsaXwrL/R2BSeDKEDvPABj6NOB6ToHpfJh0DdpEUS92x/s/bLjHLBtnA51sa1zufC/zIlt3liEc8NJMPVTq3MdTzZoP865xJsCisHU6aQVZO2DoNDgmo+ZWe3QzLCkZICxx4dGyJya002PecUxG8QAv7V9mnR9KcqQ1TOjbWWduxq3mgaYCMLQ5Thx7/rpgBfb3AsyR0TzbWgQENGX/YfnTPczOff1uTsZVzX1uH3RYIcOSBAMCxNMfmTsqTdoumfjtJdWGimgWBy1DbAH9b0PqEyRIjwZm+KlLQEshSUNjOOsA7FLK+jh15buU1wm6AlRPG9OuSmJaAJf3bv28CMYFdeWG+bPMFRJ4A1Rkm72o2vqbZYLtPX/mNM7S+irfMZUbYu8KvNBgfhWlIndFUYyr/j3wF8aTuudZEwiYd2jOhNm0BBtE8UeJrWuOmAT+jyCRBQIWEKXgYuOD2fiLY1yo1+XUYmFeAQtwRnH9rM6H1GiuOFXZAJIznhi1+RnSImXwl2CDhuQFZYuD1o5iuzwCU3Jq8zsoWheHlaCNaa+HmMpZdHtWKGA/bOiY8Uf6Po0bQP8mph3k+1GsqkzRkBqpQCofieo8Luj2rw2dJAenHmNUw7jqtZncXUPi/SBidIJmgP9j2dD36lNhfa6Co6pJBjrDClRnbj7QF+iRJA3MBwqg7V+GaVfQ92rwkYeqJC4GpLQtG6TvCjpIjK40cKhoKBhQY0vQqXZ2EPRA1tL3kvnKG3BevYj3uW6YIdQNTHs+tqy6aiUuBYwG+d7ytUE7LIYGB5/GaHPYB8O4Bo4MfA89lcQLXSAcGHb0ZtDgxmzCVL5JgwqtoALpr8z/KQswLUFLkj8NTKu1psOx+y4GJ3EpwIm1aJlvYzDYgH2pAOk6d6CPmDkIg2dcDEiNmzk2YNPq9NXYd/YYAGadOUxoXIFJI4UlBKNiXIyWTCwbfkJv28FUmKQCJExcweG6aYoPogGjZVwMcGhNPVuhPoPUmMsLtouOPaMfYK6SaDgOEMYlAJu4qRi7CSuwpxe558CmADyrM2BSFx8CxT0wq2gxnhDGbUFPRsZ4hhDHspaG5HDvJ6hBexfmxLgHc0Ns1p4Qxu0AyJe9aKhM6QtTxriEeUMv8N8GTy5SChgP91g6gTlGCrVxaXMQdYUxJRYiUcNDGDcQkNp4FpEZSsQzMg9EkiaCMG4CEJXzpDLGfgBpX42KPwYI4xYGpN5iNReruMqT8XH3EKxyP8HxIsxYGZRS/wdMy556YAU3jwAAAABJRU5ErkJggg=="},709:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAxlJREFUeJztmt+K00AYxb8JfRm3975A+gp7q8/imwje+W9XhEXXTDIWVPyzqBeuIArKIiyiwq6IStI53uzUdjpNZupOJ0nndzchLSeHc75O0hBFIpFNhrmcnKbpFmPsjS8x5wGAIef80Pb8xPHLt90lrRdXjU4GMMZab4CrRusKdCH+CpcaDBy+dJuxf35JKa/leX5pBX3nTpqmVxljl9X6rAZXbD5rXQE9WkmS3LJW6Bkp5fXZtUsNrAw4i/9QrQH8qKrqvr1Ev5yenj4gou9qzRgbpmm6ZfNZKwP0ycoY2xNC/HZS6ZGDg4MSwO7sMdtfAysD9EhJKVsTf8WqNWg0wBD/X4PBYM9dol8AcABf1dq2Bo0GGKJ0b39//+cKGr0ihKgA7Mwes6lBowGGKN121LY2VqlBrQF6/InoD2Ps7or6vCOEKIjoi1rb1KDWAEOEeJZlJ6tL9M6EtIQ21aDWAEOEWjf9dQA41WCpAYbpXwG48/8S/cI5fwjgWK2barDUAEN0BOf82zlo9I1kjN2cPVBXg6UG6NEB0Pr4K1xqYDTAMP0nUspd07lthHP+CMBnta6rgdEAPTIAHgshjk3nthRJRFY1MBrQxemvY1uDBQMM0x9lWbZ297eMPM+fENGRWi+rwYIBhlvfZ+Px+Eg/rwMAwA3twEIKFgzoQ/wVNvcGcwaY4i+l7Fz8FUVRPAXwUa1NNZgzwBD/V3mef/Ar0zu1NZgzoAtPflyZTCa1NZgaYNj8UJIknY2/QgjxAsA0xXoNpgYYNj+HWZa9XY9Mv9T9GkwN6NP016mqamkNEiJz/PvQf8V4PH4J4J1az9YgITJuEN4XRfF6jRq9o2+N1TUnRP2Ov6Isy7k5oK6Zmf71BXCRc/58nQLXwWg0OiSiC2oNYJgYpv+nPl78GQs1SAxPfnaop5hukdloNEIoQW3A6RWZPhINCC0gNAvvCGVZ5vTuYNfQZ97GJyAaEFpAaBrfE9Q7o88I131E22bMxicgGhBaQGgaZ0BTZ9vWaVc2PgHRgNACQhOfB4QWEJpoQGgBkUgkEpK/ZR2WO/ZGnnYAAAAASUVORK5CYII="},548:function(e){e.exports="data:image/gif;base64,R0lGODlhIAAgAKUAAARKzHym5MTW9ER63KS+7OTu/GSS5JSy7LzO9Bxi1Nzm9PT6/FSG3KzG7HSe5DRu1Iyq5Mze9PT2/HSa5Jy67ISm5FSC3KzC7Ozu/Gya5Jy27MTS9Cxm1OTq/Pz6/FyO3LTG7Dx23NTe9Bxe1Mza9EyC3KTC7GyW5JS27LzS9CRm1Nzq/FyK3Hyi5DRy1Iyu7ISq5Ozy/Pz+/LTK9NTi9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCQA1ACwAAAAAIAAgAAAG/sCacEgkFgCjonJJ7GQkTWRRtmAuGaOAUWokxaxF0SihGHa4wkWEBAUTHSPW8JgcKkhlNxGjGqWEZ3U1EiQkVXpEKCMhHjV0QzQkHW4HM1MuIxqOXDECETJEMgUYkA8PBjRECCMqMYE1MmtfQzEiJBGNsA0DphWzNVgBjx0kqWl3AjS/QhIvLg8hBKA0LcsdAlUeK4VeVk6mJRtMVTHcK7lgAgzQbUqExYeIMgQNYB3LiPlgJfz9/XJgZHAbWCiCv4MArXjwJIAEw4L6IlqRgeCPN3xuRLQwcKJdkQWFaHhkUuCAAQMtRMgYOahGuULnmEi4cPIEAlACKpAgQmMGjCkZ2woVADVERooJJwm0iQEjgAIJGgjUUNBAANEFd0iI+NXh5ItJQ2a0kCoBhVSKM1YQiREJ15ALO40EqEBqQVQhBWbMQIcXYxEKLRAwMztEwAwREkUEgHCorFRmellOfNEi7qC7Q0RU1bchAAqigwgPWYBgRoF8MyrkSYPZzgywiPA5nhJPIrPWeoIAACH5BAkJADQALAAAAAAgACAAhQRKzHym5MTW9Dx23OTu/KS+7FyO3CRi1Nzm9JSy7PT6/LzO9BRW1EyC3Gya5Iyq5Mze9KzG7PT2/OTq/AxSzISm5Ex+3Ozu/GyW5DRu1Nzq/Jy67Pz6/Bxe1FSC3HSa5NTe9LTG7AROzMza9ER63KzC7GSS5Nzm/Jy27MTS9BRa1Iyu7ISq5Ozy/DRy1Pz+/FSG3HSe5NTi9LTK9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCQSOpmicmmsSIyqJFExYS4xmZURWVxRNtaizOWqCidRI0U0CxcrGcfwKBWaACR3sTXICIR0QyMiIgh6RQUZMC80aHUDAHJhG39EHA0ZBTSBNAUiKi1ELwShQggWDTEnRAIZAy2BEh0iCUQSICMQHEIvMwaoCaU0WCsEaQEiGYw0CggCIyDCQhIbHg0wEbsnK9IfIgs0LycjuQRWBBWoJiNMhgQQ5Bq7biMYFjBPSwrkMgqHvDPaWJkg7Z9BJiYSKlT4wc0LchAjQlhIsWEYDgIgPMv4LNfBj0tePAtD8CCCBAFY+FsigV++MC0KBAiQ4ASHl0N2vYs3T4mMghkVAlQQsAvEBhlEJowI9UIpOQLLeI14MDNEPgUbUEz4CY7ACKRCmpGLNmcmigtEFqBowzUcLnNDWsjI1XMBiD0JNoRqS6MF3SKk3MxIUIkvjbkaPp4sMM/wvhErD70ocHSIghDghmgYYejfiAQRohqmwQFeQSsCNsCdNiPznKUGcTJr7RPkFMwGgwAAIfkECQkAOAAsAAAAACAAIACFBErMfKbkxNb0RHrcpL7s5O78ZJLkHF7U3Ob0lLLsvM70VIbc9Pr8LGrUdJ7kzN70rMbsLGbUFFbUjKrkVILc9Pb8dJrkJGbU5Or8nLrsTILc7O78bJrkJGLU3Or8nLbsxNL0XI7c/Pr81N70tMbsBE7MhKbkzNr0TH7crMLsbJbkHGLU3Ob8lLbsvNL0XIrcNG7UfKLkFFrUjK7s7PL8/P781OL0tMr0////AAAAAAAAAAAAAAAAAAAAAAAAAAAABv5AnHBIJNJgg6JySSwkKkZksVZgLmOaDHHT0BRbHYK1iNBQMMNjMn05KMbFhCYw3EiHjsMLXqQtNCdCakM2BwcIfEUQKCoiOAV3OAsydGMQgUQ1BhokOIM4NzINUEMMMy1DGAYGEx5EJygvNIMMMAdiQzcXABI0QjUgHKsEvkIBWZBJCTIDNUI2AwAAFzdFDCkqBioKzh4fpEIxBwKeHCUlEjMMTE6rMQ9MGDUtMgAlBlVwNjHa4EUnJQAMgJcIRw0F5Kw4gFCwIZ8AMSBKjDgBTo0TGDNmfBDARAyPIGPMgCNCwAMBJ0yiPEHQocspI2yMwVCsIAYCLTI4WlLBpKcNf0xo3GjxIUWBGuuKOKKR0cNOJSUzfMhgwxmLG2hSnfBVA0PGo5lsSG0hICmDGzc2MDgx4tEJmUIYIMA4oiYNojdq4hhxg5wIlgZHnMgnpMIDlk9PIDJygwSUtQSZPngqpIDeJQJuwF3b9tmJrA0LoHWGoyRcHGtPJE108IYrIX9b4vB6mg8CCCCIQM6E8bIVG3l1sy1S4MGGhkBNK1n9EvWDzomCAAAh+QQJCQAxACwAAAAAIAAgAIUESsx8puTE1vREetzk7vykvuxkkuTc5vQkZtSUsuz0+vy0yvTM3vRUhtx0nuQ0ctSMruz09vy0xuzk6vycuuwUWtSEpuTs7vysxuxsmuTc6vw0btSctuz8+vy80vTU3vRcjtzM2vRMgtyswuxsluTc5vwsatSUtuy8zvRcitx8ouQ8dtwcXtSEquTs8vz8/vzU4vT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCYcEgkukSgonJppESMyGLnwlxCDCNoklhYYarFiYFEGB5TxtVGAC4WDAmzCD1sbUjtoitj+AjPQyUbDyV5RSgGKi8xgEIGGxBtKH5EHSoGKIxzQigbA09DLycFQwQqARRlQx9jEYAdIhtfQygPLAguQi8hECoWGKAxVyOAFCYpizElDSwVK5lECigWAS0CHTEEI8HCGyGMKs0IFMlKLgWnCTBMBC8FJhUsDrltJQkqLQpMH/EN64YxXgj4VqXFAoAI83A4sbAhQ1JgCACYSJFiBYYYHUKscqGixwoJQy55UUIDmAn0AF7wsGBBuSIRQoSAwY1JBAEtUVx4oU8KjSOZITRgG/mh5YIDiwiESBljwtKATmW2K6IBBYYFDIZ2YLC0QwgG2WYOUXBA5oeULloK4KYhxIEYCr4G/BBClZAIXLMOgWH3rkx9XsH+1EuEANMlMEJMEBJXsLKgIV18HRqXEty/CF/QTdmYiNN/hpSCvmwZLtfDVSasrSRgdFjUVYaODVGasUjWrsEEAQAh+QQJCQA2ACwAAAAAIAAgAIUESsx8puTE1vQ8dtykvuzk7vxkkuQkZtTc5vS8zvSUsuz0+vwMVsxUgtysxuzM3vRsmuSMruz09vw0btTk6vycuuwcXtSEpuRMgtyswuzs7vzc6vzE0vSctuz8+vwUVtRcity0xuzU3vR0muQETszM2vREetykwuxsluQsatTc5vy80vSUtuxUhtw0ctSEquTs8vz8/vwUWtS0yvTU4vR0nuT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/kCbcEgkwgy1onJpdCyIEmTRA2MuCYGEUUp0tLRWYuES0AyPyXMLUwoXHRfCmStUYC7uouQVUAnRQwgYDRR5RQIBCjE2gEI1GB1uJX5EHgoBAjZRI0IcGCASRDEEGWcsHQ5VQzQXLxKAHgYYM0QCGBMDoUI0BKcrT0JYM5s2BBgoizYbKBMTLZmVAhUdFSKLGsNEFRgimhHNAwQeTDAzHSwnG0waMRkDzS+qYRQn1MBKNM0GCIZCMSI0wihY0a9gnhkIEyp0A8OCDIcQH6aY4YCixYpgrBSIyDGFwY9LYhSQt6RGqYIwRJR4MG5JCRIABrRxswBBiRIiYMRoSWRBlYwOMgCQMFCASQwKN0sUtVGgBEmkVSRAgMkgwj0hGm4KoJAsxk0JC3AyLRFwFwYAAA44GCKhhAAEV1WU4Bf2gY1/SonMSAGAgbyRRcKWeOJh5Z+VPO9GYOGGRolCNuoOkavOIAzEQsJ2y3zzqhu88iQPQVrWUNPSkcUOWfDAaT8KAnQJ8SAA9ViSbhKn3twTZDTbYYIAACH5BAkJADcALAAAAAAgACAAhQRKzHym5MTW9ER63KS+7OTu/GSS5Bxi1Nzm9JSy7LzO9FSG3PT6/DRu1BRW1Mze9KzG7Hyi5Iyu7FSC3PT2/HSa5Cxq1OTq/Jy67AxSzISm5EyC3Ozu/Gya5CRi1Nzq/Jy27MTS9FyO3Pz6/NTe9LTG7AROzMza9ER+3KzC7GyW5Nzm/JS27LzS9FyK3Dx23Bxe1ISq5Ozy/CRm1Pz+/NTi9LTK9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJtwSCRSApKicmlsjYyRJJEmYy5tLIERWVSotFaiDISpCo9SoaxjIIWLLZBtSIkSCYbEu8jAgC5nXEIXBioFe0UkLCk0N2hDEgYpbzWHUwQgbjKCJwYVFFMQc2o2NgKgQx8sGAyPIxUGLUSdGwuoNxelNg9PQjYgp3Y2BjGNuAEbGyonRTQ1ugiNMgK9QngIjiwTGy4p1UUUAqUtHEwyNDYuyQlmYQUtpd9ECMkVH4hCNAiAVhhg+ADDnBhIkOCDNzIaKFy4cMAJAQ8EPIx4wk2YhBYaZNzYAEXAj0toFGi3RAOEgDJInODF5AEMGBsshmGAYCCJc/JurKBBwIKWAxgVSE65QNBSgRMkK5hQcENGjAMOZrCQx2GggAvGaAykwKDijRgALBhDIAKGgxdMzzxEwIDIihPYuh5k4AGAniEtXsCY0W4kn4FtR6wUAsGEA5I0MGCgdIKf3CEDAKj4KGNlr64yH5gwUQMgDZXtHg9RAcAjvqOdh2AmUsABgJOILpwiMkJAakgZWACUt3ooSNq2AQYBACH5BAkJADQALAAAAAAgACAAhQRKzHym5MTW9ER63KS+7OTu/GSS5JSy7Nzm9LzO9CRi1PT6/FSG3KzG7Iyq5Mze9Hyi5DRu1PT2/HSa5Jy67OTq/ISm5FSC3KzC7Ozu/Gya5Jy27Nzq/MTS9Pz6/FyO3LTG7NTe9Dx23Bxe1Mza9EyC3KTC7GyW5JS27Nzm/LzS9Cxm1FyK3Iyu7DRy1ISq5Ozy/Pz+/LTK9NTi9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCRKNoSicml8eIgLVJIYkzCXAtnMiCwKLKRrUSKTWYUSKRH2CqTExYdMMFx0hw3LFD70lAtoakIFFhAwfEUIMioxNEd7FBAJcBWHVCoyCI6CIQEOC1QJKkMSJCQzZ0IZZR52SQstAWFDDxAGJ6kwpiQcT0JZqGodASiNNAUHBgYQIUUxFbsFjRIhoEMyFpoSGMonCcZKCwimIZZKMDEqE8oEqVcwMwIP4EUVyi0ViEMwGWIYs/oCitlF0NQDODBKKFy4kAUJeQIePojYTExChgxZCNy4JEYBc0sOyBAIIwQJJ0xmRIhgYAscceTQ+SLCIUaDASstgKQCzRSSoGMkQAYY0cFRCxcRRBCgRyODKQEVjMUwJaEAgBE0DowQYYzDiZUliqJ5iMCakBQkNFW4SmNBhBEUiAhgkDTVxyILTIGyipWGjBEKQMYwgQHODBL5jrEVwmAEhI26UCruS2PGiBGa9MUwaW4tZRoTRjAIWOAUEb5rVowYiaiCAHeoiaBQsIfPzEGLh3jkSMRzwCAAIfkECQkANQAsAAAAACAAIACFBErMfKbkxNb0PHbcpL7s5O78XI7cJGLU3Ob0vM70lLLs9Pr8FFbUTILcrMbsjKrkzN70dJrk9Pb85Or8DFLMhKbkTH7crMLs7O78bJbkNG7U3Or8xNL0nLrs/Pr8HF7UVILctMbs1N70BE7MzNr0RHrcpMLsZJLk3Ob8vNL0nLbsFFrUjK7sdJ7khKrk7PL8NHLU/P78VIbctMr01OL0////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABv7AmnBIJC5miaJySfRsPEZkMSZhLmmkSTRJhHRo1uKCRFoMFyGucNFRacPEDQlxlg5Tqhm86IGQXmt2NRgKHYB7RAUkIoFqDh0CcBOHQzEiJAU1R1wICgRmlQIkQxJkNFVDLyQQHpuaJipgQ50BLqA1qmRPQ1gTriQqFzFCLwQBAQp0RDETZJjDCxPDQwIqmUcVARUCUEsLCGQilEUSMSQPxyGoYS80AhDTShPHHRiIqfZWCYz3/XDOAMlAgCPhhMGDByOQeCeK4SI4LxBKjOCv4pIYBcYpgeTvxSVWTFBYaNACxZ5v4V54eJMoxgwDIxVorNSMTKYaLCh0IMJCQ5IkNiAayHDQbQgGMgKkCSmwAsCMAh801OigQca0AhVGnhglpJQABLdqnABQogZUqQsaaLhAhMQJoesyFoEAYAQdplJrpNBQYpxLPWEGAGixNOqQExpcVLwAYMUhvLNgwDB5T8KHEQqMrsgrxIWGDP1cANAQ7yyRFwM0cLiXYUSKRJuLmBjA9t6GIqab3LS4NPa9IAAh+QQJCQA3ACwAAAAAIAAgAIUESsx8puTE1vREetzk7vykvuxkkuQcXtTc5vS8zvSUsuxUhtz0+vwsatR0nuTM3vSsxuwsZtQUVtRUgtz09vx0muQkZtTk6vycuuyMquRMgtzs7vxsmuQkYtTc6vzE0vSctuxcjtz8+vzU3vS0xuwETszM2vRMftyswuxsluQcYtTc5vy80vSUtuxcitw0btR8ouQUWtSMruzs8vz8/vzU4vS0yvT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCbcEgkikyPonJp9IiIDGSRxmAua6YL1DQqrmxa69ZUFR6TQ4bNthEXPSZEWjoc2QTuouhhmpnpNxRrFHlFBFxCUWg3AiQ1bhd+RDQjJgQ3Z0IEazSTI49CFCYmNYRDM0hUUjQJNh5EFwUtGE9CqKNOQ1gXUV01Nh+nNiAtKJeTF6OWnQwXnbo2fiICGLM1z0oMCKMjkkoUNDXVGB9lYjM1Ag/YRRstINGFp21WJq/y+G7K+6OLTBQBYAQcKDCDCXUCDj5I2EUMQIEQB2bIR3GJCBktxEAwkc+GBQASvBW5YMBAhntiapwAAMCCDRrHiBCg8aFCyQIiiczgUAKknowqLToUIIJBA0cGKEqmSMCORosYLA0cm2HhAIsNLwbcgHAixbMZCkrCWGSC5QB/Dg64uDEj6w0aBjTYIFIDhoEUpm44gFBkxIEDcgi4ZaTBRd63CfCI0RAjgK3BN2BoyJiPRIwGprBqFeJBwwSUeRi8ODBUE+QbIDTAwCfjwABsbTeHWmBUHowDih/LFmJjwVx5YYYI3v02J8XY+IIAACH5BAkJADQALAAAAAAgACAAhQRKzHym5MTW9ER63KS+7OTu/GSS5Nzm9LzO9CRm1JSy7PT6/KzG7HSe5Mze9FSG3DRy1Iyu7PT2/HSa5OTq/Jy67BRa1ISm5KzC7Ozu/Gya5Nzq/MTS9DRu1Jy27Pz6/LTG7NTe9FyO3Mza9EyC3KTC7GyW5Nzm/LzS9Cxq1JS27Hyi5FyK3Dx23Bxe1ISq5Ozy/Pz+/LTK9NTi9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCR+Ro6icmncfIgLZDH2ZCpnIwp0FCoWRjBrMTpaDI/JYWwEFhc3o8MwmhbCT+7ix9GmoYcSbGZ5RF9dNHRDJ1luFGFEMSEjBX5SNDBsMZAnG4BsMxJEmA4xiZGTRBkoIDKaQphsTkNYFFFdXzOAAjIyKBlTFGyTmgsUrnYjoTEOvDIHx2MHbCGPSmYbCKwOVWIwMwKkTDAyIALVhDC/VjOUhO6EAPHy8hZuCx4q+Pr5BPP+9WLu5Ruor8K7g1ZiqCAgBsEhdwhaWEhwjgiFACsqtBNz4IELCy0QxFAnak2EFRcYhFoCY4ULFwk8aCLQggERDAZyLUBwIcCUCwHcaMQgkMKCiwaPYLToYI6ECBoyDFxwBYPAigAKcglx8PGBViEXOpi45NTPCgMoiBxQsOLFIBoXZBQ50AECHhhlaYwwMGGlkBgCRrgx0CHCq7w0IhhgeBBBhwEr8bIYQsGAgY15FpDoYPPw5CElDBh256HDg2OSiUgwYeChmwgd6pD9PASFCQ7vMM+eUhFhandBAAAh+QQJCQA3ACwAAAAAIAAgAIUESsx8puTE1vQ8dtykvuzk7vxkkuQkZtSUsuzc5vS8zvT0+vwMVsxUgtysxuyMquTM3vRsmuT09vw0btScuuzk6vwcXtSEpuRMgtyswuzs7vyctuzc6vzE0vT8+vwUVtRcity0xuzU3vR0muQETszM2vREetykwuxsluQsatSUtuzc5vy80vRUhtyMruw0ctSEquTs8vz8/vwUWtS0yvTU4vR0nuT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCbcEgkekqQonJp5HiIC2RR9mQqa6UKtCQqFkoxazFaWgyPyaGsBBYXOaXEMJoWwlfuogfSvqGHEmxmeURfXTd0QytZbjYZUyIlBX5SNzFsMkQyBRpDJSQAAyVElxAyiTKRk0MxkRBVMhszACQGqzcJWVFdXzVzi1xhpDagDA9mCyuZQxUCEjcywJJWNRgAAAchTGaXbBzLYjQpAAzCSoElNYOEHi4qYhXmhPNuFjP2+Pcpbh40/v8A7wnMt0/MAhoOECpMqICeQysyCDyyIgAPPQEYJgx4tiSGig0O5DHhgGLChBYCPIi0dKMGgQ0qOqwrIuHBC40EzDho0XAIlI0LeBYIoKCCgghw0DIMMAlDmIQWGMAYsHFDQAAEyyTQgHlCi5AaJg1YFOICwwVLU/24CDCK2YkNFNYhYFEkAYYGWmKkbXkBxsxUvsTYwEBBiF6qQihcoPEQIwiOh4doCHDhVh4PBjAwFiJhr5AQAQjQI4ABBbjIgGAEGOuGAoZDhj0LEXChLaFOpGRD4/iQlW4xQQAAIfkECQkAOAAsAAAAACAAIACFBErMfKbkxNb0RHrcpL7s5O78ZJLkHGLU3Ob0XIrcvM70lLLs9Pr8TILcrMbsNG7UzN70fKLkFFbU9Pb8dJrkLGbU5Or8nLrsjK7sTH7crMLs7O78bJrk3Or8ZI7cxNL0nLbs/Pr8VILctMbs1N70BE7MhKbkzNr0RH7cpMLsbJbkJGbU3Ob8XI7cvNL0lLbsPHbcHF7ULGrU7PL8/P78VIbctMr01OL0////AAAAAAAAAAAAAAAAAAAAAAAAAAAABv5AnHBIJIZOkKJySex4ZkQGskgLMZcDACV6IhULJ+iVCCmVWENpckg7hcdFAyCT7jZPaDixIAHYhEdrOBNuDHpFGCUrNDhqQzcnFnAmDkUhKwAYOIFCM0hWbAViOCQxMQ1eQzYAEgWONCRvQzOxEKA0BDISMRSjAyUcnGA3aZBdo50mBzErL1Y3KsgWJxM4NCxuEAVXCAm7MH9LhgUQbhaMcC4wzMhEhCcI1YfWIBdjovP5eg/8/f0DcNq4GTgQwgMZBxMiRAEnhAAIAk48jDhFn0UlNByEY3JjW74TBhrUkKdkhg0bAkhesRAgQwMVJ2i0G4Sjg4KTtphMuNCgQZ8CB1ZsqBBARMAFSSFunLSBAJ0QGjYSuFwgbwYFAyQmBNB0AoQGdJ5OutgwBEGDDBE6ECFgYAGOGVutpXhBbEgBFyNsgMJxgSgRCwYMbJtgQhMOBPX2WusgaQwGAxqETIhgGIeNF34/GqAgT2vlGRdAzLzCIIIBF0M8E/nwYqMeGwZMOJ1cuVFotYdSGKgrOS4REhd462lHm4rKi6rnBQEAOzA1OEo3eEpMcitpVlFlSTgzUko3bUE4RmZxYmV2VGFqalk5TGNJbjZKZVBFTzZ1QmtqbEVBdG5zRDh5S2RYVHM="},475:function(e,t,n){e.exports=n.p+"b85a961d44cc55c58050cbf7c53dd505.png"},215:function(e){"use strict";e.exports=require("bignumber.js")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),n.nc=void 0;var r={};!function(){"use strict";n.r(r),n.d(r,{AccountBalance:function(){return O},AdminBadgeSvg:function(){return ra},AgreementItem:function(){return vt},AlgoAddressFlowPage:function(){return cw},AlgoAddressName:function(){return mv},AlgoAdressSelect:function(){return nv},AlgoConnectWallet:function(){return Ib},AlgoFlowMemo:function(){return vw},AuthConsumer:function(){return _c},AuthContext:function(){return Pc},AuthProvider:function(){return Tc},BackButton:function(){return kt},Background:function(){return Lt},BasicInfo:function(){return xd},BasicTable:function(){return Ht},Button:function(){return ln},ButtonContainer:function(){return un},CTABox:function(){return ig},CameraSvg:function(){return Zi},CapsLockSvg:function(){return Hi},CaptialRaisedSummary:function(){return Tn},ChartBox:function(){return _n},ChartBoxDistribution:function(){return Nn},ChartLegend:function(){return Yn},CheckBoxCaption:function(){return De},Checkbox:function(){return qe},CheckboxPropTypes:function(){return Fe},ChooseWallet:function(){return Sb},Column:function(){return Ro},ComponentScroll:function(){return Z},ComponentWrapper:function(){return ht},Confirmation:function(){return Ad},Container:function(){return Rc},CryptoAddress:function(){return kr},CryptoAddressDetails:function(){return Fr},CryptoAddressWrapper:function(){return $r},DatePickerInput:function(){return Pl},DocumentBackSvg:function(){return $i},DocumentFileUpload:function(){return Gf},DocumentScan:function(){return Ff},DocumentScanUpload:function(){return Xf},DocumentSelect:function(){return yf},DocumentSmallSvg:function(){return ea},DocumentSuccess:function(){return ed},DocumentSvg:function(){return Qi},DocumentUpload:function(){return nf},DocumentVerificationType:function(){return Tf},DoubleButtons:function(){return no},ErrorMessage:function(){return oo},EthSvg:function(){return Vi},EurSvg:function(){return Yi},FAQ:function(){return mo},FaceScan:function(){return nd},FaceScanIconSvg:function(){return ta},FaceScanRecognition:function(){return od},FaceScanSuccess:function(){return ad},FileInput:function(){return ag},FileInputItem:function(){return ug},FileInputList:function(){return sg},FileInputRemove:function(){return lg},FileInputWrapper:function(){return cg},Footer:function(){return Yo},ForgotPasswordModal:function(){return Ui},Form:function(){return Ci},FormError:function(){return ki},FormField:function(){return Ii},FormInfo:function(){return Ai},FourSvg:function(){return ca},Glassess:function(){return la},Header:function(){return vl},Icon:function(){return er},ImageSlide:function(){return BE},ImageSlideWrapper:function(){return zE},InfoIcon:function(){return g},Input:function(){return _i},InputPassword:function(){return Fl},InvestCalculator:function(){return Xs},InvestCalculatorCurrencies:function(){return Ks},InvestmentStat:function(){return iu},Item:function(){return zc},Items:function(){return Bc},KYCSelectBox:function(){return of},LatestUpdate:function(){return qd},LatestUpdateWrapper:function(){return Md},Layout:function(){return zO},LearnMore:function(){return Ah},LearnMoreCarousel:function(){return cp},LearnMoreExampleObject:function(){return Vm},LearnMoreItem:function(){return mh},LearnMorePage:function(){return qm},LoginModal:function(){return Rh},LogoSvg:function(){return Wi},MainMenu:function(){return Xa},MemoCryptoAddress:function(){return Mr},MenuNav:function(){return Lh},Modal:function(){return Si},ModalBack:function(){return bi},ModalClose:function(){return gi},ModalInner:function(){return hi},ModalInnerSmartContractAddress:function(){return pi},ModalInnerWithBorder:function(){return mi},ModalLink:function(){return vi},ModalLinkWrap:function(){return yi},MultiProgressBar:function(){return yn},MultiProgressBarPropTypes:function(){return vn},NotificationCounter:function(){return Bh},Number:function(){return Dh},OneSvg:function(){return oa},PageTransition:function(){return Vh},PageWrapper:function(){return Lo},PassportSvg:function(){return Ki},PasswordStrength:function(){return ql},Process:function(){return $h},ProfileBadge:function(){return vg},ProfileBox:function(){return Tg},ProfileStat:function(){return Bg},ProgressStatusConsumer:function(){return DO},Radio:function(){return qg},RangeInput:function(){return ds},RefreshButton:function(){return Hg},RefreshSvg:function(){return na},RegisterConfirmModal:function(){return Qg},RegisterModal:function(){return Tw},RequestDataBox:function(){return Rw},RiskQuestionnaireConsumer:function(){return Xw},RiskQuestionnaireContext:function(){return Qw},RiskQuestionnaireProvider:function(){return Kw},RiskStep:function(){return Lw},Row:function(){return No},SEO:function(){return tx},SectionTitle:function(){return Ju},Select:function(){return As},SideLine:function(){return sx},SignSubConnectLedger:function(){return kx},SignSubConnectMetamask:function(){return qx},SignSubInfo:function(){return px},SignSubIntro:function(){return bx},SignSubSendLedger:function(){return _E},SignSubSendMetamask:function(){return RE},SignSubStep:function(){return fx},SignSubTransactionLedger:function(){return pE},SignSubTransactionMetamask:function(){return SE},SignSubWrapper:function(){return dx},Slider:function(){return DE},SliderWrapper:function(){return LE},SocialFacebook:function(){return ua},SocialInstagram:function(){return Oa},SocialLinkedIn:function(){return Ia},SocialMedium:function(){return Aa},SocialReddit:function(){return ka},SocialTelegram:function(){return Ca},SocialTwitter:function(){return Pa},SocialYoutube:function(){return Ta},SpanButton:function(){return hu},StatusBadge:function(){return UE},StepController:function(){return jv},StepControllerConsumer:function(){return Hv},StepControllerProvider:function(){return Wv},StepsProgress:function(){return Dc},StokrLoader:function(){return QE},Switch:function(){return nS},Tab:function(){return Qm},Tabs:function(){return eh},TeamOverview:function(){return OS},Terms:function(){return Ku},Text:function(){return Ie},TextButton:function(){return Pd},TextLink:function(){return Cd},ThreeSvg:function(){return aa},ToDoList:function(){return WS},ToDoTask:function(){return NS},ToDoTaskMessage:function(){return FS},ToDoTaskState:function(){return qS},TooltipIcon:function(){return $n},TransactionDetails:function(){return eE},TransactionInfo:function(){return Qx},TwoFactorModal:function(){return eO},TwoSidedDocumentSvg:function(){return Ji},TwoSvg:function(){return ia},UpdateDefaultSvg:function(){return ja},UpdateHardSvg:function(){return _a},UpdateSoftSvg:function(){return Ma},UploadSvg:function(){return Xi},VerifiedBadge:function(){return sa},Wrap:function(){return Lc},Wrapper:function(){return _o},iconsMap:function(){return Xn},learnMoreCategoryPropTypes:function(){return Fm},learnMorePostPropTypes:function(){return Um},validate:function(){return Pi}});var e=require("react"),t=n.n(e),o=require("prop-types"),i=n.n(o),a=require("react-tippy"),c=require("styled-components"),l=n.n(c),s={black:"#202020",grey:"#f0f0f0",lightGrey:"#e1e1e1",orangishRed:"#ee220d",white:"#ffffff",lightPeach:"#fbd2d1",salmon:"#f57c76",paleSalmon:"#f8a7a4",pastelRed:"#f24f45",reddishBrown:"#8e150a",reddyBrown:"#5e0f08",rustyRed:"#be1b09",lightPeriwinkle:"#ceddf5",carolinaBlue:"#9cb9eb",lighterGreen:"#84fb6f",blue:"#0050ca",blueDark:"#004BB7",softBlue:"#6a97e0",darkBrown:"#300606",azul:"#3873d5",darkishBlue:"#0240a2",marineBlue:"#032f78",navy:"#021f51",navy2:"#021128",offWhite:"#e6fee2",veryLightGreen:"#cefec6",lightPastelGreen:"#b5fca9",easterGreen:"#9bfc8c",freshGreen:"#69c858",fernGreen:"#4d9741",pine:"#34652c",pine2:"#1a3315",black70:"rgba(32, 32, 32, 0.7)",yellow:"#f8e71c",yellowLight:"#fffedf",progressGreen:"#79ca65",progressAccentStart:"#69BD53",progressAccentStop:"#A9EF9C",progressRedStart:"#EE220D",progressRedStop:"#F57C76",progressBlueStart:"#0240A2",progressBlueStop:"#66A3FE",grey2:"#9b9b9b",grey3:"#f8f8f8",midRed:"#e3210d"};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({cText:s.black,cWhite:s.white,cBlack:s.black,cPrimary:s.blue,cPrimaryDark:s.blueDark,cPrimaryLight:s.carolinaBlue,cWarning:s.orangishRed,cWarningMid:s.midRed,cWarningDark:s.rustyRed,cGrey:s.grey,cLightGrey:s.lightGrey,cGrey2:s.grey2,cGrey3:s.grey3,cProgressDone:s.progressGreen,cYellow:s.yellow,cYellowLight:s.yellowLight,cLighterGreen:s.lighterGreen,cSuccess:s.freshGreen,cDarkGreen:s.pine,cProgressAccentStart:s.progressAccentStart,cProgressAccentStop:s.progressAccentStop,cProgressRedStart:s.progressRedStart,cProgressRedStop:s.progressRedStop,cProgressBlueStart:s.progressBlueStart,cProgressBlueStop:s.progressBlueStop},s),p=d,m=l().div.withConfig({displayName:"InfoIconstyles__Container",componentId:"sc-d3sdn3-0"})(["display:inline-block;vertical-align:middle;margin:0 12px;font-size:0;line-height:0;"," "," "," & > div{position:relative;display:inline-block!important;}"],(function(e){return e.noMargin&&"\n margin: 0;\n "}),(function(e){return e.noMarginLeft&&"\n margin-left: 0;\n "}),(function(e){return e.noMarginRight&&"\n margin-right: 0;\n "})),h=l().i.attrs({className:"ion ion-md-information-circle"}).withConfig({displayName:"InfoIconstyles__Icon",componentId:"sc-d3sdn3-1"})(["position:relative;left:-0.4px;display:inline-block;vertical-align:middle;font-size:16px;line-height:16px;vertical-align:middle;color:",";transition:color 0.2s;&:hover{color:",";}"],(function(e){return p.cGrey2}),(function(e){return p.cPrimary})),g=function(e){var n=e.title,r=e.html,o=e.position,i=e.noMargin,c=e.noMarginLeft,l=e.noMarginRight;return t().createElement(m,{noMargin:i,noMarginLeft:c,noMarginRight:l},t().createElement(a.Tooltip,{position:o,title:n,html:r,theme:"light",arrow:!0,duration:200},t().createElement(h,null)))};g.propTypes={title:i().string,html:i().node,position:i().oneOf(["top","bottom","left","right"]),noMargin:i().bool,noMarginLeft:i().bool,noMarginRight:i().bool},g.defaultProps={title:null,html:null,position:"bottom",noMargin:!1,noMarginLeft:!1,noMarginRight:!1};var b=g,y=l().div.withConfig({displayName:"AccountBalancestyles__Container",componentId:"sc-8f1jyi-0"})(["position:relative;margin-right:-20px;",""],(function(e){return e.right&&"\n text-align: right;\n "})),v=l().div.withConfig({displayName:"AccountBalancestyles__Head",componentId:"sc-8f1jyi-1"})(["position:relative;margin-bottom:4px;"]),w=l().div.withConfig({displayName:"AccountBalancestyles__Body",componentId:"sc-8f1jyi-2"})(["position:relative;"]),x=l().div.withConfig({displayName:"AccountBalancestyles__Title",componentId:"sc-8f1jyi-3"})(["font-weight:bold;font-size:11px;line-height:24px;letter-spacing:2.04px;text-transform:uppercase;"]),E=l().div.withConfig({displayName:"AccountBalancestyles__Value",componentId:"sc-8f1jyi-4"})(["position:relative;font-weight:300;font-size:22px;line-height:28px;letter-spacing:0.8px;"]),S=l().div.withConfig({displayName:"AccountBalancestyles__Equal",componentId:"sc-8f1jyi-5"})(["position:relative;line-height:16px;letter-spacing:0.4px;font-size:11px;font-style:italic;margin-top:8px;"]),O=function(e){var n=e.title,r=e.value,o=e.unit,i=e.info,a=e.eqValue,c=e.eqUnit,l=e.half,s=e.right,u=e.border;return t().createElement(y,{half:l,right:s,border:u},t().createElement(v,null,t().createElement(x,null,n,i&&t().createElement(b,{position:"top",title:i}))),t().createElement(w,null,t().createElement(E,null,o&&"".concat(o," "),r),a&&t().createElement(S,null,"= ",c&&"".concat(c),a)))};O.propTypes={title:i().string.isRequired,value:i().string.isRequired,unit:i().string.isRequired,eqValue:i().string,eqUnit:i().string,info:i().string,half:i().bool,right:i().bool,border:i().bool,fontSizeSmall:i().bool},O.defaultProps={eqValue:"",eqUnit:"",info:"",half:!1,right:!1,border:!1};var I,A,k,C,P,T,j=require("react-custom-scrollbars");function M(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var _,N,R,L,B={Small:"320px",Medium:"768px",Large:"1024px",XLarge:"1440px",XXLarge:"2560px"},z=Object.keys(B).reduce((function(e,t){return e[t]=function(){return(0,c.css)(I||(I=M(["\n @media (min-width: ",") {\n ","\n }\n "])),B[t],c.css.apply(void 0,arguments))},e}),{}),D=function(e){return"(min-width: ".concat(B[e],")")},G=(l().div.withConfig({displayName:"rwd__DisplayOnBreakpoint",componentId:"sc-nmqrxw-0"})([""," "," ",""],(function(e){return e.fullscreen&&(0,c.css)(A||(A=M(["\n height: 100%;\n "])))}),(function(e){return e.down&&(0,c.css)(k||(k=M(["\n display: block;\n\n ","\n "])),z[e.breakpoint](C||(C=M(["\n display: none;\n "]))))}),(function(e){return e.up&&(0,c.css)(P||(P=M(["\n display: none;\n\n ","\n "])),z[e.breakpoint](T||(T=M(["\n display: block;\n "]))))})),z);function q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var F=l().div.withConfig({displayName:"ComponentScrollstyles__Container",componentId:"sc-12avd6v-0"})(["position:relative;height:100%;width:100%;display:flex;",""],(function(e){return e.noMobileScroll&&(0,c.css)(_||(_=q(["\n & > div > div {\n overflow: visible !important;\n\n > div:first-child {\n overflow: visible !important;\n }\n }\n\n ","\n "])),G.Medium(N||(N=q(["\n & > div > div {\n overflow: hidden !important;\n\n > div:first-child {\n overflow: scroll !important; \n }\n }\n "]))))})),U=l().div.withConfig({displayName:"ComponentScrollstyles__TrackH",componentId:"sc-12avd6v-1"})(["background-color:",";left:16px;right:16px;bottom:14px;height:4px;border-radius:4px;",""],(function(e){return p.cGrey}),G.Large(R||(R=q(["\n left: 32px;\n right: 32px;\n bottom: 30px;\n "])))),W=l().div.withConfig({displayName:"ComponentScrollstyles__ThumbH",componentId:"sc-12avd6v-2"})(["background-color:",";height:4px;border-radius:4px;"],(function(e){return p.cWarning})),H=l().div.withConfig({displayName:"ComponentScrollstyles__TrackV",componentId:"sc-12avd6v-3"})(["background-color:",";top:16px;bottom:16px;right:14px;width:4px;border-radius:4px;",""],(function(e){return p.cGrey}),G.Large(L||(L=q(["\n top: 32px;\n bottom: 32px;\n right: 30px;\n "])))),V=l().div.withConfig({displayName:"ComponentScrollstyles__ThumbV",componentId:"sc-12avd6v-4"})(["background-color:",";width:4px;border-radius:4px;"],(function(e){return p.cWarning})),Y=l().div.withConfig({displayName:"ComponentScrollstyles__Outer",componentId:"sc-12avd6v-5"})(["position:relative;flex-grow:1;max-height:100%;max-width:100%;"," ",""],(function(e){return e.barPadding>-1&&e.offset&&"\n margin-right: ".concat(e.offset,"px;\n margin-bottom: ").concat(e.offset,"px;\n\n ").concat(U," {\n left: ").concat(e.barPadding,"px;\n right: ").concat(e.barPadding-e.offset,"px;\n bottom: 0;\n }\n\n ").concat(H," {\n top: ").concat(e.barPadding,"px;\n bottom: ").concat(e.barPadding-e.offset,"px;\n right: 0;\n }\n ")}),(function(e){return 0!==e.topPadding&&"\n ".concat(H," {\n top: ").concat(e.topPadding,"px;\n }\n ")})),Q=l().div.withConfig({displayName:"ComponentScrollstyles__Inner",componentId:"sc-12avd6v-6"})(["position:relative;",""],(function(e){return e.offset&&"\n padding-right: ".concat(-e.offset,"px;\n padding-bottom: ").concat(-e.offset,"px;\n ")}));function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(e,t):void 0}}(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 J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Z=function(n){var r=n.children,o=n.noMobileScroll,i=n.autoHeight,a=n.autoHeightMax,c=n.autoHeightMin,l=n.offset,s=n.barPadding,u=n.topPadding,f=n.className,d=n.handleScroll;(0,e.useEffect)((function(){return function(){clearTimeout(w)}}),[]);var p=K((0,e.useState)(),2),m=p[0],h=p[1],g=K((0,e.useState)(!1),2),b=g[0],y=g[1],v=K((0,e.useState)(),2),w=v[0],x=v[1],E=function(){y(!1),S()},S=function(){m&&m.handleScroll()};return t().createElement(F,{className:f,noMobileScroll:o},t().createElement(Y,{offset:l,barPadding:s,topPadding:u},t().createElement(j.Scrollbars,{ref:function(){m||h(undefined)},style:{height:"100%"},renderTrackHorizontal:function(e){return t().createElement(U,e)},renderThumbHorizontal:function(e){return t().createElement(W,e)},renderTrackVertical:function(e){return t().createElement(H,e)},renderThumbVertical:function(e){return t().createElement(V,e)},hideTracksWhenNotNeeded:!0,onMouseMove:function(){return b||(y(!0),S()),clearTimeout(w),void x(setTimeout(E,300))},onScroll:function(e){return function(e){d&&d(e)}(e.target.value)},autoHeight:i,autoHeightMax:a,autoHeightMin:c,universal:!0},t().createElement(Q,{offset:l},r))))};Z.propTypes={children:i().node.isRequired,className:i().string,noMobileScroll:i().bool,autoHeight:i().bool,autoHeightMax:i().oneOfType([i().string,i().number]),autoHeightMin:i().oneOfType([i().string,i().number]),barPadding:i().number,topPadding:i().number,offset:i().number,handleScroll:i().func},Z.defaultProps={className:"",noMobileScroll:!1,autoHeight:!1,autoHeightMax:0,autoHeightMin:0,barPadding:32,topPadding:0,offset:0,handleScroll:null};var X=Z,$=l().div.withConfig({displayName:"Tablestyles__Container",componentId:"sc-pdcd6r-0"})(["position:relative;"]),ee=l().div.withConfig({displayName:"Tablestyles__HeadWrapper",componentId:"sc-pdcd6r-1"})(["z-index:1;position:absolute;top:0;left:0;width:100%;overflow:hidden;background-color:",";"],(function(e){return e.theme.cWhite})),te=l().div.withConfig({displayName:"Tablestyles__TableWrapper",componentId:"sc-pdcd6r-2"})(["z-index:0;position:relative;display:block;"]),ne=l().div.withConfig({displayName:"Tablestyles__StyledTable",componentId:"sc-pdcd6r-3"})(["display:table;min-width:100%;"]),re=l().div.withConfig({displayName:"Tablestyles__Row",componentId:"sc-pdcd6r-4"})(["display:table-row;"]),oe=l().div.withConfig({displayName:"Tablestyles__Column",componentId:"sc-pdcd6r-5"})(["display:table-cell;text-align:",";font-family:'Open Sans';",";",";",";"],(function(e){return e.align}),(function(e){return e.colWidth&&"\n width: ".concat(e.colWidth,"\n min-width: ").concat(e.colWidth,"\n ")}),(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,"\n ")}),(function(e){return e.maxWidth&&"\n width: ".concat(e.maxWidth,"\n max-width: ").concat(e.maxWidth,"\n ")})),ie=l().div.withConfig({displayName:"Tablestyles__Head",componentId:"sc-pdcd6r-6"})(["display:table-header-group;"," ","{","{border-bottom:1px solid ",";}}","{color:",";font-weight:600;font-size:11px;line-height:20px;letter-spacing:1.98px;text-transform:uppercase;vertical-align:middle;white-space:nowrap;padding:10px 10px;}"],(function(e){return e.hidden&&"\n visibility: hidden;\n "}),re,oe,(function(e){return e.theme.cLightGrey}),oe,(function(e){return e.theme.cProgress})),ae=l().div.withConfig({displayName:"Tablestyles__Body",componentId:"sc-pdcd6r-7"})(["display:table-row-group;","{& + ","{","{border-top:1px solid ",";}}}","{color:",";font-weight:400;font-size:14px;line-height:20px;vertical-align:middle;padding:26px 10px;}"],re,re,oe,(function(e){return e.theme.cLightGrey}),oe,(function(e){return e.theme.cBlack}));function ce(e){return ce="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},ce(e)}function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n<t.length;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)}}function ue(e,t){return ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ue(e,t)}function fe(e,t){if(t&&("object"===ce(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return de(e)}function de(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(e)}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l().div.withConfig({displayName:"Tablestyles__TableCellType",componentId:"sc-pdcd6r-8"})(["display:inline-block;background-color:",";color:",";font-weight:600;min-width:40px;line-height:24px;border-radius:3px;text-align:center;"],(function(e){return e.color}),(function(e){return e.theme.cWhite}));var he=function(n){var r=n.children,o=n.maxHeight,i=n.noScroll,a=n.onScroll;return i?t().createElement(e.Fragment,null,r):t().createElement(X,{autoHeight:0!==o,autoHeightMax:o||void 0,offset:4,barPadding:8,topPadding:48,handleScroll:a},r)};he.propTypes={children:i().node.isRequired,maxHeight:i().number.isRequired,noScroll:i().bool.isRequired,onScroll:i().func.isRequired};var ge,be,ye,ve,we,xe,Ee,Se=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ue(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pe(o);if(i){var n=pe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return fe(this,e)});function c(){var e;le(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return me(de(e=a.call.apply(a,[this].concat(n))),"onResize",(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(e.setColumnsWidth,200)})),me(de(e),"setColumnsWidth",(function(){var t=e.headTableEl.children[0].children[0].children,n=e.bodyTableEl.children[0].children[0].children;Array.prototype.forEach.call(n,(function(e,t){n[t].style.width=""})),e.headTableEl.style.width="",Array.prototype.forEach.call(n,(function(e,r){t[r].style.width="".concat(e.offsetWidth,"px"),n[r].style.width="".concat(e.offsetWidth,"px")})),e.headTableEl.style.width="".concat(e.bodyTableEl.offsetWidth,"px")})),me(de(e),"onScroll",(function(t){t&&(e.headTableWrapperEl.scrollLeft=t.target.scrollLeft)})),e}return n=c,(r=[{key:"componentDidMount",value:function(){this.setColumnsWidth(),window.addEventListener("resize",this.onResize)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.resizeTimeout),window.removeEventListener("resize",this.onResize)}},{key:"render",value:function(){var e=this,n=this.props,r=n.columns,o=n.data,i=n.maxHeight,a=n.noScroll,c={};return r.map((function(e){return c[e.key]={width:e.width,align:e.align,marginLeft:e.marginLeft},e})),t().createElement($,null,t().createElement(ee,{ref:function(t){e.headTableWrapperEl=t}},t().createElement(ne,{ref:function(t){e.headTableEl=t}},t().createElement(ie,null,t().createElement(re,null,r.map((function(e){return t().createElement(oe,{key:e.key,align:e.align},e.label)})))))),t().createElement(te,null,t().createElement(he,{maxHeight:i,noScroll:a,onScroll:this.onScroll},t().createElement(ne,{ref:function(t){e.bodyTableEl=t}},t().createElement(ie,{hidden:!0},t().createElement(re,null,r.map((function(e){return t().createElement(oe,{key:e.key,colWidth:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth,align:e.align},e.label)})))),t().createElement(ae,null,o.map((function(e){return t().createElement(re,{key:e.id},Object.keys(e).map((function(n){return c[n]&&t().createElement(oe,{key:n,align:c[n].align},e[n])})))})))))))}}])&&se(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function Oe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Se.propTypes={columns:i().arrayOf(Object).isRequired,data:i().arrayOf(Object).isRequired,maxHeight:i().number,noScroll:i().bool},Se.defaultProps={maxHeight:500,noScroll:!1};var Ie=l().div.withConfig({displayName:"Textstyles__Text",componentId:"sc-xkpyal-0"})(["display:block;"," "," h1{font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.18;letter-spacing:0.8px;text-transform:uppercase;margin-top:1em;margin-bottom:32px;","}h2{font-family:'Open Sans';font-weight:300;font-size:34px;line-height:1.18em;letter-spacing:1.5px;margin-top:1em;margin-bottom:0.18em;"," ","}h4{font-family:'Open Sans';font-weight:300;font-size:22px;line-height:1.27em;letter-spacing:0.8px;margin-top:1em;margin-bottom:0.27em;opacity:0.5;","}h3{font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;margin-top:1em;margin-bottom:0.27em;text-transform:uppercase;","}h5{font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;text-transform:uppercase;}p{font-family:'Open Sans';font-weight:300;font-size:16px;line-height:1.5em;letter-spacing:0.6px;margin:1em 0;"," a{text-decoration:underline;transition:color 0.2s;color:",";&:hover{color:",";}}}ul{margin:16px;li{font-size:14px;font-weight:300;font-style:normal;font-stretch:normal;line-height:2;letter-spacing:0.6px;}@media screen and (max-width:479px){padding-left:15px;}}a{text-decoration:underline;}> *:first-child{margin-top:0;}> *:last-child{margin-bottom:0;}"],(function(e){return e.fullWidth&&"width: 100%;"}),(function(e){return e.center&&"\n text-align: center;\n "}),G.Medium(ge||(ge=Oe(["\n font-size: 34px;\n letter-spacing: 1.5px;\n margin-bottom: 45px;\n "]))),G.Medium(be||(be=Oe(["\n font-size: 42px;\n "]))),G.Large(ye||(ye=Oe(["\n font-size: 50px;\n "]))),G.Medium(ve||(ve=Oe(["\n font-size: 34px;\n "]))),G.Medium(we||(we=Oe(["\n font-size: 34px;\n "]))),G.XLarge(xe||(xe=Oe(["\n font-size: 20px;\n "]))),(function(e){return p.cPrimary}),(function(e){return p.cText})),Ae=l().p.withConfig({displayName:"Textstyles__Caption",componentId:"sc-xkpyal-1"})(["&&&{font-family:'Open Sans';font-weight:300;font-size:9px;line-height:1.78em;letter-spacing:0.4px;"," "," "," a{text-decoration:underline;transition:color .2s;color:",";&:hover{color:",";}}}"],G.Large(Ee||(Ee=Oe(["\n font-size: 12px;\n "]))),(function(e){return e.center&&"text-align: center;"}),(function(e){return e.link&&"margin-top: 36px;"}),(function(e){return p.cPrimary}),(function(e){return p.cText}));Ie.Caption=Ae;var ke,Ce,Pe,Te=Ie;function je(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Me=l().div.withConfig({displayName:"Inputstyles__Wrapper",componentId:"sc-1osolkh-0"})(["position:relative;display:block;input:-webkit-autofill{border:none;border-bottom:1px solid #f0f0f0;box-shadow:0 0 0px 1000px #fff inset;transition:background-color 5000s ease-in-out 0s;}",""],(function(e){return e.inverted&&(0,c.css)(ke||(ke=je(["\n "," {\n color: ",";\n opacity: 0.4;\n }\n "," {\n & > input {\n color: ",";\n border-bottom-color: ",";\n\n &:focus,\n &:hover {\n border-bottom-color: rgba(255, 255, 255, 0.4);\n }\n }\n }\n "])),_e,p.cWhite,Ne,p.cWhite,p.cWhite)})),_e=l().label.withConfig({displayName:"Inputstyles__Label",componentId:"sc-1osolkh-1"})(["z-index:11;display:block;position:absolute;left:0;top:-2px;height:12px;font-size:11px;line-height:20px;letter-spacing:2px;text-transform:uppercase;color:",";pointer-events:none;transform:translateY(15px);transition:transform .2s,font-size .2s;"," "," ",""],(function(e){return p.cBlack}),(function(e){return e.isUp&&"\n font-size: 10px;\n transform: translateY(0);\n "}),(function(e){return e.active&&"\n color: ".concat(p.cPrimary,";\n ")}),(function(e){return e.error&&"\n color: ".concat(p.cWarning,";\n ")})),Ne=l().div.withConfig({displayName:"Inputstyles__InputWrap",componentId:"sc-1osolkh-2"})(["position:relative;& > input{z-index:0;font-family:'Open sans';display:block;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:15px 0;padding-bottom:5px;box-shadow:none;border:0;outline:0;border-top:1px solid transparent;border-bottom:1px solid ",";color:",";background-color:transparent;transition:border-color 0.2s;&:focus,&:hover{border-top-color:transparent;border-bottom-color:",";}&::placeholder{color:transparent;opacity:0;}}"," ",""],(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.disabled&&(0,c.css)(Ce||(Ce=je(["\n & > input {\n color: ",";\n &:focus,\n &:hover {\n border-top-color: transparent;\n border-bottom-color: ",";\n }\n }\n "])),(function(e){return p.cGrey2}),(function(e){return p.cGrey}))}),(function(e){return e.dashboard&&(0,c.css)(Pe||(Pe=je(["\n & > input {\n border: 0;\n padding: 0;\n height: 22px;\n font-family: 'Open Sans';\n font-weight: 300;\n font-size: 14px;\n line-height: 22px;\n letter-spacing: 0.53px;\n text-transform: normal;\n color: ",";\n\n &::placeholder {\n color: ",";\n opacity: 1;\n }\n }\n "])),p.cBlack,p.cGrey2)})),Re=l().div.withConfig({displayName:"Checkboxstyles__Wrapper",componentId:"sc-1drozoj-0"})(["position:relative;display:block;"]),Le=l()(_e).withConfig({displayName:"Checkboxstyles__Label",componentId:"sc-1drozoj-1"})(["position:relative;top:0;transform:none;font-size:10px;margin-bottom:5px;"]),Be=l().div.withConfig({displayName:"Checkboxstyles__Input",componentId:"sc-1drozoj-2"})(["position:relative;& > input{z-index:-1;position:absolute;top:4px;left:4px;display:block;width:1px;height:0;opacity:0;border:0;& + label{position:relative;display:inline-block;max-width:100%;padding-left:28px;font-family:'Open Sans';font-size:12px;line-height:16px;font-weight:300;letter-spacing:0.4px;cursor:pointer;",";&:before,&:after{display:block;position:absolute;}&:before{content:'';top:0;left:0;width:16px;height:16px;border-radius:3px;border:1px solid #9b9b9b;box-shadow:none;transition:border-color 0.2s;","}&:after{content:'\\f3ff';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;top:3px;left:3px;width:10px;height:10px;font-size:22px;line-height:10px;text-align:center;color:transparent;",";}}&:focus + label,&:hover + label{&:before{border-color:",";}}&:checked + label{&:after{color:",";}}}"],(function(e){return e.error&&"color: ".concat(p.cWarning)}),(function(e){return e.large&&"\n width: 20px;\n height: 20px;\n border-radius: 4px;\n "}),(function(e){return e.large&&"\n top: 0;\n left: 0;\n width: 20px;\n height: 20px;\n font-size: 34px;\n line-height: 20px;\n "}),(function(e){return p.cPrimary}),(function(e){return p.cPrimary})),ze=l().span.withConfig({displayName:"Checkbox__TermsStyled",componentId:"sc-knu01c-0"})(["cursor:pointer;font-size:12px;text-decoration:underline;&:hover{opacity:0.7;}"]),De=l().div.withConfig({displayName:"Checkbox__CheckBoxCaption",componentId:"sc-knu01c-1"})(["padding-top:12px;letter-spacing:0.4px;font-size:11px;font-weight:400;"]),Ge=function(e){var n=e.onTermsClicked;return t().createElement(ze,{onClick:function(e){e.stopPropagation(),e.preventDefault(),n()}},"Terms of Use")},qe=function(e){var n=e.id,r=e.name,o=e.text,i=e.label,a=e.value,c=e.checked,l=e.large,s=e.error,u=e.touched,f=e.onChange,d=e.onBlur,p=e.onFocus,m=e.textStyle,h=e.isTerms,g=e.onTermsClicked;return t().createElement(Re,null,i&&t().createElement(Le,{error:s&&u,htmlFor:n},i),t().createElement(Be,{error:s,large:l},t().createElement("input",{type:"checkbox",id:n,name:r||n,value:a,checked:c,onChange:f,onBlur:d,onFocus:p}),t().createElement("label",{htmlFor:n,style:m},o,h&&t().createElement(Ge,{onTermsClicked:g,onclick:"event.stopPropagation();"}))))},Fe={id:i().string.isRequired,name:i().string,text:i().oneOfType([i().string,i().node]),label:i().string,value:i().string,checked:i().bool,large:i().bool,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func,textStyle:i().object};qe.propTypes=Fe,qe.defaultProps={name:"",text:"",label:"",value:"",checked:!1,large:!1,error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){},textStyle:{}};var Ue,We,He,Ve,Ye,Qe,Ke,Je,Ze,Xe,$e,et,tt,nt,rt,ot,it,at,ct,lt,st,ut,ft,dt,pt=qe;function mt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ht=l().div.withConfig({displayName:"ComponentWrapperstyles__ComponentWrapper",componentId:"sc-1w1v084-0"})(["position:relative;padding:32px;text-align:left !important;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," h4{width:50%;@media screen and (max-width:767px){width:100%;}}@media screen and (max-width:767px){padding:32px;","}"," "," ",""],G.Large(Ue||(Ue=mt(["\n padding: 32px 64px;\n "]))),(function(e){return e.borderLeft&&(0,c.css)(We||(We=mt(["\n border-left: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.borderRight&&(0,c.css)(He||(He=mt(["\n border-right: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.borderTop&&(0,c.css)(Ve||(Ve=mt(["\n border-top: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.borderBottom&&(0,c.css)(Ye||(Ye=mt(["\n border-bottom: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.noPaddingLeft&&(0,c.css)(Qe||(Qe=mt(["\n padding-left: 0 !important;\n "])))}),(function(e){return e.noPaddingRight&&(0,c.css)(Ke||(Ke=mt(["\n padding-right: 0 !important;\n "])))}),(function(e){return e.noPaddingTop&&(0,c.css)(Je||(Je=mt(["\n padding-top: 0 !important;\n "])))}),(function(e){return e.noPaddingBottom&&(0,c.css)(Ze||(Ze=mt(["\n padding-bottom: 0 !important;\n "])))}),(function(e){return e.noPaddingVertical&&(0,c.css)(Xe||(Xe=mt(["\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n "])))}),(function(e){return e.horizontalPaddingHalf&&(0,c.css)($e||($e=mt(["\n padding-left: 18px !important;\n padding-right: 18px !important;\n "])))}),(function(e){return e.noPaddingHorizontal&&(0,c.css)(et||(et=mt(["\n padding-left: 0 !important;\n padding-right: 0 !important;\n "])))}),(function(e){return e.paddingVeticalHalf&&(0,c.css)(tt||(tt=mt(["\n padding-top: 16px !important;\n padding-bottom: 16px !important;\n "])))}),(function(e){return e.noPadding&&(0,c.css)(nt||(nt=mt(["\n padding: 0 !important;\n "])))}),(function(e){return e.center&&(0,c.css)(rt||(rt=mt(["\n text-align: center !important;\n "])))}),(function(e){return e.grow&&(0,c.css)(ot||(ot=mt(["\n flex-grow: 1;\n "])))}),(function(e){return e.wrap&&(0,c.css)(it||(it=mt(["\n flex-wrap: wrap;\n "])))}),(function(e){return e.background&&(0,c.css)(at||(at=mt(["\n background-color: ",";\n "])),p.cGrey)}),(function(e){return e.fluid&&(0,c.css)(ct||(ct=mt(["\n width: 100%;\n "])))}),(function(e){return e.fluidcenter&&(0,c.css)(lt||(lt=mt(["\n width: 100% !important;\n text-align: center !important;\n "])))}),(function(e){return e.investmentNotifications&&(0,c.css)(st||(st=mt(["\n padding: 0;\n "])))}),(function(e){return e.alignVertically&&(0,c.css)(ut||(ut=mt(["\n display: flex;\n align-items: center;\n "])))}),(function(e){return e.marginTop&&(0,c.css)(ft||(ft=mt(["\n margin-top: ",";\n "])),e.marginTop)}),(function(e){return e.isAddMember&&(0,c.css)(dt||(dt=mt(["\n @media screen and (min-width: 768px) {\n padding-left: 10px !important;\n padding-right: 10px !important;\n }\n "])))})),gt=ht,bt=l().div.withConfig({displayName:"AgreementItemstyles__Container",componentId:"sc-1prg3a3-0"})(["display:block;"]),yt=(l().div.withConfig({displayName:"AgreementItemstyles__CheckboxWrap",componentId:"sc-1prg3a3-1"})(["padding:6px 0;"]),l().div.withConfig({displayName:"AgreementItemstyles__InfoBox",componentId:"sc-1prg3a3-2"})(["max-width:240px;text-align:left;"])),vt=(l().a.withConfig({displayName:"AgreementItemstyles__OfferingPageLink",componentId:"sc-1prg3a3-3"})(["text-decoration:underline;&:hover{color:#0050ca !important;opacity:0.7;text-decoration:underline;}"]),l().a.withConfig({displayName:"AgreementItemstyles__TermsOfOfferingLink",componentId:"sc-1prg3a3-4"})(["text-decoration:underline;&:hover{opacity:0.7;text-decoration:underline;}"]),function(n){var r=n.title,o=n.text,i=n.checkbox,a=n.info;return t().createElement(bt,null,t().createElement(Te,null,r&&t().createElement("h3",null,r),t().createElement("p",null,o)),i&&t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(pt,{id:i.id,name:i.name||i.id,text:t().createElement(e.Fragment,null,i.text,a&&t().createElement(b,{position:"bottom",html:t().createElement(yt,null,a)})),value:i.value,checked:i.checked,onChange:i.onChange,onBlur:i.onBlur})))});vt.propTypes={title:i().string,text:i().string.isRequired,info:i().string,checkbox:i().shape(Fe).isRequired},vt.defaultProps={title:"",info:""};var wt=vt,xt=require("@reach/router"),Et=l().i.attrs({className:"ion ion-ios-arrow-back"}).withConfig({displayName:"BackButtonstyles__BackButtonIcon",componentId:"sc-1uhreks-0"})(["font-size:16px;position:absolute;left:0;color:",";transform:translateX(0);transition:0.3s color,0.3s transform;"],(function(e){return p.cBlack})),St=l().i.attrs({className:"ion ion-ios-arrow-forward"}).withConfig({displayName:"BackButtonstyles__ForwardButtonIcon",componentId:"sc-1uhreks-1"})(["font-size:16px;position:absolute;right:0;color:",";transform:translateX(0);transition:0.3s color,0.3s transform;"],(function(e){return p.cBlack})),Ot=l()(xt.Link).withConfig({displayName:"BackButtonstyles__StyledBackButton",componentId:"sc-1uhreks-2"})(["display:block;font-size:11px;line-height:16px;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;&:hover{color:",";","{transform:translateX(-4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark})),It=l().a.withConfig({displayName:"BackButtonstyles__StyledBackButtonExternal",componentId:"sc-1uhreks-3"})(["display:block;font-size:11px;line-height:16px;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;&:hover{color:",";","{transform:translateX(-4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark})),At=l().span.withConfig({displayName:"BackButtonstyles__StyledWindowBackButton",componentId:"sc-1uhreks-4"})(["display:block;font-size:11px;line-height:16px;cursor:pointer;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;&:hover{color:",";","{transform:translateX(-4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark})),kt=(l().div.withConfig({displayName:"BackButtonstyles__StyledBackButtonClick",componentId:"sc-1uhreks-5"})(["display:block;font-size:11px;line-height:16px;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;cursor:pointer;"," &:hover{color:",";","{transform:translateX(-4px);color:",";}","{transform:translateX(4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return e.forward&&"\n padding-right: 16px;\n "}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark}),St,(function(e){return p.cPrimaryDark})),function(e){var n=e.children,r=e.to,o=e.href;return t().createElement(t().Fragment,null,o?t().createElement(It,{href:o},t().createElement(Et,null),n):r?t().createElement(Ot,{to:r},t().createElement(Et,null),n):t().createElement(At,{onClick:function(){return window.history.back()}},t().createElement(Et,null),n))});kt.propTypes={children:i().node.isRequired,to:i().string,href:i().string};var Ct,Pt,Tt,jt=kt,Mt=l().div.withConfig({displayName:"Backgroundstyles__Container",componentId:"sc-1pfq4ec-0"})(["position:relative;width:100%;height:100%;font-size:0;"," &:after{","}",""],(function(e){if(!e.mobileRatio)return"";var t=e.mobileRatio.split(":"),n=100*t[1]/t[0];return"\n &:after {\n z-index: 0;\n content: '';\n position: relative;\n display: inline-block;\n vertical-align: top;\n width: 100%;\n height: 100%;\n padding-top: ".concat(n,"%;\n margin-left: -100%;\n }\n ")}),G.Medium(Ct||(Pt=["\n display: none;\n "],Tt||(Tt=Pt.slice(0)),Ct=Object.freeze(Object.defineProperties(Pt,{raw:{value:Object.freeze(Tt)}})))),(function(e){return e.investmentOpportunities&&"\n padding-top: 33% !important;\n "})),_t=l().div.withConfig({displayName:"Backgroundstyles__Wrap",componentId:"sc-1pfq4ec-1"})(["z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;& > div{height:100%;}"]),Nt=l().img.withConfig({displayName:"Backgroundstyles__Img",componentId:"sc-1pfq4ec-2"})(["position:absolute;width:100%;object-fit:cover;object-position:center center;top:0;left:0;height:100%;"," "," ",""],(function(e){return e.investmentOpportunities&&"\n height: 100%;\n "}),(function(e){return e.withPadding&&"\n padding: 20px;\n "}),(function(e){return e.contain&&"\n object-fit:contain;\n "})),Rt=(l().video.withConfig({displayName:"Backgroundstyles__Video",componentId:"sc-1pfq4ec-3"})(["object-fit:cover;width:100%;height:100%;"]),l().img.withConfig({displayName:"Backgroundstyles__Image",componentId:"sc-1pfq4ec-4"})(["min-width:100%;min-height:100%;width:auto;height:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]),l().div.withConfig({displayName:"Backgroundstyles__Content",componentId:"sc-1pfq4ec-5"})(["z-index:2;position:relative;display:inline-block;vertical-align:top;width:100%;font-size:10px;"])),Lt=function(e){var n=e.children,r=e.src,o=e.mobileRatio,i=e.investmentOpportunities,a=e.withPadding,c=e.contain;return t().createElement(Mt,{mobileRatio:o,investmentOpportunities:i},t().createElement(_t,null,t().createElement(Nt,{src:r,alt:"background",contain:c,withPadding:a,investmentOpportunities:i})),t().createElement(Rt,null,n))};Lt.propTypes={src:i().string.isRequired,mobileRatio:i().string,children:i().node},Lt.defaultProps={mobileRatio:"",children:t().createElement("div",null)};var Bt,zt=Lt,Dt=l().div.withConfig({displayName:"BasicTablestyles__Table",componentId:"sc-11e8nyz-0"})(["display:block;border:1px solid ",";",""],(function(e){return p.cLightGrey}),(function(e){return e.filled&&"\n background: #e1e1e1; //".concat((function(e){return p.cLightGrey}),";\n ")})),Gt=l().div.withConfig({displayName:"BasicTablestyles__Row",componentId:"sc-11e8nyz-1"})(["font-size:11px;line-height:24px;letter-spacing:2.1px;text-transform:uppercase;padding:16px 24px;display:block;"," & + &{border-top:1px solid ",";}&:after{content:'';display:block;width:100%;height:0;clear:both;}",""],G.XLarge(Bt||(Bt=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n padding: 16px 46px;\n "]))),(function(e){return p.cLightGrey}),(function(e){return e.smallPadding&&"\n padding: 14px 6px;\n "})),qt=l().div.withConfig({displayName:"BasicTablestyles__Label",componentId:"sc-11e8nyz-2"})(["float:left;max-width:50%;text-align:start;"]),Ft=l().div.withConfig({displayName:"BasicTablestyles__Value",componentId:"sc-11e8nyz-3"})(["float:right;display:grid;max-width:50%;"]),Ut=l().div.withConfig({displayName:"BasicTablestyles__LabelWarning",componentId:"sc-11e8nyz-4"})(["float:left;text-align:left;width:100%;color:#ee220d;line-height:16px;"]),Wt=l().div.withConfig({displayName:"BasicTablestyles__Caption",componentId:"sc-11e8nyz-5"})(["text-transform:initial;font-size:11px;float:right;letter-spacing:0.6px;font-style:italic;"]),Ht=function(e){var n=e.data,r=e.filled,o=e.smallPadding;return t().createElement(Dt,{filled:r},n.map((function(e,n){return t().createElement(Gt,{key:e.label,smallPadding:o},t().createElement(qt,null,e.label),t().createElement(Ft,null,e.value,t().createElement(Wt,null,e.valueDescription)),e.labelwarning?t().createElement(Ut,null,e.labelwarning):"")})))};Ht.propTypes={data:i().arrayOf(i().shape({label:i().string.isRequired,value:i().string.isRequired})).isRequired};var Vt,Yt,Qt,Kt,Jt,Zt,Xt,$t,en,tn,nn,rn,on,an=Ht;function cn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ln=l().button.attrs((function(e){return{type:e.type||"button"}})).withConfig({displayName:"Buttonstyles__Button",componentId:"sc-1bxw8qq-0"})(["display:inline-block;height:auto;min-height:40px;max-width:100%;background-color:",";border:1px solid ",";font-weight:bold;font-size:12px;line-height:16px;color:",";text-transform:uppercase;text-align:center;letter-spacing:2px;border-radius:28px;padding:11px 32px;margin:0;outline:0;vertical-align:baseline;text-shadow:none;user-select:none;cursor:pointer;transition:color .2s,background-color .2s,border-color .2s;"," "," "," "," "," "," &:hover,&:focus,&:active{background-color:",";border-color:",";color:",";}"," "," "," "," "," "," ",""],(function(e){return p.cPrimary}),(function(e){return p.cPrimary}),(function(e){return p.cWhite}),(function(e){var t=e.isUpdates,n=e.isCancel;return t&&n&&(0,c.css)(Vt||(Vt=cn(["\n padding: 11px 0;\n margin-left: 32px;\n "])))}),(function(e){var t=e.isUpdates,n=e.isDone;return t&&n&&(0,c.css)(Yt||(Yt=cn(["\n margin-left: 32px;\n\n @media screen and (max-width: 850px) {\n padding: 11px 20px;\n }\n "])))}),(function(e){return e.withMarginBottom&&(0,c.css)(Qt||(Qt=cn(["\n margin-bottom: 32px;\n "])))}),(function(e){return e.minWidth&&(0,c.css)(Kt||(Kt=cn(["\n min-width: ",";\n "])),e.minWidth)}),(function(e){return e.fluid&&(0,c.css)(Jt||(Jt=cn(["\n display: block;\n width: 100%;\n padding: 11px 12px;\n "])))}),(function(e){return e.center&&(0,c.css)(Zt||(Zt=cn(["\n margin-left: auto;\n margin-right: auto;\n "])))}),(function(e){return p.cPrimaryDark}),(function(e){return p.cPrimaryDark}),(function(e){return p.cWhite}),(function(e){return e.secondary&&(0,c.css)(Xt||(Xt=cn(["\n background-color: ",";\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cWhite,p.cPrimary,p.cPrimary,p.cPrimary,p.cWhite)}),(function(e){return e.onlyText&&(0,c.css)($t||($t=cn(["\n border-color: transparent;\n background-color: transparent;\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: transparent;\n border-color: transparent;\n color: ",";\n }\n "])),p.cBlack,p.cPrimary)}),(function(e){return e.disabled&&(0,c.css)(en||(en=cn(["\n border-color: ",";\n background-color: ",";\n color: ",";\n opacity: 0.2;\n cursor: default;\n box-shadow: none !important;\n pointer-events: none !important;\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cBlack,p.cWhite,p.cBlack,p.cPrimary,p.cPrimary,p.cWhite)}),(function(e){return e.negative&&(0,c.css)(tn||(tn=cn(["\n border-color: ",";\n background-color: ",";\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cWarning,p.cWhite,p.cWarning,p.cWhite,p.cWarningDark,p.cWarningDark)}),(function(e){return e.outline&&(0,c.css)(nn||(nn=cn(["\n border-color: ",";\n background-color: transparent;\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cWhite,p.cWhite,p.cWhite,p.cWhite,p.cWarning)}),(function(e){return e.marginTop&&(0,c.css)(rn||(rn=cn(["\n margin-top: ",";\n "])),e.marginTop)}),(function(e){return e.marginRight&&(0,c.css)(on||(on=cn(["\n margin-right: ",";\n "])),e.marginRight)}));ln.propTypes={secondary:i().bool,disabled:i().bool,negative:i().bool,center:i().bool},ln.defaultProps={secondary:!1,disabled:!1,negative:!1,center:!1};var sn=ln,un=l().div.withConfig({displayName:"ButtonContainerstyles__ButtonContainer",componentId:"sc-1no5512-0"})(["align-items:center;display:flex;justify-content:center;"," ","{min-width:150px;max-width:300px;}@media screen and (max-width:767px){flex-direction:column;","{min-width:150px;max-width:400px;}}"],(function(e){return e.flexColumn&&"\n flex-direction:column;\n "}),sn,sn),fn=require("react-countup"),dn=n.n(fn),pn=l().div.withConfig({displayName:"MultiProgressBarstyles__Bar",componentId:"sc-1sn65pk-0"})(["width:100%;position:relative;display:block;height:10px;background-color:#004bb7;border-radius:5px;overflow:hidden;"]),mn=l().div.withConfig({displayName:"MultiProgressBarstyles__BackBar",componentId:"sc-1sn65pk-1"})(["z-index:0;position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:4px;overflow:hidden;"]),hn=l().div.withConfig({displayName:"MultiProgressBarstyles__FillBar",componentId:"sc-1sn65pk-2"})(["z-index:1;position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:4px;overflow:hidden;transition:transform 0.3s;transform:translateX(100%);",""],(function(e){return e.percent&&"\n transform: translateX(".concat(100-e.percent,"%);\n ")})),gn=l().div.withConfig({displayName:"MultiProgressBarstyles__FillProgress",componentId:"sc-1sn65pk-3"})(["z-index:1;position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:4px;overflow:hidden;transition:transform 0.3s;transform:translateX(-100%);",""],(function(e){return e.percent&&"\n transform: translateX(".concat(e.percent-100,"%);\n ")})),bn=l().div.withConfig({displayName:"MultiProgressBarstyles__BarPart",componentId:"sc-1sn65pk-4"})(["display:block;height:100%;float:left;background-color:#000;transition:width 0.3s;"," ",""],(function(e){return"\n width: ".concat(e.percent||0,"%;\n ")}),(function(e){return e.color&&"\n ".concat("back-empty"===e.color?"\n background-color: transparent;\n ":"","\n ").concat("back-minimum"===e.color?"\n background-color: #4a90e2;\n ":"","\n ").concat("back-disabled"===e.color?"\n background-color: #4a90e2;\n background-image: repeating-linear-gradient(-45deg, #004bb7, #004bb7 2px, #4a90e2 2px, #4a90e2 5px);\n ":"","\n ").concat("fill-empty"===e.color?"\n background-color: transparent;\n ":"","\n ").concat("fill-minimum"===e.color?"\n background-color: #fff;\n ":"","\n ").concat("fill-minimum-grey"===e.color?"\n background-color: #e1e1e1;\n ":"","\n ").concat("fill-bought"===e.color?"\n background-color: #69bd53;\n background-image: linear-gradient(to left, #a9ef9c, #69bd53);\n ":"","\n ")})),yn=function(e){var n=e.backParts,r=e.fillParts,o=e.fill;return t().createElement(pn,null,t().createElement(mn,null,n.map((function(e){return t().createElement(bn,{key:e.label,percent:e.value,color:"back-".concat(e.label)})}))),t().createElement(gn,{percent:o},t().createElement(hn,{percent:o},r.map((function(e){return t().createElement(bn,{key:e.label,percent:e.value,color:"fill-".concat(e.label)})})))))},vn={backParts:i().arrayOf(i().shape({value:i().number.isRequired,label:i().string.isRequired})).isRequired,fillParts:i().arrayOf(i().shape({value:i().number.isRequired,label:i().string.isRequired})).isRequired,fill:i().number.isRequired};yn.propTypes=vn;var wn,xn,En=yn;function Sn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var On,In,An,kn=l()(gt).withConfig({displayName:"CaptialRaisedSummarystyles__Wrapper",componentId:"sc-1608cnu-0"})(["background:",";display:flex;flex-direction:column;justify-content:center;height:100%;margin-top:-1px;"],(function(e){return p.cPrimary})),Cn=l().div.withConfig({displayName:"CaptialRaisedSummarystyles__Title",componentId:"sc-1608cnu-1"})(["font-size:11px;line-height:20px;letter-spacing:2px;margin-bottom:14px;color:",";"],(function(e){return p.cWhite})),Pn=l().div.withConfig({displayName:"CaptialRaisedSummarystyles__Amount",componentId:"sc-1608cnu-2"})(["font-size:34px;line-height:40px;font-weight:300;margin-bottom:20px;letter-spacing:2px;color:",";white-space:nowrap;"," ",""],(function(e){return p.cWhite}),G.Medium(wn||(wn=Sn(["\n font-size: 28px;\n "]))),G.Large(xn||(xn=Sn(["\n font-size: 34px;\n "])))),Tn=function(e){var n=e.capital,r=e.multiProgressBar;return t().createElement(kn,null,t().createElement(Cn,null,"CAPITAL RAISED"),t().createElement(Pn,null,t().createElement(dn(),{end:n,prefix:"€ ",duration:.01,separator:","})),t().createElement(En,r))};function jn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Tn.propTypes={capital:i().number.isRequired,multiProgressBar:i().shape(vn).isRequired};var Mn=l().div.withConfig({displayName:"ChartBoxstyles__Container",componentId:"sc-1h5ta2j-0"})(["position:relative;font-size:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 0;text-align:left;width:100%;"," @media screen and (max-width:767px){width:100%;}"],G.Medium(On||(On=jn(["\n align-items: start;\n padding: 64px 0;\n flex-direction: row;\n "])))),_n=(l().div.withConfig({displayName:"ChartBoxstyles__Chart",componentId:"sc-1h5ta2j-1"})(["display:block;"]),l().div.withConfig({displayName:"ChartBoxstyles__Legend",componentId:"sc-1h5ta2j-2"})(["display:block;width:100%;padding-top:64px;"," ",""],G.Medium(In||(In=jn(["\n width: auto;\n flex-grow: 1;\n padding-top: 0;\n padding-left: 64px;\n\n ","\n "])),(function(e){return e.spaceTop&&"\n padding-top: 104px;\n "})),G.Large(An||(An=jn(["\n max-width: 768px;\n "])))),l().div.withConfig({displayName:"ChartBoxstyles__SelectWrapper",componentId:"sc-1h5ta2j-3"})(["padding-bottom:64px;"]),function(){return t().createElement(Mn,null,t().createElement(gt,{center:!0},t().createElement(Te,null,t().createElement("h4",null,"No Investments yet..."))))}),Nn=function(){return t().createElement(Mn,null,t().createElement(gt,{center:!0},t().createElement(Te,null,t().createElement("h4",null,"No Distributions yet..."))))},Rn=require("react-collapse"),Ln=l().div.withConfig({displayName:"ChartLegendstyles__Items",componentId:"sc-gh1vwu-0"})(["display:block;margin:-16px 0;"]),Bn=l().div.withConfig({displayName:"ChartLegendstyles__Item",componentId:"sc-gh1vwu-1"})(["padding:16px 0;"]),zn=l().div.withConfig({displayName:"ChartLegendstyles__Head",componentId:"sc-gh1vwu-2"})(["cursor:pointer;position:relative;font-size:0;padding:0 46px;"]),Dn=l().div.withConfig({displayName:"ChartLegendstyles__Body",componentId:"sc-gh1vwu-3"})(["padding:18px 0;"]),Gn=l().div.withConfig({displayName:"ChartLegendstyles__ColorLabel",componentId:"sc-gh1vwu-4"})(["display:block;width:28px;height:28px;background-color:",";position:absolute;top:0;left:0;"],(function(e){return e.itemColor})),qn=l().div.withConfig({displayName:"ChartLegendstyles__NameCol",componentId:"sc-gh1vwu-5"})(["width:50%;display:inline-block;vertical-align:top;"]),Fn=l().div.withConfig({displayName:"ChartLegendstyles__ValueCol",componentId:"sc-gh1vwu-6"})(["width:50%;display:inline-block;vertical-align:top;"]),Un=l().div.withConfig({displayName:"ChartLegendstyles__LargeText",componentId:"sc-gh1vwu-7"})(["font-weight:300;font-size:22px;line-height:28px;"]),Wn=l().div.withConfig({displayName:"ChartLegendstyles__SmallText",componentId:"sc-gh1vwu-8"})(["font-size:11px;line-height:12px;margin-top:4px;font-style:italic;"]),Hn=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"ChartLegendstyles__Arrow",componentId:"sc-gh1vwu-9"})(["&&&{position:absolute;top:14px;right:24px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;margin-top:-8px;","}"],(function(e){return e.isOpened&&"\n transform: rotate(180deg);\n "}));function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Yn=function(n){var r=n.data,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vn(e,t):void 0}}(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.")}()}((0,e.useState)(r.map((function(){return!1}))),2),i=o[0],a=o[1];return t().createElement(Ln,null,r.map((function(e,n){return t().createElement(Bn,{key:e.name},t().createElement(zn,{onClick:function(){return e=n,t=r.map((function(t,n){return n===e?!i[n]:i[n]})),void a(t);var e,t}},t().createElement(Gn,{itemColor:e.color}),t().createElement(qn,null,t().createElement(Un,null,e.name),t().createElement(Wn,null,e.subname)),t().createElement(Fn,null,t().createElement(Un,null,e.value),t().createElement(Wn,null,e.info)),e.details&&t().createElement(Hn,{isOpened:i[n]})),e.details&&t().createElement(Rn.Collapse,{isOpened:i[n]},t().createElement(Dn,null,e.details)))})))};Yn.propTypes={data:i().arrayOf(i().shape({value:i().number.isRequired,name:i().string,color:i().string,subname:i().string,info:i().string})).isRequired};var Qn,Kn,Jn,Zn=require("react-copy-to-clipboard"),Xn={expand:"\\e923",shrink:"\\e924",emoji:"\\e922",arrowDown:"\\e900",arrowLeft:"\\e901",arrowRight:"\\e902",arrowUp:"\\e903",heart:"\\e904",heartFill:"\\e921",lock:"\\e905",menu:"\\e906",pen:"\\e907",star:"\\e908",trash:"\\e909",unread:"\\e90a",user:"\\e90b",edit:"\\e90c",check:"\\e90d",inProgress:"\\e90e",warning:"\\e90f",logout:"\\e910",tokenHolder:"\\e911",teams:"\\e912",tokenSales:"\\e913",analytics:"\\e914",updates:"\\e915",overview:"\\e916",comments:"\\e917",hamburger:"\\e918",share:"\\e919",facebook:"\\e91a",linkedin:"\\e91b",medium:"\\e91c",reddit:"\\e91d",telegram:"\\e91e",twitter:"\\e91f",youtube:"\\e920"},$n=l().i.attrs({className:"ion ion-md-information-circle"}).withConfig({displayName:"Iconstyle__TooltipIcon",componentId:"sc-1v2m4hs-0"})(["position:relative;left:-0.4px;font-size:18px;opacity:0.2;transform:rotateY(180deg);"]),er=l().i.withConfig({displayName:"Iconstyle__Icon",componentId:"sc-1v2m4hs-1"})(["font-family:'icomoon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;&::before{content:\"",'";}',""],(function(e){return e.icon}),(function(e){return e.checklist&&(0,c.css)(Qn||(Qn=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n margin-left: 3px;\n margin-right: 11px;\n "])))})),tr=er,nr=require("@fortawesome/react-fontawesome"),rr=require("@fortawesome/free-solid-svg-icons");function or(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ir=l().div.withConfig({displayName:"CryptoAddressstyles__Container",componentId:"sc-1wjvdgu-0"})(["position:relative;"]),ar=l().div.withConfig({displayName:"CryptoAddressstyles__Head",componentId:"sc-1wjvdgu-1"})(["position:relative;margin-bottom:5px;&:after{content:'';display:block;width:100%;height:0;clear:both;}"," ",""],(function(e){return e.noBody&&"margin-bottom: 0"}),(function(e){return e.flexHead&&"\n display:flex;\n justify-content:space-between;\n align-items:center;\n flex-wrap:wrap;\n "})),cr=l().div.withConfig({displayName:"CryptoAddressstyles__Body",componentId:"sc-1wjvdgu-2"})(["position:relative;&:after{content:'';display:block;width:100%;height:0;clear:both;}",""],(function(e){return e.noBody&&"display: none"})),lr=l().div.withConfig({displayName:"CryptoAddressstyles__Title",componentId:"sc-1wjvdgu-3"})(["float:left;font-weight:bold;font-size:11px;line-height:24px;letter-spacing:2px;text-transform:uppercase;padding-right:20px;color:",";"],(function(e){return e.color})),sr=l().span.withConfig({displayName:"CryptoAddressstyles__Status",componentId:"sc-1wjvdgu-4"})(["display:inline-block;vertical-align:top;padding:0px 16px;background-color:",";color:",";font-weight:600;font-size:8px;letter-spacing:1.78px;line-height:16px;border-radius:8px;margin-left:12px;margin-top:4px;"],(function(e){return p.cBlack}),(function(e){return p.cWhite})),ur=l().div.withConfig({displayName:"CryptoAddressstyles__TitleSide",componentId:"sc-1wjvdgu-5"})(["display:block;float:right;margin:4px 0;width:40%;"]),fr=l().div.withConfig({displayName:"CryptoAddressstyles__AddressWrap",componentId:"sc-1wjvdgu-6"})(["display:flex;align-items:center;"]),dr=l().span.withConfig({displayName:"CryptoAddressstyles__Address",componentId:"sc-1wjvdgu-7"})(["display:block;font-weight:600;font-size:11px;line-height:16px;margin-right:6px;color:",";transition:color 0.2s;cursor:pointer;&:before{content:'\\f3d1';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:12px;line-height:8px;display:inline-block;width:8px;height:8px;margin-right:6px;}&:hover{color:",";}"],(function(e){return p.cBlack}),(function(e){return p.cPrimary})),pr=(l().span.withConfig({displayName:"CryptoAddressstyles__TableAddress",componentId:"sc-1wjvdgu-8"})(["line-height:16px;cursor:pointer;&:hover{color:",";}"],(function(e){return p.cPrimary})),l()(nr.FontAwesomeIcon).attrs({icon:rr.faCopy}).withConfig({displayName:"CryptoAddressstyles__CopyToClipboardButton",componentId:"sc-1wjvdgu-9"})(["color:",";cursor:pointer;"],(function(e){return p.black}))),mr=l().div.withConfig({displayName:"CryptoAddressstyles__DataBox",componentId:"sc-1wjvdgu-10"})(["float:left;"]),hr=l().div.withConfig({displayName:"CryptoAddressstyles__InfoBox",componentId:"sc-1wjvdgu-11"})(["float:right;width:40%;@media (max-width:430px){width:100%;padding-top:14px;text-align:start;}"]),gr=l().div.withConfig({displayName:"CryptoAddressstyles__Value",componentId:"sc-1wjvdgu-12"})(["position:relative;font-weight:300;font-size:22px;font-size:","px;line-height:28px;letter-spacing:0.4px;strong{font-weight:normal;&:after{content:' ';}}"],(function(e){return e.fontSize})),br=l().div.withConfig({displayName:"CryptoAddressstyles__Equal",componentId:"sc-1wjvdgu-13"})(["position:relative;font-size:9px;font-style:italic;line-height:16px;letter-spacing:0.4px;margin-top:8px;"]),yr=l().div.withConfig({displayName:"CryptoAddressstyles__DataWrapper",componentId:"sc-1wjvdgu-14"})(["position:relative;padding-right:24px;",""],G.Medium(Kn||(Kn=or(["\n ","\n \n "])),(function(e){return e.withOptions&&"\n padding-right: 100px;\n\n ".concat(ur," {\n width: 50%;\n }\n\n ").concat(hr," {\n width: 50%;\n }\n ")}))),vr=l().div.withConfig({displayName:"CryptoAddressstyles__CheckMark",componentId:"sc-1wjvdgu-15"})(["position:absolute;display:block;width:14px;height:14px;top:50%;right:0;margin-top:-7px;border:1px solid #9b9b9b;border-radius:7px;background-color:transparent;transition:border-color 0.2s,background-color 0.2s;&:before,&:after{content:'';display:block;position:absolute;top:50%;left:50%;opacity:0;transform:scale(0);transition:opacity 0.2s,transform 0.4s cubic-bezier(0.8,-0.5,0.6,0.6);}&:after{width:4px;height:4px;margin-top:-2px;margin-left:-2px;border-radius:2px;background-color:",";box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);}"],(function(e){return p.cPrimary})),wr=l().div.withConfig({displayName:"CryptoAddressstyles__Radio",componentId:"sc-1wjvdgu-16"})(["& > input{",";z-index:-1;position:absolute;top:4px;left:4px;display:block;width:1px;height:0;opacity:0;border:0;& + label{display:block;position:relative;",";&:before{content:'';width:6px;position:absolute;top:0;left:0;height:100%;background-color:transparent;transition:background-color 0.2s;}}&:disabled + label{&:before{background-color:transparent !important;}","{border-color:","!important;background-color:","!important;}}&:checked + label{&:before{background-color:","!important;}","{&:before,&:after{opacity:1;transform:scale(1);transition:opacity 0.2s,transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275);}}}&:focus + label,&:hover + label,& + label:hover{&:before{background-color:",";}","{border-color:",";}}}"],(function(e){return e.hide&&"visibility: hidden"}),(function(e){return!e.disabled&&"cursor: pointer"}),vr,(function(e){return p.cLightGrey}),(function(e){return p.cGrey}),(function(e){return p.cWarning}),vr,(function(e){return p.cLightGrey}),vr,(function(e){return p.cPrimary})),xr=l().div.withConfig({displayName:"CryptoAddressstyles__OptionsWrapper",componentId:"sc-1wjvdgu-17"})(["text-align:center;margin-right:-24px;",""],G.Medium(Jn||(Jn=or(["\n margin-right: 0;\n position: absolute;\n display: block;\n width: 100px;\n top: 50%;\n right: 0;\n text-align:center;\n transform: translate(0, -50%); \n "])))),Er=(l().button.withConfig({displayName:"CryptoAddressstyles__CryptoAddressOption",componentId:"sc-1wjvdgu-18"})(["display:inline-block;position:relative;width:40px;height:40px;outline:none;margin-left:10px;border:1px solid ",";border-radius:20px;color:",";transition:color 0.2s;&:focus,&:hover{color:",";}"],(function(e){return p.cLightGrey}),(function(e){return p.cWarning}),(function(e){return p.cPrimary})),l()(tr).withConfig({displayName:"CryptoAddressstyles__CryptoAddressOptionIcon",componentId:"sc-1wjvdgu-19"})(["position:absolute;top:50%;left:50%;width:16px;height:16px;font-size:16px;line-height:16px;margin-top:-8px;margin-left:-8px;text-align:center;",""],(function(e){return e.large&&"\n width: 20px;\n height: 20px;\n font-size: 20px;\n line-height: 20px;\n margin-top: -10px;\n margin-left: -10px;\n "})),l().button.withConfig({displayName:"CryptoAddressstyles__CryptoAddressToggle",componentId:"sc-1wjvdgu-20"})(["display:inline-block;position:relative;width:40px;height:40px;outline:none;margin-left:10px;border-radius:20px;color:",";transition:color .2s;transform:translateZ(0);&:focus,&:hover{color:",";}&:before{content:'","';position:absolute;top:50%;left:50%;width:16px;height:16px;font-size:16px;line-height:16px;margin-top:-8px;margin-left:-8px;font-family:'icomoon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;transition:transform .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}",""],(function(e){return p.cBlack}),(function(e){return p.cPrimary}),Xn.arrowDown,(function(e){return e.isActive&&"\n &:before {\n transform: rotate(180deg);\n }\n "})),function(n){var r=n.children,o=n.radio;return o?t().createElement(wr,{hide:o.hide},t().createElement("input",{type:"radio",id:o.id,name:o.name||o.id,value:o.value,checked:o.checked,disabled:o.disabled,onChange:o.onChange,onBlur:o.onBlur}),t().createElement("label",{htmlFor:o.id},r)):t().createElement(e.Fragment,null,r)});Er.propTypes={children:i().node.isRequired,radio:i().shape({id:i().string.isRequired,name:i().string,value:i().string,checked:i().bool,onChange:i().func,onBlur:i().func,hide:i().bool})},Er.defaultProps={radio:null};var Sr=Er,Or=function(n){var r=n.children,o=n.wrapped,i=n.borderTop,a=n.borderBottom;return o?t().createElement(gt,{borderTop:i,borderBottom:a},r):t().createElement(e.Fragment,null,r)};Or.propTypes={children:i().node.isRequired,wrapped:i().bool,borderTop:i().bool,borderBottom:i().bool},Or.defaultProps={wrapped:!1,borderTop:!1,borderBottom:!1};var Ir=Or;function Ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kr=function(n){var r=n.title,o=n.status,i=n.address,c=n.data,l=n.info,s=n.wrapped,u=n.borderTop,f=n.borderBottom,d=n.radio,p=n.sideOptions,m=n.src,h=n.noBody,g=n.noBorderBottom,b=n.flexHead,y=(n.fontSize,n.titleColor),v=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ar(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),w=v[0],x=v[1];return t().createElement(ir,null,t().createElement(Sr,{radio:d},t().createElement(Ir,{wrapped:s,borderTop:u,borderBottom:!g&&f},t().createElement(yr,{withOptions:!!p},d&&!d.hide&&t().createElement(vr,null),t().createElement(ar,{noBody:h,flexHead:b},t().createElement(lr,{color:y},r,o&&t().createElement(sr,null,o)),t().createElement(ur,null,i&&t().createElement(fr,null,t().createElement(a.Tooltip,{position:"top",title:i,theme:"light",arrow:!0,duration:200},t().createElement(dr,null,function(e){return"".concat(e.slice(0,6),"[...]").concat(e.slice(-4))}(i))),t().createElement("div",{onClick:function(e){return e.preventDefault()}},t().createElement(a.Tooltip,{position:"top",title:w?"Copied to clipboard!":"Click to copy address to clipboard",theme:"light",arrow:!0,hideOnClick:!1,onHidden:function(){return x(!1)},duration:200},t().createElement(Zn.CopyToClipboard,{text:i,onCopy:function(){return x(!0)}},t().createElement(pr,null))))),m&&t().createElement("img",{src:m,alt:"project logo",height:"50"}))),t().createElement(cr,{noBody:h},t().createElement(mr,null,c.value&&t().createElement(gr,null,c.unit&&"".concat(c.unit," "),c.value),c.eqValue&&t().createElement(br,null,"= ",c.eqUnit&&"".concat(c.eqUnit," "),c.eqValue)),t().createElement(hr,null,t().createElement(gr,null,l.unit&&t().createElement("strong",null,l.unit),l.value),l.eqValue&&t().createElement(br,null,l.noEqualsToSign?" ":"= ",l.eqUnit&&t().createElement("strong",null,l.eqUnit),l.eqValue))),p&&t().createElement(xr,null,p)))))},Cr=i().shape({value:i().oneOfType([i().string,i().number]).isRequired,unit:i().oneOfType([i().string,i().number]),eqValue:i().oneOfType([i().string,i().number]),eqUnit:i().oneOfType([i().string,i().number])});kr.propTypes={title:i().string.isRequired,status:i().string,address:i().string.isRequired,wrapped:i().bool,borderTop:i().bool,borderBottom:i().bool,radio:Sr.propTypes.radio,data:Cr,info:Cr,sideOptions:i().node,fontSize:i().number},kr.defaultProps={status:"",wrapped:!1,borderTop:!1,borderBottom:!1,radio:null,address:"",data:{value:"",unit:"",eqValue:"",eqUnit:""},info:{value:"",unit:"",eqValue:"",eqUnit:""},fontSize:22,sideOptions:null};var Pr,Tr,jr,Mr=t().memo(kr),_r=kr,Nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=Math.floor(e/t*1e4);return n%2!=0&&(n-=1),"".concat(n/100,"%")};function Rr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Lr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Container",componentId:"sc-1aj5egi-0"})(["position:relative;"]),Br=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Row",componentId:"sc-1aj5egi-1"})(["background-color:",";color:",";padding:22px 32px;"," "," &:nth-child(n+3){border-top:1px solid #003e9d;}"],(function(e){return p.cPrimaryDark}),(function(e){return p.cWhite}),G.Medium(Pr||(Pr=Rr(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 22px ",";\n "])),Nr(1.5)),(function(e){return e.head&&"\n display: none;\n background-color: ".concat(p.cPrimary,";\n color: #ffffff;\n font-size: 11px;\n line-height: 24px;\n letter-spacing: 2.06px;\n text-transform: uppercase;\n min-height: 56px;\n padding: 10px 32px;\n\n ").concat(G.Medium(Tr||(Tr=Rr(["\n display: flex;\n padding: 10px ",";\n "])),Nr(1.5)),"\n ")})),zr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Column",componentId:"sc-1aj5egi-2"})([""," "," "," "," ",""],(function(e){return e.balance&&"\n margin-top: 20px;\n "}),(function(e){return e.transfer&&"\n margin-top: 20px;\n "}),G.Medium(jr||(jr=Rr(["\n display: inline-block;\n\n ","\n \n ","\n \n ","\n\n ","\n "])),(function(e){return e.tokens&&"\n width: 40%;\n padding-right: 10px;\n "}),(function(e){return e.balance&&"\n width: 30%;\n padding-right: 10px;\n margin-top: 0;\n "}),(function(e){return e.transfer&&"\n width: 30%;\n margin-top: 0;\n "}),(function(e){return e.nameBox&&"\n display: flex;\n "})),(function(e){return e.balanceText&&"\n font-weight: 300;\n font-size: 22px;\n line-height: 28px;\n letter-spacing: 0.8px;\n text-transform: uppercase;\n "}),(function(e){return e.nameBox&&"\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n "})),Dr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Avatar",componentId:"sc-1aj5egi-3"})(["display:inline-block;width:48px;height:48px;border-radius:24px;background-color:",";overflow:hidden;box-shadow:0 1px 8px 0 rgba(0,0,0,0.1);"],(function(e){return p.cPrimary})),Gr=l().img.withConfig({displayName:"CryptoAddressDetailsstyles__AvatarImg",componentId:"sc-1aj5egi-4"})(["display:block;width:100%;height:100%;object-fit:cover;object-position:center center;"]),qr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Name",componentId:"sc-1aj5egi-5"})(["display:inline-block;margin-left:26px;font-weight:600;font-size:16px;line-height:24px;letter-spacing:0.6px;word-break:break-all;"]),Fr=function(e){var n=e.data;return t().createElement(Lr,null,t().createElement(Br,{head:!0},t().createElement(zr,{tokens:!0},"Tokens"),t().createElement(zr,{balance:!0},"Balance"),t().createElement(zr,{transfer:!0})),n.map((function(e){return t().createElement(Br,{key:e.id},t().createElement(zr,{tokens:!0,nameBox:!0},t().createElement(Dr,null,t().createElement(Gr,{src:e.avatar,alt:"avatar"})),t().createElement(qr,null,e.name)),t().createElement(zr,{balance:!0,balanceText:!0},e.balance),t().createElement(zr,{transfer:!0},t().createElement(sn,{outline:!0,fluid:!0,onClick:e.transferClick},"Transfer")))})))};Fr.propTypes={data:i().arrayOf(i().shape({id:i().number,avatar:i().string,name:i().string,balance:i().string,transferClick:i().func})).isRequired};var Ur,Wr=n(955),Hr=n.n(Wr),Vr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Container",componentId:"sc-1w92ir3-0"})(["position:relative;display:block;"]),Yr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Address",componentId:"sc-1w92ir3-1"})(["position:relative;visibility:visible;opacity:1;",""],(function(e){return e.isHidden&&"\n visibility: hidden;\n opacity: 0;\n "})),Qr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__InfoBoxWrapper",componentId:"sc-1w92ir3-2"})(["z-index:1;position:absolute;top:0;left:0;display:block;width:100%;height:100%;font-size:0;&:after{content:'';display:inline-block;vertical-align:middle;width:0;height:100%;}",""],(function(e){return e.relative&&"\n position: relative;\n "})),Kr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__InfoBox",componentId:"sc-1w92ir3-3"})(["display:inline-block;vertical-align:middle;max-width:100%;",";",";"],(function(e){return e.refresh&&"\n color: ".concat(p.cPrimary,";\n ")}),(function(e){return e.failed&&"\n color: ".concat(p.cWarning,";\n ")})),Jr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Loader",componentId:"sc-1w92ir3-4"})(["display:inline-block;vertical-align:middle;width:40px;height:40px;margin:0 auto;margin-right:-40px;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;background-image:url(",");"],Hr()),Zr=l().i.attrs({className:"ion ion-ios-close-circle"}).withConfig({displayName:"CryptoAddressWrapperstyles__FailedIcon",componentId:"sc-1w92ir3-5"})(["display:inline-block !important;vertical-align:middle;width:40px;height:40px;margin-right:-40px;&:before{display:block;font-size:48px;line-height:40px;text-align:center;}"]),Xr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Text",componentId:"sc-1w92ir3-6"})(["display:inline-block;vertical-align:middle;font-weight:300;font-size:16px;line-height:1.5em;letter-spacing:0.6px;padding-left:60px;max-width:100%;",""],G.XLarge(Ur||(Ur=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n font-size: 20px;\n "])))),$r=function(e){var n=e.children,r=e.refresh,o=e.failed,i=e.relative,a=e.noFailedIcon;return t().createElement(Vr,null,n&&t().createElement(Yr,{isHidden:r||o},n),r&&t().createElement(Qr,{relative:i},t().createElement(Kr,{refresh:!0},t().createElement(Jr,null),t().createElement(Xr,null,r))),o&&t().createElement(Qr,{relative:i},t().createElement(Kr,{failed:!0},!a&&t().createElement(Zr,null),t().createElement(Xr,null,o))))};$r.propTypes={children:i().node.isRequired,refresh:i().string,failed:i().string},$r.defaultProps={refresh:"",failed:""};var eo,to=$r,no=l().div.withConfig({displayName:"DoubleButtonstyles__DoubleButtons",componentId:"sc-13b0zge-0"})(["margin:-12px;","{width:100%;margin:12px;}",""],sn,G.Medium(eo||(eo=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n display: flex;\n flex-direction: ",";\n\n \n "," {\n width: auto;\n flex: 1;\n }\n "])),(function(e){return e.column?"column":"row"}),sn)),ro=no,oo=l().p.withConfig({displayName:"ErrorMessagestyles__ErrorMessage",componentId:"sc-1b3bbc3-0"})(["color:#ee220d;font-size:12px;margin-top:20px;"]),io=require("scroll-to-element"),ao=l().div.withConfig({displayName:"FAQstyles__FaqItems",componentId:"sc-dtvahh-0"})(["position:relative;"]),co=l().div.withConfig({displayName:"FAQstyles__FaqItem",componentId:"sc-dtvahh-1"})(["& + &{margin-top:30px;}"]),lo=l().button.withConfig({displayName:"FAQstyles__FaqTitle",componentId:"sc-dtvahh-2"})(["display:block;width:100%;position:relative;font-family:'Open Sans';font-weight:600;font-size:16px;line-height:24px;letter-spacing:0.4px;color:",";padding:0;margin:0;outline:0;border:none;padding-right:30px;text-align:left;transition:color 0.2s;&:hover{color:inherit;}",""],(function(e){return p.cBlack}),(function(e){return e.isActive&&"\n ".concat(so," {\n transform: rotate(180deg);\n }\n ")})),so=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"FAQstyles__FaqDropdownIcon",componentId:"sc-dtvahh-3"})(["width:14px;height:20px;font-size:20px;position:absolute;top:50%;right:0;margin-top:-10px;transform:rotate(0);transition:0.3s transform;"]),uo=l()(Rn.Collapse).withConfig({displayName:"FAQstyles__FaqContent",componentId:"sc-dtvahh-4"})(["opacity:0;transition:opacity 0.2s;",""],(function(e){return e.isOpened&&"\n opacity: 1;\n "})),fo=l().div.withConfig({displayName:"FAQstyles__FaqText",componentId:"sc-dtvahh-5"})(["padding:0;padding-top:30px;padding-bottom:10px;font-weight:300;font-size:16px;line-height:24px;letter-spacing:0.4px;"]);function po(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mo=function(n){var r=n.items,o=n.noScroll,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return po(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?po(e,t):void 0}}(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.")}()}((0,e.useState)(null),2),a=i[0],c=i[1];return t().createElement(ao,null,r.map((function(e,n){return t().createElement(co,{key:e.title},t().createElement(lo,{isActive:a===n,onClick:function(e){return function(e,t){e.persist();var n=a===t?null:t;c(n),o||null===n||io(e.target.parentElement,{duration:300,offset:20})}(e,n)}},e.title,t().createElement(so,null)),t().createElement(uo,{isOpened:a===n},"string"==typeof e.content?t().createElement(fo,null,e.content):t().createElement(t().Fragment,null,t().createElement("br",null),t().createElement(Te,null,t().createElement("ul",null,e.content.map((function(e){return t().createElement("li",{key:e},e)})))))))})))};mo.propTypes={items:i().arrayOf(i().shape({title:i().string.isRequired,content:i().oneOfType([i().string,i().array]).isRequired})).isRequired};var ho,go,bo=mo,yo=96,vo=56;function wo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var xo,Eo,So,Oo,Io,Ao,ko,Co,Po,To,jo,Mo,_o=l().div.withConfig({displayName:"Gridstyles__Wrapper",componentId:"sc-1jreazl-0"})(["height:100%;"]),No=l().div.withConfig({displayName:"Gridstyles__Row",componentId:"sc-1jreazl-1"})(["display:flex;flex-wrap:wrap;text-align:left;"," "," "," "," "," "," ",""],(function(e){return e.center&&"\n justify-content: center;\n "}),(function(e){return e.right&&"\n justify-content: right;\n "}),(function(e){return e.spaceBetween&&"\n justify-content: space-between;\n "}),(function(e){return e.stretch&&"\n height: 100%;\n align-items: stretch;\n "}),(function(e){return e.dashboard&&"\n margin: -16px;\n "}),(function(e){return e.nowrap&&"\n flex-wrap: nowrap;\n "}),G.Medium(ho||(ho=wo(["\n ","\n "])),(function(e){return e.main&&"\n z-index: 0;\n min-height: calc(100vh - ".concat(vo,"px);\n padding-top: ").concat(yo,"px;\n ")}))),Ro=l().div.withConfig({displayName:"Gridstyles__Column",componentId:"sc-1jreazl-2"})(["display:flex;flex-direction:column;width:100%;"," "," "," "," "," ",""],(function(e){return e.center&&"\n justify-content: center;\n "}),(function(e){return e.alignCenter&&"\n align-items: center;\n "}),(function(e){return e.spaceBetween&&"\n justify-content: space-between;\n "}),(function(e){return e.flexEnd&&"\n justify-content: flex-end;\n "}),(function(e){return e.mainRelative&&"\n padding: 18px 0 28px;\n "}),G.Medium(go||(go=wo(["\n ","\n\n ","\n\n ","\n\n ","\n "])),(function(e){return e.part&&"\n width: ".concat(Nr(e.part,e.full),";\n ")}),(function(e){return e.mainFixed&&"\n position: fixed;\n top: ".concat(yo,"px;\n left: 0;\n height: calc(100% - ").concat(yo,"px);\n ")}),(function(e){return e.mainRelative&&"\n position: relative;\n margin-left: ".concat(Nr((e.full||16)-e.part,e.full),";\n border-left: 1px solid ").concat(p.cLightGrey,";\n padding: 54px 0 42px;\n ")}),(function(e){return e.withBorder&&"\n border-left: 1px solid ".concat(p.cLightGrey,";\n ")}))),Lo=l().div.withConfig({displayName:"Gridstyles__PageWrapper",componentId:"sc-1jreazl-3"})(["min-height:100vh;display:flex;flex-direction:column;","{flex-grow:1;}"],No),Bo=n.p+"76dd0ed9c3f137513fd4.svg";function zo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Do=l().footer.withConfig({displayName:"Footerstyles__StyledFooter",componentId:"sc-12rq6gz-0"})(["z-index:15;position:relative;"," "," "," @media screen and (max-width:991px){height:auto;}"],(function(e){return"primary"===e.color&&(0,c.css)(xo||(xo=zo(["\n color: ",";\n background-color: ",";\n\n ","\n "])),s.white,s.blue,G.Medium(Eo||(Eo=zo(["\n box-shadow: inset 0 1px 0 0 ",";\n "])),s.blueDark))}),(function(e){return"red"===e.color&&(0,c.css)(So||(So=zo(["\n color: ",";\n background-color: ",";\n\n ","\n "])),s.white,s.orangishRed,G.Medium(Oo||(Oo=zo(["\n box-shadow: inset 0 1px 0 0 ",";\n padding: 0 65px;\n "])),s.orangishRed))}),G.Medium(Io||(Io=zo(["\n width: 100%;\n height: 65px;\n "])))),Go=l().div.withConfig({displayName:"Footerstyles__FooterInner",componentId:"sc-12rq6gz-1"})(["padding:24px 0;justify-content:space-between;"," @media screen and (max-width:991px){flex-direction:column;padding:56px 65px;}"],G.Medium(Ao||(Ao=zo(["\n // padding: 20px ",";\n padding: 20px 0;\n display: flex;\n align-items: center;\n height: 100%;\n "])),Nr(1))),qo=(l().div.withConfig({displayName:"Footerstyles__NavWrap",componentId:"sc-12rq6gz-2"})(["text-align:center;",""],G.Medium(ko||(ko=zo(["\n flex: 1;\n text-align: left;\n "])))),l().div.withConfig({displayName:"Footerstyles__CopyrightWrap",componentId:"sc-12rq6gz-3"})(["text-align:center;",""],G.Medium(Co||(Co=zo(["\n flex: 2;\n "])))),l().div.withConfig({displayName:"Footerstyles__PartnerWrap",componentId:"sc-12rq6gz-4"})(["text-align:center;"," @media screen and (max-width:991px){text-align:center;margin-bottom:25px;}"],G.Medium(Po||(Po=zo(["\n // flex: 2;\n text-align: left;\n "]))))),Fo=l().div.withConfig({displayName:"Footerstyles__PoweredWrap",componentId:"sc-12rq6gz-5"})(["margin-top:10px;text-align:center;",""],G.Medium(To||(To=zo(["\n // flex: 1;\n text-align: right;\n "])))),Uo=(l().nav.withConfig({displayName:"Footerstyles__FooterNav",componentId:"sc-12rq6gz-6"})(["display:block;font-size:0;padding-top:6px;padding-bottom:30px;"," ul{display:block;margin:0;padding:0;margin-left:-32px;}li{display:inline-block;vertical-align:middle;margin-left:32px;}a{position:relative;display:block;font-size:12px;line-height:16px;letter-spacing:2px;text-transform:uppercase;padding:2px 0;&:before{content:'';display:block;height:2px;width:100%;position:absolute;top:100%;left:0;background-color:",";opacity:0;transform:translateY(8px);transition:opacity 0.2s,transform 0.2s;}&:hover{&:before{opacity:1;transform:translateY(0);}}","}"],G.Medium(jo||(jo=zo(["\n padding-top: 0;\n padding-bottom: 0;\n "]))),s.white,G.Medium(Mo||(Mo=zo(["\n font-size: 9px;\n line-height: 16px;\n "])))),l().span.withConfig({displayName:"Footerstyles__Partner",componentId:"sc-12rq6gz-7"})(["font-size:10px;font-weight:400;line-height:10px;letter-spacing:2.1px;img{margin-bottom:4px;}@media screen and (max-width:560px){line-height:20px;}"])),Wo=l().span.withConfig({displayName:"Footerstyles__Copyright",componentId:"sc-12rq6gz-8"})(["font-size:10px;font-weight:400;line-height:23px;letter-spacing:2.1px;text-transform:uppercase;img{margin-bottom:4px;}"]),Ho=l().div.withConfig({displayName:"Footerstyles__Powered",componentId:"sc-12rq6gz-9"})(["display:flex;flex-direction:column;align-items:self-start;span{vertical-align:middle;text-transform:uppercase;-webkit-letter-spacing:2.1px;-moz-letter-spacing:2.1px;-ms-letter-spacing:2.1px;letter-spacing:2.1px;line-height:10x;font-size:10px;white-space:nowrap;color:inherit;font-weight:400;}a{display:inline-block;vertical-align:middle;margin-left:4px;transition:opacity 0.2s;&:hover{opacity:0.5;}}img{position:relative;width:42px;}@media screen and (max-width:991px){align-items:center;}"]),Vo=n(748),Yo=function(e){var n=e.color;return t().createElement(Do,{color:n},t().createElement(_o,null,t().createElement(Go,null,t().createElement(qo,null,t().createElement(Uo,null,"PARTNER OF"," ",t().createElement("img",{style:{verticalAlign:"middle"},src:Vo,height:"20",alt:"Lemonway logo"})," ","LEMONWAY. A EUROPEAN PAYMENT INSTITUTION",t().createElement("br",null),"ACCREDITED IN FRANCE BY THE ACPR (CIB 16568).")),t().createElement(Fo,null,t().createElement(Ho,null,t().createElement("div",null,t().createElement("span",null,"powered by"),t().createElement("a",{href:"https://www.sicos.io/",target:"_blank",rel:"noopener noreferrer"},t().createElement("img",{src:Bo,alt:"SICOS"})))),t().createElement(Wo,null,"Copyright ",(new Date).getFullYear()," STOKR. All rights reserved.")))))};Yo.propTypes={color:i().oneOf(["primary","red"])},Yo.defaultProps={color:"primary"};var Qo,Ko,Jo,Zo,Xo,$o,ei,ti,ni,ri=Yo,oi=require("formik"),ii=require("yup"),ai=require("react-transition-group"),ci=require("react-portal");function li(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var si,ui=l().div.withConfig({displayName:"Modalstyles__ModalRoot",componentId:"sc-9hc271-0"})(["z-index:1000;position:fixed;top:0;left:0;width:100%;height:100%;"]),fi=l().div.withConfig({displayName:"Modalstyles__Dimmer",componentId:"sc-9hc271-1"})(["position:relative;top:0;left:0;display:block;width:100%;height:100%;background-color:rgba(0,0,0,0.7);font-size:0;text-align:center;overflow-y:auto;"," &:after{content:'';display:inline-block;vertical-align:middle;height:100%;width:0;}"],(function(e){return e.kyc&&"overflow: visible;"})),di=l().div.withConfig({displayName:"Modalstyles__Box",componentId:"sc-9hc271-2"})(["display:inline-block;vertical-align:middle;position:relative;left:0;top:0;width:100%;background-color:",";font-size:10px;text-align:left;box-shadow:0 2px 20px 0 rgba(0,0,0,0.1);"," "," "," "," ",""],s.white,(function(e){return e.fullscreen&&"\n height: 90vh;\n "}),(function(e){return e.kyc&&"\n width: 100vw;\n height: 100vh;\n max-width: 1024px!important;\n max-height: 768px!important;\n "}),G.Medium(Qo||(Qo=li(["\n max-width: ",";\n\n ","\n "])),Nr(12),(function(e){return e.thin&&"\n max-width: ".concat(Nr(8),";\n ")})),G.XLarge(Ko||(Ko=li(["\n max-width: ",";\n\n ","\n "])),Nr(8),(function(e){return e.thin&&"\n max-width: ".concat(Nr(6),";\n ")})),(function(e){return e.isRegisterEntity&&(0,c.css)(Jo||(Jo=li(["\n max-width: 55% !important;\n height: 65vh;\n "])))})),pi=l().input.withConfig({displayName:"Modalstyles__ModalInnerSmartContractAddress",componentId:"sc-9hc271-3"})(["color:",";font-family:'Open Sans';font-size:14px;font-weight:400;text-align:left;margin-top:24px;width:100%;apperance:none;resize:none;border:none;outline:0;"],s.black),mi=l().div.withConfig({displayName:"Modalstyles__ModalInnerWithBorder",componentId:"sc-9hc271-4"})(["border-radius:10px;border:1px solid ",";padding:25px 35px;margin-top:39px;"," "," "," "," "," "," p{color:",";font-size:14px;font-weight:300;letter-spacing:0.53px;line-height:22px;text-align:left;margin:0;}"],s.grey,(function(e){return e.bottomRadius0&&"\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n "}),(function(e){return e.topRadius0&&"\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n "}),(function(e){return e.marginTop0&&"\n margin-top: 0;\n "}),(function(e){return e.bordderTopNone&&"\n border-top: 0;\n "}),(function(e){return e.textAlignRight&&"\n text-align: right;\n "}),(function(e){return e.paddingSmall&&"\n padding: 21px 25px;\n "}),s.black),hi=l().div.withConfig({displayName:"Modalstyles__ModalInner",componentId:"sc-9hc271-5"})(["width:100%;height:100%;padding:40px ",";display:flex;flex-direction:column;"," "," "," "," "," "," "," "," ",""],Nr(1),(function(e){return e.center&&"\n text-align: center;\n "}),(function(e){return e.background&&"\n background-color: ".concat(s.grey,";\n ")}),(function(e){return e.modalBot&&"\n background-color: ".concat(s.orangishRed,";\n color: ").concat(s.white,";\n flex-grow: 0 !important;\n height: auto;\n ")}),(function(e){return e.modalTop&&"\n padding-bottom: 30px;\n "}),(function(e){return e.center&&"\n justify-content: center;\n align-items: center;\n "}),G.Medium(Zo||(Zo=li(["\n padding: 53px ",";\n\n ","\n\n ","\n\n /* missing tiny */\n "])),Nr(1,12),(function(e){return e.left&&"\n padding: 88px ".concat(Nr(1,12),";\n ")}),(function(e){return e.modalTop&&"\n padding-bottom: 43px;\n border-right: 1px solid ".concat(s.grey,";\n ")})),G.XLarge(Xo||(Xo=li(["\n padding: 53px ",";\n\n ","\n\n ","\n\n /* missing tiny */\n "])),Nr(1,8),(function(e){return e.left&&"\n padding: 88px ".concat(Nr(1,8),";\n ")}),(function(e){return e.modalTop&&"\n padding-bottom: 53px;\n "})),(function(e){return e.noPadding&&"\n padding: 0!important;\n "}),(function(e){return e.noPaddingHorizontal&&"\n padding-left: 0!important;\n padding-right: 0!important;\n "})),gi=l().i.attrs({className:"ion ion-md-close"}).withConfig({displayName:"Modalstyles__ModalClose",componentId:"sc-9hc271-6"})(["z-index:4;position:absolute;top:0;right:0;width:40px;height:40px;text-align:center;cursor:pointer;color:",";background-color:",";transition:background-color 0.2s,color 0.2s;&:before{transition:transform 0.2s;font-size:24px;line-height:24px !important;width:24px;height:24px;position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;}&:hover{color:",";background-color:",";&:before{transform:rotate(-180deg);}}",""],s.white,s.blue,s.black,s.white,G.Medium($o||($o=li(["\n width: 56px;\n height: 56px;\n\n &:before {\n font-size: 27px;\n }\n "])))),bi=l().i.attrs({className:"ion ion-ios-arrow-back"}).withConfig({displayName:"Modalstyles__ModalBack",componentId:"sc-9hc271-7"})(["z-index:4;position:absolute;top:0;left:0;width:40px;height:40px;text-align:center;cursor:pointer;color:",";background-color:transparent;transition:color 0.2s,opacity 0.2s,visibility 0.2s;"," &:before{transition:transform 0.2s;font-size:24px;line-height:24px !important;width:24px;height:24px;position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;}&:hover{color:",";&:before{transform:translateX(-20%);}}",""],s.black,(function(e){return e.hide&&"\n opacity: 0;\n visibility: hidden;\n "}),s.blue,G.Medium(ei||(ei=li(["\n width: 56px;\n height: 56px;\n\n &:before {\n font-size: 27px;\n }\n "])))),yi=l().div.withConfig({displayName:"Modalstyles__ModalLinkWrap",componentId:"sc-9hc271-8"})(["position:relative;font-family:'Open Sans';font-weight:300;font-size:11px;line-height:14px;text-transform:uppercase;padding-left:18px;&:before{content:'\\f3d1';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:12px;line-height:8px;display:block;width:8px;height:8px;position:absolute;top:50%;left:0;margin-top:-4px;color:",";}"],s.lighterGreen),vi=l()(xt.Link).withConfig({displayName:"Modalstyles__ModalLink",componentId:"sc-9hc271-9"})(["display:inline-block;position:relative;cursor:pointer;color:inherit;&:before{content:'';display:block;width:0%;height:1px;position:absolute;top:100%;left:0;background-color:",";transition:width 0.2s;}&:hover{&:before{width:100%;}}"],s.lighterGreen),wi=l().div.withConfig({displayName:"Modalstyles__ModalWrapper",componentId:"sc-9hc271-10"})(["display:flex;flex-direction:column;height:100%;"]),xi=(l().div.withConfig({displayName:"Modalstyles__ModalTitle",componentId:"sc-9hc271-11"})(["font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;text-transform:uppercase;"]),l().div.withConfig({displayName:"Modalstyles__ModalScroll",componentId:"sc-9hc271-12"})(["height:100%;overflow-y:auto;padding:0 12px;margin:0 -12px;"," &::-webkit-scrollbar{width:4px;}&::-webkit-scrollbar-track{background-color:",";}&::-webkit-scrollbar-thumb{background-color:",";}&::-webkit-scrollbar-thumb:window-inactive{background-color:",";}"],G.Large(ti||(ti=li(["\n padding: 0 32px;\n margin: 0 -32px;\n "]))),s.grey,s.orangishRed,s.orangishRedDark),l().div.withConfig({displayName:"Modalstyles__ModalSection",componentId:"sc-9hc271-13"})(["& + &{padding-top:40px;","}"],G.Medium(ni||(ni=li(["\n padding-top: 53px;\n "])))),300),Ei={entering:{opacity:0},entered:{transition:"opacity ".concat(xi,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(xi,"ms ease-in-out"),opacity:0}},Si=function(e){var n=e.children,r=e.fullscreen,o=e.kyc,i=e.thin,a=e.isOpen,c=e.onClose,l=e.className,s=e.isRegisterEntity;return t().createElement(ci.Portal,{isOpened:a},t().createElement(ai.Transition,{in:a,appear:!0,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:xi,exit:xi}},(function(e){return t().createElement(ui,{className:l,style:Ei[e]},t().createElement(fi,{open:a,kyc:o,closeOnDimmerClick:!1,onClose:c},t().createElement(di,{kyc:o,fullscreen:r,thin:i,isRegisterEntity:s},t().createElement(gi,{onClick:c}),n)))})))};Si.propTypes={children:i().oneOfType([i().arrayOf(i().node),i().node]).isRequired,className:i().string,fullscreen:i().bool,kyc:i().bool,thin:i().bool,isOpen:i().bool.isRequired,onClose:i().func.isRequired},Si.defaultProps={className:"",fullscreen:!1,kyc:!1,thin:!1};var Oi=l()(oi.Form).withConfig({displayName:"Formstyles__FormContainer",componentId:"sc-rsw01z-0"})(["display:flex;flex-direction:column;flex-grow:1;"]),Ii=l().div.withConfig({displayName:"Formstyles__FormField",componentId:"sc-rsw01z-1"})(["position:relative;"]),Ai=l().div.withConfig({displayName:"Formstyles__FormInfo",componentId:"sc-rsw01z-2"})(["font-family:'Open Sans';font-weight:",";font-size:9px;line-height:1.78em;letter-spacing:0.4px;color:",";opacity:",";"," "," "," "," a{text-decoration:underline;transition:color .2s;&:hover{color:",";}}"],(function(e){return e.styleID?"400":"300"}),(function(e){return p.cBlack}),(function(e){return e.styleID?"1":"0.5"}),(function(e){return e.center&&"text-align: center;"}),(function(e){return e.marginTop&&"margin-top: 18px;"}),(function(e){return e.marginBottom&&"margin-bottom: 18px;"}),G.Large(si||(si=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n font-size: 12px;\n "]))),(function(e){return p.cPrimary})),ki=l().div.withConfig({displayName:"Formstyles__FormError",componentId:"sc-rsw01z-3"})(["display:none;font-family:'Open Sans';font-weight:300;font-size:11px;line-height:12px;margin:0;position:relative;left:0;top:",";margin-bottom:-12px;letter-spacing:0.4px;color:",";"," "," ",""],(function(e){return e.styleSUF?"10px":"2px"}),(function(e){return p.cWarning}),(function(e){return e.show&&"display: block;"}),(function(e){return e.withMarginLeft&&"margin-left: 28px;"}),(function(e){return e.withTopSpacing&&"top: 10px;"})),Ci=function(e){var n=e.children;return t().createElement(Oi,{autoComplete:"off",noValidate:!0},n)};function Pi(e,t){var n=t.values,r=t.validationSchema;try{return void ii.reach(r,e).validateSync(n[e],{abortEarly:!1})}catch(e){return e.inner[0].errors[0]}}Ci.propTypes={children:i().node.isRequired};var Ti=Ci;function ji(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mi(e,t):void 0}}(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 Mi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _i=function(n){var r=n.type,o=n.id,i=n.name,a=n.label,c=n.placeholder,l=n.value,s=n.error,u=n.touched,f=n.readOnly,d=n.inverted,p=n.dashboard,m=ji((0,e.useState)(!1),2),h=m[0],g=m[1],b=ji((0,e.useState)(!1),2),y=b[0],v=b[1];return(0,e.useEffect)((function(){g(y||!!l)}),[y,l]),t().createElement(Me,{inverted:d},a&&t().createElement(_e,{isUp:h,active:y,error:s&&u,htmlFor:o},a),t().createElement(Ne,{error:s&&u,dashboard:p},t().createElement("input",{type:r,id:o,name:i,value:l,onChange:function(e,t){n.onChange&&n.onChange(e,t)},onBlur:function(e,t){n.onBlur&&n.onBlur(e,t),v(!1)},onFocus:function(e,t){n.onFocus&&n.onFocus(e,t),v(!0)},readOnly:f,placeholder:c})))};_i.propTypes={type:i().string,id:i().string.isRequired,name:i().string.isRequired,label:i().string,placeholder:i().string,value:i().string,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func,readOnly:i().bool,inverted:i().bool,dashboard:i().bool},_i.defaultProps={type:"text",label:"",placeholder:"",value:"",error:!1,touched:!1,readOnly:!1,inverted:!1,dashboard:!1,onChange:function(){},onBlur:function(){},onFocus:function(){}};var Ni=_i;function Ri(e){return Ri="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},Ri(e)}function Li(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bi(e,t){for(var n=0;n<t.length;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)}}function zi(e,t){return zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zi(e,t)}function Di(e,t){if(t&&("object"===Ri(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gi(e)}function Gi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qi(e)}function Fi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ui=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zi(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qi(o);if(i){var n=qi(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Di(this,e)});function c(){var e;Li(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Fi(Gi(e=a.call.apply(a,[this].concat(n))),"initialValues",{email:""}),Fi(Gi(e),"validationSchema",ii.object().shape({email:ii.string().email("Email is not valid").required("Email is required")})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend,i=e.onModalSwitch;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Forgot password"),t().createElement("p",null,"Please log in to engage in our community & invest in exciting opportunities."))),t().createElement(hi,{modalBot:!0},t().createElement(yi,null,"Remember your password? ",t().createElement(vi,{as:"button",onClick:i},"Sign up")))),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleBlur,a=e.setFieldValue,c=e.setFieldTouched,l=!o.email||!!r.email;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"forgot-email",name:"email",type:"email",label:"Your email",value:n.email,onChange:function(e){var t=e.target;a(t.name,t.value,!1),c(t.name)},onBlur:i,error:!!r.email,touched:!!o.email}),t().createElement(ki,{show:r.email&&o.email},r.email))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:l},"Remind")))}))))))}}])&&Bi(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Ui.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired,onModalSwitch:i().func.isRequired};var Wi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:"66px",height:"16px"}},t().createElement("g",{fill:"#202020",fillRule:"evenodd"},t().createElement("path",{d:"M62.529 5.872c-.004 2.43-3.438 2.185-4.193 2.186V3.682c.755 0 4.189-.244 4.193 2.186v.004zm.27 4.212c1.427-.65 2.524-1.88 2.524-4.214 0-4.501-4.076-4.904-6.744-4.927a10.373 10.373 0 0 0-.303-.002h-.244l-.064.001h-.508l-.352.002H55.53v9.853L55.529 16h2.807v-5.2c.131 0 .266-.002.404-.004h.011a22.261 22.261 0 0 0 .461-.012c.265-.01.538-.026.815-.05l.063-.005L62.827 16h3.055L62.8 10.084zM30.56.042v3.057c2.691 0 4.88 2.208 4.88 4.922 0 2.713-2.189 4.921-4.88 4.921s-4.88-2.208-4.88-4.921v-.002h-3.032v.002c0 4.407 3.542 7.979 7.912 7.979s7.912-3.572 7.912-7.98c0-4.406-3.542-7.978-7.912-7.978M6.967 4.38c-.734-1.047-1.48-1.57-2.24-1.57-.37 0-.673.101-.909.304-.235.203-.353.433-.353.687 0 .255.084.496.252.723.229.303.919.954 2.069 1.952 1.076.923 1.728 1.505 1.957 1.746.572.592.977 1.158 1.216 1.699.239.54.358 1.13.358 1.771 0 1.247-.42 2.276-1.26 3.089-.84.812-1.936 1.218-3.287 1.218-1.056 0-1.975-.265-2.758-.795-.783-.53-1.454-1.363-2.012-2.5l2.37-1.466c.714 1.343 1.534 2.014 2.462 2.014.484 0 .891-.145 1.22-.434.33-.289.495-.623.495-1.002 0-.344-.124-.688-.373-1.033-.249-.344-.797-.87-1.645-1.58-1.614-1.35-2.657-2.391-3.128-3.124-.47-.734-.706-1.465-.706-2.195 0-1.054.392-1.958 1.175-2.711C2.653.419 3.62.042 4.77.042c.739 0 1.443.175 2.112.526.67.351 1.393.992 2.173 1.922l.264.29-2.124 1.923-.228-.323zM52.141.941h-3.39L44.884 5.99l-.649.834V.94h-2.823V16h2.823V8.48l.65.948L49.357 16h3.348l-5.647-8.214zM13.176 3.68h2.51V16h2.51V3.68h2.51V.94h-7.53z"})))},Hi=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"6.843",height:"8.904",viewBox:"0 0 6.843 8.904",style:{width:"7px",height:"9px"}},t().createElement("g",{transform:"translate(-.081 -.087)"},t().createElement("path",{transform:"translate(1.778 7.699)",d:"M3.159,0H.286A.288.288,0,0,0,0,.276v.74a.289.289,0,0,0,.286.276H3.159a.288.288,0,0,0,.286-.276V.276A.288.288,0,0,0,3.159,0Z"}),t().createElement("path",{transform:"translate(.081 .087)",d:"M6.79,3.549,3.649.1a.315.315,0,0,0-.461,0L.048,3.549a.221.221,0,0,0,.175.356H1.7V6.222a.289.289,0,0,0,.286.276H4.855a.288.288,0,0,0,.286-.276V3.905H6.615A.216.216,0,0,0,6.79,3.549Z"})))},Vi=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 13.997",width:"12",height:"13.997",style:{width:"12px",height:"14px"}},t().createElement("g",null,t().createElement("path",{transform:"translate(5.867)",d:"M.131,0,0,.319V9.574l.131.094,6-2.539Z"}),t().createElement("path",{d:"M6,0,0,7.128,6,9.668V0Z"}),t().createElement("path",{transform:"translate(5.924 7.943)",d:"M.074,2.538,0,2.6V5.9l.074.154L6.076,0Z"}),t().createElement("path",{transform:"translate(0 7.943)",d:"M6,6.054V2.538L0,0Z"}),t().createElement("path",{transform:"translate(5.998 5.176)",d:"M0,4.492,6,1.953,0,0Z"}),t().createElement("path",{transform:"translate(0 5.176)",d:"M0,1.953,6,4.492V0Z"})))},Yi=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 10",width:"8",height:"10",style:{width:"8px",height:"10px"}},t().createElement("path",{transform:"translate(0)",d:"M3.45,5.385h3.1L6.375,6.538H3.45v.313a1.451,1.451,0,0,0,.412,1.166,2.523,2.523,0,0,0,1.563.349A15.75,15.75,0,0,0,7.75,8.149L8,9.712A11.974,11.974,0,0,1,5.35,10q-4.1,0-4.1-2.812V6.538H0V5.385H1.25V4.231H0V3.077H1.25V2.813Q1.25,0,5.35,0A11.974,11.974,0,0,1,8,.288L7.75,1.851a15.75,15.75,0,0,0-2.325-.216,2.53,2.53,0,0,0-1.55.349A1.273,1.273,0,0,0,3.45,3.029v.048H6.9L6.725,4.231H3.45Z"}))},Qi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"145.5",height:"89"},t().createElement("path",{d:"M20.5 45.5a12.727 12.727 0 0 1 11.5-7 12.729 12.729 0 0 1 11.5 7",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"}),t().createElement("path",{d:"M48.5 33a16.755 16.755 0 0 1-17 16.5 16.755 16.755 0 0 1-17-16.5 16.755 16.755 0 0 1 17-16.5 16.755 16.755 0 0 1 17 16.5zM36.5 28.5a5 5 0 1 1-5-5",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"}),t().createElement("path",{d:"M128.242 87.5H16.757A15.216 15.216 0 0 1 1.5 72.324V16.676A15.216 15.216 0 0 1 16.757 1.5h111.485A15.217 15.217 0 0 1 143.5 16.676v55.648A15.217 15.217 0 0 1 128.242 87.5zM67.5 17h59M67.5 40h59M14.5 61h112M14.5 71h112M67.5 50h59",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"}),t().createElement("path",{fill:"#fff",d:"M137.5 19.5h8v19h-8z"}))},Ki=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"71.926",height:"104.855"},t().createElement("g",{"data-name":"Passport Icon",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 1",d:"M1.5 90.676v-76.5A12.68 12.68 0 0 1 14.179 1.5h36.663a12.68 12.68 0 0 1 12.679 12.679v76.5a12.68 12.68 0 0 1-12.679 12.679H14.179A12.68 12.68 0 0 1 1.5 90.676z"}),t().createElement("path",{"data-name":"Stroke 3",d:"M19.35 1.501h40.132a10.943 10.943 0 0 1 10.944 10.944v79.966a10.943 10.943 0 0 1-10.944 10.944H19.35"}),t().createElement("path",{"data-name":"Stroke 5",d:"M51.363 38.066a19.11 19.11 0 1 1-19.109-19.109 19.109 19.109 0 0 1 19.109 19.109z"}),t().createElement("path",{"data-name":"Stroke 7",d:"M13.089 37.753h37.98"}),t().createElement("path",{"data-name":"Stroke 9",d:"M32.079 18.764v37.979"}),t().createElement("path",{"data-name":"Stroke 11",d:"M22.584 20.922v33.663"}),t().createElement("path",{"data-name":"Stroke 13",d:"M41.573 20.922v33.663"}),t().createElement("path",{"data-name":"Stroke 15",d:"M15.247 28.259h33.231"}),t().createElement("path",{"data-name":"Stroke 17",d:"M15.247 47.249h34.526"}),t().createElement("path",{"data-name":"Stroke 19",d:"M12.657 80.584H51.5"}),t().createElement("path",{"data-name":"Stroke 21",d:"M12.657 88.147H51.5"})))},Ji=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"231.5",height:"84.066"},t().createElement("g",{"data-name":"Card Illustration",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M215.232 82.566H110.143a14.343 14.343 0 0 1-14.381-14.305V15.8a14.343 14.343 0 0 1 14.381-14.3h105.089a14.344 14.344 0 0 1 14.382 14.3v52.461a14.344 14.344 0 0 1-14.382 14.305z"}),t().createElement("path",{"data-name":"Stroke 13",d:"M108.016 57.586H213.59"}),t().createElement("path",{"data-name":"Stroke 15",d:"M108.016 67.012H213.59"})),t().createElement("path",{fill:"#fff",d:"M223.959 18.467h7.541v17.91h-7.541z"}),t().createElement("g",{"data-name":"Group"},t().createElement("g",{"data-name":"Card Illustration",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M120.97 82.566H15.881A14.343 14.343 0 0 1 1.5 68.261V15.8A14.343 14.343 0 0 1 15.881 1.5H120.97a14.344 14.344 0 0 1 14.382 14.3v52.461a14.344 14.344 0 0 1-14.382 14.305z",fill:"#fff"}),t().createElement("path",{"data-name":"Stroke 1",d:"M19.41 42.977a12 12 0 0 1 10.84-6.6 12 12 0 0 1 10.84 6.6",fill:"none"}),t().createElement("path",{"data-name":"Stroke 3",d:"M45.803 31.192a15.794 15.794 0 0 1-16.025 15.554 15.794 15.794 0 0 1-16.024-15.554 15.794 15.794 0 0 1 16.024-15.553 15.794 15.794 0 0 1 16.025 15.553z",fill:"none"}),t().createElement("path",{"data-name":"Stroke 5",d:"M34.492 26.951a4.713 4.713 0 1 1-4.712-4.713",fill:"none"}),t().createElement("path",{"data-name":"Stroke 9",d:"M63.713 16.11h55.615",fill:"none"}),t().createElement("path",{"data-name":"Stroke 11",d:"M63.713 37.791h55.615",fill:"none"}),t().createElement("path",{"data-name":"Stroke 13",d:"M13.754 57.586h105.574",fill:"none"}),t().createElement("path",{"data-name":"Stroke 15",d:"M13.754 67.012h105.574",fill:"none"}),t().createElement("path",{"data-name":"Stroke 17",d:"M63.713 47.217h55.615",fill:"none"})),t().createElement("path",{"data-name":"Rectangle",fill:"#fff",d:"M129.697 18.467h7.541v17.91h-7.541z"})))},Zi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52"},t().createElement("g",{"data-name":"Group 5"},t().createElement("path",{"data-name":"Stroke 1",d:"M50 26A24 24 0 1 1 26 2a24 24 0 0 1 24 24z",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"}),t().createElement("path",{"data-name":"Stroke 3",d:"M35 26a9 9 0 1 1-9-9 9 9 0 0 1 9 9z",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"}),t().createElement("path",{fill:"#fff",d:"M14 12h12v13H14z"})))},Xi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40.812",height:"49.5"},t().createElement("g",{fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"},t().createElement("path",{"data-name":"Stroke 1",d:"M7.764 30.15l-6.35 6.35"}),t().createElement("path",{"data-name":"Stroke 3",d:"M39.398 36.5L20.35 17.452l-7.936 7.937"}),t().createElement("path",{"data-name":"Stroke 5",d:"M20.914 17.532V49.5"}),t().createElement("path",{"data-name":"Stroke 8",d:"M39.514 2h-38.1"})))},$i=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"102.307",height:"62.607"},t().createElement("g",{"data-name":"Card Illustration",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M89.346 61.107H12.074A10.547 10.547 0 0 1 1.5 50.589V12.018A10.547 10.547 0 0 1 12.074 1.5h77.272a10.547 10.547 0 0 1 10.575 10.518v38.571a10.547 10.547 0 0 1-10.575 10.518z"}),t().createElement("path",{"data-name":"Stroke 13",d:"M10.51 42.74h77.628"}),t().createElement("path",{"data-name":"Stroke 15",d:"M10.51 49.671h77.628"})),t().createElement("path",{fill:"#fff",d:"M96.762 13.976h5.545v13.169h-5.545z"}))},ea=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"102.307",height:"62.607"},t().createElement("g",{"data-name":"Card Illustration",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M89.346 61.107H12.074A10.547 10.547 0 0 1 1.5 50.589V12.018A10.547 10.547 0 0 1 12.074 1.5h77.272a10.547 10.547 0 0 1 10.575 10.518v38.571a10.547 10.547 0 0 1-10.575 10.518z",fill:"#fff"}),t().createElement("path",{"data-name":"Stroke 1",d:"M14.669 31.997a8.821 8.821 0 0 1 7.97-4.852 8.822 8.822 0 0 1 7.971 4.852",fill:"none"}),t().createElement("path",{"data-name":"Stroke 3",d:"M34.076 23.333a11.613 11.613 0 0 1-11.784 11.436A11.613 11.613 0 0 1 10.51 23.333a11.613 11.613 0 0 1 11.782-11.436 11.613 11.613 0 0 1 11.784 11.436z",fill:"none"}),t().createElement("path",{"data-name":"Stroke 5",d:"M25.759 20.214a3.466 3.466 0 1 1-3.465-3.466",fill:"none"}),t().createElement("path",{"data-name":"Stroke 9",d:"M47.245 12.244h40.893",fill:"none"}),t().createElement("path",{"data-name":"Stroke 11",d:"M47.245 28.185h40.893",fill:"none"}),t().createElement("path",{"data-name":"Stroke 13",d:"M10.51 42.74h77.628",fill:"none"}),t().createElement("path",{"data-name":"Stroke 15",d:"M10.51 49.671h77.628",fill:"none"}),t().createElement("path",{"data-name":"Stroke 17",d:"M47.245 35.116h40.893",fill:"none"})),t().createElement("path",{fill:"#fff",d:"M96.762 13.976h5.545v13.169h-5.545z"}))},ta=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"87"},t().createElement("g",{fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"},t().createElement("path",{"data-name":"Stroke 1",d:"M17.176 74.939a32.212 32.212 0 0 1 29.087-17.606 32.217 32.217 0 0 1 29.09 17.606"}),t().createElement("path",{"data-name":"Stroke 3",d:"M88 43.5C88 66.42 68.751 85 45 85S2 66.42 2 43.5 21.249 2 45 2s43 18.58 43 41.5z"}),t().createElement("path",{"data-name":"Stroke 5",d:"M57.647 32.182a12.647 12.647 0 1 1-12.645-12.576"})))},na=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",style:{width:"16px",height:"16px"}},t().createElement("path",{d:"M1.735 7L1 6.786C1.67 4.1 3.63 1.983 6.117 1.263c2.987-.864 6.158.454 7.862 3.163l.262-3.242.759.071-.382 4.71-4.362-.412.066-.819 3.112.294C11.933 2.51 9.04 1.27 6.314 2.058 4.089 2.702 2.334 4.595 1.735 7zm7.951 7.942c-2.724.788-5.619-.452-7.12-2.97l3.112.294.066-.82-4.362-.411L1 15.745l.759.071.263-3.247C3.375 14.723 5.652 16 8.03 16a6.66 6.66 0 0 0 1.853-.263c2.487-.72 4.448-2.836 5.117-5.523L14.265 10c-.6 2.405-2.354 4.299-4.579 4.942z","fill-rule":"nonzero","stroke-width":".5"}))},ra=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15.475 19.243",width:"15.475",height:"19.243",style:{width:"16px",height:"20px"}},t().createElement("path",{transform:"translate(-27 -21.8)",d:"M34.737,21.8A12.061,12.061,0,0,1,27,24.895V35.021a10.318,10.318,0,0,0,6.627,5.719l1.11.3,1.11-.336a10.139,10.139,0,0,0,6.627-5.719V24.895A12.242,12.242,0,0,1,34.737,21.8Zm2.489,13.288-2.489-1.312-2.489,1.312.471-2.792L30.7,30.311l2.792-.4,1.245-2.523,1.245,2.523,2.792.4L36.756,32.3Z"}))},oa=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 167 371",width:"167px",height:"371px"},t().createElement("polygon",{points:"101.7 0.50015 0.40149 81.098 166.03 81.098 166.03 0.50015"}),t().createElement("polygon",{points:"87.772 156.42 87.772 370.5 166.03 370.5 166.03 153.1 87.844 153.1"}))},ia=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 261 376",width:"261px",height:"376px"},t().createElement("path",{d:"m85.465 75.375c13.504-6.578 27.438-9.875 41.795-9.875 13.676 0 24.609 3.625 32.8 10.875 8.1901 7.25 12.285 18.297 12.285 33.125 0 9.953-1.8601 19.562-5.5723 28.836-3.7197 9.2735-9.7996 19.344-18.24 30.218-8.4402 10.875-26.422 30.391-53.947 58.539l-9.9112 10.004h87.86c18.295-17.584 31.868-31.888 40.707-42.902 12.582-15.672 21.866-30.969 27.86-45.891 5.9939-14.922 8.9949-30.89 8.9949-47.922 0-19.602-4.9001-37.008-14.692-52.219-9.7921-15.203-23.555-27.031-41.279-35.484-17.732-8.453-38.161-12.68-61.293-12.68-17.568 0-33.44 1.7345-47.625 5.203-14.184 3.469-27.266 8.422-39.255 14.852-11.988 6.4375-27.102 17.438-45.335 33.008l42.553 50.414c14.692-12.148 28.791-21.516 42.295-28.102"}),t().createElement("polygon",{points:"1.6255 320.92 1.6255 375.5 260.48 375.5 260.48 309.1 13.34 309.1"}))},aa=function(){return t().createElement("svg",{viewBox:"0 0 78 115",width:"78",height:"115",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M46 114.002V93.164c.5-.277.972-.573 1.416-.888 3.739-2.659 5.61-6.926 5.61-12.805 0-5.266-2.153-8.996-6.457-11.194-4.303-2.196-11.168-3.297-20.595-3.297h-8.532V46.846h8.686c8.709 0 15.075-1.128 19.097-3.39 4.021-2.26 6.034-6.132 6.034-11.618 0-8.429-5.33-12.646-15.986-12.646-3.69 0-7.443.614-11.26 1.837-3.818 1.225-8.057 3.343-12.719 6.352L.304 11.043C10.55 3.681 22.768 0 36.961 0c11.628 0 20.812 2.345 27.55 7.032 6.737 4.689 10.106 11.21 10.106 19.567 0 6.982-2.127 12.918-6.378 17.81-4.252 4.893-10.22 8.258-17.902 10.09v.46c9.067 1.124 15.931 3.868 20.593 8.232 4.662 4.365 6.992 10.25 6.992 17.652 0 10.774-3.92 19.161-11.758 25.158-5.228 4.002-11.95 6.669-20.164 8.001zm-22 .647c-8.746-.738-16.696-2.635-23.85-5.691v-20.12c4.353 2.196 9.145 3.98 14.371 5.357A62.589 62.589 0 0 0 24 95.945v18.704z"}))},ca=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 281 371",width:"281px",height:"371px"},t().createElement("path",{d:"m267.68 233-0.014 0.0975h-131.54v-0.0975h-66.33l67.889-102.41c8.7763-13.148 16.294-26.633 22.546-40.461h2.0242c-0.5082 3.203-1.1804 14.758-2.0242 34.648-0.6232 14.682-1.0148 26.784-1.1779 36.324h76.39v-160.6h-72.172l-162.36 238.85v54.648h158.06v76.5h76.478v-76.5h44.592v-61z"}))},la=function(){return t().createElement("svg",{width:"90px",height:"36px",viewBox:"0 0 90 36",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},t().createElement("path",{d:"M87.982,13.909 L85.416,13.909 C83.567,6.096 76.564,0.273 68.182,0.273 C59.299,0.273 51.962,6.816 50.676,15.341 C49.21,13.701 47.221,13.227 45,13.227 C42.779,13.227 40.791,13.701 39.324,15.341 C38.038,6.817 30.702,0.273 21.818,0.273 C13.437,0.273 6.433,6.096 4.585,13.909 L2.019,13.909 C0.904,13.909 0,14.812 0,15.927 L0,15.983 C0,17.097 0.904,18 2.019,18 L4.091,18 C4.091,27.792 12.028,35.727 21.819,35.727 C31.61,35.727 39.546,27.792 39.546,18 C39.546,17.996 39.546,17.992 39.546,17.988 C40.554,15.984 42.606,14.591 45.001,14.591 C47.396,14.591 49.448,15.984 50.456,17.988 C50.456,17.992 50.456,17.996 50.456,18 C50.456,27.792 58.393,35.727 68.183,35.727 C77.975,35.727 85.911,27.792 85.911,18 L87.984,18 C89.096,18 90,17.097 90,15.982 L90,15.926 C90,14.812 89.096,13.909 87.982,13.909 M21.818,33.682 C13.171,33.682 6.136,26.648 6.136,18 C6.136,9.354 13.171,2.318 21.818,2.318 C30.465,2.318 37.5,9.354 37.5,18 C37.5,26.648 30.465,33.682 21.818,33.682 M68.182,33.682 C59.535,33.682 52.5,26.648 52.5,18 C52.5,9.354 59.535,2.318 68.182,2.318 C76.829,2.318 83.864,9.353 83.864,18 C83.864,26.648 76.829,33.682 68.182,33.682",stroke:"none",strokeWidth:"1",fill:"#202020",fillRule:"nonzero"}))},sa=function(){return t().createElement("svg",{width:"90",height:"30",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M84.707 1H5.293A4.3 4.3 0 0 0 1 5.308v19.384A4.3 4.3 0 0 0 5.293 29h79.414A4.3 4.3 0 0 0 89 24.692V5.308A4.3 4.3 0 0 0 84.707 1zM87 24.818C87 26.023 86.036 27 84.846 27H5.154C3.964 27 3 26.023 3 24.818V5.182C3 3.977 3.964 3 5.154 3h79.692C86.036 3 87 3.977 87 5.182v19.636zM53 15c0 .552-.481 1-1.075 1h-40.85C10.481 16 10 15.552 10 15s.481-1 1.075-1h40.85c.594 0 1.075.448 1.075 1zm26.54-4.832c.473.316.602.953.29 1.428l-5.96 8.949c-.183.27-.482.439-.808.455-.307 0-.6-.136-.796-.372l-3.033-3.58a1.056 1.056 0 1 1 1.646-1.324l2.07 2.514 5.174-7.79a1.035 1.035 0 0 1 1.417-.28z",fill:"#FFF",fillRule:"nonzero",stroke:"#EE220D",strokeWidth:".5"}))},ua=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"M11.338,0H.662A.662.662,0,0,0,0,.662V11.338A.662.662,0,0,0,.662,12H6.414V7.359H4.852V5.543H6.414V4.206a2.183,2.183,0,0,1,2.33-2.394,13.283,13.283,0,0,1,1.394.07V3.5H9.186c-.753,0-.9.356-.9.881V5.541h1.8L9.852,7.357H8.276V12h3.062A.662.662,0,0,0,12,11.338V.662A.662.662,0,0,0,11.338,0Z"}))};function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fa.apply(this,arguments)}var da,pa,ma,ha,ga,ba,ya,va,wa,xa,Ea,Sa=l().svg.withConfig({displayName:"SocialInstagram__Icon",componentId:"sc-163l8o8-0"})(["fill:#fff;width:12px;"]),Oa=function(e){return t().createElement(Sa,fa({width:"24",height:"24",viewBox:"0 0 24 24"},e),t().createElement("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"}))},Ia=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m6.7205 11.596h-2.5675v-0.12089c0.00963-2.038 0.027815-6.8468 0-7.4244h2.5675v1.0698l-0.00749 0.00963-0.00963 0.013907h0.017117v-0.025677a2.5504 2.5504 0 0 1 2.3183-1.2463c1.854 0 2.9612 1.2699 2.9612 3.3956v4.3263h-2.5675v-4.0364c0-1.1158-0.45039-1.7063-1.3041-1.7063a1.425 1.425 0 0 0-1.3191 0.91789 1.6047 1.6047 0 0 0-0.085584 0.61193v4.214zm-3.9957 0h-2.5718v-7.5475h2.5675v7.5443zm-1.2838-8.5745h-0.019256a1.3223 1.3223 0 0 1-1.4218-1.3062 1.3255 1.3255 0 0 1 1.456-1.3041 1.3212 1.3212 0 0 1 1.4378 1.3041 1.3255 1.3255 0 0 1-1.4549 1.3041z"}))},Aa=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m1.4227 3.3343a0.42788 0.42788 0 0 0-0.1519-0.37119l-1.1189-1.2762v-0.19041h3.4787l2.6892 5.5764 2.3641-5.5764h3.3161v0.19041l-0.96274 0.8686a0.25887 0.25887 0 0 0-0.10697 0.25459v6.3808a0.2578 0.2578 0 0 0 0.10697 0.25352l0.936 0.8686v0.19041h-4.6992v-0.18934l0.96274-0.89c0.095204-0.08986 0.095204-0.1166 0.095204-0.25352v-5.1581l-2.6903 6.4696h-0.3637l-3.1385-6.4696v4.3366a0.57871 0.57871 0 0 0 0.17329 0.49742l1.2612 1.4462v0.18934h-3.5739v-0.18934l1.2601-1.4462a0.55625 0.55625 0 0 0 0.1626-0.49742z"}))},ka=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m6.0451 11.201c-0.19209 0-0.39057-0.0064-0.59066-0.01921a6.0827 6.0827 0 0 1-3.3055-1.1205 2.9949 2.9949 0 0 1-1.419-2.6636 0.32414 0.32414 0 0 0-0.13606-0.2209 1.2886 1.2886 0 0 1 0.69391-2.3739 1.6399 1.6399 0 0 1 0.81396 0.2353 0.28893 0.28893 0 0 0 0.14006 0.030414 0.28573 0.28573 0 0 0 0.13926-0.030414 6.4437 6.4437 0 0 1 3.127-0.93802c0.18968-0.0064029 0.26732-0.074433 0.30654-0.27052 0.11845-0.58106 0.24971-1.1701 0.37617-1.74 0.071232-0.32014 0.14086-0.63548 0.20969-0.95242 0.041618-0.18968 0.13046-0.27452 0.28893-0.27452a0.65549 0.65549 0 0 1 0.14166 0.017608c0.32575 0.076034 0.65789 0.14006 0.97884 0.20409 0.28253 0.056825 0.57306 0.11525 0.85798 0.17688a0.50743 0.50743 0 0 0 0.10645 0.015207 0.26732 0.26732 0 0 0 0.2161-0.11445 0.94842 0.94842 0 0 1 0.72512-0.36576 1.0084 1.0084 0 0 1 0.4498 0.11285 0.93001 0.93001 0 0 1 0.49222 1.0549 0.98364 0.98364 0 0 1-0.85958 0.70271h-0.073633a1.002 1.002 0 0 1-0.92281-0.68671c-0.035216-0.093642-0.11205-0.20249-0.18328-0.2193-0.42979-0.094442-0.85798-0.17768-1.311-0.26572l-0.43459-0.085638c-0.19609 0.8972-0.38497 1.7608-0.58106 2.6652a6.659 6.659 0 0 1 3.4511 1.0589 1.5751 1.5751 0 0 1 0.91321-0.33535 1.3126 1.3126 0 0 1 0.33935 0.04562 1.2542 1.2542 0 0 1 0.96923 0.99484 1.1797 1.1797 0 0 1-0.50823 1.2806 0.43219 0.43219 0 0 0-0.21049 0.42259 2.9141 2.9141 0 0 1-1.3182 2.4483 6.2532 6.2532 0 0 1-3.8825 1.2109zm-0.059226-1.6007h0.2217a1.2726 1.2726 0 0 0 0.12726-0.0048 3.0253 3.0253 0 0 0 1.5487-0.4554c0.071232-0.05202 0.13606-0.20329 0.098444-0.26412a0.14166 0.14166 0 0 0-0.12566-0.07603 0.52824 0.52824 0 0 0-0.20969 0.07203h-4e-3l-0.041619 0.02081a2.7604 2.7604 0 0 1-0.62828 0.25371 5.0222 5.0222 0 0 1-1.0757 0.12726 3.0606 3.0606 0 0 1-1.6231-0.43299 0.11365 0.11365 0 0 0-0.058426-0.01281 0.61067 0.61067 0 0 0-0.11285 0.01601h-0.028006l-0.02161 4e-3a0.60907 0.60907 0 0 1-0.061627 0.01841 0.56025 0.56025 0 0 1 4e-3 0.06163v0.01361c0 0.05763 0 0.11685 0.036016 0.14727a1.5383 1.5383 0 0 0 0.39137 0.24011 3.6736 3.6736 0 0 0 1.4791 0.27132zm2.0009-3.2014a0.81156 0.81156 0 0 0-0.79395 0.80036 0.80036 0.80036 0 0 0 1.6007 0.0072 0.82517 0.82517 0 0 0-0.80036-0.80756zm-4.0018 0a0.82437 0.82437 0 0 0-0.79395 0.81076 0.80036 0.80036 0 0 0 0.80036 0.78995h0.0064a0.80036 0.80036 0 0 0 0.79396-0.80036 0.81236 0.81236 0 0 0-0.79635-0.80036z"}))},Ca=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m9.5367 11.136a0.58633 0.58633 0 0 1-0.34559-0.11342c-0.97794-0.7158-2.7252-2.0329-2.799-2.0853l-1.5482 1.5001a0.42798 0.42798 0 0 1-0.40658 0.107 0.44831 0.44831 0 0 1-0.30173-0.29531c-0.36806-1.116-1.07-3.304-1.1042-3.3971-0.00535 0-1.5568-0.50716-2.738-0.86987a0.42798 0.42798 0 0 1-0.024609-0.80353c1.3567-0.51572 3.7106-1.4198 5.9917-2.2929h0.00642c2.1506-0.82493 4.1814-1.6049 5.201-1.9923a0.38839 0.38839 0 0 1 0.13481-0.028889 0.39481 0.39481 0 0 1 0.25786 0.097366 0.40444 0.40444 0 0 1 0.13054 0.38946c-0.19152 0.92765-0.53498 2.6299-0.89662 4.4328-0.37555 1.8692-0.76395 3.8026-0.98757 4.8811a0.59061 0.59061 0 0 1-0.36164 0.42798 0.57242 0.57242 0 0 1-0.20864 0.0428zm0.17226-8.4933a0.13909 0.13909 0 0 0-0.075967 0.022469l-5.9479 3.901 0.83991 2.845 0.18617-1.8061 5.094-4.7142a0.14551 0.14551 0 0 0 0.016049-0.19366 0.13802 0.13802 0 0 0-0.11128-0.054567z"}))},Pa=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m10.64 5.5733a1.4695 1.4695 0 0 0 1.3104-0.72537 2.2884 2.2884 0 0 1-1.4142 0.14695c-0.020592-0.093596-0.043055-0.17783-0.065518-0.25645a2.5552 2.5552 0 0 0-2.5477-1.8588c0.093596-0.034631 0.18719-0.067389 0.28079-0.093596 0.12542-0.042118 0.86109-0.1535 0.74877-0.39591-0.093596-0.2134-0.9968 0.16099-1.1662 0.20966 0.21808-0.080493 0.58779-0.21527 0.6271-0.45488a1.842 1.842 0 0 0-0.93596 0.41463 0.58779 0.58779 0 0 0 0.17783-0.33227 5.3481 5.3481 0 0 0-1.8775 2.7049 4.4383 4.4383 0 0 0-0.91069-0.68138 24.58 24.58 0 0 0-3.0765-1.2636 1.5191 1.5191 0 0 0 1.0296 1.4039 2.6843 2.6843 0 0 0-0.73848 0.082365c0.10296 0.50168 0.4371 0.91537 1.344 1.1147a1.1391 1.1391 0 0 0-0.82271 0.30325 1.4189 1.4189 0 0 0 1.477 0.67577c-0.92099 0.37439-0.37439 1.0558 0.37439 0.95375a3.347 3.347 0 0 1-4.4543 0.11325c3.0213 3.8375 9.589 2.2716 10.568-1.4283a1.8869 1.8869 0 0 0 1.432-0.50448 3.1186 3.1186 0 0 1-1.36-0.12823z"}))},Ta=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m6 9.857a39.238 39.238 0 0 1-4.6884-0.2297 1.4485 1.4485 0 0 1-1.0602-0.97539 13.269 13.269 0 0 1-0.25113-2.6519 13.269 13.269 0 0 1 0.25113-2.6519 1.4485 1.4485 0 0 1 1.0602-0.97539 39.238 39.238 0 0 1 4.6884-0.2297 39.226 39.226 0 0 1 4.6884 0.2297 1.4485 1.4485 0 0 1 1.0611 0.97539 13.269 13.269 0 0 1 0.25028 2.6519 13.269 13.269 0 0 1-0.25113 2.6519 1.4485 1.4485 0 0 1-1.0602 0.97539 39.226 39.226 0 0 1-4.6884 0.2297zm-1.7142-5.1426v3.4284l3.4284-1.7142z"}))},ja=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 76",width:"76",height:"76"},t().createElement("g",{transform:"translate(-266 -956)"},t().createElement("path",{d:"m330.62 1020.5c-2.893 2.894-6.13 5.245-9.621 6.988a1.537 1.537 0 1 1-1.374-2.75c3.194-1.595 6.162-3.752 8.822-6.412 13.527-13.527 13.527-35.537 0-49.064-13.528-13.527-35.537-13.527-49.064 0-13.528 13.527-13.528 35.537 0 49.064 6.552 6.553 15.265 10.162 24.531 10.162a1.537 1.537 0 0 1 0 3.074c-10.088 0-19.572-3.928-26.706-11.062-14.725-14.726-14.725-38.686 0-53.412 7.363-7.363 17.035-11.044 26.706-11.044 9.672 0 19.343 3.681 26.706 11.044 14.726 14.726 14.726 38.686 0 53.412z"}),t().createElement("path",{d:"m303.92 1018.2a1.537 1.537 0 0 1-1.537-1.537v-45.821a1.537 1.537 0 0 1 3.075 0v45.822c0 0.85-0.689 1.537-1.538 1.537z"}),t().createElement("path",{d:"m310.07 992.21h16.762a1.537 1.537 0 0 1 0 3.074h-16.762a1.537 1.537 0 0 1 0-3.074z"}),t().createElement("path",{d:"m281.01 995.29a1.537 1.537 0 0 1 0-3.074h16.25a1.537 1.537 0 0 1 0 3.074z"})))},Ma=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 76",width:"76",height:"76"},t().createElement("g",{transform:"translate(-266 -1840)"},t().createElement("path",{d:"m291.1 1842.2c-9.496 3.385-17.106 10.266-21.427 19.375-4.322 9.108-4.837 19.355-1.452 28.85 3.386 9.497 10.267 17.107 19.375 21.428 9.109 4.321 19.355 4.837 28.852 1.451a1.537 1.537 0 0 0-1.032-2.894c-8.723 3.11-18.136 2.637-26.503-1.333-8.367-3.969-14.688-10.96-17.798-19.683s-2.636-18.136 1.333-26.503c3.97-8.367 10.96-14.688 19.683-17.798 8.724-3.11 18.136-2.636 26.503 1.333 8.368 3.97 14.689 10.96 17.798 19.684 3.486 9.777 2.43 20.503-2.894 29.426a1.536 1.536 0 1 0 2.638 1.574 37.696 37.696 0 0 0 5.352-19.34c0-4.27-0.728-8.56-2.202-12.692-3.385-9.497-10.266-17.106-19.375-21.427-9.108-4.321-19.355-4.837-28.851-1.451z"}),t().createElement("path",{d:"M303.769 1860.861c-.848 0-1.536.688-1.536 1.536v38.259a1.536 1.536 0 0 0 3.072 0v-38.259c0-.848-.688-1.536-1.536-1.536z"}),t().createElement("path",{d:"m319.84 1873.1a1.536 1.536 0 1 0 2.173-2.173l-17.154-17.153c-0.6-0.6-1.573-0.6-2.172 0l-17.154 17.153a1.536 1.536 0 1 0 2.172 2.173l16.068-16.068z"})))},_a=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 76",width:"76",height:"76"},t().createElement("g",{transform:"translate(-266 -1398)"},t().createElement("path",{d:"M317.119 1442.937a1.234 1.234 0 0 1 .445-1.372l9.583-7.03c1.526-1.12 2.134-3.006 1.549-4.805-.585-1.8-2.185-2.968-4.077-2.977l-11.885-.055c-.532-.003-1-.343-1.167-.848l-3.725-11.286c-.593-1.797-2.199-2.958-4.091-2.958-1.892 0-3.498 1.16-4.09 2.957l-1.68 5.086a1.536 1.536 0 1 0 2.918.963l1.679-5.085c.26-.787.963-.848 1.173-.848.21 0 .913.06 1.173.848l3.725 11.286a4.304 4.304 0 0 0 4.07 2.958l11.886.055c.828.004 1.104.654 1.169.854.064.199.224.887-.445 1.377l-9.582 7.03a4.304 4.304 0 0 0-1.555 4.786l3.621 11.324c.253.79-.28 1.253-.45 1.376-.17.123-.775.487-1.447.003l-9.648-6.943a4.304 4.304 0 0 0-5.033 0l-9.65 6.944c-.673.484-1.278.12-1.447-.003-.17-.123-.703-.586-.45-1.375l3.62-11.326a4.304 4.304 0 0 0-1.555-4.785l-9.582-7.03c-.669-.49-.51-1.18-.444-1.378.064-.2.34-.85 1.168-.854l11.886-.055a1.537 1.537 0 0 0-.007-3.073h-.007l-11.886.056c-1.892.008-3.492 1.177-4.077 2.976-.585 1.8.023 3.686 1.549 4.805l9.582 7.03c.428.315.608.866.446 1.373l-3.62 11.325c-.577 1.803.04 3.686 1.571 4.798.768.557 1.65.837 2.532.837.875 0 1.751-.276 2.517-.826l9.649-6.945a1.234 1.234 0 0 1 1.443 0l9.648 6.943c1.536 1.106 3.517 1.102 5.048-.01 1.531-1.113 2.148-2.996 1.572-4.798z"}),t().createElement("path",{d:"m303.75 1398c-20.815 0-37.75 16.935-37.75 37.75s16.935 37.75 37.75 37.75a1.537 1.537 0 0 0 0-3.073c-19.121 0-34.677-15.556-34.677-34.677s15.556-34.677 34.677-34.677 34.677 15.556 34.677 34.677c0 11.902-5.997 22.837-16.043 29.25a1.537 1.537 0 0 0 1.654 2.59c10.934-6.98 17.462-18.883 17.462-31.84 0-20.815-16.934-37.75-37.75-37.75z"})))};function Na(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ra=l().div.withConfig({displayName:"MainMenustyles__StyledMainMenu",componentId:"sc-1cw1nhj-0"})(["display:none;",""],G.Medium(da||(da=Na(["\n display: block;\n width: 100%;\n position: absolute;\n top: 100%;\n left: 0;\n overflow: hidden;\n\n ","\n "])),(function(e){return e.admin&&"\n padding-left: 100px;\n "}))),La=l().div.withConfig({displayName:"MainMenustyles__MainMenuContainer",componentId:"sc-1cw1nhj-1"})(["display:block;background-color:",";box-shadow:inset 0 -1px 0 0 ",";"],s.white,s.lightGrey),Ba=l().div.withConfig({displayName:"MainMenustyles__MainMenuOptions",componentId:"sc-1cw1nhj-2"})(["display:flex;flex-direction:column;height:100%;",""],G.Medium(pa||(pa=Na(["\n flex-direction: row;\n height: 92px;\n "])))),za=l().div.withConfig({displayName:"MainMenustyles__MainMenuOption",componentId:"sc-1cw1nhj-3"})(["position:relative;display:flex;flex-basis:33.3333%;justify-content:center;align-items:center;width:100%;padding:4px 16px;outline:none;& + &{border-top:1px solid ",";}"," "," "," ",";",""],s.lightGrey,G.Medium(ma||(ma=Na(["\n padding: 10px;\n border-bottom: 1px solid ",";\n transition: border-bottom-color .2s;\n\n & + & {\n border-top: 0;\n border-left: 1px solid ",";\n }\n "])),s.lightGrey,s.lightGrey),(function(e){return e.nameOption&&"\n display: none;\n "}),G.Large(ha||(ha=Na(["\n flex-basis: 25%;\n\n ",";\n "])),(function(e){return e.nameOption&&"\n display: flex;\n "})),(function(e){return e.isOpened&&"\n border-bottom-color: transparent;\n "}),(function(e){return e.button&&"\n cursor: pointer;\n transition: color .2s;\n \n & > span {\n display: inline-block;\n vertical-align: middle;\n text-transform: uppercase;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 2px;\n }\n\n &:hover {\n color: ".concat(s.blue,";\n }\n ")})),Da=l().h3.withConfig({displayName:"MainMenustyles__UserName",componentId:"sc-1cw1nhj-4"})(["font-weight:600;font-size:16px;line-height:24px;"]),Ga=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"MainMenustyles__ExpandArrow",componentId:"sc-1cw1nhj-5"})(["position:absolute;top:50%;right:32px;display:block;margin-top:-8px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;"," ",""],(function(e){return e.isOpened&&"\n transform: rotate(180deg);\n "}),G.Medium(ga||(ga=Na(["\n display: inline-block;\n vertical-align: middle;\n margin-left: 20px;\n margin-top: 0;\n position: relative;\n top: 0;\n right: auto;\n "])))),qa=l().div.withConfig({displayName:"MainMenustyles__Settings",componentId:"sc-1cw1nhj-6"})(["overflow:hidden;"]),Fa=l().div.withConfig({displayName:"MainMenustyles__SettingsOptions",componentId:"sc-1cw1nhj-7"})(["display:flex;flex-direction:column;height:100%;",""],G.Medium(ba||(ba=Na(["\n flex-wrap: wrap;\n padding: 27px 64px;\n flex-direction: row;\n height: auto;\n "])))),Ua=l().button.withConfig({displayName:"MainMenustyles__SettingsOption",componentId:"sc-1cw1nhj-8"})(["position:relative;flex-grow:1;cursor:pointer;transition:font-weight 0.2s;color:",";background-color:",";border-top:1px solid ",";",";"," "," & > span{position:relative;display:inline-block;font-size:11px;line-height:20px;text-transform:uppercase;transition:font-weight .2s;letter-spacing:2px;","}"," "," &:hover{& > span{font-weight:bold;}}"],s.white,s.orangishRed,s.orangishRedDark,(function(e){return e.back&&"\n color: ".concat(s.black,";\n background-color: transparent;\n border-top: 0;\n \n ").concat(e.isActive&&"\n color: ".concat(s.black,";\n background-color: transparent;\n "),"\n\n ").concat(G.Medium(ya||(ya=Na(["\n background-color: transparent;\n \n ","\n "])),e.isActive&&"\n background-color: transparent;\n "),"\n ")}),G.Medium(va||(va=Na(["\n flex-grow: 0;\n text-align: left;\n flex-basis: 33.3333%;\n color: ",";\n background-color: transparent;\n border-top: 0;\n "])),s.black),G.Large(wa||(wa=Na(["\n flex-basis: 25%;\n\n ","\n "])),(function(e){return e.scrollDown&&"\n flex-basis: 20%;\n "})),G.Medium(xa||(xa=Na(["\n padding: 7px 0;\n margin: 3px 0;\n "]))),(function(e){return e.isActive&&"\n background-color: ".concat(s.blue,";\n\n & > span {\n font-weight: bold;\n }\n ")}),G.Medium(Ea||(Ea=Na(["\n ","\n "])),(function(e){return e.isActive&&" \n background-color: transparent;\n\n & > span {\n &:before {\n content: '';\n display: block;\n height: 4px;\n width: 100%;\n position: absolute;\n bottom: 0;\n left: 0;\n background-color: ".concat(s.blue,";\n }\n }\n ")})));function Wa(e){return Wa="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},Wa(e)}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Va(e,t){for(var n=0;n<t.length;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)}}function Ya(e,t){return Ya=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ya(e,t)}function Qa(e,t){if(t&&("object"===Wa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ka(e)}function Ka(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ja(e)}function Za(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l().div.withConfig({displayName:"MainMenustyles__MainMenuMobileSettings",componentId:"sc-1cw1nhj-9"})(["display:block;visibility:hidden;opacity:0;z-index:5;position:absolute;top:64px;left:0;width:100%;height:calc(100% - 64px);background-color:",";border-top:1px solid ",";transition:opacity 0.2s,visibility 0.2s;",""],s.white,s.lightGrey,(function(e){return e.isActive&&"\n visibility: visible;\n opacity: 1;\n "}));var Xa=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ya(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ja(o);if(i){var n=Ja(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Qa(this,e)});function c(){var e;Ha(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Za(Ka(e=a.call.apply(a,[this].concat(n))),"state",{isSettingsActive:!1,isScrollDown:!1,lastScroll:0}),Za(Ka(e),"toggleSettings",(function(){e.setState((function(e){return{isSettingsActive:!e.isSettingsActive}}))})),Za(Ka(e),"onScroll",(function(){var t=e.state,n=t.lastScroll,r=t.isScrollDown,o=window.scrollY,i=o>n,a={lastScroll:o};i!==r&&(a.isScrollDown=i),e.setState(a)})),e}return n=c,(r=[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScroll)}},{key:"render",value:function(){var e=this.state,n=e.isSettingsActive,r=e.isScrollDown,o=this.props,i=o.isMenuActive,a=o.admin,c=o.userName,l=o.logoutUser;return t().createElement(Ra,{admin:a},t().createElement(Rn.Collapse,{isOpened:i,hasNestedCollapse:!0},t().createElement(La,null,t().createElement(Rn.Collapse,{isOpened:!r,hasNestedCollapse:!0},t().createElement(Ba,null,t().createElement(za,{nameOption:!0},t().createElement(Da,null,c)),t().createElement(za,{as:"button",button:!0,onClick:function(){return(0,xt.navigate)("/dashboard")}},t().createElement("span",null,"Dashboard")),t().createElement(za,{as:"button",button:!0,isOpened:n,onClick:this.toggleSettings},t().createElement("span",null,"Settings"),t().createElement(Ga,{isOpened:n})),t().createElement(za,null,t().createElement(sn,{negative:!0,onClick:function(){return l()}},"log out"))),t().createElement(qa,null,t().createElement(Rn.Collapse,{isOpened:n},t().createElement(Fa,null,t().createElement(Ua,null,t().createElement("span",null,"Account")),t().createElement(Ua,null,t().createElement("span",null,"Verification")),t().createElement(Ua,null,t().createElement("span",null,"Security")),t().createElement(Ua,{isActive:!0},t().createElement("span",null,"Profile & Privacy")),t().createElement(Ua,null,t().createElement("span",null,"Notifications")),t().createElement(Ua,null,t().createElement("span",null,"Addresses")),t().createElement(Ua,null,t().createElement("span",null,"TOKEN Transfer")),t().createElement(Ua,null,t().createElement("span",null,"IBAN")))))),t().createElement(Rn.Collapse,{isOpened:r,hasNestedCollapse:!0},t().createElement(Fa,null,t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"Account")),t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"Verification")),t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"Security")),t().createElement(Ua,{scrollDown:!0,isActive:!0},t().createElement("span",null,"Profile & Privacy")),t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"More"),t().createElement(Ga,null)))))))}}])&&Va(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Xa.propTypes={isMenuActive:i().bool.isRequired,admin:i().bool,userName:i().string,logoutUser:i().func.isRequired},Xa.defaultProps={admin:!1,userName:""};var $a=Xa,ec=require("axios"),tc=n.n(ec),nc=process.env.REACT_APP_API_URL||"https://platform-api.stokr.info/api/v1/",rc=tc().create({headers:{"Content-Type":"application/json"},baseURL:nc}),oc=require("js-cookie"),ic=n.n(oc),ac=function(){var e={};return e.domain=process.env.REACT_APP_COOKIE_DOMAIN,e};function cc(e){return cc="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},cc(e)}function lc(){lc=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==cc(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function sc(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function uc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){sc(i,r,o,a,c,"next",e)}function c(e){sc(i,r,o,a,c,"throw",e)}a(void 0)}))}}function fc(e,t){for(var n=0;n<t.length;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)}}var dc=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"setAccessToken",value:function(e){this.logout();var t={expires:1/24};t.domain=ac(),ic().set("STOKR_ACCESS_TOKEN",e,t)}},{key:"getAccessToken",value:function(){return ic().getJSON("STOKR_ACCESS_TOKEN")}},{key:"logout",value:function(){var e={};e.domain=ac(),ic().remove("STOKR_ACCESS_TOKEN",e)}},{key:"login",value:function(e){return new Promise((function(t,n){rc.post("auth/login",e).then((function(e){rc.defaults.headers.common.Authorization="Bearer ".concat(e.data.access_token),t(e.data)})).catch((function(e){n(e)}))}))}},{key:"twoFactor",value:function(e){return new Promise((function(t,n){rc.post("auth/confirm2fa",e).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"activateUser",value:function(){var e,t=window.location.href.includes("?token=");return e=t?window.location.href.split("activateUser?token=")[1].split("&")[0]:window.location.href.split("activateUser/")[1].split("/")[0],new Promise((function(t,n){rc.post("auth/activate",{token:e}).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"getUser",value:function(){return new Promise((function(e,t){rc.post("user/get").then((function(t){e(t.data)})).catch((function(e){t(e)}))}))}},{key:"checkPrivateInvestor",value:function(e){return new Promise((function(t,n){rc.post("private-investor/check",e).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"updateUser",value:function(e){return new Promise((function(t,n){rc.post("user/updateProfile",e).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"sendWelcomeEmail",value:function(){return new Promise((function(e,t){rc.post("user/welcomeEmail").then((function(){e()})).catch((function(e){t(e)}))}))}},{key:"resendActivationEmail",value:function(e){return new Promise((function(t,n){rc.post("auth/forgotPass",e).then((function(){t()})).catch((function(e){n(e)}))}))}},{key:"uploaProofOfAddress",value:function(e,t){return new Promise(function(){var n=uc(lc().mark((function n(r,o){return lc().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:rc.post("https://kycdocs.stokr-staging.de/kyc/upload?ip=".concat(t),e,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){r(e.data)})).catch((function(e){o(e)}));case 1:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}())}},{key:"validateGreenWalletId",value:function(e){return new Promise(function(){var t=uc(lc().mark((function t(n,r){return lc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:rc.post("greenwallet/validate-gaid",{gaid:e}).then((function(e){n(e.data)})).catch((function(e){r(e)}));case 1:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())}}],null&&fc(t.prototype,null),n&&fc(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),pc=dc,mc=[{name:"Aland Islands",ISO2:"AX",ISO3:"ALA","infinite-fleet":!0},{name:"Andorra",ISO2:"AD",ISO3:"AND",artid:!0,"infinite-fleet":!0},{name:"Anguilla",ISO2:"AI",ISO3:"AIA","infinite-fleet":!0},{name:"Antarctica",ISO2:"AQ",ISO3:"ATA","infinite-fleet":!0},{name:"Antigua and Barbuda",ISO2:"AG",ISO3:"ATG","infinite-fleet":!0},{name:"Armenia",ISO2:"AM",ISO3:"ARM","infinite-fleet":!0},{name:"Aruba",ISO2:"AW",ISO3:"ABW",signUpWarning:!0},{name:"Australia",ISO2:"AU",ISO3:"AUS",signUpWarning:!0},{name:"Austria",ISO2:"AT",ISO3:"AUT",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Azerbaijan",ISO2:"AZ",ISO3:"AZE","infinite-fleet":!0},{name:"Bahamas",ISO2:"BS",ISO3:"BHS","infinite-fleet":!0},{name:"Bahrain",ISO2:"BH",ISO3:"BHR","infinite-fleet":!0},{name:"Belgium",ISO2:"BE",ISO3:"BEL",signUpWarning:!0,SEPA:!0},{name:"Belize",ISO2:"BZ",ISO3:"BLZ","infinite-fleet":!0},{name:"Bermuda",ISO2:"BM",ISO3:"BMU","infinite-fleet":!0},{name:"Bonaire, Saint Eustatius and Saba ",ISO2:"BQ",ISO3:"BES","infinite-fleet":!0},{name:"Bouvet Island",ISO2:"BV",ISO3:"BVT","infinite-fleet":!0},{name:"Brazil",ISO2:"BR",ISO3:"BRA",artid:!0,"infinite-fleet":!0},{name:"British Indian Ocean Territory",ISO2:"IO",ISO3:"IOT","infinite-fleet":!0},{name:"British Virgin Islands",ISO2:"VG",ISO3:"VGB","infinite-fleet":!0},{name:"Bulgaria",ISO2:"BG",ISO3:"BGR",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Canada",ISO2:"CA",ISO3:"CAN",signUpWarning:!0},{name:"Cayman Islands",ISO2:"KY",ISO3:"CYM","infinite-fleet":!0},{name:"Chile",ISO2:"CL",ISO3:"CHL","infinite-fleet":!0},{name:"Christmas Island",ISO2:"CX",ISO3:"CXR","infinite-fleet":!0},{name:"Cocos Islands",ISO2:"CC",ISO3:"CCK","infinite-fleet":!0},{name:"Cook Islands",ISO2:"CK",ISO3:"COK","infinite-fleet":!0},{name:"Costa Rica",ISO2:"CR",ISO3:"CRI",signUpWarning:!0},{name:"Croatia",ISO2:"HR",ISO3:"HRV",signUpWarning:!0,SEPA:!0},{name:"Cyprus",ISO2:"CY",ISO3:"CYP",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Czech Republic",ISO2:"CZ",ISO3:"CZE",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Denmark",ISO2:"DK",ISO3:"DNK",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Dominica",ISO2:"DM",ISO3:"DMA","infinite-fleet":!0},{name:"Dominican Republic",ISO2:"DO",ISO3:"DOM",signUpWarning:!0},{name:"Egypt",ISO2:"EG",ISO3:"EGY",signUpWarning:!0},{name:"El Salvador",ISO2:"SV",ISO3:"SLV",signUpWarning:!0},{name:"Estonia",ISO2:"EE",ISO3:"EST",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Falkland Islands",ISO2:"FK",ISO3:"FLK","infinite-fleet":!0},{name:"Faroe Islands",ISO2:"FO",ISO3:"FRO","infinite-fleet":!0},{name:"Fiji",ISO2:"FJ",ISO3:"FJI","infinite-fleet":!0},{name:"Finland",ISO2:"FI",ISO3:"FIN",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"France",ISO2:"FR",ISO3:"FRA",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"French Guiana",ISO2:"GF",ISO3:"GUF","infinite-fleet":!0},{name:"French Polynesia",ISO2:"PF",ISO3:"PYF","infinite-fleet":!0},{name:"French Southern Territories",ISO2:"TF",ISO3:"ATF","infinite-fleet":!0},{name:"Gabon",ISO2:"GA",ISO3:"GAB","infinite-fleet":!0},{name:"Gambia",ISO2:"GM",ISO3:"GMB","infinite-fleet":!0},{name:"Georgia",ISO2:"GE",ISO3:"GEO","infinite-fleet":!0},{name:"Germany",ISO2:"DE",ISO3:"DEU",signUpWarning:!0,SEPA:!0},{name:"Gibraltar",ISO2:"GI",ISO3:"GIB","infinite-fleet":!0},{name:"Greece",ISO2:"GR",ISO3:"GRC",signUpWarning:!0,SEPA:!0},{name:"Greenland",ISO2:"GL",ISO3:"GRL",signUpWarning:!0},{name:"Grenada",ISO2:"GD",ISO3:"GRD","infinite-fleet":!0},{name:"Guadeloupe",ISO2:"GP",ISO3:"GLP","infinite-fleet":!0},{name:"Guatemala",ISO2:"GT",ISO3:"GTM",signUpWarning:!0},{name:"Guernsey",ISO2:"GG",ISO3:"GGY","infinite-fleet":!0},{name:"Heard Island and McDonald Islands",ISO2:"HM",ISO3:"HMD","infinite-fleet":!0},{name:"Honduras",ISO2:"HN",ISO3:"HND",signUpWarning:!0},{name:"Hong Kong",ISO2:"HK",ISO3:"HKG","infinite-fleet":!0},{name:"Hungary",ISO2:"HU",ISO3:"HUN",signUpWarning:!0,SEPA:!0},{name:"Iceland",ISO2:"IS",ISO3:"ISL",artid:!0,SEPA:!0},{name:"India",ISO2:"IN",ISO3:"IND",signUpWarning:!0},{name:"Indonesia",ISO2:"ID",ISO3:"IDN",signUpWarning:!0},{name:"Ireland",ISO2:"IE",ISO3:"IRL",signUpWarning:!0,SEPA:!0},{name:"Isle of Man",ISO2:"IM",ISO3:"IMN","infinite-fleet":!0},{name:"Israel",ISO2:"IL",ISO3:"ISR",signUpWarning:!0},{name:"Italy",ISO2:"IT",ISO3:"ITA",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Japan",ISO2:"JP",ISO3:"JPN",signUpWarning:!0},{name:"Jersey",ISO2:"JE",ISO3:"JEY","infinite-fleet":!0},{name:"Kazakhstan",ISO2:"KZ",ISO3:"KAZ","infinite-fleet":!0},{name:"Kiribati",ISO2:"KI",ISO3:"KIR","infinite-fleet":!0},{name:"Kuwait",ISO2:"KW",ISO3:"KWT",signUpWarning:!0},{name:"Latvia",ISO2:"LV",ISO3:"LVA",signUpWarning:!0,SEPA:!0},{name:"Lebanon",ISO2:"LB",ISO3:"LBN","infinite-fleet":!0},{name:"Lesotho",ISO2:"LS",ISO3:"LSO","infinite-fleet":!0},{name:"Liechtenstein",ISO2:"LI",ISO3:"LIE","infinite-fleet":!0,SEPA:!0},{name:"Lithuania",ISO2:"LT",ISO3:"LTU",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Luxembourg",ISO2:"LU",ISO3:"LUX",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Macedonia",ISO2:"MK",ISO3:"MKD","infinite-fleet":!0},{name:"Malawi",ISO2:"MW",ISO3:"MWI","infinite-fleet":!0},{name:"Malaysia",ISO2:"MY",ISO3:"MYS",signUpWarning:!0},{name:"Malta",ISO2:"MT",ISO3:"MLT",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Martinique",ISO2:"MQ",ISO3:"MTQ","infinite-fleet":!0},{name:"Mauritius",ISO2:"MU",ISO3:"MUS","infinite-fleet":!0},{name:"Mayotte",ISO2:"YT",ISO3:"MYT","infinite-fleet":!0},{name:"Mexico",ISO2:"MX",ISO3:"MEX",signUpWarning:!0},{name:"Micronesia",ISO2:"FM",ISO3:"FSM","infinite-fleet":!0},{name:"Moldova",ISO2:"MD",ISO3:"MDA","infinite-fleet":!0},{name:"Monaco",ISO2:"MC",ISO3:"MCO",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Montenegro",ISO2:"ME",ISO3:"MNE",signUpWarning:!0},{name:"Montserrat",ISO2:"MS",ISO3:"MSR","infinite-fleet":!0},{name:"Nauru",ISO2:"NR",ISO3:"NRU","infinite-fleet":!0},{name:"Netherlands",ISO2:"NL",ISO3:"NLD",signUpWarning:!0,SEPA:!0},{name:"New Caledonia",ISO2:"NC",ISO3:"NCL","infinite-fleet":!0},{name:"New Zealand",ISO2:"NZ",ISO3:"NZL",signUpWarning:!0},{name:"Niue",ISO2:"NU",ISO3:"NIU","infinite-fleet":!0},{name:"Norfolk Island",ISO2:"NF",ISO3:"NFK","infinite-fleet":!0},{name:"Norway",ISO2:"NO",ISO3:"NOR",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Peru",ISO2:"PE",ISO3:"PER",signUpWarning:!0},{name:"Pitcairn",ISO2:"PN",ISO3:"PCN","infinite-fleet":!0},{name:"Poland",ISO2:"PL",ISO3:"POL",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Portugal",ISO2:"PT",ISO3:"PRT",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Reunion",ISO2:"RE",ISO3:"REU","infinite-fleet":!0},{name:"Romania",ISO2:"RO",ISO3:"ROU",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Saint Barthelemy",ISO2:"BL",ISO3:"BLM","infinite-fleet":!0},{name:"Saint Helena",ISO2:"SH",ISO3:"SHN","infinite-fleet":!0},{name:"Saint Kitts and Nevis",ISO2:"KN",ISO3:"KNA","infinite-fleet":!0},{name:"Saint Lucia",ISO2:"LC",ISO3:"LCA","infinite-fleet":!0},{name:"Saint Martin",ISO2:"MF",ISO3:"MAF","infinite-fleet":!0},{name:"Saint Pierre and Miquelon",ISO2:"PM",ISO3:"SPM","infinite-fleet":!0},{name:"Saint Vincent and the Grenadines",ISO2:"VC",ISO3:"VCT","infinite-fleet":!0},{name:"Samoa",ISO2:"WS",ISO3:"WSM","infinite-fleet":!0},{name:"San Marino",ISO2:"SM",ISO3:"SMR","infinite-fleet":!0},{name:"Saudi Arabia",ISO2:"SA",ISO3:"SAU",signUpWarning:!0},{name:"Singapore",ISO2:"SG",ISO3:"SGP",signUpWarning:!0},{name:"Sint Maarten",ISO2:"SX",ISO3:"SXM",signUpWarning:!0},{name:"Slovakia",ISO2:"SK",ISO3:"SVK",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Slovenia",ISO2:"SI",ISO3:"SVN",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Solomon Islands",ISO2:"SB",ISO3:"SLB","infinite-fleet":!0},{name:"South Africa",ISO2:"ZA",ISO3:"ZAF","infinite-fleet":!0},{name:"South Georgia and the South Sandwich Islands",ISO2:"GS",ISO3:"SGS","infinite-fleet":!0},{name:"South Korea",ISO2:"KR",ISO3:"KOR",signUpWarning:!0},{name:"Spain",ISO2:"ES",ISO3:"ESP",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Svalbard and Jan Mayen",ISO2:"SJ",ISO3:"SJM","infinite-fleet":!0},{name:"Sweden",ISO2:"SE",ISO3:"SWE",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Switzerland",ISO2:"CH",ISO3:"CHE",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Taiwan",ISO2:"TW",ISO3:"TWN",artid:!0,"infinite-fleet":!0},{name:"Tokelau",ISO2:"TK",ISO3:"TKL","infinite-fleet":!0},{name:"Trinidad and Tobago",ISO2:"TT",ISO3:"TTO","infinite-fleet":!0},{name:"Tunisia",ISO2:"TN",ISO3:"TUN",signUpWarning:!0},{name:"Turks and Caicos Islands",ISO2:"TC",ISO3:"TCA","infinite-fleet":!0},{name:"Tuvalu",ISO2:"TV",ISO3:"TUV","infinite-fleet":!0},{name:"United Arab Emirates",ISO2:"AE",ISO3:"ARE",artid:!0,signUpWarning:!0},{name:"United Kingdom",ISO2:"GB",ISO3:"GBR",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"United States",ISO2:"US",ISO3:"USA"},{name:"Uruguay",ISO2:"UY",ISO3:"URY","infinite-fleet":!0},{name:"Vatican",ISO2:"VA",ISO3:"VAT","infinite-fleet":!0},{name:"Wallis and Futuna",ISO2:"WF",ISO3:"WLF","infinite-fleet":!0}],hc=function(e){return mc.find((function(t){return t.name===e}))};function gc(e){return gc="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},gc(e)}function bc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bc(Object(n),!0).forEach((function(t){Cc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vc(){vc=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==gc(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function wc(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function xc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){wc(i,r,o,a,c,"next",e)}function c(e){wc(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sc(e,t){for(var n=0;n<t.length;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)}}function Oc(e,t){return Oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oc(e,t)}function Ic(e,t){if(t&&("object"===gc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ac(e)}function Ac(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kc(e)}function Cc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pc=t().createContext(),Tc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oc(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=kc(o);if(i){var n=kc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ic(this,e)});function c(){var e;Ec(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Cc(Ac(e=a.call.apply(a,[this].concat(n))),"state",{user:void 0,isFetchingUser:!0}),Cc(Ac(e),"activateUser",xc(vc().mark((function t(){var n,r,o;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,pc.activateUser();case 3:n=t.sent,r=n.user,o=n.access_token,rc.defaults.headers.common.Authorization="Bearer ".concat(o),pc.setAccessToken(o),e.setState({user:r,isFetchingUser:!1}),t.next=16;break;case 11:t.prev=11,t.t0=t.catch(0),console.log("Error activating user: ",t.t0),(0,xt.navigate)("/oops",{state:{message:"This activation token has expired.",hasActivationTokenExpired:!0}}),e.setState({isFetchingUser:!1});case 16:case"end":return t.stop()}}),t,null,[[0,11]])})))),Cc(Ac(e),"logoutUser",(function(){pc.logout(),e.setState({user:void 0}),window.location.href="https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN)})),Cc(Ac(e),"setUser",function(){var t=xc(vc().mark((function t(n){var r,o,i,a;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return rc.defaults.headers.common.Authorization="Bearer ".concat(n),t.prev=1,t.next=4,pc.getUser();case 4:r=t.sent,o=r.user,i=o.activate_token,a=o.country,i?(0,xt.navigate)("/resend-activation-email"):a&&!hc(a)&&(0,xt.navigate)("/country-of-residence"),e.setState({user:o,isFetchingUser:!1}),t.next=16;break;case 11:t.prev=11,t.t0=t.catch(1),(0,xt.navigate)("/oops"),e.setState({isFetchingUser:!1}),console.log("Error fetching the user: ".concat(t.t0));case 16:case"end":return t.stop()}}),t,null,[[1,11]])})));return function(e){return t.apply(this,arguments)}}()),Cc(Ac(e),"updateUser",function(){var t=xc(vc().mark((function t(n){var r,o;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,pc.updateUser(n);case 3:r=t.sent,o=r.user,e.setState({user:o}),t.next=12;break;case 8:throw t.prev=8,t.t0=t.catch(0),console.log("Error updating the user: ".concat(t.t0)),t.t0;case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()),Cc(Ac(e),"checkIfPrivateInvestor",function(){var e=xc(vc().mark((function e(t){var n;return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pc.checkPrivateInvestor(t);case 3:return n=e.sent,e.abrupt("return",n);case 7:throw e.prev=7,e.t0=e.catch(0),e.t0;case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()),Cc(Ac(e),"resendActivationEmail",function(){var e=xc(vc().mark((function e(t){return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pc.resendActivationEmail(t);case 3:e.next=9;break;case 5:throw e.prev=5,e.t0=e.catch(0),console.log("Error resending activation email: ".concat(e.t0)),e.t0;case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}()),Cc(Ac(e),"sendWelcomeEmail",xc(vc().mark((function e(){return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pc.sendWelcomeEmail();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.log("Error sending welcome email: ".concat(e.t0));case 8:case"end":return e.stop()}}),e,null,[[0,5]])})))),Cc(Ac(e),"uploaProofOfAddress",function(){var t=xc(vc().mark((function t(n,r){var o;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,pc.uploaProofOfAddress(n,r);case 3:o=t.sent,e.setState({user:o}),t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(0),console.log("Error uploading proof of address: ".concat(t.t0)),t.t0;case 11:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e,n){return t.apply(this,arguments)}}()),Cc(Ac(e),"validateGreenWalletId",function(){var e=xc(vc().mark((function e(t){return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",pc.validateGreenWalletId(t));case 4:throw e.prev=4,e.t0=e.catch(0),console.log("Error validating Green Wallet ID: ".concat(e.t0)),e.t0;case 8:case"end":return e.stop()}}),e,null,[[0,4]])})));return function(t){return e.apply(this,arguments)}}()),e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=window.location.href.includes("/activateUser"),t=pc.getAccessToken();e?this.activateUser():t?this.setUser(t):(console.log("No access token"),window.location.href="https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN,"/login"))}},{key:"render",value:function(){var e=this.props.children;return t().createElement(Pc.Provider,{value:yc(yc({},this.state),{},{logoutUser:this.logoutUser,setUser:this.setUser,updateUser:this.updateUser,checkIfPrivateInvestor:this.checkIfPrivateInvestor,sendWelcomeEmail:this.sendWelcomeEmail,resendActivationEmail:this.resendActivationEmail,uploaProofOfAddress:this.uploaProofOfAddress,validateGreenWalletId:this.validateGreenWalletId})},e)}}])&&Sc(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Component);Tc.propTypes={children:i().node.isRequired};var jc,Mc,_c=Pc.Consumer;function Nc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Rc=l().div.withConfig({displayName:"StepsProgressstyles__Container",componentId:"sc-1gnllve-0"})(["display:block;width:100%;height:100%;"]),Lc=l().div.withConfig({displayName:"StepsProgressstyles__Wrap",componentId:"sc-1gnllve-1"})(["display:block;margin:0 auto;"]),Bc=l().div.withConfig({displayName:"StepsProgressstyles__Items",componentId:"sc-1gnllve-2"})(["display:flex;height:100%;font-size:0;flex-direction:row;flex-wrap:nowrap;justify-content:center;margin:0 -6px;text-align:center;",""],G.Medium(jc||(jc=Nc(["\n display: block;\n "])))),zc=l().button.withConfig({displayName:"StepsProgressstyles__Item",componentId:"sc-1gnllve-3"})(["position:relative;display:inline-block;vertical-align:middle;padding:0;flex:1;margin:0 4px;height:32px;max-width:32px;cursor:pointer;&:before{z-index:0;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;box-shadow:inset 0 1px 3px 0 rgba(0,0,0,0.05);background-color:",";}&:after{z-index:1;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;background-color:transparent;transition:background-color .2s;}&:focus{outline:none;}&:hover:after{background-color:",";}"," "," ",""],s.grey,s.black,(function(e){return e.isDone&&"\n &:after {\n background-color: ".concat(s.progressGreen,";\n }\n\n &:hover:after {\n background-color: ").concat(s.black,";\n }\n ")}),(function(e){return e.isActive&&"\n &:after {\n background-color: ".concat(s.grey2,";\n }\n\n &:hover:after {\n background-color: ").concat(s.black,";\n }\n ")}),G.Medium(Mc||(Mc=Nc(["\n width: 32px;\n "])))),Dc=function(){var n=(0,e.useContext)(Pc).user,r=n.country,o=n.kyc_status,i=n.KYCDocuments,a=void 0===i?{}:i,c=n.entity_name,l=n.investor_eth_addresses,s=void 0===l?[]:l,u=n.is_risk_questionnaire_finished,f="Pending"===o||"Approved"===o||"Accepted"===o,d="Pending"===a.status||"Approved"===a.status,p=s.length>0,m=!!r&&f&&d&&p&&!!u,h=p&&!!u,g=function(e){return window.location.pathname.includes(e)},b=c?[{id:"choose-wallet",handleClick:function(){return(0,xt.navigate)("/register-liquid-securities")},isDone:p,isActive:g("/choose-wallet")||g("/register-ethereum")||g("/register-liquid-securities")},{id:"risk",handleClick:function(){return(0,xt.navigate)("/risk-questionnaire")},isDone:!!u,isActive:g("/risk-questionnaire")},{id:"overview",handleClick:function(){return(0,xt.navigate)("/overview/remaining")},isDone:h,isActive:g("/overview/remaining")}]:[{id:"country",handleClick:function(){return(0,xt.navigate)("/country-of-residence")},isDone:!!r,isActive:g("/country-of-residence")},{id:"verify",handleClick:function(){return(0,xt.navigate)("/verify-identity")},isDone:f&&d,isActive:g("/verify-identity")},{id:"choose-wallet",handleClick:function(){return(0,xt.navigate)("/register-liquid-securities")},isDone:p,isActive:g("/choose-wallet")||g("/register-ethereum")||g("/register-liquid-securities")},{id:"risk",handleClick:function(){return(0,xt.navigate)("/risk-questionnaire")},isDone:!!u,isActive:g("/risk-questionnaire")},{id:"overview",handleClick:function(){return(0,xt.navigate)("/overview/remaining")},isDone:m,isActive:g("/overview/remaining")}];return t().createElement(Rc,null,t().createElement(Lc,null,t().createElement(Bc,null,b.map((function(e,n){return t().createElement(zc,{key:e.id,isDone:e.isDone,isActive:e.isActive,onClick:function(){e.handleClick&&e.handleClick(e.id)}})})))))};Dc.defaultProps={user:{}};var Gc,qc,Fc,Uc,Wc,Hc,Vc,Yc,Qc,Kc,Jc,Zc,Xc=Dc;function $c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var el=l().header.withConfig({displayName:"Headerstyles__StyledHeader",componentId:"sc-hifrdy-0"})(["z-index:20;position:relative;color:",";",""],s.black,G.Medium(Gc||(Gc=$c(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: ","px;\n background-color: ",";\n box-shadow: inset 0 -1px 0 0 ",";\n "])),yo,s.white,s.lightGrey)),tl=l().div.withConfig({displayName:"Headerstyles__HeaderInner",componentId:"sc-hifrdy-1"})(["position:relative;padding:24px;justify-content:space-between;"," ",""],(function(e){return e.withSidebar&&"\n padding-left: 90px;\n "}),G.Medium(qc||(qc=$c(["\n display: flex;\n padding: 28px 32px;\n align-items: center;\n height: 100%;\n\n ","\n "])),(function(e){return e.withSidebar&&"\n padding-left: 28px;\n "}))),nl=l().div.withConfig({displayName:"Headerstyles__MainNavWrap",componentId:"sc-hifrdy-2"})(["z-index:2;position:relative;font-size:0;",""],G.Medium(Fc||(Fc=$c(["\n flex-grow: ",";\n width: ",";\n\n","\n"])),(function(e){return!e.isFixedWidth&&1}),(function(e){return e.isFixedWidth&&"200px"}),(function(e){return e.noProgress&&"\n flex-grow: 3;\n "}))),rl=l().div.withConfig({displayName:"Headerstyles__ProgressWrap",componentId:"sc-hifrdy-3"})(["z-index:0;position:relative;text-align:center;margin-top:24px;",""],G.Medium(Uc||(Uc=$c(["\n flex-grow: 2;\n margin-top: 0;\n "])))),ol=l().div.withConfig({displayName:"Headerstyles__QuickNavWrap",componentId:"sc-hifrdy-4"})(["z-index:2;position:absolute;top:0;right:0;height:100%;",""],G.Medium(Wc||(Wc=$c(["\n position: relative;\n right: auto;\n flex-grow: ",";\n width: ",";\n text-align: right;\n "])),(function(e){return!e.isFixedWidth&&1}),(function(e){return e.isFixedWidth&&"200px"}))),il=l().div.withConfig({displayName:"Headerstyles__Logo",componentId:"sc-hifrdy-5"})(["display:inline-block;vertical-align:middle;color:",";transition:color 0.4s;"," a{display:block;transition:opacity 0.2s;&:hover{opacity:0.5;}}img{display:block;height:16px;width:auto;}svg{display:block;height:16px;width:auto;fill:currentColor;}",""],s.black,(function(e){return e.isHighlight&&"\n color: ".concat(s.blue,";\n ")}),G.Medium(Hc||(Hc=$c(["\n margin-left: 0;\n margin-right: 42px;\n "])))),al=(l().div.withConfig({displayName:"Headerstyles__HeaderMainNav",componentId:"sc-hifrdy-6"})(["display:none;"," button{text-transform:uppercase;}"],G.Medium(Vc||(Vc=$c(["\n display: inline-block;\n "])))),l().div.withConfig({displayName:"Headerstyles__HeaderQuickNav",componentId:"sc-hifrdy-7"})(["display:none;"," button{text-transform:uppercase;","}"],G.Medium(Yc||(Yc=$c(["\n display: inline-block;\n\n & > * {\n margin-left: 32px;\n\n &:first-child {\n margin-left: 0;\n }\n }\n "]))),G.Medium(Qc||(Qc=$c(["\n vertical-align: middle;\n "]))))),cl=l().button.withConfig({displayName:"Headerstyles__MobileMenuToggler",componentId:"sc-hifrdy-8"})(["display:block;width:32px;height:32px;position:absolute;top:16px;right:16px;outline:none;cursor:pointer;"," span{display:block;width:16px;height:2px;position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-8px;background-color:",";transition:background-color 0.4s,transform 0.4s;&:nth-child(1){transform:translateY(-6px);}&:nth-child(3){transform:translateY(6px);}}",""],G.Medium(Kc||(Kc=$c(["\n display: none;\n "]))),s.black,(function(e){return e.isActive&&"\n span {\n background-color: ".concat(s.blue,";\n\n &:nth-child(1) {\n transform: translateY(0) rotate(135deg);\n }\n\n &:nth-child(2) {\n transform: scaleX(0);\n }\n\n &:nth-child(3) {\n transform: translateY(0) rotate(-135deg);\n }\n }\n ")})),ll=l().nav.withConfig({displayName:"Headerstyles__MobileMenu",componentId:"sc-hifrdy-9"})(["z-index:1;position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100vh;background-color:",";padding:0;padding-top:64px;text-align:center;box-shadow:0 2px 20px 0 rgba(0,0,0,0.3);opacity:0;visibility:hidden;transition:opacity 0.4s,visibility 0.4s;"," &:before{content:'';display:block;width:100%;height:1px;background-color:",";position:absolute;top:64px;left:0;}"," button{text-transform:uppercase;}"],s.white,(function(e){return e.isActive&&"\n opacity: 1;\n visibility: visible;\n "}),s.lightGrey,G.Medium(Jc||(Jc=$c(["\n display: none;\n "])))),sl=(l().li.withConfig({displayName:"Headerstyles__MobileMenuItem",componentId:"sc-hifrdy-10"})(["align-items:center;display:flex !important;justify-content:center;"]),l().div.withConfig({displayName:"Headerstyles__MobileMenuPart",componentId:"sc-hifrdy-11"})([""," "," "," "," ",""],(function(e){return e.withPadding&&"\n padding: 30px 0;\n\n @media screen and (max-width: 320px) {\n padding: 15px 0;\n }\n "}),(function(e){return e.grow&&"\n flex-grow: ".concat(e.grow,";\n ")}),(function(e){return e.flexColumn&&"\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n button {\n margin: 10px 0;\n }\n "}),(function(e){return e.noPaddingTop&&"\n padding-top: 0;\n "}),(function(e){return e.borderTop&&"\n border-top: 1px solid ".concat(s.lightGrey,";\n ")}))),ul=(l().div.withConfig({displayName:"Headerstyles__UserAccount",componentId:"sc-hifrdy-12"})(["z-index:1;position:relative;display:inline-block;vertical-align:middle;",""],G.Medium(Zc||(Zc=$c(["\n margin: -4px 0;\n margin-left: 32px;\n "])))),l().button.withConfig({displayName:"Headerstyles__UserButton",componentId:"sc-hifrdy-13"})(["display:inline-block;vertical-align:middle;width:48px;height:48px;border-radius:24px;overflow:hidden;background-color:",";opacity:1;transition:opacity 0.2s;outline:none;cursor:pointer;box-shadow:none;"],s.grey2),l().img.withConfig({displayName:"Headerstyles__UserAvatar",componentId:"sc-hifrdy-14"})(["display:block;width:100%;height:100%;object-fit:cover;object-position:center center;"]),l().div.withConfig({displayName:"Headerstyles__UserName",componentId:"sc-hifrdy-15"})(["z-index:0;position:relative;display:block;padding-top:36px;padding-bottom:20px;font-weight:600;font-size:16px;line-height:24px;background-color:",";color:",";margin-top:-24px;"],s.orangishRed,s.white),ic().getJSON("STOKR_INVESTOR_DASHBOARD_REDIRECT")||ic().getJSON("STOKR_INVEST_IN_STO_REDIRECT"));function fl(e){return fl="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},fl(e)}function dl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pl(e,t){for(var n=0;n<t.length;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)}}function ml(e,t){return ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ml(e,t)}function hl(e,t){if(t&&("object"===fl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gl(e)}function gl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bl(e)}function yl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vl=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ml(e,t)}(l,n);var r,o,i,a,c=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=bl(i);if(a){var n=bl(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return hl(this,e)});function l(){var e;dl(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yl(gl(e=c.call.apply(c,[this].concat(n))),"state",{isMenuActive:!1}),yl(gl(e),"toggleMenu",(function(){e.setState((function(e){return{isMenuActive:!e.isMenuActive}}))})),e}return r=l,(o=[{key:"render",value:function(){var n=this,r=this.state.isMenuActive,o=this.props,i=o.progress,a=o.signupFlow,c=o.noLogout;return t().createElement(_c,null,(function(o){var l=o.user,s=(o.avatar,o.logout),u=o.logoutUser;return t().createElement(el,null,t().createElement(_o,null,t().createElement(tl,null,t().createElement(nl,{isFixedWidth:!0},t().createElement(il,{isHighlight:r},t().createElement("a",{href:"https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN)},t().createElement(Wi,null)))),i&&!ul&&t().createElement(rl,null,t().createElement(Xc,null)),t().createElement(ol,{isFixedWidth:!0},t().createElement(cl,{isActive:r,onClick:n.toggleMenu},t().createElement("span",null),t().createElement("span",null),t().createElement("span",null)),t().createElement(al,null,!c&&t().createElement(sn,{onClick:function(){return u()}},"Log Out"),!s&&!a&&t().createElement(e.Fragment,null))),t().createElement(ll,{isActive:r},t().createElement(sl,{grow:1,flexColumn:!0,borderTop:!0},t().createElement(sn,{minWidth:"160px",secondary:!0,onClick:function(){return u()}},"log out"))))),t().createElement($a,{isMenuActive:r,userName:l&&l.name,logoutUser:u}))}))}}])&&pl(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),l}(e.PureComponent);vl.propTypes={progress:i().bool,signupFlow:i().bool,loginHandler:i().func,signupHandler:i().func},vl.defaultProps={progress:null,signupFlow:!1,loginHandler:function(){},signupHandler:function(){}};var wl,xl=vl,El=require("react-day-picker/DayPickerInput"),Sl=n.n(El),Ol=l().div.withConfig({displayName:"DatePickerInputstyles__DatePickerOverlay",componentId:"sc-102qruz-0"})(["&&& > .DayPickerInput{display:block;position:relative;width:100%;}&&& > .DayPickerInput-OverlayWrapper{z-index:100;}&&& > .DayPickerInput > input{font-family:'Open sans';display:block;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:13px 0;padding-bottom:7px;border-radius:0;box-shadow:none;outline:0;border:0;border-top:1px solid transparent;border-bottom:1px solid ",";color:",";background-color:transparent;transition:border-color 0.2s;&:focus,&:hover{box-shadow:none;border-top-color:transparent;border-bottom-color:",";}&::placeholder{color:transparent;opacity:0;}}",""],(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.dashboard&&(0,c.css)(wl||(wl=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n &&& > .DayPickerInput > input {\n border: 0;\n padding: 0;\n height: 22px;\n font-family: 'Open Sans';\n font-weight: 300;\n font-size: 14px;\n line-height: 22px;\n letter-spacing: 0.53px;\n text-transform: normal;\n color: ",";\n\n &::placeholder {\n color: ",";\n opacity: 1;\n }\n }\n "])),p.cBlack,p.cGrey2)}));function Il(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Al,kl,Cl,Pl=function(n){var r=n.id,o=n.name,i=n.label,a=n.placeholder,c=n.value,l=n.error,s=n.touched,u=n.dashboard,f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Il(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Il(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),d=f[0],p=f[1];(0,e.useEffect)((function(){m(!1)}),[]);var m=function(e){p(e||!!c)};return t().createElement(Me,null,i&&t().createElement(_e,{isUp:d,error:l&&s,htmlFor:r},i),t().createElement(Ol,{onClick:function(){return m(!0)},dashboard:u},t().createElement(Sl(),{id:r,name:o,value:c,placeholder:a,onDayChange:function(e){n.onChange&&n.onChange(null,{name:o,value:e})},error:l})))};function Tl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Pl.propTypes={id:i().string.isRequired,name:i().string.isRequired,label:i().string,placeholder:i().string,error:i().bool,touched:i().bool,value:i().oneOfType([i().string,i().instanceOf(Date)]).isRequired,onChange:i().func.isRequired,dashboard:i().bool},Pl.defaultProps={label:"",placeholder:"",error:!1,touched:!1,dashboard:!1};var jl=l().div.withConfig({displayName:"InputPasswordstyles__BottomWrap",componentId:"sc-nohv3o-0"})(["position:relative;margin-top:6px;"]),Ml=l().div.withConfig({displayName:"InputPasswordstyles__ShowPassword",componentId:"sc-nohv3o-1"})(["display:block;position:absolute;top:0;right:0;cursor:pointer;transition:color 0.2s;font-size:12px;line-height:16px;padding:12px 0;height:40px;width:20px;text-align:right;&:hover{color:",";}"],(function(e){return p.cPrimary})),_l=l().div.withConfig({displayName:"InputPasswordstyles__CapslockIndicator",componentId:"sc-nohv3o-2"})(["position:absolute;top:4px;right:2px;& > svg{fill:",";}"],(function(e){return p.cBlack})),Nl=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthWrap",componentId:"sc-nohv3o-3"})(["padding:3px 0;display:block;width:100%;padding-right:20px;font-size:0;"]),Rl=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthIndicators",componentId:"sc-nohv3o-4"})(["display:inline-block;vertical-align:middle;margin:0 -4px;padding-right:12px;"," "," ",""],(function(e){return e.passwordStrength===ql.WEAK&&(0,c.css)(Al||(Al=Tl(["\n "," {\n &:nth-child(1) {\n background-color: ",";\n }\n }\n "])),Ll,p.cWarning)}),(function(e){return e.passwordStrength===ql.MEDIUM&&(0,c.css)(kl||(kl=Tl(["\n "," {\n &:nth-child(1),\n &:nth-child(2) {\n background-color: ",";\n }\n }\n "])),Ll,p.cYellow)}),(function(e){return e.passwordStrength===ql.STRONG&&(0,c.css)(Cl||(Cl=Tl(["\n "," {\n &:nth-child(1),\n &:nth-child(2),\n &:nth-child(3) {\n background-color: ",";\n }\n }\n "])),Ll,p.cLighterGreen)})),Ll=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthIndicator",componentId:"sc-nohv3o-5"})(["display:inline-block;vertical-align:middle;width:32px;height:6px;border-radius:3px;margin:3px 4px;background-color:",";"],(function(e){return p.cGrey})),Bl=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthText",componentId:"sc-nohv3o-6"})(["display:inline-block;vertical-align:middle;font-weight:300;font-size:9px;line-height:12px;letter-spacing:0.4px;font-style:italic;color:",";"],(function(e){return p.cText})),zl=(l().div.withConfig({displayName:"InputPasswordstyles__DatePickerOverlay",componentId:"sc-nohv3o-7"})(["&&& > .DayPickerInput{z-index:100;display:block;position:relative;width:100%;}&&& > .DayPickerInput > input{font-family:'Open sans';display:block;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:13px 0;padding-bottom:7px;border-radius:0;box-shadow:none;outline:0;border:0;border-top:1px solid transparent;border-bottom:1px solid ",";color:",";background-color:transparent;transition:border-color 0.2s;&:focus,&:hover{box-shadow:none;border-top-color:transparent;border-bottom-color:",";}&::placeholder{color:transparent;opacity:0;}}"],(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary})),l().div.withConfig({displayName:"InputPasswordstyles__InfoIconWrapper",componentId:"sc-nohv3o-8"})(["display:inline-block;vertical-align:middle;margin:-2px 0;"]));function Dl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gl(e,t):void 0}}(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 Gl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ql={NONE:"none",WEAK:"Weak",MEDIUM:"Average",STRONG:"Excellent"},Fl=function(n){var r=n.label,o=n.id,i=n.name,a=n.value,c=n.error,l=n.touched,s=n.info,u=n.showStrength,f=Dl((0,e.useState)(!1),2),d=f[0],p=f[1],m=Dl((0,e.useState)(!1),2),h=m[0],g=m[1],y=Dl((0,e.useState)(!!a),2),v=y[0],w=y[1],x=Dl((0,e.useState)(!1),2),E=x[0],S=x[1];(0,e.useEffect)((function(){w(E||!!a)}),[E,a]);var O=function(e){g(e.getModifierState("CapsLock"))},I=0===a.length?ql.NONE:a.length<6?ql.WEAK:a.length<11?ql.MEDIUM:ql.STRONG;return t().createElement(Me,null,r&&t().createElement(_e,{isUp:v,active:E,error:c&&l,htmlFor:o},r),t().createElement(Ne,{error:c&&l},t().createElement("input",{type:d?"text":"password",id:o,name:i,value:a,onChange:function(e,t){n.onChange&&n.onChange(e,t)},onBlur:function(e,t){n.onBlur&&n.onBlur(e,t),S(!1)},onFocus:function(e,t){n.onFocus&&n.onFocus(e,t),S(!0)},onKeyUp:O,onKeyDown:O})),t().createElement(Ml,{onClick:function(){p(!d)}},d?t().createElement("i",{className:"ion ion-md-eye-off"}):t().createElement("i",{className:"ion ion-md-eye"})),t().createElement(jl,null,u?t().createElement(Nl,null,t().createElement(Rl,{passwordStrength:I},t().createElement(Ll,null),t().createElement(Ll,null),t().createElement(Ll,null)),s&&t().createElement(zl,null,t().createElement(b,{position:"bottom",title:s,noMarginLeft:!0})),t().createElement(Bl,{passwordStrength:I},I!==ql.NONE&&I)):s&&t().createElement(zl,null,t().createElement(b,{position:"bottom",title:s,noMarginLeft:!0})),t().createElement(_l,null,h&&t().createElement(Hi,null))))};Fl.propTypes={id:i().string.isRequired,name:i().string.isRequired,label:i().string,value:i().string,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func,info:i().string,showStrength:i().bool},Fl.defaultProps={label:"",value:"",error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){},info:"",showStrength:!1};var Ul,Wl,Hl,Vl,Yl,Ql,Kl,Jl,Zl,Xl=Fl,$l=require("@atlaskit/field-range"),es=n.n($l);function ts(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ns=(0,c.css)(Ul||(Ul=ts(["\n background: ",";\n border: 4px solid ",";\n height: ","px;\n width: ","px;\n"])),(function(e){return p.cPrimary}),(function(e){return p.cWhite}),26,26),rs=(0,c.css)(Wl||(Wl=ts(["\n background: ",";\n"])),(function(e){return"linear-gradient(".concat(p.cPrimary,", ").concat(p.cPrimary,") 0/ ").concat(e.valuePercent,"% 100% no-repeat ").concat(p.cLightGrey)})),os=(0,c.css)(Hl||(Hl=ts(["\n background: ",";\n"])),(function(e){return"linear-gradient(".concat(p.cPrimaryDark,", ").concat(p.cPrimaryDark,") 0/ ").concat(e.valuePercent,"% 100% no-repeat ").concat(p.cLightGrey)})),is=(0,c.css)(Vl||(Vl=ts(["\n /* background: ","; */\n border-radius: ","px;\n height: ","px;\n ",";\n"])),(function(e){return p.cLightGrey}),4,8,rs),as=(0,c.css)(Yl||(Yl=ts(["\n border-color: ",";\n"])),(function(e){return p.cLightGrey})),cs=(0,c.css)(Ql||(Ql=ts(["\n background: ",";\n"])),(function(e){return p.cPrimaryDark})),ls=(0,c.css)(Kl||(Kl=ts(["\n &::-webkit-slider-thumb {\n margin-top: -","px;\n ",";\n }\n\n &:focus::-webkit-slider-thumb {\n ",";\n }\n\n &:hover::-webkit-slider-thumb {\n ",";\n }\n\n &::-webkit-slider-runnable-track {\n ",";\n }\n\n &:focus::-webkit-slider-runnable-track {\n ",";\n }\n\n &:active::-webkit-slider-runnable-track,\n &:hover::-webkit-slider-runnable-track {\n ",";\n }\n"])),9,ns,as,cs,is,rs,os),ss=(0,c.css)(Jl||(Jl=ts(["\n &::-moz-range-thumb {\n ",";\n }\n\n &:focus::-moz-range-thumb {\n ",";\n }\n\n &:hover::-moz-range-thumb {\n ",";\n }\n\n &::-moz-range-track {\n ",";\n }\n\n &:focus::-moz-range-track {\n ",";\n }\n\n &:active::-moz-range-track,\n &:hover::-moz-range-track {\n ",";\n }\n"])),ns,as,cs,is,rs,os),us=(0,c.css)(Zl||(Zl=ts(["\n &::-ms-thumb {\n ",";\n margin-top: -","px;\n }\n\n &:focus::-ms-thumb {\n ",";\n }\n\n &:hover::-ms-thumb {\n ",";\n }\n\n &::-ms-track {\n height: ","px;\n }\n\n &::-ms-fill-lower {\n background: ",";\n border-radius: ","px;\n }\n\n &::-ms-fill-upper {\n background: ",";\n border-radius: ","px;\n }\n\n &:active::-ms-fill-lower,\n &:hover::-ms-fill-lower {\n background: ",";\n }\n\n &:active::-ms-fill-upper,\n &:hover::-ms-fill-upper {\n background: ",";\n }\n"])),ns,9,as,cs,8,(function(e){return p.cPrimary}),4,(function(e){return p.cLightGrey}),4,(function(e){return p.cPrimaryDark}),(function(e){return p.cLightGrey})),fs=l().div.withConfig({displayName:"RangeInputstyles__RangeWrapper",componentId:"sc-1icys2x-0"})(["input{"," "," ",";}"],ls,ss,us),ds=function(e){var n=e.disabled,r=e.max,o=e.min,i=e.step,a=e.onChange,c=e.value,l=e.id,s=e.name,u=((c-o)/(r-o)*100).toFixed(2);return t().createElement(fs,{valuePercent:u},t().createElement(es(),{id:l,name:s,disabled:n,max:r,min:o,step:i,value:c,onChange:a}))};ds.propTypes={id:i().string.isRequired,name:i().string.isRequired,disabled:i().bool,max:i().number,min:i().number,step:i().number,onChange:i().func,value:i().number.isRequired},ds.defaultProps={disabled:!1,max:100,min:0,step:1,onChange:function(){}};var ps=require("react-select"),ms=n.n(ps),hs=l()(ps.components.Control).withConfig({displayName:"Selectstyles__SelectControl",componentId:"sc-1wc1ybn-0"})(["&&&{z-index:10 !important;position:relative;display:flex;align-items:center;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:15px 0;padding-bottom:5px;border-radius:0;box-shadow:none;border:0;border-top:1px solid transparent;border-bottom:1px solid #f0f0f0;color:#202020;background-color:transparent;transition:border-color 0.2s;cursor:pointer;&:hover{box-shadow:none;border-top-color:transparent;border-bottom-color:#0050ca;}&.active{z-index:12 !important;}}"]),gs=l()(ps.components.Menu).withConfig({displayName:"Selectstyles__SelectMenu",componentId:"sc-1wc1ybn-1"})(["&&&{margin-top:-1px;border-radius:0;box-shadow:none;border:0;border-top:1px solid #f0f0f0 !important;border-bottom:1px solid #f0f0f0 !important;background-color:#ffffff;}"]),bs=l()(X).withConfig({displayName:"Selectstyles__SelectMenuList",componentId:"sc-1wc1ybn-2"})(["","{right:6px;}"],H),ys=l()(ps.components.Option).withConfig({displayName:"Selectstyles__SelectOption",componentId:"sc-1wc1ybn-3"})(["&&&{cursor:pointer;padding:8px 0 !important;padding-left:2px !important;font-size:12px;line-height:18px;border:0;background-color:transparent;color:#202020;"," "," &:hover{background-color:transparent;font-weight:bold;}}"],(function(e){return e.isFocused&&"\n font-weight: bold;\n "}),(function(e){return e.isSelected&&"\n font-weight: bold;\n "})),vs=l()(ps.components.SelectContainer).withConfig({displayName:"Selectstyles__SelectContainer",componentId:"sc-1wc1ybn-4"})(["z-index:100;",""],(function(e){return e.selectProps.menuIsOpen&&"\n z-index: 150 !important;\n "})),ws=l()(ps.components.ValueContainer).withConfig({displayName:"Selectstyles__SelectValueContainer",componentId:"sc-1wc1ybn-5"})(["&&&{font-family:'Open sans';padding:0;margin-left:-2px;top:-4px;}"]),xs=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"Selectstyles__SelectIcon",componentId:"sc-1wc1ybn-6"})(["&&&{transition:0.3s transform;transform:rotate(0);","}"],(function(e){return e.isMenuOpen&&"\n transform: rotate(180deg);\n "}));function Es(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ss(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ss(e,t):void 0}}(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 Ss(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}l().div.withConfig({displayName:"Selectstyles__SelectWrapper",componentId:"sc-1wc1ybn-7"})(["display:inline-block;vertical-align:middle;margin-left:24px;"," "," &&& ","{height:24px;font-weight:normal;font-size:11px;line-height:18px;padding:3px 0;border-top:1px solid transparent;border-bottom:1px solid transparent;}&&& ","{left:0;right:0;width:auto;margin:-6px -12px;margin-top:0;box-shadow:0 1px 4px 0 rgba(0,0,0,0.2);border:0;padding:6px 12px;}&&& ","{top:0;}"],(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,";\n ")}),(function(e){return e.noMargin&&"\n margin-left: 0;\n "}),hs,gs,ws);var Os=function(e){var n=e.selectProps;return t().createElement(ps.components.DropdownIndicator,e,t().createElement(xs,{isMenuOpen:n.menuIsOpen}))};Os.propTypes={selectProps:i().instanceOf(Object).isRequired};var Is=function(e){var n=e.children;return t().createElement(bs,{autoHeight:!0,autoHeightMax:300},n)};Is.propTypes={children:i().node.isRequired};var As=function(n){var r=n.id,o=n.name,i=n.label,a=n.options,c=n.search,l=n.error,s=n.touched,u=n.value,f=n.disabled,d=Es((0,e.useState)(!!u),2),p=d[0],m=d[1],h=Es((0,e.useState)(!1),2),g=h[0],b=h[1];return(0,e.useEffect)((function(){m(g||!!u)}),[g,u]),t().createElement(Me,null,i&&t().createElement(_e,{isUp:p,active:g,error:l&&s,htmlFor:r},i),t().createElement(ms(),{id:r,name:o,options:a,isDisabled:f,onChange:function(e){n.onChange&&n.onChange({name:o,value:e.value}),setTimeout((function(){b(!0)}),1)},onBlur:function(e){n.onBlur&&n.onBlur({name:o,value:u}),setTimeout((function(){b(!1)}),1)},onFocus:function(e){n.onFocus&&n.onFocus({name:o,value:u}),c&&b(!0)},value:a.find((function(e){return e.value===u})),placeholder:"",isSearchable:c,components:{Control:hs,DropdownIndicator:Os,IndicatorSeparator:null,Menu:gs,MenuList:Is,Option:ys,SelectContainer:vs,ValueContainer:ws}}))};As.propTypes={id:i().string.isRequired,name:i().string.isRequired,label:i().string,error:i().bool,touched:i().bool,value:i().string,options:i().arrayOf(i().shape({key:i().string.isRequired,value:i().string.isRequired,label:i().oneOfType([i().string,i().node]).isRequired})).isRequired,search:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func},As.defaultProps={label:"",value:"",search:!1,error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){}};var ks,Cs,Ps,Ts=As,js=l().div.withConfig({displayName:"InvestCalculatorstyles__Wrapper",componentId:"sc-hce2mi-0"})(["display:flex;justify-content:space-between;"]),Ms=l().div.withConfig({displayName:"InvestCalculatorstyles__Container",componentId:"sc-hce2mi-1"})([""]),_s=l().div.withConfig({displayName:"InvestCalculatorstyles__Title",componentId:"sc-hce2mi-2"})(["font-size:12px;font-weight:700;line-height:24px;letter-spacing:2px;color:",";text-transform:uppercase;",""],(function(e){return p.cBlack}),(function(e){return e.error&&"color: ".concat(p.cWarning,";")})),Ns=l().div.withConfig({displayName:"InvestCalculatorstyles__InputWrap",componentId:"sc-hce2mi-3"})(["padding-top:9px;input{font-size:22px;font-weight:300;line-height:28px;padding-bottom:11px;padding-top:0;}"]),Rs=l()(ki).withConfig({displayName:"InvestCalculatorstyles__StyledFormError",componentId:"sc-hce2mi-4"})(["font-size:13px;font-weight:300;line-height:16px;letter-spacing:0.4px;font-style:italic;top:0;width:min-content;min-width:100%;",""],(function(e){return e.paddingTop&&"padding-top: 12px;"})),Ls=l().div.withConfig({displayName:"InvestCalculatorstyles__Caption",componentId:"sc-hce2mi-5"})(["font-size:13px;font-weight:300;line-height:16px;padding-top:12px;letter-spacing:0.4px;font-style:italic;"]),Bs=l().div.withConfig({displayName:"InvestCalculatorstyles__EqualSign",componentId:"sc-hce2mi-6"})(["margin:auto;font-size:34px;font-weight:300;color:",";opacity:0.5;padding:0px 30px;"],(function(e){return p.cBlack}));function zs(e){return zs="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},zs(e)}function Ds(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qs(e,t){for(var n=0;n<t.length;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)}}function Fs(e,t){return Fs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fs(e,t)}function Us(e,t){if(t&&("object"===zs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ws(e)}function Ws(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hs(e)}function Vs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l().div.withConfig({displayName:"InvestCalculatorstyles__SelectWrapper",componentId:"sc-hce2mi-7"})(["padding-bottom:2px;","","","{padding:0;border:0;height:24px;min-height:24px;font-size:12px;font-weight:700;line-height:24px;letter-spacing:2px;margin-top:-2px;}"],hs,hs,hs),l().div.withConfig({displayName:"InvestCalculatorstyles__Label",componentId:"sc-hce2mi-8"})(["",""],(function(e){return e.error&&"color: ".concat(p.cWarning,";")}));var Ys,Qs,Ks={ETH:"eth",EUR:"eur",GUSD:"gusd",USDT:"usdt",CRYPTO:"crypto"},Js=n(215),Zs=function(e){var t=e.replace(/,/,".").match(/[1-9]\d*(\.\d*)?|\.\d*/);return t?t[0].replace(/^\./,"0."):"0"},Xs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fs(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Hs(o);if(i){var n=Hs(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Us(this,e)});function c(){var e;Gs(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vs(Ws(e=a.call.apply(a,[this].concat(n))),"state",{tokens:0,currencyValue:0,selectedCurrencyValue:0,selectedCurrency:"ether"===e.props.userSelectedCurrency?Ks.ETH:"gemini"===e.props.userSelectedCurrency?Ks.GUSD:Ks.USDT,errors:{}}),Vs(Ws(e),"normalizeCurrencySelected",(function(e){return"euro"===e?"eur":"ether"===e?"eth":"gemini"===e?"gusd":"tether"===e?"usdt":void 0})),Vs(Ws(e),"onFocus",(function(t,n){var r=e.props.onFocus;r&&r(t,n)})),Vs(Ws(e),"onBlur",(function(t,n){var r=e.props.onBlur;r&&r(t,n)})),Vs(Ws(e),"onChange",(function(t,n){var r=e.props.onChange;r&&r(t,n)})),Vs(Ws(e),"onErrors",(function(t,n){var r=e.props.onErrors;r&&r(t,n)})),Vs(Ws(e),"changeTokens",(function(t,n){var r=e.props,o=r.exchangeRate,i=r.available,a=r.name,c=r.userSelectedCurrency,l=e.state.selectedCurrency,s=Zs(t.target.value),u=Js(s);u.gt(i)&&(s=(u=Js(i)).toFixed(4));var f=u.times(o[l]),d=u*o[e.normalizeCurrencySelected(c)];e.validate({tokens:u.toNumber(),currencyValue:f.toNumber(),selectedCurrency:l}),e.setState({tokens:s,currencyValue:f.toFixed(4),selectedCurrencyValue:d},(function(){e.onChange({target:{name:a,value:u,currencyValue:f,currencyName:l,selectedCurrencyValue:d}},n)}))})),Vs(Ws(e),"changeCurrency",(function(t){var n=e.props,r=n.exchangeRate,o=n.name,i=n.userSelectedCurrency,a=e.state.tokens,c=t.value,l=a*r[c],s=a*r[e.normalizeCurrencySelected(i)];e.validate({tokens:a,currencyValue:l,selectedCurrency:c}),e.setState({currencyValue:l,selectedCurrency:c,selectedCurrencyValue:s},(function(){e.onChange({target:{name:o,value:a,currencyValue:l,currencyName:c,selectedCurrencyValue:s}})}))})),Vs(Ws(e),"changeCurrencyValue",(function(t,n){var r=e.props,o=r.exchangeRate,i=r.name,a=r.available,c=r.userSelectedCurrency,l=e.state.selectedCurrency,s=Zs(t.target.value),u=Js(s),f=u.div(o[l]),d=f*o[e.normalizeCurrencySelected(c)];f.gt(a)&&(f=Js(a),s=(u=f.times(o[l])).toFixed(4)),e.validate({tokens:f.toNumber(),currencyValue:u.toNumber(),selectedCurrency:l}),e.setState({tokens:f.toFixed(4),currencyValue:s,selectedCurrencyValue:d},(function(){e.onChange({target:{name:i,value:f,currencyValue:u,currencyName:l,selectedCurrencyValue:d}},n)}))})),Vs(Ws(e),"validate",(function(t){var n=e.props,r=n.minTokensCount,o=n.available,i=n.maxFunds,a=n.name,c=n.tokenName,l=n.userSelectedCurrency,s=ii.object().shape({tokens:ii.number().min(r,"Minimum investment: ".concat(r)).max(o,"Unfortunately there are less ".concat(c," TOKENS available as you wish to buy. Please choose a smaller amount.")),currencyValue:ii.number().when("selectedCurrency",{is:Ks.EUR,then:ii.number().max(2(ks||(ks=Ds([""])))),otherwise:ii.number().max(i[Ks.CRYPTO],"Unfortunately there are not sufficient ".concat(l," available on your chosen Ethereum address."))})}),u=function(){var t=e.state.errors;e.onErrors({target:{name:a,errors:t}})};try{s.validateSync(t),e.setState({errors:{}},u)}catch(t){e.setState({errors:(0,oi.yupToFormErrors)(t)},u)}})),e}return n=c,(r=[{key:"componentDidMount",value:function(){this.props.isIban&&this.setState({selectedCurrency:Ks.EUR})}},{key:"render",value:function(){var e,n=this.props,r=n.available,o=n.tokenName,i=n.id,a=n.name,c=n.isIban,l=n.userSelectedCurrency,s=this.state,u=s.errors,f=s.tokens,d=s.currencyValue,p=s.selectedCurrency;return t().createElement(js,null,t().createElement(Ms,null,t().createElement(_s,{error:!!u.tokens},"".concat(o," tokens")),t().createElement(Ns,null,t().createElement(Ni,{id:i,name:a,value:f.toString(),onChange:this.changeTokens,onBlur:this.handleBlur})),t().createElement(Ls,null,"Still available: ".concat((e=r,2,parseFloat(e).toFixed(2).toString())," ").concat(o)),t().createElement(Rs,{show:!!u.tokens},u.tokens)),t().createElement(Bs,null,"="),t().createElement(Ms,null,c?t().createElement(_s,{error:!!u.tokens},"€ value"):t().createElement(_s,{error:p===Ks.ETH&&!!u.currencyValue||p===Ks.GUSD&&!!u.currencyValue||p===Ks.USDT&&!!u.currencyValue},"ether"===l?"ETH VALUE":"gemini"===l?"GUSD VALUE":"USDT VALUE"),t().createElement(Ns,null,t().createElement(Ni,{id:"".concat(i,"-valueInput"),name:"".concat(i,"-valueInput"),value:d.toString(),onChange:this.changeCurrencyValue,onBlur:function(){}})),t().createElement(Rs,{paddingTop:!0,show:!!u.currencyValue},u.currencyValue)))}}])&&qs(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function $s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Xs.propTypes={exchangeRate:i().shape((Cs={},Vs(Cs,Ks.ETH,i().number.isRequired),Vs(Cs,Ks.EUR,i().number.isRequired),Cs)).isRequired,maxFunds:i().shape((Ps={},Vs(Ps,Ks.CRYPTO,i().number),Vs(Ps,Ks.EUR,i().number),Ps)).isRequired,minTokensCount:i().number,available:i().number.isRequired,tokenName:i().string.isRequired,id:i().string.isRequired,name:i().string.isRequired,onChange:i().func,onBlur:i().func,onFocus:i().func,onErrors:i().func},Xs.defaultProps={onChange:function(){},onBlur:function(){},onFocus:function(){},onErrors:function(){},minTokensCount:0};var eu=l().div.withConfig({displayName:"InvestmentStatstyles__Title",componentId:"sc-naw3jx-0"})(["font-size:11px;line-height:12px;letter-spacing:2px;text-transform:uppercase;color:",";white-space:nowrap;"],(function(e){return p.cBlack})),tu=l().div.withConfig({displayName:"InvestmentStatstyles__Content",componentId:"sc-naw3jx-1"})(["margin-top:8px;font-size:22px;line-height:28px;letter-spacing:0.6px;font-weight:300;",""],(function(e){return"warning"===e.state&&"\n color: ".concat(p.cWarning,";\n ")})),nu=l()(gt).withConfig({displayName:"InvestmentStatstyles__Container",componentId:"sc-naw3jx-2"})(["padding:40px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;"," ",""],G.Medium(Ys||(Ys=$s(["\n padding: 40px 20px;\n "]))),(function(e){return e.primaryBg&&(0,c.css)(Qs||(Qs=$s(["\n background: ",";\n\n "," {\n color: ",";\n }\n\n "," {\n color: ",";\n }\n "])),p.cPrimaryDark,eu,p.cWhite,tu,p.cWhite)})),ru=l().div.withConfig({displayName:"InvestmentStatstyles__DataContainer",componentId:"sc-naw3jx-3"})(["align-items:center;display:flex;"]);function ou(){return ou=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ou.apply(this,arguments)}var iu=function(e){var n=e.title,r=e.content,o=e.state,i=e.primaryBg,a=e.tooltip;return t().createElement(nu,ou({primaryBg:i},e),t().createElement(eu,null,n),t().createElement(ru,null,t().createElement(tu,{state:o},r),a&&t().createElement(b,{position:"left",title:a})))};iu.propTypes={title:i().string.isRequired,content:i().string.isRequired,state:i().string,primaryBg:i().bool},iu.defaultProps={state:"",primaryBg:!1};var au,cu,lu,su,uu,fu,du,pu,mu,hu=l().span.withConfig({displayName:"SpanButtonstyles__SpanButton",componentId:"sc-1ktf7ep-0"})(["color:#0050ca;cursor:pointer;font-weight:400;"," &:hover{color:#202020;}"],(function(e){return e.urlLink&&"\n text-decoration: underline;\n "}));function gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var vu=l().div.withConfig({displayName:"_styles__Wrapper",componentId:"sc-xz1pa8-0"})(["height:100%;display:flex;flex-direction:column;padding:33px 0;","{p{","}}"],Te,G.XLarge(au||(au=yu(["\n font-size: 16px;\n "])))),wu=l().div.withConfig({displayName:"_styles__Header",componentId:"sc-xz1pa8-1"})(["min-height:82px;display:flex;flex-wrap:wrap;padding:12px 24px;flex-shrink:0;",""],G.Large(cu||(cu=yu(["\n padding: 21px 64px;\n "])))),xu=l().div.withConfig({displayName:"_styles__HeaderTitle",componentId:"sc-xz1pa8-2"})(["font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;text-transform:uppercase;",""],(function(e){return e.withMargin&&"margin-top: 16px;"})),Eu=l().div.withConfig({displayName:"_styles__HeaderButtonWrapper",componentId:"sc-xz1pa8-3"})(["margin:0 auto;padding:8px 0;& > *{display:inline-block!important;}"," ","","","{margin-right:16px;&:last-child{margin-right:0;}}"],G.Large(lu||(lu=yu(["\n margin-right: 0;\n "]))),sn,sn,sn),Su=l().div.withConfig({displayName:"_styles__Body",componentId:"sc-xz1pa8-4"})(["padding:21px 24px;height:100%;display:flex;flex-direction:column;justify-content:center;overflow-y:auto;"," "," ",""],(function(e){return e.noVerticalPadding&&"\n padding-top: 0!important;\n padding-bottom: 0!important;\n "}),(function(e){return e.noHorizontalPadding&&"\n padding-left: 0;\n padding-right: 0;\n "}),(function(e){return e.form&&(0,c.css)(su||(su=yu(["\n padding: 21px 48px;\n justify-content: flex-start;\n\n "," {\n flex-shrink: 0;\n }\n "])),No)})),Ou=l().div.withConfig({displayName:"_styles__BottomWrapper",componentId:"sc-xz1pa8-5"})(["","{display:flex;justify-content:space-between;flex-direction:column;"," + ","{padding-top:32px;","}","{white-space:nowrap;padding-left:28px;}}"],Ii,G.Medium(uu||(uu=yu(["\n display: inline-block;\n vertical-align: middle;\n margin-right: 44px;\n "]))),Ii,G.Medium(fu||(fu=yu(["\n padding-top: 0;\n "]))),ki),Iu=l().div.withConfig({displayName:"_styles__BodyTitle",componentId:"sc-xz1pa8-6"})(["text-align:center;margin:0 auto;font-size:11px;font-weight:bold;line-height:1.82;letter-spacing:2px;",""],(function(e){return e.faceScan&&"\n margin-top: 20px;\n "})),Au=l().div.withConfig({displayName:"_styles__ColumnInner",componentId:"sc-xz1pa8-7"})(["display:flex;flex-direction:column;align-items:center;height:100%;"," "," "," "," "," "," ",""],(function(e){return e.verticalPadding&&"\n padding-top: 40px;\n padding-bottom: 40px;\n "}),(function(e){return e.horizontalPadding&&"\n padding-left: 36px;\n padding-right: 36px;\n "}),(function(e){return e.formInner&&"\n padding-left: 18px;\n padding-right: 18px;\n align-items: stretch;\n "}),(function(e){return e.withSeparator&&"\n border-bottom: 1px solid ".concat(s.lightGrey,";\n ")}),(function(e){return e.verticalCenter&&"\n justify-content: center;\n "}),(function(e){return e.verticalSpaceAround&&"\n justify-content: space-around;\n "}),G.Medium(du||(du=yu(["\n ","\n "])),(function(e){return e.withSeparator&&"\n border-bottom: 0;\n border-right: 1px solid ".concat(s.lightGrey,";\n ")}))),ku=l().input.attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gu(Object(n),!0).forEach((function(t){bu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:"file"},e)})).withConfig({displayName:"_styles__FileInput",componentId:"sc-xz1pa8-8"})(["visibility:hidden;position:absolute;width:0.1px;height:0.1px;z-index:-1;"]),Cu=l()(sn).attrs({as:"label",type:void 0}).withConfig({displayName:"_styles__FileInputWrapper",componentId:"sc-xz1pa8-9"})(["position:relative;word-break:break-all;"]),Pu=l()(tr).attrs({icon:Xn.trash}).withConfig({displayName:"_styles__FileInputRemove",componentId:"sc-xz1pa8-10"})(["position:absolute;top:50%;right:0px;transform:translateY(-50%);font-size:16px;cursor:pointer;transition:0.3s color;color:",";border-radius:50%;border:1px solid ",";padding:10px;&:hover{color:",";}"],s.orangishRed,s.lightGrey,s.blue),Tu=l()(tr).attrs({icon:Xn.check}).withConfig({displayName:"_styles__SuccessMark",componentId:"sc-xz1pa8-11"})(["width:40px;height:40px;border-radius:50%;display:flex !important;justify-content:center;align-items:center;color:",";margin:auto;font-size:18px;",""],s.freshGreen,(function(e){return e.isHidden&&"\n opacity: 0;\n "})),ju=l().ul.withConfig({displayName:"_styles__FileInputList",componentId:"sc-xz1pa8-12"})(["list-style-type:none;padding:0;font-size:12px;width:100%;"]),Mu=l().li.withConfig({displayName:"_styles__FileInputItem",componentId:"sc-xz1pa8-13"})(["padding:0 46px 0 8px;margin-right:8px;position:relative;word-break:break-all;"]),_u=(0,c.css)(pu||(pu=yu(["\n width: 40px;\n height: 40px;\n margin-top: 20px;\n margin-bottom: 10px;\n border-radius: 50%;\n background: ",";\n color: ",";\n display: flex !important;\n justify-content: center;\n align-items: center;\n font-size: 18px;\n\n & > svg {\n fill: ",";\n stroke: ",";\n }\n"])),s.blue,s.white,s.white,s.white),Nu=l().button.withConfig({displayName:"_styles__RetakeButton",componentId:"sc-xz1pa8-14"})(["",";& > svg{width:22px !important;height:23px !important;}"],_u),Ru=l().button.attrs({className:"ion ion-md-checkmark"}).withConfig({displayName:"_styles__DoneButton",componentId:"sc-xz1pa8-15"})(["",";"],_u),Lu=l().div.withConfig({displayName:"_styles__Mask",componentId:"sc-xz1pa8-16"})(["width:100%;height:100%;background:rgba(201,255,233,0.6);position:relative;"]),Bu=l()(No).withConfig({displayName:"_styles__FormBottomRow",componentId:"sc-xz1pa8-17"})(["padding-left:18px;padding-right:18px;padding-top:64px;"]),zu=l().div.withConfig({displayName:"_styles__FormBottomButtonWrap",componentId:"sc-xz1pa8-18"})(["padding-top:32px;margin:auto;",""],G.Medium(mu||(mu=yu(["\n padding-top: 0;\n margin-right: 0;\n "]))));function Du(e){return Du="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},Du(e)}function Gu(){return Gu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gu.apply(this,arguments)}function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e,t){for(var n=0;n<t.length;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)}}function Uu(e,t){return Uu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Uu(e,t)}function Wu(e,t){if(t&&("object"===Du(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Hu(e)}function Hu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vu(e)}function Yu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qu=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Uu(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Vu(i);if(c){var n=Vu(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Wu(this,e)});function s(){var e;qu(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Yu(Hu(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1}),Yu(Hu(e),"handlePopup",(function(t){var n=e.props.formik,r=n.validateField,o=n.values;r("notUsResident"),r("termsAccepted");var i=!o.termsAccepted||!o.notUsResident;e.setState({popupOpen:!!i&&t})})),e}return r=s,(o=[{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=i.values,l=i.errors,s=this.state.popupOpen,u=!c.termsAccepted||!c.notUsResident;return t().createElement(vu,null,t().createElement(wu,null,t().createElement(xu,null,"Terms and conditions"),t().createElement(Eu,null,t().createElement(a.Tooltip,{open:s,position:"bottom",title:"Please correct all the required fields",theme:"light",arrow:!0,duration:200},t().createElement("div",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycDocumentUpload",1,0)},disabled:u},"Next"))))),t().createElement(Su,{noHorizontalPadding:!0},t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero.")))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Ou,null,t().createElement(Ii,null,t().createElement(oi.Field,{name:"termsAccepted",validate:function(){return Pi("termsAccepted",i)}},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(pt,Gu({id:"terms-accepted",text:"I accept the full Terms and Conditions",checked:r.value,error:!!l[r.name]},r,{value:"yes"})),t().createElement(ki,{show:l[r.name]},l[r.name]))}))),t().createElement(Ii,null,t().createElement(oi.Field,{name:"notUsResident",validate:function(){return Pi("notUsResident",i)}},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(pt,Gu({id:"not-us-resident",text:"I am not a US resident",checked:r.value,error:!!l[r.name]},r,{value:"yes"})),t().createElement(ki,{show:l[r.name]},l[r.name]))})))))))}}])&&Fu(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);Qu.propTypes={changeStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Ku=(0,oi.connect)(Qu),Ju=l().h2.withConfig({displayName:"SectionTitlestyles__SectionTitle",componentId:"sc-j9h0wp-0"})(["position:relative;font-family:'Open Sans';font-weight:normal;font-size:11px;line-height:20px;letter-spacing:2px;text-transform:uppercase;padding:0;border:0;margin:0;span{display:inline-block;}strong{display:inline-block;font-weight:bold;}"]),Zu=Ju,Xu=function(n){var r=n.changeStep,o=n.setPrevStep;return(0,e.useEffect)((function(){o("kycTerms",0)}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload ID Document"))),t().createElement(Su,null,t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalSpaceAround:!0},t().createElement(Iu,null,"DOCUMENT VERIFICATION"),t().createElement(gt,{center:!0},t().createElement(Qi,null)),t().createElement(Te,{center:!0},t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper")),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"188px",onClick:function(){r("kycDocumentSelect")}},"Begin")))))))};Xu.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired};var $u,ef,tf,nf=Xu;function rf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var of=l().div.withConfig({displayName:"KYCSelectBoxstyles__KYCSelectBox",componentId:"sc-12wzu1f-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:60px 0;height:100%;svg,",",","{opacity:1;transition:.3s opacity;}"," "," "," ",""],sn,Te,(function(e){return e.withSeparator&&"\n border-bottom: 1px solid ".concat(s.grey,";\n ")}),G.Medium($u||($u=rf(["\n ","\n "])),(function(e){return e.withSeparator&&"\n border-bottom: 0;\n border-right: 1px solid ".concat(s.grey,";\n ")})),(function(e){return e.selectedItem&&e.selectedItem!==e.name&&(0,c.css)(ef||(ef=rf(["\n svg,\n ",", "," {\n opacity: 0.2;\n }\n\n :hover {\n svg,\n ",", "," {\n opacity: 1;\n }\n }\n "])),sn,Te,sn,Te)}),(function(e){return e.isGreyedOut&&(0,c.css)(tf||(tf=rf(["\n svg,\n ",", "," {\n opacity: 0.2;\n }\n "])),sn,Te)}));of.propTypes={name:i().string.isRequired,selectedItem:i().string.isRequired,isGreyedOut:i().bool},of.defaultProps={isGreyedOut:!1};var af=of;function cf(e){return cf="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},cf(e)}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e,t){for(var n=0;n<t.length;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)}}function uf(e,t){return uf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uf(e,t)}function ff(e,t){if(t&&("object"===cf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return df(e)}function df(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pf(e)}function mf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hf="passport",gf="twoSidedDocument",bf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uf(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pf(o);if(i){var n=pf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ff(this,e)});function c(){var e;lf(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mf(df(e=a.call.apply(a,[this].concat(n))),"state",{hovered:""}),mf(df(e),"handleHover",(function(t){e.setState({hovered:t})})),e}return n=c,(r=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentUpload")}},{key:"render",value:function(){var e=this,n=this.props,r=n.changeStep,o=n.formik,i=o.setFieldValue,a=this.state.hovered;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"What do you have at hand?"))),t().createElement(Su,{noVerticalPadding:!0},t().createElement(oi.Field,{name:"documentType",validate:function(){return Pi("documentType",o)}},(function(n){var o=n.field;return t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(af,{name:hf,selectedItem:o.value,isGreyedOut:a===gf,onMouseEnter:function(){return e.handleHover(hf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"PASSPORT"),t().createElement(gt,{center:!0},t().createElement(Ki,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){i(o.name,hf),r("kycDocumentVerificationType")}},"Let's go")))),t().createElement(Ro,{part:8},t().createElement(af,{name:gf,selectedItem:o.value,isGreyedOut:a===hf,onMouseEnter:function(){return e.handleHover(gf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"IDENTITY CARD"),t().createElement(gt,{center:!0},t().createElement(Qi,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){i(o.name,gf),r("kycDocumentVerificationType")}},"Let's go")))))}))))}}])&&sf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);bf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var yf=(0,oi.connect)(bf);function vf(e){return vf="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},vf(e)}function wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xf(e,t){for(var n=0;n<t.length;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)}}function Ef(e,t){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ef(e,t)}function Sf(e,t){if(t&&("object"===vf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Of(e)}function Of(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},If(e)}function Af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kf="uploadImage",Cf="deviceCamera",Pf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ef(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=If(o);if(i){var n=If(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Sf(this,e)});function c(){var e;wf(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Af(Of(e=a.call.apply(a,[this].concat(n))),"state",{hovered:""}),Af(Of(e),"handleHover",(function(t){e.setState({hovered:t})})),e}return n=c,(r=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentSelect")}},{key:"render",value:function(){var e=this,n=this.props,r=n.changeStep,o=n.formik,i=o.values,a=o.setFieldValue,c=this.state.hovered;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Choose verification method"))),t().createElement(Su,{noVerticalPadding:!0},t().createElement(oi.Field,{name:"verificationType",validate:function(){return Pi("verificationType",o)}},(function(n){var o=n.field;return t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(af,{name:kf,selectedItem:o.value,isGreyedOut:c===Cf,onMouseEnter:function(){return e.handleHover(kf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"UPLOAD IMAGE FILE"),t().createElement(gt,{center:!0},t().createElement(Xi,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"You can upload an existing JPG, PNG or PDF image of your ",i.documentType===hf?"passport":"identity card"," that's under 2MB"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){a(o.name,kf),r("kycDocumentScan")}},"Select")))),t().createElement(Ro,{part:8},t().createElement(af,{name:Cf,selectedItem:o.value,isGreyedOut:c===kf,onMouseEnter:function(){return e.handleHover(Cf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"USE DEVICE CAMERA"),t().createElement(gt,{center:!0},t().createElement(Zi,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"You can use the built-in camera on your device to capture an image of your ",i.documentType===hf?"passport":"identity card"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){a(o.name,Cf),r("kycDocumentScan")}},"Select")))))}))))}}])&&xf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Pf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Tf=(0,oi.connect)(Pf);function jf(e){return jf="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},jf(e)}function Mf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e,t){for(var n=0;n<t.length;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)}}function Nf(e,t){return Nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nf(e,t)}function Rf(e,t){if(t&&("object"===jf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Lf(e)}function Lf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bf(e)}function zf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Df=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nf(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Bf(i);if(c){var n=Bf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Rf(this,e)});function s(){var e;Mf(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return zf(Lf(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1}),zf(Lf(e),"handlePopup",(function(t){var n=e.props.formik.values,r=n.documentType===hf?!!n.passportPicture:!!n.cardFrontPicture&&!!n.cardBackPicture;e.validate(),e.setState({popupOpen:!r&&t})})),zf(Lf(e),"handleFileUpload",(function(t,n){var r=e.props.formik.setFieldValue;t.target.files&&r(n,t.target.files[0])})),zf(Lf(e),"removeFile",(function(t){(0,e.props.formik.setFieldValue)(t,"")})),zf(Lf(e),"validate",(function(){var t=e.props.formik,n=t.validationSchema,r=t.values,o=t.setFieldError,i=["passportPicture","cardFrontPicture","cardBackPicture"];try{n.validateSync(r,{abortEarly:!1})}catch(e){e.inner.filter((function(e){return i.includes(e.path)})).forEach((function(e){o(e.path,e.errors[0])}))}})),e}return r=s,(o=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentVerificationType")}},{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=i.values,l=i.errors,s=this.state.popupOpen,u=c.documentType===hf?!!c.passportPicture:!!c.cardFrontPicture&&!!c.cardBackPicture;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload Picture")),t().createElement(Eu,null,t().createElement(a.Tooltip,{open:s,position:"bottom",title:c.documentType===hf?l.passportPicture:l.cardFrontPicture||l.cardBackPicture,theme:"light",arrow:!0,duration:200},t().createElement("span",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycDocumentSuccess")},disabled:!u},"Next"))))),t().createElement(Su,{noVerticalPadding:!0},c.documentType===hf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"PASSPORT"),t().createElement(gt,{center:!0},t().createElement(Ki,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"Please use a JPG, PNG or PDF image below 2MB (we recommend a 2MP photo or 200-300 dpi scan)"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(oi.Field,{name:"passportPicture",validate:this.validate},(function(r){var o=r.field;return t().createElement(e.Fragment,null,o.value?t().createElement(ju,null,t().createElement(Mu,null,t().createElement(e.Fragment,null,o.value.name,t().createElement(Pu,{onClick:function(e){e.preventDefault(),e.stopPropagation(),n.removeFile(o.name)}})))):t().createElement(Cu,{center:!0,minWidth:"188px"},"Select Passport",t().createElement(ku,{name:o.name,accept:"image/png,image/jpeg,application/pdf",onChange:function(e){return n.handleFileUpload(e,o.name)}})))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Please select an image file showing the page of the document with your photo on it"),t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy."))))))),c.documentType===gf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD FRONT"),t().createElement(gt,{center:!0},t().createElement(ea,null)),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"With your picture"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardFrontPicture",validate:this.validate},(function(r){var o=r.field;return t().createElement(e.Fragment,null,o.value?t().createElement(ju,null,t().createElement(Mu,null,t().createElement(e.Fragment,null,o.value.name,t().createElement(Pu,{onClick:function(e){e.preventDefault(),e.stopPropagation(),n.removeFile(o.name)}})))):t().createElement(Cu,{center:!0},"Select",t().createElement(ku,{name:o.name,accept:"image/png,image/jpeg,application/pdf",onChange:function(e){return n.handleFileUpload(e,o.name)}})))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD BACK"),t().createElement(gt,{center:!0},t().createElement($i,null)),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"The other one"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardBackPicture",validate:this.validate},(function(r){var o=r.field;return t().createElement(e.Fragment,null,o.value?t().createElement(ju,null,t().createElement(Mu,null,t().createElement(e.Fragment,null,o.value.name,t().createElement(Pu,{onClick:function(e){e.preventDefault(),e.stopPropagation(),n.removeFile(o.name)}})))):t().createElement(Cu,{center:!0},"Select",t().createElement(ku,{name:o.name,accept:"image/png,image/jpeg,application/pdf",onChange:function(e){return n.handleFileUpload(e,o.name)}})))})))))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Please use a JPG, PNG or PDF image below 2MB (we recommend a 2MP photo or 200-300 dpi scan)"),t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy.")))))))))}}])&&_f(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);Df.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Gf=(0,oi.connect)(Df),qf=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.scanItem,a=n.formik;(0,e.useEffect)((function(){o("kycDocumentScan")}),[]);var c=a.setFieldValue;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"DOCUMENT RECOGNITION"),t().createElement(xu,{withMargin:!0},function(e){switch(e){case"passportPicture":return"Scan identity page";case"cardFrontPicture":return"Scan front of ID card";case"cardBackPicture":return"Scan back of ID card";default:return""}}(i)))),t().createElement(Su,{noHorizontalPadding:!0},t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"RETAKE"),t().createElement(Nu,null,t().createElement(na,null)))),t().createElement(Ro,{part:10},t().createElement(Lu,null)),t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"DONE"),t().createElement(Ru,{onClick:function(){c(i,"TODO: GET PHOTO FROM CAMERA"),r("kycDocumentScan")}}))))))};qf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,scanItem:i().string.isRequired,formik:i().instanceOf(Object).isRequired};var Ff=(0,oi.connect)(qf);function Uf(e){return Uf="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},Uf(e)}function Wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e,t){for(var n=0;n<t.length;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)}}function Vf(e,t){return Vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vf(e,t)}function Yf(e,t){if(t&&("object"===Uf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Qf(e)}function Qf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Kf(e)}function Jf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zf=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vf(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Kf(i);if(c){var n=Kf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Yf(this,e)});function s(){var e;Wf(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Jf(Qf(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1}),Jf(Qf(e),"handlePopup",(function(t){var n=e.props.formik.values,r=n.documentType===hf?!!n.passportPicture:!!n.cardFrontPicture&&!!n.cardBackPicture;e.validate(),e.setState({popupOpen:!r&&t})})),Jf(Qf(e),"handleFileUpload",(function(t,n){var r=e.props.formik.setFieldValue;t.target.files&&r(n,t.target.files[0])})),Jf(Qf(e),"removeFile",(function(t){(0,e.props.formik.setFieldValue)(t,"")})),Jf(Qf(e),"validate",(function(){var t=e.props.formik,n=t.validationSchema,r=t.values,o=t.setFieldError,i=["passportPicture","cardFrontPicture","cardBackPicture"];try{n.validateSync(r,{abortEarly:!1})}catch(e){e.inner.filter((function(e){return i.includes(e.path)})).forEach((function(e){o(e.path,e.errors[0])}))}})),e}return r=s,(o=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentVerificationType")}},{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=r.setScanItem,l=i.values,s=i.errors,u=this.state.popupOpen,f=l.documentType===hf?!!l.passportPicture:!!l.cardFrontPicture&&!!l.cardBackPicture;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload Picture")),t().createElement(Eu,null,t().createElement(a.Tooltip,{open:u,position:"bottom",title:l.documentType===hf?s.passportPicture:s.cardFrontPicture||s.cardBackPicture,theme:"light",arrow:!0,duration:200},t().createElement("span",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycDocumentSuccess")},disabled:!f},"Next"))))),t().createElement(Su,{noVerticalPadding:!0},l.documentType===hf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"PASSPORT"),t().createElement(gt,{center:!0},t().createElement(Ki,null)),t().createElement(gt,{noPaddingVertical:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"Please scan the identity page with your photo on it"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(oi.Field,{name:"passportPicture",validate:this.validate},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(Tu,{isHidden:!r.value}),t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){c(r.name),o("kycDocumentCameraScan")}},"Scan Document"))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy."))))))),l.documentType===gf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD FRONT"),t().createElement(gt,{center:!0},t().createElement(ea,null)),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"With your picture"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardFrontPicture",validate:this.validate},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(Tu,{isHidden:!r.value}),t().createElement(sn,{center:!0,onClick:function(){c(r.name),o("kycDocumentCameraScan")}},"Scan"))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD BACK"),t().createElement(gt,{center:!0},t().createElement($i,null)),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"The other one"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardBackPicture",validate:this.validate},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(Tu,{isHidden:!r.value}),t().createElement(sn,{center:!0,onClick:function(){c(r.name),o("kycDocumentCameraScan")}},"Scan"))})))))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Please use a JPG, PNG or PDF image below 2MB (we recommend a 2MP photo or 200-300 dpi scan)"),t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy.")))))))))}}])&&Hf(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);Zf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,setScanItem:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Xf=(0,oi.connect)(Zf),$f=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.formik;(0,e.useEffect)((function(){o("kycDocumentScan")}),[]);var a=i.values;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload successfull"))),t().createElement(Su,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:4}),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(Iu,null,"THANK YOU"),t().createElement(gt,{noPaddingBottom:!0,center:!0},a.documentType===hf?t().createElement(Ki,null):t().createElement(Qi,null)),t().createElement(gt,{center:!0},t().createElement(Tu,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,null,t().createElement("p",null,"Our robots are having a look"))),t().createElement(gt,{center:!0},t().createElement(sn,{onClick:function(){return r("kycFaceScan",2,1)}},"Continue")))),t().createElement(Ro,{part:4}))))};$f.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var ed=(0,oi.connect)($f),td=function(n){var r=n.changeStep,o=n.setPrevStep;return(0,e.useEffect)((function(){o("kycDocumentSuccess",1)}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Face recognition"))),t().createElement(Su,null,t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalSpaceAround:!0},t().createElement(Iu,null,"SELFIE TIME!"),t().createElement(gt,{center:!0},t().createElement(ta,null)),t().createElement(Te,{center:!0},t().createElement("p",null,"In the next step you'll take a picture of yourself using your device camera")),t().createElement(gt,{center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){r("kycFaceScanRecognition")}},"Begin")))))))};td.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired};var nd=td,rd=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.formik;(0,e.useEffect)((function(){o("kycFaceScan")}),[]);var a=i.setFieldValue;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Face recognition"),t().createElement(xu,{withMargin:!0},"Put your happy investor face on"))),t().createElement(Su,{noHorizontalPadding:!0},t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"RETAKE"),t().createElement(Nu,null,t().createElement(na,null)))),t().createElement(Ro,{part:10},t().createElement(Lu,null)),t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"DONE"),t().createElement(Ru,{onClick:function(){a("facePicture","TODO: GET PHOTO FROM CAMERA"),r("kycFaceScanSuccess")}}))))))};rd.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var od=(0,oi.connect)(rd),id=function(n){var r=n.changeStep,o=n.setPrevStep;return(0,e.useEffect)((function(){o("kycFaceScanRecognition")}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Face verification"))),t().createElement(Su,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:4}),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(Iu,null,"SCAN COMPLETED"),t().createElement(gt,{center:!0,noPaddingBottom:!0},t().createElement(ta,null)),t().createElement(gt,{center:!0},t().createElement(Tu,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,null,t().createElement("p",null,"Great shot - thank you"))),t().createElement(gt,{center:!0},t().createElement(sn,{onClick:function(){return r("kycBasicInfo",3,2)}},"Continue")))),t().createElement(Ro,{part:4}))))};id.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired};var ad=id,cd=[{name:"Afghanistan",ISO2:"AF",ISO3:"AFG"},{name:"Aland Islands",ISO2:"AX",ISO3:"ALA"},{name:"Albania",ISO2:"AL",ISO3:"ALB"},{name:"Algeria",ISO2:"DZ",ISO3:"DZA"},{name:"American Samoa",ISO2:"AS",ISO3:"ASM"},{name:"Andorra",ISO2:"AD",ISO3:"AND"},{name:"Angola",ISO2:"AO",ISO3:"AGO"},{name:"Anguilla",ISO2:"AI",ISO3:"AIA"},{name:"Antarctica",ISO2:"AQ",ISO3:"ATA"},{name:"Antigua and Barbuda",ISO2:"AG",ISO3:"ATG"},{name:"Argentina",ISO2:"AR",ISO3:"ARG"},{name:"Armenia",ISO2:"AM",ISO3:"ARM"},{name:"Aruba",ISO2:"AW",ISO3:"ABW"},{name:"Australia",ISO2:"AU",ISO3:"AUS"},{name:"Austria",ISO2:"AT",ISO3:"AUT"},{name:"Azerbaijan",ISO2:"AZ",ISO3:"AZE"},{name:"Bahamas",ISO2:"BS",ISO3:"BHS"},{name:"Bahrain",ISO2:"BH",ISO3:"BHR"},{name:"Bangladesh",ISO2:"BD",ISO3:"BGD"},{name:"Barbados",ISO2:"BB",ISO3:"BRB"},{name:"Belarus",ISO2:"BY",ISO3:"BLR"},{name:"Belgium",ISO2:"BE",ISO3:"BEL"},{name:"Belize",ISO2:"BZ",ISO3:"BLZ"},{name:"Benin",ISO2:"BJ",ISO3:"BEN"},{name:"Bermuda",ISO2:"BM",ISO3:"BMU"},{name:"Bhutan",ISO2:"BT",ISO3:"BTN"},{name:"Bolivia",ISO2:"BO",ISO3:"BOL"},{name:"Bonaire, Saint Eustatius and Saba ",ISO2:"BQ",ISO3:"BES"},{name:"Bosnia and Herzegovina",ISO2:"BA",ISO3:"BIH"},{name:"Botswana",ISO2:"BW",ISO3:"BWA"},{name:"Bouvet Island",ISO2:"BV",ISO3:"BVT"},{name:"Brazil",ISO2:"BR",ISO3:"BRA"},{name:"British Indian Ocean Territory",ISO2:"IO",ISO3:"IOT"},{name:"British Virgin Islands",ISO2:"VG",ISO3:"VGB"},{name:"Brunei",ISO2:"BN",ISO3:"BRN"},{name:"Bulgaria",ISO2:"BG",ISO3:"BGR"},{name:"Burkina Faso",ISO2:"BF",ISO3:"BFA"},{name:"Burundi",ISO2:"BI",ISO3:"BDI"},{name:"Cambodia",ISO2:"KH",ISO3:"KHM"},{name:"Cameroon",ISO2:"CM",ISO3:"CMR"},{name:"Canada",ISO2:"CA",ISO3:"CAN"},{name:"Cape Verde",ISO2:"CV",ISO3:"CPV"},{name:"Cayman Islands",ISO2:"KY",ISO3:"CYM"},{name:"Central African Republic",ISO2:"CF",ISO3:"CAF"},{name:"Chad",ISO2:"TD",ISO3:"TCD"},{name:"Chile",ISO2:"CL",ISO3:"CHL"},{name:"China",ISO2:"CN",ISO3:"CHN"},{name:"Christmas Island",ISO2:"CX",ISO3:"CXR"},{name:"Cocos Islands",ISO2:"CC",ISO3:"CCK"},{name:"Colombia",ISO2:"CO",ISO3:"COL"},{name:"Comoros",ISO2:"KM",ISO3:"COM"},{name:"Cook Islands",ISO2:"CK",ISO3:"COK"},{name:"Costa Rica",ISO2:"CR",ISO3:"CRI"},{name:"Croatia",ISO2:"HR",ISO3:"HRV"},{name:"Cuba",ISO2:"CU",ISO3:"CUB"},{name:"Curacao",ISO2:"CW",ISO3:"CUW"},{name:"Cyprus",ISO2:"CY",ISO3:"CYP"},{name:"Czech Republic",ISO2:"CZ",ISO3:"CZE"},{name:"Democratic Republic of the Congo",ISO2:"CD",ISO3:"COD"},{name:"Denmark",ISO2:"DK",ISO3:"DNK"},{name:"Djibouti",ISO2:"DJ",ISO3:"DJI"},{name:"Dominica",ISO2:"DM",ISO3:"DMA"},{name:"Dominican Republic",ISO2:"DO",ISO3:"DOM"},{name:"East Timor",ISO2:"TL",ISO3:"TLS"},{name:"Ecuador",ISO2:"EC",ISO3:"ECU"},{name:"Egypt",ISO2:"EG",ISO3:"EGY"},{name:"El Salvador",ISO2:"SV",ISO3:"SLV"},{name:"Equatorial Guinea",ISO2:"GQ",ISO3:"GNQ"},{name:"Eritrea",ISO2:"ER",ISO3:"ERI"},{name:"Estonia",ISO2:"EE",ISO3:"EST"},{name:"Ethiopia",ISO2:"ET",ISO3:"ETH"},{name:"Falkland Islands",ISO2:"FK",ISO3:"FLK"},{name:"Faroe Islands",ISO2:"FO",ISO3:"FRO"},{name:"Fiji",ISO2:"FJ",ISO3:"FJI"},{name:"Finland",ISO2:"FI",ISO3:"FIN"},{name:"France",ISO2:"FR",ISO3:"FRA"},{name:"French Guiana",ISO2:"GF",ISO3:"GUF"},{name:"French Polynesia",ISO2:"PF",ISO3:"PYF"},{name:"French Southern Territories",ISO2:"TF",ISO3:"ATF"},{name:"Gabon",ISO2:"GA",ISO3:"GAB"},{name:"Gambia",ISO2:"GM",ISO3:"GMB"},{name:"Georgia",ISO2:"GE",ISO3:"GEO"},{name:"Germany",ISO2:"DE",ISO3:"DEU"},{name:"Ghana",ISO2:"GH",ISO3:"GHA"},{name:"Gibraltar",ISO2:"GI",ISO3:"GIB"},{name:"Greece",ISO2:"GR",ISO3:"GRC"},{name:"Greenland",ISO2:"GL",ISO3:"GRL"},{name:"Grenada",ISO2:"GD",ISO3:"GRD"},{name:"Guadeloupe",ISO2:"GP",ISO3:"GLP"},{name:"Guam",ISO2:"GU",ISO3:"GUM"},{name:"Guatemala",ISO2:"GT",ISO3:"GTM"},{name:"Guernsey",ISO2:"GG",ISO3:"GGY"},{name:"Guinea",ISO2:"GN",ISO3:"GIN"},{name:"Guinea-Bissau",ISO2:"GW",ISO3:"GNB"},{name:"Guyana",ISO2:"GY",ISO3:"GUY"},{name:"Haiti",ISO2:"HT",ISO3:"HTI"},{name:"Heard Island and McDonald Islands",ISO2:"HM",ISO3:"HMD"},{name:"Honduras",ISO2:"HN",ISO3:"HND"},{name:"Hong Kong",ISO2:"HK",ISO3:"HKG"},{name:"Hungary",ISO2:"HU",ISO3:"HUN"},{name:"Iceland",ISO2:"IS",ISO3:"ISL"},{name:"India",ISO2:"IN",ISO3:"IND"},{name:"Indonesia",ISO2:"ID",ISO3:"IDN"},{name:"Iran",ISO2:"IR",ISO3:"IRN"},{name:"Iraq",ISO2:"IQ",ISO3:"IRQ"},{name:"Ireland",ISO2:"IE",ISO3:"IRL"},{name:"Isle of Man",ISO2:"IM",ISO3:"IMN"},{name:"Israel",ISO2:"IL",ISO3:"ISR"},{name:"Italy",ISO2:"IT",ISO3:"ITA"},{name:"Ivory Coast",ISO2:"CI",ISO3:"CIV"},{name:"Jamaica",ISO2:"JM",ISO3:"JAM"},{name:"Japan",ISO2:"JP",ISO3:"JPN"},{name:"Jersey",ISO2:"JE",ISO3:"JEY"},{name:"Jordan",ISO2:"JO",ISO3:"JOR"},{name:"Kazakhstan",ISO2:"KZ",ISO3:"KAZ"},{name:"Kenya",ISO2:"KE",ISO3:"KEN"},{name:"Kiribati",ISO2:"KI",ISO3:"KIR"},{name:"Kosovo",ISO2:"XK",ISO3:"XKX"},{name:"Kuwait",ISO2:"KW",ISO3:"KWT"},{name:"Kyrgyzstan",ISO2:"KG",ISO3:"KGZ"},{name:"Laos",ISO2:"LA",ISO3:"LAO"},{name:"Latvia",ISO2:"LV",ISO3:"LVA"},{name:"Lebanon",ISO2:"LB",ISO3:"LBN"},{name:"Lesotho",ISO2:"LS",ISO3:"LSO"},{name:"Liberia",ISO2:"LR",ISO3:"LBR"},{name:"Libya",ISO2:"LY",ISO3:"LBY"},{name:"Liechtenstein",ISO2:"LI",ISO3:"LIE"},{name:"Lithuania",ISO2:"LT",ISO3:"LTU"},{name:"Luxembourg",ISO2:"LU",ISO3:"LUX"},{name:"Macao",ISO2:"MO",ISO3:"MAC"},{name:"Macedonia",ISO2:"MK",ISO3:"MKD"},{name:"Madagascar",ISO2:"MG",ISO3:"MDG"},{name:"Malawi",ISO2:"MW",ISO3:"MWI"},{name:"Malaysia",ISO2:"MY",ISO3:"MYS"},{name:"Maldives",ISO2:"MV",ISO3:"MDV"},{name:"Mali",ISO2:"ML",ISO3:"MLI"},{name:"Malta",ISO2:"MT",ISO3:"MLT"},{name:"Marshall Islands",ISO2:"MH",ISO3:"MHL"},{name:"Martinique",ISO2:"MQ",ISO3:"MTQ"},{name:"Mauritania",ISO2:"MR",ISO3:"MRT"},{name:"Mauritius",ISO2:"MU",ISO3:"MUS"},{name:"Mayotte",ISO2:"YT",ISO3:"MYT"},{name:"Mexico",ISO2:"MX",ISO3:"MEX"},{name:"Micronesia",ISO2:"FM",ISO3:"FSM"},{name:"Moldova",ISO2:"MD",ISO3:"MDA"},{name:"Monaco",ISO2:"MC",ISO3:"MCO"},{name:"Mongolia",ISO2:"MN",ISO3:"MNG"},{name:"Montenegro",ISO2:"ME",ISO3:"MNE"},{name:"Montserrat",ISO2:"MS",ISO3:"MSR"},{name:"Morocco",ISO2:"MA",ISO3:"MAR"},{name:"Mozambique",ISO2:"MZ",ISO3:"MOZ"},{name:"Myanmar",ISO2:"MM",ISO3:"MMR"},{name:"Namibia",ISO2:"NA",ISO3:"NAM"},{name:"Nauru",ISO2:"NR",ISO3:"NRU"},{name:"Nepal",ISO2:"NP",ISO3:"NPL"},{name:"Netherlands",ISO2:"NL",ISO3:"NLD"},{name:"New Caledonia",ISO2:"NC",ISO3:"NCL"},{name:"New Zealand",ISO2:"NZ",ISO3:"NZL"},{name:"Nicaragua",ISO2:"NI",ISO3:"NIC"},{name:"Niger",ISO2:"NE",ISO3:"NER"},{name:"Nigeria",ISO2:"NG",ISO3:"NGA"},{name:"Niue",ISO2:"NU",ISO3:"NIU"},{name:"Norfolk Island",ISO2:"NF",ISO3:"NFK"},{name:"North Korea",ISO2:"KP",ISO3:"PRK"},{name:"Northern Mariana Islands",ISO2:"MP",ISO3:"MNP"},{name:"Norway",ISO2:"NO",ISO3:"NOR"},{name:"Oman",ISO2:"OM",ISO3:"OMN"},{name:"Pakistan",ISO2:"PK",ISO3:"PAK"},{name:"Palau",ISO2:"PW",ISO3:"PLW"},{name:"Palestinian Territory",ISO2:"PS",ISO3:"PSE"},{name:"Panama",ISO2:"PA",ISO3:"PAN"},{name:"Papua New Guinea",ISO2:"PG",ISO3:"PNG"},{name:"Paraguay",ISO2:"PY",ISO3:"PRY"},{name:"Peru",ISO2:"PE",ISO3:"PER"},{name:"Philippines",ISO2:"PH",ISO3:"PHL"},{name:"Pitcairn",ISO2:"PN",ISO3:"PCN"},{name:"Poland",ISO2:"PL",ISO3:"POL"},{name:"Portugal",ISO2:"PT",ISO3:"PRT"},{name:"Puerto Rico",ISO2:"PR",ISO3:"PRI"},{name:"Qatar",ISO2:"QA",ISO3:"QAT"},{name:"Republic of the Congo",ISO2:"CG",ISO3:"COG"},{name:"Reunion",ISO2:"RE",ISO3:"REU"},{name:"Romania",ISO2:"RO",ISO3:"ROU"},{name:"Russia",ISO2:"RU",ISO3:"RUS"},{name:"Rwanda",ISO2:"RW",ISO3:"RWA"},{name:"Saint Barthelemy",ISO2:"BL",ISO3:"BLM"},{name:"Saint Helena",ISO2:"SH",ISO3:"SHN"},{name:"Saint Kitts and Nevis",ISO2:"KN",ISO3:"KNA"},{name:"Saint Lucia",ISO2:"LC",ISO3:"LCA"},{name:"Saint Martin",ISO2:"MF",ISO3:"MAF"},{name:"Saint Pierre and Miquelon",ISO2:"PM",ISO3:"SPM"},{name:"Saint Vincent and the Grenadines",ISO2:"VC",ISO3:"VCT"},{name:"Samoa",ISO2:"WS",ISO3:"WSM"},{name:"San Marino",ISO2:"SM",ISO3:"SMR"},{name:"Sao Tome and Principe",ISO2:"ST",ISO3:"STP"},{name:"Saudi Arabia",ISO2:"SA",ISO3:"SAU"},{name:"Senegal",ISO2:"SN",ISO3:"SEN"},{name:"Serbia",ISO2:"RS",ISO3:"SRB"},{name:"Seychelles",ISO2:"SC",ISO3:"SYC"},{name:"Sierra Leone",ISO2:"SL",ISO3:"SLE"},{name:"Singapore",ISO2:"SG",ISO3:"SGP"},{name:"Sint Maarten",ISO2:"SX",ISO3:"SXM"},{name:"Slovakia",ISO2:"SK",ISO3:"SVK"},{name:"Slovenia",ISO2:"SI",ISO3:"SVN"},{name:"Solomon Islands",ISO2:"SB",ISO3:"SLB"},{name:"Somalia",ISO2:"SO",ISO3:"SOM"},{name:"South Africa",ISO2:"ZA",ISO3:"ZAF"},{name:"South Georgia and the South Sandwich Islands",ISO2:"GS",ISO3:"SGS"},{name:"South Korea",ISO2:"KR",ISO3:"KOR"},{name:"South Sudan",ISO2:"SS",ISO3:"SSD"},{name:"Spain",ISO2:"ES",ISO3:"ESP"},{name:"Sri Lanka",ISO2:"LK",ISO3:"LKA"},{name:"Sudan",ISO2:"SD",ISO3:"SDN"},{name:"Suriname",ISO2:"SR",ISO3:"SUR"},{name:"Svalbard and Jan Mayen",ISO2:"SJ",ISO3:"SJM"},{name:"Swaziland",ISO2:"SZ",ISO3:"SWZ"},{name:"Sweden",ISO2:"SE",ISO3:"SWE"},{name:"Switzerland",ISO2:"CH",ISO3:"CHE"},{name:"Syria",ISO2:"SY",ISO3:"SYR"},{name:"Taiwan",ISO2:"TW",ISO3:"TWN"},{name:"Tajikistan",ISO2:"TJ",ISO3:"TJK"},{name:"Tanzania",ISO2:"TZ",ISO3:"TZA"},{name:"Thailand",ISO2:"TH",ISO3:"THA"},{name:"Togo",ISO2:"TG",ISO3:"TGO"},{name:"Tokelau",ISO2:"TK",ISO3:"TKL"},{name:"Tonga",ISO2:"TO",ISO3:"TON"},{name:"Trinidad and Tobago",ISO2:"TT",ISO3:"TTO"},{name:"Tunisia",ISO2:"TN",ISO3:"TUN"},{name:"Turkey",ISO2:"TR",ISO3:"TUR"},{name:"Turkmenistan",ISO2:"TM",ISO3:"TKM"},{name:"Turks and Caicos Islands",ISO2:"TC",ISO3:"TCA"},{name:"Tuvalu",ISO2:"TV",ISO3:"TUV"},{name:"U.S. Virgin Islands",ISO2:"VI",ISO3:"VIR"},{name:"Uganda",ISO2:"UG",ISO3:"UGA"},{name:"Ukraine",ISO2:"UA",ISO3:"UKR"},{name:"United Arab Emirates",ISO2:"AE",ISO3:"ARE"},{name:"United Kingdom",ISO2:"GB",ISO3:"GBR"},{name:"United States",ISO2:"US",ISO3:"USA"},{name:"United States Minor Outlying Islands",ISO2:"UM",ISO3:"UMI"},{name:"Uruguay",ISO2:"UY",ISO3:"URY"},{name:"Uzbekistan",ISO2:"UZ",ISO3:"UZB"},{name:"Vanuatu",ISO2:"VU",ISO3:"VUT"},{name:"Vatican",ISO2:"VA",ISO3:"VAT"},{name:"Venezuela",ISO2:"VE",ISO3:"VEN"},{name:"Vietnam",ISO2:"VN",ISO3:"VNM"},{name:"Wallis and Futuna",ISO2:"WF",ISO3:"WLF"},{name:"Western Sahara",ISO2:"EH",ISO3:"ESH"},{name:"Yemen",ISO2:"YE",ISO3:"YEM"},{name:"Zambia",ISO2:"ZM",ISO3:"ZMB"},{name:"Zimbabwe",ISO2:"ZW",ISO3:"ZWE"}];function ld(e){return ld="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},ld(e)}function sd(){return sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sd.apply(this,arguments)}function ud(){ud=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==ld(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function fd(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function dd(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){fd(i,r,o,a,c,"next",e)}function c(e){fd(i,r,o,a,c,"throw",e)}a(void 0)}))}}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function md(e,t){for(var n=0;n<t.length;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)}}function hd(e,t){return hd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hd(e,t)}function gd(e,t){if(t&&("object"===ld(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bd(e)}function bd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yd(e){return yd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yd(e)}function vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wd=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hd(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=yd(i);if(c){var n=yd(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return gd(this,e)});function s(){var e;pd(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return vd(bd(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1,hasErrors:!0}),vd(bd(e),"fields",["firstName","middleName","lastName","phonePrefix","phone","postalCode","city","street","country","occupation","occupationDetails","dataConfirmation"]),vd(bd(e),"handlePopup",function(){var t=dd(ud().mark((function t(n){var r,o,i,a;return ud().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.props.formik,o=r.validateForm,i=r.errors,a=r.setFieldTouched,e.fields.forEach((function(e){return a(e)})),t.next=5,o();case 5:e.setState({popupOpen:!!Object.keys(i).length&&n,hasErrors:!!Object.keys(i).length});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return r=s,(o=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycFaceScanSuccess",2)}},{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=i.errors,l=i.setFieldValue,s=i.setFieldTouched,u=i.touched,f=this.state,d=f.popupOpen,p=f.hasErrors,m=function(e){l(e.name,e.value,!1),s(e.name)},h=function(e){s(e.name)};return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Basic info"))),t().createElement(Su,{form:!0},t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"firstName",validation:function(){return Pi("firstName",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"First Name",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"middleName",validation:function(){return Pi("middleName",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Middle Name",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"lastName",validation:function(){return Pi("lastName",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Last Name",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"phonePrefix",validation:function(){return Pi("phonePrefix",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ts,{options:[{key:1,value:"+01",label:"+01"},{key:2,value:"+02",label:"+02"},{key:3,value:"+03",label:"+03"},{key:4,value:"+04",label:"+04"},{key:5,value:"+05",label:"+05"},{key:6,value:"+06",label:"+06"}],label:"Prefix",id:n.name,name:n.name,value:n.value,error:!!c[n.name],touched:!!u[n.name],onChange:m,onBlur:h}),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))),t().createElement(Ro,{part:1,full:2},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"phone",validation:function(){return Pi("phone",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Mobile phone",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"country",validation:function(){return Pi("country",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ts,{options:cd.map((function(e){var t=e.name;return{key:t,value:t,label:t}})),label:"Country",id:n.name,name:n.name,value:n.value,error:!!c[n.name],touched:!!u[n.name],onChange:m,onBlur:h,search:!0}),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"postalCode",validation:function(){return Pi("postalCode",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Postal Code",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"city",validation:function(){return Pi("city",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"City",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"street",validation:function(){return Pi("street",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Street",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"occupation",validation:function(){return Pi("occupation",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ts,{options:[{key:1,value:"student",label:"Student"},{key:2,value:"worker",label:"Worker"},{key:3,value:"other",label:"Other, precise:"}],label:"Occupation",id:n.name,name:n.name,value:n.value,error:!!c[n.name],touched:!!u[n.name],onChange:m,onBlur:h}),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"occupationDetails",validation:function(){return Pi("occupationDetails",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(Bu,null,t().createElement(Ii,null,t().createElement(oi.Field,{name:"dataConfirmation",validate:function(){return Pi("dataConfirmation",i)}},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(pt,sd({id:"data-confirmation",text:"I confirm that all information is correct",checked:r.value,error:!!c[r.name]},r,{value:"yes"})),t().createElement(ki,{show:c[r.name]},c[r.name]))}))),t().createElement(zu,null,t().createElement(a.Tooltip,{open:d,position:"bottom",title:"Please fill all required fields",theme:"light",arrow:!0,duration:200},t().createElement("span",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycConfirmation",5,3)},disabled:p},"Continue")))))))}}])&&md(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);wd.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var xd=(0,oi.connect)(wd),Ed=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.formik;return(0,e.useEffect)((function(){o("kycBasicInfo",3)}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement(xu,null,"Confirmation"),t().createElement(Eu,null,t().createElement(sn,{secondary:!0,onClick:function(){return r("kycBasicInfo",3)}},"Previous"),t().createElement(sn,{onClick:function(){return i.submitForm()}},"Confirm"))),t().createElement(Su,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:4}),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(Iu,null,"THANK YOU FOR REGISTERING"))),t().createElement(Ro,{part:4}))))};Ed.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Sd,Od,Id,Ad=(0,oi.connect)(Ed),kd=(0,c.css)(Sd||(Sd=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n font-family: 'Open Sans';\n font-weight: bold;\n font-size: 11px;\n line-height: 14px;\n text-transform: uppercase;\n display: inline-block;\n padding-left: 18px;\n padding-right: 6px;\n transition: padding 0.2s;\n\n &:before {\n content: '\\f3d1';\n font-family: 'Ionicons';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size: 12px;\n line-height: 8px;\n display: block;\n width: 8px;\n height: 8px;\n position: absolute;\n top: 50%;\n left: 0;\n margin-top: -4px;\n color: ",";\n }\n\n &:hover {\n padding-left: 24px;\n padding-right: 0;\n }\n"],["\n position: relative;\n font-family: 'Open Sans';\n font-weight: bold;\n font-size: 11px;\n line-height: 14px;\n text-transform: uppercase;\n display: inline-block;\n padding-left: 18px;\n padding-right: 6px;\n transition: padding 0.2s;\n\n &:before {\n content: '\\\\f3d1';\n font-family: 'Ionicons';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size: 12px;\n line-height: 8px;\n display: block;\n width: 8px;\n height: 8px;\n position: absolute;\n top: 50%;\n left: 0;\n margin-top: -4px;\n color: ",";\n }\n\n &:hover {\n padding-left: 24px;\n padding-right: 0;\n }\n"])),(function(e){return p.cWarning})),Cd=l()(xt.Link).withConfig({displayName:"TextLinkstyles__TextLink",componentId:"sc-h1k34v-0"})(["",""],kd),Pd=l().button.withConfig({displayName:"TextLinkstyles__TextButton",componentId:"sc-h1k34v-1"})(["",""],kd),Td=Cd;function jd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}l().div.withConfig({displayName:"LatestUpdatestyles__LatestUpdateTitle",componentId:"sc-1tg99hq-0"})(["font-size:11px;line-height:24px;letter-spacing:2.06px;text-transform:uppercase;margin-bottom:9px;"]),l().div.withConfig({displayName:"LatestUpdatestyles__LatestUpdateHeadline",componentId:"sc-1tg99hq-1"})(["font-size:22px;font-weight:900;letter-spacing:0.8px;line-height:28px;text-transform:uppercase;"]);var Md=l()(gt).withConfig({displayName:"LatestUpdatestyles__LatestUpdateWrapper",componentId:"sc-1tg99hq-2"})(["padding:80px 32px;",""],G.Medium(Od||(Od=jd(["\n padding: 128px 64px;\n "])))),_d=l().div.withConfig({displayName:"LatestUpdatestyles__Container",componentId:"sc-1tg99hq-3"})(["display:block;padding:20px 0;",""],G.Medium(Id||(Id=jd(["\n ","\n "])),(function(e){return e.horizontalPadding&&"\n padding: 20px 5%;\n "}))),Nd=l()(xt.Link).withConfig({displayName:"LatestUpdatestyles__ItemLink",componentId:"sc-1tg99hq-4"})(["display:block;"]),Rd=l().div.withConfig({displayName:"LatestUpdatestyles__ImageWrap",componentId:"sc-1tg99hq-5"})(["display:block;height:42px;margin-bottom:12px;"]),Ld=l().img.withConfig({displayName:"LatestUpdatestyles__Image",componentId:"sc-1tg99hq-6"})(["display:inline-block;max-width:100%;max-height:100%;margin-bottom:12px;object-fit:contain;object-position:0 100%;"]),Bd=l().span.withConfig({displayName:"LatestUpdatestyles__Tag",componentId:"sc-1tg99hq-7"})(["display:block;font-size:11px;line-height:24px;margin-bottom:12px;text-transform:uppercase;"]),zd=l().h3.withConfig({displayName:"LatestUpdatestyles__Title",componentId:"sc-1tg99hq-8"})(["display:block;font-family:'Open Sans';font-weight:600;font-size:16px;line-height:24px;margin:0;margin-bottom:20px;"]),Dd=l().span.withConfig({displayName:"LatestUpdatestyles__Text",componentId:"sc-1tg99hq-9"})(["display:block;font-size:16px;font-weight:300;line-height:24px;margin-bottom:20px;"]),Gd=l()(Td).withConfig({displayName:"LatestUpdatestyles__ReadMore",componentId:"sc-1tg99hq-10"})(["letter-spacing:2px;"]),qd=function(e){var n=e.image,r=e.tag,o=e.title,i=e.text,a=e.url,c=e.horizontalPadding;return t().createElement(_d,{to:a,horizontalPadding:c},t().createElement(Nd,{to:a},n&&t().createElement(Rd,null,t().createElement(Ld,{src:n})),r&&t().createElement(Bd,null,r),t().createElement(zd,null,o),t().createElement(Dd,null,i),t().createElement(Gd,{as:"span"},"read more")))};qd.propTypes={image:i().string,tag:i().string,title:i().string.isRequired,text:i().string.isRequired,url:i().string.isRequired,horizontalPadding:i().bool},qd.defaultProps={image:"",tag:"",horizontalPadding:!1};var Fd,Ud,Wd,Hd,Vd,Yd,Qd,Kd,Jd,Zd,Xd,$d,ep=require("react-slick"),tp=n.n(ep);function np(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}require("slick-carousel/slick/slick.css"),require("slick-carousel/slick/slick-theme.css");var rp=l().div.withConfig({displayName:"LearnMoreCarouselstyles__Container",componentId:"sc-auw5a4-0"})(["overflow:hidden;"]),op=l().div.withConfig({displayName:"LearnMoreCarouselstyles__Offset",componentId:"sc-auw5a4-1"})(["position:relative;padding-top:28px;padding-bottom:76px;margin-right:0;"," ",""],G.Medium(Fd||(Fd=np(["\n padding-top: 32px;\n padding-bottom: 72px;\n margin-right: 64px;\n "]))),G.Large(Ud||(Ud=np(["\n padding-top: 64px;\n padding-bottom: 88px;\n margin-right: 128px;\n "])))),ip=l().div.withConfig({displayName:"LearnMoreCarouselstyles__Wrapper",componentId:"sc-auw5a4-2"})(["margin-right:0;"," .slick-list{z-index:0;}.slick-arrow{z-index:1;width:32px;height:48px;background-color:",";transition:background-color 0.2s;"," &.slick-prev,&.slick-next{top:100%;right:50%;margin-top:40px;transform:none;"," "," &:before{font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:20px;line-height:24px;text-align:center;opacity:1;color:",";}&:focus,&:hover{background-color:",";}}&.slick-prev{left:auto;margin-right:-32px;"," &:before{content:'\f3cf';}}&.slick-next{border-left:1px solid ",";margin-right:-64px;"," &:before{content:'\f3d1';}}}.slick-dots{z-index:1;height:auto;top:100%;margin-left:8px;text-align:center;width:100%;margin-top:28px;"," "," li{display:inline-block;width:24px;height:24px;margin:0;button{display:block;padding:8px;width:24px;height:24px;&:before{position:relative;content:'';display:block;width:8px;height:8px;border-radius:4px;background-color:#eee;opacity:1;transition:background-color 0.2s;}&:hover{&:before{background-color:#0050ca;}}}&.slick-active{button{&:before{background-color:#ee220d;}}}}}.slick-track{display:flex;align-items:stretch;}.slick-slide{height:auto;& > div{height:100%;}}"],G.Medium(Wd||(Wd=np(["\n margin-right: -100%;\n "]))),(function(e){return p.cWarning}),G.Large(Hd||(Hd=np(["\n width: 64px;\n "]))),G.Medium(Vd||(Vd=np(["\n margin-top: 24px;\n "]))),G.Large(Yd||(Yd=np(["\n margin-top: 40px;\n "]))),(function(e){return p.cWhite}),(function(e){return p.cWarningDark}),G.Large(Qd||(Qd=np(["\n margin-right: -64px;\n "]))),(function(e){return p.cWarningDark}),G.Large(Kd||(Kd=np(["\n margin-right: -128px;\n "]))),G.Medium(Jd||(Jd=np(["\n margin-top: 36px;\n width: 50%;\n padding-right: 32px;\n text-align: right;\n "]))),G.Large(Zd||(Zd=np(["\n margin-top: 52px;\n padding-right: 36px;\n "])))),ap=l().div.withConfig({displayName:"LearnMoreCarouselstyles__LearnMoreSlide",componentId:"sc-auw5a4-3"})(["outline:0;height:100%;padding-left:32px;padding-right:32px;"," ",""],G.Medium(Xd||(Xd=np(["\n padding-left: 32px;\n padding-right: 0;\n "]))),G.Large($d||($d=np(["\n padding-left: 64px;\n padding-right: 0;\n "])))),cp=function(e){var n=e.children,r=e.autoplay,o={dots:e.dots,arrows:e.arrows,infinite:!1,speed:600,autoplay:!!r,autoplaySpeed:r,slidesToShow:e.isMobile?1:2,slidesToScroll:1};return t().createElement(rp,null,t().createElement(op,null,t().createElement(ip,null,t().createElement(tp(),o,n))))};cp.propTypes={children:i().node.isRequired,autoplay:i().number,dots:i().bool,arrows:i().bool,isMobile:i().bool},cp.defaultProps={autoplay:0,dots:!1,arrows:!1,isMobile:!1};var lp,sp,up,fp=cp;function dp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var pp=l().div.withConfig({displayName:"TabsNavstyles__StyledTabs",componentId:"sc-opeopg-0"})(["position:relative;border-bottom:1px solid ",";"],(function(e){return p.cLightGrey})),mp=l().div.withConfig({displayName:"TabsNavstyles__Scroll",componentId:"sc-opeopg-1"})(["position:relative;overflow:hidden;overflow-x:auto;"]),hp=l().div.withConfig({displayName:"TabsNavstyles__TabsWrapper",componentId:"sc-opeopg-2"})(["position:relative;white-space:nowrap;padding:12px 0;",""],G.Medium(lp||(lp=dp(["\n padding: 24px;\n "])))),gp=l().span.withConfig({displayName:"TabsNavstyles__LinkText",componentId:"sc-opeopg-3"})(["display:block;position:relative;font-family:'Open Sans';font-size:11px;letter-spacing:2px;line-height:20px;text-transform:uppercase;padding:8px 0;&:before{content:'';width:100%;height:8px;background-color:transparent;position:absolute;top:100%;left:0%;transition:background-color 0.2s;}"]),bp=l().button.withConfig({displayName:"TabsNavstyles__StyledTab",componentId:"sc-opeopg-4"})(["display:inline-block;position:relative;cursor:pointer;outline:none;visibility:visible;padding:12px;color:",";transition:opacity 0.2s;"," "," &:focus,&:hover{opacity:0.6;}",""],(function(e){return p.cBlack}),G.Medium(sp||(sp=dp(["\n padding: 24px;\n "]))),G.Large(up||(up=dp(["\n padding: 32px 40px;\n "]))),(function(e){return e.isActive&&"\n &:focus ,\n &:hover {\n opacity: 1;\n }\n\n ".concat(gp," {\n font-weight: bold;\n\n &:before {\n background-color: ").concat(p.cPrimary,"!important;\n }\n }\n ")})),yp=function(e){var n=e.children,r=e.isActive,o=e.onClick;return t().createElement(bp,{onClick:o,isActive:r},t().createElement(gp,null,n))};function vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vp(Object(n),!0).forEach((function(t){xp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}yp.propTypes={children:i().node.isRequired,isActive:i().bool,onClick:i().func},yp.defaultProps={isActive:!1,onClick:function(){}};var Ep=function(e){var n=e.children,r=e.activeTab;return t().createElement(pp,null,t().createElement(mp,null,t().createElement(hp,null,t().Children.map(n,(function(e){return t().isValidElement(e)?t().cloneElement(e,wp(wp({},e.props),{},{isActive:e.props.tabId===r})):null})))))};Ep.propTypes={children:i().node.isRequired,activeTab:i().oneOfType([i().number,i().string])},Ep.defaultProps={activeTab:0};var Sp,Op,Ip=Ep,Ap=require("semantic-ui-react");function kp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Cp,Pp,Tp,jp,Mp,_p,Np,Rp,Lp,Bp,zp,Dp,Gp,qp,Fp,Up,Wp,Hp,Vp,Yp,Qp=l().i.attrs({className:"ion ion-md-checkmark"}).withConfig({displayName:"LearnMoresharedstyles__CompleteMark",componentId:"sc-17qnhrh-0"})(["margin:auto;"]),Kp=l().div.withConfig({displayName:"LearnMoresharedstyles__CompleteMarkContainer",componentId:"sc-17qnhrh-1"})(["width:20px;height:20px;border-radius:50%;display:flex;border:1px dotted ",";margin-left:auto;","{display:none;}"," "," ",""],(function(e){return p.cLightGrey}),Qp,(function(e){return e.inProgress&&"\n border-style: solid;\n border-color: ".concat(p.cLighterGreen,";\n ")}),(function(e){return e.complete&&(0,c.css)(Sp||(Sp=kp(["\n border-style: solid;\n border-color: ",";\n background: ",";\n\n "," {\n display: block;\n color: ",";\n }\n "])),p.cLighterGreen,p.cLighterGreen,Qp,p.cDarkGreen)}),(function(e){return e.large&&(0,c.css)(Op||(Op=kp(["\n width: 40px;\n height: 40px;\n\n "," {\n font-size: 2em;\n }\n "])),Qp)})),Jp=l()(Ap.Popup).withConfig({displayName:"LearnMoresharedstyles__CompleteMarkTooltip",componentId:"sc-17qnhrh-2"})(["margin-left:auto;padding-left:8px;"]);function Zp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Xp=l().div.withConfig({displayName:"LearnMoreItemstyles__ArticleWrapper",componentId:"sc-j18ifc-0"})(["padding:32px;position:relative;"," "," "," &::before{content:'';position:absolute;width:1px;background:",";"," ","}"],G.Medium(Cp||(Cp=Zp(["\n padding: 64px;\n "]))),G.XLarge(Pp||(Pp=Zp(["\n padding: 128px;\n "]))),(function(e){return"text"===e.postType&&(0,c.css)(Tp||(Tp=Zp(["\n padding-right: 64px;\n\n ","\n\n ","\n "])),G.Large(jp||(jp=Zp(["\n padding-right: 128px;\n "]))),G.XLarge(Mp||(Mp=Zp(["\n padding-right: 224px;\n "]))))}),(function(e){return p.cGrey}),(function(e){return"video"===e.postType&&(0,c.css)(_p||(_p=Zp(["\n top: 32px;\n left: 48px;\n bottom: 0;\n\n ","\n\n ","\n\n ","\n "])),G.Medium(Np||(Np=Zp(["\n top: 64px;\n left: 64px;\n "]))),G.Large(Rp||(Rp=Zp(["\n left: 96px;\n "]))),G.XLarge(Lp||(Lp=Zp(["\n top: 128px;\n left: 160px;\n "]))))}),(function(e){return"text"===e.postType&&(0,c.css)(Bp||(Bp=Zp(["\n top: 0;\n right: 48px;\n bottom: 0;\n\n ","\n\n ","\n\n ","\n "])),G.Medium(zp||(zp=Zp(["\n right: 32px;\n "]))),G.Large(Dp||(Dp=Zp(["\n right: 96px;\n "]))),G.XLarge(Gp||(Gp=Zp(["\n right: 192px;\n "]))))})),$p=l().div.withConfig({displayName:"LearnMoreItemstyles__VideoTitleRow",componentId:"sc-j18ifc-1"})(["display:flex;flex-direction:column;",""],G.XLarge(qp||(qp=Zp(["\n align-items: center;\n flex-direction: row;\n "])))),em=l().div.withConfig({displayName:"LearnMoreItemstyles__VideoCover",componentId:"sc-j18ifc-2"})(["width:100%;","{width:100%;padding-top:56.25%;}","{position:absolute;top:50%;left:50%;width:auto;transform:translateY(-50%) translateX(-50%);}"],Mt,Rt),tm=l().div.withConfig({displayName:"LearnMoreItemstyles__VideoPlay",componentId:"sc-j18ifc-3"})(["width:48px;height:48px;color:",";background:",";border-radius:50%;display:flex;align-items:center;justify-content:center;transition:0.3s background;&:hover{color:",";background:",";}"],(function(e){return p.cWhite}),(function(e){return p.cWarning}),(function(e){return p.cWhite}),(function(e){return p.cWarningDark})),nm=l().i.attrs({className:"ion ion-md-play"}).withConfig({displayName:"LearnMoreItemstyles__VideoPlayIcon",componentId:"sc-j18ifc-4"})(["font-size:16px;"]),rm=l()(Te).withConfig({displayName:"LearnMoreItemstyles__TitleText",componentId:"sc-j18ifc-5"})(["position:relative;&::before{content:'';position:absolute;width:6px;background:",";top:0;bottom:0;"," ","}"],(function(e){return p.cPrimary}),(function(e){return"video"===e.postType&&(0,c.css)(Fp||(Fp=Zp(["\n transform: translateX(1px);\n left: -16px;\n\n ","\n "])),G.Medium(Up||(Up=Zp(["\n left: -32px;\n "]))))}),(function(e){return"text"===e.postType&&(0,c.css)(Wp||(Wp=Zp(["\n transform: translateX(-1px);\n right: -16px;\n\n ","\n "])),G.Medium(Hp||(Hp=Zp(["\n right: -32px;\n "]))))})),om=l().div.withConfig({displayName:"LearnMoreItemstyles__CompleteWrapper",componentId:"sc-j18ifc-6"})(["display:flex;flex-shrink:0;margin-left:auto;margin-top:24px;"," "," ","{flex-shrink:0;margin-left:16px;}","{flex-shrink:0;}"],(function(e){return e.center&&"\n justify-content: center;\n "}),G.XLarge(Vp||(Vp=Zp(["\n margin-top: 0;\n "]))),Kp,sn),im=l()(Te).withConfig({displayName:"LearnMoreItemstyles__ContentText",componentId:"sc-j18ifc-7"})(["display:flex;flex-direction:column;h5{font-size:16px;letter-spacing:0.4px;font-weight:600;margin-bottom:16px;}img{max-width:100%;margin:32px auto;}ul{list-style:none;padding:0;margin:0;}li{font-family:'Open Sans';font-weight:300;font-size:16px;line-height:1.5em;letter-spacing:0.6px;padding-left:12px;position:relative;"," &::before{position:absolute;left:0;content:'•';color:",";}}"],G.XLarge(Yp||(Yp=Zp(["\n font-size: 20px;\n "]))),(function(e){return p.cWarning})),am=function(n){var r=n.postItem,o=n.activeTabObject,i=n.onMarkComplete;return t().createElement(Xp,{postType:r.postType},"video"===r.postType&&t().createElement(e.Fragment,null,t().createElement(em,null,t().createElement(zt,{src:r.cover},t().createElement(tm,null,t().createElement(nm,null)))),t().createElement(gt,{noPaddingRight:!0,noPaddingBottom:!0},t().createElement($p,null,t().createElement(rm,{postType:r.postType},t().createElement("h3",null,r.title)),t().createElement(om,null,t().createElement(sn,{primary:!o.complete,secondary:o.complete,onClick:function(){return i(o.id)}},o.complete?"Watched":"Mark as watched"),t().createElement(Kp,{large:!0,inProgress:o.inProgress,complete:o.complete},t().createElement(Qp,null))))),t().createElement(gt,null,t().createElement(im,{dangerouslySetInnerHTML:{__html:r.content}}))),"text"===r.postType&&t().createElement(e.Fragment,null,t().createElement(gt,{noPaddingRight:!0,noPaddingBottom:!0},t().createElement(rm,{postType:r.postType},t().createElement("h3",null,r.title))),t().createElement(gt,null,t().createElement(im,{dangerouslySetInnerHTML:{__html:r.content}})),t().createElement(gt,null,t().createElement(om,{center:!0},t().createElement(sn,{primary:!o.complete,secondary:o.complete,onClick:function(){return i(o.id)}},o.complete?"Already Read":"Mark as read"),t().createElement(Kp,{large:!0,inProgress:o.inProgress,complete:o.complete},t().createElement(Qp,null))))))};am.propTypes={postItem:i().shape(Um).isRequired,activeTabObject:i().shape(Fm).isRequired,onMarkComplete:i().func.isRequired};var cm,lm,sm,um,fm,dm,pm,mm,hm,gm,bm,ym,vm=am;function wm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var xm=l().div.withConfig({displayName:"LearnMorestyles__Container",componentId:"sc-1sdxbx5-0"})(["width:100%;overflow:hidden;","{padding:0 !important;}","{border-bottom:none;}"],hp,pp),Em=l().i.attrs({className:"ion ion-ios-arrow-forward"}).withConfig({displayName:"LearnMorestyles__TabArrow",componentId:"sc-1sdxbx5-1"})(["color:",";margin-right:6px;transition:0.3s transform;",""],(function(e){return p.cWarning}),(function(e){return!0===e.isActive&&"\n transform: rotate(90deg);\n "})),Sm=l()(gt).withConfig({displayName:"LearnMorestyles__TitleContainer",componentId:"sc-1sdxbx5-2"})(["display:flex;flex-direction:column;"," "," ","{color:",";text-transform:uppercase;}","{color:",";}"],G.Medium(cm||(cm=wm(["\n padding: 64px;\n "]))),G.Large(lm||(lm=wm(["\n padding-right: 96px;\n "]))),Ot,(function(e){return p.cPrimary}),Et,(function(e){return p.cPrimary})),Om=(l().div.withConfig({displayName:"LearnMorestyles__TabTitle",componentId:"sc-1sdxbx5-3"})(["padding:42px 36px;display:flex;justify-content:space-between;font-weight:700;text-transform:uppercase;position:relative;font-size:11px;line-height:20px;letter-spacing:0.6px;"]),l().i.attrs({className:"ion ion-ios-arrow-right"}).withConfig({displayName:"LearnMorestyles__Arrow",componentId:"sc-1sdxbx5-4"})(["&&&{position:absolute;top:50%;right:32px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;margin-top:-8px;","}"],(function(e){return e.isOpened&&"\n transform: rotate(-90deg);\n "})),l()(gt).withConfig({displayName:"LearnMorestyles__SubTabNav",componentId:"sc-1sdxbx5-5"})(["display:flex;align-items:center;font-size:10px;cursor:pointer;transition:0.3s background;background:",";&::before{content:'';display:none;position:absolute;top:52px;bottom:-32px;right:42px;z-index:1;width:0;border-left:1px dotted ",";transform:translateX(50%);"," ","}&:last-child::before{display:none;}",""],(function(e){return p.cWhite}),(function(e){return p.cLightGrey}),G.Medium(sm||(sm=wm(["\n display: block;\n "]))),G.Large(um||(um=wm(["\n right: 74px;\n "]))),(function(e){return e.isActive&&(0,c.css)(fm||(fm=wm(["\n font-weight: 700;\n background: ",";\n "])),p.cGrey)}))),Im=l()(gt).withConfig({displayName:"LearnMorestyles__TabNav",componentId:"sc-1sdxbx5-6"})(["display:flex;align-items:center;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase;cursor:pointer;&:last-child{border-bottom:1px solid ",";}"," + div ","::before{","}"],(function(e){return p.cLightGrey}),(function(e){return e.isActive&&(0,c.css)(dm||(dm=wm(["\n &::before {\n content: '';\n width: 8px;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: ",";\n }\n "])),p.cWarning)}),Om,(function(e){return e.complete&&(0,c.css)(pm||(pm=wm(["\n border-color: ",";\n border-left-style: solid;\n "])),p.cLighterGreen)})),Am=l()(Ro).withConfig({displayName:"LearnMorestyles__SidebarColumn",componentId:"sc-1sdxbx5-7"})(["max-width:300px;position:fixed;background:",";z-index:10000;border-right:1px solid ",";top:0;padding-top:48px;transition:0.3s transform;transform:translateX(-100%);"," "," ",""],(function(e){return p.cWhite}),(function(e){return p.cLightGrey}),(function(e){return e.isExpanded&&"transform: translateX(0);"}),G.Medium(mm||(mm=wm(["\n transform: translateX(0);\n max-width: 300px;\n padding-top: ","px;\n "])),(function(e){return yo})),G.Large(hm||(hm=wm(["\n max-width: 400px;\n "])))),km=l()(Ro).withConfig({displayName:"LearnMorestyles__ContentColumn",componentId:"sc-1sdxbx5-8"})([""," ",""],G.Medium(gm||(gm=wm(["\n margin-left: 300px;\n "]))),G.Large(bm||(bm=wm(["\n margin-left: 400px;\n "])))),Cm=l().h3.withConfig({displayName:"LearnMorestyles__SidebarTitle",componentId:"sc-1sdxbx5-9"})(["font-family:'Open Sans';font-size:20px;line-height:24px;font-weight:700;margin-bottom:20px;"]),Pm=l().div.withConfig({displayName:"LearnMorestyles__SidebarHeading",componentId:"sc-1sdxbx5-10"})(["font-size:12px;letter-spacing:0.4px;font-weight:600;margin-bottom:16px;"]),Tm=l().div.withConfig({displayName:"LearnMorestyles__MobileMenuToggler",componentId:"sc-1sdxbx5-11"})(["display:block;width:48px;height:48px;position:fixed;top:0;left:0;background:",";z-index:10001;"," span{display:block;width:16px;height:2px;position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-8px;background-color:",";transition:background-color 0.4s,transform 0.4s;&:nth-child(1){transform:translateY(-6px);}&:nth-child(3){transform:translateY(6px);}}",""],(function(e){return p.cWhite}),G.Medium(ym||(ym=wm(["\n display: none;\n "]))),(function(e){return p.cText}),(function(e){return e.isActive&&"\n span {\n background-color: ".concat(p.cPrimary,";\n\n &:nth-child(1) {\n transform: translateY(0) rotate(135deg);\n }\n\n &:nth-child(2) {\n transform: scaleX(0);\n }\n\n &:nth-child(3) {\n transform: translateY(0) rotate(-135deg);\n }\n }\n ")}));function jm(e){return jm="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},jm(e)}function Mm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mm(Object(n),!0).forEach((function(t){Gm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rm(e,t){for(var n=0;n<t.length;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)}}function Lm(e,t){return Lm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lm(e,t)}function Bm(e,t){if(t&&("object"===jm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zm(e)}function zm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dm(e){return Dm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dm(e)}function Gm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qm=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lm(e,t)}(l,n);var r,o,i,a,c=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Dm(i);if(a){var n=Dm(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Bm(this,e)});function l(){var e;Nm(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Gm(zm(e=c.call.apply(c,[this].concat(n))),"state",{openedTab:"",isMobile:!1,isSidebarExpanded:!1}),Gm(zm(e),"getActiveTab",(function(t){var n=e.props.categories,r={};return n.find((function(e){var n=e.subcategories;return!(!n.length||!(r=n.find((function(e){return e.id===t}))))||e.id===t&&(r=e,!0)})),r})),Gm(zm(e),"setDefaultActiveTab",(function(){var t=e.props.activeCategory;e.toggleTab(t)})),Gm(zm(e),"toggleTab",(function(t){e.state.openedTab!==t?e.setState({openedTab:t}):e.setState({openedTab:""})})),Gm(zm(e),"toggleSidebar",(function(){e.setState((function(e){return{isSidebarExpanded:!e.isSidebarExpanded}}))})),Gm(zm(e),"onResize",(function(){clearTimeout(e.timeout),e.timeout=setTimeout(e.onResizeTimeout,200)})),Gm(zm(e),"onResizeTimeout",(function(){e.setState({isMobile:e.checkIsMobile()})})),Gm(zm(e),"checkIsMobile",(function(){return!window.matchMedia(D("Medium")).matches})),Gm(zm(e),"navigateToSubcategory",(function(t){var n=e.props,r=n.categories,o=n.items;(0,xt.navigate)("/learn-more/".concat(t),{state:{learnMore:{categories:r,items:o}}})})),e}return r=l,(o=[{key:"componentDidMount",value:function(){this.setDefaultActiveTab(),window.addEventListener("resize",this.onResize),this.onResizeTimeout()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize)}},{key:"render",value:function(){var n=this,r=this.props,o=r.activeItem,i=r.items,a=r.categories,c=r.onMarkComplete,l=this.state,s=l.openedTab,u=l.isMobile,f=l.isSidebarExpanded,d=this.getActiveTab(o)||{},p=i.find((function(e){return e.id===o}));return t().createElement(xm,null,t().createElement(No,{nowrap:!0},u&&t().createElement(Tm,{isActive:f,onClick:this.toggleSidebar},t().createElement("span",null),t().createElement("span",null),t().createElement("span",null)),t().createElement(Am,{part:6,isExpanded:f},t().createElement(X,{autoHeight:!0,autoHeightMin:"100vh",autoHeightMax:"100vh"},t().createElement(Sm,null,t().createElement(Pm,null,"INVESTING 101"),t().createElement(Cm,null,"LEARN MORE ABOUT INVESTING"),t().createElement(jt,{to:"/"},"Back to previous page")),t().createElement(Ip,{activeTab:o},a.map((function(r){return t().createElement(e.Fragment,{key:r.id},t().createElement(Im,{borderTop:!0,tabId:r.id,isActive:r.subcategories.some((function(e){return e.id===o})),complete:r.complete,onClick:function(){return n.toggleTab(r.id)}},t().createElement(Em,{isActive:s===r.id}),r.title,t().createElement(Jp,{disabled:!r.tooltip,position:"right center",content:r.tooltip,trigger:t().createElement(Kp,{inProgress:r.inProgress,complete:r.complete},t().createElement(Qp,null))})),t().createElement(Rn.Collapse,{isOpened:s===r.id},r.subcategories.map((function(e){return t().createElement(Om,{key:e.id,tabId:e.id,isActive:o===e.id,onClick:function(){return n.navigateToSubcategory(e.id)}},e.title,t().createElement(Jp,{disabled:!e.tooltip,position:"right center",content:e.tooltip,trigger:t().createElement(Kp,{inProgress:e.inProgress,complete:e.complete},t().createElement(Qp,null))}))}))))}))))),t().createElement(km,{part:16},p&&t().createElement(vm,{postItem:p,activeTabObject:d,onMarkComplete:c}))))}}])&&Rm(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),l}(e.PureComponent),Fm={title:i().string.isRequired,inProgress:i().bool,complete:i().bool,tooltip:i().node},Um={id:i().string.isRequired,title:i().string.isRequired,excerpt:i().string.isRequired,content:i().string.isRequired,postType:i().oneOf(["video","text"]),cover:i().string,videoSrc:i().string};qm.propTypes={items:i().arrayOf(i().shape(Um)).isRequired,categories:i().arrayOf(i().shape(_m(_m({},Fm),{},{subcategories:i().arrayOf(i().shape(Fm))}))).isRequired,onMarkComplete:i().func,activeCategory:i().string.isRequired,activeItem:i().string.isRequired},qm.defaultProps={onMarkComplete:function(){}};var Wm=n(475),Hm=n.n(Wm),Vm={categories:[{id:"category1",title:"Category 1",inProgress:!1,complete:!1,tooltip:"Example tooltip",subcategories:[{id:"category11",title:"Category 1.1",inProgress:!1,complete:!1,tooltip:"Reading time: 2min"}]},{id:"category2",title:"Category 2",inProgress:!0,complete:!1,subcategories:[{id:"category21",title:"Category 2.1",inProgress:!0,complete:!1,tooltip:"Reading time: 2min"},{id:"category22",title:"Category 2.2",inProgress:!1,complete:!0}]},{id:"category3",title:"Category 3",inProgress:!1,complete:!1,subcategories:[{id:"category31",title:"Category 3.1",inProgress:!1,complete:!1,tooltip:"Reading time: 2min"}]}],items:[{id:"category11",title:"Making invisible people visible again!",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>",postType:"video",videoSrc:"",cover:Hm()},{id:"category21",title:"Get a 21 tast of token investing",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><h4>Lorem ipsum dolor</h4><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>",postType:"video",videoSrc:"",cover:Hm()},{id:"category22",title:"Get a 22 tast of token investing",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:'\n <h5>Our vision</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <h5>Our vision list</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <ul>\n <li>List item 1</li>\n <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et</li>\n </ul>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <img src="'.concat(Hm(),'" alt="" />\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n '),postType:"text",cover:Hm()},{id:"category31",title:"Get a 3 tast of token investing",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:'\n <h5>Our vision</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <h5>Our vision list</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <ul>\n <li>List item 1</li>\n <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et</li>\n </ul>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <img src="'.concat(Hm(),'" alt="" />\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n '),postType:"text",cover:Hm()}]},Ym=l().div.withConfig({displayName:"Tabsstyles__StyledTabs",componentId:"sc-gc1wc-0"})(["position:relative;width:100%;"]),Qm=l().div.withConfig({displayName:"Tabsstyles__Tab",componentId:"sc-gc1wc-1"})(["position:relative;top:0;left:0;width:100%;"]);function Km(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Km(Object(n),!0).forEach((function(t){Zm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Km(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xm=300,$m={entering:{position:"absolute",opacity:0},entered:{transition:"opacity ".concat(Xm,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(Xm,"ms ease-in-out"),opacity:0}},eh=function(e){var n=e.children,r=e.activeTab;return t().createElement(ai.TransitionGroup,{component:Ym},t().Children.map(n,(function(e){return e.props.tabId===r&&t().isValidElement(e)?t().createElement(ai.Transition,{key:e.props.tabId,timeout:{enter:Xm,exit:Xm}},(function(n){return t().createElement("div",{style:Jm({height:"100%"},$m[n])},e)})):null})))};eh.propTypes={children:i().node.isRequired,activeTab:i().oneOfType([i().number,i().string])},eh.defaultProps={activeTab:0};var th,nh=eh,rh=l().div.withConfig({displayName:"LearnMorestyles__Container",componentId:"sc-aj1pda-0"})(["width:100%;overflow:hidden;","{padding:0 !important;}","{border-bottom:none;}"],hp,pp),oh=l()(gt).withConfig({displayName:"LearnMorestyles__TabNav",componentId:"sc-aj1pda-1"})(["font-size:11px;font-weight:700;text-transform:uppercase;cursor:pointer;height:104px;letter-spacing:0.6px;line-height:1.5;padding:44px 64px !important;",""],(function(e){return e.isActive&&(0,c.css)(th||(th=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n border-right: none !important;\n \n &::before {\n content: '';\n width: 8px;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: ",";\n }\n "])),e.theme.cWarning)})),ih=l().i.attrs({className:"ion ion-ios-arrow-forward"}).withConfig({displayName:"LearnMorestyles__TabArrow",componentId:"sc-aj1pda-2"})(["color:",";margin-right:15px;"],(function(e){return e.theme.cWarning})),ah=(l().div.withConfig({displayName:"LearnMorestyles__SliderWrapper",componentId:"sc-aj1pda-3"})(["width:100%;.slick-arrow{width:64px;height:48px;background:",";z-index:10;transition:0.3s ease background;&:hover,&:focus{background:",";&::before{color:"," !important;}}}.slick-arrow.slick-prev{top:auto;left:auto;bottom:0;right:64px;transform:translate(0);}.slick-arrow.slick-next{top:auto;left:auto;bottom:0;right:0;transform:translate(0);border-left:1px solid ",";}.slick-dots{width:auto;right:164px;height:36px;bottom:0;}"],(function(e){return e.theme.cWarning}),(function(e){return e.theme.cWarningDark}),(function(e){return e.theme.cWhite}),(function(e){return e.theme.cWarningDark})),l()(gt).withConfig({displayName:"LearnMorestyles__TitleContainer",componentId:"sc-aj1pda-4"})(["height:100%;display:flex;align-items:center;flex-grow:1;"])),ch=l().div.withConfig({displayName:"LearnMorestyles__TabTitle",componentId:"sc-aj1pda-5"})(["padding:42px 36px;display:flex;justify-content:space-between;font-weight:700;text-transform:uppercase;position:relative;font-size:11px;line-height:20px;letter-spacing:0.6px;"]),lh=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"LearnMorestyles__Arrow",componentId:"sc-aj1pda-6"})(["&&&{position:absolute;top:50%;right:32px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;margin-top:-8px;","}"],(function(e){return e.isOpened&&"\n transform: rotate(180deg);\n "})),sh=l().div.withConfig({displayName:"LearnMorestyles__SidebarSubHeading",componentId:"sc-aj1pda-7"})(["font-size:11px;line-height:24px;letter-spacing:2.1px;text-transform:uppercase;margin-bottom:20px;"]),uh=l().div.withConfig({displayName:"LearnMoreItemstyles__Container",componentId:"sc-mqjc7z-0"})(["height:100%;"]),fh=l().div.withConfig({displayName:"LearnMoreItemstyles__Cover",componentId:"sc-mqjc7z-1"})(["width:100%;","{width:100%;padding-top:56.25%;}","{position:absolute;top:50%;left:50%;width:auto;transform:translateY(-50%) translateX(-50%);}"],Mt,Rt),dh=(l()(xt.Link).withConfig({displayName:"LearnMoreItemstyles__Play",componentId:"sc-mqjc7z-2"})(["width:48px;height:48px;color:",";background:",";border-radius:50%;display:flex;align-items:center;justify-content:center;transition:0.3s background;&:hover{color:",";background:",";}"],(function(e){return e.theme.cWhite}),(function(e){return e.theme.cWarning}),(function(e){return e.theme.cWhite}),(function(e){return e.theme.cWarningDark})),l().i.attrs({className:"ion ion-md-play"}).withConfig({displayName:"LearnMoreItemstyles__PlayIcon",componentId:"sc-mqjc7z-3"})(["font-size:16px;"]),l().div.withConfig({displayName:"LearnMoreItemstyles__Title",componentId:"sc-mqjc7z-4"})(["font-size:16px;font-weight:600;"])),ph=l().div.withConfig({displayName:"LearnMoreItemstyles__Content",componentId:"sc-mqjc7z-5"})(["font-size:16px;font-weight:300;line-height:1.5;letter-spacing:0.6px;min-height:100px;"]),mh=function(e){var n=e.title,r=e.content,o=e.link,i=e.coverSrc,a=(e.postType,e.videoSrc,e.category);return t().createElement(uh,null,t().createElement(fh,null,t().createElement(zt,{src:i,investmentOpportunities:!0})),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(sh,null,a),t().createElement(dh,null,n)),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(ph,null,r)),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(sn,{onClick:function(){return(0,xt.navigate)(o)}},"ARTID"===n||"INFINITE-FLEET"===n||"BLOCKSTREAM MINING"===n||"MAZZANTI AUTOMOBILI"===n?"FULL DETAILS":"I'M INTERESTED")))};mh.propTypes={title:i().string.isRequired,content:i().string.isRequired,link:i().string.isRequired,coverSrc:i().string.isRequired,postType:i().string.isRequired};var hh=mh;function gh(e){return gh="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},gh(e)}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bh(Object(n),!0).forEach((function(t){Ih(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wh(e,t){for(var n=0;n<t.length;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)}}function xh(e,t){return xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xh(e,t)}function Eh(e,t){if(t&&("object"===gh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sh(e)}function Sh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oh(e){return Oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Oh(e)}function Ih(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ah=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xh(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Oh(o);if(i){var n=Oh(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Eh(this,e)});function c(){var e;vh(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ih(Sh(e=a.call.apply(a,[this].concat(n))),"state",{activeTab:0,isMobile:!1}),Ih(Sh(e),"onTabChange",(function(t){e.setState({activeTab:t})})),Ih(Sh(e),"onResize",(function(){clearTimeout(e.timeout),e.timeout=setTimeout(e.onResizeTimeout,200)})),Ih(Sh(e),"onResizeTimeout",(function(){e.setState({isMobile:e.checkIsMobile()})})),Ih(Sh(e),"checkIsMobile",(function(){return!window.matchMedia(D("Medium")).matches})),Ih(Sh(e),"getItemsForSubcategories",(function(t){var n=e.props.items;return t.map((function(e){return n.find((function(t){return t.id===e.id}))}))})),e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=this.props.categories;e[0]&&this.onTabChange(e[0].id),window.addEventListener("resize",this.onResize),this.onResizeTimeout()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize)}},{key:"render",value:function(){var e=this,n=this.props.categories,r=this.state,o=r.activeTab;return r.isMobile?t().createElement(rh,null,t().createElement(No,null,t().createElement(Ro,null,t().createElement(ah,null,t().createElement(Te,null,t().createElement(sh,null,"INVESTMENT OPPORTUNITIES"),t().createElement("h3",null,"DISCOVER INVESTMENTS"))),n.map((function(n){var r=e.getItemsForSubcategories(n.subcategories);return t().createElement(gt,{noPadding:!0,borderTop:!0,key:n.id},t().createElement(ch,{onClick:function(){return e.onTabChange(n.id)}},n.title,t().createElement(lh,{isOpened:o===n.id})),t().createElement(Rn.Collapse,{isOpened:o===n.id},t().createElement(fp,{dots:!0,isMobile:!0},r.map((function(e){return t().createElement(ap,{key:e.id},t().createElement(hh,{key:e.id,title:e.title,content:e.excerpt,coverSrc:e.cover,postType:e.postType,link:e.url,videoSrc:e.videoSrc,category:e.category}))})))))}))))):t().createElement(rh,null,t().createElement(No,null,t().createElement(Ro,{part:5,style:{height:"auto"}},t().createElement(ah,{borderRight:!0,borderBottom:!0},t().createElement(Te,{responsiveFont:!0},t().createElement(sh,null,"INVESTMENT OPPORTUNITIES"),t().createElement("h3",null,"DISCOVER INVESTMENTS"))),t().createElement(Ip,{activeTab:o},n.map((function(n){return t().createElement(oh,{key:n.id,borderBottom:!0,borderRight:!0,tabId:n.id,isActive:o===n.id,onClick:function(){return e.onTabChange(n.id)}},t().createElement(ih,null),n.title)}))),t().createElement(ah,{borderRight:!0},t().createElement(Te,null))),t().createElement(Ro,{part:11},t().createElement(nh,{activeTab:o},n.map((function(n){var r=e.getItemsForSubcategories(n.subcategories);return t().createElement(Qm,{tabId:n.id,key:n.id},t().createElement(fp,{arrows:!0,dots:!0},r.map((function(e){return t().createElement(ap,{key:e.id},t().createElement(hh,{key:e.id,title:e.title,content:e.excerpt,coverSrc:e.cover,postType:e.postType,link:e.url,videoSrc:e.videoSrc,category:e.category}))})),t().createElement(ap,null)))}))))))}}])&&wh(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function kh(e){return kh="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},kh(e)}function Ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ph(e,t){for(var n=0;n<t.length;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)}}function Th(e,t){return Th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Th(e,t)}function jh(e,t){if(t&&("object"===kh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Mh(e)}function Mh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _h(e){return _h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_h(e)}function Nh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ah.propTypes={items:i().arrayOf(i().shape(Um)).isRequired,categories:i().arrayOf(i().shape(yh(yh({},Fm),{},{subcategories:i().arrayOf(i().shape(Fm))}))).isRequired};var Rh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Th(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_h(o);if(i){var n=_h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return jh(this,e)});function c(){var e;Ch(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Nh(Mh(e=a.call.apply(a,[this].concat(n))),"initialValues",{email:"",password:""}),Nh(Mh(e),"validationSchema",ii.object().shape({email:ii.string().email("Email is not valid").required("Email is required"),password:ii.string().required("Password is required")})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend,i=e.onModalSwitch,a=e.onForgotPassword;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Log in"),t().createElement("p",null,"Please log in to engage in our community & invest in exciting opportunities."))),t().createElement(hi,{modalBot:!0},t().createElement(yi,null,"Don't have an account yet? ",t().createElement(vi,{as:"button",onClick:i},"Sign up")))),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleChange,c=e.handleBlur,l=e.setFieldValue,s=e.setFieldTouched,u=!(o.email&&o.password&&!r.email&&!r.password);return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"sign-up-email",name:"email",type:"email",label:"Your email",value:n.email,onChange:i,onBlur:c,error:!!r.email,touched:!!o.email}),t().createElement(ki,{show:r.email&&o.email},r.email))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ii,null,t().createElement(Xl,{id:"sign-up-password",name:"password",type:"password",label:"Password",value:n.password,onChange:function(e){var t=e.target;l(t.name,t.value,!1),s(t.name)},onBlur:c,error:!!r.password,touched:!!o.password}),t().createElement(ki,{show:r.password&&o.password},r.password))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:u},"Login")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Td,{as:"button",onClick:a},"Forgot password?")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,{center:!0},"By signing up for STOKR, you agree to our ",t().createElement(xt.Link,{to:"#"},"Terms of Service."))))}))))))}}])&&Ph(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Rh.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired,onModalSwitch:i().func.isRequired,onForgotPassword:i().func.isRequired};var Lh=l().nav.withConfig({displayName:"MenuNavstyles__MenuNav",componentId:"sc-1v9gc1o-0"})(["display:inline-block;vertical-align:middle;ul{display:block;list-style:none;font-size:0;padding:0;margin:0;margin:0 -18px;}li{display:inline-block;padding:0;margin:0 18px;}button,a{position:relative;display:block;font-size:11px;line-height:16px;letter-spacing:2px;text-transform:uppercase;padding:2px 0;border:0;margin:0;cursor:pointer;&:hover{opacity:0.68;}}",""],(function(e){return e.mobile&&"\n display: block;\n\n ul {\n margin: 0;\n padding: 0;\n }\n\n li {\n display: block;\n text-align: center;\n margin: 0;\n padding: 18px 16px;\n }\n\n a {\n display: inline-block;\n }\n "})),Bh=l().span.withConfig({displayName:"NotificationCounterstyles__NotificationCounter",componentId:"sc-1pf66l9-0"})(["display:inline-block;vertical-align:middle;color:",";background-color:",";border-radius:8px;min-width:16px;height:16px;font-size:9px;line-height:11px;padding:2px;text-align:center;",""],(function(e){return p.cWhite}),(function(e){return p.cWarning}),(function(e){return e.avatar&&"\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n "})),zh=l().div.withConfig({displayName:"Numberstyles__Container",componentId:"sc-1g8h8k-0"})(["display:inline-block;vertical-align:top;width:24px;height:24px;padding:4px;background-color:",";font-size:0;text-align:center;margin-right:12px;& > svg{display:inline-block;height:16px;width:auto;fill:",";}"],(function(e){return p.cWarning}),(function(e){return p.cWhite})),Dh=function(e){var n=e.number;return t().createElement(zh,null,function(e){switch(e){case 1:return t().createElement(oa,null);case 2:return t().createElement(ia,null);case 3:return t().createElement(aa,null);case 4:return t().createElement(ca,null);default:return null}}(n))};Dh.propTypes={number:i().number.isRequired};var Gh=Dh;function qh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qh(Object(n),!0).forEach((function(t){Uh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wh=300,Hh={entering:{position:"absolute",opacity:0},entered:{transition:"opacity ".concat(Wh,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(Wh,"ms ease-in-out"),opacity:0}},Vh=function(n){var r=n.children,o=n.location;return t().createElement(e.Fragment,null,t().createElement(ai.TransitionGroup,null,t().createElement(ai.Transition,{key:o.pathname,timeout:{enter:Wh,exit:Wh}},(function(e){return t().createElement("div",{style:Fh({},Hh[e])},r)}))),t().createElement("div",{id:"modalPortal"}))};Vh.propTypes={children:i().node.isRequired,location:i().instanceOf(Object).isRequired};var Yh,Qh,Kh=n(548),Jh=n.n(Kh);function Zh(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Xh,$h=l().div.withConfig({displayName:"Processstyles__Process",componentId:"sc-dvfica-0"})(["display:block;position:relative;font-size:11px;line-height:16px;text-transform:uppercase;padding-right:26px;color:",";opacity:0.3;"," &:before{content:'';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:19px;line-height:16px;display:block;width:16px;height:16px;position:absolute;top:50%;right:0;margin-top:-8px;","}"," "," ",""],(function(e){return p.cPrimary}),G.Medium(Yh||(Yh=Zh(["\n font-size: 14px;\n line-height: 20px;\n "]))),G.Medium(Qh||(Qh=Zh(["\n font-size: 24px;\n line-height: 20px;\n width: 20px;\n height: 20px;\n margin-top: -10px;\n "]))),(function(e){return e.waiting&&"\n opacity: 1;\n\n &:before {\n content: '';\n background-repeat: no-repeat;\n background-position: 50% 50%;\n background-size: cover;\n background-image: url(".concat(Jh(),");\n }\n ")}),(function(e){return e.success&&"\n opacity: 1;\n\n &:before {\n content: '\\f14a';\n color: ".concat(p.cProgressDone,";\n }\n ")}),(function(e){return e.failed&&"\n opacity: 1;\n color: ".concat(p.cWarning,";\n\n &:before {\n content: '\\f14e';\n }\n ")})),eg=$h;function tg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ng(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rg,og,ig=l().div.withConfig({displayName:"ProofOfAddressstyles__CTABox",componentId:"sc-1a4m108-0"})(["display:flex;flex-direction:column;","{width:240px;}span{font-size:11px;position:relative;top:-2px;}"],sn),ag=l().input.attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tg(Object(n),!0).forEach((function(t){ng(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:"file"},e)})).withConfig({displayName:"ProofOfAddressstyles__FileInput",componentId:"sc-1a4m108-1"})(["visibility:hidden;position:absolute;width:0.1px;height:0.1px;z-index:-1;"]),cg=l()(sn).attrs({as:"label",type:void 0}).withConfig({displayName:"ProofOfAddressstyles__FileInputWrapper",componentId:"sc-1a4m108-2"})(["position:relative;word-break:break-all;margin:0;"]),lg=l()(tr).attrs({icon:Xn.trash}).withConfig({displayName:"ProofOfAddressstyles__FileInputRemove",componentId:"sc-1a4m108-3"})(["margin-right:10px;right:0px;font-size:16px;cursor:pointer;transition:0.3s color;color:",";border-radius:50%;border:1px solid ",";padding:10px;&:hover{color:",";}",""],(function(e){return p.cWarning}),(function(e){return p.cLightGrey}),(function(e){return p.cPrimary}),(function(e){return e.disabled&&(0,c.css)(Xh||(Xh=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n pointer-events: none !important;\n opacity: 0.2;\n cursor: default;\n "])))})),sg=l().ul.withConfig({displayName:"ProofOfAddressstyles__FileInputList",componentId:"sc-1a4m108-4"})(["list-style-type:none;padding:0;font-size:12px;width:100%;"]),ug=l().li.withConfig({displayName:"ProofOfAddressstyles__FileInputItem",componentId:"sc-1a4m108-5"})(["padding:0 46px 0 8px;margin-right:8px;position:relative;word-break:break-all;"]),fg=n(216),dg=n.n(fg),pg=n(586),mg=n.n(pg);function hg(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var gg=l().div.withConfig({displayName:"ProfileBadgestyles__Wrapper",componentId:"sc-191tkgo-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;flex-grow:1;padding:32px;"," "," ",""],G.Medium(rg||(rg=hg(["\n padding: 12px;\n "]))),(function(e){return"white"===e.color&&"\n color: ".concat(p.cBlack,";\n background-color: ").concat(p.cWhite,";\n\n svg {\n stroke: ").concat(p.cBlack,";\n }\n ")}),(function(e){return"red"===e.color&&"\n color: ".concat(p.cWhite,";\n background-color: ").concat(p.cWarning,";\n\n svg {\n stroke: ").concat(p.cWhite,";\n }\n ")})),bg=l().div.withConfig({displayName:"ProfileBadgestyles__Title",componentId:"sc-191tkgo-1"})(["font-size:11px;line-height:24px;letter-spacing:2.06px;text-transform:uppercase;margin-bottom:20px;",""],(function(e){return e.centerVertically&&(0,c.css)(og||(og=hg(["\n margin-bottom: 0;\n "])))})),yg=l().img.withConfig({displayName:"ProfileBadge__Badge",componentId:"sc-3y9ipg-0"})(["height:100px;@media screen and (max-width:1023px){height:80px;}"]),vg=function(e){var n,r=e.title,o=e.icon,i=e.withIcon,a=e.color,c=e.centerVertically;return t().createElement(gg,{color:a},t().createElement(bg,{centerVertically:c},r),o,i&&t().createElement(yg,{src:(n=r,"Graduation"===n?mg():dg()),alt:r+" badge"}))};vg.propTypes={title:i().string.isRequired,icon:i().node,withIcon:i().bool,color:i().string},vg.defaultProps={icon:void 0,withIcon:void 0,color:"white"};var wg,xg,Eg,Sg,Og=l().div.withConfig({displayName:"ProfileBoxstyles__Container",componentId:"sc-1qi9mhg-0"})(["width:100%;height:100%;display:flex;flex-direction:column;"]),Ig=l().div.withConfig({displayName:"ProfileBoxstyles__ImageWrapper",componentId:"sc-1qi9mhg-1"})(["flex-grow:1;min-height:300px;","{width:100%;padding-top:100%;}"],Mt),Ag=l().button.withConfig({displayName:"ProfileBoxstyles__EditButton",componentId:"sc-1qi9mhg-2"})(["display:block;width:100%;color:",";border-bottom:1px solid ",";transition:color 0.2s;&:focus,&:hover{color:",";}&:focus{outline:none;}& > div{width:100%;}"],(function(e){return e.theme.cBlack}),(function(e){return e.theme.cLightGrey}),(function(e){return e.theme.cPrimary})),kg=l().div.withConfig({displayName:"ProfileBoxstyles__Name",componentId:"sc-1qi9mhg-3"})(["position:relative;font-size:16px;line-height:20px;font-weight:600;letter-spacing:0.6px;text-align:center;"]),Cg=l().i.attrs({className:"ion-md-create"}).withConfig({displayName:"ProfileBoxstyles__EditIcon",componentId:"sc-1qi9mhg-4"})(["margin-left:12px;&:before{transform:rotate(-15deg);}"]),Pg=(l().i.attrs({className:"ion-ios-add-circle-outline"}).withConfig({displayName:"ProfileBoxstyles__AddmoreIcon",componentId:"sc-1qi9mhg-5"})(["margin-left:12px;font-size:30px;"]),{wordBreak:"break-all"}),Tg=function(e){var n=e.pictureSrc,r=e.name,o=e.handleEdit;return t().createElement(Og,null,t().createElement(Ig,null,t().createElement(zt,{src:n})),t().createElement(Ag,{onClick:o},t().createElement(gt,null,t().createElement(kg,{style:Pg},r,t().createElement(Cg,null)))))};function jg(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Tg.propTypes={pictureSrc:i().string.isRequired,name:i().string,handleEdit:i().func},Tg.defaultProps={handleEdit:function(){},name:""};var Mg=l().div.withConfig({displayName:"ProfileStatstyles__Wrapper",componentId:"sc-su73pz-0"})(["display:flex;flex-direction:column;justify-content:center;text-align:center;flex-grow:1;background-color:",";color:",";padding:32px;"," "," "," @media screen and (max-width:768px){max-width:100vw;}"],(function(e){return p.cPrimary}),(function(e){return p.cWhite}),(function(e){return e.withBorder&&"\n box-shadow: inset 0 0.4px 0 0 #313131;\n "}),G.Medium(wg||(wg=jg(["\n padding: 12px 32px;\n text-align: left;\n "]))),G.Large(xg||(xg=jg(["\n padding: 12px 64px;\n text-align: left;\n "])))),_g=l().div.withConfig({displayName:"ProfileStatstyles__Label",componentId:"sc-su73pz-1"})(["font-size:11px;line-height:2.18;letter-spacing:2.1px;text-transform:uppercase;margin-bottom:10px;",""],(function(e){return e.withBorder&&"\n color: #88fa51;\n "})),Ng=l().div.withConfig({displayName:"ProfileStatstyles__Value",componentId:"sc-su73pz-2"})(["font-weight:300;font-size:32px;line-height:36px;letter-spacing:2.43px;text-transform:uppercase;& > span{&:after{content:' ';}}"," ",""],G.Medium(Eg||(Eg=jg(["\n font-size: 44px;\n line-height: 48px;\n "]))),G.Large(Sg||(Sg=jg(["\n font-size: 55px;\n line-height: 58px;\n "])))),Rg=l().div.withConfig({displayName:"ProfileStatstyles__Equal",componentId:"sc-su73pz-3"})(["font-size:11px;line-height:2.18;letter-spacing:2.1px;text-transform:uppercase;margin-top:10px;color:",";overflow-wrap:break-word;& > span{&:after{content:' ';}}"],(function(e){return p.cLighterGreen})),Lg={wordBreak:"break-all"},Bg=function(e){var n=e.label,r=e.unit,o=e.value,i=e.eqUnit,a=e.eqValue,c=e.withBorder;return t().createElement(Mg,{withBorder:c},t().createElement(_g,{withBorder:c},n),t().createElement(Ng,{style:Lg},r&&t().createElement("span",null,r),o),a&&i?t().createElement(Rg,null,"= ",i&&t().createElement("span",null,i),a):"")};Bg.propTypes={label:i().string.isRequired,unit:i().string,value:i().string.isRequired,eqUnit:i().string,eqValue:i().string.isRequired},Bg.defaultProps={unit:"",eqUnit:""};var zg=l().div.withConfig({displayName:"Radiostyles__Wrapper",componentId:"sc-bz07fp-0"})(["position:relative;display:block;"]),Dg=l()(_e).withConfig({displayName:"Radiostyles__Label",componentId:"sc-bz07fp-1"})(["position:relative;top:0;transform:none;font-size:10px;margin-bottom:5px;"]),Gg=l().div.withConfig({displayName:"Radiostyles__Input",componentId:"sc-bz07fp-2"})(["position:relative;& > input{z-index:-1;position:absolute;top:4px;left:4px;display:block;width:1px;height:0;opacity:0;border:0;& + label{position:relative;display:inline-block;max-width:100%;padding-left:28px;font-family:'Open Sans';font-size:13px;line-height:16px;letter-spacing:0.4px;cursor:pointer;&:before,&:after{content:'';display:block;position:absolute;}&:before{top:0;left:0;width:16px;height:16px;border-radius:8px;border:1px solid #9b9b9b;box-shadow:none;transition:border-color 0.2s;}&:after{top:5px;left:5px;width:6px;height:6px;border-radius:3px;background-color:transparent;}}&:focus + label,&:hover + label{&:before{border-color:",";}}&:checked + label{&:after{background-color:",";}}}",""],(function(e){return p.cPrimary}),(function(e){return p.cPrimary}),(function(e){return e.error&&"\n & > input {\n\n & + label {\n\n &:before {\n border-color: ".concat(p.cWarning,";\n }\n }\n }\n ")})),qg=function(e){var n=e.id,r=e.name,o=e.text,i=e.label,a=e.value,c=e.checked,l=e.error,s=e.touched,u=e.onChange,f=e.onBlur,d=e.onFocus;return t().createElement(zg,null,i&&t().createElement(Dg,{error:l&&s,htmlFor:n},i),t().createElement(Gg,{error:l&&s},t().createElement("input",{type:"radio",id:n,name:r||n,value:a,checked:c,onChange:u,onBlur:f,onFocus:d}),t().createElement("label",{htmlFor:n},o)))};qg.propTypes={id:i().string.isRequired,name:i().string,text:i().oneOfType([i().string,i().node]),label:i().string,value:i().string,checked:i().bool,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func},qg.defaultProps={name:"",text:"",label:"",value:"",checked:!1,error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){}};var Fg=l().div.withConfig({displayName:"RefreshButtonstyles__IconWrap",componentId:"sc-6xdnj8-0"})(["display:block;width:24px;height:24px;position:absolute;top:50%;margin-top:-12px;left:0;border-radius:12px;& > svg{fill:",";stroke:",";display:block;width:16px;height:16px;position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px;transition:color 0.2s;}"],(function(e){return p.cPrimary}),(function(e){return p.cPrimary})),Ug=l()(sn).attrs((function(e){return{type:e.type||"button"}})).withConfig({displayName:"RefreshButtonstyles__StyledButton",componentId:"sc-6xdnj8-1"})(["position:relative;color:",";border:1px solid transparent;background-color:transparent;text-align:left;padding:11px 0;padding-left:34px;&:hover,&:focus,&:active{color:",";border-color:transparent;background-color:transparent;","{& > svg{fill:",";transform:rotate(360deg);transition:color 0.2s,transform 0.3s ease-out;}}}"],(function(e){return p.cBlack}),(function(e){return p.cBlack}),Fg,(function(e){return p.cPrimaryDark})),Wg=l().div.withConfig({displayName:"RefreshButtonstyles__Content",componentId:"sc-6xdnj8-2"})(["display:inline-block;"]),Hg=function(e){var n=e.children;return t().createElement(Ug,e,t().createElement(Fg,null,t().createElement(na,null)),t().createElement(Wg,null,n))};Hg.propTypes={children:i().node.isRequired};var Vg=Hg,Yg=l()(Te).withConfig({displayName:"RegisterConfirmModalstyles__ContainerWithLine",componentId:"sc-1nohxj5-0"})(["position:relative;padding-left:48px;&::before{content:'';width:6px;height:72px;background:",";position:absolute;left:0;top:6px;}"],s.blue),Qg=function(e){var n=e.isModalOpen,r=e.onModalClose;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0}," "),t().createElement(hi,{modalBot:!0}," ")),t().createElement(Ro,{part:8,relative:!0},t().createElement(hi,null,t().createElement(Yg,null,t().createElement(Te,null,t().createElement("h3",null,"Please confirm your email"),t().createElement("p",null,"We've sent you an email, please click the link in that email to verify your email address within period.")),t().createElement(Te.Caption,null,"Email didn't arrive?",t().createElement("br",null)),t().createElement(Td,{to:"#"},"Resend email"))))))};Qg.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired};var Kg=require("react-device-detect"),Jg=require("mobile-detect"),Zg=n.n(Jg),Xg=require("algosdk"),$g=n.n(Xg),eb=require("@randlabs/myalgo-connect"),tb=n.n(eb);function nb(e){return nb="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},nb(e)}function rb(){rb=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==nb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function ob(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ib(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ob(i,r,o,a,c,"next",e)}function c(e){ob(i,r,o,a,c,"throw",e)}a(void 0)}))}}var ab=function(){var e=ib(rb().mark((function e(t,n){return rb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=ib(rb().mark((function e(r,o){var i,a,c;return rb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ic().getJSON("STOKR_ACCESS_TOKEN");case 2:return i=e.sent,a=JSON.stringify(n),i||console.log("no access token"),e.prev=5,e.next=8,rc({method:"POST",url:t,data:a,headers:{Authorization:"Bearer ".concat(i)}});case 8:c=e.sent,r(c.data),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(5),console.log("Error: ".concat(e.t0)),o(e.t0);case 16:case"end":return e.stop()}}),e,null,[[5,12]])})));return function(t,n){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),cb=ab;function lb(e){return lb="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},lb(e)}function sb(){sb=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==lb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function ub(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function fb(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ub(i,r,o,a,c,"next",e)}function c(e){ub(i,r,o,a,c,"throw",e)}a(void 0)}))}}var db="MAINNET"===process.env.REACT_APP_ALGORAND_NETWORK?"https://mainnet-algorand.api.purestake.io/ps2":"https://testnet-algorand.api.purestake.io/ps2",pb=new($g().Algodv2)({"X-API-Key":"SrQSzKKohyprkKfnZPc19z0qOhhLndB4JFTc7Nh8"},db,"443"),mb=new(tb()),hb=function(){return new(Zg())(window.navigator.userAgent),Kg.isChrome},gb=function(){return void 0!==window.AlgoSigner},bb=function(){var e=fb(sb().mark((function e(t){var n,r;return sb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.AlgoSigner.connect({ledger:t});case 3:return e.next=5,window.AlgoSigner.accounts({ledger:t});case 5:return n=e.sent,r=n,e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(0),e.abrupt("return",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}(),yb=function(){var e=fb(sb().mark((function e(){var t,n;return sb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,mb.connect();case 3:return t=e.sent,n=t.map((function(e){return e.address})),e.abrupt("return",n);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),vb=function(){var e=fb(sb().mark((function e(t,n,r,o){var i,a,c,l,s,u,f,d,p,m,h;return sb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cb("user/createOptinTx",{account:n,assetId:Number(t)});case 2:if(i=e.sent,a=i.map((function(e){return new Uint8Array(Object.values(e))})),"algosigner"!==r){e.next=20;break}return c=window.AlgoSigner.encoding.msgpackToBase64(a[2]),l=window.AlgoSigner.encoding.msgpackToBase64(a[0]),e.next=9,window.AlgoSigner.signTxn([{txn:l,signers:[]},{txn:c}]);case 9:return s=e.sent,u=a[1],f=new Uint8Array(atob(s[1].blob).split("").map((function(e){return e.charCodeAt(0)}))),(d=new Uint8Array(u.byteLength+f.byteLength)).set(new Uint8Array(u),0),d.set(new Uint8Array(f),u.byteLength),p=btoa(String.fromCharCode.apply(null,d)),e.next=18,window.AlgoSigner.send({ledger:o,tx:p});case 18:e.next=27;break;case 20:return e.next=22,mb.signTransaction(a[2]);case 22:return m=e.sent,(h=[a[1]]).push(m.blob),e.next=27,pb.sendRawTransaction(h).do();case 27:return e.abrupt("return",!0);case 28:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}();function wb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var xb=function(n){var r=n.setWallet,o=n.changeStep,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wb(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),c=i[0],l=i[1];return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Choose your wallet"),t().createElement("p",null,"Please choose the wallet you either already have or would like to signup with."),t().createElement("p",null,"Before chosing your wallet please make sure you are using the right browser and have the right plug-ins installed."))),t().createElement(gt,null,t().createElement(ro,null,t().createElement(sn,{onClick:function(){r("myalgo"),o()},fluid:!0},"My Algo Wallet"),c?t().createElement(sn,{onClick:function(){r("algosigner")},fluid:!0},"Refresh"):hb()?t().createElement(sn,{onClick:function(){gb()?(r("algosigner"),o()):(window.open("https://www.purestake.com/technology/algosigner/","_blank"),l(!0))},disabled:!hb(),fluid:!0},gb()?"AlgoSigner":"Get AlgoSigner"):t().createElement(t().Fragment,null,t().createElement(a.Tooltip,{title:"A chrome-based browser is required to connect with an Algosigner wallet.",position:"top",theme:"light",arrow:!0,duration:200,style:{display:"inline-flex",width:"50%"}},t().createElement(sn,{disabled:!hb()},"AlgoSigner"))))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"What is a crypto wallet?",content:"A crypto wallet is a hardware device or browser interface to manage and protect your private key and as a result the transactions you are making on the blockchain."},{title:"Which Algorand wallet should I use?",content:"Both wallets perform the exact same function and both are quite easy to download and use. The key difference is that MyAlgo is a more popular choice amongst Algorand holders for its range of functionality. Algosigner might be a good choice if you are just looking for something basic and hold your assets obtained from the STOKR platform."}]}))))};xb.propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var Eb=t().memo(xb),Sb=xb,Ob=function(e){var n=e.changeStep,r=e.wallet,o=e.setWallet;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,"algosigner"===r&&t().createElement(t().Fragment,null,t().createElement("h3",null,"CONNECT AN ALGOSIGNER WALLET"),t().createElement("p",null,"Please click on the 'CONNECT' button below. If you don't already have an Algosigner wallet, the link will take you through the registration process. Just follow the prompts when you are taken to the page. Once you finish creating the wallet, you can come back to this page and connect it."),t().createElement("p",null,"If you already have an Algosigner wallet, please make sure the extension is enabled on your browser. There will be a pop-up that is presented asking for STOKR's permission to view your current wallet address.")),"myalgo"===r&&t().createElement(t().Fragment,null,t().createElement("h3",null,"CONNECT A MY ALGO WALLET"),t().createElement("p",null,"Please click on the 'CONNECT' button below. If you don't already have an My Algo wallet, the link will take you to a pop-up to create a wallet. Just follow the prompts. Once you finish creating the wallet, you can come back to this page and connect it."),t().createElement("p",null,"If you already have a My Algo wallet, you may need to log into it. If so, there will be a prompt for this.")))),t().createElement(gt,{center:!0},"algosigner"===r&&t().createElement(sn,{minWidth:"240px",onClick:function(){o("algosigner"),n()},disabled:!gb()},"Connect"),"myalgo"===r&&t().createElement(sn,{minWidth:"240px",onClick:function(){o("myalgo"),n()}},"Connect"))))};Ob.propTypes={changeStep:i().func.isRequired};var Ib=Ob;function Ab(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kb(e){return kb="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},kb(e)}function Cb(){Cb=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==kb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Pb(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Tb(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Pb(i,r,o,a,c,"next",e)}function c(e){Pb(i,r,o,a,c,"throw",e)}a(void 0)}))}}function jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var n=0;n<t.length;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)}}function _b(e,t){return _b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_b(e,t)}function Nb(e,t){if(t&&("object"===kb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Rb(e)}function Rb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lb(e){return Lb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lb(e)}function Bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(function(n){n.data;var r=n.setWallet,o=n.changeStep,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ab(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ab(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),a=i[0],c=i[1];return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Choose your wallet"),t().createElement("p",null,"In the next couple of steps we’ll guide you through registering an Ethereum address from your Ledger or MetaMask wallet."),t().createElement("p",null,"Before chosing your wallet please make sure you are using the right browser and have the right plug-ins installed. Please have a look at the FAQs below for more information."))),t().createElement(gt,null,t().createElement(ro,null,t().createElement(sn,{onClick:function(){r("ledger"),o()}},"Ledger"),a?t().createElement(sn,{onClick:function(){window.location.reload()}},"Refresh"):t().createElement(sn,{onClick:function(){window.open("https://metamask.io","_blank"),c(!0)}},"Get Metamask"))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which wallet should I use?",content:"Metamask is a software wallet in the form of a browser extension that can be installed on a compatible browser on the spot. Hardware wallets like Ledger are considered more secure for being physical devices that store your private key(s) offline."},{title:"I don't have an Ethereum wallet, what now?",content:"You can install the MetaMask wallet and create an Ethereum address in minutes. Just go to metamask.io and download the browser extension to set-up your wallet. (Chrome, Firefox, Opera or Brave browser required). Afterwards, you will need to refresh this page to proceed. "},{title:"What is a wallet?",content:"A wallet is a hardware device or browser interface to manage and protect your private key and as a result the transactions you are making on the blockchain. "}]}))))}).propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var zb="waiting",Db="success",Gb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_b(e,t)}(s,e);var n,r,o,i,a,c,l=(a=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Lb(a);if(c){var n=Lb(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Nb(this,e)});function s(){var e;jb(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Bb(Rb(e=l.call.apply(l,[this].concat(n))),"state",{showRetry:!1,showContinue:!1,firstProcess:zb,secondProcess:""}),Bb(Rb(e),"onRetryClick",(function(){e.setState({showRetry:!1,firstProcess:zb,secondProcess:""}),e.detectLedger()})),Bb(Rb(e),"onContinueClick",(function(){(0,e.props.changeStep)()})),Bb(Rb(e),"setStateDelayed",(function(t,n){e.timeout=setTimeout((function(){e.setState(t)}),n)})),Bb(Rb(e),"getProcessProps",(function(e){return e?Bb({},e,!0):{}})),e}return n=s,r=[{key:"detectLedger",value:(i=Tb(Cb().mark((function e(){return Cb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"componentDidMount",value:(o=Tb(Cb().mark((function e(){return Cb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.detectLedger();case 2:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){var t=e.firstProcess,n=e.secondProcess,r=this.state,o=r.firstProcess,i=r.secondProcess;o===t&&i===n||(clearTimeout(this.timeout),o===Db&&i===zb&&this.setStateDelayed({showContinue:!0,secondProcess:Db},2e3))}},{key:"render",value:function(){var e=this.state,n=e.showRetry,r=e.showContinue,o=e.firstProcess;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"PLUG IN YOUR DEVICE"),t().createElement("p",null,"Psst... using a different hardware wallet? No dice. At the moment, we only support Ledger, but we're working on it."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(eg,this.getProcessProps(o),"1. PLUG IN YOUR DEVICE",t().createElement("br",null),t().createElement("p",null,"Grab that USB cable and get your computer and cryptovault connected."),"2. ENTER YOUR PIN",t().createElement("br",null),t().createElement("p",null,"Use the buttons on your device to enter and confirm your pin."),"3. SELECT ETHEREUM APP",t().createElement("br",null),t().createElement("p",null,"Navigate to the Ethereum app on your Ledger and select it by pressing both buttons at once."))),t().createElement(Rn.Collapse,{isOpened:n},t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onRetryClick},"Retry"))),t().createElement(Rn.Collapse,{isOpened:r},t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Next")))))}}],r&&Mb(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(e.PureComponent);Gb.propTypes={changeStep:i().func.isRequired};i().func.isRequired;var qb=JSON.parse('{"m1":{"ho":[0,3],"Nq":[3,5]}}');function Fb(e){return Fb="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},Fb(e)}function Ub(){Ub=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Fb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Wb(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Hb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vb(e,t){for(var n=0;n<t.length;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)}}function Yb(e,t){return Yb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yb(e,t)}function Qb(e,t){if(t&&("object"===Fb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Kb(e)}function Kb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jb(e){return Jb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jb(e)}function Zb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yb(e,t)}(s,e);var n,r,o,i,a,c,l=(a=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Jb(a);if(c){var n=Jb(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Qb(this,e)});function s(){var e;Hb(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zb(Kb(e=l.call.apply(l,[this].concat(n))),"state",{selectedAddress:null,showAll:!1,addressPool:void 0}),Zb(Kb(e),"onAddressChange",(function(t){e.setState({selectedAddress:t.target.value})})),Zb(Kb(e),"onRegisterClick",(function(){var t=e.state,n=t.addressPool,r=t.selectedAddress,o=e.props,i=o.changeStep,a=o.setAddressToRegister;for(var c in n)n[c].radioId===r&&a(n[c].address);r&&i&&i()})),Zb(Kb(e),"toggleShowAll",(function(){var t=e.state.showAll;e.setState({showAll:!t})})),e}return n=s,r=[{key:"componentDidMount",value:(o=Ub().mark((function e(){return Ub().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Wb(i,n,r,a,c,"next",e)}function c(e){Wb(i,n,r,a,c,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"render",value:function(){var e=this,n=this.state,r=n.selectedAddress,o=n.showAll,i=n.addressPool;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Select an ethereum address"),t().createElement("p",null,"On this address you will receive your security tokens. You can also use it to purchase security tokens using Ether, Gemini or Tether. "))),i?t().createElement(t().Fragment,null,t().createElement(gt,{noPadding:!0},i.slice(qb.m1.ho[0],qb.m1.ho[1]).map((function(n,o){return t().createElement(_r,{key:n+o,title:n.title,address:n.address,data:{value:n.ether,unit:"ETH",eqValue:n.euro,eqUnit:"€"},radio:{id:n.id,name:"address",value:n.radioId,checked:r===n.radioId,onChange:e.onAddressChange,onBlur:function(){}},wrapped:!0,borderTop:!0})}))),t().createElement(Rn.Collapse,{isOpened:o},t().createElement(gt,{noPadding:!0},i.slice(qb.m1.Nq[0],qb.m1.Nq[1]).map((function(n,o){return t().createElement(_r,{key:n+o,title:n.title,address:n.address,data:{value:n.ether,unit:"ETH",eqValue:n.euro,eqUnit:"€"},radio:{id:n.id,name:"address",value:n.radioId,checked:r===n.radioId,onChange:e.onAddressChange,onBlur:function(){}},wrapped:!0,borderTop:!0})})))),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0,borderTop:!0},t().createElement(gt,{noPaddingBottom:!0,center:!0},t().createElement(Td,{as:"button",onClick:this.toggleShowAll},o?"view less":"view more")),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onRegisterClick,disabled:null===r},"Register selected address")))):t().createElement(gt,{borderTop:!0,borderBottom:!0,center:!0},t().createElement(to,{refresh:"Please wait while we connect to your Ledger"},t().createElement(_r,{title:"ethereum address",address:"",data:{value:""}}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which address should I choose?",content:"If you're planning to use the address to purchase tokens, choose one with sufficient funds or that you plan to top up. For your security and privacy, it's considered best practice to use more than one address for your crypto investments."}]}))))}}],r&&Vb(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(e.PureComponent);function $b(e){return $b="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},$b(e)}function ey(){ey=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==$b(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function ty(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ny(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ty(i,r,o,a,c,"next",e)}function c(e){ty(i,r,o,a,c,"throw",e)}a(void 0)}))}}function ry(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oy(e,t){for(var n=0;n<t.length;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)}}function iy(e,t){return iy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},iy(e,t)}function ay(e,t){if(t&&("object"===$b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cy(e)}function cy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ly(e)}function sy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Xb.propTypes={changeStep:i().func.isRequired};var uy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iy(e,t)}(u,e);var n,r,o,i,a,c,l,s=(c=u,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ly(c);if(l){var n=ly(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ay(this,e)});function u(){var e;ry(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return sy(cy(e=s.call.apply(s,[this].concat(n))),"state",{correct:!1,refresh:!1,failed:!1,address:"0x0000000000000000000000000000000000000000",data:{value:"0",unit:"ETH",eqValue:"0",eqUnit:"€"}}),sy(cy(e),"setStateDelayed",(function(t,n){e.timeout=setTimeout((function(){e.setState(t)}),n)})),sy(cy(e),"onRefreshClick",ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))),sy(cy(e),"onRegisterClick",(function(){var t=e.state,n=t.correct,r=t.address,o=e.props,i=o.changeStep;(0,o.setAddressToRegister)(r),n&&i()})),e}return n=u,r=[{key:"getBalanceData",value:(a=ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)})},{key:"initMetamask",value:(i=ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"componentDidMount",value:(o=ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var e=this.state,n=e.correct,r=e.refresh,o=e.failed,i=e.address,a=e.data;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Select an ethereum address"),t().createElement("p",null,"On this address you will receive your security tokens. You can also use it to purchase security tokens using Ether, Gemini or Tether."))),t().createElement(gt,null,t().createElement(Zu,null,"YOUR CURRENT ADDRESS")),t().createElement(gt,{borderTop:!0,borderBottom:!0},n?t().createElement(to,{refresh:r?"Refreshing":"",failed:o?"NO DICE. PLEASE CHECK METAMASK IS CONNECTED, THEN HIT REFRESH.":""},t().createElement(_r,{title:"ethereum address",address:i,data:a})):t().createElement(to,{refresh:n||o?"":"We're fetching your registered address from your MetaMask.",failed:o?"Our interface couldn't connect to MetaMask because you need to give permission to do so. Try again?":""},t().createElement(_r,{title:"ethereum address",address:i,data:a}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(ky,{center:!0},"To use a different MetaMask address, select one from the MetaMask extension on your browser and press the refresh button below.")),t().createElement(gt,{center:!0},t().createElement(Vg,{onClick:this.onRefreshClick},"TRY AGAIN")),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{minWidth:"300px",onClick:this.onRegisterClick,disabled:!n},"REGISTER THIS ADDRESS")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which address should I choose?",content:"If you're planning to use the address to purchase tokens, choose one with sufficient funds or that you plan to top up. For your security and privacy, it's considered best practice to use more than one address for your crypto investments."}]}))))}}],r&&oy(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(e.PureComponent);function fy(e){return fy="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},fy(e)}function dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function py(e,t){for(var n=0;n<t.length;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)}}function my(e,t){return my=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},my(e,t)}function hy(e,t){if(t&&("object"===fy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gy(e)}function gy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},by(e)}function yy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}uy.propTypes={changeStep:i().func.isRequired};var vy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&my(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=by(o);if(i){var n=by(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return hy(this,e)});function c(){var e;dy(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yy(gy(e=a.call.apply(a,[this].concat(n))),"initialValues",{name:""}),yy(gy(e),"validationSchema",ii.object().shape({name:ii.string().required("Address name is required")})),yy(gy(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.props,r=n.error,o=n.isUpdatingUser;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Name your ethereum address"),t().createElement("p",null,"Give your address a name that reflects what it will store. Remember Satoshi's recommendation to spread your crypto investments over different addresses. "))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(bo,{items:[{title:"Why should I name my Ethereum address?",content:"If you're following best practice and spreading your crypto investments over different addresses, a name makes it easier to manage your portfolio."}]})),t().createElement(gt,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(n){var i=n.values,a=n.errors,c=n.touched,l=n.handleBlur,s=n.setFieldValue,u=n.setFieldTouched,f=!c.name||!!a.name||o;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"register-eth-name",name:"name",label:"Address name",value:i.name,onChange:function(t){var n=e.props.setNameToRegister,r=t.target;s(r.name,r.value,!1),u(r.name),n(r.value)},onBlur:l,error:!!a.name,touched:!!c.name}),t().createElement(ki,{show:a.name&&c.name},a.name))),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:f},"Use this name"),t().createElement(ki,{withTopSpacing:!0,show:r},r),"`"))}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Why should I name my Ethereum address?",content:"If you're following best practice and spreading your crypto investments over different addresses, a name makes it easier to manage your portfolio."}]}))))}}])&&py(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);vy.propTypes={changeStep:i().func.isRequired};var wy;i().func.isRequired,l().div.withConfig({displayName:"_styles__EthStep",componentId:"sc-138eabt-0"})(["position:relative;height:100%;"]);var xy,Ey,Sy,Oy,Iy,Ay,ky=l().div.withConfig({displayName:"_styles__EthInfo",componentId:"sc-138eabt-1"})(["font-family:'Open Sans';font-weight:300;font-size:9px;line-height:1.78em;letter-spacing:0.4px;color:",";opacity:0.5;"," "," a{text-decoration:underline;transition:color 0.2s;&:hover{color:",";}}"],(function(e){return p.cBlack}),(function(e){return e.center&&"text-align: center;"}),G.Large(wy||(wy=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n font-size: 12px;\n "]))),(function(e){return p.cPrimary})),Cy=l().h1.withConfig({displayName:"Headline",componentId:"sc-ddpbve-0"})(["",";",";",""],(function(e){return e.first&&(0,c.css)(["margin-top:0;"])}),(function(e){var t=e.align,n=void 0===t?"left":t;return(0,c.css)(["text-align:",";"],n)}),(function(e){return e.stoHeading&&(0,c.css)(["font-size:34px;font-weight:800;font-style:normal;font-stretch:normal;line-height:1.18;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:32px;margin-top:28px;@media screen and (max-width:767px){font-size:22px;}"])})),Py=(0,c.keyframes)(["50%{color:transparent;}"]),Ty=l()(Cy).withConfig({displayName:"StyledText",componentId:"sc-b8anzz-0"})(["margin:0;display:inline-block;padding-right:5px;span{animation:"," 1s infinite;}span[data-order='1']{animation-delay:250ms;}span[data-order='2']{animation-delay:500ms;}"],Py);function jy(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var My=l().div.withConfig({displayName:"ToDoListstyles__Container",componentId:"sc-r2zwpf-0"})([""]),_y=l().div.withConfig({displayName:"ToDoListstyles__TitleContainer",componentId:"sc-r2zwpf-1"})(["display:flex;align-items:center;",""],(function(e){var t=e.marginBottom;return t&&(0,c.css)(xy||(xy=jy(["\n margin-bottom: ",";\n "])),t)})),Ny=l().div.withConfig({displayName:"ToDoListstyles__Title",componentId:"sc-r2zwpf-2"})(["font-size:22px;font-weight:800;line-height:28px;letter-spacing:0.8px;text-transform:uppercase;"]),Ry=l().div.withConfig({displayName:"ToDoListstyles__Subtitle",componentId:"sc-r2zwpf-3"})(["font-size:11px;line-height:24px;letter-spacing:2.06px;text-transform:uppercase;margin-bottom:10px;"," ",""],(function(e){return e.centerVertically&&(0,c.css)(Ey||(Ey=jy(["\n margin-bottom: 0;\n "])))}),(function(e){var t=e.marginLeft;return t&&(0,c.css)(Sy||(Sy=jy(["\n margin-left: ",";\n "])),t)})),Ly=l().span.withConfig({displayName:"ToDoListstyles__PendingCounter",componentId:"sc-r2zwpf-4"})(["width:16px;height:16px;margin-left:3px;margin-right:13px;color:",";background:",";border-radius:50%;font-size:9px;font-weight:600;text-align:center;line-height:16px;padding-left:1px;"],s.white,s.orangishRed),By=(l().div.withConfig({displayName:"ToDoListstyles__Section",componentId:"sc-r2zwpf-5"})(["padding:28px 0;"]),l().div.withConfig({displayName:"ToDoListstyles__SectionTitle",componentId:"sc-r2zwpf-6"})(["font-size:11px;font-weight:bold;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;padding-bottom:14px;margin-bottom:16px;text-align:left;border-bottom:1px solid ",";"],s.grey),l().div.withConfig({displayName:"ToDoListstyles__Button",componentId:"sc-r2zwpf-7"})(["",""],G.Medium(Oy||(Oy=jy(["\n margin-top: auto;\n "])))),l().div.withConfig({displayName:"ToDoListstyles__AllDoneContainer",componentId:"sc-r2zwpf-8"})(["display:flex;flex-direction:column;align-items:center;",""],G.Medium(Iy||(Iy=jy(["\n flex-direction: row;\n "])))),l().div.withConfig({displayName:"ToDoListstyles__AllDoneIconContainer",componentId:"sc-r2zwpf-9"})(["width:102px;height:102px;display:flex;border:1px dashed ",";border-radius:50%;flex-shrink:0;margin-bottom:16px;",""],s.blue,G.Medium(Ay||(Ay=jy(["\n margin-right: 26px;\n margin-bottom: 0;\n "])))),l().i.attrs({className:"ion ion-md-checkmark"}).withConfig({displayName:"ToDoListstyles__AllDoneIcon",componentId:"sc-r2zwpf-10"})(["width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:",";color:",";font-size:18px;padding:12px;border-radius:50%;margin:auto;",""],s.blue,s.white,(function(e){return e.green&&"\n background-color: ".concat(s.freshGreen,";")}))),zy=process.env.REACT_APP_BASE_URL_PUBLIC||"https://platform-api-no-auth.stokr.info/api/v1/",Dy=tc().create({headers:{"Content-Type":"application/json"},baseURL:zy});function Gy(e){return Gy="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},Gy(e)}function qy(){qy=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Gy(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Fy(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Uy(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Fy(i,r,o,a,c,"next",e)}function c(e){Fy(i,r,o,a,c,"throw",e)}a(void 0)}))}}var Wy=function(){var e=Uy(qy().mark((function e(t,n){return qy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=Uy(qy().mark((function e(r,o){var i,a;return qy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=JSON.stringify(n),e.prev=1,e.next=4,Dy({method:"POST",url:t,data:i});case 4:a=e.sent,r(a.data),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),console.log("Error: ".concat(e.t0)),o(e.t0);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Hy=Wy;function Vy(e){return Vy="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},Vy(e)}function Yy(){Yy=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Vy(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Qy(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Ky(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Qy(i,r,o,a,c,"next",e)}function c(e){Qy(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Jy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zy(e,t):void 0}}(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 Zy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xy(){return Xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xy.apply(this,arguments)}var $y=function(e){return t().createElement(Ty,Xy({style:{fontSize:40}},e),t().createElement("span",{"data-order":"0"},"."),t().createElement("span",{"data-order":"1"},"."),t().createElement("span",{"data-order":"2"},"."))},ev=function(n){var r=Jy((0,e.useState)(!1),2),o=r[0],i=r[1],a=Jy((0,e.useState)(!1),2),c=a[0],l=a[1],s=Jy((0,e.useState)(!1),2),u=s[0],f=s[1],d=Jy((0,e.useState)({}),2),p=d[0],m=d[1],h=Jy((0,e.useState)([{address:"0x0000000000000000000000000000000000000000",balance:0}]),2),g=h[0],b=h[1];(0,e.useEffect)((function(){function e(){return(e=Ky(Yy().mark((function e(){return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("algosigner"!==n.wallet){e.next=3;break}return e.next=3,x();case 3:if("myalgo"!==n.wallet){e.next=6;break}return e.next=6,S();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),(0,e.useEffect)((function(){c&&O(!1,2e3)}),[c]),(0,e.useEffect)((function(){n.verifiedAddress&&n.changeStep()}),[n.verifiedAddress]);var y=function(){var e=Ky(Yy().mark((function e(t){var r,o,i,a;return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=[],t.forEach((function(e){r.push(e.address)})),o=null,e.prev=3,e.next=6,cb("user/algoBalances",{accounts:r});case 6:o=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(3),console.log("🚀 ~ error in algoBalances",e.t0);case 12:return e.next=14,cb("user/algoOptinStatus",{accounts:r,assetId:n.projectAssetId});case 14:return i=e.sent,e.prev=15,e.next=18,cb("investment/algoprice");case 18:a=e.sent,e.next=24;break;case 21:e.prev=21,e.t1=e.catch(15),console.log("🚀 ~ error in algoPrice",e.t1);case 24:o&&a?o.forEach((function(e,n){t[n].balance=e.balance,t[n].currentAlgoPrice=a.EUR,t[n].eqUnit="€",t[n].optedIn=i[e.account]})):r&&r.forEach((function(e,n){t[n].optedIn=i[e]})),v(t);case 26:case"end":return e.stop()}}),e,null,[[3,9],[15,21]])})));return function(t){return e.apply(this,arguments)}}(),v=function(e){e.forEach((function(e){n.userAddresses&&n.userAddresses.forEach((function(t){e.address===t.address&&(e.title=t.name)}))}))},w=function(e){m(e),n.setRegisteredAddress(!!e.title)},x=function(){var e=Ky(Yy().mark((function e(){var t;return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!gb()){e.next=19;break}return e.prev=1,e.next=4,bb(n.network);case 4:if(t=e.sent,console.log("address: ",t),!t){e.next=12;break}return e.next=9,y(t);case 9:f(!1),i(!0),b(t);case 12:e.next=19;break;case 14:e.prev=14,e.t0=e.catch(1),console.log("eroor: ",e.t0),f(!0),i(!1);case 19:case"end":return e.stop()}}),e,null,[[1,14]])})));return function(){return e.apply(this,arguments)}}(),E=function(e){var t=[];return e&&e.forEach((function(e){t.push({address:e})})),t},S=function(){var e=Ky(Yy().mark((function e(){var t,n;return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,yb();case 3:if(!(t=e.sent)||t.includes("Error")){e.next=11;break}return n=E(t),e.next=8,y(n);case 8:b(n),f(!1),i(!0);case 11:e.next=18;break;case 13:e.prev=13,e.t0=e.catch(0),console.log("eroor: ",e.t0),f(!0),i(!1);case 18:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(){return e.apply(this,arguments)}}(),O=function(e,t){setTimeout((function(){l(e)}),t)},I=function(){var e=Ky(Yy().mark((function e(){return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l(!0),"algosigner"!==n.wallet){e.next=6;break}return e.next=4,x();case 4:e.next=8;break;case 6:return e.next=8,S();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Select an Algorand address"),t().createElement("p",null,"In order to receive the tokens on the right address you need to chose the address for the opt-in on which you want to receive the tokens. Also note that we fund only once your address. So in case you chose an address which is not yet whitelisted on STOKR you need to pay."))),t().createElement(gt,null,t().createElement(Zu,null,"YOUR CURRENT ADDRESS")),t().createElement(gt,null,o?t().createElement(to,{refresh:c?"Refreshing":"",failed:u?"NO DICE. PLEASE CHECK ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet"," IS CONNECTED, THEN HIT REFRESH."):""},g.map((function(e,r){var o;return t().createElement(Mr,{key:e+r,title:e.title||"Not yet registered",address:e.address,data:{value:null===(o=e.balance)||void 0===o?void 0:o.toFixed(4),unit:"ALGO",eqValue:e.balance?(e.balance*e.currentAlgoPrice).toFixed(2):null,eqUnit:"€"},wrapped:!0,borderTop:!0,borderBottom:!0,sideOptions:n.isUpdatingUser&&!n.error&&p.address===e.address?t().createElement($y,null):n.error&&p.address===e.address?t().createElement(Zr,{red:!0,flex:!0}):e.title&&(n.verifiedAddress&&!n.error&&p.address===e.address||e.optedIn)?t().createElement(By,{green:!0}):t().createElement(sn,{secondary:p.address!==e.address,disabled:e.optedIn&&e.title,style:{minWidth:"max-content"},onClick:function(){n.setAddressToRegister(e.address),e.optedIn||n.handleOptIn(e.address,e.title),w(e),e.optedIn&&!e.title&&n.setverifiedAddress(!0)}},"Select")})}))):t().createElement(to,{refresh:o||u?"":"We're fetching your registered address from your ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet","."),failed:u?"Our interface couldn't connect to ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet"," because you need to give permission to do so. Try again?"):""},g.map((function(e,r){var o;return t().createElement(Mr,{key:e+r,title:e.title||"Not yet registered",address:e.address,data:{value:null===(o=e.balance)||void 0===o?void 0:o.toFixed(4),unit:"ALGO",eqValue:e.balance?(e.balance*e.currentAlgoPrice).toFixed(2):null,eqUnit:"€"},wrapped:!0,borderTop:!0,borderBottom:!0,sideOptions:n.isUpdatingUser&&!n.error&&p.address===e.address?t().createElement($y,null):n.error&&p.address===e.address?t().createElement(Zr,{red:!0,flex:!0}):e.title&&(n.verifiedAddress&&!n.error&&p.address===e.address||e.optedIn)?t().createElement(By,{green:!0}):t().createElement(sn,{secondary:p.address!==e.address,disabled:e.optedIn&&e.title,style:{minWidth:"max-content"},onClick:function(){n.setAddressToRegister(e.address),e.optedIn||n.handleOptIn(e.address,e.title),w(e),e.optedIn&&!e.title&&n.setverifiedAddress(!0)}},"Select")})})))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(ky,{center:!0},"To use a different ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet"," address, select one from the ").concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet",' extension on your browser and press the "TRY AGAIN" button below.'))),t().createElement(gt,{center:!0},t().createElement(Vg,{onClick:I},"TRY AGAIN")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which address should I choose?",content:"If you're planning to use the address to purchase tokens, choose one with sufficient funds or that you plan to top up. For your security and privacy, it's considered best practice to use more than one address for your crypto investments."}]}))))};ev.propTypes={changeStep:i().func.isRequired};var tv=t().memo(ev),nv=ev;function rv(e){return rv="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},rv(e)}function ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iv(e,t){for(var n=0;n<t.length;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)}}function av(e,t){return av=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},av(e,t)}function cv(e,t){if(t&&("object"===rv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return lv(e)}function lv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e){return sv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sv(e)}function uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&av(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=sv(o);if(i){var n=sv(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return cv(this,e)});function c(){var e;ov(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return uv(lv(e=a.call.apply(a,[this].concat(n))),"initialValues",{name:""}),uv(lv(e),"validationSchema",ii.object().shape({name:ii.string().required("Address name is required")})),uv(lv(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.registeredAddress,n=e.changeStep;t&&n()}},{key:"render",value:function(){var e=this,n=this.props,r=n.error,o=n.isUpdatingUser;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Name your Algorand address"),t().createElement("p",null,"Give your address a name that reflects what it will store. Remember Satoshi's recommendation to spread your crypto investments over different addresses. "))),t().createElement(gt,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(n){var i=n.values,a=n.errors,c=n.touched,l=n.handleBlur,s=n.setFieldValue,u=n.setFieldTouched,f=!c.name||!!a.name||o;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"register-algo-name",name:"name",label:"Address name",value:i.name,onChange:function(t){var n=e.props.setNameToRegister,r=t.target;s(r.name,r.value,!1),u(r.name),n(r.value)},onBlur:l,error:!!a.name,touched:!!c.name}),t().createElement(ki,{show:a.name&&c.name},a.name))),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:f},"Use this name"),t().createElement(ki,{withTopSpacing:!0,show:r},r)))}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Why should I name my Algorand address?",content:"If you're following best practice and spreading your crypto investments over different addresses, a name makes it easier to manage your portfolio."}]}))))}}])&&iv(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);fv.propTypes={changeStep:i().func.isRequired};var dv,pv,mv=fv;function hv(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var gv=l().div.withConfig({displayName:"StepControllerstyles__StepsProgressContainer",componentId:"sc-143sf1l-0"})(["position:relative;width:100%;height:40px;padding:4px 0;box-shadow:0 1px 0 0 ",";",""],(function(e){return p.cLightGrey}),G.Medium(dv||(dv=hv(["\n height: 56px;\n padding: 12px 0;\n "])))),bv=l().div.withConfig({displayName:"StepControllerstyles__StepContainer",componentId:"sc-143sf1l-1"})(["width:100%;height:100%;position:relative;overflow:hidden;",""],G.Medium(pv||(pv=hv(["\n ","\n "])),(function(e){return e.heightLimited&&"\n height: 80vh;\n "}))),yv=function(e){var n=e.touchedStepsIndexes,r=e.doneStepsIndexes,o=e.activeStepIndex,i=e.stepsProgressList;return t().createElement(Rc,null,t().createElement(Lc,null,t().createElement(Bc,null,i.map((function(e,i){return t().createElement(zc,{key:e.id,isDone:r.includes(i),isActive:i===o,onClick:function(){return function(e,t){n.includes(t)&&e.handleClick(e.id)}(e,i)}})})))))};yv.propTypes={touchedStepsIndexes:i().arrayOf(i().number).isRequired,doneStepsIndexes:i().arrayOf(i().number).isRequired,activeStepIndex:i().number.isRequired,stepsProgressList:i().instanceOf(Array).isRequired};var vv=yv;function wv(e){return wv="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},wv(e)}function xv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ev(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xv(Object(n),!0).forEach((function(t){Sv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iv(e,t){for(var n=0;n<t.length;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)}}function Av(e,t){return Av=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Av(e,t)}function kv(e,t){if(t&&("object"===wv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Cv(e){return Cv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cv(e)}var Pv=300,Tv={entering:{position:"absolute",opacity:0},entered:{transition:"opacity ".concat(Pv,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(Pv,"ms ease-in-out"),opacity:0}},jv=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Av(e,t)}(l,n);var r,o,i,a,c=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Cv(i);if(a){var n=Cv(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return kv(this,e)});function l(){return Ov(this,l),c.apply(this,arguments)}return r=l,(o=[{key:"componentDidMount",value:function(){var e=this.props;(0,e.changeStep)(e.stepsProgressList[0].id)}},{key:"render",value:function(){var n=this.props,r=n.children,o=n.stepsProgressList,i=n.currentStep,a=n.activeStepIndex,c=n.doneStepsIndexes,l=n.touchedStepsIndexes;return t().createElement(e.Fragment,null,t().createElement(gv,null,t().createElement(vv,{activeStepIndex:a,doneStepsIndexes:c,touchedStepsIndexes:l,stepsProgressList:o})),t().createElement(ai.TransitionGroup,{component:bv},t().createElement(ai.Transition,{key:i,timeout:{enter:Pv,exit:Pv}},(function(e){return t().createElement("div",{style:Ev({height:"100%"},Tv[e])},t().Children.map(r,(function(e){return e.props.id===i&&t().isValidElement(e)?e:null})))}))))}}])&&Iv(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),l}(e.PureComponent);jv.propTypes={children:i().node.isRequired,stepsProgressList:i().instanceOf(Array).isRequired,currentStep:i().string.isRequired,activeStepIndex:i().number.isRequired,touchedStepsIndexes:i().arrayOf(i().number).isRequired,doneStepsIndexes:i().arrayOf(i().number).isRequired,changeStep:i().func.isRequired};var Mv=jv;function _v(e){return _v="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},_v(e)}function Nv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nv(Object(n),!0).forEach((function(t){Fv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bv(e,t){for(var n=0;n<t.length;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)}}function zv(e,t){return zv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zv(e,t)}function Dv(e,t){if(t&&("object"===_v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gv(e)}function Gv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qv(e){return qv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qv(e)}function Fv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Uv=t().createContext(),Wv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zv(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qv(o);if(i){var n=qv(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Dv(this,e)});function c(){var e;Lv(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Fv(Gv(e=a.call.apply(a,[this].concat(n))),"state",{currentStep:"",prevStep:"",prevStepIndex:null,activeStepIndex:0,doneStepsIndexes:[],touchedStepsIndexes:[]}),Fv(Gv(e),"changeStep",(function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=e.state,a=i.activeStepIndex,c=i.doneStepsIndexes,l=i.touchedStepsIndexes,s=null===r?a:r,u=c.slice(),f=l.slice();null===o||u.includes(o)||u.push(o),f.includes(s)||f.push(s),Array.isArray(o)&&0===o.length&&(n=[]),e.setState((function(){return{currentStep:t,activeStepIndex:s,doneStepsIndexes:n||u,touchedStepsIndexes:f}}))})),Fv(Gv(e),"setPrevStep",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.setState({prevStep:t,prevStepIndex:n})})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props.children;return t().createElement(Uv.Provider,{value:Rv(Rv({},this.state),{},{changeStep:this.changeStep,setPrevStep:this.setPrevStep})},e)}}])&&Bv(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Component);Wv.propTypes={children:i().node.isRequired};var Hv=Uv.Consumer,Vv=function(e){var n=e.changeStep,r=e.projects,o=e.setselectedProject,i=e.selectedProject,a=e.isLoading;return t().useEffect((function(){i.primaryAssetId&&n()}),[]),t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Select a project"),t().createElement("p",null,'Some projects on Algorand are only available for eligible investors. Click “Opt-In” next to the project you are already elgible to invest in. Otherwise click "Learn More".'))),t().createElement(gt,null,t().createElement(t().Fragment,null,a?t().createElement(gt,{center:!0,noPadding:!0},t().createElement($y,{style:{fontSize:60}})):t().createElement(to,null,r.map((function(e,r){return t().createElement(t().Fragment,{key:e.name},t().createElement(Mr,{key:e.name,title:e.title||"No project name",src:e.logourl,sideOptions:t().createElement(sn,{secondary:!0,minWidth:"165px",onClick:function(){e.isPrivateInvestor?(o(e),n()):(console.log("🚀 ~ process.env",process.env),window.location.href="https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN,"/").concat(e.name))}},e.isPrivateInvestor?"Opt in":"Learn More"),wrapped:!0,flexHead:!0,borderTop:!0,borderBottom:!0}))}))))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"What is a crypto wallet?",content:"A crypto wallet is a hardware device or browser interface to manage and protect your private key and as a result the transactions you are making on the blockchain."},{title:"Which Algorand wallet should I use?",content:"Both wallets perform the exact same function and both are quite easy to download and use. The key difference is that MyAlgo is a more popular choice amongst Algorand holders for its range of functionality. Algosigner might be a good choice if you are just looking for something basic and hold your assets obtained from the STOKR platform."}]}))))};Vv.propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var Yv=t().memo(Vv),Qv=Vv,Kv=function(e){var n=e.onClick;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"YOU successfully opted in your address"),t().createElement("p",null,"All Algorand addresses are checked to prevent money laundering on STOKR. We'll let you know as soon as yours is on the whitelist."))),t().createElement(gt,{noPaddingHorizontal:!0,center:!0},t().createElement(sn,{minWidth:"240px",onClick:function(){n()}},"Continue"))))};Kv.propTypes={changeStep:i().func.isRequired};var Jv=Kv;function Zv(e){return Zv="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},Zv(e)}function Xv(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ow(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function $v(){return $v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$v.apply(this,arguments)}function ew(){ew=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Zv(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function tw(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function nw(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){tw(i,r,o,a,c,"next",e)}function c(e){tw(i,r,o,a,c,"throw",e)}a(void 0)}))}}function rw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||ow(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 ow(e,t){if(e){if("string"==typeof e)return iw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iw(e,t):void 0}}function iw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var aw=["project","wallet","select-address","address-name"],cw=function(n){var r=n.showFlow,o=n.setShowFlow,i=n.setShowPending,a=n.withSuccessPage,c=void 0!==a&&a,l=n.project,s=void 0===l?{}:l,u=(0,e.useContext)(Pc),f=u.updateUser,d=u.user,p=u.checkIfPrivateInvestor,m=rw((0,e.useState)(null),2),h=m[0],g=m[1],b=rw((0,e.useState)(null),2),y=b[0],v=b[1],w=rw((0,e.useState)(!1),2),x=w[0],E=w[1],S=rw((0,e.useState)(null),2),O=S[0],I=S[1],A=rw((0,e.useState)(""),2),k=A[0],C=A[1],P=rw((0,e.useState)(""),2),T=P[0],j=P[1],M=rw((0,e.useState)(!1),2),_=M[0],N=M[1],R=rw((0,e.useState)([]),2),L=R[0],B=R[1],z=rw((0,e.useState)(s),2),D=z[0],G=z[1],q=rw((0,e.useState)(!1),2),F=q[0],U=q[1],W=rw((0,e.useState)(!0),2),H=W[0],V=W[1],Y=rw((0,e.useState)("MAINNET"===process.env.REACT_APP_ALGORAND_NETWORK?"MainNet":"TestNet"),1)[0];function Q(){return Q=nw(ew().mark((function e(t){var n,r,o,i,a,c,l;return ew().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Hy("project/public/get",{noMetaData:!0,tokenIssuanceType:"algorand"});case 2:if(n=e.sent,r=n&&n.projects.filter((function(e){return e.primaryAssetId})),!t){e.next=31;break}o=Xv(r),e.prev=6,o.s();case 8:if((i=o.n()).done){e.next=23;break}return a=i.value,e.prev=10,e.next=13,p({userId:t._id,projectId:a._id});case 13:c=e.sent,l=c.isAllowed,a.isPrivateInvestor=l,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),console.log("🚀 ~ error",e.t0);case 21:e.next=8;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(6),o.e(e.t1);case 28:return e.prev=28,o.f(),e.finish(28);case 31:B(r),V(!1);case 33:case"end":return e.stop()}}),e,null,[[6,25,28,31],[10,18]])}))),Q.apply(this,arguments)}(0,e.useEffect)((function(){d&&function(e){Q.apply(this,arguments)}(d)}),[d]);var K=function(){var e=nw(ew().mark((function e(){return ew().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),T&&j(""),e.prev=2,e.next=5,f({investor_algo_addresses:[{name:O,address:y}]});case 5:C(!1),c?N(!0):(o(!1),i(!0)),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),C(!1),j("Something went wrong. Please try again.");case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=nw(ew().mark((function e(){var t,n,r=arguments;return ew().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:y,n=r.length>1?r[1]:void 0,C(!0),F&&U(!1),T&&j(""),e.prev=5,e.next=8,vb(D.primaryAssetId,t,h,Y);case 8:if(!e.sent){e.next=19;break}if(n){e.next=15;break}return e.next=13,f({investor_algo_addresses:[{address:t}]});case 13:e.next=17;break;case 15:return e.next=17,f({investor_algo_addresses:[{name:n,address:t}]});case 17:U(!0),C(!1);case 19:e.next=27;break;case 21:e.prev=21,e.t0=e.catch(5),console.log("🚀 ~ error",e.t0),C(!1),U(!1),429==e.t0.response.status&&j("You registered a maximum number of algorand addresses.");case 27:case"end":return e.stop()}}),e,null,[[5,21]])})));return function(){return e.apply(this,arguments)}}();return t().createElement(Si,{fullscreen:!0,isOpen:r,onClose:function(){return o(!1)}},t().createElement(hi,{noPadding:!0},_?t().createElement(Jv,{onClick:function(){N(!1),o(!1)}}):t().createElement(Wv,null,t().createElement(Hv,null,(function(e){var n=e.activeStepIndex-1;return t().createElement(t().Fragment,null,t().createElement(bi,{onClick:function(){return function(e,t){0===t&&G({}),0!==t&&1!==t||(g(null),v(null),I(null),E(!1),j(""),U(!1)),e.changeStep(aw[t],t)}(e,n)},hide:!D.name}),t().createElement(Mv,$v({stepsProgressList:[{id:"project",handleClick:function(){e.changeStep("project",0),g(null)}},{id:"wallet",handleClick:function(){e.changeStep("wallet",1),g(null)}},{id:"select-address",handleClick:function(){return e.changeStep("select-address",2)}},{id:"address-name",handleClick:function(){return e.changeStep("address-name",3)}}]},e),t().createElement(Qv,{id:"project",changeStep:function(){return e.changeStep("wallet",1,0)},selectedProject:D,projects:L,isLoading:H,setselectedProject:G}),t().createElement(Sb,{id:"wallet",changeStep:function(){e.changeStep("select-address",2,1),U(!1)},setWallet:g}),t().createElement(nv,{id:"select-address",changeStep:function(){e.changeStep("address-name",3,2)},setAddressToRegister:v,setRegisteredAddress:E,wallet:h,isUpdatingUser:k,userAddresses:d&&d.investor_algo_addresses,handleOptIn:J,projectAssetId:D.primaryAssetId,error:T,network:Y,verifiedAddress:F,setverifiedAddress:U}),t().createElement(mv,{id:"address-name",changeStep:function(){x?c?N(!0):(o(!1),i(!0)):K()},registeredAddress:x,setNameToRegister:I,error:T,isUpdatingUser:k})))})))))};function lw(e){return lw="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},lw(e)}function sw(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=hw(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function uw(){return uw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uw.apply(this,arguments)}function fw(){fw=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==lw(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function dw(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function pw(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){dw(i,r,o,a,c,"next",e)}function c(e){dw(i,r,o,a,c,"throw",e)}a(void 0)}))}}function mw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||hw(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 hw(e,t){if(e){if("string"==typeof e)return gw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gw(e,t):void 0}}function gw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bw=["project","wallet","select-address","address-name"],yw=function(n){var r=n.showFlow,o=n.setShowFlow,i=n.setShowPending,a=n.withSuccessPage,c=void 0!==a&&a,l=n.project,s=void 0===l?{}:l,u=(0,e.useContext)(Pc),f=u.updateUser,d=u.user,p=u.checkIfPrivateInvestor,m=mw((0,e.useState)(null),2),h=m[0],g=m[1],b=mw((0,e.useState)(null),2),y=b[0],v=b[1],w=mw((0,e.useState)(!1),2),x=w[0],E=w[1],S=mw((0,e.useState)(null),2),O=S[0],I=S[1],A=mw((0,e.useState)(""),2),k=A[0],C=A[1],P=mw((0,e.useState)(""),2),T=P[0],j=P[1],M=mw((0,e.useState)(!1),2),_=M[0],N=M[1],R=mw((0,e.useState)([]),2),L=R[0],B=R[1],z=mw((0,e.useState)(s),2),D=z[0],G=z[1],q=mw((0,e.useState)(!1),2),F=q[0],U=q[1],W=mw((0,e.useState)(!0),2),H=W[0],V=W[1],Y=mw((0,e.useState)("MAINNET"===process.env.REACT_APP_ALGORAND_NETWORK?"MainNet":"TestNet"),1)[0];function Q(){return Q=pw(fw().mark((function e(t){var n,r,o,i,a,c,l;return fw().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Hy("project/public/get",{noMetaData:!0,tokenIssuanceType:"algorand"});case 2:if(n=e.sent,r=n&&n.projects.filter((function(e){return e.primaryAssetId})),!t){e.next=31;break}o=sw(r),e.prev=6,o.s();case 8:if((i=o.n()).done){e.next=23;break}return a=i.value,e.prev=10,e.next=13,p({userId:t._id,projectId:a._id});case 13:c=e.sent,l=c.isAllowed,a.isPrivateInvestor=l,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),console.log("🚀 ~ error",e.t0);case 21:e.next=8;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(6),o.e(e.t1);case 28:return e.prev=28,o.f(),e.finish(28);case 31:B(r),V(!1);case 33:case"end":return e.stop()}}),e,null,[[6,25,28,31],[10,18]])}))),Q.apply(this,arguments)}(0,e.useEffect)((function(){d&&function(e){Q.apply(this,arguments)}(d)}),[d]);var K=function(){var e=pw(fw().mark((function e(){return fw().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),T&&j(""),e.prev=2,e.next=5,f({investor_algo_addresses:[{name:O,address:y}]});case 5:C(!1),c?N(!0):(o(!1),i(!0)),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),console.log("🚀 ~ error",e.t0),C(!1),j("Something went wrong. Please try again.");case 14:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=pw(fw().mark((function e(){var t,n,r=arguments;return fw().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:y,n=r.length>1?r[1]:void 0,C(!0),F&&U(!1),T&&j(""),e.prev=5,e.next=8,vb(D.primaryAssetId,t,h,Y);case 8:if(!e.sent){e.next=19;break}if(n){e.next=15;break}return e.next=13,f({investor_algo_addresses:[{address:t}]});case 13:e.next=17;break;case 15:return e.next=17,f({investor_algo_addresses:[{name:n,address:t}]});case 17:U(!0),C(!1);case 19:e.next=27;break;case 21:e.prev=21,e.t0=e.catch(5),console.log("🚀 ~ error",e.t0),C(!1),U(!1),429==e.t0.response.status&&j("You registered a maximum number of algorand addresses.");case 27:case"end":return e.stop()}}),e,null,[[5,21]])})));return function(){return e.apply(this,arguments)}}();return t().createElement(Si,{fullscreen:!0,isOpen:r,onClose:function(){return o(!1)}},t().createElement(hi,{noPadding:!0},_?t().createElement(Jv,{onClick:function(){N(!1),o(!1)}}):t().createElement(Wv,null,t().createElement(Hv,null,(function(e){var n=e.activeStepIndex-1;return t().createElement(t().Fragment,null,t().createElement(bi,{onClick:function(){return function(e,t){0===t&&G({}),0!==t&&1!==t||(g(null),v(null),I(null),E(!1),j(""),U(!1)),e.changeStep(bw[t],t)}(e,n)},hide:!D.name}),t().createElement(Mv,uw({stepsProgressList:[{id:"project",handleClick:function(){e.changeStep("project",0),g(null)}},{id:"wallet",handleClick:function(){e.changeStep("wallet",1),g(null)}},{id:"select-address",handleClick:function(){return e.changeStep("select-address",2)}},{id:"address-name",handleClick:function(){return e.changeStep("address-name",3)}}]},e),t().createElement(Yv,{id:"project",changeStep:function(){return e.changeStep("wallet",1,0)},selectedProject:D,isLoading:H,projects:L,setselectedProject:G}),t().createElement(Eb,{id:"wallet",changeStep:function(){e.changeStep("select-address",2,1),U(!1)},setWallet:g}),t().createElement(tv,{id:"select-address",changeStep:function(){e.changeStep("address-name",3,2)},setAddressToRegister:v,setRegisteredAddress:E,wallet:h,isUpdatingUser:k,userAddresses:d&&d.investor_algo_addresses,handleOptIn:J,projectAssetId:D.primaryAssetId,error:T,verifiedAddress:F,network:Y}),t().createElement(mv,{id:"address-name",changeStep:function(){x?c?N(!0):(o(!1),i(!0)):K()},registeredAddress:x,setNameToRegister:I,error:T,isUpdatingUser:k})))})))))},vw=t().memo(yw);function ww(e){return ww="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},ww(e)}function xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var n=0;n<t.length;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)}}function Sw(e,t){return Sw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sw(e,t)}function Ow(e,t){if(t&&("object"===ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Iw(e)}function Iw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aw(e){return Aw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Aw(e)}function kw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cw,Pw,Tw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sw(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Aw(o);if(i){var n=Aw(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ow(this,e)});function c(){var e;xw(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return kw(Iw(e=a.call.apply(a,[this].concat(n))),"initialValues",{email:"",password:"",newsletter:!1}),kw(Iw(e),"validationSchema",ii.object().shape({email:ii.string().email("Email is not valid").required("Email is required"),password:ii.string().required("Password is required"),newsletter:ii.bool()})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend,i=e.onModalSwitch;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Start investing today"),t().createElement("p",null,"Create a free STOKR account to invest in exciting startups."))),t().createElement(hi,{modalBot:!0},t().createElement(yi,null,"Already have an account?"," ",t().createElement(vi,{as:"button",onClick:i},"Log in")))),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleChange,a=e.handleBlur,c=e.setFieldValue,l=e.setFieldTouched,s=!(o.email&&o.password&&!r.email&&!r.password);return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"sign-up-email",name:"email",type:"email",label:"Your email",value:n.email,onChange:i,onBlur:a,error:!!r.email,touched:!!o.email}),t().createElement(ki,{show:r.email&&o.email},r.email))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,null,"Your email will never be shared and is only visible to you.")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ii,null,t().createElement(Xl,{id:"sign-up-password",name:"password",type:"password",label:"Password",value:n.password,onChange:function(e){var t=e.target;c(t.name,t.value,!1),l(t.name)},onBlur:a,error:!!r.password,touched:!!o.password,info:"Password input popup",showStrength:!0}),t().createElement(ki,{show:r.password&&o.password},r.password))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,null,"2 factor authentication can be set up later from your account settings")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ii,null,t().createElement(pt,{id:"sign-up-newsletter",name:"newsletter",text:"I wish to receive news and updates from STOKR",value:"yes",checked:!!n.newsletter,onChange:i,onBlur:a,error:!!r.newsletter,touched:!!o.newsletter}),t().createElement(ki,{show:r.newsletter&&o.newsletter},r.newsletter))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:s},"Create account")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,{center:!0},"By signing up for STOKR, you agree to our ",t().createElement(xt.Link,{to:"#"},"Terms of Service."))))}))))))}}])&&Ew(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function jw(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Tw.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired,onModalSwitch:i().func.isRequired};var Mw=l().div.withConfig({displayName:"RequestDataBoxstyles__Box",componentId:"sc-cololh-0"})(["border:1px solid ",";padding:20px 24px;& > div{margin-bottom:12px;","}"," & + &{border-top:none;}"],(function(e){return p.cLightGrey}),G.Medium(Cw||(Cw=jw(["\n margin-bottom: 0;\n "]))),G.Medium(Pw||(Pw=jw(["\n padding: 36px 48px;\n display: flex;\n justify-content: space-between;\n "])))),_w=l().div.withConfig({displayName:"RequestDataBoxstyles__Title",componentId:"sc-cololh-1"})(["font-size:16px;font-weight:600;line-height:24px;margin-bottom:2px;letter-spacing:0.6px;"]),Nw=l().div.withConfig({displayName:"RequestDataBoxstyles__Subtitle",componentId:"sc-cololh-2"})(["font-size:9px;font-style:italic;line-height:16px;letter-spacing:0.4px;"]),Rw=function(e){var n=e.title,r=e.subtitle,o=e.onClick;return t().createElement(Mw,null,t().createElement("div",null,t().createElement(_w,null,n),t().createElement(Nw,null,r)),t().createElement(sn,{minWidth:"240px",onClick:o},n))};Rw.propTypes={title:i().string.isRequired,subtitle:i().string.isRequired,onClick:i().func},Rw.defaultProps={onClick:function(){}};var Lw=l().div.withConfig({displayName:"_styles__RiskStep",componentId:"sc-k079uy-0"})(["position:relative;height:100%;"]);function Bw(e){return Bw="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},Bw(e)}function zw(){zw=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Bw(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Dw(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Gw(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Dw(i,r,o,a,c,"next",e)}function c(e){Dw(i,r,o,a,c,"throw",e)}a(void 0)}))}}function qw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var n=0;n<t.length;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)}}function Uw(e,t){return Uw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Uw(e,t)}function Ww(e,t){if(t&&("object"===Bw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Hw(e)}function Hw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vw(e){return Vw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vw(e)}function Yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qw=t().createContext(),Kw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Uw(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Vw(o);if(i){var n=Vw(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ww(this,e)});function c(){var e;qw(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Yw(Hw(e=a.call.apply(a,[this].concat(n))),"state",{waiting:!0,error:null,questionnaire:null,success:!1,id:null}),Yw(Hw(e),"getData",Gw(zw().mark((function t(){var n;return zw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,rc({method:"POST",url:"compilance/risk-questionnaire"});case 3:n=t.sent,e.onGetDataSuccess(n.data),t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),console.log("Error fetching risk questionnaire: ".concat(t.t0)),e.onGetDataError(t.t0.message);case 11:case"end":return t.stop()}}),t,null,[[0,7]])})))),Yw(Hw(e),"sendData",(function(t){e.setState({waiting:!0,error:null,success:!1});var n=e.props.updateUser;return new Promise(function(){var r=Gw(zw().mark((function r(o,i){return zw().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,rc({method:"POST",url:"compilance/user-risk-compilance/create",data:{riskQuestionnaireId:t._id}});case 3:return r.next=5,n({is_risk_questionnaire_finished:!0});case 5:o(),r.next=13;break;case 8:r.prev=8,r.t0=r.catch(0),console.log("Error setting user risk questionnaire status: ".concat(r.t0)),e.onSendDataError("Something went wrong. Please try again."),i(r.t0);case 13:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,t){return r.apply(this,arguments)}}())})),Yw(Hw(e),"onGetDataSuccess",(function(t){(0,e.props.updateSteps)(t.questionSet),e.setState({waiting:!1,questionnaire:t,id:t._id})})),Yw(Hw(e),"onGetDataError",(function(t){e.setState({waiting:!1,error:t})})),Yw(Hw(e),"onSendDataSuccess",(function(){e.setState({waiting:!1,success:!0})})),Yw(Hw(e),"onSendDataError",(function(t){e.setState({waiting:!1,error:t})})),e}return n=c,(r=[{key:"componentDidMount",value:function(){this.getData()}},{key:"render",value:function(){var e=this.props.children,n=this.state,r=n.waiting,o=n.error,i=n.questionnaire,a=n.success;return t().createElement(Qw.Provider,{value:{waiting:r,error:o,questionnaire:i,sendQuestionnaire:this.sendData.bind(this,i),success:a}},e)}}])&&Fw(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Component);Kw.propTypes={children:i().node.isRequired,updateSteps:i().func.isRequired};var Jw,Zw,Xw=Qw.Consumer,$w=require("react-helmet"),ex=n.n($w);function tx(e){var n=e.description,r=e.lang,o=e.meta,i=e.keywords,a=e.title,c=e.author;return t().createElement(ex(),{htmlAttributes:{lang:r},title:a,titleTemplate:"STOKR • %s",meta:[{name:"description",content:n},{property:"og:title",content:a},{property:"og:description",content:n},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:c},{name:"twitter:title",content:a},{name:"twitter:description",content:n}].concat(i.length>0?{name:"keywords",content:i.join(", ")}:[]).concat(o)})}function nx(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}tx.defaultProps={lang:"en",meta:[],keywords:[],description:"",author:""},tx.propTypes={description:i().string,lang:i().string,meta:i().instanceOf(Array),keywords:i().arrayOf(i().string),title:i().string.isRequired,author:i().string};var rx,ox,ix,ax,cx=l().div.withConfig({displayName:"SideLinestyles__Line",componentId:"sc-1j51wng-0"})(["display:none;position:absolute;top:0;right:20px;width:8px;height:100%;font-size:0;border-left:1px solid ",";"," ",""],(function(e){return p.cGrey}),G.Medium(Jw||(Jw=nx(["\n display: block;\n "]))),G.Large(Zw||(Zw=nx(["\n right: 30px;\n "])))),lx=l().div.withConfig({displayName:"SideLinestyles__Bar",componentId:"sc-1j51wng-1"})(["position:absolute;top:60px;left:0;width:100%;height:40px;background-color:",";"],(function(e){return p.cPrimary})),sx=function(){return t().createElement(cx,null,t().createElement(lx,null))};function ux(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var fx=l().div.withConfig({displayName:"_styles__SignSubStep",componentId:"sc-1kpm9cx-0"})(["position:relative;height:100%;"]),dx=l().div.withConfig({displayName:"_styles__SignSubWrapper",componentId:"sc-1kpm9cx-1"})(["position:relative;padding:40px ",";"," ",""],Nr(1),G.Medium(rx||(rx=ux(["\n padding: 53px ",";\n "])),Nr(.5,8)),G.XLarge(ox||(ox=ux(["\n padding: 53px ",";\n "])),Nr(.5,6))),px=l().div.withConfig({displayName:"_styles__SignSubInfo",componentId:"sc-1kpm9cx-2"})(["font-family:'Open Sans';font-weight:300;font-size:9px;line-height:1.78em;letter-spacing:0.4px;color:",";opacity:0.5;"," "," a{text-decoration:underline;transition:color 0.2s;&:hover{color:",";}}"],(function(e){return p.cBlack}),(function(e){return e.center&&"text-align: center;"}),G.Large(ix||(ix=ux(["\n font-size: 12px;\n "]))),(function(e){return p.cPrimary})),mx=l().div.withConfig({displayName:"_styles__NumberWithTitle",componentId:"sc-1kpm9cx-3"})(["line-height:24px;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;padding-bottom:18px;"]),hx=l()(Te).withConfig({displayName:"_styles__SignSubText",componentId:"sc-1kpm9cx-4"})(["p{","}"],G.Medium(ax||(ax=ux(["\n font-size: 16px;\n "])))),gx=function(e){var n=e.setWallet,r=e.changeStep;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Choose your wallet"),t().createElement("p",null,"In the next couple of steps we guide you through signing and sending the investment transaction. To start, please choose the wallet that allows you to sign the transaction for the address you selected."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,null,t().createElement(ro,null,t().createElement(sn,{onClick:function(){n("ledger"),r()}},"Ledger"),t().createElement(sn,{onClick:function(){n("metamask"),r()}},"Metamask")))))};gx.propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var bx=gx;function yx(e){return yx="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},yx(e)}function vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wx(e,t){for(var n=0;n<t.length;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)}}function xx(e,t){return xx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xx(e,t)}function Ex(e,t){if(t&&("object"===yx(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sx(e)}function Sx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ox(e){return Ox=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ox(e)}function Ix(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ax=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xx(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ox(o);if(i){var n=Ox(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ex(this,e)});function c(){var e;vx(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ix(Sx(e=a.call.apply(a,[this].concat(n))),"state",{step:1}),Ix(Sx(e),"onContinueClick",(function(){(0,e.props.changeStep)()})),Ix(Sx(e),"setStep",(function(t){e.setState({step:t})})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.state.step;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(nh,{activeTab:n},t().createElement(Qm,{tabId:1},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"PLUG IN YOUR DEVICE"),t().createElement("p",null,"Please follow these instructions."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(mx,null,t().createElement(Gh,{number:1}),"Connect Your Ledger")),t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("p",null,"Grab that USB cable and get your computer and cryptovault connected."))),t().createElement(gt,null,t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(2)}},"Next"))),t().createElement(Qm,{tabId:2},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Connect your ledger"))),t().createElement(gt,null,t().createElement(Zu,null,t().createElement(Gh,{number:2}),"Enter Your PIN")),t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("p",null,"Use the buttons on your device to enter and confirm your pin."))),t().createElement(gt,null,t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(3)}},"Next")),t().createElement(gt,{noPaddingTop:!0},t().createElement(sn,{secondary:!0,minWidth:"240px",onClick:function(){e.setStep(1)}},"Back"))),t().createElement(Qm,{tabId:3},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Connect your ledger"))),t().createElement(gt,null,t().createElement(Zu,null,t().createElement(Gh,{number:3}),"Select Ethereum APP")),t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("p",null,"Navigate to the Ethereum app on your Ledger and select it by pressing both buttons at once."))),t().createElement(gt,null,t().createElement(sn,{secondary:!0,minWidth:"240px",onClick:function(){e.setStep(4)}},"Back"))),t().createElement(Qm,{tabId:4},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Address not found"),t().createElement("p",null,"Please connect the Ledger that holds your selected address and click ‘Refresh’. If you can’t find the Ledger holding this address, you can always go back and select another address or add a new one. If you need more help, please contact our ",t().createElement("a",{href:"http://example.com"},"support center")))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Refresh"))))))}}])&&wx(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Ax.propTypes={changeStep:i().func.isRequired};var kx=Ax;function Cx(e){return Cx="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},Cx(e)}function Px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tx(e,t){for(var n=0;n<t.length;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)}}function jx(e,t){return jx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jx(e,t)}function Mx(e,t){if(t&&("object"===Cx(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _x(e)}function _x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nx(e){return Nx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nx(e)}function Rx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lx=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jx(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Nx(o);if(i){var n=Nx(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Mx(this,e)});function c(){var e;Px(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Rx(_x(e=a.call.apply(a,[this].concat(n))),"state",{step:1}),Rx(_x(e),"onContinueClick",(function(){(0,e.props.changeStep)()})),Rx(_x(e),"setStep",(function(t){e.setState({step:t})})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.state.step;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(nh,{activeTab:n},t().createElement(Qm,{tabId:1},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Address not found"),t().createElement("p",null,"We couldn’t find the address you selected in step 1 in MetaMask. Please change the current account address in MetaMask and click ‘Refresh’. If you can’t find the address in MetaMask you can always go back and select another address or add a new one."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(bo,{items:[{title:"How do i change addresses?",content:"Aliquam orci nibh, convallis eu fringilla vel, pharetra non libero. Donec feugiat vehicula sem non sagittis. Fusce vitae purus nulla. Curabitur venenatis augue in augue venenatis placerat non a libero. Quisque facilisis porta libero ac aliquam. Vestibulum ipsum mauris, pretium sed felis et, posuere ultricies purus. Aliquam aliquet arcu a tincidunt mattis. Fusce a vestibulum magna."}]})),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(2)}},"Refresh"))),t().createElement(Qm,{tabId:2},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Unable to connect"),t().createElement("p",null,"We couldn’t read your accounts from MetaMask, please try again. Or visit our"," ",t().createElement("a",{href:"http://example.com"},"support center")," to learn more."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(bo,{items:[{title:"How do i change addresses?",content:"Aliquam orci nibh, convallis eu fringilla vel, pharetra non libero. Donec feugiat vehicula sem non sagittis. Fusce vitae purus nulla. Curabitur venenatis augue in augue venenatis placerat non a libero. Quisque facilisis porta libero ac aliquam. Vestibulum ipsum mauris, pretium sed felis et, posuere ultricies purus. Aliquam aliquet arcu a tincidunt mattis. Fusce a vestibulum magna."}]})),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Try again"))))))}}])&&Tx(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Lx.propTypes={changeStep:i().func.isRequired};var Bx,zx,Dx,Gx,qx=Lx;function Fx(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ux=l().div.withConfig({displayName:"TransactionInfostyles__Container",componentId:"sc-8iuxfi-0"})(["display:flex;align-items:center;"]),Wx=l().div.withConfig({displayName:"TransactionInfostyles__Account",componentId:"sc-8iuxfi-1"})([""]),Hx=l().div.attrs({className:"ion"}).withConfig({displayName:"TransactionInfostyles__TransferIcon",componentId:"sc-8iuxfi-2"})(["width:16px;height:19px;position:relative;margin:auto;&::before,&::after{font-size:28px;position:absolute;left:0;}&::before{content:'\f117';color:",";top:-7px;}&::after{content:'\f119';color:",";top:2px;}"],(function(e){return p.cSuccess}),(function(e){return p.cWarning})),Vx=l().div.withConfig({displayName:"TransactionInfostyles__Value",componentId:"sc-8iuxfi-3"})(["font-size:22px;font-weight:300;line-height:28px;letter-spacing:0.8px;"," ",""],(function(e){return e.green&&(0,c.css)(Bx||(Bx=Fx(["\n color: ",";\n "])),s.progressGreen)}),(function(e){return e.red&&(0,c.css)(zx||(zx=Fx(["\n color: ",";\n "])),s.orangishRed)})),Yx=l().div.withConfig({displayName:"TransactionInfostyles__Name",componentId:"sc-8iuxfi-4"})(["font-size:13px;line-height:16px;letter-spacing:0.4px;font-style:italic;margin-bottom:3px;"," ",""],(function(e){return e.green&&(0,c.css)(Dx||(Dx=Fx(["\n color: ",";\n "])),s.progressGreen)}),(function(e){return e.red&&(0,c.css)(Gx||(Gx=Fx(["\n color: ",";\n "])),s.orangishRed)})),Qx=function(e){var n=e.value1,r=e.unit1,o=e.name1,i=e.owner1,a=e.value2,c=e.unit2,l=e.name2,s=e.owner2,u=e.green,f=e.red;return t().createElement(Ux,null,t().createElement(Wx,null,t().createElement(Yx,{green:u,red:f},"".concat(o," ").concat(i)),t().createElement(Vx,{green:u,red:f},"".concat(r," ").concat(n))),t().createElement(Hx,null),t().createElement(Wx,null,t().createElement(Yx,{green:u,red:f},"".concat(l," ").concat(s)),t().createElement(Vx,{green:u,red:f},"".concat(c," ").concat(a))))};Qx.propTypes={value1:i().string,unit1:i().string,name1:i().string,owner1:i().string,value2:i().string,unit2:i().string,name2:i().string,owner2:i().string},Qx.defaultProps={value1:"",unit1:"",name1:"",owner1:"",value2:"",unit2:"",name2:"",owner2:""};var Kx=Qx,Jx=l().div.withConfig({displayName:"TransactionDetailsstyles__Container",componentId:"sc-yhycqf-0"})(["display:block;position:relative;text-align:center;padding-top:8px;"]),Zx=l().button.withConfig({displayName:"TransactionDetailsstyles__Toggle",componentId:"sc-yhycqf-1"})(["display:inline-block;font-size:11px;line-height:16px;color:",";transition:color 0.2s;outline:0;&:hover{color:",";}"],(function(e){return p.cGrey2}),(function(e){return p.cPrimary})),Xx=l()(Rn.Collapse).withConfig({displayName:"TransactionDetailsstyles__DetailsCollapse",componentId:"sc-yhycqf-2"})(["opacity:0;transition:opacity 0.2s;margin-top:12px;",""],(function(e){return e.isOpened&&"\n opacity: 1;\n border-bottom: 1px solid ".concat(p.cLightGrey,";\n ")}));function $x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var eE=function(n){var r=n.data,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$x(e,t):void 0}}(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.")}()}((0,e.useState)(!0),2),i=o[0],a=o[1];return t().createElement(Jx,null,r.length>0?t().createElement(Zx,{onClick:function(){a(!i)}},i?"hide details":"view details"):t().createElement("br",null),t().createElement(Xx,{isOpened:i},t().createElement(an,{data:r})))};eE.propTypes={data:i().arrayOf(i().shape({label:i().string,value:i().string.isRequired})).isRequired};var tE=eE,nE=n(709),rE=n.n(nE);function oE(e){return oE="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},oE(e)}function iE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var n=0;n<t.length;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)}}function cE(e,t){return cE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cE(e,t)}function lE(e,t){if(t&&("object"===oE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return sE(e)}function sE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(e){return uE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uE(e)}function fE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cE(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=uE(o);if(i){var n=uE(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return lE(this,e)});function c(){var e;iE(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fE(sE(e=a.call.apply(a,[this].concat(n))),"state",{step:1}),fE(sE(e),"onContinueClick",(function(){var t=e.props.changeStep;t&&t()})),fE(sE(e),"setStep",(function(t){e.setState({step:t})})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.state.step;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Review & sign transaction"))),t().createElement(gt,{noPaddingBottom:!0,center:!0},t().createElement("img",{src:rE(),alt:"HDD"})),t().createElement(nh,{activeTab:n},t().createElement(Qm,{tabId:1},t().createElement(gt,{noPaddingBottom:!0},t().createElement(hx,null,t().createElement("p",null,"Please review your transaction details below. Then press sign transaction and follow the instructions on your Ledger device."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(2)}},"Sign transaction"))),t().createElement(Qm,{tabId:2},t().createElement(gt,{noPaddingBottom:!0},t().createElement(hx,null,t().createElement("p",null,"STOKR couldn’t sign the transaction, please try again."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Try again"))))))}}])&&aE(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);dE.propTypes={changeStep:i().func.isRequired};var pE=dE;function mE(e){return mE="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},mE(e)}function hE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gE(e,t){for(var n=0;n<t.length;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)}}function bE(e,t){return bE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bE(e,t)}function yE(e,t){if(t&&("object"===mE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return vE(e)}function vE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wE(e){return wE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wE(e)}function xE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bE(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=wE(o);if(i){var n=wE(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return yE(this,e)});function c(){var e;hE(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return xE(vE(e=a.call.apply(a,[this].concat(n))),"initialValues",{paying:!1,token:!1,send:!1}),xE(vE(e),"validationSchema",ii.object().shape({paying:ii.bool().oneOf([!0],"Agree is required"),token:ii.bool().oneOf([!0],"Agree is required"),send:ii.bool().oneOf([!0],"Agree is required")})),xE(vE(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"render",value:function(){return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Confirm transaction"),t().createElement("p",null,"To sign and send your transaction, please read and agree with all terms, then click ‘Confirm transaction’. After that you’re able to review the transaction details in Metamask and send the transaction to finalize the investment."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,null,t().createElement(Zu,null,"Important")),t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(e){var n=e.values,r=e.handleChange,o=e.handleBlur,i=!n.paying||!n.token||!n.send;return t().createElement(Ti,null,t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking ‘Confirm transaction’ I agree with the <VentureName> token terms & STOKR terms.",checkbox:{id:"token",name:"token",text:"I agree",value:"agree",onChange:r,onBlur:o,checked:n.token},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking 'Confirm transaction’ I agree with paying € 500,- for 1000 <VentureName> Tokens.",checkbox:{id:"paying",name:"paying",text:"I agree",value:"agree",onChange:r,onBlur:o,checked:n.paying},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"After clicking ‘Confirm transaction’ I’ll click ‘Confirm’ in the MetaMask popup in order to send the transaction and finalize the investment.",checkbox:{id:"send",name:"send",text:"I agree",value:"agree",onChange:r,onBlur:o,checked:n.send},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:i},"Confirm transaction")))}))))}}])&&gE(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);EE.propTypes={changeStep:i().func.isRequired};var SE=EE;function OE(e){return OE="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},OE(e)}function IE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(e,t){for(var n=0;n<t.length;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)}}function kE(e,t){return kE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kE(e,t)}function CE(e,t){if(t&&("object"===OE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return PE(e)}function PE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TE(e){return TE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},TE(e)}function jE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ME=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kE(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=TE(o);if(i){var n=TE(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return CE(this,e)});function c(){var e;IE(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return jE(PE(e=a.call.apply(a,[this].concat(n))),"initialValues",{paying:!1,token:!1}),jE(PE(e),"validationSchema",ii.object().shape({paying:ii.bool().oneOf([!0],"Agree is required"),token:ii.bool().oneOf([!0],"Agree is required")})),jE(PE(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"render",value:function(){return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Send transaction"),t().createElement("p",null,"In this final step, please confirm you agree with the investment and applicable terms, then click ‘Send transaction’."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,null,t().createElement(Zu,null,"Important")),t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(e){var n=e.values,r=e.handleChange,o=e.handleBlur,i=!n.paying||!n.token;return t().createElement(Ti,null,t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking ‘Confirm Payment’ I agree with the <VentureName> token terms & STOKR terms.",checkbox:{id:"token",name:"token",text:"I understand",value:"agree",onChange:r,onBlur:o,checked:n.token},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking ‘Confirm Payment’ I agree with paying € 500,- for 1000 <VentureName> Tokens.",checkbox:{id:"paying",name:"paying",text:"I understand",value:"agree",onChange:r,onBlur:o,checked:n.paying},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:i},"Send transaction")))}))))}}])&&AE(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);ME.propTypes={changeStep:i().func.isRequired};var _E=ME,NE=function(e){var n=e.changeStep;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Unable to send transaction"),t().createElement("p",null,"STOKR couldn’t send the transaction, please try again."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:n},"Try again"))))};NE.propTypes={changeStep:i().func.isRequired};var RE=NE,LE=l().div.withConfig({displayName:"Sliderstyles__SliderWrapper",componentId:"sc-t5slmz-0"})(["height:100%;.slick-list{z-index:0;}.slick-arrow{z-index:1;width:24px;height:24px;&.slick-prev,&.slick-next{&:before{font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:20px;line-height:24px;text-align:center;text-shadow:0 0 4px 0 rgba(0,0,0,0.2);opacity:1;color:#fff;transition:color 0.2s;}&:hover{&:before{color:#0050ca;}}}&.slick-prev{left:4px;&:before{content:'\f3cf';}}&.slick-next{right:4px;&:before{content:'\f3d1';}}}.slick-dots{z-index:1;height:auto;bottom:4px;li{display:inline-block;width:24px;height:24px;margin:0;button{display:block;padding:8px;width:24px;height:24px;&:before{position:relative;content:'';display:block;width:8px;height:8px;border-radius:4px;background-color:#fff;opacity:1;box-shadow:0 0 4px 0 rgba(0,0,0,0.2);transition:background-color 0.2s;}&:hover{&:before{background-color:#0050ca;}}}&.slick-active{button{&:before{background-color:#ee220d;}}}}}"]),BE=l().img.withConfig({displayName:"Sliderstyles__ImageSlide",componentId:"sc-t5slmz-1"})(["width:100%;height:100%;object-fit:cover;object-position:center center;"]),zE=l().div.withConfig({displayName:"Sliderstyles__ImageSlideWrapper",componentId:"sc-t5slmz-2"})(["height:193px;position:relative;"]),DE=function(e){var n=e.children,r=e.autoplay,o=e.dots,i=e.arrows,a=e.infinite,c=e.rtl,l={dots:o,arrows:i,infinite:a,speed:600,autoplay:!!r,autoplaySpeed:r,slidesToShow:1,slidesToScroll:1,rtl:void 0!==c&&c};return t().createElement(LE,null,t().createElement(tp(),l,n))};DE.propTypes={children:i().node.isRequired,autoplay:i().number,dots:i().bool,arrows:i().bool,infinite:i().bool},DE.defaultProps={autoplay:0,dots:!1,arrows:!1,infinite:!0};var GE,qE,FE,UE=l().div.withConfig({displayName:"StatusBadgestyles__StatusBadge",componentId:"sc-ffsxx0-0"})(["display:inline-block;vertical-align:top;padding:0px 16px;background-color:",";color:",";font-weight:600;font-size:8px;letter-spacing:1.78px;line-height:16px;border-radius:8px;margin-left:12px;"],(function(e){return p.cBlack}),(function(e){return p.cWhite})),WE={widescreen:1920,default:1440,large:1200,desktop:992,tablet:768,mobile:375,mobileS:320},HE=Object.keys(WE).reduce((function(e,t){var n=WE[t]/16;return e[t]=function(){return(0,c.css)(["@media (min-width:","em){",";}"],n,c.css.apply(void 0,arguments))},e}),{}),VE=HE;function YE(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function QE(){var e=(0,c.keyframes)(["0%{opacity:0;}60%{opacity:1;}100%{opacity:1;}"]),n=l().div.withConfig({displayName:"StokrLoader__StyledStokrLoader",componentId:"sc-1chowhw-0"})(["align-items:center;animation:"," 1.8s ease-in-out forwards;background:rgb(254,254,254);display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:1000;",";",";",";"],e,VE.mobileS(GE||(GE=YE(["\n img {\n height: 15rem;\n width: 15rem;\n }\n "]))),VE.mobile(qE||(qE=YE(["\n img {\n height: 18rem;\n width: 18rem;\n }\n "]))),VE.tablet(FE||(FE=YE(["\n img {\n height: 30rem;\n width: 30rem;\n }\n "])))),r="https://res.cloudinary.com/stokr/image/upload/f_auto,q_auto/v1575035788/Static/stokr_loader_white_400x400_egnhgb.gif?a=".concat(Math.random());return t().createElement(n,null,t().createElement("img",{src:r,alt:" "}))}var KE=l().div.withConfig({displayName:"Switchstyles__Container",componentId:"sc-1tkcx5j-0"})(["display:inline-block;vertical-align:middle;position:relative;font-size:0;text-align:center;",""],(function(e){return e.mobile&&"\n display: block;\n margin: 0;\n padding: 18px 0;\n "})),JE=l().div.withConfig({displayName:"Switchstyles__Value",componentId:"sc-1tkcx5j-1"})(["display:inline-block;vertical-align:middle;font-size:11px;line-height:16px;letter-spacing:2px;text-transform:uppercase;padding:2px 0;opacity:0.5;color:",";transition:opacity 0.2s,color 0.2s;cursor:pointer;&:hover{color:",";}"," ",";"],(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.active&&"\n opacity: 1;\n "}),(function(e){return e.dark&&"\n color: ".concat(p.cPrimary,";\n\n &:hover {\n color: ").concat(p.cBlack,";\n }\n ")})),ZE=l().button.withConfig({displayName:"Switchstyles__Indicator",componentId:"sc-1tkcx5j-2"})(["display:inline-block;vertical-align:middle;width:","px;height:16px;border-radius:8px;background-color:",";margin:0 16px;position:relative;outline:0;cursor:pointer;&:before{content:'';display:block;width:18px;height:18px;position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px;border-radius:9px;background-color:",";transform:translateX(0);transition:transform .2s,background-color .2s;}&:hover{&:before{background-color:",";}}"," "," ",""],34,(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.dark&&"\n background-color: ".concat(p.cGrey2,";\n\n &:before {\n background-color: ").concat(p.cPrimary,";\n }\n\n &:hover {\n &:before {\n background-color: ").concat(p.cBlack,";\n }\n }\n ")}),(function(e){return e.value1&&"\n &:before {\n transform: translateX(-".concat(9,"px);\n }\n ")}),(function(e){return e.value2&&"\n &:before {\n transform: translateX(".concat(9,"px);\n }\n ")}));function XE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var $E,eS,tS,nS=function(n){var r=n.value1,o=n.value2,i=n.handleChange,a=n.mobile,c=n.dark,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return XE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?XE(e,t):void 0}}(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.")}()}((0,e.useState)(n.value),2),s=l[0],u=l[1];return(0,e.useEffect)((function(){i(s)}),[s]),t().createElement(KE,{mobile:a},t().createElement(JE,{active:s===r,onClick:function(){return u(r)},dark:c},r),t().createElement(ZE,{value1:s===r,value2:s===o,onClick:function(){return u(s===r?o:r)},dark:c}),t().createElement(JE,{active:s===o,onClick:function(){return u(o)},dark:c},o))};function rS(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}nS.propTypes={value:i().string.isRequired,value1:i().string.isRequired,value2:i().string.isRequired,handleChange:i().func.isRequired,mobile:i().bool,dark:i().bool},nS.defaultProps={mobile:!1,dark:!1};var oS=l().div.withConfig({displayName:"TeamOverviewstyles__Container",componentId:"sc-b5ges3-0"})(["position:relative;width:100%;font-size:0;@media screen and (min-width:768px) and (max-width:1000px){display:flex;flex-direction:column;}"]),iS=l().div.withConfig({displayName:"TeamOverviewstyles__ImageWrapper",componentId:"sc-b5ges3-1"})(["overflow:hidden;display:block;margin:0 auto;width:160px;height:160px;border-radius:80px;box-shadow:none;border:1px solid rgb(225,225,225);"," @media screen and (min-width:768px) and (max-width:1000px){margin:0 auto;}"],G.Medium($E||($E=rS(["\n z-index: 1;\n position: relative;\n display: inline-block;\n vertical-align: top;\n margin: 0;\n margin-right: -160px;\n "])))),aS=l().img.withConfig({displayName:"TeamOverviewstyles__Avatar",componentId:"sc-b5ges3-2"})(["display:block;width:100%;height:100%;object-fit:cover;object-position:center center;"]),cS=l().div.withConfig({displayName:"TeamOverviewstyles__ContentWrapper",componentId:"sc-b5ges3-3"})(["display:block;width:100%;"," @media screen and (min-width:768px) and (max-width:900px){display:flex;flex-direction:column;}@media screen and (min-width:768px) and (max-width:1000px){padding-left:0;}"],G.Medium(eS||(eS=rS(["\n z-index: 0;\n position: relative;\n display: inline-block;\n vertical-align: top;\n padding-left: 160px;\n "])))),lS=l().h3.withConfig({displayName:"TeamOverviewstyles__Name",componentId:"sc-b5ges3-4"})(["position:relative;font-family:'Open Sans';font-weight:800;font-size:28px;line-height:36px;letter-spacing:1.2px;margin:0;text-transform:uppercase;margin-top:4px;"]),sS=l().div.withConfig({displayName:"TeamOverviewstyles__ContentGroup",componentId:"sc-b5ges3-5"})(["display:block;padding-top:32px;"," @media screen and (min-width:768px) and (max-width:900px){width:100%;}@media screen and (min-width:768px) and (max-width:1000px){margin-top:32px;padding-left:0;}"],G.Medium(tS||(tS=rS(["\n display: inline-block;\n vertical-align: top;\n width: 50%;\n padding-top: 0;\n padding-left: 50px;\n "])))),uS=l().div.withConfig({displayName:"TeamOverviewstyles__SmallHeader",componentId:"sc-b5ges3-6"})(["display:block;svg{display:inline-block;vertical-align:middle;fill:",";margin:-4px 0;margin-right:12px;}span{display:inline-block;vertical-align:middle;font-size:11px;line-height:16px;text-transform:uppercase;padding:4px 0;}"],(function(e){return p.cPrimary})),fS=l().div.withConfig({displayName:"TeamOverviewstyles__ProjectStats",componentId:"sc-b5ges3-7"})(["display:block;position:relative;margin-top:25px;"]),dS=l().div.withConfig({displayName:"TeamOverviewstyles__ProjectStat",componentId:"sc-b5ges3-8"})(["display:inline-block;vertical-align:top;width:50%;"]),pS=l().div.withConfig({displayName:"TeamOverviewstyles__StatLabel",componentId:"sc-b5ges3-9"})(["font-size:11px;line-height:16px;text-transform:uppercase;padding:4px 0;"]),mS=l().div.withConfig({displayName:"TeamOverviewstyles__StatValue",componentId:"sc-b5ges3-10"})(["font-weight:300;font-size:16px;line-height:16px;margin-top:4px;"]),hS=l().div.withConfig({displayName:"TeamOverviewstyles__PersonPosition",componentId:"sc-b5ges3-11"})(["font-weight:bold;font-size:16px;line-height:24px;text-transform:uppercase;color:",";margin-top:15px;"],(function(e){return p.cPrimary})),gS=l().div.withConfig({displayName:"TeamOverviewstyles__PersonEmail",componentId:"sc-b5ges3-12"})(["font-weight:300;font-size:14px;line-height:24px;margin-top:20px;"]),bS=n(136),yS=n.n(bS);function vS(e){return vS="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},vS(e)}function wS(){wS=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==vS(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function xS(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ES(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){xS(i,r,o,a,c,"next",e)}function c(e){xS(i,r,o,a,c,"throw",e)}a(void 0)}))}}function SS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var OS=function(n){var r=n.name,o=n.memberRole,i=n.avatar,a=n.position,c=n.email,l=n.projectName,s=n.stats,u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return SS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?SS(e,t):void 0}}(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.")}()}((0,e.useState)(yS()),2),f=u[0],d=u[1];(0,e.useEffect)((function(){var e=function(){var e=ES(wS().mark((function e(){var t;return wS().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:t=e.sent,d(t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var p=function(){return new Promise(function(){var e=ES(wS().mark((function e(t,n){var r;return wS().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{(r=new XMLHttpRequest).open("HEAD",i,!1),r.send(),404!==r.status?t(i):t(yS())}catch(e){n(yS())}case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())};return t().createElement(oS,null,t().createElement(iS,null,t().createElement(aS,{src:f,alt:"avatar"})),t().createElement(cS,null,t().createElement(sS,null,t().createElement(uS,null,"company_sa"===o&&t().createElement(ra,null),t().createElement("span",null,o)),t().createElement(lS,null,r),t().createElement(hS,null,a),t().createElement(gS,null,c)),t().createElement(sS,null,t().createElement(uS,null,t().createElement("span",null,"Project")),t().createElement(lS,null,l),s&&t().createElement(fS,null,s.map((function(e){return t().createElement(dS,{key:e.name},t().createElement(pS,null,e.name),t().createElement(mS,null,e.count))}))))))};OS.propTypes={name:i().string,memberRole:i().string,avatar:i().string,position:i().string,email:i().string,projectName:i().string,stats:i().arrayOf(i().shape({name:i().string,count:i().number}))},OS.defaultProps={stats:[],name:"",memberRole:"",avatar:"",position:"",email:"",projectName:""};var IS=l().div.withConfig({displayName:"ToDoListTaskstyles__Container",componentId:"sc-lpyruk-0"})(["display:flex;height:56px;align-items:center;"]),AS=l().div.withConfig({displayName:"ToDoListTaskstyles__Content",componentId:"sc-lpyruk-1"})(["display:flex;flex-direction:column;"]),kS=l().div.withConfig({displayName:"ToDoListTaskstyles__TitleContainer",componentId:"sc-lpyruk-2"})(["display:flex;align-items:center;"]),CS=l().div.withConfig({displayName:"ToDoListTaskstyles__Title",componentId:"sc-lpyruk-3"})(["font-size:16px;font-weight:600;line-height:24px;letter-spacing:0.6px;text-align:left;"," ",""],(function(e){return(e.state===qS.IN_PROGRESS||e.state===qS.APPROVED||e.state===qS.NOT_AVAILABLE)&&"\n opacity: 0.3;\n "}),(function(e){return e.link&&"\n opacity: 1;\n "})),PS=l().div.withConfig({displayName:"ToDoListTaskstyles__Notifications",componentId:"sc-lpyruk-4"})(["position:relative;right:-5px;width:16px;height:16px;color:#ffffff;font-size:11px;font-weight:700;line-height:16px;text-align:center;background-color:#ee220d;border-radius:50%;padding-left:0;"]),TS=l().p.withConfig({displayName:"ToDoListTaskstyles__State",componentId:"sc-lpyruk-5"})(["margin-top:3px;font-size:11px;line-height:16px;letter-spacing:0.4px;font-weight:300;text-align:left;opacity:0.6;"]),jS=l().div.withConfig({displayName:"ToDoListTaskstyles__IconContainer",componentId:"sc-lpyruk-6"})(["flex-shrink:0;width:23px;text-align:center;margin-right:10px;position:relative;top:-10px;"]),MS=l().i.attrs({className:"ion ion-md-alert"}).withConfig({displayName:"ToDoListTaskstyles__TooltipIcon",componentId:"sc-lpyruk-7"})(["font-size:18px;margin:0 14px;opacity:0.2;"]),_S=(l().div.withConfig({displayName:"ToDoListTaskstyles__TooltipBox",componentId:"sc-lpyruk-8"})(["max-width:240px;text-align:left;"]),l()(tr).withConfig({displayName:"ToDoListTaskstyles__Icon",componentId:"sc-lpyruk-9"})(["font-size:20px;width:18px;text-align:center;"," "," "," "," ",""],(function(e){return e.state===qS.APPROVED&&"\n font-size: 13px;\n color: ".concat(s.freshGreen,";\n ")}),(function(e){return e.state===qS.REJECTED&&"\n color: ".concat(s.orangishRed,";\n ")}),(function(e){return e.state===qS.IN_PROGRESS&&"\n opacity: 0.3;\n "}),(function(e){return e.state===qS.SKIPPED&&"\n font-size: 13px;\n "}),(function(e){return e.state===qS.NOT_AVAILABLE&&"\n font-size: 13px;\n opacity: 0.3;\n "}))),NS=function(e){var n=e.title,r=e.message,o=e.state,i=e.icon,c=e.link,l=e.tooltip,s=e.notificationCount;return t().createElement(t().Fragment,null,c?t().createElement(xt.Link,{to:c},t().createElement(IS,null,t().createElement(jS,null,t().createElement(_S,{icon:i,state:o})),t().createElement(AS,null,t().createElement(kS,null,t().createElement(CS,{link:c,state:o},n),l&&t().createElement(a.Tooltip,{position:"top",title:l,theme:"light",arrow:!0,duration:200},t().createElement(MS,{onClick:function(e){return e.preventDefault()}}))),r?t().createElement(TS,null,r):""))):t().createElement(IS,null,t().createElement(jS,null,t().createElement(_S,{icon:i,state:o})),t().createElement(AS,null,t().createElement(kS,null,t().createElement(CS,{state:o},n),s>0&&t().createElement(PS,null,s),l&&t().createElement(a.Tooltip,{position:"top",title:l,theme:"light",arrow:!0,duration:200},t().createElement(MS,{onClick:function(e){return e.preventDefault()}}))),r?t().createElement(TS,null,r):"")))};NS.propTypes={title:i().string.isRequired,message:i().string.isRequired,state:i().string.isRequired,icon:i().string.isRequired,link:i().any,tooltip:i().string,notificationCount:i().string},NS.defaultProps={tooltip:"",link:void 0};var RS,LS,BS=NS;function zS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GS,qS={REJECTED:"rejected",DENIED:"rejected",DRAFT:"draft",IN_PROGRESS:"in_progress",APPROVED:"approved",SKIPPED:"skipped",REAPPLY:"reapply",NOT_AVAILABLE:"not_available"},FS=(DS(RS={},qS.REJECTED,"Rejected. Please re-apply."),DS(RS,qS.DENIED,"Rejected. Please re-apply."),DS(RS,qS.DRAFT,"Draft"),DS(RS,qS.IN_PROGRESS,"In progress"),DS(RS,qS.APPROVED,"Verified"),DS(RS,qS.SKIPPED,"Skipped"),RS),US=(DS(LS={},qS.REJECTED,Xn.warning),DS(LS,qS.DENIED,Xn.warning),DS(LS,qS.DRAFT,Xn.edit),DS(LS,qS.IN_PROGRESS,Xn.inProgress),DS(LS,qS.APPROVED,Xn.check),DS(LS,qS.SKIPPED,Xn.arrowRight),DS(LS,qS.NOT_AVAILABLE,Xn.arrowRight),LS),WS=function(e){e.successText;var n=e.mandatoryTasks,r=void 0===n?[]:n,o=e.walletsTasks,i=void 0===o?[]:o,a=e.optionalTasks,c=void 0===a?[]:a,l=(e.title,e.subtitle,r.reduce((function(e,t){return t.state===qS.APPROVED||t.state===qS.IN_PROGRESS?e:e+1}),0)),s=function(){var e=0;return i.forEach((function(t){t.state!==qS.APPROVED&&t.state!==qS.IN_PROGRESS&&e++})),2===e?1:0},u=l+s();return t().createElement(My,null,t().createElement(gt,{noPaddingHorizontal:!0},t().createElement(_y,null,0!==u?t().createElement(Ly,null,u):t().createElement(_S,{icon:Xn.check,state:"approved",checklist:!0}),t().createElement(Ny,null,"Checklist"))),r.length>0&&t().createElement(t().Fragment,null,t().createElement(gt,{noPaddingTop:!0,noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(_y,{marginBottom:"10px"},0!==l?t().createElement(Ly,null,l):t().createElement(_S,{icon:Xn.check,state:"approved",checklist:!0}),t().createElement(Ry,null,"Mandatory"))),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0},r.map((function(e){return t().createElement(BS,{key:e.title,title:e.title,message:e.message||FS[e.state],state:e.state,icon:US[e.state],link:e.link,tooltip:e.tooltip})})))),i.length>0&&t().createElement(t().Fragment,null,t().createElement(gt,{noPaddingTop:!0,noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(_y,{marginBottom:"10px"},0!==s()?t().createElement(Ly,null,s()):t().createElement(_S,{icon:Xn.check,state:"approved",checklist:!0}),t().createElement(Ry,null,"Wallets"))),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0},i.map((function(e){return t().createElement(BS,{key:e.title,title:e.title,message:e.message||FS[e.state],state:e.state,icon:US[e.state],link:e.link,tooltip:e.tooltip})})))),c.length>0&&t().createElement(t().Fragment,null,t().createElement(gt,{noPaddingTop:!0,noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(_y,{marginBottom:"10px"},t().createElement(Ry,{marginLeft:"32px"},"Optional"))),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0},c.map((function(e){return t().createElement(BS,{key:e.title,title:e.title,message:e.message||FS[e.state],state:e.state,icon:US[e.state],link:e.link,tooltip:e.tooltip})})))))},HS=i().arrayOf(i().shape({title:i().string.isRequired,state:i().oneOf((GS=Object.values(qS),function(e){if(Array.isArray(e))return zS(e)}(GS)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(GS)||function(e,t){if(e){if("string"==typeof e)return zS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zS(e,t):void 0}}(GS)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).isRequired,link:i().any,tooltip:i().string}));function VS(e){return VS="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},VS(e)}function YS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(e,t){for(var n=0;n<t.length;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)}}function KS(e,t){return KS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},KS(e,t)}function JS(e,t){if(t&&("object"===VS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ZS(e)}function ZS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XS(e){return XS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},XS(e)}function $S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}WS.propTypes={title:i().string,subtitle:i().string,mandatoryTasks:HS,optionalTasks:HS,successText:i().string},WS.defaultProps={title:"To do list",subtitle:"",mandatoryTasks:[],optionalTasks:[],successText:""};var eO=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&KS(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=XS(o);if(i){var n=XS(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return JS(this,e)});function c(){var e;YS(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return $S(ZS(e=a.call.apply(a,[this].concat(n))),"initialValues",{fa2code:""}),$S(ZS(e),"validationSchema",ii.object().shape({fa2code:ii.string().required("Token is required")})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Two Factor Authentication"),t().createElement("p",null,"Please log in to engage in our community & invest in exciting opportunities."))),t().createElement(hi,{modalBot:!0})),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleBlur,a=e.setFieldValue,c=e.setFieldTouched,l=!o.fa2code||!!r.fa2code;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"two-factor",name:"fa2code",type:"text",label:"Token",value:n.fa2code,onChange:function(e){var t=e.target;a(t.name,t.value,!1),c(t.name)},onBlur:i,error:!!r.fa2code,touched:!!o.fa2code}),t().createElement(ki,{show:r.fa2code&&o.fa2code},r.fa2code))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:l},"Login")))}))))))}}])&&QS(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);eO.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired},require("semantic-ui-css/semantic.min.css"),require("react-tippy/dist/tippy.css"),require("react-day-picker/lib/style.css");var tO=n.p+"3caa0d4f9b7d58668066.woff2",nO=n.p+"9ec738fbb66068dc1ca7.woff",rO=n.p+"d97d7385fe8771611848.ttf",oO=n.p+"311956ded96d3fd2813d.woff2",iO=n.p+"39f5961b2d3eb4aa5bf5.woff",aO=n.p+"d2b1865643b98c0e8b54.ttf",cO=n.p+"cbfc24090ef8bacab132.woff2",lO=n.p+"a750292d6a0b5a760679.woff",sO=n.p+"9bea22b57dc165ed4382.ttf",uO=n.p+"179ef2df02cb0b68c9fd.woff2",fO=n.p+"c6a4bc1bd034d6303053.woff",dO=n.p+"55053cc0a8e6482eca64.ttf",pO=n.p+"21e493d43617de76dbc7.woff2",mO=n.p+"81f3ef07b7952e249da1.woff",hO=n.p+"bcb6531cf820152b7538.ttf",gO=n.p+"643c37f102b41f7f90c3.woff2",bO=n.p+"4e528d6445ca1974c313.woff",yO=n.p+"98b7d3182f652f021bc3.ttf",vO=n.p+"2640959b1f9381cde047.eot",wO=n.p+"4c3c428d0ce82f840710.woff",xO=n.p+"a1d7666a48f976227722.ttf",EO=n.p+"08418fc6c324f51f7e56.svg",SO=(n(342),(0,c.css)(["@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:600;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:300;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:800;font-style:normal;}@font-face{font-family:\"Ionicons\";src:url(",') format("woff2"),url(',') format("woff"),url(',") format(\"truetype\");font-weight:normal;font-style:normal;}@font-face{font-family:'icomoon';src:url('","');src:url('","#iefix') format('embedded-opentype'),url('","') format('truetype'),url('","') format('woff'),url('","') format('svg');font-weight:normal;font-style:normal;}"],tO,nO,rO,oO,iO,aO,cO,lO,sO,uO,fO,dO,pO,mO,hO,gO,bO,yO,vO,vO,xO,wO,EO)),OO=(0,c.css)([".ui.dimmer{background-color:rgba(0,0,0,0.7);}.ui.modals.dimmer{align-items:center;padding:0;}.ui.modal{.ui.grid{margin:0;& > .row{padding:0;}& > .row > .column{padding:0 !important;}}}.ui.popup{border-radius:10px;font-size:11px;line-height:14px;letter-spacing:0.4px;padding:12px;box-shadow:0 0 12px 8px rgba(0,0,0,0.03),0 0 6px 3px rgba(0,0,0,0.02);border:none;&::before{background:none !important;border:7px solid transparent !important;box-shadow:none !important;margin:0 !important;}&.top::before{border-top-color:","!important;transform:rotate(0) translateY(100%) translateX(-50%) !important;left:50% !important;bottom:0 !important;}&.bottom::before{border-bottom-color:","!important;transform:rotate(0) translateY(-100%) translateX(-50%) !important;left:50% !important;top:0 !important;}&.left::before{border-left-color:","!important;transform:rotate(0) translateX(100%) !important;right:0 !important;top:auto !important;}&.right::before{border-right-color:","!important;transform:rotate(0) translateX(-100%) !important;left:0 !important;top:auto !important;}&.top.left::before{border:7px solid transparent !important;border-top-color:","!important;left:0 !important;transform:rotate(0) translateY(100%) translateX(0) !important;}}"],s.blue,s.blue,s.blue,s.blue,s.blue),IO=(0,c.css)([".tippy-popper{.tippy-tooltip{border-radius:10px;font-size:11px;line-height:14px;letter-spacing:0.4px;padding:12px;}.tippy-tooltip.light-theme{box-shadow:0 0 12px 8px rgba(0,0,0,0.03),0 0 6px 3px rgba(0,0,0,0.02);}&[x-placement^='top'] [x-arrow]{border-top-color:","!important;}&[x-placement^='bottom'] [x-arrow]{border-bottom-color:","!important;}&[x-placement^='left'] [x-arrow]{border-left-color:","!important;}&[x-placement^='right'] [x-arrow]{border-right-color:","!important;}}"],s.blue,s.blue,s.blue,s.blue),AO=(0,c.createGlobalStyle)([""," *,*:before,*:after{box-sizing:border-box;}html,body{margin:0;font-family:'Open Sans';font-size:10px;line-height:1;background-color:",";}input,select,textarea,button{font-family:'Open Sans';}button{background-color:transparent;border:0;padding:0;cursor:pointer;}select{appearance:none;}select::-ms-expand{display:none;}a{font-weight:normal;color:inherit;&:hover{text-decoration:none;color:inherit;}}::selection{color:",";background-color:",";}"," ",""],SO,s.white,s.white,s.blue,OO,IO);function kO(e){return kO="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},kO(e)}function CO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CO(Object(n),!0).forEach((function(t){LO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jO(e,t){for(var n=0;n<t.length;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)}}function MO(e,t){return MO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},MO(e,t)}function _O(e,t){if(t&&("object"===kO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return NO(e)}function NO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RO(e){return RO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},RO(e)}function LO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BO=t().createContext(),zO=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&MO(e,t)}(l,e);var n,r,o,i,a=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=RO(o);if(i){var n=RO(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _O(this,e)});function l(){var e;TO(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return LO(NO(e=a.call.apply(a,[this].concat(n))),"handleProgressStatusChange",(function(t,n){(0,e.props.updateProgressStatusAC)(t,n)})),e}return n=l,(r=[{key:"render",value:function(){var e=this.props,n=e.title,r=e.progress,o=e.loginHandler,i=e.signupHandler,a=e.signupFlow,l=e.children,s=e.footerColor,u=e.noFooter,f=e.noLogout;return t().createElement(c.ThemeProvider,{theme:PO({},p)},t().createElement(Lo,null,t().createElement(AO,null),t().createElement(xl,{progress:r,signupFlow:a,loginHandler:o,signupHandler:i,siteTitle:n,noLogout:f}),t().createElement(BO.Provider,{value:{onProgressStatusChange:this.handleProgressStatusChange}},l),!u&&t().createElement(ri,{color:s})))}}])&&jO(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),l}(t().PureComponent);zO.propTypes={title:i().string,signupFlow:i().bool,loginHandler:i().func,signupHandler:i().func,progress:i().bool,footerColor:i().string,children:i().node.isRequired},zO.defaultProps={title:"",progress:null,signupFlow:!1,footerColor:"red",loginHandler:function(){},signupHandler:function(){}};var DO=BO.Consumer}(),module.exports["@stokr/components-library"]=r}();
2
+ !function(){var e={846:function(e,t,n){(t=n(645)(!1)).push([e.id,'/*!\r\n Ionicons, v4.5.0-3\r\n Created by Ben Sperry for the Ionic Framework, http://ionicons.com/\r\n https://twitter.com/benjsperry https://twitter.com/ionicframework\r\n MIT License: https://github.com/driftyco/ionicons\r\n\r\n Android-style icons originally built by Google’s\r\n Material Design Icons: https://github.com/google/material-design-icons\r\n used under CC BY http://creativecommons.org/licenses/by/4.0/\r\n Modified icons to fit ionicon’s grid from original.\r\n*/\r\n/* Stripped from @font-face declaration */\r\n.ion,.ionicons,.ion-ios-add:before,.ion-ios-add-circle:before,.ion-ios-add-circle-outline:before,.ion-ios-airplane:before,.ion-ios-alarm:before,.ion-ios-albums:before,.ion-ios-alert:before,.ion-ios-american-football:before,.ion-ios-analytics:before,.ion-ios-aperture:before,.ion-ios-apps:before,.ion-ios-appstore:before,.ion-ios-archive:before,.ion-ios-arrow-back:before,.ion-ios-arrow-down:before,.ion-ios-arrow-dropdown:before,.ion-ios-arrow-dropdown-circle:before,.ion-ios-arrow-dropleft:before,.ion-ios-arrow-dropleft-circle:before,.ion-ios-arrow-dropright:before,.ion-ios-arrow-dropright-circle:before,.ion-ios-arrow-dropup:before,.ion-ios-arrow-dropup-circle:before,.ion-ios-arrow-forward:before,.ion-ios-arrow-round-back:before,.ion-ios-arrow-round-down:before,.ion-ios-arrow-round-forward:before,.ion-ios-arrow-round-up:before,.ion-ios-arrow-up:before,.ion-ios-at:before,.ion-ios-attach:before,.ion-ios-backspace:before,.ion-ios-barcode:before,.ion-ios-baseball:before,.ion-ios-basket:before,.ion-ios-basketball:before,.ion-ios-battery-charging:before,.ion-ios-battery-dead:before,.ion-ios-battery-full:before,.ion-ios-beaker:before,.ion-ios-bed:before,.ion-ios-beer:before,.ion-ios-bicycle:before,.ion-ios-bluetooth:before,.ion-ios-boat:before,.ion-ios-body:before,.ion-ios-bonfire:before,.ion-ios-book:before,.ion-ios-bookmark:before,.ion-ios-bookmarks:before,.ion-ios-bowtie:before,.ion-ios-briefcase:before,.ion-ios-browsers:before,.ion-ios-brush:before,.ion-ios-bug:before,.ion-ios-build:before,.ion-ios-bulb:before,.ion-ios-bus:before,.ion-ios-business:before,.ion-ios-cafe:before,.ion-ios-calculator:before,.ion-ios-calendar:before,.ion-ios-call:before,.ion-ios-camera:before,.ion-ios-car:before,.ion-ios-card:before,.ion-ios-cart:before,.ion-ios-cash:before,.ion-ios-cellular:before,.ion-ios-chatboxes:before,.ion-ios-chatbubbles:before,.ion-ios-checkbox:before,.ion-ios-checkbox-outline:before,.ion-ios-checkmark:before,.ion-ios-checkmark-circle:before,.ion-ios-checkmark-circle-outline:before,.ion-ios-clipboard:before,.ion-ios-clock:before,.ion-ios-close:before,.ion-ios-close-circle:before,.ion-ios-close-circle-outline:before,.ion-ios-cloud:before,.ion-ios-cloud-circle:before,.ion-ios-cloud-done:before,.ion-ios-cloud-download:before,.ion-ios-cloud-outline:before,.ion-ios-cloud-upload:before,.ion-ios-cloudy:before,.ion-ios-cloudy-night:before,.ion-ios-code:before,.ion-ios-code-download:before,.ion-ios-code-working:before,.ion-ios-cog:before,.ion-ios-color-fill:before,.ion-ios-color-filter:before,.ion-ios-color-palette:before,.ion-ios-color-wand:before,.ion-ios-compass:before,.ion-ios-construct:before,.ion-ios-contact:before,.ion-ios-contacts:before,.ion-ios-contract:before,.ion-ios-contrast:before,.ion-ios-copy:before,.ion-ios-create:before,.ion-ios-crop:before,.ion-ios-cube:before,.ion-ios-cut:before,.ion-ios-desktop:before,.ion-ios-disc:before,.ion-ios-document:before,.ion-ios-done-all:before,.ion-ios-download:before,.ion-ios-easel:before,.ion-ios-egg:before,.ion-ios-exit:before,.ion-ios-expand:before,.ion-ios-eye:before,.ion-ios-eye-off:before,.ion-ios-fastforward:before,.ion-ios-female:before,.ion-ios-filing:before,.ion-ios-film:before,.ion-ios-finger-print:before,.ion-ios-fitness:before,.ion-ios-flag:before,.ion-ios-flame:before,.ion-ios-flash:before,.ion-ios-flash-off:before,.ion-ios-flashlight:before,.ion-ios-flask:before,.ion-ios-flower:before,.ion-ios-folder:before,.ion-ios-folder-open:before,.ion-ios-football:before,.ion-ios-funnel:before,.ion-ios-gift:before,.ion-ios-git-branch:before,.ion-ios-git-commit:before,.ion-ios-git-compare:before,.ion-ios-git-merge:before,.ion-ios-git-network:before,.ion-ios-git-pull-request:before,.ion-ios-glasses:before,.ion-ios-globe:before,.ion-ios-grid:before,.ion-ios-hammer:before,.ion-ios-hand:before,.ion-ios-happy:before,.ion-ios-headset:before,.ion-ios-heart:before,.ion-ios-heart-dislike:before,.ion-ios-heart-empty:before,.ion-ios-heart-half:before,.ion-ios-help:before,.ion-ios-help-buoy:before,.ion-ios-help-circle:before,.ion-ios-help-circle-outline:before,.ion-ios-home:before,.ion-ios-hourglass:before,.ion-ios-ice-cream:before,.ion-ios-image:before,.ion-ios-images:before,.ion-ios-infinite:before,.ion-ios-information:before,.ion-ios-information-circle:before,.ion-ios-information-circle-outline:before,.ion-ios-jet:before,.ion-ios-journal:before,.ion-ios-key:before,.ion-ios-keypad:before,.ion-ios-laptop:before,.ion-ios-leaf:before,.ion-ios-link:before,.ion-ios-list:before,.ion-ios-list-box:before,.ion-ios-locate:before,.ion-ios-lock:before,.ion-ios-log-in:before,.ion-ios-log-out:before,.ion-ios-magnet:before,.ion-ios-mail:before,.ion-ios-mail-open:before,.ion-ios-mail-unread:before,.ion-ios-male:before,.ion-ios-man:before,.ion-ios-map:before,.ion-ios-medal:before,.ion-ios-medical:before,.ion-ios-medkit:before,.ion-ios-megaphone:before,.ion-ios-menu:before,.ion-ios-mic:before,.ion-ios-mic-off:before,.ion-ios-microphone:before,.ion-ios-moon:before,.ion-ios-more:before,.ion-ios-move:before,.ion-ios-musical-note:before,.ion-ios-musical-notes:before,.ion-ios-navigate:before,.ion-ios-notifications:before,.ion-ios-notifications-off:before,.ion-ios-notifications-outline:before,.ion-ios-nuclear:before,.ion-ios-nutrition:before,.ion-ios-open:before,.ion-ios-options:before,.ion-ios-outlet:before,.ion-ios-paper:before,.ion-ios-paper-plane:before,.ion-ios-partly-sunny:before,.ion-ios-pause:before,.ion-ios-paw:before,.ion-ios-people:before,.ion-ios-person:before,.ion-ios-person-add:before,.ion-ios-phone-landscape:before,.ion-ios-phone-portrait:before,.ion-ios-photos:before,.ion-ios-pie:before,.ion-ios-pin:before,.ion-ios-pint:before,.ion-ios-pizza:before,.ion-ios-planet:before,.ion-ios-play:before,.ion-ios-play-circle:before,.ion-ios-podium:before,.ion-ios-power:before,.ion-ios-pricetag:before,.ion-ios-pricetags:before,.ion-ios-print:before,.ion-ios-pulse:before,.ion-ios-qr-scanner:before,.ion-ios-quote:before,.ion-ios-radio:before,.ion-ios-radio-button-off:before,.ion-ios-radio-button-on:before,.ion-ios-rainy:before,.ion-ios-recording:before,.ion-ios-redo:before,.ion-ios-refresh:before,.ion-ios-refresh-circle:before,.ion-ios-remove:before,.ion-ios-remove-circle:before,.ion-ios-remove-circle-outline:before,.ion-ios-reorder:before,.ion-ios-repeat:before,.ion-ios-resize:before,.ion-ios-restaurant:before,.ion-ios-return-left:before,.ion-ios-return-right:before,.ion-ios-reverse-camera:before,.ion-ios-rewind:before,.ion-ios-ribbon:before,.ion-ios-rocket:before,.ion-ios-rose:before,.ion-ios-sad:before,.ion-ios-save:before,.ion-ios-school:before,.ion-ios-search:before,.ion-ios-send:before,.ion-ios-settings:before,.ion-ios-share:before,.ion-ios-share-alt:before,.ion-ios-shirt:before,.ion-ios-shuffle:before,.ion-ios-skip-backward:before,.ion-ios-skip-forward:before,.ion-ios-snow:before,.ion-ios-speedometer:before,.ion-ios-square:before,.ion-ios-square-outline:before,.ion-ios-star:before,.ion-ios-star-half:before,.ion-ios-star-outline:before,.ion-ios-stats:before,.ion-ios-stopwatch:before,.ion-ios-subway:before,.ion-ios-sunny:before,.ion-ios-swap:before,.ion-ios-switch:before,.ion-ios-sync:before,.ion-ios-tablet-landscape:before,.ion-ios-tablet-portrait:before,.ion-ios-tennisball:before,.ion-ios-text:before,.ion-ios-thermometer:before,.ion-ios-thumbs-down:before,.ion-ios-thumbs-up:before,.ion-ios-thunderstorm:before,.ion-ios-time:before,.ion-ios-timer:before,.ion-ios-today:before,.ion-ios-train:before,.ion-ios-transgender:before,.ion-ios-trash:before,.ion-ios-trending-down:before,.ion-ios-trending-up:before,.ion-ios-trophy:before,.ion-ios-tv:before,.ion-ios-umbrella:before,.ion-ios-undo:before,.ion-ios-unlock:before,.ion-ios-videocam:before,.ion-ios-volume-high:before,.ion-ios-volume-low:before,.ion-ios-volume-mute:before,.ion-ios-volume-off:before,.ion-ios-walk:before,.ion-ios-wallet:before,.ion-ios-warning:before,.ion-ios-watch:before,.ion-ios-water:before,.ion-ios-wifi:before,.ion-ios-wine:before,.ion-ios-woman:before,.ion-logo-android:before,.ion-logo-angular:before,.ion-logo-apple:before,.ion-logo-bitbucket:before,.ion-logo-bitcoin:before,.ion-logo-buffer:before,.ion-logo-chrome:before,.ion-logo-closed-captioning:before,.ion-logo-codepen:before,.ion-logo-css3:before,.ion-logo-designernews:before,.ion-logo-dribbble:before,.ion-logo-dropbox:before,.ion-logo-euro:before,.ion-logo-facebook:before,.ion-logo-flickr:before,.ion-logo-foursquare:before,.ion-logo-freebsd-devil:before,.ion-logo-game-controller-a:before,.ion-logo-game-controller-b:before,.ion-logo-github:before,.ion-logo-google:before,.ion-logo-googleplus:before,.ion-logo-hackernews:before,.ion-logo-html5:before,.ion-logo-instagram:before,.ion-logo-ionic:before,.ion-logo-ionitron:before,.ion-logo-javascript:before,.ion-logo-linkedin:before,.ion-logo-markdown:before,.ion-logo-model-s:before,.ion-logo-no-smoking:before,.ion-logo-nodejs:before,.ion-logo-npm:before,.ion-logo-octocat:before,.ion-logo-pinterest:before,.ion-logo-playstation:before,.ion-logo-polymer:before,.ion-logo-python:before,.ion-logo-reddit:before,.ion-logo-rss:before,.ion-logo-sass:before,.ion-logo-skype:before,.ion-logo-slack:before,.ion-logo-snapchat:before,.ion-logo-steam:before,.ion-logo-tumblr:before,.ion-logo-tux:before,.ion-logo-twitch:before,.ion-logo-twitter:before,.ion-logo-usd:before,.ion-logo-vimeo:before,.ion-logo-vk:before,.ion-logo-whatsapp:before,.ion-logo-windows:before,.ion-logo-wordpress:before,.ion-logo-xbox:before,.ion-logo-xing:before,.ion-logo-yahoo:before,.ion-logo-yen:before,.ion-logo-youtube:before,.ion-md-add:before,.ion-md-add-circle:before,.ion-md-add-circle-outline:before,.ion-md-airplane:before,.ion-md-alarm:before,.ion-md-albums:before,.ion-md-alert:before,.ion-md-american-football:before,.ion-md-analytics:before,.ion-md-aperture:before,.ion-md-apps:before,.ion-md-appstore:before,.ion-md-archive:before,.ion-md-arrow-back:before,.ion-md-arrow-down:before,.ion-md-arrow-dropdown:before,.ion-md-arrow-dropdown-circle:before,.ion-md-arrow-dropleft:before,.ion-md-arrow-dropleft-circle:before,.ion-md-arrow-dropright:before,.ion-md-arrow-dropright-circle:before,.ion-md-arrow-dropup:before,.ion-md-arrow-dropup-circle:before,.ion-md-arrow-forward:before,.ion-md-arrow-round-back:before,.ion-md-arrow-round-down:before,.ion-md-arrow-round-forward:before,.ion-md-arrow-round-up:before,.ion-md-arrow-up:before,.ion-md-at:before,.ion-md-attach:before,.ion-md-backspace:before,.ion-md-barcode:before,.ion-md-baseball:before,.ion-md-basket:before,.ion-md-basketball:before,.ion-md-battery-charging:before,.ion-md-battery-dead:before,.ion-md-battery-full:before,.ion-md-beaker:before,.ion-md-bed:before,.ion-md-beer:before,.ion-md-bicycle:before,.ion-md-bluetooth:before,.ion-md-boat:before,.ion-md-body:before,.ion-md-bonfire:before,.ion-md-book:before,.ion-md-bookmark:before,.ion-md-bookmarks:before,.ion-md-bowtie:before,.ion-md-briefcase:before,.ion-md-browsers:before,.ion-md-brush:before,.ion-md-bug:before,.ion-md-build:before,.ion-md-bulb:before,.ion-md-bus:before,.ion-md-business:before,.ion-md-cafe:before,.ion-md-calculator:before,.ion-md-calendar:before,.ion-md-call:before,.ion-md-camera:before,.ion-md-car:before,.ion-md-card:before,.ion-md-cart:before,.ion-md-cash:before,.ion-md-cellular:before,.ion-md-chatboxes:before,.ion-md-chatbubbles:before,.ion-md-checkbox:before,.ion-md-checkbox-outline:before,.ion-md-checkmark:before,.ion-md-checkmark-circle:before,.ion-md-checkmark-circle-outline:before,.ion-md-clipboard:before,.ion-md-clock:before,.ion-md-close:before,.ion-md-close-circle:before,.ion-md-close-circle-outline:before,.ion-md-cloud:before,.ion-md-cloud-circle:before,.ion-md-cloud-done:before,.ion-md-cloud-download:before,.ion-md-cloud-outline:before,.ion-md-cloud-upload:before,.ion-md-cloudy:before,.ion-md-cloudy-night:before,.ion-md-code:before,.ion-md-code-download:before,.ion-md-code-working:before,.ion-md-cog:before,.ion-md-color-fill:before,.ion-md-color-filter:before,.ion-md-color-palette:before,.ion-md-color-wand:before,.ion-md-compass:before,.ion-md-construct:before,.ion-md-contact:before,.ion-md-contacts:before,.ion-md-contract:before,.ion-md-contrast:before,.ion-md-copy:before,.ion-md-create:before,.ion-md-crop:before,.ion-md-cube:before,.ion-md-cut:before,.ion-md-desktop:before,.ion-md-disc:before,.ion-md-document:before,.ion-md-done-all:before,.ion-md-download:before,.ion-md-easel:before,.ion-md-egg:before,.ion-md-exit:before,.ion-md-expand:before,.ion-md-eye:before,.ion-md-eye-off:before,.ion-md-fastforward:before,.ion-md-female:before,.ion-md-filing:before,.ion-md-film:before,.ion-md-finger-print:before,.ion-md-fitness:before,.ion-md-flag:before,.ion-md-flame:before,.ion-md-flash:before,.ion-md-flash-off:before,.ion-md-flashlight:before,.ion-md-flask:before,.ion-md-flower:before,.ion-md-folder:before,.ion-md-folder-open:before,.ion-md-football:before,.ion-md-funnel:before,.ion-md-gift:before,.ion-md-git-branch:before,.ion-md-git-commit:before,.ion-md-git-compare:before,.ion-md-git-merge:before,.ion-md-git-network:before,.ion-md-git-pull-request:before,.ion-md-glasses:before,.ion-md-globe:before,.ion-md-grid:before,.ion-md-hammer:before,.ion-md-hand:before,.ion-md-happy:before,.ion-md-headset:before,.ion-md-heart:before,.ion-md-heart-dislike:before,.ion-md-heart-empty:before,.ion-md-heart-half:before,.ion-md-help:before,.ion-md-help-buoy:before,.ion-md-help-circle:before,.ion-md-help-circle-outline:before,.ion-md-home:before,.ion-md-hourglass:before,.ion-md-ice-cream:before,.ion-md-image:before,.ion-md-images:before,.ion-md-infinite:before,.ion-md-information:before,.ion-md-information-circle:before,.ion-md-information-circle-outline:before,.ion-md-jet:before,.ion-md-journal:before,.ion-md-key:before,.ion-md-keypad:before,.ion-md-laptop:before,.ion-md-leaf:before,.ion-md-link:before,.ion-md-list:before,.ion-md-list-box:before,.ion-md-locate:before,.ion-md-lock:before,.ion-md-log-in:before,.ion-md-log-out:before,.ion-md-magnet:before,.ion-md-mail:before,.ion-md-mail-open:before,.ion-md-mail-unread:before,.ion-md-male:before,.ion-md-man:before,.ion-md-map:before,.ion-md-medal:before,.ion-md-medical:before,.ion-md-medkit:before,.ion-md-megaphone:before,.ion-md-menu:before,.ion-md-mic:before,.ion-md-mic-off:before,.ion-md-microphone:before,.ion-md-moon:before,.ion-md-more:before,.ion-md-move:before,.ion-md-musical-note:before,.ion-md-musical-notes:before,.ion-md-navigate:before,.ion-md-notifications:before,.ion-md-notifications-off:before,.ion-md-notifications-outline:before,.ion-md-nuclear:before,.ion-md-nutrition:before,.ion-md-open:before,.ion-md-options:before,.ion-md-outlet:before,.ion-md-paper:before,.ion-md-paper-plane:before,.ion-md-partly-sunny:before,.ion-md-pause:before,.ion-md-paw:before,.ion-md-people:before,.ion-md-person:before,.ion-md-person-add:before,.ion-md-phone-landscape:before,.ion-md-phone-portrait:before,.ion-md-photos:before,.ion-md-pie:before,.ion-md-pin:before,.ion-md-pint:before,.ion-md-pizza:before,.ion-md-planet:before,.ion-md-play:before,.ion-md-play-circle:before,.ion-md-podium:before,.ion-md-power:before,.ion-md-pricetag:before,.ion-md-pricetags:before,.ion-md-print:before,.ion-md-pulse:before,.ion-md-qr-scanner:before,.ion-md-quote:before,.ion-md-radio:before,.ion-md-radio-button-off:before,.ion-md-radio-button-on:before,.ion-md-rainy:before,.ion-md-recording:before,.ion-md-redo:before,.ion-md-refresh:before,.ion-md-refresh-circle:before,.ion-md-remove:before,.ion-md-remove-circle:before,.ion-md-remove-circle-outline:before,.ion-md-reorder:before,.ion-md-repeat:before,.ion-md-resize:before,.ion-md-restaurant:before,.ion-md-return-left:before,.ion-md-return-right:before,.ion-md-reverse-camera:before,.ion-md-rewind:before,.ion-md-ribbon:before,.ion-md-rocket:before,.ion-md-rose:before,.ion-md-sad:before,.ion-md-save:before,.ion-md-school:before,.ion-md-search:before,.ion-md-send:before,.ion-md-settings:before,.ion-md-share:before,.ion-md-share-alt:before,.ion-md-shirt:before,.ion-md-shuffle:before,.ion-md-skip-backward:before,.ion-md-skip-forward:before,.ion-md-snow:before,.ion-md-speedometer:before,.ion-md-square:before,.ion-md-square-outline:before,.ion-md-star:before,.ion-md-star-half:before,.ion-md-star-outline:before,.ion-md-stats:before,.ion-md-stopwatch:before,.ion-md-subway:before,.ion-md-sunny:before,.ion-md-swap:before,.ion-md-switch:before,.ion-md-sync:before,.ion-md-tablet-landscape:before,.ion-md-tablet-portrait:before,.ion-md-tennisball:before,.ion-md-text:before,.ion-md-thermometer:before,.ion-md-thumbs-down:before,.ion-md-thumbs-up:before,.ion-md-thunderstorm:before,.ion-md-time:before,.ion-md-timer:before,.ion-md-today:before,.ion-md-train:before,.ion-md-transgender:before,.ion-md-trash:before,.ion-md-trending-down:before,.ion-md-trending-up:before,.ion-md-trophy:before,.ion-md-tv:before,.ion-md-umbrella:before,.ion-md-undo:before,.ion-md-unlock:before,.ion-md-videocam:before,.ion-md-volume-high:before,.ion-md-volume-low:before,.ion-md-volume-mute:before,.ion-md-volume-off:before,.ion-md-walk:before,.ion-md-wallet:before,.ion-md-warning:before,.ion-md-watch:before,.ion-md-water:before,.ion-md-wifi:before,.ion-md-wine:before,.ion-md-woman:before{display:inline-block;font-family:"Ionicons";speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ion-ios-add:before{content:"\\f102"}.ion-ios-add-circle:before{content:"\\f101"}.ion-ios-add-circle-outline:before{content:"\\f100"}.ion-ios-airplane:before{content:"\\f137"}.ion-ios-alarm:before{content:"\\f3c8"}.ion-ios-albums:before{content:"\\f3ca"}.ion-ios-alert:before{content:"\\f104"}.ion-ios-american-football:before{content:"\\f106"}.ion-ios-analytics:before{content:"\\f3ce"}.ion-ios-aperture:before{content:"\\f108"}.ion-ios-apps:before{content:"\\f10a"}.ion-ios-appstore:before{content:"\\f10c"}.ion-ios-archive:before{content:"\\f10e"}.ion-ios-arrow-back:before{content:"\\f3cf"}.ion-ios-arrow-down:before{content:"\\f3d0"}.ion-ios-arrow-dropdown:before{content:"\\f110"}.ion-ios-arrow-dropdown-circle:before{content:"\\f125"}.ion-ios-arrow-dropleft:before{content:"\\f112"}.ion-ios-arrow-dropleft-circle:before{content:"\\f129"}.ion-ios-arrow-dropright:before{content:"\\f114"}.ion-ios-arrow-dropright-circle:before{content:"\\f12b"}.ion-ios-arrow-dropup:before{content:"\\f116"}.ion-ios-arrow-dropup-circle:before{content:"\\f12d"}.ion-ios-arrow-forward:before{content:"\\f3d1"}.ion-ios-arrow-round-back:before{content:"\\f117"}.ion-ios-arrow-round-down:before{content:"\\f118"}.ion-ios-arrow-round-forward:before{content:"\\f119"}.ion-ios-arrow-round-up:before{content:"\\f11a"}.ion-ios-arrow-up:before{content:"\\f3d8"}.ion-ios-at:before{content:"\\f3da"}.ion-ios-attach:before{content:"\\f11b"}.ion-ios-backspace:before{content:"\\f11d"}.ion-ios-barcode:before{content:"\\f3dc"}.ion-ios-baseball:before{content:"\\f3de"}.ion-ios-basket:before{content:"\\f11f"}.ion-ios-basketball:before{content:"\\f3e0"}.ion-ios-battery-charging:before{content:"\\f120"}.ion-ios-battery-dead:before{content:"\\f121"}.ion-ios-battery-full:before{content:"\\f122"}.ion-ios-beaker:before{content:"\\f124"}.ion-ios-bed:before{content:"\\f139"}.ion-ios-beer:before{content:"\\f126"}.ion-ios-bicycle:before{content:"\\f127"}.ion-ios-bluetooth:before{content:"\\f128"}.ion-ios-boat:before{content:"\\f12a"}.ion-ios-body:before{content:"\\f3e4"}.ion-ios-bonfire:before{content:"\\f12c"}.ion-ios-book:before{content:"\\f3e8"}.ion-ios-bookmark:before{content:"\\f12e"}.ion-ios-bookmarks:before{content:"\\f3ea"}.ion-ios-bowtie:before{content:"\\f130"}.ion-ios-briefcase:before{content:"\\f3ee"}.ion-ios-browsers:before{content:"\\f3f0"}.ion-ios-brush:before{content:"\\f132"}.ion-ios-bug:before{content:"\\f134"}.ion-ios-build:before{content:"\\f136"}.ion-ios-bulb:before{content:"\\f138"}.ion-ios-bus:before{content:"\\f13a"}.ion-ios-business:before{content:"\\f1a3"}.ion-ios-cafe:before{content:"\\f13c"}.ion-ios-calculator:before{content:"\\f3f2"}.ion-ios-calendar:before{content:"\\f3f4"}.ion-ios-call:before{content:"\\f13e"}.ion-ios-camera:before{content:"\\f3f6"}.ion-ios-car:before{content:"\\f140"}.ion-ios-card:before{content:"\\f142"}.ion-ios-cart:before{content:"\\f3f8"}.ion-ios-cash:before{content:"\\f144"}.ion-ios-cellular:before{content:"\\f13d"}.ion-ios-chatboxes:before{content:"\\f3fa"}.ion-ios-chatbubbles:before{content:"\\f146"}.ion-ios-checkbox:before{content:"\\f148"}.ion-ios-checkbox-outline:before{content:"\\f147"}.ion-ios-checkmark:before{content:"\\f3ff"}.ion-ios-checkmark-circle:before{content:"\\f14a"}.ion-ios-checkmark-circle-outline:before{content:"\\f149"}.ion-ios-clipboard:before{content:"\\f14c"}.ion-ios-clock:before{content:"\\f403"}.ion-ios-close:before{content:"\\f406"}.ion-ios-close-circle:before{content:"\\f14e"}.ion-ios-close-circle-outline:before{content:"\\f14d"}.ion-ios-cloud:before{content:"\\f40c"}.ion-ios-cloud-circle:before{content:"\\f152"}.ion-ios-cloud-done:before{content:"\\f154"}.ion-ios-cloud-download:before{content:"\\f408"}.ion-ios-cloud-outline:before{content:"\\f409"}.ion-ios-cloud-upload:before{content:"\\f40b"}.ion-ios-cloudy:before{content:"\\f410"}.ion-ios-cloudy-night:before{content:"\\f40e"}.ion-ios-code:before{content:"\\f157"}.ion-ios-code-download:before{content:"\\f155"}.ion-ios-code-working:before{content:"\\f156"}.ion-ios-cog:before{content:"\\f412"}.ion-ios-color-fill:before{content:"\\f159"}.ion-ios-color-filter:before{content:"\\f414"}.ion-ios-color-palette:before{content:"\\f15b"}.ion-ios-color-wand:before{content:"\\f416"}.ion-ios-compass:before{content:"\\f15d"}.ion-ios-construct:before{content:"\\f15f"}.ion-ios-contact:before{content:"\\f41a"}.ion-ios-contacts:before{content:"\\f161"}.ion-ios-contract:before{content:"\\f162"}.ion-ios-contrast:before{content:"\\f163"}.ion-ios-copy:before{content:"\\f41c"}.ion-ios-create:before{content:"\\f165"}.ion-ios-crop:before{content:"\\f41e"}.ion-ios-cube:before{content:"\\f168"}.ion-ios-cut:before{content:"\\f16a"}.ion-ios-desktop:before{content:"\\f16c"}.ion-ios-disc:before{content:"\\f16e"}.ion-ios-document:before{content:"\\f170"}.ion-ios-done-all:before{content:"\\f171"}.ion-ios-download:before{content:"\\f420"}.ion-ios-easel:before{content:"\\f173"}.ion-ios-egg:before{content:"\\f175"}.ion-ios-exit:before{content:"\\f177"}.ion-ios-expand:before{content:"\\f178"}.ion-ios-eye:before{content:"\\f425"}.ion-ios-eye-off:before{content:"\\f17a"}.ion-ios-fastforward:before{content:"\\f427"}.ion-ios-female:before{content:"\\f17b"}.ion-ios-filing:before{content:"\\f429"}.ion-ios-film:before{content:"\\f42b"}.ion-ios-finger-print:before{content:"\\f17c"}.ion-ios-fitness:before{content:"\\f1ab"}.ion-ios-flag:before{content:"\\f42d"}.ion-ios-flame:before{content:"\\f42f"}.ion-ios-flash:before{content:"\\f17e"}.ion-ios-flash-off:before{content:"\\f12f"}.ion-ios-flashlight:before{content:"\\f141"}.ion-ios-flask:before{content:"\\f431"}.ion-ios-flower:before{content:"\\f433"}.ion-ios-folder:before{content:"\\f435"}.ion-ios-folder-open:before{content:"\\f180"}.ion-ios-football:before{content:"\\f437"}.ion-ios-funnel:before{content:"\\f182"}.ion-ios-gift:before{content:"\\f191"}.ion-ios-git-branch:before{content:"\\f183"}.ion-ios-git-commit:before{content:"\\f184"}.ion-ios-git-compare:before{content:"\\f185"}.ion-ios-git-merge:before{content:"\\f186"}.ion-ios-git-network:before{content:"\\f187"}.ion-ios-git-pull-request:before{content:"\\f188"}.ion-ios-glasses:before{content:"\\f43f"}.ion-ios-globe:before{content:"\\f18a"}.ion-ios-grid:before{content:"\\f18c"}.ion-ios-hammer:before{content:"\\f18e"}.ion-ios-hand:before{content:"\\f190"}.ion-ios-happy:before{content:"\\f192"}.ion-ios-headset:before{content:"\\f194"}.ion-ios-heart:before{content:"\\f443"}.ion-ios-heart-dislike:before{content:"\\f13f"}.ion-ios-heart-empty:before{content:"\\f19b"}.ion-ios-heart-half:before{content:"\\f19d"}.ion-ios-help:before{content:"\\f446"}.ion-ios-help-buoy:before{content:"\\f196"}.ion-ios-help-circle:before{content:"\\f198"}.ion-ios-help-circle-outline:before{content:"\\f197"}.ion-ios-home:before{content:"\\f448"}.ion-ios-hourglass:before{content:"\\f103"}.ion-ios-ice-cream:before{content:"\\f19a"}.ion-ios-image:before{content:"\\f19c"}.ion-ios-images:before{content:"\\f19e"}.ion-ios-infinite:before{content:"\\f44a"}.ion-ios-information:before{content:"\\f44d"}.ion-ios-information-circle:before{content:"\\f1a0"}.ion-ios-information-circle-outline:before{content:"\\f19f"}.ion-ios-jet:before{content:"\\f1a5"}.ion-ios-journal:before{content:"\\f189"}.ion-ios-key:before{content:"\\f1a7"}.ion-ios-keypad:before{content:"\\f450"}.ion-ios-laptop:before{content:"\\f1a8"}.ion-ios-leaf:before{content:"\\f1aa"}.ion-ios-link:before{content:"\\f22a"}.ion-ios-list:before{content:"\\f454"}.ion-ios-list-box:before{content:"\\f143"}.ion-ios-locate:before{content:"\\f1ae"}.ion-ios-lock:before{content:"\\f1b0"}.ion-ios-log-in:before{content:"\\f1b1"}.ion-ios-log-out:before{content:"\\f1b2"}.ion-ios-magnet:before{content:"\\f1b4"}.ion-ios-mail:before{content:"\\f1b8"}.ion-ios-mail-open:before{content:"\\f1b6"}.ion-ios-mail-unread:before{content:"\\f145"}.ion-ios-male:before{content:"\\f1b9"}.ion-ios-man:before{content:"\\f1bb"}.ion-ios-map:before{content:"\\f1bd"}.ion-ios-medal:before{content:"\\f1bf"}.ion-ios-medical:before{content:"\\f45c"}.ion-ios-medkit:before{content:"\\f45e"}.ion-ios-megaphone:before{content:"\\f1c1"}.ion-ios-menu:before{content:"\\f1c3"}.ion-ios-mic:before{content:"\\f461"}.ion-ios-mic-off:before{content:"\\f45f"}.ion-ios-microphone:before{content:"\\f1c6"}.ion-ios-moon:before{content:"\\f468"}.ion-ios-more:before{content:"\\f1c8"}.ion-ios-move:before{content:"\\f1cb"}.ion-ios-musical-note:before{content:"\\f46b"}.ion-ios-musical-notes:before{content:"\\f46c"}.ion-ios-navigate:before{content:"\\f46e"}.ion-ios-notifications:before{content:"\\f1d3"}.ion-ios-notifications-off:before{content:"\\f1d1"}.ion-ios-notifications-outline:before{content:"\\f133"}.ion-ios-nuclear:before{content:"\\f1d5"}.ion-ios-nutrition:before{content:"\\f470"}.ion-ios-open:before{content:"\\f1d7"}.ion-ios-options:before{content:"\\f1d9"}.ion-ios-outlet:before{content:"\\f1db"}.ion-ios-paper:before{content:"\\f472"}.ion-ios-paper-plane:before{content:"\\f1dd"}.ion-ios-partly-sunny:before{content:"\\f1df"}.ion-ios-pause:before{content:"\\f478"}.ion-ios-paw:before{content:"\\f47a"}.ion-ios-people:before{content:"\\f47c"}.ion-ios-person:before{content:"\\f47e"}.ion-ios-person-add:before{content:"\\f1e1"}.ion-ios-phone-landscape:before{content:"\\f1e2"}.ion-ios-phone-portrait:before{content:"\\f1e3"}.ion-ios-photos:before{content:"\\f482"}.ion-ios-pie:before{content:"\\f484"}.ion-ios-pin:before{content:"\\f1e5"}.ion-ios-pint:before{content:"\\f486"}.ion-ios-pizza:before{content:"\\f1e7"}.ion-ios-planet:before{content:"\\f1eb"}.ion-ios-play:before{content:"\\f488"}.ion-ios-play-circle:before{content:"\\f113"}.ion-ios-podium:before{content:"\\f1ed"}.ion-ios-power:before{content:"\\f1ef"}.ion-ios-pricetag:before{content:"\\f48d"}.ion-ios-pricetags:before{content:"\\f48f"}.ion-ios-print:before{content:"\\f1f1"}.ion-ios-pulse:before{content:"\\f493"}.ion-ios-qr-scanner:before{content:"\\f1f3"}.ion-ios-quote:before{content:"\\f1f5"}.ion-ios-radio:before{content:"\\f1f9"}.ion-ios-radio-button-off:before{content:"\\f1f6"}.ion-ios-radio-button-on:before{content:"\\f1f7"}.ion-ios-rainy:before{content:"\\f495"}.ion-ios-recording:before{content:"\\f497"}.ion-ios-redo:before{content:"\\f499"}.ion-ios-refresh:before{content:"\\f49c"}.ion-ios-refresh-circle:before{content:"\\f135"}.ion-ios-remove:before{content:"\\f1fc"}.ion-ios-remove-circle:before{content:"\\f1fb"}.ion-ios-remove-circle-outline:before{content:"\\f1fa"}.ion-ios-reorder:before{content:"\\f1fd"}.ion-ios-repeat:before{content:"\\f1fe"}.ion-ios-resize:before{content:"\\f1ff"}.ion-ios-restaurant:before{content:"\\f201"}.ion-ios-return-left:before{content:"\\f202"}.ion-ios-return-right:before{content:"\\f203"}.ion-ios-reverse-camera:before{content:"\\f49f"}.ion-ios-rewind:before{content:"\\f4a1"}.ion-ios-ribbon:before{content:"\\f205"}.ion-ios-rocket:before{content:"\\f14b"}.ion-ios-rose:before{content:"\\f4a3"}.ion-ios-sad:before{content:"\\f207"}.ion-ios-save:before{content:"\\f1a6"}.ion-ios-school:before{content:"\\f209"}.ion-ios-search:before{content:"\\f4a5"}.ion-ios-send:before{content:"\\f20c"}.ion-ios-settings:before{content:"\\f4a7"}.ion-ios-share:before{content:"\\f211"}.ion-ios-share-alt:before{content:"\\f20f"}.ion-ios-shirt:before{content:"\\f213"}.ion-ios-shuffle:before{content:"\\f4a9"}.ion-ios-skip-backward:before{content:"\\f215"}.ion-ios-skip-forward:before{content:"\\f217"}.ion-ios-snow:before{content:"\\f218"}.ion-ios-speedometer:before{content:"\\f4b0"}.ion-ios-square:before{content:"\\f21a"}.ion-ios-square-outline:before{content:"\\f15c"}.ion-ios-star:before{content:"\\f4b3"}.ion-ios-star-half:before{content:"\\f4b1"}.ion-ios-star-outline:before{content:"\\f4b2"}.ion-ios-stats:before{content:"\\f21c"}.ion-ios-stopwatch:before{content:"\\f4b5"}.ion-ios-subway:before{content:"\\f21e"}.ion-ios-sunny:before{content:"\\f4b7"}.ion-ios-swap:before{content:"\\f21f"}.ion-ios-switch:before{content:"\\f221"}.ion-ios-sync:before{content:"\\f222"}.ion-ios-tablet-landscape:before{content:"\\f223"}.ion-ios-tablet-portrait:before{content:"\\f24e"}.ion-ios-tennisball:before{content:"\\f4bb"}.ion-ios-text:before{content:"\\f250"}.ion-ios-thermometer:before{content:"\\f252"}.ion-ios-thumbs-down:before{content:"\\f254"}.ion-ios-thumbs-up:before{content:"\\f256"}.ion-ios-thunderstorm:before{content:"\\f4bd"}.ion-ios-time:before{content:"\\f4bf"}.ion-ios-timer:before{content:"\\f4c1"}.ion-ios-today:before{content:"\\f14f"}.ion-ios-train:before{content:"\\f258"}.ion-ios-transgender:before{content:"\\f259"}.ion-ios-trash:before{content:"\\f4c5"}.ion-ios-trending-down:before{content:"\\f25a"}.ion-ios-trending-up:before{content:"\\f25b"}.ion-ios-trophy:before{content:"\\f25d"}.ion-ios-tv:before{content:"\\f115"}.ion-ios-umbrella:before{content:"\\f25f"}.ion-ios-undo:before{content:"\\f4c7"}.ion-ios-unlock:before{content:"\\f261"}.ion-ios-videocam:before{content:"\\f4cd"}.ion-ios-volume-high:before{content:"\\f11c"}.ion-ios-volume-low:before{content:"\\f11e"}.ion-ios-volume-mute:before{content:"\\f263"}.ion-ios-volume-off:before{content:"\\f264"}.ion-ios-walk:before{content:"\\f266"}.ion-ios-wallet:before{content:"\\f18b"}.ion-ios-warning:before{content:"\\f268"}.ion-ios-watch:before{content:"\\f269"}.ion-ios-water:before{content:"\\f26b"}.ion-ios-wifi:before{content:"\\f26d"}.ion-ios-wine:before{content:"\\f26f"}.ion-ios-woman:before{content:"\\f271"}.ion-logo-android:before{content:"\\f225"}.ion-logo-angular:before{content:"\\f227"}.ion-logo-apple:before{content:"\\f229"}.ion-logo-bitbucket:before{content:"\\f193"}.ion-logo-bitcoin:before{content:"\\f22b"}.ion-logo-buffer:before{content:"\\f22d"}.ion-logo-chrome:before{content:"\\f22f"}.ion-logo-closed-captioning:before{content:"\\f105"}.ion-logo-codepen:before{content:"\\f230"}.ion-logo-css3:before{content:"\\f231"}.ion-logo-designernews:before{content:"\\f232"}.ion-logo-dribbble:before{content:"\\f233"}.ion-logo-dropbox:before{content:"\\f234"}.ion-logo-euro:before{content:"\\f235"}.ion-logo-facebook:before{content:"\\f236"}.ion-logo-flickr:before{content:"\\f107"}.ion-logo-foursquare:before{content:"\\f237"}.ion-logo-freebsd-devil:before{content:"\\f238"}.ion-logo-game-controller-a:before{content:"\\f13b"}.ion-logo-game-controller-b:before{content:"\\f181"}.ion-logo-github:before{content:"\\f239"}.ion-logo-google:before{content:"\\f23a"}.ion-logo-googleplus:before{content:"\\f23b"}.ion-logo-hackernews:before{content:"\\f23c"}.ion-logo-html5:before{content:"\\f23d"}.ion-logo-instagram:before{content:"\\f23e"}.ion-logo-ionic:before{content:"\\f150"}.ion-logo-ionitron:before{content:"\\f151"}.ion-logo-javascript:before{content:"\\f23f"}.ion-logo-linkedin:before{content:"\\f240"}.ion-logo-markdown:before{content:"\\f241"}.ion-logo-model-s:before{content:"\\f153"}.ion-logo-no-smoking:before{content:"\\f109"}.ion-logo-nodejs:before{content:"\\f242"}.ion-logo-npm:before{content:"\\f195"}.ion-logo-octocat:before{content:"\\f243"}.ion-logo-pinterest:before{content:"\\f244"}.ion-logo-playstation:before{content:"\\f245"}.ion-logo-polymer:before{content:"\\f15e"}.ion-logo-python:before{content:"\\f246"}.ion-logo-reddit:before{content:"\\f247"}.ion-logo-rss:before{content:"\\f248"}.ion-logo-sass:before{content:"\\f249"}.ion-logo-skype:before{content:"\\f24a"}.ion-logo-slack:before{content:"\\f10b"}.ion-logo-snapchat:before{content:"\\f24b"}.ion-logo-steam:before{content:"\\f24c"}.ion-logo-tumblr:before{content:"\\f24d"}.ion-logo-tux:before{content:"\\f2ae"}.ion-logo-twitch:before{content:"\\f2af"}.ion-logo-twitter:before{content:"\\f2b0"}.ion-logo-usd:before{content:"\\f2b1"}.ion-logo-vimeo:before{content:"\\f2c4"}.ion-logo-vk:before{content:"\\f10d"}.ion-logo-whatsapp:before{content:"\\f2c5"}.ion-logo-windows:before{content:"\\f32f"}.ion-logo-wordpress:before{content:"\\f330"}.ion-logo-xbox:before{content:"\\f34c"}.ion-logo-xing:before{content:"\\f10f"}.ion-logo-yahoo:before{content:"\\f34d"}.ion-logo-yen:before{content:"\\f34e"}.ion-logo-youtube:before{content:"\\f34f"}.ion-md-add:before{content:"\\f273"}.ion-md-add-circle:before{content:"\\f272"}.ion-md-add-circle-outline:before{content:"\\f158"}.ion-md-airplane:before{content:"\\f15a"}.ion-md-alarm:before{content:"\\f274"}.ion-md-albums:before{content:"\\f275"}.ion-md-alert:before{content:"\\f276"}.ion-md-american-football:before{content:"\\f277"}.ion-md-analytics:before{content:"\\f278"}.ion-md-aperture:before{content:"\\f279"}.ion-md-apps:before{content:"\\f27a"}.ion-md-appstore:before{content:"\\f27b"}.ion-md-archive:before{content:"\\f27c"}.ion-md-arrow-back:before{content:"\\f27d"}.ion-md-arrow-down:before{content:"\\f27e"}.ion-md-arrow-dropdown:before{content:"\\f280"}.ion-md-arrow-dropdown-circle:before{content:"\\f27f"}.ion-md-arrow-dropleft:before{content:"\\f282"}.ion-md-arrow-dropleft-circle:before{content:"\\f281"}.ion-md-arrow-dropright:before{content:"\\f284"}.ion-md-arrow-dropright-circle:before{content:"\\f283"}.ion-md-arrow-dropup:before{content:"\\f286"}.ion-md-arrow-dropup-circle:before{content:"\\f285"}.ion-md-arrow-forward:before{content:"\\f287"}.ion-md-arrow-round-back:before{content:"\\f288"}.ion-md-arrow-round-down:before{content:"\\f289"}.ion-md-arrow-round-forward:before{content:"\\f28a"}.ion-md-arrow-round-up:before{content:"\\f28b"}.ion-md-arrow-up:before{content:"\\f28c"}.ion-md-at:before{content:"\\f28d"}.ion-md-attach:before{content:"\\f28e"}.ion-md-backspace:before{content:"\\f28f"}.ion-md-barcode:before{content:"\\f290"}.ion-md-baseball:before{content:"\\f291"}.ion-md-basket:before{content:"\\f292"}.ion-md-basketball:before{content:"\\f293"}.ion-md-battery-charging:before{content:"\\f294"}.ion-md-battery-dead:before{content:"\\f295"}.ion-md-battery-full:before{content:"\\f296"}.ion-md-beaker:before{content:"\\f297"}.ion-md-bed:before{content:"\\f160"}.ion-md-beer:before{content:"\\f298"}.ion-md-bicycle:before{content:"\\f299"}.ion-md-bluetooth:before{content:"\\f29a"}.ion-md-boat:before{content:"\\f29b"}.ion-md-body:before{content:"\\f29c"}.ion-md-bonfire:before{content:"\\f29d"}.ion-md-book:before{content:"\\f29e"}.ion-md-bookmark:before{content:"\\f29f"}.ion-md-bookmarks:before{content:"\\f2a0"}.ion-md-bowtie:before{content:"\\f2a1"}.ion-md-briefcase:before{content:"\\f2a2"}.ion-md-browsers:before{content:"\\f2a3"}.ion-md-brush:before{content:"\\f2a4"}.ion-md-bug:before{content:"\\f2a5"}.ion-md-build:before{content:"\\f2a6"}.ion-md-bulb:before{content:"\\f2a7"}.ion-md-bus:before{content:"\\f2a8"}.ion-md-business:before{content:"\\f1a4"}.ion-md-cafe:before{content:"\\f2a9"}.ion-md-calculator:before{content:"\\f2aa"}.ion-md-calendar:before{content:"\\f2ab"}.ion-md-call:before{content:"\\f2ac"}.ion-md-camera:before{content:"\\f2ad"}.ion-md-car:before{content:"\\f2b2"}.ion-md-card:before{content:"\\f2b3"}.ion-md-cart:before{content:"\\f2b4"}.ion-md-cash:before{content:"\\f2b5"}.ion-md-cellular:before{content:"\\f164"}.ion-md-chatboxes:before{content:"\\f2b6"}.ion-md-chatbubbles:before{content:"\\f2b7"}.ion-md-checkbox:before{content:"\\f2b9"}.ion-md-checkbox-outline:before{content:"\\f2b8"}.ion-md-checkmark:before{content:"\\f2bc"}.ion-md-checkmark-circle:before{content:"\\f2bb"}.ion-md-checkmark-circle-outline:before{content:"\\f2ba"}.ion-md-clipboard:before{content:"\\f2bd"}.ion-md-clock:before{content:"\\f2be"}.ion-md-close:before{content:"\\f2c0"}.ion-md-close-circle:before{content:"\\f2bf"}.ion-md-close-circle-outline:before{content:"\\f166"}.ion-md-cloud:before{content:"\\f2c9"}.ion-md-cloud-circle:before{content:"\\f2c2"}.ion-md-cloud-done:before{content:"\\f2c3"}.ion-md-cloud-download:before{content:"\\f2c6"}.ion-md-cloud-outline:before{content:"\\f2c7"}.ion-md-cloud-upload:before{content:"\\f2c8"}.ion-md-cloudy:before{content:"\\f2cb"}.ion-md-cloudy-night:before{content:"\\f2ca"}.ion-md-code:before{content:"\\f2ce"}.ion-md-code-download:before{content:"\\f2cc"}.ion-md-code-working:before{content:"\\f2cd"}.ion-md-cog:before{content:"\\f2cf"}.ion-md-color-fill:before{content:"\\f2d0"}.ion-md-color-filter:before{content:"\\f2d1"}.ion-md-color-palette:before{content:"\\f2d2"}.ion-md-color-wand:before{content:"\\f2d3"}.ion-md-compass:before{content:"\\f2d4"}.ion-md-construct:before{content:"\\f2d5"}.ion-md-contact:before{content:"\\f2d6"}.ion-md-contacts:before{content:"\\f2d7"}.ion-md-contract:before{content:"\\f2d8"}.ion-md-contrast:before{content:"\\f2d9"}.ion-md-copy:before{content:"\\f2da"}.ion-md-create:before{content:"\\f2db"}.ion-md-crop:before{content:"\\f2dc"}.ion-md-cube:before{content:"\\f2dd"}.ion-md-cut:before{content:"\\f2de"}.ion-md-desktop:before{content:"\\f2df"}.ion-md-disc:before{content:"\\f2e0"}.ion-md-document:before{content:"\\f2e1"}.ion-md-done-all:before{content:"\\f2e2"}.ion-md-download:before{content:"\\f2e3"}.ion-md-easel:before{content:"\\f2e4"}.ion-md-egg:before{content:"\\f2e5"}.ion-md-exit:before{content:"\\f2e6"}.ion-md-expand:before{content:"\\f2e7"}.ion-md-eye:before{content:"\\f2e9"}.ion-md-eye-off:before{content:"\\f2e8"}.ion-md-fastforward:before{content:"\\f2ea"}.ion-md-female:before{content:"\\f2eb"}.ion-md-filing:before{content:"\\f2ec"}.ion-md-film:before{content:"\\f2ed"}.ion-md-finger-print:before{content:"\\f2ee"}.ion-md-fitness:before{content:"\\f1ac"}.ion-md-flag:before{content:"\\f2ef"}.ion-md-flame:before{content:"\\f2f0"}.ion-md-flash:before{content:"\\f2f1"}.ion-md-flash-off:before{content:"\\f169"}.ion-md-flashlight:before{content:"\\f16b"}.ion-md-flask:before{content:"\\f2f2"}.ion-md-flower:before{content:"\\f2f3"}.ion-md-folder:before{content:"\\f2f5"}.ion-md-folder-open:before{content:"\\f2f4"}.ion-md-football:before{content:"\\f2f6"}.ion-md-funnel:before{content:"\\f2f7"}.ion-md-gift:before{content:"\\f199"}.ion-md-git-branch:before{content:"\\f2fa"}.ion-md-git-commit:before{content:"\\f2fb"}.ion-md-git-compare:before{content:"\\f2fc"}.ion-md-git-merge:before{content:"\\f2fd"}.ion-md-git-network:before{content:"\\f2fe"}.ion-md-git-pull-request:before{content:"\\f2ff"}.ion-md-glasses:before{content:"\\f300"}.ion-md-globe:before{content:"\\f301"}.ion-md-grid:before{content:"\\f302"}.ion-md-hammer:before{content:"\\f303"}.ion-md-hand:before{content:"\\f304"}.ion-md-happy:before{content:"\\f305"}.ion-md-headset:before{content:"\\f306"}.ion-md-heart:before{content:"\\f308"}.ion-md-heart-dislike:before{content:"\\f167"}.ion-md-heart-empty:before{content:"\\f1a1"}.ion-md-heart-half:before{content:"\\f1a2"}.ion-md-help:before{content:"\\f30b"}.ion-md-help-buoy:before{content:"\\f309"}.ion-md-help-circle:before{content:"\\f30a"}.ion-md-help-circle-outline:before{content:"\\f16d"}.ion-md-home:before{content:"\\f30c"}.ion-md-hourglass:before{content:"\\f111"}.ion-md-ice-cream:before{content:"\\f30d"}.ion-md-image:before{content:"\\f30e"}.ion-md-images:before{content:"\\f30f"}.ion-md-infinite:before{content:"\\f310"}.ion-md-information:before{content:"\\f312"}.ion-md-information-circle:before{content:"\\f311"}.ion-md-information-circle-outline:before{content:"\\f16f"}.ion-md-jet:before{content:"\\f315"}.ion-md-journal:before{content:"\\f18d"}.ion-md-key:before{content:"\\f316"}.ion-md-keypad:before{content:"\\f317"}.ion-md-laptop:before{content:"\\f318"}.ion-md-leaf:before{content:"\\f319"}.ion-md-link:before{content:"\\f22e"}.ion-md-list:before{content:"\\f31b"}.ion-md-list-box:before{content:"\\f31a"}.ion-md-locate:before{content:"\\f31c"}.ion-md-lock:before{content:"\\f31d"}.ion-md-log-in:before{content:"\\f31e"}.ion-md-log-out:before{content:"\\f31f"}.ion-md-magnet:before{content:"\\f320"}.ion-md-mail:before{content:"\\f322"}.ion-md-mail-open:before{content:"\\f321"}.ion-md-mail-unread:before{content:"\\f172"}.ion-md-male:before{content:"\\f323"}.ion-md-man:before{content:"\\f324"}.ion-md-map:before{content:"\\f325"}.ion-md-medal:before{content:"\\f326"}.ion-md-medical:before{content:"\\f327"}.ion-md-medkit:before{content:"\\f328"}.ion-md-megaphone:before{content:"\\f329"}.ion-md-menu:before{content:"\\f32a"}.ion-md-mic:before{content:"\\f32c"}.ion-md-mic-off:before{content:"\\f32b"}.ion-md-microphone:before{content:"\\f32d"}.ion-md-moon:before{content:"\\f32e"}.ion-md-more:before{content:"\\f1c9"}.ion-md-move:before{content:"\\f331"}.ion-md-musical-note:before{content:"\\f332"}.ion-md-musical-notes:before{content:"\\f333"}.ion-md-navigate:before{content:"\\f334"}.ion-md-notifications:before{content:"\\f338"}.ion-md-notifications-off:before{content:"\\f336"}.ion-md-notifications-outline:before{content:"\\f337"}.ion-md-nuclear:before{content:"\\f339"}.ion-md-nutrition:before{content:"\\f33a"}.ion-md-open:before{content:"\\f33b"}.ion-md-options:before{content:"\\f33c"}.ion-md-outlet:before{content:"\\f33d"}.ion-md-paper:before{content:"\\f33f"}.ion-md-paper-plane:before{content:"\\f33e"}.ion-md-partly-sunny:before{content:"\\f340"}.ion-md-pause:before{content:"\\f341"}.ion-md-paw:before{content:"\\f342"}.ion-md-people:before{content:"\\f343"}.ion-md-person:before{content:"\\f345"}.ion-md-person-add:before{content:"\\f344"}.ion-md-phone-landscape:before{content:"\\f346"}.ion-md-phone-portrait:before{content:"\\f347"}.ion-md-photos:before{content:"\\f348"}.ion-md-pie:before{content:"\\f349"}.ion-md-pin:before{content:"\\f34a"}.ion-md-pint:before{content:"\\f34b"}.ion-md-pizza:before{content:"\\f354"}.ion-md-planet:before{content:"\\f356"}.ion-md-play:before{content:"\\f357"}.ion-md-play-circle:before{content:"\\f174"}.ion-md-podium:before{content:"\\f358"}.ion-md-power:before{content:"\\f359"}.ion-md-pricetag:before{content:"\\f35a"}.ion-md-pricetags:before{content:"\\f35b"}.ion-md-print:before{content:"\\f35c"}.ion-md-pulse:before{content:"\\f35d"}.ion-md-qr-scanner:before{content:"\\f35e"}.ion-md-quote:before{content:"\\f35f"}.ion-md-radio:before{content:"\\f362"}.ion-md-radio-button-off:before{content:"\\f360"}.ion-md-radio-button-on:before{content:"\\f361"}.ion-md-rainy:before{content:"\\f363"}.ion-md-recording:before{content:"\\f364"}.ion-md-redo:before{content:"\\f365"}.ion-md-refresh:before{content:"\\f366"}.ion-md-refresh-circle:before{content:"\\f228"}.ion-md-remove:before{content:"\\f368"}.ion-md-remove-circle:before{content:"\\f367"}.ion-md-remove-circle-outline:before{content:"\\f176"}.ion-md-reorder:before{content:"\\f369"}.ion-md-repeat:before{content:"\\f36a"}.ion-md-resize:before{content:"\\f36b"}.ion-md-restaurant:before{content:"\\f36c"}.ion-md-return-left:before{content:"\\f36d"}.ion-md-return-right:before{content:"\\f36e"}.ion-md-reverse-camera:before{content:"\\f36f"}.ion-md-rewind:before{content:"\\f370"}.ion-md-ribbon:before{content:"\\f371"}.ion-md-rocket:before{content:"\\f179"}.ion-md-rose:before{content:"\\f372"}.ion-md-sad:before{content:"\\f373"}.ion-md-save:before{content:"\\f1a9"}.ion-md-school:before{content:"\\f374"}.ion-md-search:before{content:"\\f375"}.ion-md-send:before{content:"\\f376"}.ion-md-settings:before{content:"\\f377"}.ion-md-share:before{content:"\\f379"}.ion-md-share-alt:before{content:"\\f378"}.ion-md-shirt:before{content:"\\f37a"}.ion-md-shuffle:before{content:"\\f37b"}.ion-md-skip-backward:before{content:"\\f37c"}.ion-md-skip-forward:before{content:"\\f37d"}.ion-md-snow:before{content:"\\f37e"}.ion-md-speedometer:before{content:"\\f37f"}.ion-md-square:before{content:"\\f381"}.ion-md-square-outline:before{content:"\\f380"}.ion-md-star:before{content:"\\f384"}.ion-md-star-half:before{content:"\\f382"}.ion-md-star-outline:before{content:"\\f383"}.ion-md-stats:before{content:"\\f385"}.ion-md-stopwatch:before{content:"\\f386"}.ion-md-subway:before{content:"\\f387"}.ion-md-sunny:before{content:"\\f388"}.ion-md-swap:before{content:"\\f389"}.ion-md-switch:before{content:"\\f38a"}.ion-md-sync:before{content:"\\f38b"}.ion-md-tablet-landscape:before{content:"\\f38c"}.ion-md-tablet-portrait:before{content:"\\f38d"}.ion-md-tennisball:before{content:"\\f38e"}.ion-md-text:before{content:"\\f38f"}.ion-md-thermometer:before{content:"\\f390"}.ion-md-thumbs-down:before{content:"\\f391"}.ion-md-thumbs-up:before{content:"\\f392"}.ion-md-thunderstorm:before{content:"\\f393"}.ion-md-time:before{content:"\\f394"}.ion-md-timer:before{content:"\\f395"}.ion-md-today:before{content:"\\f17d"}.ion-md-train:before{content:"\\f396"}.ion-md-transgender:before{content:"\\f397"}.ion-md-trash:before{content:"\\f398"}.ion-md-trending-down:before{content:"\\f399"}.ion-md-trending-up:before{content:"\\f39a"}.ion-md-trophy:before{content:"\\f39b"}.ion-md-tv:before{content:"\\f17f"}.ion-md-umbrella:before{content:"\\f39c"}.ion-md-undo:before{content:"\\f39d"}.ion-md-unlock:before{content:"\\f39e"}.ion-md-videocam:before{content:"\\f39f"}.ion-md-volume-high:before{content:"\\f123"}.ion-md-volume-low:before{content:"\\f131"}.ion-md-volume-mute:before{content:"\\f3a1"}.ion-md-volume-off:before{content:"\\f3a2"}.ion-md-walk:before{content:"\\f3a4"}.ion-md-wallet:before{content:"\\f18f"}.ion-md-warning:before{content:"\\f3a5"}.ion-md-watch:before{content:"\\f3a6"}.ion-md-water:before{content:"\\f3a7"}.ion-md-wifi:before{content:"\\f3a8"}.ion-md-wine:before{content:"\\f3a9"}.ion-md-woman:before{content:"\\f3aa"}',""]),e.exports=t},645:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n,r,o,i=e[1]||"",a=e[3];if(!a)return i;if(t&&"function"==typeof btoa){var c=(n=a,r=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(r),"/*# ".concat(o," */")),l=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[i].concat(l).concat([c]).join("\n")}return[i].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i<this.length;i++){var a=this[i][0];null!=a&&(o[a]=!0)}for(var c=0;c<e.length;c++){var l=[].concat(e[c]);r&&o[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},342:function(e,t,n){var r=n(846);"string"==typeof r&&(r=[[e.id,r,""]]);n(723)(r,{hmr:!0,transform:void 0,insertInto:void 0}),r.locals&&(e.exports=r.locals)},723:function(e,t,n){var r,o,i={},a=(r=function(){return window&&document&&document.all&&!window.atob},function(){return void 0===o&&(o=r.apply(this,arguments)),o}),c=function(e,t){return t?t.querySelector(e):document.querySelector(e)},l=function(e){var t={};return function(e,n){if("function"==typeof e)return e();if(void 0===t[e]){var r=c.call(this,e,n);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}}(),s=null,u=0,f=[],d=n(947);function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=i[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(v(r.parts[a],t))}else{var c=[];for(a=0;a<r.parts.length;a++)c.push(v(r.parts[a],t));i[r.id]={id:r.id,refs:1,parts:c}}}}function m(e,t){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=t.base?i[0]+t.base:i[0],c={css:i[1],media:i[2],sourceMap:i[3]};r[a]?r[a].parts.push(c):n.push(r[a]={id:a,parts:[c]})}return n}function h(e,t){var n=l(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),f.push(t);else if("bottom"===e.insertAt)n.appendChild(t);else{if("object"!=typeof e.insertAt||!e.insertAt.before)throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");var o=l(e.insertAt.before,n);n.insertBefore(t,o)}}function g(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=f.indexOf(e);t>=0&&f.splice(t,1)}function b(e){var t=document.createElement("style");if(void 0===e.attrs.type&&(e.attrs.type="text/css"),void 0===e.attrs.nonce){var r=n.nc;r&&(e.attrs.nonce=r)}return y(t,e.attrs),h(e,t),t}function y(e,t){Object.keys(t).forEach((function(n){e.setAttribute(n,t[n])}))}function v(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i="function"==typeof t.transform?t.transform(e.css):t.transform.default(e.css)))return function(){};e.css=i}if(t.singleton){var a=u++;n=s||(s=b(t)),r=E.bind(null,n,a,!1),o=E.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=function(e){var t=document.createElement("link");return void 0===e.attrs.type&&(e.attrs.type="text/css"),e.attrs.rel="stylesheet",y(t,e.attrs),h(e,t),t}(t),r=O.bind(null,n,t),o=function(){g(n),n.href&&URL.revokeObjectURL(n.href)}):(n=b(t),r=S.bind(null,n),o=function(){g(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(t=t||{}).attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||"boolean"==typeof t.singleton||(t.singleton=a()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=m(e,t);return p(n,t),function(e){for(var r=[],o=0;o<n.length;o++){var a=n[o];(c=i[a.id]).refs--,r.push(c)}for(e&&p(m(e,t),t),o=0;o<r.length;o++){var c;if(0===(c=r[o]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete i[c.id]}}}};var w,x=(w=[],function(e,t){return w[e]=t,w.filter(Boolean).join("\n")});function E(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function S(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function O(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=d(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),c=e.href;e.href=URL.createObjectURL(a),c&&URL.revokeObjectURL(c)}},947:function(e){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(e,t){var o,i=t.trim().replace(/^"(.*)"$/,(function(e,t){return t})).replace(/^'(.*)'$/,(function(e,t){return t}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(i)?e:(o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")")}))}},748:function(e,t,n){e.exports=n.p+"03f9f978feb2b015b6812ba10f689967.png"},955:function(e,t,n){e.exports=n.p+"14aa35d4e84aebef77cf00b421fc393a.gif"},136:function(e,t,n){e.exports=n.p+"2ba2db4ff86a2663686a100e75b50ba9.png"},216:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAEYCAYAAACHjumMAAAACXBIWXMAACxKAAAsSgF3enRNAAAK90lEQVR4nO3d/3EbRR/A4d13+N90gDvAVIA6wFRAqIBQAUkFmApwKoipIKYCnApep4O4gn1nX68nJqeTTqCvdNp7nplMZiRPnFiXj/bH6S6XUhJAhP/4qQJRBAYIIzBAGIEBwggMEEZggDACA4QRGCCMwABhBAYIIzBAGIEBwnyxpB9tzvkipXSZUlqllM5TSl8Nvgj+vfcppfuU0m39VUq5W+rPtPtPU+ecv0wpvUwpvRAUjuRDSulVSummlPJxSS9C14HJOdfRypWwMBMP9Y2ulHKzlBek2zWYnHMNy1txYUbO6jGZc75uI+vudTmCqS9gSumHwRMwH3WdZtX7lKm7EUzO+ZW4cAK+Tild9/5CdTWCyTnX3aF3gyf+7kN7YesK/93SFt2IlXM+bzuUdf3vcsIU/edSytXg0U70Fpi79s6wTl1ge1lK6f5dg/nIOb9oGw1nI3+pelxelFLuB890oJspUnshN8VlJS4cWjvmztuayzpn7TSKLnUzgsk51ynPt4MnPsVlsSc7cXxt1+h25E3woZTS5a5SFyOYNu9dF5fqSlw4trbWNzZSOWvnbHWnlynSavDIo4c2/4WjK6XUEcyfI3+PsWP4pPUemMWdms3sjZ3FezF4pAO9BOZ88MijsRcTjmVsut5lYLpY5M05j/0jvrH+wtyMHa+llDx48MR1HZgeXzBO35KOVxecAsIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBBGYIAwAgOEERggjMAAYQQGCCMwQBiBAcIIDBCm68DknC8GD8IR5ZzPl/Tz7yUw7wePPBIY5mY18vcZO4ZPWi+BuRs88mjsxYRjGTsmx47hk9ZLYG4Hjzy6zDl/OXgUjqAdi5cj33nsGD5pvQTmZvDIo7MNLygc2ot2TK4zdgyftC4CU0r5mFL6Y/DEo1eDR+DA2ujl5ch3/aMdw93paRdp7B3gq5zz2AsLh1KPwa9Gvtf14JFO5FJKP/+YnO9HXsSHlNJ5r+8SzFvbmr4bmR59KKV0u3Xd23kwY9Ohs57fJZi965G4pA3HbBe6GsGkzaOY6vtSythUCvYu51wD8svIn/u+lNL1uVo9nsm7ab3l2tm9HErO+XJDXNKWY7UL3QWmjVDGdpTOWmScG0Oo9ka2aVr+Wymly3NfnutuipQ+bQneb5j31tOyVxZ9idDiUuOx+OOvyw87thfuxeCJT76uB4CRDPs2IS51R/PFUt7cuv00dZsqvR488YnIsFcT4lK9LKV0+bmjdbq+XEMppa7gvxk88clTZCz88q/knFcT4vK6lLJpXaY7Xa7BfC7nfNdiMqYOWy+XsOjG/uWc63T89y1/8JtSyqZpe5eWckW71ZbrbdR3nXftQIHJcs5X4jJuESOY9Gln6XbbSKaUYk2GSdpHAP675WsXG5e0pGvytlX71ZY1mU3zZ/jcts8QvV5yXKovBo907Gn7Oudcf/9pzb/0YfAIjLsffSalH5e2oLvOIu8qUEqpp2j/uCYoLuvAZKWUGpjfPvv6ekx9Iy6PFrMGs06bQ9fPi9R1l+t2wMCux9GqTb8/tuPIGeLNogMDxHLjNSCMwABhBAYIIzBAGIEBwggMEEZggDACA4RZ1GeRoj27uXn9/caZwfPTzt5etb/YjbNuYzmTd09GLpf4cynl6qT/YR1p1/u5evYaPbSLby/mEpaHZoq0P6/WXO7h15yz26TMwLMLQz1/jdzxM5gRzJ5suaPk+3Ylee+UB9biXi8A/+3Ydy6l5MGD7IURzP5sWm95urj45eAZwrRp692muNSbzw8eYW8EZn+23cS8DsfftqE6wdp6y18bRpVPXAMokCnSHrV3zJsJB7U7Swaq614ppR+2fAd3kjgAgdmzKXP+xgG+ZxMv7J5a4C+dRhDPFGnP6qiklLLaclfJ9OxWKYboe9CuKnc/IS5v2uhRXA7ACCZQW9S9XrN9/bk/lnS/4n1rkf51wh/rvKQDE5hg7czRmwnvrB/asN1W9kRtSnQ1cb3FCXVHYIoUrA7FSykXW+7HlNrC8K27S07Twn07IS51veVcXI5DYA6k3YBr3a1SnqtTqd/bLggj2tRz2/3GU7ur4oWp5/GYIh3YjlvZdjo+k3Ou5xv9MnhiyI3PZkBgjqCtHdSD/7st3/2hLf7eDJ5ZmB1+ZtayZsQU6QjaVvblxK3st+1de7GefVJ9W1z+TCldiMt8GMEcWTt/42bCVvaf7Z15UesJay6xMOa3dktgZkRgZmCHM1AXNfxvn9v6afDE39Vp5EvrLfNkijQDbcp0seZG6p+rC8N/9X72bw1uzvl2QlyePtMlLjNlBDMzO0wJ3rR37q6mTDvssjn7+QQYwcxMezdetXfnTX5oJ+ZdbPiak7LDJRZe10VycZk/I5iZ2vE0+JPfyt7hEgu27U+IwMzcDh/kO8ldlB0+q+XEwxMkMCdg5I4F65zUVvYOW/RdrjctgTWYE9C2pc9bQDapF7m6b/9xZ62NzN5NiEu9xILF3BMlMCeilwtZtS3omwnTvrre8o3rt5w2U6QTdKoXsmpTveuJ6y2uWdwBI5gT1HZRLiZsZX83l63sFsUpZyu7xEJHBOZEtd2U1YQLWX197AtZtVP+324ZcT20Syy44FZHTJE6sMvZv4f8D7zDHRZcYqFTAtOJuV3IqtetdXZjitSJ9u5/0RZ2N6lTprvIrey2g/XXhLjUU/4t5nZMYDqy44Ws3u37QlZtC/p64hb096WURV9IawlMkTp16AtZ7bgF7ZT/hTCC6VS7Je35hK3sp7N///Fook2JJm1Bu6vishjBLMDEK8OltptTv/ZmSgTa7tWrCQvLyVX+l0lgFmKHrewn79uo5K7d8/nJqo2MLif+We6quGACsyA7rJPsiy3ohbMGsyBtFLGasJW9D7agMYJZqvbZoKuJ6ye7+NA+YHm79J8xRjCLVT8wWUo5b/fL/rCHn8NDG7WciwtPjGD4vzaiudxh8fbJ+2c7T6ZD/I3AMNAWg+tazZft9+c+tp2l+utWVNhEYIAw1mCAMAIDhBEYIIzAAGEEBggjMEAYgQHCCAwQRmCAMAIDhBEYIIzAAGEEBoiRUvofC1mUYG6CPtYAAAAASUVORK5CYII="},586:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAADOCAYAAAFORQ6CAAAACXBIWXMAACxKAAAsSgF3enRNAAAeE0lEQVR4nO1d7VXbzBJec+7/kAoCFYRUEFJBoIJABSEVvKaCmAriVBBTQaCCmAqACoIr8D3rzJrxeEfalfZTmucc3fvG2NJKo9n5nlHr9brToZTS/zPt+vsJnMQZk4n+yXpivq//vVkF+swF//O5oFLqnl7A/JsuqPV8LnfsetLJZPKilHrj8t2DlhNd+NzJer0+1N81j7/TheHHS1/awQI2F59MJlfcd6w09qVXw8VPuHPt0HgymSyVUu/7XnTvIpaLby8c4i7bLq4wF2yYOfJF6QI2ZPDdQEJd/EChxxD5Ylf4OpjGT0qpdzEeuW2b3fLxer0+Qvx3EuiCT9z7Y+PjZ6XUS98XbvsS/dtG9/9OXy58QaDJSm+FPhdULcJDf9YonXwlj89TchKLeOO3bn+vT8aZNM7ymDx+698YfLN9HHUDYQXEZLKwXjjUFtp0Hk4eX/a9KOAtuyjuUYfiY+7vrAbiqsJ0uWjjhdHF71wXMJlMZs5PylUBV0pdgRLPHj4KfVcrYuF7oV4Xhjt9snx24nvhRhoT+m1op8UnfQ+UUke+L2LrzuVjG/mwYJslYe7S1ZIwioRVBu+cu5gNxKw4kCXB0nHnwujROmscDhe3bkBGodcX+hvbksDn/x+s5mdsS8I8+h0TJiXMxf/nw6d9ANc5Nnd+YPg0lhmzUXNeX9on/Ozxvjvtu/nTfZzd8xuEwazPBZtuYO/C1GHW5e5dfqO/Q/XqO/yPNkWe0NLnJb12ZqemvbdBf3ZXb7m3G+7+AvZyfFx4efQmk81TbbQW+4KzFPVnNnl8Heiih7YbaNwyQ9x1J4W+707mIs+DWxL6ZdMe3LbvuVgS+n8WjhfVCz1yIVOrYd5kkBN4yfTo8tj4z1q+9kz19VhwdoF43uTG+6w89AtMyZg6ibPl1Abji4dt48TH/lBwk1gXgmMean0GvSmMKPMtFGUQ/x6i879dr9etBlkbOvFwqtePXHOmlPra95o+Wo9+vb70vWAI9Hngzk6IUK9UaKD1Pei9o+30bFARnSQrNdtgi54rpT6s12stKfZwgL78gnZZs2MGCf+kApIMR+Ze6KWzhBRzYDKZaBXw6QBbPgO7QUrhx014jeEBneRxmn6Z/eCye+9sWszNZxdDTUDrdAorsppWyTdP3kSv9bT55Kdk157g3bzXqj1gVEw4pmg9p/CZM/t5Gw8mZQlufoEWEsSbbjCZTM7Qgz1BNzm1rOmOPZHly71dgvC9UxTqO+vo81ygcxw6fP/CY32bc7p+0Tv5kMQ52cXj74V2CqPvHZrvuZx0GcJVrrUf8AWv4f87vQUd377tg3HOhVSFiSef3J9OMaaSbrrPWpx3aQ8vYlT0ffBeYon6nBLf6AVc8yaJx4NZhPlxNDeryZFWgdipl9cSKQNHE0vcyfd8WNlAtvnh2tMD2rboqIeJALccnQO03qIs2YWUOtNpSEgOH6W6tjlShFlaL5BKzAWLOFCQHfwYW1qIF8+V3SsRBVFulkYgdtI6ENbr9QJu+lilkOuB+XLaVfFf7xoOTyHXFZxniVulsx0MgefPKgIvB3mNCW/2MvjX6/UZVle1DA6xRhVAm/KO9XqeP6i/rDNlYSHvY4Zb4LyfVKDNq0ul4yb5UiU2A0P4w71uNrSC7ou+bOOVAA432svk6gOTHqFeNy8vq8sl3qsjgn9UmS6bDYIlupd4o+p1PZuCJ9fNq61MV+Oy1BjRer2ekdd61vR9W66mNr5/qMIDYRQumyctR64i4scBi0VbTglOV8C5DdXdqPpHIJyS+pcWyewUIYM5Zk3iqAlww7f6tcZv6yjyMkxOxlhudnOTB6lcIilB4sAaHzY3DSE/s4NpVZBtYVHJjVoliikxMjvYSidY1kplk0IB/3xrrUqxKBVB3Csp4aIfTHA3CPLl7bYdOq8iJHDVo0uopHE3Llmj8g2wWSmLQd0iJaQMmlQm9UpNd5u2xY/7tN736QYrVfT0KR+iNczR53fOPmkHp/VeZaIJTiW8UeuDNgkrrufokiA2gc4yH2OLKVOxAv88t+wbH33O16myxPAJ1lJCb2AhN0fjq3KhLOuRh0Vcq9cb753BTpSD40APcbOxOokelwuGoITvOSavzfMa/chbQ6DLomygocc2fxBZzNJHOSBwjwW17GDzPnmHcCzazg/Hsst1fNbjVCcU4rVseeDe5/dp3wfrOHd6jX1eSQySUqA3sgf480/yty5477mWhfMrkEqB8GSV1sxXnXrkk6J7VNrNmh5PHt/fqL1Vpud2XY+r6PnZaVUR0WlTc6GsKoi6qXOQ3asyAsOUwHQWha6UVbuRb7b8M/LN9nq7OnWPhv8838iuRAjBRn1r6ZN4IEPtF50MAbjoTxo4ioGQG2PvWE8sD2SM8/Y28SymnVPzQBtM12F0o5+CPsC+lN07YYDXOpYsD55vTKyZD8jS4fBsKBi0AMKCwcRncSMST+gE8E4mbOmIViYQG6ZFMNrTMGE1d1xjDoFuzecQt8P4TsqKqk8rMaiKcyG3/Bf5OIgux/Q/q7IJhkHxxCXpa1tElVV2Qle3fRdLXJyEiZDcpma0w2OuSKskFCVzcX8QRNgbpFkml4dEEzZ4rCF3LjvnglvtN/k4WW/PLoDRVt/JT5261CVdZw7icnK01DaDTcAFSAjXto5BydeWkriMopLUVRsTpegJBtFlrkmMAflkCHuL5OggCKvUa38xMgHpT6w+Y22IwrmQgvVIPq4muzkkYtrmbQjKuSh/FhPWNLEYHWEV6l+BstoVymyP0h7coDdxTXo7MV+u0bZbvD2YCqabAypS0fiCCB2su4PqEca1bTXFmQI1IKbl4JNXMxjzpVTgTgQIneVz67ZsosmEsDgeKYQNBG0yoW37Bs6K5bNXDpeVuA7mS7ZEsbFAV8ciQpsEgI+I0K3Vs9ttmdl2R2m+lAzGn20VjZhzsbts1OZLyUDcfIyWaXV1jmYWx9BBXJ+bJIMDNLdL7NFKgFImsemJfdpaNs8OUCncu755moJ4IINAjJK7dXpYMim/0o5S29lpBFVkHgwNjPKkrRbWk4V/s2MKEfX7HP3pEXF1tQljpYOMzMGExdkoYYqOUQHgCdOM3XvYihz2AlHLcdWjitWtyJqiwQ3ZuF0IXsGkFqkQiQtB298x2QdF50DlABNsUaEzNViZ2wVk6Mc9nEI07303LiYsHtQQLwWnR+E+HoyyJx9MZwLLkXyOSMqj4b73hrmhOWf6OA2xTnzNUJkYe25Konlfoj8NTvMmCQvGlFyRESq2HQw7IYKbmkmS0tfr9ZxJ7v6NCJ09FdQHpLDW9DJ7RsR08ctvdZUYfoQ+xMVhP2cOJDFLnCX4HyJ0kRmRjJfoHhE0qxJJdsL7UGPpwhT4F6Z5N5h9uoVU74aeEZ7fHdpFPgUT3qGVFjOglRwvsZWjBqdCUIcNGfvbyWHRRo9gJ4Phy7EeOKeBXgQ6/xVz/iAarAshSiQuHlwdnavWaHB1y6Fzgc8wcWCtU2ZHwEd0Uw3WZq4ZZCQdeUE33YGL7WPjcf1DIObnDj9/hhcgacQrxjOznbNTh2GCDyYds0+zz64A+7EanzZJbHsOdE6r2RXC/bjEi+za3HRE2Nb1BrQCsOm49SPEmBaqIK9Z0l8JyDOKXroaumO2wW8J6u+C5KjdpihdDep+tBC4KpdiLJCi81WquHes+tydk9Y6+C4EiNctaZJ/lMABjQSVMn8nNUhZ623qJP/oSemWDL5sPSJSwdKHMkv2aLKKAwuRqx8FSGEpwcxaa5W8nKS0ji8hYOsYW4KekbyDHOr4goP2uONLtB4RIaHXaekY+7zez/zPt8bUnGtdBB83Ncjaqwq689xZemhtUKo1UETvRzOplmRoYL/rL9ITGR+zvg4T/XvIVHyxXQO682DCJul03hc19luecRwUGCsI0FfrKx9cfS5sodqmPiVDOO8hw3A+Fr/3IIgL2/LCooW34QGmww2ygrHaGQfqH1EvQCb+7kBYBd1WH4fqQauSuKbUUSn1g/mKHu1ElZ5PMNSCC5D/GFyJaoq8p8D5R1Mm98k7O5HMrcWH9wzbEo/atGWbd6t342rYkm27QNXd8aogbui2eQ3XubOMua/WB168zIXSEkrYmxgOeZgh9IF8/LXWMtSiOdenW1qEa9tEQFW5YUVyrvZEWQhrnPJJuAh2hmvy8e+axsEVx7nMtI9LXQaaaT3VtiIuhrg5xrr5gHnpih4BV8S2DFmSlLD3JUVcoAv8Ofn4e8nKVgkTwapTXBhFr7hskmycq6M3JDtwgxqadaPp9Rh/SusIkIW4UE9E5w79rCm/GSrrj8nHn0sa3lhKglzVjUNLHWOXjHNNX2dCWNPOp+p4KlTrXZKPf+XuYZ2EuOCzpS7E6yG12TftmMjHppNelvvMUXGghj6LqJQARDTiMo0sR9PwM1UkqwlRtmXw5lDCXo6pk6tppoZm9ik0ACpJtkdQzpWRcHaAB+4/8sfosw9Dtk2oYo57LuR48YNsy6DyU8J+EsK+wlRVoNFtBn9jdSDo2/ux6EhOqWDa4AdXtjpzLhPJuRXCtkP7zi3PyShbwXa7rsORB1djmwvMLKcgw0C8iAt1ONThL5M6e4J5rr3Fm/O2DEXRdAFRshDHBu1bB0LuVEP0LXNx4twhRnJKBZMg38mz10jcElxoYwXjk/diKHZbZpLBBxXJKRmwTd+SJT76NE61cu4YIzmlgtk9nZStHc6F3hBZk8EFu2ACEMolAHGAvry0eE1GFckpGV0qILbbsoVjZRsuEDaXL7dF2xSqB9mGy0VDAGIPg+tmM2ZoGYxzvoW4AwDVqM02LcQdACwexI2j6QBNk5SZBBXAmKskJ5pGkDaEnkAHFwNxLRYMWtlAtWQ6OIpqyyZgLIMnCgLqNNDW83KrQWsOP2B8mP/lzJQXvALkKU0T5mqXcW3S6YZzIer/1vLlv6UOKh46oEXwXokrOJc4/QjL4dPttoyMY+ri+hw6t0fAA7U+pHnONw7OpZ1wIGsKlTaFegxg8qmUqyuY2LsrNp4LWvMn8vG7oXY4zQnErZSw1z6uYJKg+MY1zcZWtSZmUwCEfrbYHHJKkAMBTlsEGLNJRqp2ACpGp4Q9D8U03u7HBrkgCXOOYHpaBdFnMOd29i0zCtd9g5o+ejBlJCpkaybvbdkG2DpoH4iP4qe2A5iBEvYhZmumIFEhppuLKFx8aauKIcZI5QJvCvkAZAXtUzx6PzVwKyXsbcQOPlhmL/tU+Z0B8TbhJpSlN3o/dYvr8Ix+L5r3r8cgie3AB8vfDpnBEIshDIZoeCbcfc98n2HH61+hc85jTb4enZ8aAizWQvSELYrw7vgUtcmYnhpiS6iGJpiDsIlRg9LP5E/fMhSiY6Z5SdJBrsVP3bvIOBfAGWGrV55karKNOXcZRea2/O7OIpNeKpOtp4xsPe14jqdA69qhSY7J11X7qQM6I3bkY6Dl7SBLv2VUSX5D/vS1VLNJOyMY8+ZDx5ZM+Ddxmoen3pbbzoWOu4K24eBmHRFPztt50duyDcDFxfmpYWQ6V6vcVxHchvqitf0v6c2D8z7lVrh8nREhuKw0zsUpHcG4K7efGjIjqDNildgZ4Q2yw23yl/sQdydHNuRCc/ipUVcBmhlxWUl0C9Pg3zZf2tbisUUGsQ3hGi8xz2+5HvYBB1EcbWKyeOKia3ETr/Vx0eF8JwxR9XES+V6wXnEW6Jx7tOjbtXX741R+VCa9B+MBRMad0UIhUKF3AJ2S+6Xht0nShGI8N9s5+xIXJ3olG1oIMnfpUBjliqTJ9qmI29fOnTL/HRUQUjxC9jGNOrnClGikJCy2j7uum57T7iGLsdfnPEBr1DsIVjBe4N/T2PLUU95eBTrnzGaL906QIx4cyV1uQewtGfe9DuF+xM5/KfdsQIqACK4X6k1c4rWhWfSCXeCXn45oDY7ggQOpAGwEDhaEfE5m99xx24ZKSt9pAC1DLPZBS0lSPKNQSelz/G8pJ7ECZ2/QJIUoCDkRbI69P8K9u8jhzQsmc6kMEdn7CpLG+9z2/VAIrVDhJHQ6hGHMwG7SZAn5wXs/EoN69IMaSQVk9fNzcdrq+zErV+C0wFybtBNQlK6ttC3AWJUrsoslb/MUqxBsZytmMggHDZpgn6N/V8zU1p12gxBkHwVgO8ZNYb7luO+ozbQtM3FG0UqB7FTZ7jl2CeeSJJu/GToHUxGU82WOXnEArkkcAXkzVBlseXFtnXCTIVV97gUtFxlaSyNL4t557vE9SQdYMHPpqnZ0MHP7L2kwJQeSFoKBDKZb1ftauRh6TBVJWJVz9AzT/1DVkIfFcKsqbW5/thJO2IppwZeCGbFFcjI0N3lp6FpTDGFVTuKq3YIvW/D6NxA5+xaHmoY9Wqodrot1r5aQa4zyb+cN9UBrSDA7SrCOQ5ILbDuKqfxn76PIRTUXfeHjDirmDnsS8oLpsmM75qUT1RxFz/IDxeWugJTZFZRFFiVT21BETwwOUBN0AjLtbYpcX4Rb0Nw1AxzWRlhV+xROyNO6sFTD++IeutMMal6DjFgtFFANeAaFbcFKVUHM3YFCKHVdlUIYtwCAdJkGZNAuuAVDQGr5KoAwbgaAY3VWeE2kls7TUkIggl0I4yYCMOvcU6reorY8vdRa8AYZ1fuspR2QDTfAyKPJciwZwrgRAQOcFo6SNYuEA4a+AkeQ66aSrCWVwA5h3MAARpi1NKkzuIeuhkU5iaAx7pWDVF5BZ8M4raIFLIRxA6FhFCPFAzBrFfGlod5X7RDG7QGwWxeOkumiZo+tpyZxC/cr9nAkFJ2BUSIgrXUJWZC/W5j2GmVwVB1mgWyYC8iGOTbzExjoeYZ/xz43OSZE4joApM2U1FFzGJW08fCWV691lARh3AZAYsTMQRUW++7VHp46PK9ncGqJPdwRwrgEUDi8EAnSD9DCx0VDuQcmFnvYA2Ljgiqs5/aB3fqnhWkHY7fGhO6aj6pD7hsu9RHZwxIbdsSoJa6HVBAvaQB4ajNTSfLgMTrGhaqbuditeeFBh2eggyR5IIxCVdY7PQrh/Gp4WVbQW2gChcDCtJGgzQwwNyakpT7FO9QQZQlppKPHYCUuhHDmEFNsw03J8+fHAk+a/YTBlqM0XwbHuB4peuLNLBhgD88dCzS0w3BUiR6DYFzP1ENJiq8MY0otdUW1Ni6kHt45ph5+QyEcYdrKoGmG7OGmyR/6HfiF7OHBTierTuJ6hHBGbQMNHWMveqiCcSX1UNAE8DTPHTtCDsIeLpZxPZwTknoo2MKz6OGq1p5aRTGuhHAEIeGhqVVX9FAE40oIRxAbQyt6yDn4y9XFLyVggmAArW7haA8X29kyaTioYwjnSJhWEArQyeMUQksfWjp5fIXKpRfQCotBEokrIRxB6fAoeigiiSca40oIR1AroE/Wfw7LfwAmTt5eNyjjSghHMCR4RjmSJnn0tnGhe8QCdY9oYtob6R4hqAVgD5+V2Nmys8SVEI5grCih6MGLcT1DONK1QDB45Jr00Koqk0ZqPiEcYVrB4KH7YqGmeDcN96tNyD+gSi/Afu4MVuJKIzWBoBs8ix46pe7uMa7eDRy8aBLCEQgc4NHZ8l4nhrg+UxvjvjDqcNXVFAJBbrTlNoDK7QSrqgzu7Av453xs/XwEgtgAHtPZWoddeExGkAgEBQFU6xmxj/f8SMK4AkEhcPAvXRpTdRsO0jFaiNMKBIIIcOCxthDRDyiGUAckRms6xgeJNQkEYwbkQMwMTxEe28tzAK/yMUx2uGUe3SZ0pL1YnBcZ4x507ORVEAJBTfAoTFjpnP2mLwCz23B8AD/+BuEeDtpQfkT9akWlFggApEHE3xamXUGGoYs2y40nPd3YuJC2ZRpOn0OuMYf3SNw/GZ1bIBgTCLM+tmRJ4WFyhx7jQ7m04aO9XGWYonbk2NrjHeocX1x7D4EgJMjURxdmPUfM2iVxiWPc08YiA53SCOMmTT1i02RxbSd/R86tqTi3BLUDPMFPjvXmWlP9lKLmvFMc13P8g5JeUoKaAObfzCG/WMXO2+ccVL0TMICJrxx79CjxUAtKhEePNAXv8FWKIptojGu5kGbiqeMDeIAHILW7guTwfFezCJxkjEsu6qNyPAMTSy8qQTR4dHBUJdSac4wbtSE68VB/Eg+1IDUs2UttTKu7WLwFB1OxvdKyFBl4dghQkAI2E+eWwAUdnKfFvl9ZVGUXiIdaEAIgDGaOPZBXwKjF15kXy7gY4qEW+MBTc1vBAC/XrKXsgNTi35Z13Ccd+tUGaEA9BftiIjnUAoqe2UvVMG0bkjMu5HiuyfECu+cOJIdaoCJlL+m4reU9rEZzyyFxLyyfvWE+30I81OOC3niBdqaOtSmkqN+FD549vW3v27vCtDZuLXdFqcqu0ITpk0Nd1t0IDPQGi5j1V0tixD1i1pOxtQquknExtGMKDSp+C17nJvyHmHguhRB5AcUohlm/OzDrMTDraU9mtdrGhWXxDUvicgDn1gVi4uuWn3xBE9bubHa2ICwgIWJKEiKamPUWJUScjiyCwL6Pg2JcjAAe6pP0qx4mcPYSdIjImr3UYMc2mVw5YLXrtVaQg3E5IkRlFIuHuomJ8YAm8VB3AEQPFohZ2+ZQXZtNVs/SiZxgwzFuMXZy2+aSg3G5h5PM1gQP9aF4qMPC0s7FpfeSYdaUTsPiGbdhjRtToSTGdc1bDgrxUPcDxFhrS4jg1liSY4qzb/MwbpMKlNuutHioud62BqP0UEOM9QnFWIto5+KCBhX0uTDHF8cLm80ll3OKk2rFOITAuXUmHup/sMRYQydEpALHuMXUgYMAsG6G5lnmYlyOkEU6gcbqoSZhG58Ya8kJEVyGXkkNHDg+eBV4ujoo9QGSdW07cqynzwEP+YW7H3I8QTVTqfdiSixd7mUNL/thRbQ6Ze7jpbB1Lph1Trffybi4JbO4s1peBObF4O6LY2Tt4DrKtF5TRvnkseZZTcxK7nfexhCFrJN79ifb72Rc3BWzuLsaXwrL/R2BSeDKEDvPABj6NOB6ToHpfJh0DdpEUS92x/s/bLjHLBtnA51sa1zufC/zIlt3liEc8NJMPVTq3MdTzZoP865xJsCisHU6aQVZO2DoNDgmo+ZWe3QzLCkZICxx4dGyJya002PecUxG8QAv7V9mnR9KcqQ1TOjbWWduxq3mgaYCMLQ5Thx7/rpgBfb3AsyR0TzbWgQENGX/YfnTPczOff1uTsZVzX1uH3RYIcOSBAMCxNMfmTsqTdoumfjtJdWGimgWBy1DbAH9b0PqEyRIjwZm+KlLQEshSUNjOOsA7FLK+jh15buU1wm6AlRPG9OuSmJaAJf3bv28CMYFdeWG+bPMFRJ4A1Rkm72o2vqbZYLtPX/mNM7S+irfMZUbYu8KvNBgfhWlIndFUYyr/j3wF8aTuudZEwiYd2jOhNm0BBtE8UeJrWuOmAT+jyCRBQIWEKXgYuOD2fiLY1yo1+XUYmFeAQtwRnH9rM6H1GiuOFXZAJIznhi1+RnSImXwl2CDhuQFZYuD1o5iuzwCU3Jq8zsoWheHlaCNaa+HmMpZdHtWKGA/bOiY8Uf6Po0bQP8mph3k+1GsqkzRkBqpQCofieo8Luj2rw2dJAenHmNUw7jqtZncXUPi/SBidIJmgP9j2dD36lNhfa6Co6pJBjrDClRnbj7QF+iRJA3MBwqg7V+GaVfQ92rwkYeqJC4GpLQtG6TvCjpIjK40cKhoKBhQY0vQqXZ2EPRA1tL3kvnKG3BevYj3uW6YIdQNTHs+tqy6aiUuBYwG+d7ytUE7LIYGB5/GaHPYB8O4Bo4MfA89lcQLXSAcGHb0ZtDgxmzCVL5JgwqtoALpr8z/KQswLUFLkj8NTKu1psOx+y4GJ3EpwIm1aJlvYzDYgH2pAOk6d6CPmDkIg2dcDEiNmzk2YNPq9NXYd/YYAGadOUxoXIFJI4UlBKNiXIyWTCwbfkJv28FUmKQCJExcweG6aYoPogGjZVwMcGhNPVuhPoPUmMsLtouOPaMfYK6SaDgOEMYlAJu4qRi7CSuwpxe558CmADyrM2BSFx8CxT0wq2gxnhDGbUFPRsZ4hhDHspaG5HDvJ6hBexfmxLgHc0Ns1p4Qxu0AyJe9aKhM6QtTxriEeUMv8N8GTy5SChgP91g6gTlGCrVxaXMQdYUxJRYiUcNDGDcQkNp4FpEZSsQzMg9EkiaCMG4CEJXzpDLGfgBpX42KPwYI4xYGpN5iNReruMqT8XH3EKxyP8HxIsxYGZRS/wdMy556YAU3jwAAAABJRU5ErkJggg=="},709:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABHNCSVQICAgIfAhkiAAAAxlJREFUeJztmt+K00AYxb8JfRm3975A+gp7q8/imwje+W9XhEXXTDIWVPyzqBeuIArKIiyiwq6IStI53uzUdjpNZupOJ0nndzchLSeHc75O0hBFIpFNhrmcnKbpFmPsjS8x5wGAIef80Pb8xPHLt90lrRdXjU4GMMZab4CrRusKdCH+CpcaDBy+dJuxf35JKa/leX5pBX3nTpqmVxljl9X6rAZXbD5rXQE9WkmS3LJW6Bkp5fXZtUsNrAw4i/9QrQH8qKrqvr1Ev5yenj4gou9qzRgbpmm6ZfNZKwP0ycoY2xNC/HZS6ZGDg4MSwO7sMdtfAysD9EhJKVsTf8WqNWg0wBD/X4PBYM9dol8AcABf1dq2Bo0GGKJ0b39//+cKGr0ihKgA7Mwes6lBowGGKN121LY2VqlBrQF6/InoD2Ps7or6vCOEKIjoi1rb1KDWAEOEeJZlJ6tL9M6EtIQ21aDWAEOEWjf9dQA41WCpAYbpXwG48/8S/cI5fwjgWK2barDUAEN0BOf82zlo9I1kjN2cPVBXg6UG6NEB0Pr4K1xqYDTAMP0nUspd07lthHP+CMBnta6rgdEAPTIAHgshjk3nthRJRFY1MBrQxemvY1uDBQMM0x9lWbZ297eMPM+fENGRWi+rwYIBhlvfZ+Px+Eg/rwMAwA3twEIKFgzoQ/wVNvcGcwaY4i+l7Fz8FUVRPAXwUa1NNZgzwBD/V3mef/Ar0zu1NZgzoAtPflyZTCa1NZgaYNj8UJIknY2/QgjxAsA0xXoNpgYYNj+HWZa9XY9Mv9T9GkwN6NP016mqamkNEiJz/PvQf8V4PH4J4J1az9YgITJuEN4XRfF6jRq9o2+N1TUnRP2Ov6Isy7k5oK6Zmf71BXCRc/58nQLXwWg0OiSiC2oNYJgYpv+nPl78GQs1SAxPfnaop5hukdloNEIoQW3A6RWZPhINCC0gNAvvCGVZ5vTuYNfQZ97GJyAaEFpAaBrfE9Q7o88I131E22bMxicgGhBaQGgaZ0BTZ9vWaVc2PgHRgNACQhOfB4QWEJpoQGgBkUgkEpK/ZR2WO/ZGnnYAAAAASUVORK5CYII="},548:function(e){e.exports="data:image/gif;base64,R0lGODlhIAAgAKUAAARKzHym5MTW9ER63KS+7OTu/GSS5JSy7LzO9Bxi1Nzm9PT6/FSG3KzG7HSe5DRu1Iyq5Mze9PT2/HSa5Jy67ISm5FSC3KzC7Ozu/Gya5Jy27MTS9Cxm1OTq/Pz6/FyO3LTG7Dx23NTe9Bxe1Mza9EyC3KTC7GyW5JS27LzS9CRm1Nzq/FyK3Hyi5DRy1Iyu7ISq5Ozy/Pz+/LTK9NTi9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQJCQA1ACwAAAAAIAAgAAAG/sCacEgkFgCjonJJ7GQkTWRRtmAuGaOAUWokxaxF0SihGHa4wkWEBAUTHSPW8JgcKkhlNxGjGqWEZ3U1EiQkVXpEKCMhHjV0QzQkHW4HM1MuIxqOXDECETJEMgUYkA8PBjRECCMqMYE1MmtfQzEiJBGNsA0DphWzNVgBjx0kqWl3AjS/QhIvLg8hBKA0LcsdAlUeK4VeVk6mJRtMVTHcK7lgAgzQbUqExYeIMgQNYB3LiPlgJfz9/XJgZHAbWCiCv4MArXjwJIAEw4L6IlqRgeCPN3xuRLQwcKJdkQWFaHhkUuCAAQMtRMgYOahGuULnmEi4cPIEAlACKpAgQmMGjCkZ2woVADVERooJJwm0iQEjgAIJGgjUUNBAANEFd0iI+NXh5ItJQ2a0kCoBhVSKM1YQiREJ15ALO40EqEBqQVQhBWbMQIcXYxEKLRAwMztEwAwREkUEgHCorFRmellOfNEi7qC7Q0RU1bchAAqigwgPWYBgRoF8MyrkSYPZzgywiPA5nhJPIrPWeoIAACH5BAkJADQALAAAAAAgACAAhQRKzHym5MTW9Dx23OTu/KS+7FyO3CRi1Nzm9JSy7PT6/LzO9BRW1EyC3Gya5Iyq5Mze9KzG7PT2/OTq/AxSzISm5Ex+3Ozu/GyW5DRu1Nzq/Jy67Pz6/Bxe1FSC3HSa5NTe9LTG7AROzMza9ER63KzC7GSS5Nzm/Jy27MTS9BRa1Iyu7ISq5Ozy/DRy1Pz+/FSG3HSe5NTi9LTK9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCQSOpmicmmsSIyqJFExYS4xmZURWVxRNtaizOWqCidRI0U0CxcrGcfwKBWaACR3sTXICIR0QyMiIgh6RQUZMC80aHUDAHJhG39EHA0ZBTSBNAUiKi1ELwShQggWDTEnRAIZAy2BEh0iCUQSICMQHEIvMwaoCaU0WCsEaQEiGYw0CggCIyDCQhIbHg0wEbsnK9IfIgs0LycjuQRWBBWoJiNMhgQQ5Bq7biMYFjBPSwrkMgqHvDPaWJkg7Z9BJiYSKlT4wc0LchAjQlhIsWEYDgIgPMv4LNfBj0tePAtD8CCCBAFY+FsigV++MC0KBAiQ4ASHl0N2vYs3T4mMghkVAlQQsAvEBhlEJowI9UIpOQLLeI14MDNEPgUbUEz4CY7ACKRCmpGLNmcmigtEFqBowzUcLnNDWsjI1XMBiD0JNoRqS6MF3SKk3MxIUIkvjbkaPp4sMM/wvhErD70ocHSIghDghmgYYejfiAQRohqmwQFeQSsCNsCdNiPznKUGcTJr7RPkFMwGgwAAIfkECQkAOAAsAAAAACAAIACFBErMfKbkxNb0RHrcpL7s5O78ZJLkHF7U3Ob0lLLsvM70VIbc9Pr8LGrUdJ7kzN70rMbsLGbUFFbUjKrkVILc9Pb8dJrkJGbU5Or8nLrsTILc7O78bJrkJGLU3Or8nLbsxNL0XI7c/Pr81N70tMbsBE7MhKbkzNr0TH7crMLsbJbkHGLU3Ob8lLbsvNL0XIrcNG7UfKLkFFrUjK7s7PL8/P781OL0tMr0////AAAAAAAAAAAAAAAAAAAAAAAAAAAABv5AnHBIJNJgg6JySSwkKkZksVZgLmOaDHHT0BRbHYK1iNBQMMNjMn05KMbFhCYw3EiHjsMLXqQtNCdCakM2BwcIfEUQKCoiOAV3OAsydGMQgUQ1BhokOIM4NzINUEMMMy1DGAYGEx5EJygvNIMMMAdiQzcXABI0QjUgHKsEvkIBWZBJCTIDNUI2AwAAFzdFDCkqBioKzh4fpEIxBwKeHCUlEjMMTE6rMQ9MGDUtMgAlBlVwNjHa4EUnJQAMgJcIRw0F5Kw4gFCwIZ8AMSBKjDgBTo0TGDNmfBDARAyPIGPMgCNCwAMBJ0yiPEHQocspI2yMwVCsIAYCLTI4WlLBpKcNf0xo3GjxIUWBGuuKOKKR0cNOJSUzfMhgwxmLG2hSnfBVA0PGo5lsSG0hICmDGzc2MDgx4tEJmUIYIMA4oiYNojdq4hhxg5wIlgZHnMgnpMIDlk9PIDJygwSUtQSZPngqpIDeJQJuwF3b9tmJrA0LoHWGoyRcHGtPJE108IYrIX9b4vB6mg8CCCCIQM6E8bIVG3l1sy1S4MGGhkBNK1n9EvWDzomCAAAh+QQJCQAxACwAAAAAIAAgAIUESsx8puTE1vREetzk7vykvuxkkuTc5vQkZtSUsuz0+vy0yvTM3vRUhtx0nuQ0ctSMruz09vy0xuzk6vycuuwUWtSEpuTs7vysxuxsmuTc6vw0btSctuz8+vy80vTU3vRcjtzM2vRMgtyswuxsluTc5vwsatSUtuy8zvRcitx8ouQ8dtwcXtSEquTs8vz8/vzU4vT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCYcEgkukSgonJppESMyGLnwlxCDCNoklhYYarFiYFEGB5TxtVGAC4WDAmzCD1sbUjtoitj+AjPQyUbDyV5RSgGKi8xgEIGGxBtKH5EHSoGKIxzQigbA09DLycFQwQqARRlQx9jEYAdIhtfQygPLAguQi8hECoWGKAxVyOAFCYpizElDSwVK5lECigWAS0CHTEEI8HCGyGMKs0IFMlKLgWnCTBMBC8FJhUsDrltJQkqLQpMH/EN64YxXgj4VqXFAoAI83A4sbAhQ1JgCACYSJFiBYYYHUKscqGixwoJQy55UUIDmAn0AF7wsGBBuSIRQoSAwY1JBAEtUVx4oU8KjSOZITRgG/mh5YIDiwiESBljwtKATmW2K6IBBYYFDIZ2YLC0QwgG2WYOUXBA5oeULloK4KYhxIEYCr4G/BBClZAIXLMOgWH3rkx9XsH+1EuEANMlMEJMEBJXsLKgIV18HRqXEty/CF/QTdmYiNN/hpSCvmwZLtfDVSasrSRgdFjUVYaODVGasUjWrsEEAQAh+QQJCQA2ACwAAAAAIAAgAIUESsx8puTE1vQ8dtykvuzk7vxkkuQkZtTc5vS8zvSUsuz0+vwMVsxUgtysxuzM3vRsmuSMruz09vw0btTk6vycuuwcXtSEpuRMgtyswuzs7vzc6vzE0vSctuz8+vwUVtRcity0xuzU3vR0muQETszM2vREetykwuxsluQsatTc5vy80vSUtuxUhtw0ctSEquTs8vz8/vwUWtS0yvTU4vR0nuT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/kCbcEgkwgy1onJpdCyIEmTRA2MuCYGEUUp0tLRWYuES0AyPyXMLUwoXHRfCmStUYC7uouQVUAnRQwgYDRR5RQIBCjE2gEI1GB1uJX5EHgoBAjZRI0IcGCASRDEEGWcsHQ5VQzQXLxKAHgYYM0QCGBMDoUI0BKcrT0JYM5s2BBgoizYbKBMTLZmVAhUdFSKLGsNEFRgimhHNAwQeTDAzHSwnG0waMRkDzS+qYRQn1MBKNM0GCIZCMSI0wihY0a9gnhkIEyp0A8OCDIcQH6aY4YCixYpgrBSIyDGFwY9LYhSQt6RGqYIwRJR4MG5JCRIABrRxswBBiRIiYMRoSWRBlYwOMgCQMFCASQwKN0sUtVGgBEmkVSRAgMkgwj0hGm4KoJAsxk0JC3AyLRFwFwYAAA44GCKhhAAEV1WU4Bf2gY1/SonMSAGAgbyRRcKWeOJh5Z+VPO9GYOGGRolCNuoOkavOIAzEQsJ2y3zzqhu88iQPQVrWUNPSkcUOWfDAaT8KAnQJ8SAA9ViSbhKn3twTZDTbYYIAACH5BAkJADcALAAAAAAgACAAhQRKzHym5MTW9ER63KS+7OTu/GSS5Bxi1Nzm9JSy7LzO9FSG3PT6/DRu1BRW1Mze9KzG7Hyi5Iyu7FSC3PT2/HSa5Cxq1OTq/Jy67AxSzISm5EyC3Ozu/Gya5CRi1Nzq/Jy27MTS9FyO3Pz6/NTe9LTG7AROzMza9ER+3KzC7GyW5Nzm/JS27LzS9FyK3Dx23Bxe1ISq5Ozy/CRm1Pz+/NTi9LTK9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+wJtwSCRSApKicmlsjYyRJJEmYy5tLIERWVSotFaiDISpCo9SoaxjIIWLLZBtSIkSCYbEu8jAgC5nXEIXBioFe0UkLCk0N2hDEgYpbzWHUwQgbjKCJwYVFFMQc2o2NgKgQx8sGAyPIxUGLUSdGwuoNxelNg9PQjYgp3Y2BjGNuAEbGyonRTQ1ugiNMgK9QngIjiwTGy4p1UUUAqUtHEwyNDYuyQlmYQUtpd9ECMkVH4hCNAiAVhhg+ADDnBhIkOCDNzIaKFy4cMAJAQ8EPIx4wk2YhBYaZNzYAEXAj0toFGi3RAOEgDJInODF5AEMGBsshmGAYCCJc/JurKBBwIKWAxgVSE65QNBSgRMkK5hQcENGjAMOZrCQx2GggAvGaAykwKDijRgALBhDIAKGgxdMzzxEwIDIihPYuh5k4AGAniEtXsCY0W4kn4FtR6wUAsGEA5I0MGCgdIKf3CEDAKj4KGNlr64yH5gwUQMgDZXtHg9RAcAjvqOdh2AmUsABgJOILpwiMkJAakgZWACUt3ooSNq2AQYBACH5BAkJADQALAAAAAAgACAAhQRKzHym5MTW9ER63KS+7OTu/GSS5JSy7Nzm9LzO9CRi1PT6/FSG3KzG7Iyq5Mze9Hyi5DRu1PT2/HSa5Jy67OTq/ISm5FSC3KzC7Ozu/Gya5Jy27Nzq/MTS9Pz6/FyO3LTG7NTe9Dx23Bxe1Mza9EyC3KTC7GyW5JS27Nzm/LzS9Cxm1FyK3Iyu7DRy1ISq5Ozy/Pz+/LTK9NTi9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCRKNoSicml8eIgLVJIYkzCXAtnMiCwKLKRrUSKTWYUSKRH2CqTExYdMMFx0hw3LFD70lAtoakIFFhAwfEUIMioxNEd7FBAJcBWHVCoyCI6CIQEOC1QJKkMSJCQzZ0IZZR52SQstAWFDDxAGJ6kwpiQcT0JZqGodASiNNAUHBgYQIUUxFbsFjRIhoEMyFpoSGMonCcZKCwimIZZKMDEqE8oEqVcwMwIP4EUVyi0ViEMwGWIYs/oCitlF0NQDODBKKFy4kAUJeQIePojYTExChgxZCNy4JEYBc0sOyBAIIwQJJ0xmRIhgYAscceTQ+SLCIUaDASstgKQCzRSSoGMkQAYY0cFRCxcRRBCgRyODKQEVjMUwJaEAgBE0DowQYYzDiZUliqJ5iMCakBQkNFW4SmNBhBEUiAhgkDTVxyILTIGyipWGjBEKQMYwgQHODBL5jrEVwmAEhI26UCruS2PGiBGa9MUwaW4tZRoTRjAIWOAUEb5rVowYiaiCAHeoiaBQsIfPzEGLh3jkSMRzwCAAIfkECQkANQAsAAAAACAAIACFBErMfKbkxNb0PHbcpL7s5O78XI7cJGLU3Ob0vM70lLLs9Pr8FFbUTILcrMbsjKrkzN70dJrk9Pb85Or8DFLMhKbkTH7crMLs7O78bJbkNG7U3Or8xNL0nLrs/Pr8HF7UVILctMbs1N70BE7MzNr0RHrcpMLsZJLk3Ob8vNL0nLbsFFrUjK7sdJ7khKrk7PL8NHLU/P78VIbctMr01OL0////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABv7AmnBIJC5miaJySfRsPEZkMSZhLmmkSTRJhHRo1uKCRFoMFyGucNFRacPEDQlxlg5Tqhm86IGQXmt2NRgKHYB7RAUkIoFqDh0CcBOHQzEiJAU1R1wICgRmlQIkQxJkNFVDLyQQHpuaJipgQ50BLqA1qmRPQ1gTriQqFzFCLwQBAQp0RDETZJjDCxPDQwIqmUcVARUCUEsLCGQilEUSMSQPxyGoYS80AhDTShPHHRiIqfZWCYz3/XDOAMlAgCPhhMGDByOQeCeK4SI4LxBKjOCv4pIYBcYpgeTvxSVWTFBYaNACxZ5v4V54eJMoxgwDIxVorNSMTKYaLCh0IMJCQ5IkNiAayHDQbQgGMgKkCSmwAsCMAh801OigQca0AhVGnhglpJQABLdqnABQogZUqQsaaLhAhMQJoesyFoEAYAQdplJrpNBQYpxLPWEGAGixNOqQExpcVLwAYMUhvLNgwDB5T8KHEQqMrsgrxIWGDP1cANAQ7yyRFwM0cLiXYUSKRJuLmBjA9t6GIqab3LS4NPa9IAAh+QQJCQA3ACwAAAAAIAAgAIUESsx8puTE1vREetzk7vykvuxkkuQcXtTc5vS8zvSUsuxUhtz0+vwsatR0nuTM3vSsxuwsZtQUVtRUgtz09vx0muQkZtTk6vycuuyMquRMgtzs7vxsmuQkYtTc6vzE0vSctuxcjtz8+vzU3vS0xuwETszM2vRMftyswuxsluQcYtTc5vy80vSUtuxcitw0btR8ouQUWtSMruzs8vz8/vzU4vS0yvT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCbcEgkikyPonJp9IiIDGSRxmAua6YL1DQqrmxa69ZUFR6TQ4bNthEXPSZEWjoc2QTuouhhmpnpNxRrFHlFBFxCUWg3AiQ1bhd+RDQjJgQ3Z0IEazSTI49CFCYmNYRDM0hUUjQJNh5EFwUtGE9CqKNOQ1gXUV01Nh+nNiAtKJeTF6OWnQwXnbo2fiICGLM1z0oMCKMjkkoUNDXVGB9lYjM1Ag/YRRstINGFp21WJq/y+G7K+6OLTBQBYAQcKDCDCXUCDj5I2EUMQIEQB2bIR3GJCBktxEAwkc+GBQASvBW5YMBAhntiapwAAMCCDRrHiBCg8aFCyQIiiczgUAKknowqLToUIIJBA0cGKEqmSMCORosYLA0cm2HhAIsNLwbcgHAixbMZCkrCWGSC5QB/Dg64uDEj6w0aBjTYIFIDhoEUpm44gFBkxIEDcgi4ZaTBRd63CfCI0RAjgK3BN2BoyJiPRIwGprBqFeJBwwSUeRi8ODBUE+QbIDTAwCfjwABsbTeHWmBUHowDih/LFmJjwVx5YYYI3v02J8XY+IIAACH5BAkJADQALAAAAAAgACAAhQRKzHym5MTW9ER63KS+7OTu/GSS5Nzm9LzO9CRm1JSy7PT6/KzG7HSe5Mze9FSG3DRy1Iyu7PT2/HSa5OTq/Jy67BRa1ISm5KzC7Ozu/Gya5Nzq/MTS9DRu1Jy27Pz6/LTG7NTe9FyO3Mza9EyC3KTC7GyW5Nzm/LzS9Cxq1JS27Hyi5FyK3Dx23Bxe1ISq5Ozy/Pz+/LTK9NTi9P///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAb+QJpwSCR+Ro6icmncfIgLZDH2ZCpnIwp0FCoWRjBrMTpaDI/JYWwEFhc3o8MwmhbCT+7ix9GmoYcSbGZ5RF9dNHRDJ1luFGFEMSEjBX5SNDBsMZAnG4BsMxJEmA4xiZGTRBkoIDKaQphsTkNYFFFdXzOAAjIyKBlTFGyTmgsUrnYjoTEOvDIHx2MHbCGPSmYbCKwOVWIwMwKkTDAyIALVhDC/VjOUhO6EAPHy8hZuCx4q+Pr5BPP+9WLu5Ruor8K7g1ZiqCAgBsEhdwhaWEhwjgiFACsqtBNz4IELCy0QxFAnak2EFRcYhFoCY4ULFwk8aCLQggERDAZyLUBwIcCUCwHcaMQgkMKCiwaPYLToYI6ECBoyDFxwBYPAigAKcglx8PGBViEXOpi45NTPCgMoiBxQsOLFIBoXZBQ50AECHhhlaYwwMGGlkBgCRrgx0CHCq7w0IhhgeBBBhwEr8bIYQsGAgY15FpDoYPPw5CElDBh256HDg2OSiUgwYeChmwgd6pD9PASFCQ7vMM+eUhFhandBAAAh+QQJCQA3ACwAAAAAIAAgAIUESsx8puTE1vQ8dtykvuzk7vxkkuQkZtSUsuzc5vS8zvT0+vwMVsxUgtysxuyMquTM3vRsmuT09vw0btScuuzk6vwcXtSEpuRMgtyswuzs7vyctuzc6vzE0vT8+vwUVtRcity0xuzU3vR0muQETszM2vREetykwuxsluQsatSUtuzc5vy80vRUhtyMruw0ctSEquTs8vz8/vwUWtS0yvTU4vR0nuT///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAG/sCbcEgkekqQonJp5HiIC2RR9mQqa6UKtCQqFkoxazFaWgyPyaGsBBYXOaXEMJoWwlfuogfSvqGHEmxmeURfXTd0QytZbjYZUyIlBX5SNzFsMkQyBRpDJSQAAyVElxAyiTKRk0MxkRBVMhszACQGqzcJWVFdXzVzi1xhpDagDA9mCyuZQxUCEjcywJJWNRgAAAchTGaXbBzLYjQpAAzCSoElNYOEHi4qYhXmhPNuFjP2+Pcpbh40/v8A7wnMt0/MAhoOECpMqICeQysyCDyyIgAPPQEYJgx4tiSGig0O5DHhgGLChBYCPIi0dKMGgQ0qOqwrIuHBC40EzDho0XAIlI0LeBYIoKCCgghw0DIMMAlDmIQWGMAYsHFDQAAEyyTQgHlCi5AaJg1YFOICwwVLU/24CDCK2YkNFNYhYFEkAYYGWmKkbXkBxsxUvsTYwEBBiF6qQihcoPEQIwiOh4doCHDhVh4PBjAwFiJhr5AQAQjQI4ABBbjIgGAEGOuGAoZDhj0LEXChLaFOpGRD4/iQlW4xQQAAIfkECQkAOAAsAAAAACAAIACFBErMfKbkxNb0RHrcpL7s5O78ZJLkHGLU3Ob0XIrcvM70lLLs9Pr8TILcrMbsNG7UzN70fKLkFFbU9Pb8dJrkLGbU5Or8nLrsjK7sTH7crMLs7O78bJrk3Or8ZI7cxNL0nLbs/Pr8VILctMbs1N70BE7MhKbkzNr0RH7cpMLsbJbkJGbU3Ob8XI7cvNL0lLbsPHbcHF7ULGrU7PL8/P78VIbctMr01OL0////AAAAAAAAAAAAAAAAAAAAAAAAAAAABv5AnHBIJIZOkKJySex4ZkQGskgLMZcDACV6IhULJ+iVCCmVWENpckg7hcdFAyCT7jZPaDixIAHYhEdrOBNuDHpFGCUrNDhqQzcnFnAmDkUhKwAYOIFCM0hWbAViOCQxMQ1eQzYAEgWONCRvQzOxEKA0BDISMRSjAyUcnGA3aZBdo50mBzErL1Y3KsgWJxM4NCxuEAVXCAm7MH9LhgUQbhaMcC4wzMhEhCcI1YfWIBdjovP5eg/8/f0DcNq4GTgQwgMZBxMiRAEnhAAIAk48jDhFn0UlNByEY3JjW74TBhrUkKdkhg0bAkhesRAgQwMVJ2i0G4Sjg4KTtphMuNCgQZ8CB1ZsqBBARMAFSSFunLSBAJ0QGjYSuFwgbwYFAyQmBNB0AoQGdJ5OutgwBEGDDBE6ECFgYAGOGVutpXhBbEgBFyNsgMJxgSgRCwYMbJtgQhMOBPX2WusgaQwGAxqETIhgGIeNF34/GqAgT2vlGRdAzLzCIIIBF0M8E/nwYqMeGwZMOJ1cuVFotYdSGKgrOS4REhd462lHm4rKi6rnBQEAOzA1OEo3eEpMcitpVlFlSTgzUko3bUE4RmZxYmV2VGFqalk5TGNJbjZKZVBFTzZ1QmtqbEVBdG5zRDh5S2RYVHM="},475:function(e,t,n){e.exports=n.p+"b85a961d44cc55c58050cbf7c53dd505.png"},215:function(e){"use strict";e.exports=require("bignumber.js")}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var i=t[r]={id:r,exports:{}};return e[r](i,i.exports,n),i.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");r.length&&(e=r[r.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),n.nc=void 0;var r={};!function(){"use strict";n.r(r),n.d(r,{AccountBalance:function(){return O},AdminBadgeSvg:function(){return ra},AgreementItem:function(){return vt},AlgoAddressFlowPage:function(){return cw},AlgoAddressName:function(){return mv},AlgoAdressSelect:function(){return nv},AlgoConnectWallet:function(){return Ib},AlgoFlowMemo:function(){return vw},AuthConsumer:function(){return _c},AuthContext:function(){return Pc},AuthProvider:function(){return Tc},BackButton:function(){return kt},Background:function(){return Lt},BasicInfo:function(){return xd},BasicTable:function(){return Ht},Button:function(){return ln},ButtonContainer:function(){return un},CTABox:function(){return ig},CameraSvg:function(){return Zi},CapsLockSvg:function(){return Hi},CaptialRaisedSummary:function(){return Tn},ChartBox:function(){return _n},ChartBoxDistribution:function(){return Nn},ChartLegend:function(){return Yn},CheckBoxCaption:function(){return De},Checkbox:function(){return qe},CheckboxPropTypes:function(){return Fe},ChooseWallet:function(){return Sb},Column:function(){return Ro},ComponentScroll:function(){return Z},ComponentWrapper:function(){return ht},Confirmation:function(){return Ad},Container:function(){return Rc},CryptoAddress:function(){return kr},CryptoAddressDetails:function(){return Fr},CryptoAddressWrapper:function(){return $r},DatePickerInput:function(){return Pl},DocumentBackSvg:function(){return $i},DocumentFileUpload:function(){return Gf},DocumentScan:function(){return Ff},DocumentScanUpload:function(){return Xf},DocumentSelect:function(){return yf},DocumentSmallSvg:function(){return ea},DocumentSuccess:function(){return ed},DocumentSvg:function(){return Qi},DocumentUpload:function(){return nf},DocumentVerificationType:function(){return Tf},DoubleButtons:function(){return no},ErrorMessage:function(){return oo},EthSvg:function(){return Vi},EurSvg:function(){return Yi},FAQ:function(){return mo},FaceScan:function(){return nd},FaceScanIconSvg:function(){return ta},FaceScanRecognition:function(){return od},FaceScanSuccess:function(){return ad},FileInput:function(){return ag},FileInputItem:function(){return ug},FileInputList:function(){return sg},FileInputRemove:function(){return lg},FileInputWrapper:function(){return cg},Footer:function(){return Yo},ForgotPasswordModal:function(){return Ui},Form:function(){return Ci},FormError:function(){return ki},FormField:function(){return Ii},FormInfo:function(){return Ai},FourSvg:function(){return ca},Glassess:function(){return la},Header:function(){return vl},Icon:function(){return er},ImageSlide:function(){return BE},ImageSlideWrapper:function(){return zE},InfoIcon:function(){return g},Input:function(){return _i},InputPassword:function(){return Fl},InvestCalculator:function(){return Xs},InvestCalculatorCurrencies:function(){return Ks},InvestmentStat:function(){return iu},Item:function(){return zc},Items:function(){return Bc},KYCSelectBox:function(){return of},LatestUpdate:function(){return qd},LatestUpdateWrapper:function(){return Md},Layout:function(){return zO},LearnMore:function(){return Ah},LearnMoreCarousel:function(){return cp},LearnMoreExampleObject:function(){return Vm},LearnMoreItem:function(){return mh},LearnMorePage:function(){return qm},LoginModal:function(){return Rh},LogoSvg:function(){return Wi},MainMenu:function(){return Xa},MemoCryptoAddress:function(){return Mr},MenuNav:function(){return Lh},Modal:function(){return Si},ModalBack:function(){return bi},ModalClose:function(){return gi},ModalInner:function(){return hi},ModalInnerSmartContractAddress:function(){return pi},ModalInnerWithBorder:function(){return mi},ModalLink:function(){return vi},ModalLinkWrap:function(){return yi},MultiProgressBar:function(){return yn},MultiProgressBarPropTypes:function(){return vn},NotificationCounter:function(){return Bh},Number:function(){return Dh},OneSvg:function(){return oa},PageTransition:function(){return Vh},PageWrapper:function(){return Lo},PassportSvg:function(){return Ki},PasswordStrength:function(){return ql},Process:function(){return $h},ProfileBadge:function(){return vg},ProfileBox:function(){return Tg},ProfileStat:function(){return Bg},ProgressStatusConsumer:function(){return DO},Radio:function(){return qg},RangeInput:function(){return ds},RefreshButton:function(){return Hg},RefreshSvg:function(){return na},RegisterConfirmModal:function(){return Qg},RegisterModal:function(){return Tw},RequestDataBox:function(){return Rw},RiskQuestionnaireConsumer:function(){return Xw},RiskQuestionnaireContext:function(){return Qw},RiskQuestionnaireProvider:function(){return Kw},RiskStep:function(){return Lw},Row:function(){return No},SEO:function(){return tx},SectionTitle:function(){return Ju},Select:function(){return As},SideLine:function(){return sx},SignSubConnectLedger:function(){return kx},SignSubConnectMetamask:function(){return qx},SignSubInfo:function(){return px},SignSubIntro:function(){return bx},SignSubSendLedger:function(){return _E},SignSubSendMetamask:function(){return RE},SignSubStep:function(){return fx},SignSubTransactionLedger:function(){return pE},SignSubTransactionMetamask:function(){return SE},SignSubWrapper:function(){return dx},Slider:function(){return DE},SliderWrapper:function(){return LE},SocialFacebook:function(){return ua},SocialInstagram:function(){return Oa},SocialLinkedIn:function(){return Ia},SocialMedium:function(){return Aa},SocialReddit:function(){return ka},SocialTelegram:function(){return Ca},SocialTwitter:function(){return Pa},SocialYoutube:function(){return Ta},SpanButton:function(){return hu},StatusBadge:function(){return UE},StepController:function(){return jv},StepControllerConsumer:function(){return Hv},StepControllerProvider:function(){return Wv},StepsProgress:function(){return Dc},StokrLoader:function(){return QE},Switch:function(){return nS},Tab:function(){return Qm},Tabs:function(){return eh},TeamOverview:function(){return OS},Terms:function(){return Ku},Text:function(){return Ie},TextButton:function(){return Pd},TextLink:function(){return Cd},ThreeSvg:function(){return aa},ToDoList:function(){return WS},ToDoTask:function(){return NS},ToDoTaskMessage:function(){return FS},ToDoTaskState:function(){return qS},TooltipIcon:function(){return $n},TransactionDetails:function(){return eE},TransactionInfo:function(){return Qx},TwoFactorModal:function(){return eO},TwoSidedDocumentSvg:function(){return Ji},TwoSvg:function(){return ia},UpdateDefaultSvg:function(){return ja},UpdateHardSvg:function(){return _a},UpdateSoftSvg:function(){return Ma},UploadSvg:function(){return Xi},VerifiedBadge:function(){return sa},Wrap:function(){return Lc},Wrapper:function(){return _o},iconsMap:function(){return Xn},learnMoreCategoryPropTypes:function(){return Fm},learnMorePostPropTypes:function(){return Um},validate:function(){return Pi}});var e=require("react"),t=n.n(e),o=require("prop-types"),i=n.n(o),a=require("react-tippy"),c=require("styled-components"),l=n.n(c),s={black:"#202020",grey:"#f0f0f0",lightGrey:"#e1e1e1",orangishRed:"#ee220d",white:"#ffffff",lightPeach:"#fbd2d1",salmon:"#f57c76",paleSalmon:"#f8a7a4",pastelRed:"#f24f45",reddishBrown:"#8e150a",reddyBrown:"#5e0f08",rustyRed:"#be1b09",lightPeriwinkle:"#ceddf5",carolinaBlue:"#9cb9eb",lighterGreen:"#84fb6f",blue:"#0050ca",blueDark:"#004BB7",softBlue:"#6a97e0",darkBrown:"#300606",azul:"#3873d5",darkishBlue:"#0240a2",marineBlue:"#032f78",navy:"#021f51",navy2:"#021128",offWhite:"#e6fee2",veryLightGreen:"#cefec6",lightPastelGreen:"#b5fca9",easterGreen:"#9bfc8c",freshGreen:"#69c858",fernGreen:"#4d9741",pine:"#34652c",pine2:"#1a3315",black70:"rgba(32, 32, 32, 0.7)",yellow:"#f8e71c",yellowLight:"#fffedf",progressGreen:"#79ca65",progressAccentStart:"#69BD53",progressAccentStop:"#A9EF9C",progressRedStart:"#EE220D",progressRedStop:"#F57C76",progressBlueStart:"#0240A2",progressBlueStop:"#66A3FE",grey2:"#9b9b9b",grey3:"#f8f8f8",midRed:"#e3210d"};function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({cText:s.black,cWhite:s.white,cBlack:s.black,cPrimary:s.blue,cPrimaryDark:s.blueDark,cPrimaryLight:s.carolinaBlue,cWarning:s.orangishRed,cWarningMid:s.midRed,cWarningDark:s.rustyRed,cGrey:s.grey,cLightGrey:s.lightGrey,cGrey2:s.grey2,cGrey3:s.grey3,cProgressDone:s.progressGreen,cYellow:s.yellow,cYellowLight:s.yellowLight,cLighterGreen:s.lighterGreen,cSuccess:s.freshGreen,cDarkGreen:s.pine,cProgressAccentStart:s.progressAccentStart,cProgressAccentStop:s.progressAccentStop,cProgressRedStart:s.progressRedStart,cProgressRedStop:s.progressRedStop,cProgressBlueStart:s.progressBlueStart,cProgressBlueStop:s.progressBlueStop},s),p=d,m=l().div.withConfig({displayName:"InfoIconstyles__Container",componentId:"sc-d3sdn3-0"})(["display:inline-block;vertical-align:middle;margin:0 12px;font-size:0;line-height:0;"," "," "," & > div{position:relative;display:inline-block!important;}"],(function(e){return e.noMargin&&"\n margin: 0;\n "}),(function(e){return e.noMarginLeft&&"\n margin-left: 0;\n "}),(function(e){return e.noMarginRight&&"\n margin-right: 0;\n "})),h=l().i.attrs({className:"ion ion-md-information-circle"}).withConfig({displayName:"InfoIconstyles__Icon",componentId:"sc-d3sdn3-1"})(["position:relative;left:-0.4px;display:inline-block;vertical-align:middle;font-size:16px;line-height:16px;vertical-align:middle;color:",";transition:color 0.2s;&:hover{color:",";}"],(function(e){return p.cGrey2}),(function(e){return p.cPrimary})),g=function(e){var n=e.title,r=e.html,o=e.position,i=e.noMargin,c=e.noMarginLeft,l=e.noMarginRight;return t().createElement(m,{noMargin:i,noMarginLeft:c,noMarginRight:l},t().createElement(a.Tooltip,{position:o,title:n,html:r,theme:"light",arrow:!0,duration:200},t().createElement(h,null)))};g.propTypes={title:i().string,html:i().node,position:i().oneOf(["top","bottom","left","right"]),noMargin:i().bool,noMarginLeft:i().bool,noMarginRight:i().bool},g.defaultProps={title:null,html:null,position:"bottom",noMargin:!1,noMarginLeft:!1,noMarginRight:!1};var b=g,y=l().div.withConfig({displayName:"AccountBalancestyles__Container",componentId:"sc-8f1jyi-0"})(["position:relative;margin-right:-20px;",""],(function(e){return e.right&&"\n text-align: right;\n "})),v=l().div.withConfig({displayName:"AccountBalancestyles__Head",componentId:"sc-8f1jyi-1"})(["position:relative;margin-bottom:4px;"]),w=l().div.withConfig({displayName:"AccountBalancestyles__Body",componentId:"sc-8f1jyi-2"})(["position:relative;"]),x=l().div.withConfig({displayName:"AccountBalancestyles__Title",componentId:"sc-8f1jyi-3"})(["font-weight:bold;font-size:11px;line-height:24px;letter-spacing:2.04px;text-transform:uppercase;"]),E=l().div.withConfig({displayName:"AccountBalancestyles__Value",componentId:"sc-8f1jyi-4"})(["position:relative;font-weight:300;font-size:22px;line-height:28px;letter-spacing:0.8px;"]),S=l().div.withConfig({displayName:"AccountBalancestyles__Equal",componentId:"sc-8f1jyi-5"})(["position:relative;line-height:16px;letter-spacing:0.4px;font-size:11px;font-style:italic;margin-top:8px;"]),O=function(e){var n=e.title,r=e.value,o=e.unit,i=e.info,a=e.eqValue,c=e.eqUnit,l=e.half,s=e.right,u=e.border;return t().createElement(y,{half:l,right:s,border:u},t().createElement(v,null,t().createElement(x,null,n,i&&t().createElement(b,{position:"top",title:i}))),t().createElement(w,null,t().createElement(E,null,o&&"".concat(o," "),r),a&&t().createElement(S,null,"= ",c&&"".concat(c),a)))};O.propTypes={title:i().string.isRequired,value:i().string.isRequired,unit:i().string.isRequired,eqValue:i().string,eqUnit:i().string,info:i().string,half:i().bool,right:i().bool,border:i().bool,fontSizeSmall:i().bool},O.defaultProps={eqValue:"",eqUnit:"",info:"",half:!1,right:!1,border:!1};var I,A,k,C,P,T,j=require("react-custom-scrollbars");function M(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var _,N,R,L,B={Small:"320px",Medium:"768px",Large:"1024px",XLarge:"1440px",XXLarge:"2560px"},z=Object.keys(B).reduce((function(e,t){return e[t]=function(){return(0,c.css)(I||(I=M(["\n @media (min-width: ",") {\n ","\n }\n "])),B[t],c.css.apply(void 0,arguments))},e}),{}),D=function(e){return"(min-width: ".concat(B[e],")")},G=(l().div.withConfig({displayName:"rwd__DisplayOnBreakpoint",componentId:"sc-nmqrxw-0"})([""," "," ",""],(function(e){return e.fullscreen&&(0,c.css)(A||(A=M(["\n height: 100%;\n "])))}),(function(e){return e.down&&(0,c.css)(k||(k=M(["\n display: block;\n\n ","\n "])),z[e.breakpoint](C||(C=M(["\n display: none;\n "]))))}),(function(e){return e.up&&(0,c.css)(P||(P=M(["\n display: none;\n\n ","\n "])),z[e.breakpoint](T||(T=M(["\n display: block;\n "]))))})),z);function q(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var F=l().div.withConfig({displayName:"ComponentScrollstyles__Container",componentId:"sc-12avd6v-0"})(["position:relative;height:100%;width:100%;display:flex;",""],(function(e){return e.noMobileScroll&&(0,c.css)(_||(_=q(["\n & > div > div {\n overflow: visible !important;\n\n > div:first-child {\n overflow: visible !important;\n }\n }\n\n ","\n "])),G.Medium(N||(N=q(["\n & > div > div {\n overflow: hidden !important;\n\n > div:first-child {\n overflow: scroll !important; \n }\n }\n "]))))})),U=l().div.withConfig({displayName:"ComponentScrollstyles__TrackH",componentId:"sc-12avd6v-1"})(["background-color:",";left:16px;right:16px;bottom:14px;height:4px;border-radius:4px;",""],(function(e){return p.cGrey}),G.Large(R||(R=q(["\n left: 32px;\n right: 32px;\n bottom: 30px;\n "])))),W=l().div.withConfig({displayName:"ComponentScrollstyles__ThumbH",componentId:"sc-12avd6v-2"})(["background-color:",";height:4px;border-radius:4px;"],(function(e){return p.cWarning})),H=l().div.withConfig({displayName:"ComponentScrollstyles__TrackV",componentId:"sc-12avd6v-3"})(["background-color:",";top:16px;bottom:16px;right:14px;width:4px;border-radius:4px;",""],(function(e){return p.cGrey}),G.Large(L||(L=q(["\n top: 32px;\n bottom: 32px;\n right: 30px;\n "])))),V=l().div.withConfig({displayName:"ComponentScrollstyles__ThumbV",componentId:"sc-12avd6v-4"})(["background-color:",";width:4px;border-radius:4px;"],(function(e){return p.cWarning})),Y=l().div.withConfig({displayName:"ComponentScrollstyles__Outer",componentId:"sc-12avd6v-5"})(["position:relative;flex-grow:1;max-height:100%;max-width:100%;"," ",""],(function(e){return e.barPadding>-1&&e.offset&&"\n margin-right: ".concat(e.offset,"px;\n margin-bottom: ").concat(e.offset,"px;\n\n ").concat(U," {\n left: ").concat(e.barPadding,"px;\n right: ").concat(e.barPadding-e.offset,"px;\n bottom: 0;\n }\n\n ").concat(H," {\n top: ").concat(e.barPadding,"px;\n bottom: ").concat(e.barPadding-e.offset,"px;\n right: 0;\n }\n ")}),(function(e){return 0!==e.topPadding&&"\n ".concat(H," {\n top: ").concat(e.topPadding,"px;\n }\n ")})),Q=l().div.withConfig({displayName:"ComponentScrollstyles__Inner",componentId:"sc-12avd6v-6"})(["position:relative;",""],(function(e){return e.offset&&"\n padding-right: ".concat(-e.offset,"px;\n padding-bottom: ").concat(-e.offset,"px;\n ")}));function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?J(e,t):void 0}}(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 J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Z=function(n){var r=n.children,o=n.noMobileScroll,i=n.autoHeight,a=n.autoHeightMax,c=n.autoHeightMin,l=n.offset,s=n.barPadding,u=n.topPadding,f=n.className,d=n.handleScroll;(0,e.useEffect)((function(){return function(){clearTimeout(w)}}),[]);var p=K((0,e.useState)(),2),m=p[0],h=p[1],g=K((0,e.useState)(!1),2),b=g[0],y=g[1],v=K((0,e.useState)(),2),w=v[0],x=v[1],E=function(){y(!1),S()},S=function(){m&&m.handleScroll()};return t().createElement(F,{className:f,noMobileScroll:o},t().createElement(Y,{offset:l,barPadding:s,topPadding:u},t().createElement(j.Scrollbars,{ref:function(){m||h(undefined)},style:{height:"100%"},renderTrackHorizontal:function(e){return t().createElement(U,e)},renderThumbHorizontal:function(e){return t().createElement(W,e)},renderTrackVertical:function(e){return t().createElement(H,e)},renderThumbVertical:function(e){return t().createElement(V,e)},hideTracksWhenNotNeeded:!0,onMouseMove:function(){return b||(y(!0),S()),clearTimeout(w),void x(setTimeout(E,300))},onScroll:function(e){return function(e){d&&d(e)}(e.target.value)},autoHeight:i,autoHeightMax:a,autoHeightMin:c,universal:!0},t().createElement(Q,{offset:l},r))))};Z.propTypes={children:i().node.isRequired,className:i().string,noMobileScroll:i().bool,autoHeight:i().bool,autoHeightMax:i().oneOfType([i().string,i().number]),autoHeightMin:i().oneOfType([i().string,i().number]),barPadding:i().number,topPadding:i().number,offset:i().number,handleScroll:i().func},Z.defaultProps={className:"",noMobileScroll:!1,autoHeight:!1,autoHeightMax:0,autoHeightMin:0,barPadding:32,topPadding:0,offset:0,handleScroll:null};var X=Z,$=l().div.withConfig({displayName:"Tablestyles__Container",componentId:"sc-pdcd6r-0"})(["position:relative;"]),ee=l().div.withConfig({displayName:"Tablestyles__HeadWrapper",componentId:"sc-pdcd6r-1"})(["z-index:1;position:absolute;top:0;left:0;width:100%;overflow:hidden;background-color:",";"],(function(e){return e.theme.cWhite})),te=l().div.withConfig({displayName:"Tablestyles__TableWrapper",componentId:"sc-pdcd6r-2"})(["z-index:0;position:relative;display:block;"]),ne=l().div.withConfig({displayName:"Tablestyles__StyledTable",componentId:"sc-pdcd6r-3"})(["display:table;min-width:100%;"]),re=l().div.withConfig({displayName:"Tablestyles__Row",componentId:"sc-pdcd6r-4"})(["display:table-row;"]),oe=l().div.withConfig({displayName:"Tablestyles__Column",componentId:"sc-pdcd6r-5"})(["display:table-cell;text-align:",";font-family:'Open Sans';",";",";",";"],(function(e){return e.align}),(function(e){return e.colWidth&&"\n width: ".concat(e.colWidth,"\n min-width: ").concat(e.colWidth,"\n ")}),(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,"\n ")}),(function(e){return e.maxWidth&&"\n width: ".concat(e.maxWidth,"\n max-width: ").concat(e.maxWidth,"\n ")})),ie=l().div.withConfig({displayName:"Tablestyles__Head",componentId:"sc-pdcd6r-6"})(["display:table-header-group;"," ","{","{border-bottom:1px solid ",";}}","{color:",";font-weight:600;font-size:11px;line-height:20px;letter-spacing:1.98px;text-transform:uppercase;vertical-align:middle;white-space:nowrap;padding:10px 10px;}"],(function(e){return e.hidden&&"\n visibility: hidden;\n "}),re,oe,(function(e){return e.theme.cLightGrey}),oe,(function(e){return e.theme.cProgress})),ae=l().div.withConfig({displayName:"Tablestyles__Body",componentId:"sc-pdcd6r-7"})(["display:table-row-group;","{& + ","{","{border-top:1px solid ",";}}}","{color:",";font-weight:400;font-size:14px;line-height:20px;vertical-align:middle;padding:26px 10px;}"],re,re,oe,(function(e){return e.theme.cLightGrey}),oe,(function(e){return e.theme.cBlack}));function ce(e){return ce="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},ce(e)}function le(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function se(e,t){for(var n=0;n<t.length;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)}}function ue(e,t){return ue=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ue(e,t)}function fe(e,t){if(t&&("object"===ce(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return de(e)}function de(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pe(e){return pe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pe(e)}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l().div.withConfig({displayName:"Tablestyles__TableCellType",componentId:"sc-pdcd6r-8"})(["display:inline-block;background-color:",";color:",";font-weight:600;min-width:40px;line-height:24px;border-radius:3px;text-align:center;"],(function(e){return e.color}),(function(e){return e.theme.cWhite}));var he=function(n){var r=n.children,o=n.maxHeight,i=n.noScroll,a=n.onScroll;return i?t().createElement(e.Fragment,null,r):t().createElement(X,{autoHeight:0!==o,autoHeightMax:o||void 0,offset:4,barPadding:8,topPadding:48,handleScroll:a},r)};he.propTypes={children:i().node.isRequired,maxHeight:i().number.isRequired,noScroll:i().bool.isRequired,onScroll:i().func.isRequired};var ge,be,ye,ve,we,xe,Ee,Se=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ue(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pe(o);if(i){var n=pe(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return fe(this,e)});function c(){var e;le(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return me(de(e=a.call.apply(a,[this].concat(n))),"onResize",(function(){clearTimeout(e.resizeTimeout),e.resizeTimeout=setTimeout(e.setColumnsWidth,200)})),me(de(e),"setColumnsWidth",(function(){var t=e.headTableEl.children[0].children[0].children,n=e.bodyTableEl.children[0].children[0].children;Array.prototype.forEach.call(n,(function(e,t){n[t].style.width=""})),e.headTableEl.style.width="",Array.prototype.forEach.call(n,(function(e,r){t[r].style.width="".concat(e.offsetWidth,"px"),n[r].style.width="".concat(e.offsetWidth,"px")})),e.headTableEl.style.width="".concat(e.bodyTableEl.offsetWidth,"px")})),me(de(e),"onScroll",(function(t){t&&(e.headTableWrapperEl.scrollLeft=t.target.scrollLeft)})),e}return n=c,(r=[{key:"componentDidMount",value:function(){this.setColumnsWidth(),window.addEventListener("resize",this.onResize)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.resizeTimeout),window.removeEventListener("resize",this.onResize)}},{key:"render",value:function(){var e=this,n=this.props,r=n.columns,o=n.data,i=n.maxHeight,a=n.noScroll,c={};return r.map((function(e){return c[e.key]={width:e.width,align:e.align,marginLeft:e.marginLeft},e})),t().createElement($,null,t().createElement(ee,{ref:function(t){e.headTableWrapperEl=t}},t().createElement(ne,{ref:function(t){e.headTableEl=t}},t().createElement(ie,null,t().createElement(re,null,r.map((function(e){return t().createElement(oe,{key:e.key,align:e.align},e.label)})))))),t().createElement(te,null,t().createElement(he,{maxHeight:i,noScroll:a,onScroll:this.onScroll},t().createElement(ne,{ref:function(t){e.bodyTableEl=t}},t().createElement(ie,{hidden:!0},t().createElement(re,null,r.map((function(e){return t().createElement(oe,{key:e.key,colWidth:e.width,minWidth:e.minWidth,maxWidth:e.maxWidth,align:e.align},e.label)})))),t().createElement(ae,null,o.map((function(e){return t().createElement(re,{key:e.id},Object.keys(e).map((function(n){return c[n]&&t().createElement(oe,{key:n,align:c[n].align},e[n])})))})))))))}}])&&se(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function Oe(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Se.propTypes={columns:i().arrayOf(Object).isRequired,data:i().arrayOf(Object).isRequired,maxHeight:i().number,noScroll:i().bool},Se.defaultProps={maxHeight:500,noScroll:!1};var Ie=l().div.withConfig({displayName:"Textstyles__Text",componentId:"sc-xkpyal-0"})(["display:block;"," "," h1{font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.18;letter-spacing:0.8px;text-transform:uppercase;margin-top:1em;margin-bottom:32px;","}h2{font-family:'Open Sans';font-weight:300;font-size:34px;line-height:1.18em;letter-spacing:1.5px;margin-top:1em;margin-bottom:0.18em;"," ","}h4{font-family:'Open Sans';font-weight:300;font-size:22px;line-height:1.27em;letter-spacing:0.8px;margin-top:1em;margin-bottom:0.27em;opacity:0.5;","}h3{font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;margin-top:1em;margin-bottom:0.27em;text-transform:uppercase;","}h5{font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;text-transform:uppercase;}p{font-family:'Open Sans';font-weight:300;font-size:16px;line-height:1.5em;letter-spacing:0.6px;margin:1em 0;"," a{text-decoration:underline;transition:color 0.2s;color:",";&:hover{color:",";}}}ul{margin:16px;li{font-size:14px;font-weight:300;font-style:normal;font-stretch:normal;line-height:2;letter-spacing:0.6px;}@media screen and (max-width:479px){padding-left:15px;}}a{text-decoration:underline;}> *:first-child{margin-top:0;}> *:last-child{margin-bottom:0;}"],(function(e){return e.fullWidth&&"width: 100%;"}),(function(e){return e.center&&"\n text-align: center;\n "}),G.Medium(ge||(ge=Oe(["\n font-size: 34px;\n letter-spacing: 1.5px;\n margin-bottom: 45px;\n "]))),G.Medium(be||(be=Oe(["\n font-size: 42px;\n "]))),G.Large(ye||(ye=Oe(["\n font-size: 50px;\n "]))),G.Medium(ve||(ve=Oe(["\n font-size: 34px;\n "]))),G.Medium(we||(we=Oe(["\n font-size: 34px;\n "]))),G.XLarge(xe||(xe=Oe(["\n font-size: 20px;\n "]))),(function(e){return p.cPrimary}),(function(e){return p.cText})),Ae=l().p.withConfig({displayName:"Textstyles__Caption",componentId:"sc-xkpyal-1"})(["&&&{font-family:'Open Sans';font-weight:300;font-size:9px;line-height:1.78em;letter-spacing:0.4px;"," "," "," a{text-decoration:underline;transition:color .2s;color:",";&:hover{color:",";}}}"],G.Large(Ee||(Ee=Oe(["\n font-size: 12px;\n "]))),(function(e){return e.center&&"text-align: center;"}),(function(e){return e.link&&"margin-top: 36px;"}),(function(e){return p.cPrimary}),(function(e){return p.cText}));Ie.Caption=Ae;var ke,Ce,Pe,Te=Ie;function je(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Me=l().div.withConfig({displayName:"Inputstyles__Wrapper",componentId:"sc-1osolkh-0"})(["position:relative;display:block;input:-webkit-autofill{border:none;border-bottom:1px solid #f0f0f0;box-shadow:0 0 0px 1000px #fff inset;transition:background-color 5000s ease-in-out 0s;}",""],(function(e){return e.inverted&&(0,c.css)(ke||(ke=je(["\n "," {\n color: ",";\n opacity: 0.4;\n }\n "," {\n & > input {\n color: ",";\n border-bottom-color: ",";\n\n &:focus,\n &:hover {\n border-bottom-color: rgba(255, 255, 255, 0.4);\n }\n }\n }\n "])),_e,p.cWhite,Ne,p.cWhite,p.cWhite)})),_e=l().label.withConfig({displayName:"Inputstyles__Label",componentId:"sc-1osolkh-1"})(["z-index:11;display:block;position:absolute;left:0;top:-2px;height:12px;font-size:11px;line-height:20px;letter-spacing:2px;text-transform:uppercase;color:",";pointer-events:none;transform:translateY(15px);transition:transform .2s,font-size .2s;"," "," ",""],(function(e){return p.cBlack}),(function(e){return e.isUp&&"\n font-size: 10px;\n transform: translateY(0);\n "}),(function(e){return e.active&&"\n color: ".concat(p.cPrimary,";\n ")}),(function(e){return e.error&&"\n color: ".concat(p.cWarning,";\n ")})),Ne=l().div.withConfig({displayName:"Inputstyles__InputWrap",componentId:"sc-1osolkh-2"})(["position:relative;& > input{z-index:0;font-family:'Open sans';display:block;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:15px 0;padding-bottom:5px;box-shadow:none;border:0;outline:0;border-top:1px solid transparent;border-bottom:1px solid ",";color:",";background-color:transparent;transition:border-color 0.2s;&:focus,&:hover{border-top-color:transparent;border-bottom-color:",";}&::placeholder{color:transparent;opacity:0;}}"," ",""],(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.disabled&&(0,c.css)(Ce||(Ce=je(["\n & > input {\n color: ",";\n &:focus,\n &:hover {\n border-top-color: transparent;\n border-bottom-color: ",";\n }\n }\n "])),(function(e){return p.cGrey2}),(function(e){return p.cGrey}))}),(function(e){return e.dashboard&&(0,c.css)(Pe||(Pe=je(["\n & > input {\n border: 0;\n padding: 0;\n height: 22px;\n font-family: 'Open Sans';\n font-weight: 300;\n font-size: 14px;\n line-height: 22px;\n letter-spacing: 0.53px;\n text-transform: normal;\n color: ",";\n\n &::placeholder {\n color: ",";\n opacity: 1;\n }\n }\n "])),p.cBlack,p.cGrey2)})),Re=l().div.withConfig({displayName:"Checkboxstyles__Wrapper",componentId:"sc-1drozoj-0"})(["position:relative;display:block;"]),Le=l()(_e).withConfig({displayName:"Checkboxstyles__Label",componentId:"sc-1drozoj-1"})(["position:relative;top:0;transform:none;font-size:10px;margin-bottom:5px;"]),Be=l().div.withConfig({displayName:"Checkboxstyles__Input",componentId:"sc-1drozoj-2"})(["position:relative;& > input{z-index:-1;position:absolute;top:4px;left:4px;display:block;width:1px;height:0;opacity:0;border:0;& + label{position:relative;display:inline-block;max-width:100%;padding-left:28px;font-family:'Open Sans';font-size:12px;line-height:16px;font-weight:300;letter-spacing:0.4px;cursor:pointer;",";&:before,&:after{display:block;position:absolute;}&:before{content:'';top:0;left:0;width:16px;height:16px;border-radius:3px;border:1px solid #9b9b9b;box-shadow:none;transition:border-color 0.2s;","}&:after{content:'\\f3ff';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;top:3px;left:3px;width:10px;height:10px;font-size:22px;line-height:10px;text-align:center;color:transparent;",";}}&:focus + label,&:hover + label{&:before{border-color:",";}}&:checked + label{&:after{color:",";}}}"],(function(e){return e.error&&"color: ".concat(p.cWarning)}),(function(e){return e.large&&"\n width: 20px;\n height: 20px;\n border-radius: 4px;\n "}),(function(e){return e.large&&"\n top: 0;\n left: 0;\n width: 20px;\n height: 20px;\n font-size: 34px;\n line-height: 20px;\n "}),(function(e){return p.cPrimary}),(function(e){return p.cPrimary})),ze=l().span.withConfig({displayName:"Checkbox__TermsStyled",componentId:"sc-knu01c-0"})(["cursor:pointer;font-size:12px;text-decoration:underline;&:hover{opacity:0.7;}"]),De=l().div.withConfig({displayName:"Checkbox__CheckBoxCaption",componentId:"sc-knu01c-1"})(["padding-top:12px;letter-spacing:0.4px;font-size:11px;font-weight:400;"]),Ge=function(e){var n=e.onTermsClicked;return t().createElement(ze,{onClick:function(e){e.stopPropagation(),e.preventDefault(),n()}},"Terms of Use")},qe=function(e){var n=e.id,r=e.name,o=e.text,i=e.label,a=e.value,c=e.checked,l=e.large,s=e.error,u=e.touched,f=e.onChange,d=e.onBlur,p=e.onFocus,m=e.textStyle,h=e.isTerms,g=e.onTermsClicked;return t().createElement(Re,null,i&&t().createElement(Le,{error:s&&u,htmlFor:n},i),t().createElement(Be,{error:s,large:l},t().createElement("input",{type:"checkbox",id:n,name:r||n,value:a,checked:c,onChange:f,onBlur:d,onFocus:p}),t().createElement("label",{htmlFor:n,style:m},o,h&&t().createElement(Ge,{onTermsClicked:g,onclick:"event.stopPropagation();"}))))},Fe={id:i().string.isRequired,name:i().string,text:i().oneOfType([i().string,i().node]),label:i().string,value:i().string,checked:i().bool,large:i().bool,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func,textStyle:i().object};qe.propTypes=Fe,qe.defaultProps={name:"",text:"",label:"",value:"",checked:!1,large:!1,error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){},textStyle:{}};var Ue,We,He,Ve,Ye,Qe,Ke,Je,Ze,Xe,$e,et,tt,nt,rt,ot,it,at,ct,lt,st,ut,ft,dt,pt=qe;function mt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ht=l().div.withConfig({displayName:"ComponentWrapperstyles__ComponentWrapper",componentId:"sc-1w1v084-0"})(["position:relative;padding:32px;text-align:left !important;"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," h4{width:50%;@media screen and (max-width:767px){width:100%;}}@media screen and (max-width:767px){padding:32px;","}"," "," ",""],G.Large(Ue||(Ue=mt(["\n padding: 32px 64px;\n "]))),(function(e){return e.borderLeft&&(0,c.css)(We||(We=mt(["\n border-left: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.borderRight&&(0,c.css)(He||(He=mt(["\n border-right: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.borderTop&&(0,c.css)(Ve||(Ve=mt(["\n border-top: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.borderBottom&&(0,c.css)(Ye||(Ye=mt(["\n border-bottom: 1px solid ",";\n "])),p.cLightGrey)}),(function(e){return e.noPaddingLeft&&(0,c.css)(Qe||(Qe=mt(["\n padding-left: 0 !important;\n "])))}),(function(e){return e.noPaddingRight&&(0,c.css)(Ke||(Ke=mt(["\n padding-right: 0 !important;\n "])))}),(function(e){return e.noPaddingTop&&(0,c.css)(Je||(Je=mt(["\n padding-top: 0 !important;\n "])))}),(function(e){return e.noPaddingBottom&&(0,c.css)(Ze||(Ze=mt(["\n padding-bottom: 0 !important;\n "])))}),(function(e){return e.noPaddingVertical&&(0,c.css)(Xe||(Xe=mt(["\n padding-top: 0 !important;\n padding-bottom: 0 !important;\n "])))}),(function(e){return e.horizontalPaddingHalf&&(0,c.css)($e||($e=mt(["\n padding-left: 18px !important;\n padding-right: 18px !important;\n "])))}),(function(e){return e.noPaddingHorizontal&&(0,c.css)(et||(et=mt(["\n padding-left: 0 !important;\n padding-right: 0 !important;\n "])))}),(function(e){return e.paddingVeticalHalf&&(0,c.css)(tt||(tt=mt(["\n padding-top: 16px !important;\n padding-bottom: 16px !important;\n "])))}),(function(e){return e.noPadding&&(0,c.css)(nt||(nt=mt(["\n padding: 0 !important;\n "])))}),(function(e){return e.center&&(0,c.css)(rt||(rt=mt(["\n text-align: center !important;\n "])))}),(function(e){return e.grow&&(0,c.css)(ot||(ot=mt(["\n flex-grow: 1;\n "])))}),(function(e){return e.wrap&&(0,c.css)(it||(it=mt(["\n flex-wrap: wrap;\n "])))}),(function(e){return e.background&&(0,c.css)(at||(at=mt(["\n background-color: ",";\n "])),p.cGrey)}),(function(e){return e.fluid&&(0,c.css)(ct||(ct=mt(["\n width: 100%;\n "])))}),(function(e){return e.fluidcenter&&(0,c.css)(lt||(lt=mt(["\n width: 100% !important;\n text-align: center !important;\n "])))}),(function(e){return e.investmentNotifications&&(0,c.css)(st||(st=mt(["\n padding: 0;\n "])))}),(function(e){return e.alignVertically&&(0,c.css)(ut||(ut=mt(["\n display: flex;\n align-items: center;\n "])))}),(function(e){return e.marginTop&&(0,c.css)(ft||(ft=mt(["\n margin-top: ",";\n "])),e.marginTop)}),(function(e){return e.isAddMember&&(0,c.css)(dt||(dt=mt(["\n @media screen and (min-width: 768px) {\n padding-left: 10px !important;\n padding-right: 10px !important;\n }\n "])))})),gt=ht,bt=l().div.withConfig({displayName:"AgreementItemstyles__Container",componentId:"sc-1prg3a3-0"})(["display:block;"]),yt=(l().div.withConfig({displayName:"AgreementItemstyles__CheckboxWrap",componentId:"sc-1prg3a3-1"})(["padding:6px 0;"]),l().div.withConfig({displayName:"AgreementItemstyles__InfoBox",componentId:"sc-1prg3a3-2"})(["max-width:240px;text-align:left;"])),vt=(l().a.withConfig({displayName:"AgreementItemstyles__OfferingPageLink",componentId:"sc-1prg3a3-3"})(["text-decoration:underline;&:hover{color:#0050ca !important;opacity:0.7;text-decoration:underline;}"]),l().a.withConfig({displayName:"AgreementItemstyles__TermsOfOfferingLink",componentId:"sc-1prg3a3-4"})(["text-decoration:underline;&:hover{opacity:0.7;text-decoration:underline;}"]),function(n){var r=n.title,o=n.text,i=n.checkbox,a=n.info;return t().createElement(bt,null,t().createElement(Te,null,r&&t().createElement("h3",null,r),t().createElement("p",null,o)),i&&t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(pt,{id:i.id,name:i.name||i.id,text:t().createElement(e.Fragment,null,i.text,a&&t().createElement(b,{position:"bottom",html:t().createElement(yt,null,a)})),value:i.value,checked:i.checked,onChange:i.onChange,onBlur:i.onBlur})))});vt.propTypes={title:i().string,text:i().string.isRequired,info:i().string,checkbox:i().shape(Fe).isRequired},vt.defaultProps={title:"",info:""};var wt=vt,xt=require("@reach/router"),Et=l().i.attrs({className:"ion ion-ios-arrow-back"}).withConfig({displayName:"BackButtonstyles__BackButtonIcon",componentId:"sc-1uhreks-0"})(["font-size:16px;position:absolute;left:0;color:",";transform:translateX(0);transition:0.3s color,0.3s transform;"],(function(e){return p.cBlack})),St=l().i.attrs({className:"ion ion-ios-arrow-forward"}).withConfig({displayName:"BackButtonstyles__ForwardButtonIcon",componentId:"sc-1uhreks-1"})(["font-size:16px;position:absolute;right:0;color:",";transform:translateX(0);transition:0.3s color,0.3s transform;"],(function(e){return p.cBlack})),Ot=l()(xt.Link).withConfig({displayName:"BackButtonstyles__StyledBackButton",componentId:"sc-1uhreks-2"})(["display:block;font-size:11px;line-height:16px;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;&:hover{color:",";","{transform:translateX(-4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark})),It=l().a.withConfig({displayName:"BackButtonstyles__StyledBackButtonExternal",componentId:"sc-1uhreks-3"})(["display:block;font-size:11px;line-height:16px;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;&:hover{color:",";","{transform:translateX(-4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark})),At=l().span.withConfig({displayName:"BackButtonstyles__StyledWindowBackButton",componentId:"sc-1uhreks-4"})(["display:block;font-size:11px;line-height:16px;cursor:pointer;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;&:hover{color:",";","{transform:translateX(-4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark})),kt=(l().div.withConfig({displayName:"BackButtonstyles__StyledBackButtonClick",componentId:"sc-1uhreks-5"})(["display:block;font-size:11px;line-height:16px;letter-spacing:2px;color:",";position:relative;padding-left:16px;transition:0.3s color;cursor:pointer;"," &:hover{color:",";","{transform:translateX(-4px);color:",";}","{transform:translateX(4px);color:",";}}"],(function(e){return p.cBlack}),(function(e){return e.forward&&"\n padding-right: 16px;\n "}),(function(e){return p.cPrimaryDark}),Et,(function(e){return p.cPrimaryDark}),St,(function(e){return p.cPrimaryDark})),function(e){var n=e.children,r=e.to,o=e.href;return t().createElement(t().Fragment,null,o?t().createElement(It,{href:o},t().createElement(Et,null),n):r?t().createElement(Ot,{to:r},t().createElement(Et,null),n):t().createElement(At,{onClick:function(){return window.history.back()}},t().createElement(Et,null),n))});kt.propTypes={children:i().node.isRequired,to:i().string,href:i().string};var Ct,Pt,Tt,jt=kt,Mt=l().div.withConfig({displayName:"Backgroundstyles__Container",componentId:"sc-1pfq4ec-0"})(["position:relative;width:100%;height:100%;font-size:0;"," &:after{","}",""],(function(e){if(!e.mobileRatio)return"";var t=e.mobileRatio.split(":"),n=100*t[1]/t[0];return"\n &:after {\n z-index: 0;\n content: '';\n position: relative;\n display: inline-block;\n vertical-align: top;\n width: 100%;\n height: 100%;\n padding-top: ".concat(n,"%;\n margin-left: -100%;\n }\n ")}),G.Medium(Ct||(Pt=["\n display: none;\n "],Tt||(Tt=Pt.slice(0)),Ct=Object.freeze(Object.defineProperties(Pt,{raw:{value:Object.freeze(Tt)}})))),(function(e){return e.investmentOpportunities&&"\n padding-top: 33% !important;\n "})),_t=l().div.withConfig({displayName:"Backgroundstyles__Wrap",componentId:"sc-1pfq4ec-1"})(["z-index:1;position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;& > div{height:100%;}"]),Nt=l().img.withConfig({displayName:"Backgroundstyles__Img",componentId:"sc-1pfq4ec-2"})(["position:absolute;width:100%;object-fit:cover;object-position:center center;top:0;left:0;height:100%;"," "," ",""],(function(e){return e.investmentOpportunities&&"\n height: 100%;\n "}),(function(e){return e.withPadding&&"\n padding: 20px;\n "}),(function(e){return e.contain&&"\n object-fit:contain;\n "})),Rt=(l().video.withConfig({displayName:"Backgroundstyles__Video",componentId:"sc-1pfq4ec-3"})(["object-fit:cover;width:100%;height:100%;"]),l().img.withConfig({displayName:"Backgroundstyles__Image",componentId:"sc-1pfq4ec-4"})(["min-width:100%;min-height:100%;width:auto;height:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);"]),l().div.withConfig({displayName:"Backgroundstyles__Content",componentId:"sc-1pfq4ec-5"})(["z-index:2;position:relative;display:inline-block;vertical-align:top;width:100%;font-size:10px;"])),Lt=function(e){var n=e.children,r=e.src,o=e.mobileRatio,i=e.investmentOpportunities,a=e.withPadding,c=e.contain;return t().createElement(Mt,{mobileRatio:o,investmentOpportunities:i},t().createElement(_t,null,t().createElement(Nt,{src:r,alt:"background",contain:c,withPadding:a,investmentOpportunities:i})),t().createElement(Rt,null,n))};Lt.propTypes={src:i().string.isRequired,mobileRatio:i().string,children:i().node},Lt.defaultProps={mobileRatio:"",children:t().createElement("div",null)};var Bt,zt=Lt,Dt=l().div.withConfig({displayName:"BasicTablestyles__Table",componentId:"sc-11e8nyz-0"})(["display:block;border:1px solid ",";",""],(function(e){return p.cLightGrey}),(function(e){return e.filled&&"\n background: #e1e1e1; //".concat((function(e){return p.cLightGrey}),";\n ")})),Gt=l().div.withConfig({displayName:"BasicTablestyles__Row",componentId:"sc-11e8nyz-1"})(["font-size:11px;line-height:24px;letter-spacing:2.1px;text-transform:uppercase;padding:16px 24px;display:block;"," & + &{border-top:1px solid ",";}&:after{content:'';display:block;width:100%;height:0;clear:both;}",""],G.XLarge(Bt||(Bt=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n padding: 16px 46px;\n "]))),(function(e){return p.cLightGrey}),(function(e){return e.smallPadding&&"\n padding: 14px 6px;\n "})),qt=l().div.withConfig({displayName:"BasicTablestyles__Label",componentId:"sc-11e8nyz-2"})(["float:left;max-width:50%;text-align:start;"]),Ft=l().div.withConfig({displayName:"BasicTablestyles__Value",componentId:"sc-11e8nyz-3"})(["float:right;display:grid;max-width:50%;"]),Ut=l().div.withConfig({displayName:"BasicTablestyles__LabelWarning",componentId:"sc-11e8nyz-4"})(["float:left;text-align:left;width:100%;color:#ee220d;line-height:16px;"]),Wt=l().div.withConfig({displayName:"BasicTablestyles__Caption",componentId:"sc-11e8nyz-5"})(["text-transform:initial;font-size:11px;float:right;letter-spacing:0.6px;font-style:italic;"]),Ht=function(e){var n=e.data,r=e.filled,o=e.smallPadding;return t().createElement(Dt,{filled:r},n.map((function(e,n){return t().createElement(Gt,{key:e.label,smallPadding:o},t().createElement(qt,null,e.label),t().createElement(Ft,null,e.value,t().createElement(Wt,null,e.valueDescription)),e.labelwarning?t().createElement(Ut,null,e.labelwarning):"")})))};Ht.propTypes={data:i().arrayOf(i().shape({label:i().string.isRequired,value:i().string.isRequired})).isRequired};var Vt,Yt,Qt,Kt,Jt,Zt,Xt,$t,en,tn,nn,rn,on,an=Ht;function cn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ln=l().button.attrs((function(e){return{type:e.type||"button"}})).withConfig({displayName:"Buttonstyles__Button",componentId:"sc-1bxw8qq-0"})(["display:inline-block;height:auto;min-height:40px;max-width:100%;background-color:",";border:1px solid ",";font-weight:bold;font-size:12px;line-height:16px;color:",";text-transform:uppercase;text-align:center;letter-spacing:2px;border-radius:28px;padding:11px 32px;margin:0;outline:0;vertical-align:baseline;text-shadow:none;user-select:none;cursor:pointer;transition:color .2s,background-color .2s,border-color .2s;"," "," "," "," "," "," &:hover,&:focus,&:active{background-color:",";border-color:",";color:",";}"," "," "," "," "," "," ",""],(function(e){return p.cPrimary}),(function(e){return p.cPrimary}),(function(e){return p.cWhite}),(function(e){var t=e.isUpdates,n=e.isCancel;return t&&n&&(0,c.css)(Vt||(Vt=cn(["\n padding: 11px 0;\n margin-left: 32px;\n "])))}),(function(e){var t=e.isUpdates,n=e.isDone;return t&&n&&(0,c.css)(Yt||(Yt=cn(["\n margin-left: 32px;\n\n @media screen and (max-width: 850px) {\n padding: 11px 20px;\n }\n "])))}),(function(e){return e.withMarginBottom&&(0,c.css)(Qt||(Qt=cn(["\n margin-bottom: 32px;\n "])))}),(function(e){return e.minWidth&&(0,c.css)(Kt||(Kt=cn(["\n min-width: ",";\n "])),e.minWidth)}),(function(e){return e.fluid&&(0,c.css)(Jt||(Jt=cn(["\n display: block;\n width: 100%;\n padding: 11px 12px;\n "])))}),(function(e){return e.center&&(0,c.css)(Zt||(Zt=cn(["\n margin-left: auto;\n margin-right: auto;\n "])))}),(function(e){return p.cPrimaryDark}),(function(e){return p.cPrimaryDark}),(function(e){return p.cWhite}),(function(e){return e.secondary&&(0,c.css)(Xt||(Xt=cn(["\n background-color: ",";\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cWhite,p.cPrimary,p.cPrimary,p.cPrimary,p.cWhite)}),(function(e){return e.onlyText&&(0,c.css)($t||($t=cn(["\n border-color: transparent;\n background-color: transparent;\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: transparent;\n border-color: transparent;\n color: ",";\n }\n "])),p.cBlack,p.cPrimary)}),(function(e){return e.disabled&&(0,c.css)(en||(en=cn(["\n border-color: ",";\n background-color: ",";\n color: ",";\n opacity: 0.2;\n cursor: default;\n box-shadow: none !important;\n pointer-events: none !important;\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cBlack,p.cWhite,p.cBlack,p.cPrimary,p.cPrimary,p.cWhite)}),(function(e){return e.negative&&(0,c.css)(tn||(tn=cn(["\n border-color: ",";\n background-color: ",";\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cWarning,p.cWhite,p.cWarning,p.cWhite,p.cWarningDark,p.cWarningDark)}),(function(e){return e.outline&&(0,c.css)(nn||(nn=cn(["\n border-color: ",";\n background-color: transparent;\n color: ",";\n\n &:hover,\n &:focus,\n &:active {\n background-color: ",";\n border-color: ",";\n color: ",";\n }\n "])),p.cWhite,p.cWhite,p.cWhite,p.cWhite,p.cWarning)}),(function(e){return e.marginTop&&(0,c.css)(rn||(rn=cn(["\n margin-top: ",";\n "])),e.marginTop)}),(function(e){return e.marginRight&&(0,c.css)(on||(on=cn(["\n margin-right: ",";\n "])),e.marginRight)}));ln.propTypes={secondary:i().bool,disabled:i().bool,negative:i().bool,center:i().bool},ln.defaultProps={secondary:!1,disabled:!1,negative:!1,center:!1};var sn=ln,un=l().div.withConfig({displayName:"ButtonContainerstyles__ButtonContainer",componentId:"sc-1no5512-0"})(["align-items:center;display:flex;justify-content:center;"," ","{min-width:150px;max-width:300px;}@media screen and (max-width:767px){flex-direction:column;","{min-width:150px;max-width:400px;}}"],(function(e){return e.flexColumn&&"\n flex-direction:column;\n "}),sn,sn),fn=require("react-countup"),dn=n.n(fn),pn=l().div.withConfig({displayName:"MultiProgressBarstyles__Bar",componentId:"sc-1sn65pk-0"})(["width:100%;position:relative;display:block;height:10px;background-color:#004bb7;border-radius:5px;overflow:hidden;"]),mn=l().div.withConfig({displayName:"MultiProgressBarstyles__BackBar",componentId:"sc-1sn65pk-1"})(["z-index:0;position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:4px;overflow:hidden;"]),hn=l().div.withConfig({displayName:"MultiProgressBarstyles__FillBar",componentId:"sc-1sn65pk-2"})(["z-index:1;position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:4px;overflow:hidden;transition:transform 0.3s;transform:translateX(100%);",""],(function(e){return e.percent&&"\n transform: translateX(".concat(100-e.percent,"%);\n ")})),gn=l().div.withConfig({displayName:"MultiProgressBarstyles__FillProgress",componentId:"sc-1sn65pk-3"})(["z-index:1;position:absolute;top:0;left:0;display:block;width:100%;height:100%;border-radius:4px;overflow:hidden;transition:transform 0.3s;transform:translateX(-100%);",""],(function(e){return e.percent&&"\n transform: translateX(".concat(e.percent-100,"%);\n ")})),bn=l().div.withConfig({displayName:"MultiProgressBarstyles__BarPart",componentId:"sc-1sn65pk-4"})(["display:block;height:100%;float:left;background-color:#000;transition:width 0.3s;"," ",""],(function(e){return"\n width: ".concat(e.percent||0,"%;\n ")}),(function(e){return e.color&&"\n ".concat("back-empty"===e.color?"\n background-color: transparent;\n ":"","\n ").concat("back-minimum"===e.color?"\n background-color: #4a90e2;\n ":"","\n ").concat("back-disabled"===e.color?"\n background-color: #4a90e2;\n background-image: repeating-linear-gradient(-45deg, #004bb7, #004bb7 2px, #4a90e2 2px, #4a90e2 5px);\n ":"","\n ").concat("fill-empty"===e.color?"\n background-color: transparent;\n ":"","\n ").concat("fill-minimum"===e.color?"\n background-color: #fff;\n ":"","\n ").concat("fill-minimum-grey"===e.color?"\n background-color: #e1e1e1;\n ":"","\n ").concat("fill-bought"===e.color?"\n background-color: #69bd53;\n background-image: linear-gradient(to left, #a9ef9c, #69bd53);\n ":"","\n ")})),yn=function(e){var n=e.backParts,r=e.fillParts,o=e.fill;return t().createElement(pn,null,t().createElement(mn,null,n.map((function(e){return t().createElement(bn,{key:e.label,percent:e.value,color:"back-".concat(e.label)})}))),t().createElement(gn,{percent:o},t().createElement(hn,{percent:o},r.map((function(e){return t().createElement(bn,{key:e.label,percent:e.value,color:"fill-".concat(e.label)})})))))},vn={backParts:i().arrayOf(i().shape({value:i().number.isRequired,label:i().string.isRequired})).isRequired,fillParts:i().arrayOf(i().shape({value:i().number.isRequired,label:i().string.isRequired})).isRequired,fill:i().number.isRequired};yn.propTypes=vn;var wn,xn,En=yn;function Sn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var On,In,An,kn=l()(gt).withConfig({displayName:"CaptialRaisedSummarystyles__Wrapper",componentId:"sc-1608cnu-0"})(["background:",";display:flex;flex-direction:column;justify-content:center;height:100%;margin-top:-1px;"],(function(e){return p.cPrimary})),Cn=l().div.withConfig({displayName:"CaptialRaisedSummarystyles__Title",componentId:"sc-1608cnu-1"})(["font-size:11px;line-height:20px;letter-spacing:2px;margin-bottom:14px;color:",";"],(function(e){return p.cWhite})),Pn=l().div.withConfig({displayName:"CaptialRaisedSummarystyles__Amount",componentId:"sc-1608cnu-2"})(["font-size:34px;line-height:40px;font-weight:300;margin-bottom:20px;letter-spacing:2px;color:",";white-space:nowrap;"," ",""],(function(e){return p.cWhite}),G.Medium(wn||(wn=Sn(["\n font-size: 28px;\n "]))),G.Large(xn||(xn=Sn(["\n font-size: 34px;\n "])))),Tn=function(e){var n=e.capital,r=e.multiProgressBar;return t().createElement(kn,null,t().createElement(Cn,null,"CAPITAL RAISED"),t().createElement(Pn,null,t().createElement(dn(),{end:n,prefix:"€ ",duration:.01,separator:","})),t().createElement(En,r))};function jn(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Tn.propTypes={capital:i().number.isRequired,multiProgressBar:i().shape(vn).isRequired};var Mn=l().div.withConfig({displayName:"ChartBoxstyles__Container",componentId:"sc-1h5ta2j-0"})(["position:relative;font-size:0;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:32px 0;text-align:left;width:100%;"," @media screen and (max-width:767px){width:100%;}"],G.Medium(On||(On=jn(["\n align-items: start;\n padding: 64px 0;\n flex-direction: row;\n "])))),_n=(l().div.withConfig({displayName:"ChartBoxstyles__Chart",componentId:"sc-1h5ta2j-1"})(["display:block;"]),l().div.withConfig({displayName:"ChartBoxstyles__Legend",componentId:"sc-1h5ta2j-2"})(["display:block;width:100%;padding-top:64px;"," ",""],G.Medium(In||(In=jn(["\n width: auto;\n flex-grow: 1;\n padding-top: 0;\n padding-left: 64px;\n\n ","\n "])),(function(e){return e.spaceTop&&"\n padding-top: 104px;\n "})),G.Large(An||(An=jn(["\n max-width: 768px;\n "])))),l().div.withConfig({displayName:"ChartBoxstyles__SelectWrapper",componentId:"sc-1h5ta2j-3"})(["padding-bottom:64px;"]),function(){return t().createElement(Mn,null,t().createElement(gt,{center:!0},t().createElement(Te,null,t().createElement("h4",null,"No Investments yet..."))))}),Nn=function(){return t().createElement(Mn,null,t().createElement(gt,{center:!0},t().createElement(Te,null,t().createElement("h4",null,"No Distributions yet..."))))},Rn=require("react-collapse"),Ln=l().div.withConfig({displayName:"ChartLegendstyles__Items",componentId:"sc-gh1vwu-0"})(["display:block;margin:-16px 0;"]),Bn=l().div.withConfig({displayName:"ChartLegendstyles__Item",componentId:"sc-gh1vwu-1"})(["padding:16px 0;"]),zn=l().div.withConfig({displayName:"ChartLegendstyles__Head",componentId:"sc-gh1vwu-2"})(["cursor:pointer;position:relative;font-size:0;padding:0 46px;"]),Dn=l().div.withConfig({displayName:"ChartLegendstyles__Body",componentId:"sc-gh1vwu-3"})(["padding:18px 0;"]),Gn=l().div.withConfig({displayName:"ChartLegendstyles__ColorLabel",componentId:"sc-gh1vwu-4"})(["display:block;width:28px;height:28px;background-color:",";position:absolute;top:0;left:0;"],(function(e){return e.itemColor})),qn=l().div.withConfig({displayName:"ChartLegendstyles__NameCol",componentId:"sc-gh1vwu-5"})(["width:50%;display:inline-block;vertical-align:top;"]),Fn=l().div.withConfig({displayName:"ChartLegendstyles__ValueCol",componentId:"sc-gh1vwu-6"})(["width:50%;display:inline-block;vertical-align:top;"]),Un=l().div.withConfig({displayName:"ChartLegendstyles__LargeText",componentId:"sc-gh1vwu-7"})(["font-weight:300;font-size:22px;line-height:28px;"]),Wn=l().div.withConfig({displayName:"ChartLegendstyles__SmallText",componentId:"sc-gh1vwu-8"})(["font-size:11px;line-height:12px;margin-top:4px;font-style:italic;"]),Hn=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"ChartLegendstyles__Arrow",componentId:"sc-gh1vwu-9"})(["&&&{position:absolute;top:14px;right:24px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;margin-top:-8px;","}"],(function(e){return e.isOpened&&"\n transform: rotate(180deg);\n "}));function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Yn=function(n){var r=n.data,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vn(e,t):void 0}}(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.")}()}((0,e.useState)(r.map((function(){return!1}))),2),i=o[0],a=o[1];return t().createElement(Ln,null,r.map((function(e,n){return t().createElement(Bn,{key:e.name},t().createElement(zn,{onClick:function(){return e=n,t=r.map((function(t,n){return n===e?!i[n]:i[n]})),void a(t);var e,t}},t().createElement(Gn,{itemColor:e.color}),t().createElement(qn,null,t().createElement(Un,null,e.name),t().createElement(Wn,null,e.subname)),t().createElement(Fn,null,t().createElement(Un,null,e.value),t().createElement(Wn,null,e.info)),e.details&&t().createElement(Hn,{isOpened:i[n]})),e.details&&t().createElement(Rn.Collapse,{isOpened:i[n]},t().createElement(Dn,null,e.details)))})))};Yn.propTypes={data:i().arrayOf(i().shape({value:i().number.isRequired,name:i().string,color:i().string,subname:i().string,info:i().string})).isRequired};var Qn,Kn,Jn,Zn=require("react-copy-to-clipboard"),Xn={expand:"\\e923",shrink:"\\e924",emoji:"\\e922",arrowDown:"\\e900",arrowLeft:"\\e901",arrowRight:"\\e902",arrowUp:"\\e903",heart:"\\e904",heartFill:"\\e921",lock:"\\e905",menu:"\\e906",pen:"\\e907",star:"\\e908",trash:"\\e909",unread:"\\e90a",user:"\\e90b",edit:"\\e90c",check:"\\e90d",inProgress:"\\e90e",warning:"\\e90f",logout:"\\e910",tokenHolder:"\\e911",teams:"\\e912",tokenSales:"\\e913",analytics:"\\e914",updates:"\\e915",overview:"\\e916",comments:"\\e917",hamburger:"\\e918",share:"\\e919",facebook:"\\e91a",linkedin:"\\e91b",medium:"\\e91c",reddit:"\\e91d",telegram:"\\e91e",twitter:"\\e91f",youtube:"\\e920"},$n=l().i.attrs({className:"ion ion-md-information-circle"}).withConfig({displayName:"Iconstyle__TooltipIcon",componentId:"sc-1v2m4hs-0"})(["position:relative;left:-0.4px;font-size:18px;opacity:0.2;transform:rotateY(180deg);"]),er=l().i.withConfig({displayName:"Iconstyle__Icon",componentId:"sc-1v2m4hs-1"})(["font-family:'icomoon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;&::before{content:\"",'";}',""],(function(e){return e.icon}),(function(e){return e.checklist&&(0,c.css)(Qn||(Qn=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n margin-left: 3px;\n margin-right: 11px;\n "])))})),tr=er,nr=require("@fortawesome/react-fontawesome"),rr=require("@fortawesome/free-solid-svg-icons");function or(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ir=l().div.withConfig({displayName:"CryptoAddressstyles__Container",componentId:"sc-1wjvdgu-0"})(["position:relative;"]),ar=l().div.withConfig({displayName:"CryptoAddressstyles__Head",componentId:"sc-1wjvdgu-1"})(["position:relative;margin-bottom:5px;&:after{content:'';display:block;width:100%;height:0;clear:both;}"," ",""],(function(e){return e.noBody&&"margin-bottom: 0"}),(function(e){return e.flexHead&&"\n display:flex;\n justify-content:space-between;\n align-items:center;\n flex-wrap:wrap;\n "})),cr=l().div.withConfig({displayName:"CryptoAddressstyles__Body",componentId:"sc-1wjvdgu-2"})(["position:relative;&:after{content:'';display:block;width:100%;height:0;clear:both;}",""],(function(e){return e.noBody&&"display: none"})),lr=l().div.withConfig({displayName:"CryptoAddressstyles__Title",componentId:"sc-1wjvdgu-3"})(["float:left;font-weight:bold;font-size:11px;line-height:24px;letter-spacing:2px;text-transform:uppercase;padding-right:20px;color:",";"],(function(e){return e.color})),sr=l().span.withConfig({displayName:"CryptoAddressstyles__Status",componentId:"sc-1wjvdgu-4"})(["display:inline-block;vertical-align:top;padding:0px 16px;background-color:",";color:",";font-weight:600;font-size:8px;letter-spacing:1.78px;line-height:16px;border-radius:8px;margin-left:12px;margin-top:4px;"],(function(e){return p.cBlack}),(function(e){return p.cWhite})),ur=l().div.withConfig({displayName:"CryptoAddressstyles__TitleSide",componentId:"sc-1wjvdgu-5"})(["display:block;float:right;margin:4px 0;width:40%;"]),fr=l().div.withConfig({displayName:"CryptoAddressstyles__AddressWrap",componentId:"sc-1wjvdgu-6"})(["display:flex;align-items:center;"]),dr=l().span.withConfig({displayName:"CryptoAddressstyles__Address",componentId:"sc-1wjvdgu-7"})(["display:block;font-weight:600;font-size:11px;line-height:16px;margin-right:6px;color:",";transition:color 0.2s;cursor:pointer;&:before{content:'\\f3d1';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:12px;line-height:8px;display:inline-block;width:8px;height:8px;margin-right:6px;}&:hover{color:",";}"],(function(e){return p.cBlack}),(function(e){return p.cPrimary})),pr=(l().span.withConfig({displayName:"CryptoAddressstyles__TableAddress",componentId:"sc-1wjvdgu-8"})(["line-height:16px;cursor:pointer;&:hover{color:",";}"],(function(e){return p.cPrimary})),l()(nr.FontAwesomeIcon).attrs({icon:rr.faCopy}).withConfig({displayName:"CryptoAddressstyles__CopyToClipboardButton",componentId:"sc-1wjvdgu-9"})(["color:",";cursor:pointer;"],(function(e){return p.black}))),mr=l().div.withConfig({displayName:"CryptoAddressstyles__DataBox",componentId:"sc-1wjvdgu-10"})(["float:left;"]),hr=l().div.withConfig({displayName:"CryptoAddressstyles__InfoBox",componentId:"sc-1wjvdgu-11"})(["float:right;width:40%;@media (max-width:430px){width:100%;padding-top:14px;text-align:start;}"]),gr=l().div.withConfig({displayName:"CryptoAddressstyles__Value",componentId:"sc-1wjvdgu-12"})(["position:relative;font-weight:300;font-size:22px;font-size:","px;line-height:28px;letter-spacing:0.4px;strong{font-weight:normal;&:after{content:' ';}}"],(function(e){return e.fontSize})),br=l().div.withConfig({displayName:"CryptoAddressstyles__Equal",componentId:"sc-1wjvdgu-13"})(["position:relative;font-size:9px;font-style:italic;line-height:16px;letter-spacing:0.4px;margin-top:8px;"]),yr=l().div.withConfig({displayName:"CryptoAddressstyles__DataWrapper",componentId:"sc-1wjvdgu-14"})(["position:relative;padding-right:24px;",""],G.Medium(Kn||(Kn=or(["\n ","\n \n "])),(function(e){return e.withOptions&&"\n padding-right: 100px;\n\n ".concat(ur," {\n width: 50%;\n }\n\n ").concat(hr," {\n width: 50%;\n }\n ")}))),vr=l().div.withConfig({displayName:"CryptoAddressstyles__CheckMark",componentId:"sc-1wjvdgu-15"})(["position:absolute;display:block;width:14px;height:14px;top:50%;right:0;margin-top:-7px;border:1px solid #9b9b9b;border-radius:7px;background-color:transparent;transition:border-color 0.2s,background-color 0.2s;&:before,&:after{content:'';display:block;position:absolute;top:50%;left:50%;opacity:0;transform:scale(0);transition:opacity 0.2s,transform 0.4s cubic-bezier(0.8,-0.5,0.6,0.6);}&:after{width:4px;height:4px;margin-top:-2px;margin-left:-2px;border-radius:2px;background-color:",";box-shadow:0 1px 2px 0 rgba(0,0,0,0.2);}"],(function(e){return p.cPrimary})),wr=l().div.withConfig({displayName:"CryptoAddressstyles__Radio",componentId:"sc-1wjvdgu-16"})(["& > input{",";z-index:-1;position:absolute;top:4px;left:4px;display:block;width:1px;height:0;opacity:0;border:0;& + label{display:block;position:relative;",";&:before{content:'';width:6px;position:absolute;top:0;left:0;height:100%;background-color:transparent;transition:background-color 0.2s;}}&:disabled + label{&:before{background-color:transparent !important;}","{border-color:","!important;background-color:","!important;}}&:checked + label{&:before{background-color:","!important;}","{&:before,&:after{opacity:1;transform:scale(1);transition:opacity 0.2s,transform 0.3s cubic-bezier(0.175,0.885,0.32,1.275);}}}&:focus + label,&:hover + label,& + label:hover{&:before{background-color:",";}","{border-color:",";}}}"],(function(e){return e.hide&&"visibility: hidden"}),(function(e){return!e.disabled&&"cursor: pointer"}),vr,(function(e){return p.cLightGrey}),(function(e){return p.cGrey}),(function(e){return p.cWarning}),vr,(function(e){return p.cLightGrey}),vr,(function(e){return p.cPrimary})),xr=l().div.withConfig({displayName:"CryptoAddressstyles__OptionsWrapper",componentId:"sc-1wjvdgu-17"})(["text-align:center;margin-right:-24px;",""],G.Medium(Jn||(Jn=or(["\n margin-right: 0;\n position: absolute;\n display: block;\n width: 100px;\n top: 50%;\n right: 0;\n text-align:center;\n transform: translate(0, -50%); \n "])))),Er=(l().button.withConfig({displayName:"CryptoAddressstyles__CryptoAddressOption",componentId:"sc-1wjvdgu-18"})(["display:inline-block;position:relative;width:40px;height:40px;outline:none;margin-left:10px;border:1px solid ",";border-radius:20px;color:",";transition:color 0.2s;&:focus,&:hover{color:",";}"],(function(e){return p.cLightGrey}),(function(e){return p.cWarning}),(function(e){return p.cPrimary})),l()(tr).withConfig({displayName:"CryptoAddressstyles__CryptoAddressOptionIcon",componentId:"sc-1wjvdgu-19"})(["position:absolute;top:50%;left:50%;width:16px;height:16px;font-size:16px;line-height:16px;margin-top:-8px;margin-left:-8px;text-align:center;",""],(function(e){return e.large&&"\n width: 20px;\n height: 20px;\n font-size: 20px;\n line-height: 20px;\n margin-top: -10px;\n margin-left: -10px;\n "})),l().button.withConfig({displayName:"CryptoAddressstyles__CryptoAddressToggle",componentId:"sc-1wjvdgu-20"})(["display:inline-block;position:relative;width:40px;height:40px;outline:none;margin-left:10px;border-radius:20px;color:",";transition:color .2s;transform:translateZ(0);&:focus,&:hover{color:",";}&:before{content:'","';position:absolute;top:50%;left:50%;width:16px;height:16px;font-size:16px;line-height:16px;margin-top:-8px;margin-left:-8px;font-family:'icomoon' !important;speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;transition:transform .2s;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;}",""],(function(e){return p.cBlack}),(function(e){return p.cPrimary}),Xn.arrowDown,(function(e){return e.isActive&&"\n &:before {\n transform: rotate(180deg);\n }\n "})),function(n){var r=n.children,o=n.radio;return o?t().createElement(wr,{hide:o.hide},t().createElement("input",{type:"radio",id:o.id,name:o.name||o.id,value:o.value,checked:o.checked,disabled:o.disabled,onChange:o.onChange,onBlur:o.onBlur}),t().createElement("label",{htmlFor:o.id},r)):t().createElement(e.Fragment,null,r)});Er.propTypes={children:i().node.isRequired,radio:i().shape({id:i().string.isRequired,name:i().string,value:i().string,checked:i().bool,onChange:i().func,onBlur:i().func,hide:i().bool})},Er.defaultProps={radio:null};var Sr=Er,Or=function(n){var r=n.children,o=n.wrapped,i=n.borderTop,a=n.borderBottom;return o?t().createElement(gt,{borderTop:i,borderBottom:a},r):t().createElement(e.Fragment,null,r)};Or.propTypes={children:i().node.isRequired,wrapped:i().bool,borderTop:i().bool,borderBottom:i().bool},Or.defaultProps={wrapped:!1,borderTop:!1,borderBottom:!1};var Ir=Or;function Ar(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var kr=function(n){var r=n.title,o=n.status,i=n.address,c=n.data,l=n.info,s=n.wrapped,u=n.borderTop,f=n.borderBottom,d=n.radio,p=n.sideOptions,m=n.src,h=n.noBody,g=n.noBorderBottom,b=n.flexHead,y=(n.fontSize,n.titleColor),v=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ar(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ar(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),w=v[0],x=v[1];return t().createElement(ir,null,t().createElement(Sr,{radio:d},t().createElement(Ir,{wrapped:s,borderTop:u,borderBottom:!g&&f},t().createElement(yr,{withOptions:!!p},d&&!d.hide&&t().createElement(vr,null),t().createElement(ar,{noBody:h,flexHead:b},t().createElement(lr,{color:y},r,o&&t().createElement(sr,null,o)),t().createElement(ur,null,i&&t().createElement(fr,null,t().createElement(a.Tooltip,{position:"top",title:i,theme:"light",arrow:!0,duration:200},t().createElement(dr,null,function(e){return"".concat(e.slice(0,6),"[...]").concat(e.slice(-4))}(i))),t().createElement("div",{onClick:function(e){return e.preventDefault()}},t().createElement(a.Tooltip,{position:"top",title:w?"Copied to clipboard!":"Click to copy address to clipboard",theme:"light",arrow:!0,hideOnClick:!1,onHidden:function(){return x(!1)},duration:200},t().createElement(Zn.CopyToClipboard,{text:i,onCopy:function(){return x(!0)}},t().createElement(pr,null))))),m&&t().createElement("img",{src:m,alt:"project logo",height:"50"}))),t().createElement(cr,{noBody:h},t().createElement(mr,null,c.value&&t().createElement(gr,null,c.unit&&"".concat(c.unit," "),c.value),c.eqValue&&t().createElement(br,null,"= ",c.eqUnit&&"".concat(c.eqUnit," "),c.eqValue)),t().createElement(hr,null,t().createElement(gr,null,l.unit&&t().createElement("strong",null,l.unit),l.value),l.eqValue&&t().createElement(br,null,l.noEqualsToSign?" ":"= ",l.eqUnit&&t().createElement("strong",null,l.eqUnit),l.eqValue))),p&&t().createElement(xr,null,p)))))},Cr=i().shape({value:i().oneOfType([i().string,i().number]).isRequired,unit:i().oneOfType([i().string,i().number]),eqValue:i().oneOfType([i().string,i().number]),eqUnit:i().oneOfType([i().string,i().number])});kr.propTypes={title:i().string.isRequired,status:i().string,address:i().string.isRequired,wrapped:i().bool,borderTop:i().bool,borderBottom:i().bool,radio:Sr.propTypes.radio,data:Cr,info:Cr,sideOptions:i().node,fontSize:i().number},kr.defaultProps={status:"",wrapped:!1,borderTop:!1,borderBottom:!1,radio:null,address:"",data:{value:"",unit:"",eqValue:"",eqUnit:""},info:{value:"",unit:"",eqValue:"",eqUnit:""},fontSize:22,sideOptions:null};var Pr,Tr,jr,Mr=t().memo(kr),_r=kr,Nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=Math.floor(e/t*1e4);return n%2!=0&&(n-=1),"".concat(n/100,"%")};function Rr(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Lr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Container",componentId:"sc-1aj5egi-0"})(["position:relative;"]),Br=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Row",componentId:"sc-1aj5egi-1"})(["background-color:",";color:",";padding:22px 32px;"," "," &:nth-child(n+3){border-top:1px solid #003e9d;}"],(function(e){return p.cPrimaryDark}),(function(e){return p.cWhite}),G.Medium(Pr||(Pr=Rr(["\n display: flex;\n flex-direction: row;\n align-items: center;\n padding: 22px ",";\n "])),Nr(1.5)),(function(e){return e.head&&"\n display: none;\n background-color: ".concat(p.cPrimary,";\n color: #ffffff;\n font-size: 11px;\n line-height: 24px;\n letter-spacing: 2.06px;\n text-transform: uppercase;\n min-height: 56px;\n padding: 10px 32px;\n\n ").concat(G.Medium(Tr||(Tr=Rr(["\n display: flex;\n padding: 10px ",";\n "])),Nr(1.5)),"\n ")})),zr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Column",componentId:"sc-1aj5egi-2"})([""," "," "," "," ",""],(function(e){return e.balance&&"\n margin-top: 20px;\n "}),(function(e){return e.transfer&&"\n margin-top: 20px;\n "}),G.Medium(jr||(jr=Rr(["\n display: inline-block;\n\n ","\n \n ","\n \n ","\n\n ","\n "])),(function(e){return e.tokens&&"\n width: 40%;\n padding-right: 10px;\n "}),(function(e){return e.balance&&"\n width: 30%;\n padding-right: 10px;\n margin-top: 0;\n "}),(function(e){return e.transfer&&"\n width: 30%;\n margin-top: 0;\n "}),(function(e){return e.nameBox&&"\n display: flex;\n "})),(function(e){return e.balanceText&&"\n font-weight: 300;\n font-size: 22px;\n line-height: 28px;\n letter-spacing: 0.8px;\n text-transform: uppercase;\n "}),(function(e){return e.nameBox&&"\n display: flex;\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n "})),Dr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Avatar",componentId:"sc-1aj5egi-3"})(["display:inline-block;width:48px;height:48px;border-radius:24px;background-color:",";overflow:hidden;box-shadow:0 1px 8px 0 rgba(0,0,0,0.1);"],(function(e){return p.cPrimary})),Gr=l().img.withConfig({displayName:"CryptoAddressDetailsstyles__AvatarImg",componentId:"sc-1aj5egi-4"})(["display:block;width:100%;height:100%;object-fit:cover;object-position:center center;"]),qr=l().div.withConfig({displayName:"CryptoAddressDetailsstyles__Name",componentId:"sc-1aj5egi-5"})(["display:inline-block;margin-left:26px;font-weight:600;font-size:16px;line-height:24px;letter-spacing:0.6px;word-break:break-all;"]),Fr=function(e){var n=e.data;return t().createElement(Lr,null,t().createElement(Br,{head:!0},t().createElement(zr,{tokens:!0},"Tokens"),t().createElement(zr,{balance:!0},"Balance"),t().createElement(zr,{transfer:!0})),n.map((function(e){return t().createElement(Br,{key:e.id},t().createElement(zr,{tokens:!0,nameBox:!0},t().createElement(Dr,null,t().createElement(Gr,{src:e.avatar,alt:"avatar"})),t().createElement(qr,null,e.name)),t().createElement(zr,{balance:!0,balanceText:!0},e.balance),t().createElement(zr,{transfer:!0},t().createElement(sn,{outline:!0,fluid:!0,onClick:e.transferClick},"Transfer")))})))};Fr.propTypes={data:i().arrayOf(i().shape({id:i().number,avatar:i().string,name:i().string,balance:i().string,transferClick:i().func})).isRequired};var Ur,Wr=n(955),Hr=n.n(Wr),Vr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Container",componentId:"sc-1w92ir3-0"})(["position:relative;display:block;"]),Yr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Address",componentId:"sc-1w92ir3-1"})(["position:relative;visibility:visible;opacity:1;",""],(function(e){return e.isHidden&&"\n visibility: hidden;\n opacity: 0;\n "})),Qr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__InfoBoxWrapper",componentId:"sc-1w92ir3-2"})(["z-index:1;position:absolute;top:0;left:0;display:block;width:100%;height:100%;font-size:0;&:after{content:'';display:inline-block;vertical-align:middle;width:0;height:100%;}",""],(function(e){return e.relative&&"\n position: relative;\n "})),Kr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__InfoBox",componentId:"sc-1w92ir3-3"})(["display:inline-block;vertical-align:middle;max-width:100%;",";",";"],(function(e){return e.refresh&&"\n color: ".concat(p.cPrimary,";\n ")}),(function(e){return e.failed&&"\n color: ".concat(p.cWarning,";\n ")})),Jr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Loader",componentId:"sc-1w92ir3-4"})(["display:inline-block;vertical-align:middle;width:40px;height:40px;margin:0 auto;margin-right:-40px;background-repeat:no-repeat;background-position:50% 50%;background-size:cover;background-image:url(",");"],Hr()),Zr=l().i.attrs({className:"ion ion-ios-close-circle"}).withConfig({displayName:"CryptoAddressWrapperstyles__FailedIcon",componentId:"sc-1w92ir3-5"})(["display:inline-block !important;vertical-align:middle;width:40px;height:40px;margin-right:-40px;&:before{display:block;font-size:48px;line-height:40px;text-align:center;}"]),Xr=l().div.withConfig({displayName:"CryptoAddressWrapperstyles__Text",componentId:"sc-1w92ir3-6"})(["display:inline-block;vertical-align:middle;font-weight:300;font-size:16px;line-height:1.5em;letter-spacing:0.6px;padding-left:60px;max-width:100%;",""],G.XLarge(Ur||(Ur=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n font-size: 20px;\n "])))),$r=function(e){var n=e.children,r=e.refresh,o=e.failed,i=e.relative,a=e.noFailedIcon;return t().createElement(Vr,null,n&&t().createElement(Yr,{isHidden:r||o},n),r&&t().createElement(Qr,{relative:i},t().createElement(Kr,{refresh:!0},t().createElement(Jr,null),t().createElement(Xr,null,r))),o&&t().createElement(Qr,{relative:i},t().createElement(Kr,{failed:!0},!a&&t().createElement(Zr,null),t().createElement(Xr,null,o))))};$r.propTypes={children:i().node.isRequired,refresh:i().string,failed:i().string},$r.defaultProps={refresh:"",failed:""};var eo,to=$r,no=l().div.withConfig({displayName:"DoubleButtonstyles__DoubleButtons",componentId:"sc-13b0zge-0"})(["margin:-12px;","{width:100%;margin:12px;}",""],sn,G.Medium(eo||(eo=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n display: flex;\n flex-direction: ",";\n\n \n "," {\n width: auto;\n flex: 1;\n }\n "])),(function(e){return e.column?"column":"row"}),sn)),ro=no,oo=l().p.withConfig({displayName:"ErrorMessagestyles__ErrorMessage",componentId:"sc-1b3bbc3-0"})(["color:#ee220d;font-size:12px;margin-top:20px;"]),io=require("scroll-to-element"),ao=l().div.withConfig({displayName:"FAQstyles__FaqItems",componentId:"sc-dtvahh-0"})(["position:relative;"]),co=l().div.withConfig({displayName:"FAQstyles__FaqItem",componentId:"sc-dtvahh-1"})(["& + &{margin-top:30px;}"]),lo=l().button.withConfig({displayName:"FAQstyles__FaqTitle",componentId:"sc-dtvahh-2"})(["display:block;width:100%;position:relative;font-family:'Open Sans';font-weight:600;font-size:16px;line-height:24px;letter-spacing:0.4px;color:",";padding:0;margin:0;outline:0;border:none;padding-right:30px;text-align:left;transition:color 0.2s;&:hover{color:inherit;}",""],(function(e){return p.cBlack}),(function(e){return e.isActive&&"\n ".concat(so," {\n transform: rotate(180deg);\n }\n ")})),so=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"FAQstyles__FaqDropdownIcon",componentId:"sc-dtvahh-3"})(["width:14px;height:20px;font-size:20px;position:absolute;top:50%;right:0;margin-top:-10px;transform:rotate(0);transition:0.3s transform;"]),uo=l()(Rn.Collapse).withConfig({displayName:"FAQstyles__FaqContent",componentId:"sc-dtvahh-4"})(["opacity:0;transition:opacity 0.2s;",""],(function(e){return e.isOpened&&"\n opacity: 1;\n "})),fo=l().div.withConfig({displayName:"FAQstyles__FaqText",componentId:"sc-dtvahh-5"})(["padding:0;padding-top:30px;padding-bottom:10px;font-weight:300;font-size:16px;line-height:24px;letter-spacing:0.4px;"]);function po(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mo=function(n){var r=n.items,o=n.noScroll,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return po(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?po(e,t):void 0}}(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.")}()}((0,e.useState)(null),2),a=i[0],c=i[1];return t().createElement(ao,null,r.map((function(e,n){return t().createElement(co,{key:e.title},t().createElement(lo,{isActive:a===n,onClick:function(e){return function(e,t){e.persist();var n=a===t?null:t;c(n),o||null===n||io(e.target.parentElement,{duration:300,offset:20})}(e,n)}},e.title,t().createElement(so,null)),t().createElement(uo,{isOpened:a===n},"string"==typeof e.content?t().createElement(fo,null,e.content):t().createElement(t().Fragment,null,t().createElement("br",null),t().createElement(Te,null,t().createElement("ul",null,e.content.map((function(e){return t().createElement("li",{key:e},e)})))))))})))};mo.propTypes={items:i().arrayOf(i().shape({title:i().string.isRequired,content:i().oneOfType([i().string,i().array]).isRequired})).isRequired};var ho,go,bo=mo,yo=96,vo=56;function wo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var xo,Eo,So,Oo,Io,Ao,ko,Co,Po,To,jo,Mo,_o=l().div.withConfig({displayName:"Gridstyles__Wrapper",componentId:"sc-1jreazl-0"})(["height:100%;"]),No=l().div.withConfig({displayName:"Gridstyles__Row",componentId:"sc-1jreazl-1"})(["display:flex;flex-wrap:wrap;text-align:left;"," "," "," "," "," "," ",""],(function(e){return e.center&&"\n justify-content: center;\n "}),(function(e){return e.right&&"\n justify-content: right;\n "}),(function(e){return e.spaceBetween&&"\n justify-content: space-between;\n "}),(function(e){return e.stretch&&"\n height: 100%;\n align-items: stretch;\n "}),(function(e){return e.dashboard&&"\n margin: -16px;\n "}),(function(e){return e.nowrap&&"\n flex-wrap: nowrap;\n "}),G.Medium(ho||(ho=wo(["\n ","\n "])),(function(e){return e.main&&"\n z-index: 0;\n min-height: calc(100vh - ".concat(vo,"px);\n padding-top: ").concat(yo,"px;\n ")}))),Ro=l().div.withConfig({displayName:"Gridstyles__Column",componentId:"sc-1jreazl-2"})(["display:flex;flex-direction:column;width:100%;"," "," "," "," "," ",""],(function(e){return e.center&&"\n justify-content: center;\n "}),(function(e){return e.alignCenter&&"\n align-items: center;\n "}),(function(e){return e.spaceBetween&&"\n justify-content: space-between;\n "}),(function(e){return e.flexEnd&&"\n justify-content: flex-end;\n "}),(function(e){return e.mainRelative&&"\n padding: 18px 0 28px;\n "}),G.Medium(go||(go=wo(["\n ","\n\n ","\n\n ","\n\n ","\n "])),(function(e){return e.part&&"\n width: ".concat(Nr(e.part,e.full),";\n ")}),(function(e){return e.mainFixed&&"\n position: fixed;\n top: ".concat(yo,"px;\n left: 0;\n height: calc(100% - ").concat(yo,"px);\n ")}),(function(e){return e.mainRelative&&"\n position: relative;\n margin-left: ".concat(Nr((e.full||16)-e.part,e.full),";\n border-left: 1px solid ").concat(p.cLightGrey,";\n padding: 54px 0 42px;\n ")}),(function(e){return e.withBorder&&"\n border-left: 1px solid ".concat(p.cLightGrey,";\n ")}))),Lo=l().div.withConfig({displayName:"Gridstyles__PageWrapper",componentId:"sc-1jreazl-3"})(["min-height:100vh;display:flex;flex-direction:column;","{flex-grow:1;}"],No),Bo=n.p+"76dd0ed9c3f137513fd4.svg";function zo(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Do=l().footer.withConfig({displayName:"Footerstyles__StyledFooter",componentId:"sc-12rq6gz-0"})(["z-index:15;position:relative;"," "," "," @media screen and (max-width:991px){height:auto;}"],(function(e){return"primary"===e.color&&(0,c.css)(xo||(xo=zo(["\n color: ",";\n background-color: ",";\n\n ","\n "])),s.white,s.blue,G.Medium(Eo||(Eo=zo(["\n box-shadow: inset 0 1px 0 0 ",";\n "])),s.blueDark))}),(function(e){return"red"===e.color&&(0,c.css)(So||(So=zo(["\n color: ",";\n background-color: ",";\n\n ","\n "])),s.white,s.orangishRed,G.Medium(Oo||(Oo=zo(["\n box-shadow: inset 0 1px 0 0 ",";\n padding: 0 65px;\n "])),s.orangishRed))}),G.Medium(Io||(Io=zo(["\n width: 100%;\n height: 65px;\n "])))),Go=l().div.withConfig({displayName:"Footerstyles__FooterInner",componentId:"sc-12rq6gz-1"})(["padding:24px 0;justify-content:space-between;"," @media screen and (max-width:991px){flex-direction:column;padding:56px 65px;}"],G.Medium(Ao||(Ao=zo(["\n // padding: 20px ",";\n padding: 20px 0;\n display: flex;\n align-items: center;\n height: 100%;\n "])),Nr(1))),qo=(l().div.withConfig({displayName:"Footerstyles__NavWrap",componentId:"sc-12rq6gz-2"})(["text-align:center;",""],G.Medium(ko||(ko=zo(["\n flex: 1;\n text-align: left;\n "])))),l().div.withConfig({displayName:"Footerstyles__CopyrightWrap",componentId:"sc-12rq6gz-3"})(["text-align:center;",""],G.Medium(Co||(Co=zo(["\n flex: 2;\n "])))),l().div.withConfig({displayName:"Footerstyles__PartnerWrap",componentId:"sc-12rq6gz-4"})(["text-align:center;"," @media screen and (max-width:991px){text-align:center;margin-bottom:25px;}"],G.Medium(Po||(Po=zo(["\n // flex: 2;\n text-align: left;\n "]))))),Fo=l().div.withConfig({displayName:"Footerstyles__PoweredWrap",componentId:"sc-12rq6gz-5"})(["margin-top:10px;text-align:center;",""],G.Medium(To||(To=zo(["\n // flex: 1;\n text-align: right;\n "])))),Uo=(l().nav.withConfig({displayName:"Footerstyles__FooterNav",componentId:"sc-12rq6gz-6"})(["display:block;font-size:0;padding-top:6px;padding-bottom:30px;"," ul{display:block;margin:0;padding:0;margin-left:-32px;}li{display:inline-block;vertical-align:middle;margin-left:32px;}a{position:relative;display:block;font-size:12px;line-height:16px;letter-spacing:2px;text-transform:uppercase;padding:2px 0;&:before{content:'';display:block;height:2px;width:100%;position:absolute;top:100%;left:0;background-color:",";opacity:0;transform:translateY(8px);transition:opacity 0.2s,transform 0.2s;}&:hover{&:before{opacity:1;transform:translateY(0);}}","}"],G.Medium(jo||(jo=zo(["\n padding-top: 0;\n padding-bottom: 0;\n "]))),s.white,G.Medium(Mo||(Mo=zo(["\n font-size: 9px;\n line-height: 16px;\n "])))),l().span.withConfig({displayName:"Footerstyles__Partner",componentId:"sc-12rq6gz-7"})(["font-size:10px;font-weight:400;line-height:10px;letter-spacing:2.1px;img{margin-bottom:4px;}@media screen and (max-width:560px){line-height:20px;}"])),Wo=l().span.withConfig({displayName:"Footerstyles__Copyright",componentId:"sc-12rq6gz-8"})(["font-size:10px;font-weight:400;line-height:23px;letter-spacing:2.1px;text-transform:uppercase;img{margin-bottom:4px;}"]),Ho=l().div.withConfig({displayName:"Footerstyles__Powered",componentId:"sc-12rq6gz-9"})(["display:flex;flex-direction:column;align-items:self-start;span{vertical-align:middle;text-transform:uppercase;-webkit-letter-spacing:2.1px;-moz-letter-spacing:2.1px;-ms-letter-spacing:2.1px;letter-spacing:2.1px;line-height:10x;font-size:10px;white-space:nowrap;color:inherit;font-weight:400;}a{display:inline-block;vertical-align:middle;margin-left:4px;transition:opacity 0.2s;&:hover{opacity:0.5;}}img{position:relative;width:42px;}@media screen and (max-width:991px){align-items:center;}"]),Vo=n(748),Yo=function(e){var n=e.color;return t().createElement(Do,{color:n},t().createElement(_o,null,t().createElement(Go,null,t().createElement(qo,null,t().createElement(Uo,null,"PARTNER OF"," ",t().createElement("img",{style:{verticalAlign:"middle"},src:Vo,height:"20",alt:"Lemonway logo"})," ","LEMONWAY. A EUROPEAN PAYMENT INSTITUTION",t().createElement("br",null),"ACCREDITED IN FRANCE BY THE ACPR (CIB 16568).")),t().createElement(Fo,null,t().createElement(Ho,null,t().createElement("div",null,t().createElement("span",null,"powered by"),t().createElement("a",{href:"https://www.sicos.io/",target:"_blank",rel:"noopener noreferrer"},t().createElement("img",{src:Bo,alt:"SICOS"})))),t().createElement(Wo,null,"Copyright ",(new Date).getFullYear()," STOKR. All rights reserved.")))))};Yo.propTypes={color:i().oneOf(["primary","red"])},Yo.defaultProps={color:"primary"};var Qo,Ko,Jo,Zo,Xo,$o,ei,ti,ni,ri=Yo,oi=require("formik"),ii=require("yup"),ai=require("react-transition-group"),ci=require("react-portal");function li(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var si,ui=l().div.withConfig({displayName:"Modalstyles__ModalRoot",componentId:"sc-9hc271-0"})(["z-index:1000;position:fixed;top:0;left:0;width:100%;height:100%;"]),fi=l().div.withConfig({displayName:"Modalstyles__Dimmer",componentId:"sc-9hc271-1"})(["position:relative;top:0;left:0;display:block;width:100%;height:100%;background-color:rgba(0,0,0,0.7);font-size:0;text-align:center;overflow-y:auto;"," &:after{content:'';display:inline-block;vertical-align:middle;height:100%;width:0;}"],(function(e){return e.kyc&&"overflow: visible;"})),di=l().div.withConfig({displayName:"Modalstyles__Box",componentId:"sc-9hc271-2"})(["display:inline-block;vertical-align:middle;position:relative;left:0;top:0;width:100%;background-color:",";font-size:10px;text-align:left;box-shadow:0 2px 20px 0 rgba(0,0,0,0.1);"," "," "," "," ",""],s.white,(function(e){return e.fullscreen&&"\n height: 90vh;\n "}),(function(e){return e.kyc&&"\n width: 100vw;\n height: 100vh;\n max-width: 1024px!important;\n max-height: 768px!important;\n "}),G.Medium(Qo||(Qo=li(["\n max-width: ",";\n\n ","\n "])),Nr(12),(function(e){return e.thin&&"\n max-width: ".concat(Nr(8),";\n ")})),G.XLarge(Ko||(Ko=li(["\n max-width: ",";\n\n ","\n "])),Nr(8),(function(e){return e.thin&&"\n max-width: ".concat(Nr(6),";\n ")})),(function(e){return e.isRegisterEntity&&(0,c.css)(Jo||(Jo=li(["\n max-width: 55% !important;\n height: 65vh;\n "])))})),pi=l().input.withConfig({displayName:"Modalstyles__ModalInnerSmartContractAddress",componentId:"sc-9hc271-3"})(["color:",";font-family:'Open Sans';font-size:14px;font-weight:400;text-align:left;margin-top:24px;width:100%;apperance:none;resize:none;border:none;outline:0;"],s.black),mi=l().div.withConfig({displayName:"Modalstyles__ModalInnerWithBorder",componentId:"sc-9hc271-4"})(["border-radius:10px;border:1px solid ",";padding:25px 35px;margin-top:39px;"," "," "," "," "," "," p{color:",";font-size:14px;font-weight:300;letter-spacing:0.53px;line-height:22px;text-align:left;margin:0;}"],s.grey,(function(e){return e.bottomRadius0&&"\n border-bottom-left-radius: 0;\n border-bottom-right-radius: 0;\n "}),(function(e){return e.topRadius0&&"\n border-top-left-radius: 0;\n border-top-right-radius: 0;\n "}),(function(e){return e.marginTop0&&"\n margin-top: 0;\n "}),(function(e){return e.bordderTopNone&&"\n border-top: 0;\n "}),(function(e){return e.textAlignRight&&"\n text-align: right;\n "}),(function(e){return e.paddingSmall&&"\n padding: 21px 25px;\n "}),s.black),hi=l().div.withConfig({displayName:"Modalstyles__ModalInner",componentId:"sc-9hc271-5"})(["width:100%;height:100%;padding:40px ",";display:flex;flex-direction:column;"," "," "," "," "," "," "," "," ",""],Nr(1),(function(e){return e.center&&"\n text-align: center;\n "}),(function(e){return e.background&&"\n background-color: ".concat(s.grey,";\n ")}),(function(e){return e.modalBot&&"\n background-color: ".concat(s.orangishRed,";\n color: ").concat(s.white,";\n flex-grow: 0 !important;\n height: auto;\n ")}),(function(e){return e.modalTop&&"\n padding-bottom: 30px;\n "}),(function(e){return e.center&&"\n justify-content: center;\n align-items: center;\n "}),G.Medium(Zo||(Zo=li(["\n padding: 53px ",";\n\n ","\n\n ","\n\n /* missing tiny */\n "])),Nr(1,12),(function(e){return e.left&&"\n padding: 88px ".concat(Nr(1,12),";\n ")}),(function(e){return e.modalTop&&"\n padding-bottom: 43px;\n border-right: 1px solid ".concat(s.grey,";\n ")})),G.XLarge(Xo||(Xo=li(["\n padding: 53px ",";\n\n ","\n\n ","\n\n /* missing tiny */\n "])),Nr(1,8),(function(e){return e.left&&"\n padding: 88px ".concat(Nr(1,8),";\n ")}),(function(e){return e.modalTop&&"\n padding-bottom: 53px;\n "})),(function(e){return e.noPadding&&"\n padding: 0!important;\n "}),(function(e){return e.noPaddingHorizontal&&"\n padding-left: 0!important;\n padding-right: 0!important;\n "})),gi=l().i.attrs({className:"ion ion-md-close"}).withConfig({displayName:"Modalstyles__ModalClose",componentId:"sc-9hc271-6"})(["z-index:4;position:absolute;top:0;right:0;width:40px;height:40px;text-align:center;cursor:pointer;color:",";background-color:",";transition:background-color 0.2s,color 0.2s;&:before{transition:transform 0.2s;font-size:24px;line-height:24px !important;width:24px;height:24px;position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;}&:hover{color:",";background-color:",";&:before{transform:rotate(-180deg);}}",""],s.white,s.blue,s.black,s.white,G.Medium($o||($o=li(["\n width: 56px;\n height: 56px;\n\n &:before {\n font-size: 27px;\n }\n "])))),bi=l().i.attrs({className:"ion ion-ios-arrow-back"}).withConfig({displayName:"Modalstyles__ModalBack",componentId:"sc-9hc271-7"})(["z-index:4;position:absolute;top:0;left:0;width:40px;height:40px;text-align:center;cursor:pointer;color:",";background-color:transparent;transition:color 0.2s,opacity 0.2s,visibility 0.2s;"," &:before{transition:transform 0.2s;font-size:24px;line-height:24px !important;width:24px;height:24px;position:absolute;top:50%;left:50%;margin-top:-12px;margin-left:-12px;}&:hover{color:",";&:before{transform:translateX(-20%);}}",""],s.black,(function(e){return e.hide&&"\n opacity: 0;\n visibility: hidden;\n "}),s.blue,G.Medium(ei||(ei=li(["\n width: 56px;\n height: 56px;\n\n &:before {\n font-size: 27px;\n }\n "])))),yi=l().div.withConfig({displayName:"Modalstyles__ModalLinkWrap",componentId:"sc-9hc271-8"})(["position:relative;font-family:'Open Sans';font-weight:300;font-size:11px;line-height:14px;text-transform:uppercase;padding-left:18px;&:before{content:'\\f3d1';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:12px;line-height:8px;display:block;width:8px;height:8px;position:absolute;top:50%;left:0;margin-top:-4px;color:",";}"],s.lighterGreen),vi=l()(xt.Link).withConfig({displayName:"Modalstyles__ModalLink",componentId:"sc-9hc271-9"})(["display:inline-block;position:relative;cursor:pointer;color:inherit;&:before{content:'';display:block;width:0%;height:1px;position:absolute;top:100%;left:0;background-color:",";transition:width 0.2s;}&:hover{&:before{width:100%;}}"],s.lighterGreen),wi=l().div.withConfig({displayName:"Modalstyles__ModalWrapper",componentId:"sc-9hc271-10"})(["display:flex;flex-direction:column;height:100%;"]),xi=(l().div.withConfig({displayName:"Modalstyles__ModalTitle",componentId:"sc-9hc271-11"})(["font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;text-transform:uppercase;"]),l().div.withConfig({displayName:"Modalstyles__ModalScroll",componentId:"sc-9hc271-12"})(["height:100%;overflow-y:auto;padding:0 12px;margin:0 -12px;"," &::-webkit-scrollbar{width:4px;}&::-webkit-scrollbar-track{background-color:",";}&::-webkit-scrollbar-thumb{background-color:",";}&::-webkit-scrollbar-thumb:window-inactive{background-color:",";}"],G.Large(ti||(ti=li(["\n padding: 0 32px;\n margin: 0 -32px;\n "]))),s.grey,s.orangishRed,s.orangishRedDark),l().div.withConfig({displayName:"Modalstyles__ModalSection",componentId:"sc-9hc271-13"})(["& + &{padding-top:40px;","}"],G.Medium(ni||(ni=li(["\n padding-top: 53px;\n "])))),300),Ei={entering:{opacity:0},entered:{transition:"opacity ".concat(xi,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(xi,"ms ease-in-out"),opacity:0}},Si=function(e){var n=e.children,r=e.fullscreen,o=e.kyc,i=e.thin,a=e.isOpen,c=e.onClose,l=e.className,s=e.isRegisterEntity;return t().createElement(ci.Portal,{isOpened:a},t().createElement(ai.Transition,{in:a,appear:!0,mountOnEnter:!0,unmountOnExit:!0,timeout:{enter:xi,exit:xi}},(function(e){return t().createElement(ui,{className:l,style:Ei[e]},t().createElement(fi,{open:a,kyc:o,closeOnDimmerClick:!1,onClose:c},t().createElement(di,{kyc:o,fullscreen:r,thin:i,isRegisterEntity:s},t().createElement(gi,{onClick:c}),n)))})))};Si.propTypes={children:i().oneOfType([i().arrayOf(i().node),i().node]).isRequired,className:i().string,fullscreen:i().bool,kyc:i().bool,thin:i().bool,isOpen:i().bool.isRequired,onClose:i().func.isRequired},Si.defaultProps={className:"",fullscreen:!1,kyc:!1,thin:!1};var Oi=l()(oi.Form).withConfig({displayName:"Formstyles__FormContainer",componentId:"sc-rsw01z-0"})(["display:flex;flex-direction:column;flex-grow:1;"]),Ii=l().div.withConfig({displayName:"Formstyles__FormField",componentId:"sc-rsw01z-1"})(["position:relative;"]),Ai=l().div.withConfig({displayName:"Formstyles__FormInfo",componentId:"sc-rsw01z-2"})(["font-family:'Open Sans';font-weight:",";font-size:9px;line-height:1.78em;letter-spacing:0.4px;color:",";opacity:",";"," "," "," "," a{text-decoration:underline;transition:color .2s;&:hover{color:",";}}"],(function(e){return e.styleID?"400":"300"}),(function(e){return p.cBlack}),(function(e){return e.styleID?"1":"0.5"}),(function(e){return e.center&&"text-align: center;"}),(function(e){return e.marginTop&&"margin-top: 18px;"}),(function(e){return e.marginBottom&&"margin-bottom: 18px;"}),G.Large(si||(si=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n font-size: 12px;\n "]))),(function(e){return p.cPrimary})),ki=l().div.withConfig({displayName:"Formstyles__FormError",componentId:"sc-rsw01z-3"})(["display:none;font-family:'Open Sans';font-weight:300;font-size:11px;line-height:12px;margin:0;position:relative;left:0;top:",";margin-bottom:-12px;letter-spacing:0.4px;color:",";"," "," ",""],(function(e){return e.styleSUF?"10px":"2px"}),(function(e){return p.cWarning}),(function(e){return e.show&&"display: block;"}),(function(e){return e.withMarginLeft&&"margin-left: 28px;"}),(function(e){return e.withTopSpacing&&"top: 10px;"})),Ci=function(e){var n=e.children;return t().createElement(Oi,{autoComplete:"off",noValidate:!0},n)};function Pi(e,t){var n=t.values,r=t.validationSchema;try{return void ii.reach(r,e).validateSync(n[e],{abortEarly:!1})}catch(e){return e.inner[0].errors[0]}}Ci.propTypes={children:i().node.isRequired};var Ti=Ci;function ji(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Mi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mi(e,t):void 0}}(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 Mi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _i=function(n){var r=n.type,o=n.id,i=n.name,a=n.label,c=n.placeholder,l=n.value,s=n.error,u=n.touched,f=n.readOnly,d=n.inverted,p=n.dashboard,m=ji((0,e.useState)(!1),2),h=m[0],g=m[1],b=ji((0,e.useState)(!1),2),y=b[0],v=b[1];return(0,e.useEffect)((function(){g(y||!!l)}),[y,l]),t().createElement(Me,{inverted:d},a&&t().createElement(_e,{isUp:h,active:y,error:s&&u,htmlFor:o},a),t().createElement(Ne,{error:s&&u,dashboard:p},t().createElement("input",{type:r,id:o,name:i,value:l,onChange:function(e,t){n.onChange&&n.onChange(e,t)},onBlur:function(e,t){n.onBlur&&n.onBlur(e,t),v(!1)},onFocus:function(e,t){n.onFocus&&n.onFocus(e,t),v(!0)},readOnly:f,placeholder:c})))};_i.propTypes={type:i().string,id:i().string.isRequired,name:i().string.isRequired,label:i().string,placeholder:i().string,value:i().string,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func,readOnly:i().bool,inverted:i().bool,dashboard:i().bool},_i.defaultProps={type:"text",label:"",placeholder:"",value:"",error:!1,touched:!1,readOnly:!1,inverted:!1,dashboard:!1,onChange:function(){},onBlur:function(){},onFocus:function(){}};var Ni=_i;function Ri(e){return Ri="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},Ri(e)}function Li(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bi(e,t){for(var n=0;n<t.length;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)}}function zi(e,t){return zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zi(e,t)}function Di(e,t){if(t&&("object"===Ri(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gi(e)}function Gi(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qi(e){return qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qi(e)}function Fi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ui=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zi(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qi(o);if(i){var n=qi(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Di(this,e)});function c(){var e;Li(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Fi(Gi(e=a.call.apply(a,[this].concat(n))),"initialValues",{email:""}),Fi(Gi(e),"validationSchema",ii.object().shape({email:ii.string().email("Email is not valid").required("Email is required")})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend,i=e.onModalSwitch;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Forgot password"),t().createElement("p",null,"Please log in to engage in our community & invest in exciting opportunities."))),t().createElement(hi,{modalBot:!0},t().createElement(yi,null,"Remember your password? ",t().createElement(vi,{as:"button",onClick:i},"Sign up")))),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleBlur,a=e.setFieldValue,c=e.setFieldTouched,l=!o.email||!!r.email;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"forgot-email",name:"email",type:"email",label:"Your email",value:n.email,onChange:function(e){var t=e.target;a(t.name,t.value,!1),c(t.name)},onBlur:i,error:!!r.email,touched:!!o.email}),t().createElement(ki,{show:r.email&&o.email},r.email))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:l},"Remind")))}))))))}}])&&Bi(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Ui.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired,onModalSwitch:i().func.isRequired};var Wi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",style:{width:"66px",height:"16px"}},t().createElement("g",{fill:"#202020",fillRule:"evenodd"},t().createElement("path",{d:"M62.529 5.872c-.004 2.43-3.438 2.185-4.193 2.186V3.682c.755 0 4.189-.244 4.193 2.186v.004zm.27 4.212c1.427-.65 2.524-1.88 2.524-4.214 0-4.501-4.076-4.904-6.744-4.927a10.373 10.373 0 0 0-.303-.002h-.244l-.064.001h-.508l-.352.002H55.53v9.853L55.529 16h2.807v-5.2c.131 0 .266-.002.404-.004h.011a22.261 22.261 0 0 0 .461-.012c.265-.01.538-.026.815-.05l.063-.005L62.827 16h3.055L62.8 10.084zM30.56.042v3.057c2.691 0 4.88 2.208 4.88 4.922 0 2.713-2.189 4.921-4.88 4.921s-4.88-2.208-4.88-4.921v-.002h-3.032v.002c0 4.407 3.542 7.979 7.912 7.979s7.912-3.572 7.912-7.98c0-4.406-3.542-7.978-7.912-7.978M6.967 4.38c-.734-1.047-1.48-1.57-2.24-1.57-.37 0-.673.101-.909.304-.235.203-.353.433-.353.687 0 .255.084.496.252.723.229.303.919.954 2.069 1.952 1.076.923 1.728 1.505 1.957 1.746.572.592.977 1.158 1.216 1.699.239.54.358 1.13.358 1.771 0 1.247-.42 2.276-1.26 3.089-.84.812-1.936 1.218-3.287 1.218-1.056 0-1.975-.265-2.758-.795-.783-.53-1.454-1.363-2.012-2.5l2.37-1.466c.714 1.343 1.534 2.014 2.462 2.014.484 0 .891-.145 1.22-.434.33-.289.495-.623.495-1.002 0-.344-.124-.688-.373-1.033-.249-.344-.797-.87-1.645-1.58-1.614-1.35-2.657-2.391-3.128-3.124-.47-.734-.706-1.465-.706-2.195 0-1.054.392-1.958 1.175-2.711C2.653.419 3.62.042 4.77.042c.739 0 1.443.175 2.112.526.67.351 1.393.992 2.173 1.922l.264.29-2.124 1.923-.228-.323zM52.141.941h-3.39L44.884 5.99l-.649.834V.94h-2.823V16h2.823V8.48l.65.948L49.357 16h3.348l-5.647-8.214zM13.176 3.68h2.51V16h2.51V3.68h2.51V.94h-7.53z"})))},Hi=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"6.843",height:"8.904",viewBox:"0 0 6.843 8.904",style:{width:"7px",height:"9px"}},t().createElement("g",{transform:"translate(-.081 -.087)"},t().createElement("path",{transform:"translate(1.778 7.699)",d:"M3.159,0H.286A.288.288,0,0,0,0,.276v.74a.289.289,0,0,0,.286.276H3.159a.288.288,0,0,0,.286-.276V.276A.288.288,0,0,0,3.159,0Z"}),t().createElement("path",{transform:"translate(.081 .087)",d:"M6.79,3.549,3.649.1a.315.315,0,0,0-.461,0L.048,3.549a.221.221,0,0,0,.175.356H1.7V6.222a.289.289,0,0,0,.286.276H4.855a.288.288,0,0,0,.286-.276V3.905H6.615A.216.216,0,0,0,6.79,3.549Z"})))},Vi=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 13.997",width:"12",height:"13.997",style:{width:"12px",height:"14px"}},t().createElement("g",null,t().createElement("path",{transform:"translate(5.867)",d:"M.131,0,0,.319V9.574l.131.094,6-2.539Z"}),t().createElement("path",{d:"M6,0,0,7.128,6,9.668V0Z"}),t().createElement("path",{transform:"translate(5.924 7.943)",d:"M.074,2.538,0,2.6V5.9l.074.154L6.076,0Z"}),t().createElement("path",{transform:"translate(0 7.943)",d:"M6,6.054V2.538L0,0Z"}),t().createElement("path",{transform:"translate(5.998 5.176)",d:"M0,4.492,6,1.953,0,0Z"}),t().createElement("path",{transform:"translate(0 5.176)",d:"M0,1.953,6,4.492V0Z"})))},Yi=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 8 10",width:"8",height:"10",style:{width:"8px",height:"10px"}},t().createElement("path",{transform:"translate(0)",d:"M3.45,5.385h3.1L6.375,6.538H3.45v.313a1.451,1.451,0,0,0,.412,1.166,2.523,2.523,0,0,0,1.563.349A15.75,15.75,0,0,0,7.75,8.149L8,9.712A11.974,11.974,0,0,1,5.35,10q-4.1,0-4.1-2.812V6.538H0V5.385H1.25V4.231H0V3.077H1.25V2.813Q1.25,0,5.35,0A11.974,11.974,0,0,1,8,.288L7.75,1.851a15.75,15.75,0,0,0-2.325-.216,2.53,2.53,0,0,0-1.55.349A1.273,1.273,0,0,0,3.45,3.029v.048H6.9L6.725,4.231H3.45Z"}))},Qi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"145.5",height:"89"},t().createElement("path",{d:"M20.5 45.5a12.727 12.727 0 0 1 11.5-7 12.729 12.729 0 0 1 11.5 7",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"}),t().createElement("path",{d:"M48.5 33a16.755 16.755 0 0 1-17 16.5 16.755 16.755 0 0 1-17-16.5 16.755 16.755 0 0 1 17-16.5 16.755 16.755 0 0 1 17 16.5zM36.5 28.5a5 5 0 1 1-5-5",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"}),t().createElement("path",{d:"M128.242 87.5H16.757A15.216 15.216 0 0 1 1.5 72.324V16.676A15.216 15.216 0 0 1 16.757 1.5h111.485A15.217 15.217 0 0 1 143.5 16.676v55.648A15.217 15.217 0 0 1 128.242 87.5zM67.5 17h59M67.5 40h59M14.5 61h112M14.5 71h112M67.5 50h59",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"}),t().createElement("path",{fill:"#fff",d:"M137.5 19.5h8v19h-8z"}))},Ki=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"71.926",height:"104.855"},t().createElement("g",{"data-name":"Passport Icon",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 1",d:"M1.5 90.676v-76.5A12.68 12.68 0 0 1 14.179 1.5h36.663a12.68 12.68 0 0 1 12.679 12.679v76.5a12.68 12.68 0 0 1-12.679 12.679H14.179A12.68 12.68 0 0 1 1.5 90.676z"}),t().createElement("path",{"data-name":"Stroke 3",d:"M19.35 1.501h40.132a10.943 10.943 0 0 1 10.944 10.944v79.966a10.943 10.943 0 0 1-10.944 10.944H19.35"}),t().createElement("path",{"data-name":"Stroke 5",d:"M51.363 38.066a19.11 19.11 0 1 1-19.109-19.109 19.109 19.109 0 0 1 19.109 19.109z"}),t().createElement("path",{"data-name":"Stroke 7",d:"M13.089 37.753h37.98"}),t().createElement("path",{"data-name":"Stroke 9",d:"M32.079 18.764v37.979"}),t().createElement("path",{"data-name":"Stroke 11",d:"M22.584 20.922v33.663"}),t().createElement("path",{"data-name":"Stroke 13",d:"M41.573 20.922v33.663"}),t().createElement("path",{"data-name":"Stroke 15",d:"M15.247 28.259h33.231"}),t().createElement("path",{"data-name":"Stroke 17",d:"M15.247 47.249h34.526"}),t().createElement("path",{"data-name":"Stroke 19",d:"M12.657 80.584H51.5"}),t().createElement("path",{"data-name":"Stroke 21",d:"M12.657 88.147H51.5"})))},Ji=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"231.5",height:"84.066"},t().createElement("g",{"data-name":"Card Illustration",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M215.232 82.566H110.143a14.343 14.343 0 0 1-14.381-14.305V15.8a14.343 14.343 0 0 1 14.381-14.3h105.089a14.344 14.344 0 0 1 14.382 14.3v52.461a14.344 14.344 0 0 1-14.382 14.305z"}),t().createElement("path",{"data-name":"Stroke 13",d:"M108.016 57.586H213.59"}),t().createElement("path",{"data-name":"Stroke 15",d:"M108.016 67.012H213.59"})),t().createElement("path",{fill:"#fff",d:"M223.959 18.467h7.541v17.91h-7.541z"}),t().createElement("g",{"data-name":"Group"},t().createElement("g",{"data-name":"Card Illustration",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M120.97 82.566H15.881A14.343 14.343 0 0 1 1.5 68.261V15.8A14.343 14.343 0 0 1 15.881 1.5H120.97a14.344 14.344 0 0 1 14.382 14.3v52.461a14.344 14.344 0 0 1-14.382 14.305z",fill:"#fff"}),t().createElement("path",{"data-name":"Stroke 1",d:"M19.41 42.977a12 12 0 0 1 10.84-6.6 12 12 0 0 1 10.84 6.6",fill:"none"}),t().createElement("path",{"data-name":"Stroke 3",d:"M45.803 31.192a15.794 15.794 0 0 1-16.025 15.554 15.794 15.794 0 0 1-16.024-15.554 15.794 15.794 0 0 1 16.024-15.553 15.794 15.794 0 0 1 16.025 15.553z",fill:"none"}),t().createElement("path",{"data-name":"Stroke 5",d:"M34.492 26.951a4.713 4.713 0 1 1-4.712-4.713",fill:"none"}),t().createElement("path",{"data-name":"Stroke 9",d:"M63.713 16.11h55.615",fill:"none"}),t().createElement("path",{"data-name":"Stroke 11",d:"M63.713 37.791h55.615",fill:"none"}),t().createElement("path",{"data-name":"Stroke 13",d:"M13.754 57.586h105.574",fill:"none"}),t().createElement("path",{"data-name":"Stroke 15",d:"M13.754 67.012h105.574",fill:"none"}),t().createElement("path",{"data-name":"Stroke 17",d:"M63.713 47.217h55.615",fill:"none"})),t().createElement("path",{"data-name":"Rectangle",fill:"#fff",d:"M129.697 18.467h7.541v17.91h-7.541z"})))},Zi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"52",height:"52"},t().createElement("g",{"data-name":"Group 5"},t().createElement("path",{"data-name":"Stroke 1",d:"M50 26A24 24 0 1 1 26 2a24 24 0 0 1 24 24z",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"}),t().createElement("path",{"data-name":"Stroke 3",d:"M35 26a9 9 0 1 1-9-9 9 9 0 0 1 9 9z",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"}),t().createElement("path",{fill:"#fff",d:"M14 12h12v13H14z"})))},Xi=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40.812",height:"49.5"},t().createElement("g",{fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"},t().createElement("path",{"data-name":"Stroke 1",d:"M7.764 30.15l-6.35 6.35"}),t().createElement("path",{"data-name":"Stroke 3",d:"M39.398 36.5L20.35 17.452l-7.936 7.937"}),t().createElement("path",{"data-name":"Stroke 5",d:"M20.914 17.532V49.5"}),t().createElement("path",{"data-name":"Stroke 8",d:"M39.514 2h-38.1"})))},$i=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"102.307",height:"62.607"},t().createElement("g",{"data-name":"Card Illustration",fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M89.346 61.107H12.074A10.547 10.547 0 0 1 1.5 50.589V12.018A10.547 10.547 0 0 1 12.074 1.5h77.272a10.547 10.547 0 0 1 10.575 10.518v38.571a10.547 10.547 0 0 1-10.575 10.518z"}),t().createElement("path",{"data-name":"Stroke 13",d:"M10.51 42.74h77.628"}),t().createElement("path",{"data-name":"Stroke 15",d:"M10.51 49.671h77.628"})),t().createElement("path",{fill:"#fff",d:"M96.762 13.976h5.545v13.169h-5.545z"}))},ea=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"102.307",height:"62.607"},t().createElement("g",{"data-name":"Card Illustration",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"3"},t().createElement("path",{"data-name":"Stroke 7",d:"M89.346 61.107H12.074A10.547 10.547 0 0 1 1.5 50.589V12.018A10.547 10.547 0 0 1 12.074 1.5h77.272a10.547 10.547 0 0 1 10.575 10.518v38.571a10.547 10.547 0 0 1-10.575 10.518z",fill:"#fff"}),t().createElement("path",{"data-name":"Stroke 1",d:"M14.669 31.997a8.821 8.821 0 0 1 7.97-4.852 8.822 8.822 0 0 1 7.971 4.852",fill:"none"}),t().createElement("path",{"data-name":"Stroke 3",d:"M34.076 23.333a11.613 11.613 0 0 1-11.784 11.436A11.613 11.613 0 0 1 10.51 23.333a11.613 11.613 0 0 1 11.782-11.436 11.613 11.613 0 0 1 11.784 11.436z",fill:"none"}),t().createElement("path",{"data-name":"Stroke 5",d:"M25.759 20.214a3.466 3.466 0 1 1-3.465-3.466",fill:"none"}),t().createElement("path",{"data-name":"Stroke 9",d:"M47.245 12.244h40.893",fill:"none"}),t().createElement("path",{"data-name":"Stroke 11",d:"M47.245 28.185h40.893",fill:"none"}),t().createElement("path",{"data-name":"Stroke 13",d:"M10.51 42.74h77.628",fill:"none"}),t().createElement("path",{"data-name":"Stroke 15",d:"M10.51 49.671h77.628",fill:"none"}),t().createElement("path",{"data-name":"Stroke 17",d:"M47.245 35.116h40.893",fill:"none"})),t().createElement("path",{fill:"#fff",d:"M96.762 13.976h5.545v13.169h-5.545z"}))},ta=function(){return t().createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"90",height:"87"},t().createElement("g",{fill:"none",stroke:"#9b9b9b",strokeMiterlimit:"10",strokeWidth:"4"},t().createElement("path",{"data-name":"Stroke 1",d:"M17.176 74.939a32.212 32.212 0 0 1 29.087-17.606 32.217 32.217 0 0 1 29.09 17.606"}),t().createElement("path",{"data-name":"Stroke 3",d:"M88 43.5C88 66.42 68.751 85 45 85S2 66.42 2 43.5 21.249 2 45 2s43 18.58 43 41.5z"}),t().createElement("path",{"data-name":"Stroke 5",d:"M57.647 32.182a12.647 12.647 0 1 1-12.645-12.576"})))},na=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",style:{width:"16px",height:"16px"}},t().createElement("path",{d:"M1.735 7L1 6.786C1.67 4.1 3.63 1.983 6.117 1.263c2.987-.864 6.158.454 7.862 3.163l.262-3.242.759.071-.382 4.71-4.362-.412.066-.819 3.112.294C11.933 2.51 9.04 1.27 6.314 2.058 4.089 2.702 2.334 4.595 1.735 7zm7.951 7.942c-2.724.788-5.619-.452-7.12-2.97l3.112.294.066-.82-4.362-.411L1 15.745l.759.071.263-3.247C3.375 14.723 5.652 16 8.03 16a6.66 6.66 0 0 0 1.853-.263c2.487-.72 4.448-2.836 5.117-5.523L14.265 10c-.6 2.405-2.354 4.299-4.579 4.942z","fill-rule":"nonzero","stroke-width":".5"}))},ra=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15.475 19.243",width:"15.475",height:"19.243",style:{width:"16px",height:"20px"}},t().createElement("path",{transform:"translate(-27 -21.8)",d:"M34.737,21.8A12.061,12.061,0,0,1,27,24.895V35.021a10.318,10.318,0,0,0,6.627,5.719l1.11.3,1.11-.336a10.139,10.139,0,0,0,6.627-5.719V24.895A12.242,12.242,0,0,1,34.737,21.8Zm2.489,13.288-2.489-1.312-2.489,1.312.471-2.792L30.7,30.311l2.792-.4,1.245-2.523,1.245,2.523,2.792.4L36.756,32.3Z"}))},oa=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 167 371",width:"167px",height:"371px"},t().createElement("polygon",{points:"101.7 0.50015 0.40149 81.098 166.03 81.098 166.03 0.50015"}),t().createElement("polygon",{points:"87.772 156.42 87.772 370.5 166.03 370.5 166.03 153.1 87.844 153.1"}))},ia=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 261 376",width:"261px",height:"376px"},t().createElement("path",{d:"m85.465 75.375c13.504-6.578 27.438-9.875 41.795-9.875 13.676 0 24.609 3.625 32.8 10.875 8.1901 7.25 12.285 18.297 12.285 33.125 0 9.953-1.8601 19.562-5.5723 28.836-3.7197 9.2735-9.7996 19.344-18.24 30.218-8.4402 10.875-26.422 30.391-53.947 58.539l-9.9112 10.004h87.86c18.295-17.584 31.868-31.888 40.707-42.902 12.582-15.672 21.866-30.969 27.86-45.891 5.9939-14.922 8.9949-30.89 8.9949-47.922 0-19.602-4.9001-37.008-14.692-52.219-9.7921-15.203-23.555-27.031-41.279-35.484-17.732-8.453-38.161-12.68-61.293-12.68-17.568 0-33.44 1.7345-47.625 5.203-14.184 3.469-27.266 8.422-39.255 14.852-11.988 6.4375-27.102 17.438-45.335 33.008l42.553 50.414c14.692-12.148 28.791-21.516 42.295-28.102"}),t().createElement("polygon",{points:"1.6255 320.92 1.6255 375.5 260.48 375.5 260.48 309.1 13.34 309.1"}))},aa=function(){return t().createElement("svg",{viewBox:"0 0 78 115",width:"78",height:"115",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M46 114.002V93.164c.5-.277.972-.573 1.416-.888 3.739-2.659 5.61-6.926 5.61-12.805 0-5.266-2.153-8.996-6.457-11.194-4.303-2.196-11.168-3.297-20.595-3.297h-8.532V46.846h8.686c8.709 0 15.075-1.128 19.097-3.39 4.021-2.26 6.034-6.132 6.034-11.618 0-8.429-5.33-12.646-15.986-12.646-3.69 0-7.443.614-11.26 1.837-3.818 1.225-8.057 3.343-12.719 6.352L.304 11.043C10.55 3.681 22.768 0 36.961 0c11.628 0 20.812 2.345 27.55 7.032 6.737 4.689 10.106 11.21 10.106 19.567 0 6.982-2.127 12.918-6.378 17.81-4.252 4.893-10.22 8.258-17.902 10.09v.46c9.067 1.124 15.931 3.868 20.593 8.232 4.662 4.365 6.992 10.25 6.992 17.652 0 10.774-3.92 19.161-11.758 25.158-5.228 4.002-11.95 6.669-20.164 8.001zm-22 .647c-8.746-.738-16.696-2.635-23.85-5.691v-20.12c4.353 2.196 9.145 3.98 14.371 5.357A62.589 62.589 0 0 0 24 95.945v18.704z"}))},ca=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 281 371",width:"281px",height:"371px"},t().createElement("path",{d:"m267.68 233-0.014 0.0975h-131.54v-0.0975h-66.33l67.889-102.41c8.7763-13.148 16.294-26.633 22.546-40.461h2.0242c-0.5082 3.203-1.1804 14.758-2.0242 34.648-0.6232 14.682-1.0148 26.784-1.1779 36.324h76.39v-160.6h-72.172l-162.36 238.85v54.648h158.06v76.5h76.478v-76.5h44.592v-61z"}))},la=function(){return t().createElement("svg",{width:"90px",height:"36px",viewBox:"0 0 90 36",xmlns:"http://www.w3.org/2000/svg",preserveAspectRatio:"xMidYMid meet"},t().createElement("path",{d:"M87.982,13.909 L85.416,13.909 C83.567,6.096 76.564,0.273 68.182,0.273 C59.299,0.273 51.962,6.816 50.676,15.341 C49.21,13.701 47.221,13.227 45,13.227 C42.779,13.227 40.791,13.701 39.324,15.341 C38.038,6.817 30.702,0.273 21.818,0.273 C13.437,0.273 6.433,6.096 4.585,13.909 L2.019,13.909 C0.904,13.909 0,14.812 0,15.927 L0,15.983 C0,17.097 0.904,18 2.019,18 L4.091,18 C4.091,27.792 12.028,35.727 21.819,35.727 C31.61,35.727 39.546,27.792 39.546,18 C39.546,17.996 39.546,17.992 39.546,17.988 C40.554,15.984 42.606,14.591 45.001,14.591 C47.396,14.591 49.448,15.984 50.456,17.988 C50.456,17.992 50.456,17.996 50.456,18 C50.456,27.792 58.393,35.727 68.183,35.727 C77.975,35.727 85.911,27.792 85.911,18 L87.984,18 C89.096,18 90,17.097 90,15.982 L90,15.926 C90,14.812 89.096,13.909 87.982,13.909 M21.818,33.682 C13.171,33.682 6.136,26.648 6.136,18 C6.136,9.354 13.171,2.318 21.818,2.318 C30.465,2.318 37.5,9.354 37.5,18 C37.5,26.648 30.465,33.682 21.818,33.682 M68.182,33.682 C59.535,33.682 52.5,26.648 52.5,18 C52.5,9.354 59.535,2.318 68.182,2.318 C76.829,2.318 83.864,9.353 83.864,18 C83.864,26.648 76.829,33.682 68.182,33.682",stroke:"none",strokeWidth:"1",fill:"#202020",fillRule:"nonzero"}))},sa=function(){return t().createElement("svg",{width:"90",height:"30",xmlns:"http://www.w3.org/2000/svg"},t().createElement("path",{d:"M84.707 1H5.293A4.3 4.3 0 0 0 1 5.308v19.384A4.3 4.3 0 0 0 5.293 29h79.414A4.3 4.3 0 0 0 89 24.692V5.308A4.3 4.3 0 0 0 84.707 1zM87 24.818C87 26.023 86.036 27 84.846 27H5.154C3.964 27 3 26.023 3 24.818V5.182C3 3.977 3.964 3 5.154 3h79.692C86.036 3 87 3.977 87 5.182v19.636zM53 15c0 .552-.481 1-1.075 1h-40.85C10.481 16 10 15.552 10 15s.481-1 1.075-1h40.85c.594 0 1.075.448 1.075 1zm26.54-4.832c.473.316.602.953.29 1.428l-5.96 8.949c-.183.27-.482.439-.808.455-.307 0-.6-.136-.796-.372l-3.033-3.58a1.056 1.056 0 1 1 1.646-1.324l2.07 2.514 5.174-7.79a1.035 1.035 0 0 1 1.417-.28z",fill:"#FFF",fillRule:"nonzero",stroke:"#EE220D",strokeWidth:".5"}))},ua=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"M11.338,0H.662A.662.662,0,0,0,0,.662V11.338A.662.662,0,0,0,.662,12H6.414V7.359H4.852V5.543H6.414V4.206a2.183,2.183,0,0,1,2.33-2.394,13.283,13.283,0,0,1,1.394.07V3.5H9.186c-.753,0-.9.356-.9.881V5.541h1.8L9.852,7.357H8.276V12h3.062A.662.662,0,0,0,12,11.338V.662A.662.662,0,0,0,11.338,0Z"}))};function fa(){return fa=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fa.apply(this,arguments)}var da,pa,ma,ha,ga,ba,ya,va,wa,xa,Ea,Sa=l().svg.withConfig({displayName:"SocialInstagram__Icon",componentId:"sc-163l8o8-0"})(["fill:#fff;width:12px;"]),Oa=function(e){return t().createElement(Sa,fa({width:"24",height:"24",viewBox:"0 0 24 24"},e),t().createElement("path",{d:"M12 2.163c3.204 0 3.584.012 4.85.07 3.252.148 4.771 1.691 4.919 4.919.058 1.265.069 1.645.069 4.849 0 3.205-.012 3.584-.069 4.849-.149 3.225-1.664 4.771-4.919 4.919-1.266.058-1.644.07-4.85.07-3.204 0-3.584-.012-4.849-.07-3.26-.149-4.771-1.699-4.919-4.92-.058-1.265-.07-1.644-.07-4.849 0-3.204.013-3.583.07-4.849.149-3.227 1.664-4.771 4.919-4.919 1.266-.057 1.645-.069 4.849-.069zm0-2.163c-3.259 0-3.667.014-4.947.072-4.358.2-6.78 2.618-6.98 6.98-.059 1.281-.073 1.689-.073 4.948 0 3.259.014 3.668.072 4.948.2 4.358 2.618 6.78 6.98 6.98 1.281.058 1.689.072 4.948.072 3.259 0 3.668-.014 4.948-.072 4.354-.2 6.782-2.618 6.979-6.98.059-1.28.073-1.689.073-4.948 0-3.259-.014-3.667-.072-4.947-.196-4.354-2.617-6.78-6.979-6.98-1.281-.059-1.69-.073-4.949-.073zm0 5.838c-3.403 0-6.162 2.759-6.162 6.162s2.759 6.163 6.162 6.163 6.162-2.759 6.162-6.163c0-3.403-2.759-6.162-6.162-6.162zm0 10.162c-2.209 0-4-1.79-4-4 0-2.209 1.791-4 4-4s4 1.791 4 4c0 2.21-1.791 4-4 4zm6.406-11.845c-.796 0-1.441.645-1.441 1.44s.645 1.44 1.441 1.44c.795 0 1.439-.645 1.439-1.44s-.644-1.44-1.439-1.44z"}))},Ia=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m6.7205 11.596h-2.5675v-0.12089c0.00963-2.038 0.027815-6.8468 0-7.4244h2.5675v1.0698l-0.00749 0.00963-0.00963 0.013907h0.017117v-0.025677a2.5504 2.5504 0 0 1 2.3183-1.2463c1.854 0 2.9612 1.2699 2.9612 3.3956v4.3263h-2.5675v-4.0364c0-1.1158-0.45039-1.7063-1.3041-1.7063a1.425 1.425 0 0 0-1.3191 0.91789 1.6047 1.6047 0 0 0-0.085584 0.61193v4.214zm-3.9957 0h-2.5718v-7.5475h2.5675v7.5443zm-1.2838-8.5745h-0.019256a1.3223 1.3223 0 0 1-1.4218-1.3062 1.3255 1.3255 0 0 1 1.456-1.3041 1.3212 1.3212 0 0 1 1.4378 1.3041 1.3255 1.3255 0 0 1-1.4549 1.3041z"}))},Aa=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m1.4227 3.3343a0.42788 0.42788 0 0 0-0.1519-0.37119l-1.1189-1.2762v-0.19041h3.4787l2.6892 5.5764 2.3641-5.5764h3.3161v0.19041l-0.96274 0.8686a0.25887 0.25887 0 0 0-0.10697 0.25459v6.3808a0.2578 0.2578 0 0 0 0.10697 0.25352l0.936 0.8686v0.19041h-4.6992v-0.18934l0.96274-0.89c0.095204-0.08986 0.095204-0.1166 0.095204-0.25352v-5.1581l-2.6903 6.4696h-0.3637l-3.1385-6.4696v4.3366a0.57871 0.57871 0 0 0 0.17329 0.49742l1.2612 1.4462v0.18934h-3.5739v-0.18934l1.2601-1.4462a0.55625 0.55625 0 0 0 0.1626-0.49742z"}))},ka=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m6.0451 11.201c-0.19209 0-0.39057-0.0064-0.59066-0.01921a6.0827 6.0827 0 0 1-3.3055-1.1205 2.9949 2.9949 0 0 1-1.419-2.6636 0.32414 0.32414 0 0 0-0.13606-0.2209 1.2886 1.2886 0 0 1 0.69391-2.3739 1.6399 1.6399 0 0 1 0.81396 0.2353 0.28893 0.28893 0 0 0 0.14006 0.030414 0.28573 0.28573 0 0 0 0.13926-0.030414 6.4437 6.4437 0 0 1 3.127-0.93802c0.18968-0.0064029 0.26732-0.074433 0.30654-0.27052 0.11845-0.58106 0.24971-1.1701 0.37617-1.74 0.071232-0.32014 0.14086-0.63548 0.20969-0.95242 0.041618-0.18968 0.13046-0.27452 0.28893-0.27452a0.65549 0.65549 0 0 1 0.14166 0.017608c0.32575 0.076034 0.65789 0.14006 0.97884 0.20409 0.28253 0.056825 0.57306 0.11525 0.85798 0.17688a0.50743 0.50743 0 0 0 0.10645 0.015207 0.26732 0.26732 0 0 0 0.2161-0.11445 0.94842 0.94842 0 0 1 0.72512-0.36576 1.0084 1.0084 0 0 1 0.4498 0.11285 0.93001 0.93001 0 0 1 0.49222 1.0549 0.98364 0.98364 0 0 1-0.85958 0.70271h-0.073633a1.002 1.002 0 0 1-0.92281-0.68671c-0.035216-0.093642-0.11205-0.20249-0.18328-0.2193-0.42979-0.094442-0.85798-0.17768-1.311-0.26572l-0.43459-0.085638c-0.19609 0.8972-0.38497 1.7608-0.58106 2.6652a6.659 6.659 0 0 1 3.4511 1.0589 1.5751 1.5751 0 0 1 0.91321-0.33535 1.3126 1.3126 0 0 1 0.33935 0.04562 1.2542 1.2542 0 0 1 0.96923 0.99484 1.1797 1.1797 0 0 1-0.50823 1.2806 0.43219 0.43219 0 0 0-0.21049 0.42259 2.9141 2.9141 0 0 1-1.3182 2.4483 6.2532 6.2532 0 0 1-3.8825 1.2109zm-0.059226-1.6007h0.2217a1.2726 1.2726 0 0 0 0.12726-0.0048 3.0253 3.0253 0 0 0 1.5487-0.4554c0.071232-0.05202 0.13606-0.20329 0.098444-0.26412a0.14166 0.14166 0 0 0-0.12566-0.07603 0.52824 0.52824 0 0 0-0.20969 0.07203h-4e-3l-0.041619 0.02081a2.7604 2.7604 0 0 1-0.62828 0.25371 5.0222 5.0222 0 0 1-1.0757 0.12726 3.0606 3.0606 0 0 1-1.6231-0.43299 0.11365 0.11365 0 0 0-0.058426-0.01281 0.61067 0.61067 0 0 0-0.11285 0.01601h-0.028006l-0.02161 4e-3a0.60907 0.60907 0 0 1-0.061627 0.01841 0.56025 0.56025 0 0 1 4e-3 0.06163v0.01361c0 0.05763 0 0.11685 0.036016 0.14727a1.5383 1.5383 0 0 0 0.39137 0.24011 3.6736 3.6736 0 0 0 1.4791 0.27132zm2.0009-3.2014a0.81156 0.81156 0 0 0-0.79395 0.80036 0.80036 0.80036 0 0 0 1.6007 0.0072 0.82517 0.82517 0 0 0-0.80036-0.80756zm-4.0018 0a0.82437 0.82437 0 0 0-0.79395 0.81076 0.80036 0.80036 0 0 0 0.80036 0.78995h0.0064a0.80036 0.80036 0 0 0 0.79396-0.80036 0.81236 0.81236 0 0 0-0.79635-0.80036z"}))},Ca=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m9.5367 11.136a0.58633 0.58633 0 0 1-0.34559-0.11342c-0.97794-0.7158-2.7252-2.0329-2.799-2.0853l-1.5482 1.5001a0.42798 0.42798 0 0 1-0.40658 0.107 0.44831 0.44831 0 0 1-0.30173-0.29531c-0.36806-1.116-1.07-3.304-1.1042-3.3971-0.00535 0-1.5568-0.50716-2.738-0.86987a0.42798 0.42798 0 0 1-0.024609-0.80353c1.3567-0.51572 3.7106-1.4198 5.9917-2.2929h0.00642c2.1506-0.82493 4.1814-1.6049 5.201-1.9923a0.38839 0.38839 0 0 1 0.13481-0.028889 0.39481 0.39481 0 0 1 0.25786 0.097366 0.40444 0.40444 0 0 1 0.13054 0.38946c-0.19152 0.92765-0.53498 2.6299-0.89662 4.4328-0.37555 1.8692-0.76395 3.8026-0.98757 4.8811a0.59061 0.59061 0 0 1-0.36164 0.42798 0.57242 0.57242 0 0 1-0.20864 0.0428zm0.17226-8.4933a0.13909 0.13909 0 0 0-0.075967 0.022469l-5.9479 3.901 0.83991 2.845 0.18617-1.8061 5.094-4.7142a0.14551 0.14551 0 0 0 0.016049-0.19366 0.13802 0.13802 0 0 0-0.11128-0.054567z"}))},Pa=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m10.64 5.5733a1.4695 1.4695 0 0 0 1.3104-0.72537 2.2884 2.2884 0 0 1-1.4142 0.14695c-0.020592-0.093596-0.043055-0.17783-0.065518-0.25645a2.5552 2.5552 0 0 0-2.5477-1.8588c0.093596-0.034631 0.18719-0.067389 0.28079-0.093596 0.12542-0.042118 0.86109-0.1535 0.74877-0.39591-0.093596-0.2134-0.9968 0.16099-1.1662 0.20966 0.21808-0.080493 0.58779-0.21527 0.6271-0.45488a1.842 1.842 0 0 0-0.93596 0.41463 0.58779 0.58779 0 0 0 0.17783-0.33227 5.3481 5.3481 0 0 0-1.8775 2.7049 4.4383 4.4383 0 0 0-0.91069-0.68138 24.58 24.58 0 0 0-3.0765-1.2636 1.5191 1.5191 0 0 0 1.0296 1.4039 2.6843 2.6843 0 0 0-0.73848 0.082365c0.10296 0.50168 0.4371 0.91537 1.344 1.1147a1.1391 1.1391 0 0 0-0.82271 0.30325 1.4189 1.4189 0 0 0 1.477 0.67577c-0.92099 0.37439-0.37439 1.0558 0.37439 0.95375a3.347 3.347 0 0 1-4.4543 0.11325c3.0213 3.8375 9.589 2.2716 10.568-1.4283a1.8869 1.8869 0 0 0 1.432-0.50448 3.1186 3.1186 0 0 1-1.36-0.12823z"}))},Ta=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",width:"12",height:"12",style:{width:"12px",height:"12px"}},t().createElement("path",{d:"m6 9.857a39.238 39.238 0 0 1-4.6884-0.2297 1.4485 1.4485 0 0 1-1.0602-0.97539 13.269 13.269 0 0 1-0.25113-2.6519 13.269 13.269 0 0 1 0.25113-2.6519 1.4485 1.4485 0 0 1 1.0602-0.97539 39.238 39.238 0 0 1 4.6884-0.2297 39.226 39.226 0 0 1 4.6884 0.2297 1.4485 1.4485 0 0 1 1.0611 0.97539 13.269 13.269 0 0 1 0.25028 2.6519 13.269 13.269 0 0 1-0.25113 2.6519 1.4485 1.4485 0 0 1-1.0602 0.97539 39.226 39.226 0 0 1-4.6884 0.2297zm-1.7142-5.1426v3.4284l3.4284-1.7142z"}))},ja=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 76",width:"76",height:"76"},t().createElement("g",{transform:"translate(-266 -956)"},t().createElement("path",{d:"m330.62 1020.5c-2.893 2.894-6.13 5.245-9.621 6.988a1.537 1.537 0 1 1-1.374-2.75c3.194-1.595 6.162-3.752 8.822-6.412 13.527-13.527 13.527-35.537 0-49.064-13.528-13.527-35.537-13.527-49.064 0-13.528 13.527-13.528 35.537 0 49.064 6.552 6.553 15.265 10.162 24.531 10.162a1.537 1.537 0 0 1 0 3.074c-10.088 0-19.572-3.928-26.706-11.062-14.725-14.726-14.725-38.686 0-53.412 7.363-7.363 17.035-11.044 26.706-11.044 9.672 0 19.343 3.681 26.706 11.044 14.726 14.726 14.726 38.686 0 53.412z"}),t().createElement("path",{d:"m303.92 1018.2a1.537 1.537 0 0 1-1.537-1.537v-45.821a1.537 1.537 0 0 1 3.075 0v45.822c0 0.85-0.689 1.537-1.538 1.537z"}),t().createElement("path",{d:"m310.07 992.21h16.762a1.537 1.537 0 0 1 0 3.074h-16.762a1.537 1.537 0 0 1 0-3.074z"}),t().createElement("path",{d:"m281.01 995.29a1.537 1.537 0 0 1 0-3.074h16.25a1.537 1.537 0 0 1 0 3.074z"})))},Ma=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 76",width:"76",height:"76"},t().createElement("g",{transform:"translate(-266 -1840)"},t().createElement("path",{d:"m291.1 1842.2c-9.496 3.385-17.106 10.266-21.427 19.375-4.322 9.108-4.837 19.355-1.452 28.85 3.386 9.497 10.267 17.107 19.375 21.428 9.109 4.321 19.355 4.837 28.852 1.451a1.537 1.537 0 0 0-1.032-2.894c-8.723 3.11-18.136 2.637-26.503-1.333-8.367-3.969-14.688-10.96-17.798-19.683s-2.636-18.136 1.333-26.503c3.97-8.367 10.96-14.688 19.683-17.798 8.724-3.11 18.136-2.636 26.503 1.333 8.368 3.97 14.689 10.96 17.798 19.684 3.486 9.777 2.43 20.503-2.894 29.426a1.536 1.536 0 1 0 2.638 1.574 37.696 37.696 0 0 0 5.352-19.34c0-4.27-0.728-8.56-2.202-12.692-3.385-9.497-10.266-17.106-19.375-21.427-9.108-4.321-19.355-4.837-28.851-1.451z"}),t().createElement("path",{d:"M303.769 1860.861c-.848 0-1.536.688-1.536 1.536v38.259a1.536 1.536 0 0 0 3.072 0v-38.259c0-.848-.688-1.536-1.536-1.536z"}),t().createElement("path",{d:"m319.84 1873.1a1.536 1.536 0 1 0 2.173-2.173l-17.154-17.153c-0.6-0.6-1.573-0.6-2.172 0l-17.154 17.153a1.536 1.536 0 1 0 2.172 2.173l16.068-16.068z"})))},_a=function(){return t().createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 76 76",width:"76",height:"76"},t().createElement("g",{transform:"translate(-266 -1398)"},t().createElement("path",{d:"M317.119 1442.937a1.234 1.234 0 0 1 .445-1.372l9.583-7.03c1.526-1.12 2.134-3.006 1.549-4.805-.585-1.8-2.185-2.968-4.077-2.977l-11.885-.055c-.532-.003-1-.343-1.167-.848l-3.725-11.286c-.593-1.797-2.199-2.958-4.091-2.958-1.892 0-3.498 1.16-4.09 2.957l-1.68 5.086a1.536 1.536 0 1 0 2.918.963l1.679-5.085c.26-.787.963-.848 1.173-.848.21 0 .913.06 1.173.848l3.725 11.286a4.304 4.304 0 0 0 4.07 2.958l11.886.055c.828.004 1.104.654 1.169.854.064.199.224.887-.445 1.377l-9.582 7.03a4.304 4.304 0 0 0-1.555 4.786l3.621 11.324c.253.79-.28 1.253-.45 1.376-.17.123-.775.487-1.447.003l-9.648-6.943a4.304 4.304 0 0 0-5.033 0l-9.65 6.944c-.673.484-1.278.12-1.447-.003-.17-.123-.703-.586-.45-1.375l3.62-11.326a4.304 4.304 0 0 0-1.555-4.785l-9.582-7.03c-.669-.49-.51-1.18-.444-1.378.064-.2.34-.85 1.168-.854l11.886-.055a1.537 1.537 0 0 0-.007-3.073h-.007l-11.886.056c-1.892.008-3.492 1.177-4.077 2.976-.585 1.8.023 3.686 1.549 4.805l9.582 7.03c.428.315.608.866.446 1.373l-3.62 11.325c-.577 1.803.04 3.686 1.571 4.798.768.557 1.65.837 2.532.837.875 0 1.751-.276 2.517-.826l9.649-6.945a1.234 1.234 0 0 1 1.443 0l9.648 6.943c1.536 1.106 3.517 1.102 5.048-.01 1.531-1.113 2.148-2.996 1.572-4.798z"}),t().createElement("path",{d:"m303.75 1398c-20.815 0-37.75 16.935-37.75 37.75s16.935 37.75 37.75 37.75a1.537 1.537 0 0 0 0-3.073c-19.121 0-34.677-15.556-34.677-34.677s15.556-34.677 34.677-34.677 34.677 15.556 34.677 34.677c0 11.902-5.997 22.837-16.043 29.25a1.537 1.537 0 0 0 1.654 2.59c10.934-6.98 17.462-18.883 17.462-31.84 0-20.815-16.934-37.75-37.75-37.75z"})))};function Na(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ra=l().div.withConfig({displayName:"MainMenustyles__StyledMainMenu",componentId:"sc-1cw1nhj-0"})(["display:none;",""],G.Medium(da||(da=Na(["\n display: block;\n width: 100%;\n position: absolute;\n top: 100%;\n left: 0;\n overflow: hidden;\n\n ","\n "])),(function(e){return e.admin&&"\n padding-left: 100px;\n "}))),La=l().div.withConfig({displayName:"MainMenustyles__MainMenuContainer",componentId:"sc-1cw1nhj-1"})(["display:block;background-color:",";box-shadow:inset 0 -1px 0 0 ",";"],s.white,s.lightGrey),Ba=l().div.withConfig({displayName:"MainMenustyles__MainMenuOptions",componentId:"sc-1cw1nhj-2"})(["display:flex;flex-direction:column;height:100%;",""],G.Medium(pa||(pa=Na(["\n flex-direction: row;\n height: 92px;\n "])))),za=l().div.withConfig({displayName:"MainMenustyles__MainMenuOption",componentId:"sc-1cw1nhj-3"})(["position:relative;display:flex;flex-basis:33.3333%;justify-content:center;align-items:center;width:100%;padding:4px 16px;outline:none;& + &{border-top:1px solid ",";}"," "," "," ",";",""],s.lightGrey,G.Medium(ma||(ma=Na(["\n padding: 10px;\n border-bottom: 1px solid ",";\n transition: border-bottom-color .2s;\n\n & + & {\n border-top: 0;\n border-left: 1px solid ",";\n }\n "])),s.lightGrey,s.lightGrey),(function(e){return e.nameOption&&"\n display: none;\n "}),G.Large(ha||(ha=Na(["\n flex-basis: 25%;\n\n ",";\n "])),(function(e){return e.nameOption&&"\n display: flex;\n "})),(function(e){return e.isOpened&&"\n border-bottom-color: transparent;\n "}),(function(e){return e.button&&"\n cursor: pointer;\n transition: color .2s;\n \n & > span {\n display: inline-block;\n vertical-align: middle;\n text-transform: uppercase;\n font-size: 11px;\n line-height: 20px;\n letter-spacing: 2px;\n }\n\n &:hover {\n color: ".concat(s.blue,";\n }\n ")})),Da=l().h3.withConfig({displayName:"MainMenustyles__UserName",componentId:"sc-1cw1nhj-4"})(["font-weight:600;font-size:16px;line-height:24px;"]),Ga=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"MainMenustyles__ExpandArrow",componentId:"sc-1cw1nhj-5"})(["position:absolute;top:50%;right:32px;display:block;margin-top:-8px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;"," ",""],(function(e){return e.isOpened&&"\n transform: rotate(180deg);\n "}),G.Medium(ga||(ga=Na(["\n display: inline-block;\n vertical-align: middle;\n margin-left: 20px;\n margin-top: 0;\n position: relative;\n top: 0;\n right: auto;\n "])))),qa=l().div.withConfig({displayName:"MainMenustyles__Settings",componentId:"sc-1cw1nhj-6"})(["overflow:hidden;"]),Fa=l().div.withConfig({displayName:"MainMenustyles__SettingsOptions",componentId:"sc-1cw1nhj-7"})(["display:flex;flex-direction:column;height:100%;",""],G.Medium(ba||(ba=Na(["\n flex-wrap: wrap;\n padding: 27px 64px;\n flex-direction: row;\n height: auto;\n "])))),Ua=l().button.withConfig({displayName:"MainMenustyles__SettingsOption",componentId:"sc-1cw1nhj-8"})(["position:relative;flex-grow:1;cursor:pointer;transition:font-weight 0.2s;color:",";background-color:",";border-top:1px solid ",";",";"," "," & > span{position:relative;display:inline-block;font-size:11px;line-height:20px;text-transform:uppercase;transition:font-weight .2s;letter-spacing:2px;","}"," "," &:hover{& > span{font-weight:bold;}}"],s.white,s.orangishRed,s.orangishRedDark,(function(e){return e.back&&"\n color: ".concat(s.black,";\n background-color: transparent;\n border-top: 0;\n \n ").concat(e.isActive&&"\n color: ".concat(s.black,";\n background-color: transparent;\n "),"\n\n ").concat(G.Medium(ya||(ya=Na(["\n background-color: transparent;\n \n ","\n "])),e.isActive&&"\n background-color: transparent;\n "),"\n ")}),G.Medium(va||(va=Na(["\n flex-grow: 0;\n text-align: left;\n flex-basis: 33.3333%;\n color: ",";\n background-color: transparent;\n border-top: 0;\n "])),s.black),G.Large(wa||(wa=Na(["\n flex-basis: 25%;\n\n ","\n "])),(function(e){return e.scrollDown&&"\n flex-basis: 20%;\n "})),G.Medium(xa||(xa=Na(["\n padding: 7px 0;\n margin: 3px 0;\n "]))),(function(e){return e.isActive&&"\n background-color: ".concat(s.blue,";\n\n & > span {\n font-weight: bold;\n }\n ")}),G.Medium(Ea||(Ea=Na(["\n ","\n "])),(function(e){return e.isActive&&" \n background-color: transparent;\n\n & > span {\n &:before {\n content: '';\n display: block;\n height: 4px;\n width: 100%;\n position: absolute;\n bottom: 0;\n left: 0;\n background-color: ".concat(s.blue,";\n }\n }\n ")})));function Wa(e){return Wa="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},Wa(e)}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Va(e,t){for(var n=0;n<t.length;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)}}function Ya(e,t){return Ya=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ya(e,t)}function Qa(e,t){if(t&&("object"===Wa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ka(e)}function Ka(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ja(e){return Ja=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ja(e)}function Za(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l().div.withConfig({displayName:"MainMenustyles__MainMenuMobileSettings",componentId:"sc-1cw1nhj-9"})(["display:block;visibility:hidden;opacity:0;z-index:5;position:absolute;top:64px;left:0;width:100%;height:calc(100% - 64px);background-color:",";border-top:1px solid ",";transition:opacity 0.2s,visibility 0.2s;",""],s.white,s.lightGrey,(function(e){return e.isActive&&"\n visibility: visible;\n opacity: 1;\n "}));var Xa=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ya(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ja(o);if(i){var n=Ja(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Qa(this,e)});function c(){var e;Ha(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Za(Ka(e=a.call.apply(a,[this].concat(n))),"state",{isSettingsActive:!1,isScrollDown:!1,lastScroll:0}),Za(Ka(e),"toggleSettings",(function(){e.setState((function(e){return{isSettingsActive:!e.isSettingsActive}}))})),Za(Ka(e),"onScroll",(function(){var t=e.state,n=t.lastScroll,r=t.isScrollDown,o=window.scrollY,i=o>n,a={lastScroll:o};i!==r&&(a.isScrollDown=i),e.setState(a)})),e}return n=c,(r=[{key:"componentDidMount",value:function(){window.addEventListener("scroll",this.onScroll)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("scroll",this.onScroll)}},{key:"render",value:function(){var e=this.state,n=e.isSettingsActive,r=e.isScrollDown,o=this.props,i=o.isMenuActive,a=o.admin,c=o.userName,l=o.logoutUser;return t().createElement(Ra,{admin:a},t().createElement(Rn.Collapse,{isOpened:i,hasNestedCollapse:!0},t().createElement(La,null,t().createElement(Rn.Collapse,{isOpened:!r,hasNestedCollapse:!0},t().createElement(Ba,null,t().createElement(za,{nameOption:!0},t().createElement(Da,null,c)),t().createElement(za,{as:"button",button:!0,onClick:function(){return(0,xt.navigate)("/dashboard")}},t().createElement("span",null,"Dashboard")),t().createElement(za,{as:"button",button:!0,isOpened:n,onClick:this.toggleSettings},t().createElement("span",null,"Settings"),t().createElement(Ga,{isOpened:n})),t().createElement(za,null,t().createElement(sn,{negative:!0,onClick:function(){return l()}},"log out"))),t().createElement(qa,null,t().createElement(Rn.Collapse,{isOpened:n},t().createElement(Fa,null,t().createElement(Ua,null,t().createElement("span",null,"Account")),t().createElement(Ua,null,t().createElement("span",null,"Verification")),t().createElement(Ua,null,t().createElement("span",null,"Security")),t().createElement(Ua,{isActive:!0},t().createElement("span",null,"Profile & Privacy")),t().createElement(Ua,null,t().createElement("span",null,"Notifications")),t().createElement(Ua,null,t().createElement("span",null,"Addresses")),t().createElement(Ua,null,t().createElement("span",null,"TOKEN Transfer")),t().createElement(Ua,null,t().createElement("span",null,"IBAN")))))),t().createElement(Rn.Collapse,{isOpened:r,hasNestedCollapse:!0},t().createElement(Fa,null,t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"Account")),t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"Verification")),t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"Security")),t().createElement(Ua,{scrollDown:!0,isActive:!0},t().createElement("span",null,"Profile & Privacy")),t().createElement(Ua,{scrollDown:!0},t().createElement("span",null,"More"),t().createElement(Ga,null)))))))}}])&&Va(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Xa.propTypes={isMenuActive:i().bool.isRequired,admin:i().bool,userName:i().string,logoutUser:i().func.isRequired},Xa.defaultProps={admin:!1,userName:""};var $a=Xa,ec=require("axios"),tc=n.n(ec),nc=process.env.REACT_APP_API_URL||"https://platform-api.stokr.info/api/v1/",rc=tc().create({headers:{"Content-Type":"application/json"},baseURL:nc}),oc=require("js-cookie"),ic=n.n(oc),ac=function(){var e={};return e.domain=process.env.REACT_APP_COOKIE_DOMAIN,e};function cc(e){return cc="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},cc(e)}function lc(){lc=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==cc(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function sc(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function uc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){sc(i,r,o,a,c,"next",e)}function c(e){sc(i,r,o,a,c,"throw",e)}a(void 0)}))}}function fc(e,t){for(var n=0;n<t.length;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)}}var dc=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n;return t=e,n=[{key:"setAccessToken",value:function(e){this.logout();var t={expires:1/24};t.domain=ac(),ic().set("STOKR_ACCESS_TOKEN",e,t)}},{key:"getAccessToken",value:function(){return ic().getJSON("STOKR_ACCESS_TOKEN")}},{key:"logout",value:function(){var e={};e.domain=ac(),ic().remove("STOKR_ACCESS_TOKEN",e)}},{key:"login",value:function(e){return new Promise((function(t,n){rc.post("auth/login",e).then((function(e){rc.defaults.headers.common.Authorization="Bearer ".concat(e.data.access_token),t(e.data)})).catch((function(e){n(e)}))}))}},{key:"twoFactor",value:function(e){return new Promise((function(t,n){rc.post("auth/confirm2fa",e).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"activateUser",value:function(){var e,t=window.location.href.includes("?token=");return e=t?window.location.href.split("activateUser?token=")[1].split("&")[0]:window.location.href.split("activateUser/")[1].split("/")[0],new Promise((function(t,n){rc.post("auth/activate",{token:e}).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"getUser",value:function(){return new Promise((function(e,t){rc.post("user/get").then((function(t){e(t.data)})).catch((function(e){t(e)}))}))}},{key:"checkPrivateInvestor",value:function(e){return new Promise((function(t,n){rc.post("private-investor/check",e).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"updateUser",value:function(e){return new Promise((function(t,n){rc.post("user/updateProfile",e).then((function(e){t(e.data)})).catch((function(e){n(e)}))}))}},{key:"sendWelcomeEmail",value:function(){return new Promise((function(e,t){rc.post("user/welcomeEmail").then((function(){e()})).catch((function(e){t(e)}))}))}},{key:"resendActivationEmail",value:function(e){return new Promise((function(t,n){rc.post("auth/forgotPass",e).then((function(){t()})).catch((function(e){n(e)}))}))}},{key:"uploaProofOfAddress",value:function(e,t){return new Promise(function(){var n=uc(lc().mark((function n(r,o){return lc().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:rc.post("https://kycdocs.stokr-staging.de/kyc/upload?ip=".concat(t),e,{headers:{"Content-Type":"multipart/form-data"}}).then((function(e){r(e.data)})).catch((function(e){o(e)}));case 1:case"end":return n.stop()}}),n)})));return function(e,t){return n.apply(this,arguments)}}())}},{key:"validateGreenWalletId",value:function(e){return new Promise(function(){var t=uc(lc().mark((function t(n,r){return lc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:rc.post("greenwallet/validate-gaid",{gaid:e}).then((function(e){n(e.data)})).catch((function(e){r(e)}));case 1:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}())}}],null&&fc(t.prototype,null),n&&fc(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),pc=dc,mc=[{name:"Aland Islands",ISO2:"AX",ISO3:"ALA","infinite-fleet":!0},{name:"Andorra",ISO2:"AD",ISO3:"AND",artid:!0,"infinite-fleet":!0},{name:"Anguilla",ISO2:"AI",ISO3:"AIA","infinite-fleet":!0},{name:"Antarctica",ISO2:"AQ",ISO3:"ATA","infinite-fleet":!0},{name:"Antigua and Barbuda",ISO2:"AG",ISO3:"ATG","infinite-fleet":!0},{name:"Armenia",ISO2:"AM",ISO3:"ARM","infinite-fleet":!0},{name:"Aruba",ISO2:"AW",ISO3:"ABW",signUpWarning:!0},{name:"Australia",ISO2:"AU",ISO3:"AUS",signUpWarning:!0},{name:"Austria",ISO2:"AT",ISO3:"AUT",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Azerbaijan",ISO2:"AZ",ISO3:"AZE","infinite-fleet":!0},{name:"Bahamas",ISO2:"BS",ISO3:"BHS","infinite-fleet":!0},{name:"Bahrain",ISO2:"BH",ISO3:"BHR","infinite-fleet":!0},{name:"Belgium",ISO2:"BE",ISO3:"BEL",signUpWarning:!0,SEPA:!0},{name:"Belize",ISO2:"BZ",ISO3:"BLZ","infinite-fleet":!0},{name:"Bermuda",ISO2:"BM",ISO3:"BMU","infinite-fleet":!0},{name:"Bonaire, Saint Eustatius and Saba ",ISO2:"BQ",ISO3:"BES","infinite-fleet":!0},{name:"Bouvet Island",ISO2:"BV",ISO3:"BVT","infinite-fleet":!0},{name:"Brazil",ISO2:"BR",ISO3:"BRA",artid:!0,"infinite-fleet":!0},{name:"British Indian Ocean Territory",ISO2:"IO",ISO3:"IOT","infinite-fleet":!0},{name:"British Virgin Islands",ISO2:"VG",ISO3:"VGB","infinite-fleet":!0},{name:"Bulgaria",ISO2:"BG",ISO3:"BGR",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Canada",ISO2:"CA",ISO3:"CAN",signUpWarning:!0},{name:"Cayman Islands",ISO2:"KY",ISO3:"CYM","infinite-fleet":!0},{name:"Chile",ISO2:"CL",ISO3:"CHL","infinite-fleet":!0},{name:"Christmas Island",ISO2:"CX",ISO3:"CXR","infinite-fleet":!0},{name:"Cocos Islands",ISO2:"CC",ISO3:"CCK","infinite-fleet":!0},{name:"Cook Islands",ISO2:"CK",ISO3:"COK","infinite-fleet":!0},{name:"Costa Rica",ISO2:"CR",ISO3:"CRI",signUpWarning:!0},{name:"Croatia",ISO2:"HR",ISO3:"HRV",signUpWarning:!0,SEPA:!0},{name:"Cyprus",ISO2:"CY",ISO3:"CYP",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Czech Republic",ISO2:"CZ",ISO3:"CZE",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Denmark",ISO2:"DK",ISO3:"DNK",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Dominica",ISO2:"DM",ISO3:"DMA","infinite-fleet":!0},{name:"Dominican Republic",ISO2:"DO",ISO3:"DOM",signUpWarning:!0},{name:"Egypt",ISO2:"EG",ISO3:"EGY",signUpWarning:!0},{name:"El Salvador",ISO2:"SV",ISO3:"SLV",signUpWarning:!0},{name:"Estonia",ISO2:"EE",ISO3:"EST",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Falkland Islands",ISO2:"FK",ISO3:"FLK","infinite-fleet":!0},{name:"Faroe Islands",ISO2:"FO",ISO3:"FRO","infinite-fleet":!0},{name:"Fiji",ISO2:"FJ",ISO3:"FJI","infinite-fleet":!0},{name:"Finland",ISO2:"FI",ISO3:"FIN",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"France",ISO2:"FR",ISO3:"FRA",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"French Guiana",ISO2:"GF",ISO3:"GUF","infinite-fleet":!0},{name:"French Polynesia",ISO2:"PF",ISO3:"PYF","infinite-fleet":!0},{name:"French Southern Territories",ISO2:"TF",ISO3:"ATF","infinite-fleet":!0},{name:"Gabon",ISO2:"GA",ISO3:"GAB","infinite-fleet":!0},{name:"Gambia",ISO2:"GM",ISO3:"GMB","infinite-fleet":!0},{name:"Georgia",ISO2:"GE",ISO3:"GEO","infinite-fleet":!0},{name:"Germany",ISO2:"DE",ISO3:"DEU",signUpWarning:!0,SEPA:!0},{name:"Gibraltar",ISO2:"GI",ISO3:"GIB","infinite-fleet":!0},{name:"Greece",ISO2:"GR",ISO3:"GRC",signUpWarning:!0,SEPA:!0},{name:"Greenland",ISO2:"GL",ISO3:"GRL",signUpWarning:!0},{name:"Grenada",ISO2:"GD",ISO3:"GRD","infinite-fleet":!0},{name:"Guadeloupe",ISO2:"GP",ISO3:"GLP","infinite-fleet":!0},{name:"Guatemala",ISO2:"GT",ISO3:"GTM",signUpWarning:!0},{name:"Guernsey",ISO2:"GG",ISO3:"GGY","infinite-fleet":!0},{name:"Heard Island and McDonald Islands",ISO2:"HM",ISO3:"HMD","infinite-fleet":!0},{name:"Honduras",ISO2:"HN",ISO3:"HND",signUpWarning:!0},{name:"Hong Kong",ISO2:"HK",ISO3:"HKG","infinite-fleet":!0},{name:"Hungary",ISO2:"HU",ISO3:"HUN",signUpWarning:!0,SEPA:!0},{name:"Iceland",ISO2:"IS",ISO3:"ISL",artid:!0,SEPA:!0},{name:"India",ISO2:"IN",ISO3:"IND",signUpWarning:!0},{name:"Indonesia",ISO2:"ID",ISO3:"IDN",signUpWarning:!0},{name:"Ireland",ISO2:"IE",ISO3:"IRL",signUpWarning:!0,SEPA:!0},{name:"Isle of Man",ISO2:"IM",ISO3:"IMN","infinite-fleet":!0},{name:"Israel",ISO2:"IL",ISO3:"ISR",signUpWarning:!0},{name:"Italy",ISO2:"IT",ISO3:"ITA",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Japan",ISO2:"JP",ISO3:"JPN",signUpWarning:!0},{name:"Jersey",ISO2:"JE",ISO3:"JEY","infinite-fleet":!0},{name:"Kazakhstan",ISO2:"KZ",ISO3:"KAZ","infinite-fleet":!0},{name:"Kiribati",ISO2:"KI",ISO3:"KIR","infinite-fleet":!0},{name:"Kuwait",ISO2:"KW",ISO3:"KWT",signUpWarning:!0},{name:"Latvia",ISO2:"LV",ISO3:"LVA",signUpWarning:!0,SEPA:!0},{name:"Lebanon",ISO2:"LB",ISO3:"LBN","infinite-fleet":!0},{name:"Lesotho",ISO2:"LS",ISO3:"LSO","infinite-fleet":!0},{name:"Liechtenstein",ISO2:"LI",ISO3:"LIE","infinite-fleet":!0,SEPA:!0},{name:"Lithuania",ISO2:"LT",ISO3:"LTU",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Luxembourg",ISO2:"LU",ISO3:"LUX",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Macedonia",ISO2:"MK",ISO3:"MKD","infinite-fleet":!0},{name:"Malawi",ISO2:"MW",ISO3:"MWI","infinite-fleet":!0},{name:"Malaysia",ISO2:"MY",ISO3:"MYS",signUpWarning:!0},{name:"Malta",ISO2:"MT",ISO3:"MLT",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Martinique",ISO2:"MQ",ISO3:"MTQ","infinite-fleet":!0},{name:"Mauritius",ISO2:"MU",ISO3:"MUS","infinite-fleet":!0},{name:"Mayotte",ISO2:"YT",ISO3:"MYT","infinite-fleet":!0},{name:"Mexico",ISO2:"MX",ISO3:"MEX",signUpWarning:!0},{name:"Micronesia",ISO2:"FM",ISO3:"FSM","infinite-fleet":!0},{name:"Moldova",ISO2:"MD",ISO3:"MDA","infinite-fleet":!0},{name:"Monaco",ISO2:"MC",ISO3:"MCO",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Montenegro",ISO2:"ME",ISO3:"MNE",signUpWarning:!0},{name:"Montserrat",ISO2:"MS",ISO3:"MSR","infinite-fleet":!0},{name:"Nauru",ISO2:"NR",ISO3:"NRU","infinite-fleet":!0},{name:"Netherlands",ISO2:"NL",ISO3:"NLD",signUpWarning:!0,SEPA:!0},{name:"New Caledonia",ISO2:"NC",ISO3:"NCL","infinite-fleet":!0},{name:"New Zealand",ISO2:"NZ",ISO3:"NZL",signUpWarning:!0},{name:"Niue",ISO2:"NU",ISO3:"NIU","infinite-fleet":!0},{name:"Norfolk Island",ISO2:"NF",ISO3:"NFK","infinite-fleet":!0},{name:"Norway",ISO2:"NO",ISO3:"NOR",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Peru",ISO2:"PE",ISO3:"PER",signUpWarning:!0},{name:"Pitcairn",ISO2:"PN",ISO3:"PCN","infinite-fleet":!0},{name:"Poland",ISO2:"PL",ISO3:"POL",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Portugal",ISO2:"PT",ISO3:"PRT",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Reunion",ISO2:"RE",ISO3:"REU","infinite-fleet":!0},{name:"Romania",ISO2:"RO",ISO3:"ROU",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Saint Barthelemy",ISO2:"BL",ISO3:"BLM","infinite-fleet":!0},{name:"Saint Helena",ISO2:"SH",ISO3:"SHN","infinite-fleet":!0},{name:"Saint Kitts and Nevis",ISO2:"KN",ISO3:"KNA","infinite-fleet":!0},{name:"Saint Lucia",ISO2:"LC",ISO3:"LCA","infinite-fleet":!0},{name:"Saint Martin",ISO2:"MF",ISO3:"MAF","infinite-fleet":!0},{name:"Saint Pierre and Miquelon",ISO2:"PM",ISO3:"SPM","infinite-fleet":!0},{name:"Saint Vincent and the Grenadines",ISO2:"VC",ISO3:"VCT","infinite-fleet":!0},{name:"Samoa",ISO2:"WS",ISO3:"WSM","infinite-fleet":!0},{name:"San Marino",ISO2:"SM",ISO3:"SMR","infinite-fleet":!0},{name:"Saudi Arabia",ISO2:"SA",ISO3:"SAU",signUpWarning:!0},{name:"Singapore",ISO2:"SG",ISO3:"SGP",signUpWarning:!0},{name:"Sint Maarten",ISO2:"SX",ISO3:"SXM",signUpWarning:!0},{name:"Slovakia",ISO2:"SK",ISO3:"SVK",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Slovenia",ISO2:"SI",ISO3:"SVN",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Solomon Islands",ISO2:"SB",ISO3:"SLB","infinite-fleet":!0},{name:"South Africa",ISO2:"ZA",ISO3:"ZAF","infinite-fleet":!0},{name:"South Georgia and the South Sandwich Islands",ISO2:"GS",ISO3:"SGS","infinite-fleet":!0},{name:"South Korea",ISO2:"KR",ISO3:"KOR",signUpWarning:!0},{name:"Spain",ISO2:"ES",ISO3:"ESP",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Svalbard and Jan Mayen",ISO2:"SJ",ISO3:"SJM","infinite-fleet":!0},{name:"Sweden",ISO2:"SE",ISO3:"SWE",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Switzerland",ISO2:"CH",ISO3:"CHE",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"Taiwan",ISO2:"TW",ISO3:"TWN",artid:!0,"infinite-fleet":!0},{name:"Tokelau",ISO2:"TK",ISO3:"TKL","infinite-fleet":!0},{name:"Trinidad and Tobago",ISO2:"TT",ISO3:"TTO","infinite-fleet":!0},{name:"Tunisia",ISO2:"TN",ISO3:"TUN",signUpWarning:!0},{name:"Turks and Caicos Islands",ISO2:"TC",ISO3:"TCA","infinite-fleet":!0},{name:"Tuvalu",ISO2:"TV",ISO3:"TUV","infinite-fleet":!0},{name:"United Arab Emirates",ISO2:"AE",ISO3:"ARE",artid:!0,signUpWarning:!0},{name:"United Kingdom",ISO2:"GB",ISO3:"GBR",artid:!0,"infinite-fleet":!0,SEPA:!0},{name:"United States",ISO2:"US",ISO3:"USA"},{name:"Uruguay",ISO2:"UY",ISO3:"URY","infinite-fleet":!0},{name:"Vatican",ISO2:"VA",ISO3:"VAT","infinite-fleet":!0},{name:"Wallis and Futuna",ISO2:"WF",ISO3:"WLF","infinite-fleet":!0}],hc=function(e){return mc.find((function(t){return t.name===e}))};function gc(e){return gc="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},gc(e)}function bc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bc(Object(n),!0).forEach((function(t){Cc(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vc(){vc=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==gc(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function wc(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function xc(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){wc(i,r,o,a,c,"next",e)}function c(e){wc(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Ec(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sc(e,t){for(var n=0;n<t.length;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)}}function Oc(e,t){return Oc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Oc(e,t)}function Ic(e,t){if(t&&("object"===gc(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ac(e)}function Ac(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function kc(e){return kc=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kc(e)}function Cc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Pc=t().createContext(),Tc=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Oc(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=kc(o);if(i){var n=kc(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ic(this,e)});function c(){var e;Ec(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Cc(Ac(e=a.call.apply(a,[this].concat(n))),"state",{user:void 0,isFetchingUser:!0}),Cc(Ac(e),"activateUser",xc(vc().mark((function t(){var n,r,o;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,pc.activateUser();case 3:n=t.sent,r=n.user,o=n.access_token,rc.defaults.headers.common.Authorization="Bearer ".concat(o),pc.setAccessToken(o),e.setState({user:r,isFetchingUser:!1}),t.next=16;break;case 11:t.prev=11,t.t0=t.catch(0),console.log("Error activating user: ",t.t0),(0,xt.navigate)("/oops",{state:{message:"This activation token has expired.",hasActivationTokenExpired:!0}}),e.setState({isFetchingUser:!1});case 16:case"end":return t.stop()}}),t,null,[[0,11]])})))),Cc(Ac(e),"logoutUser",(function(){pc.logout(),e.setState({user:void 0}),window.location.href="https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN)})),Cc(Ac(e),"setUser",function(){var t=xc(vc().mark((function t(n){var r,o,i,a;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return rc.defaults.headers.common.Authorization="Bearer ".concat(n),t.prev=1,t.next=4,pc.getUser();case 4:r=t.sent,o=r.user,i=o.activate_token,a=o.country,i?(0,xt.navigate)("/resend-activation-email"):a&&!hc(a)&&(0,xt.navigate)("/country-of-residence"),e.setState({user:o,isFetchingUser:!1}),t.next=16;break;case 11:t.prev=11,t.t0=t.catch(1),(0,xt.navigate)("/oops"),e.setState({isFetchingUser:!1}),console.log("Error fetching the user: ".concat(t.t0));case 16:case"end":return t.stop()}}),t,null,[[1,11]])})));return function(e){return t.apply(this,arguments)}}()),Cc(Ac(e),"updateUser",function(){var t=xc(vc().mark((function t(n){var r,o;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,pc.updateUser(n);case 3:r=t.sent,o=r.user,e.setState({user:o}),t.next=12;break;case 8:throw t.prev=8,t.t0=t.catch(0),console.log("Error updating the user: ".concat(t.t0)),t.t0;case 12:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()),Cc(Ac(e),"checkIfPrivateInvestor",function(){var e=xc(vc().mark((function e(t){var n;return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pc.checkPrivateInvestor(t);case 3:return n=e.sent,e.abrupt("return",n);case 7:throw e.prev=7,e.t0=e.catch(0),e.t0;case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(t){return e.apply(this,arguments)}}()),Cc(Ac(e),"resendActivationEmail",function(){var e=xc(vc().mark((function e(t){return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pc.resendActivationEmail(t);case 3:e.next=9;break;case 5:throw e.prev=5,e.t0=e.catch(0),console.log("Error resending activation email: ".concat(e.t0)),e.t0;case 9:case"end":return e.stop()}}),e,null,[[0,5]])})));return function(t){return e.apply(this,arguments)}}()),Cc(Ac(e),"sendWelcomeEmail",xc(vc().mark((function e(){return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,pc.sendWelcomeEmail();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.log("Error sending welcome email: ".concat(e.t0));case 8:case"end":return e.stop()}}),e,null,[[0,5]])})))),Cc(Ac(e),"uploaProofOfAddress",function(){var t=xc(vc().mark((function t(n,r){var o;return vc().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,pc.uploaProofOfAddress(n,r);case 3:o=t.sent,e.setState({user:o}),t.next=11;break;case 7:throw t.prev=7,t.t0=t.catch(0),console.log("Error uploading proof of address: ".concat(t.t0)),t.t0;case 11:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(e,n){return t.apply(this,arguments)}}()),Cc(Ac(e),"validateGreenWalletId",function(){var e=xc(vc().mark((function e(t){return vc().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.abrupt("return",pc.validateGreenWalletId(t));case 4:throw e.prev=4,e.t0=e.catch(0),console.log("Error validating Green Wallet ID: ".concat(e.t0)),e.t0;case 8:case"end":return e.stop()}}),e,null,[[0,4]])})));return function(t){return e.apply(this,arguments)}}()),e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=window.location.href.includes("/activateUser"),t=pc.getAccessToken();e?this.activateUser():t?this.setUser(t):(console.log("No access token"),window.location.href="https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN,"/login"))}},{key:"render",value:function(){var e=this.props.children;return t().createElement(Pc.Provider,{value:yc(yc({},this.state),{},{logoutUser:this.logoutUser,setUser:this.setUser,updateUser:this.updateUser,checkIfPrivateInvestor:this.checkIfPrivateInvestor,sendWelcomeEmail:this.sendWelcomeEmail,resendActivationEmail:this.resendActivationEmail,uploaProofOfAddress:this.uploaProofOfAddress,validateGreenWalletId:this.validateGreenWalletId})},e)}}])&&Sc(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Component);Tc.propTypes={children:i().node.isRequired};var jc,Mc,_c=Pc.Consumer;function Nc(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Rc=l().div.withConfig({displayName:"StepsProgressstyles__Container",componentId:"sc-1gnllve-0"})(["display:block;width:100%;height:100%;"]),Lc=l().div.withConfig({displayName:"StepsProgressstyles__Wrap",componentId:"sc-1gnllve-1"})(["display:block;margin:0 auto;"]),Bc=l().div.withConfig({displayName:"StepsProgressstyles__Items",componentId:"sc-1gnllve-2"})(["display:flex;height:100%;font-size:0;flex-direction:row;flex-wrap:nowrap;justify-content:center;margin:0 -6px;text-align:center;",""],G.Medium(jc||(jc=Nc(["\n display: block;\n "])))),zc=l().button.withConfig({displayName:"StepsProgressstyles__Item",componentId:"sc-1gnllve-3"})(["position:relative;display:inline-block;vertical-align:middle;padding:0;flex:1;margin:0 4px;height:32px;max-width:32px;cursor:pointer;&:before{z-index:0;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;box-shadow:inset 0 1px 3px 0 rgba(0,0,0,0.05);background-color:",";}&:after{z-index:1;content:'';display:block;width:100%;height:4px;position:absolute;top:14px;left:0;border-radius:3px;background-color:transparent;transition:background-color .2s;}&:focus{outline:none;}&:hover:after{background-color:",";}"," "," ",""],s.grey,s.black,(function(e){return e.isDone&&"\n &:after {\n background-color: ".concat(s.progressGreen,";\n }\n\n &:hover:after {\n background-color: ").concat(s.black,";\n }\n ")}),(function(e){return e.isActive&&"\n &:after {\n background-color: ".concat(s.grey2,";\n }\n\n &:hover:after {\n background-color: ").concat(s.black,";\n }\n ")}),G.Medium(Mc||(Mc=Nc(["\n width: 32px;\n "])))),Dc=function(){var n=(0,e.useContext)(Pc).user,r=n.country,o=n.kyc_status,i=n.KYCDocuments,a=void 0===i?{}:i,c=n.entity_name,l=n.investor_eth_addresses,s=void 0===l?[]:l,u=n.is_risk_questionnaire_finished,f="Pending"===o||"Approved"===o||"Accepted"===o,d="Pending"===a.status||"Approved"===a.status,p=s.length>0,m=!!r&&f&&d&&p&&!!u,h=p&&!!u,g=function(e){return window.location.pathname.includes(e)},b=c?[{id:"choose-wallet",handleClick:function(){return(0,xt.navigate)("/register-liquid-securities")},isDone:p,isActive:g("/choose-wallet")||g("/register-ethereum")||g("/register-liquid-securities")},{id:"risk",handleClick:function(){return(0,xt.navigate)("/risk-questionnaire")},isDone:!!u,isActive:g("/risk-questionnaire")},{id:"overview",handleClick:function(){return(0,xt.navigate)("/overview/remaining")},isDone:h,isActive:g("/overview/remaining")}]:[{id:"country",handleClick:function(){return(0,xt.navigate)("/country-of-residence")},isDone:!!r,isActive:g("/country-of-residence")},{id:"verify",handleClick:function(){return(0,xt.navigate)("/verify-identity")},isDone:f&&d,isActive:g("/verify-identity")},{id:"choose-wallet",handleClick:function(){return(0,xt.navigate)("/register-liquid-securities")},isDone:p,isActive:g("/choose-wallet")||g("/register-ethereum")||g("/register-liquid-securities")},{id:"risk",handleClick:function(){return(0,xt.navigate)("/risk-questionnaire")},isDone:!!u,isActive:g("/risk-questionnaire")},{id:"overview",handleClick:function(){return(0,xt.navigate)("/overview/remaining")},isDone:m,isActive:g("/overview/remaining")}];return t().createElement(Rc,null,t().createElement(Lc,null,t().createElement(Bc,null,b.map((function(e,n){return t().createElement(zc,{key:e.id,isDone:e.isDone,isActive:e.isActive,onClick:function(){e.handleClick&&e.handleClick(e.id)}})})))))};Dc.defaultProps={user:{}};var Gc,qc,Fc,Uc,Wc,Hc,Vc,Yc,Qc,Kc,Jc,Zc,Xc=Dc;function $c(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var el=l().header.withConfig({displayName:"Headerstyles__StyledHeader",componentId:"sc-hifrdy-0"})(["z-index:20;position:relative;color:",";",""],s.black,G.Medium(Gc||(Gc=$c(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: ","px;\n background-color: ",";\n box-shadow: inset 0 -1px 0 0 ",";\n "])),yo,s.white,s.lightGrey)),tl=l().div.withConfig({displayName:"Headerstyles__HeaderInner",componentId:"sc-hifrdy-1"})(["position:relative;padding:24px;justify-content:space-between;"," ",""],(function(e){return e.withSidebar&&"\n padding-left: 90px;\n "}),G.Medium(qc||(qc=$c(["\n display: flex;\n padding: 28px 32px;\n align-items: center;\n height: 100%;\n\n ","\n "])),(function(e){return e.withSidebar&&"\n padding-left: 28px;\n "}))),nl=l().div.withConfig({displayName:"Headerstyles__MainNavWrap",componentId:"sc-hifrdy-2"})(["z-index:2;position:relative;font-size:0;",""],G.Medium(Fc||(Fc=$c(["\n flex-grow: ",";\n width: ",";\n\n","\n"])),(function(e){return!e.isFixedWidth&&1}),(function(e){return e.isFixedWidth&&"200px"}),(function(e){return e.noProgress&&"\n flex-grow: 3;\n "}))),rl=l().div.withConfig({displayName:"Headerstyles__ProgressWrap",componentId:"sc-hifrdy-3"})(["z-index:0;position:relative;text-align:center;margin-top:24px;",""],G.Medium(Uc||(Uc=$c(["\n flex-grow: 2;\n margin-top: 0;\n "])))),ol=l().div.withConfig({displayName:"Headerstyles__QuickNavWrap",componentId:"sc-hifrdy-4"})(["z-index:2;position:absolute;top:0;right:0;height:100%;",""],G.Medium(Wc||(Wc=$c(["\n position: relative;\n right: auto;\n flex-grow: ",";\n width: ",";\n text-align: right;\n "])),(function(e){return!e.isFixedWidth&&1}),(function(e){return e.isFixedWidth&&"200px"}))),il=l().div.withConfig({displayName:"Headerstyles__Logo",componentId:"sc-hifrdy-5"})(["display:inline-block;vertical-align:middle;color:",";transition:color 0.4s;"," a{display:block;transition:opacity 0.2s;&:hover{opacity:0.5;}}img{display:block;height:16px;width:auto;}svg{display:block;height:16px;width:auto;fill:currentColor;}",""],s.black,(function(e){return e.isHighlight&&"\n color: ".concat(s.blue,";\n ")}),G.Medium(Hc||(Hc=$c(["\n margin-left: 0;\n margin-right: 42px;\n "])))),al=(l().div.withConfig({displayName:"Headerstyles__HeaderMainNav",componentId:"sc-hifrdy-6"})(["display:none;"," button{text-transform:uppercase;}"],G.Medium(Vc||(Vc=$c(["\n display: inline-block;\n "])))),l().div.withConfig({displayName:"Headerstyles__HeaderQuickNav",componentId:"sc-hifrdy-7"})(["display:none;"," button{text-transform:uppercase;","}"],G.Medium(Yc||(Yc=$c(["\n display: inline-block;\n\n & > * {\n margin-left: 32px;\n\n &:first-child {\n margin-left: 0;\n }\n }\n "]))),G.Medium(Qc||(Qc=$c(["\n vertical-align: middle;\n "]))))),cl=l().button.withConfig({displayName:"Headerstyles__MobileMenuToggler",componentId:"sc-hifrdy-8"})(["display:block;width:32px;height:32px;position:absolute;top:16px;right:16px;outline:none;cursor:pointer;"," span{display:block;width:16px;height:2px;position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-8px;background-color:",";transition:background-color 0.4s,transform 0.4s;&:nth-child(1){transform:translateY(-6px);}&:nth-child(3){transform:translateY(6px);}}",""],G.Medium(Kc||(Kc=$c(["\n display: none;\n "]))),s.black,(function(e){return e.isActive&&"\n span {\n background-color: ".concat(s.blue,";\n\n &:nth-child(1) {\n transform: translateY(0) rotate(135deg);\n }\n\n &:nth-child(2) {\n transform: scaleX(0);\n }\n\n &:nth-child(3) {\n transform: translateY(0) rotate(-135deg);\n }\n }\n ")})),ll=l().nav.withConfig({displayName:"Headerstyles__MobileMenu",componentId:"sc-hifrdy-9"})(["z-index:1;position:absolute;top:0;left:0;display:flex;flex-direction:column;width:100%;min-height:100vh;background-color:",";padding:0;padding-top:64px;text-align:center;box-shadow:0 2px 20px 0 rgba(0,0,0,0.3);opacity:0;visibility:hidden;transition:opacity 0.4s,visibility 0.4s;"," &:before{content:'';display:block;width:100%;height:1px;background-color:",";position:absolute;top:64px;left:0;}"," button{text-transform:uppercase;}"],s.white,(function(e){return e.isActive&&"\n opacity: 1;\n visibility: visible;\n "}),s.lightGrey,G.Medium(Jc||(Jc=$c(["\n display: none;\n "])))),sl=(l().li.withConfig({displayName:"Headerstyles__MobileMenuItem",componentId:"sc-hifrdy-10"})(["align-items:center;display:flex !important;justify-content:center;"]),l().div.withConfig({displayName:"Headerstyles__MobileMenuPart",componentId:"sc-hifrdy-11"})([""," "," "," "," ",""],(function(e){return e.withPadding&&"\n padding: 30px 0;\n\n @media screen and (max-width: 320px) {\n padding: 15px 0;\n }\n "}),(function(e){return e.grow&&"\n flex-grow: ".concat(e.grow,";\n ")}),(function(e){return e.flexColumn&&"\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n button {\n margin: 10px 0;\n }\n "}),(function(e){return e.noPaddingTop&&"\n padding-top: 0;\n "}),(function(e){return e.borderTop&&"\n border-top: 1px solid ".concat(s.lightGrey,";\n ")}))),ul=(l().div.withConfig({displayName:"Headerstyles__UserAccount",componentId:"sc-hifrdy-12"})(["z-index:1;position:relative;display:inline-block;vertical-align:middle;",""],G.Medium(Zc||(Zc=$c(["\n margin: -4px 0;\n margin-left: 32px;\n "])))),l().button.withConfig({displayName:"Headerstyles__UserButton",componentId:"sc-hifrdy-13"})(["display:inline-block;vertical-align:middle;width:48px;height:48px;border-radius:24px;overflow:hidden;background-color:",";opacity:1;transition:opacity 0.2s;outline:none;cursor:pointer;box-shadow:none;"],s.grey2),l().img.withConfig({displayName:"Headerstyles__UserAvatar",componentId:"sc-hifrdy-14"})(["display:block;width:100%;height:100%;object-fit:cover;object-position:center center;"]),l().div.withConfig({displayName:"Headerstyles__UserName",componentId:"sc-hifrdy-15"})(["z-index:0;position:relative;display:block;padding-top:36px;padding-bottom:20px;font-weight:600;font-size:16px;line-height:24px;background-color:",";color:",";margin-top:-24px;"],s.orangishRed,s.white),ic().getJSON("STOKR_INVESTOR_DASHBOARD_REDIRECT")||ic().getJSON("STOKR_INVEST_IN_STO_REDIRECT"));function fl(e){return fl="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},fl(e)}function dl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pl(e,t){for(var n=0;n<t.length;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)}}function ml(e,t){return ml=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ml(e,t)}function hl(e,t){if(t&&("object"===fl(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gl(e)}function gl(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function bl(e){return bl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},bl(e)}function yl(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var vl=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ml(e,t)}(l,n);var r,o,i,a,c=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=bl(i);if(a){var n=bl(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return hl(this,e)});function l(){var e;dl(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yl(gl(e=c.call.apply(c,[this].concat(n))),"state",{isMenuActive:!1}),yl(gl(e),"toggleMenu",(function(){e.setState((function(e){return{isMenuActive:!e.isMenuActive}}))})),e}return r=l,(o=[{key:"render",value:function(){var n=this,r=this.state.isMenuActive,o=this.props,i=o.progress,a=o.signupFlow,c=o.noLogout;return t().createElement(_c,null,(function(o){var l=o.user,s=(o.avatar,o.logout),u=o.logoutUser;return t().createElement(el,null,t().createElement(_o,null,t().createElement(tl,null,t().createElement(nl,{isFixedWidth:!0},t().createElement(il,{isHighlight:r},t().createElement("a",{href:"https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN)},t().createElement(Wi,null)))),i&&!ul&&t().createElement(rl,null,t().createElement(Xc,null)),t().createElement(ol,{isFixedWidth:!0},t().createElement(cl,{isActive:r,onClick:n.toggleMenu},t().createElement("span",null),t().createElement("span",null),t().createElement("span",null)),t().createElement(al,null,!c&&t().createElement(sn,{onClick:function(){return u()}},"Log Out"),!s&&!a&&t().createElement(e.Fragment,null))),t().createElement(ll,{isActive:r},t().createElement(sl,{grow:1,flexColumn:!0,borderTop:!0},t().createElement(sn,{minWidth:"160px",secondary:!0,onClick:function(){return u()}},"log out"))))),t().createElement($a,{isMenuActive:r,userName:l&&l.name,logoutUser:u}))}))}}])&&pl(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),l}(e.PureComponent);vl.propTypes={progress:i().bool,signupFlow:i().bool,loginHandler:i().func,signupHandler:i().func},vl.defaultProps={progress:null,signupFlow:!1,loginHandler:function(){},signupHandler:function(){}};var wl,xl=vl,El=require("react-day-picker/DayPickerInput"),Sl=n.n(El),Ol=l().div.withConfig({displayName:"DatePickerInputstyles__DatePickerOverlay",componentId:"sc-102qruz-0"})(["&&& > .DayPickerInput{display:block;position:relative;width:100%;}&&& > .DayPickerInput-OverlayWrapper{z-index:100;}&&& > .DayPickerInput > input{font-family:'Open sans';display:block;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:13px 0;padding-bottom:7px;border-radius:0;box-shadow:none;outline:0;border:0;border-top:1px solid transparent;border-bottom:1px solid ",";color:",";background-color:transparent;transition:border-color 0.2s;&:focus,&:hover{box-shadow:none;border-top-color:transparent;border-bottom-color:",";}&::placeholder{color:transparent;opacity:0;}}",""],(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.dashboard&&(0,c.css)(wl||(wl=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n &&& > .DayPickerInput > input {\n border: 0;\n padding: 0;\n height: 22px;\n font-family: 'Open Sans';\n font-weight: 300;\n font-size: 14px;\n line-height: 22px;\n letter-spacing: 0.53px;\n text-transform: normal;\n color: ",";\n\n &::placeholder {\n color: ",";\n opacity: 1;\n }\n }\n "])),p.cBlack,p.cGrey2)}));function Il(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Al,kl,Cl,Pl=function(n){var r=n.id,o=n.name,i=n.label,a=n.placeholder,c=n.value,l=n.error,s=n.touched,u=n.dashboard,f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Il(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Il(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),d=f[0],p=f[1];(0,e.useEffect)((function(){m(!1)}),[]);var m=function(e){p(e||!!c)};return t().createElement(Me,null,i&&t().createElement(_e,{isUp:d,error:l&&s,htmlFor:r},i),t().createElement(Ol,{onClick:function(){return m(!0)},dashboard:u},t().createElement(Sl(),{id:r,name:o,value:c,placeholder:a,onDayChange:function(e){n.onChange&&n.onChange(null,{name:o,value:e})},error:l})))};function Tl(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Pl.propTypes={id:i().string.isRequired,name:i().string.isRequired,label:i().string,placeholder:i().string,error:i().bool,touched:i().bool,value:i().oneOfType([i().string,i().instanceOf(Date)]).isRequired,onChange:i().func.isRequired,dashboard:i().bool},Pl.defaultProps={label:"",placeholder:"",error:!1,touched:!1,dashboard:!1};var jl=l().div.withConfig({displayName:"InputPasswordstyles__BottomWrap",componentId:"sc-nohv3o-0"})(["position:relative;margin-top:6px;"]),Ml=l().div.withConfig({displayName:"InputPasswordstyles__ShowPassword",componentId:"sc-nohv3o-1"})(["display:block;position:absolute;top:0;right:0;cursor:pointer;transition:color 0.2s;font-size:12px;line-height:16px;padding:12px 0;height:40px;width:20px;text-align:right;&:hover{color:",";}"],(function(e){return p.cPrimary})),_l=l().div.withConfig({displayName:"InputPasswordstyles__CapslockIndicator",componentId:"sc-nohv3o-2"})(["position:absolute;top:4px;right:2px;& > svg{fill:",";}"],(function(e){return p.cBlack})),Nl=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthWrap",componentId:"sc-nohv3o-3"})(["padding:3px 0;display:block;width:100%;padding-right:20px;font-size:0;"]),Rl=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthIndicators",componentId:"sc-nohv3o-4"})(["display:inline-block;vertical-align:middle;margin:0 -4px;padding-right:12px;"," "," ",""],(function(e){return e.passwordStrength===ql.WEAK&&(0,c.css)(Al||(Al=Tl(["\n "," {\n &:nth-child(1) {\n background-color: ",";\n }\n }\n "])),Ll,p.cWarning)}),(function(e){return e.passwordStrength===ql.MEDIUM&&(0,c.css)(kl||(kl=Tl(["\n "," {\n &:nth-child(1),\n &:nth-child(2) {\n background-color: ",";\n }\n }\n "])),Ll,p.cYellow)}),(function(e){return e.passwordStrength===ql.STRONG&&(0,c.css)(Cl||(Cl=Tl(["\n "," {\n &:nth-child(1),\n &:nth-child(2),\n &:nth-child(3) {\n background-color: ",";\n }\n }\n "])),Ll,p.cLighterGreen)})),Ll=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthIndicator",componentId:"sc-nohv3o-5"})(["display:inline-block;vertical-align:middle;width:32px;height:6px;border-radius:3px;margin:3px 4px;background-color:",";"],(function(e){return p.cGrey})),Bl=l().div.withConfig({displayName:"InputPasswordstyles__PasswordStrengthText",componentId:"sc-nohv3o-6"})(["display:inline-block;vertical-align:middle;font-weight:300;font-size:9px;line-height:12px;letter-spacing:0.4px;font-style:italic;color:",";"],(function(e){return p.cText})),zl=(l().div.withConfig({displayName:"InputPasswordstyles__DatePickerOverlay",componentId:"sc-nohv3o-7"})(["&&& > .DayPickerInput{z-index:100;display:block;position:relative;width:100%;}&&& > .DayPickerInput > input{font-family:'Open sans';display:block;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:13px 0;padding-bottom:7px;border-radius:0;box-shadow:none;outline:0;border:0;border-top:1px solid transparent;border-bottom:1px solid ",";color:",";background-color:transparent;transition:border-color 0.2s;&:focus,&:hover{box-shadow:none;border-top-color:transparent;border-bottom-color:",";}&::placeholder{color:transparent;opacity:0;}}"],(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary})),l().div.withConfig({displayName:"InputPasswordstyles__InfoIconWrapper",componentId:"sc-nohv3o-8"})(["display:inline-block;vertical-align:middle;margin:-2px 0;"]));function Dl(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Gl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gl(e,t):void 0}}(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 Gl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ql={NONE:"none",WEAK:"Weak",MEDIUM:"Average",STRONG:"Excellent"},Fl=function(n){var r=n.label,o=n.id,i=n.name,a=n.value,c=n.error,l=n.touched,s=n.info,u=n.showStrength,f=Dl((0,e.useState)(!1),2),d=f[0],p=f[1],m=Dl((0,e.useState)(!1),2),h=m[0],g=m[1],y=Dl((0,e.useState)(!!a),2),v=y[0],w=y[1],x=Dl((0,e.useState)(!1),2),E=x[0],S=x[1];(0,e.useEffect)((function(){w(E||!!a)}),[E,a]);var O=function(e){g(e.getModifierState("CapsLock"))},I=0===a.length?ql.NONE:a.length<6?ql.WEAK:a.length<11?ql.MEDIUM:ql.STRONG;return t().createElement(Me,null,r&&t().createElement(_e,{isUp:v,active:E,error:c&&l,htmlFor:o},r),t().createElement(Ne,{error:c&&l},t().createElement("input",{type:d?"text":"password",id:o,name:i,value:a,onChange:function(e,t){n.onChange&&n.onChange(e,t)},onBlur:function(e,t){n.onBlur&&n.onBlur(e,t),S(!1)},onFocus:function(e,t){n.onFocus&&n.onFocus(e,t),S(!0)},onKeyUp:O,onKeyDown:O})),t().createElement(Ml,{onClick:function(){p(!d)}},d?t().createElement("i",{className:"ion ion-md-eye-off"}):t().createElement("i",{className:"ion ion-md-eye"})),t().createElement(jl,null,u?t().createElement(Nl,null,t().createElement(Rl,{passwordStrength:I},t().createElement(Ll,null),t().createElement(Ll,null),t().createElement(Ll,null)),s&&t().createElement(zl,null,t().createElement(b,{position:"bottom",title:s,noMarginLeft:!0})),t().createElement(Bl,{passwordStrength:I},I!==ql.NONE&&I)):s&&t().createElement(zl,null,t().createElement(b,{position:"bottom",title:s,noMarginLeft:!0})),t().createElement(_l,null,h&&t().createElement(Hi,null))))};Fl.propTypes={id:i().string.isRequired,name:i().string.isRequired,label:i().string,value:i().string,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func,info:i().string,showStrength:i().bool},Fl.defaultProps={label:"",value:"",error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){},info:"",showStrength:!1};var Ul,Wl,Hl,Vl,Yl,Ql,Kl,Jl,Zl,Xl=Fl,$l=require("@atlaskit/field-range"),es=n.n($l);function ts(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ns=(0,c.css)(Ul||(Ul=ts(["\n background: ",";\n border: 4px solid ",";\n height: ","px;\n width: ","px;\n"])),(function(e){return p.cPrimary}),(function(e){return p.cWhite}),26,26),rs=(0,c.css)(Wl||(Wl=ts(["\n background: ",";\n"])),(function(e){return"linear-gradient(".concat(p.cPrimary,", ").concat(p.cPrimary,") 0/ ").concat(e.valuePercent,"% 100% no-repeat ").concat(p.cLightGrey)})),os=(0,c.css)(Hl||(Hl=ts(["\n background: ",";\n"])),(function(e){return"linear-gradient(".concat(p.cPrimaryDark,", ").concat(p.cPrimaryDark,") 0/ ").concat(e.valuePercent,"% 100% no-repeat ").concat(p.cLightGrey)})),is=(0,c.css)(Vl||(Vl=ts(["\n /* background: ","; */\n border-radius: ","px;\n height: ","px;\n ",";\n"])),(function(e){return p.cLightGrey}),4,8,rs),as=(0,c.css)(Yl||(Yl=ts(["\n border-color: ",";\n"])),(function(e){return p.cLightGrey})),cs=(0,c.css)(Ql||(Ql=ts(["\n background: ",";\n"])),(function(e){return p.cPrimaryDark})),ls=(0,c.css)(Kl||(Kl=ts(["\n &::-webkit-slider-thumb {\n margin-top: -","px;\n ",";\n }\n\n &:focus::-webkit-slider-thumb {\n ",";\n }\n\n &:hover::-webkit-slider-thumb {\n ",";\n }\n\n &::-webkit-slider-runnable-track {\n ",";\n }\n\n &:focus::-webkit-slider-runnable-track {\n ",";\n }\n\n &:active::-webkit-slider-runnable-track,\n &:hover::-webkit-slider-runnable-track {\n ",";\n }\n"])),9,ns,as,cs,is,rs,os),ss=(0,c.css)(Jl||(Jl=ts(["\n &::-moz-range-thumb {\n ",";\n }\n\n &:focus::-moz-range-thumb {\n ",";\n }\n\n &:hover::-moz-range-thumb {\n ",";\n }\n\n &::-moz-range-track {\n ",";\n }\n\n &:focus::-moz-range-track {\n ",";\n }\n\n &:active::-moz-range-track,\n &:hover::-moz-range-track {\n ",";\n }\n"])),ns,as,cs,is,rs,os),us=(0,c.css)(Zl||(Zl=ts(["\n &::-ms-thumb {\n ",";\n margin-top: -","px;\n }\n\n &:focus::-ms-thumb {\n ",";\n }\n\n &:hover::-ms-thumb {\n ",";\n }\n\n &::-ms-track {\n height: ","px;\n }\n\n &::-ms-fill-lower {\n background: ",";\n border-radius: ","px;\n }\n\n &::-ms-fill-upper {\n background: ",";\n border-radius: ","px;\n }\n\n &:active::-ms-fill-lower,\n &:hover::-ms-fill-lower {\n background: ",";\n }\n\n &:active::-ms-fill-upper,\n &:hover::-ms-fill-upper {\n background: ",";\n }\n"])),ns,9,as,cs,8,(function(e){return p.cPrimary}),4,(function(e){return p.cLightGrey}),4,(function(e){return p.cPrimaryDark}),(function(e){return p.cLightGrey})),fs=l().div.withConfig({displayName:"RangeInputstyles__RangeWrapper",componentId:"sc-1icys2x-0"})(["input{"," "," ",";}"],ls,ss,us),ds=function(e){var n=e.disabled,r=e.max,o=e.min,i=e.step,a=e.onChange,c=e.value,l=e.id,s=e.name,u=((c-o)/(r-o)*100).toFixed(2);return t().createElement(fs,{valuePercent:u},t().createElement(es(),{id:l,name:s,disabled:n,max:r,min:o,step:i,value:c,onChange:a}))};ds.propTypes={id:i().string.isRequired,name:i().string.isRequired,disabled:i().bool,max:i().number,min:i().number,step:i().number,onChange:i().func,value:i().number.isRequired},ds.defaultProps={disabled:!1,max:100,min:0,step:1,onChange:function(){}};var ps=require("react-select"),ms=n.n(ps),hs=l()(ps.components.Control).withConfig({displayName:"Selectstyles__SelectControl",componentId:"sc-1wc1ybn-0"})(["&&&{z-index:10 !important;position:relative;display:flex;align-items:center;width:100%;height:40px;font-weight:600;font-size:12px;line-height:18px;padding:15px 0;padding-bottom:5px;border-radius:0;box-shadow:none;border:0;border-top:1px solid transparent;border-bottom:1px solid #f0f0f0;color:#202020;background-color:transparent;transition:border-color 0.2s;cursor:pointer;&:hover{box-shadow:none;border-top-color:transparent;border-bottom-color:#0050ca;}&.active{z-index:12 !important;}}"]),gs=l()(ps.components.Menu).withConfig({displayName:"Selectstyles__SelectMenu",componentId:"sc-1wc1ybn-1"})(["&&&{margin-top:-1px;border-radius:0;box-shadow:none;border:0;border-top:1px solid #f0f0f0 !important;border-bottom:1px solid #f0f0f0 !important;background-color:#ffffff;}"]),bs=l()(X).withConfig({displayName:"Selectstyles__SelectMenuList",componentId:"sc-1wc1ybn-2"})(["","{right:6px;}"],H),ys=l()(ps.components.Option).withConfig({displayName:"Selectstyles__SelectOption",componentId:"sc-1wc1ybn-3"})(["&&&{cursor:pointer;padding:8px 0 !important;padding-left:2px !important;font-size:12px;line-height:18px;border:0;background-color:transparent;color:#202020;"," "," &:hover{background-color:transparent;font-weight:bold;}}"],(function(e){return e.isFocused&&"\n font-weight: bold;\n "}),(function(e){return e.isSelected&&"\n font-weight: bold;\n "})),vs=l()(ps.components.SelectContainer).withConfig({displayName:"Selectstyles__SelectContainer",componentId:"sc-1wc1ybn-4"})(["z-index:100;",""],(function(e){return e.selectProps.menuIsOpen&&"\n z-index: 150 !important;\n "})),ws=l()(ps.components.ValueContainer).withConfig({displayName:"Selectstyles__SelectValueContainer",componentId:"sc-1wc1ybn-5"})(["&&&{font-family:'Open sans';padding:0;margin-left:-2px;top:-4px;}"]),xs=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"Selectstyles__SelectIcon",componentId:"sc-1wc1ybn-6"})(["&&&{transition:0.3s transform;transform:rotate(0);","}"],(function(e){return e.isMenuOpen&&"\n transform: rotate(180deg);\n "}));function Es(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ss(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ss(e,t):void 0}}(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 Ss(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}l().div.withConfig({displayName:"Selectstyles__SelectWrapper",componentId:"sc-1wc1ybn-7"})(["display:inline-block;vertical-align:middle;margin-left:24px;"," "," &&& ","{height:24px;font-weight:normal;font-size:11px;line-height:18px;padding:3px 0;border-top:1px solid transparent;border-bottom:1px solid transparent;}&&& ","{left:0;right:0;width:auto;margin:-6px -12px;margin-top:0;box-shadow:0 1px 4px 0 rgba(0,0,0,0.2);border:0;padding:6px 12px;}&&& ","{top:0;}"],(function(e){return e.minWidth&&"\n min-width: ".concat(e.minWidth,";\n ")}),(function(e){return e.noMargin&&"\n margin-left: 0;\n "}),hs,gs,ws);var Os=function(e){var n=e.selectProps;return t().createElement(ps.components.DropdownIndicator,e,t().createElement(xs,{isMenuOpen:n.menuIsOpen}))};Os.propTypes={selectProps:i().instanceOf(Object).isRequired};var Is=function(e){var n=e.children;return t().createElement(bs,{autoHeight:!0,autoHeightMax:300},n)};Is.propTypes={children:i().node.isRequired};var As=function(n){var r=n.id,o=n.name,i=n.label,a=n.options,c=n.search,l=n.error,s=n.touched,u=n.value,f=n.disabled,d=Es((0,e.useState)(!!u),2),p=d[0],m=d[1],h=Es((0,e.useState)(!1),2),g=h[0],b=h[1];return(0,e.useEffect)((function(){m(g||!!u)}),[g,u]),t().createElement(Me,null,i&&t().createElement(_e,{isUp:p,active:g,error:l&&s,htmlFor:r},i),t().createElement(ms(),{id:r,name:o,options:a,isDisabled:f,onChange:function(e){n.onChange&&n.onChange({name:o,value:e.value}),setTimeout((function(){b(!0)}),1)},onBlur:function(e){n.onBlur&&n.onBlur({name:o,value:u}),setTimeout((function(){b(!1)}),1)},onFocus:function(e){n.onFocus&&n.onFocus({name:o,value:u}),c&&b(!0)},value:a.find((function(e){return e.value===u})),placeholder:"",isSearchable:c,components:{Control:hs,DropdownIndicator:Os,IndicatorSeparator:null,Menu:gs,MenuList:Is,Option:ys,SelectContainer:vs,ValueContainer:ws}}))};As.propTypes={id:i().string.isRequired,name:i().string.isRequired,label:i().string,error:i().bool,touched:i().bool,value:i().string,options:i().arrayOf(i().shape({key:i().string.isRequired,value:i().string.isRequired,label:i().oneOfType([i().string,i().node]).isRequired})).isRequired,search:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func},As.defaultProps={label:"",value:"",search:!1,error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){}};var ks,Cs,Ps,Ts=As,js=l().div.withConfig({displayName:"InvestCalculatorstyles__Wrapper",componentId:"sc-hce2mi-0"})(["display:flex;justify-content:space-between;"]),Ms=l().div.withConfig({displayName:"InvestCalculatorstyles__Container",componentId:"sc-hce2mi-1"})([""]),_s=l().div.withConfig({displayName:"InvestCalculatorstyles__Title",componentId:"sc-hce2mi-2"})(["font-size:12px;font-weight:700;line-height:24px;letter-spacing:2px;color:",";text-transform:uppercase;",""],(function(e){return p.cBlack}),(function(e){return e.error&&"color: ".concat(p.cWarning,";")})),Ns=l().div.withConfig({displayName:"InvestCalculatorstyles__InputWrap",componentId:"sc-hce2mi-3"})(["padding-top:9px;input{font-size:22px;font-weight:300;line-height:28px;padding-bottom:11px;padding-top:0;}"]),Rs=l()(ki).withConfig({displayName:"InvestCalculatorstyles__StyledFormError",componentId:"sc-hce2mi-4"})(["font-size:13px;font-weight:300;line-height:16px;letter-spacing:0.4px;font-style:italic;top:0;width:min-content;min-width:100%;",""],(function(e){return e.paddingTop&&"padding-top: 12px;"})),Ls=l().div.withConfig({displayName:"InvestCalculatorstyles__Caption",componentId:"sc-hce2mi-5"})(["font-size:13px;font-weight:300;line-height:16px;padding-top:12px;letter-spacing:0.4px;font-style:italic;"]),Bs=l().div.withConfig({displayName:"InvestCalculatorstyles__EqualSign",componentId:"sc-hce2mi-6"})(["margin:auto;font-size:34px;font-weight:300;color:",";opacity:0.5;padding:0px 30px;"],(function(e){return p.cBlack}));function zs(e){return zs="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},zs(e)}function Ds(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function Gs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qs(e,t){for(var n=0;n<t.length;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)}}function Fs(e,t){return Fs=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fs(e,t)}function Us(e,t){if(t&&("object"===zs(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Ws(e)}function Ws(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hs(e){return Hs=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Hs(e)}function Vs(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}l().div.withConfig({displayName:"InvestCalculatorstyles__SelectWrapper",componentId:"sc-hce2mi-7"})(["padding-bottom:2px;","","","{padding:0;border:0;height:24px;min-height:24px;font-size:12px;font-weight:700;line-height:24px;letter-spacing:2px;margin-top:-2px;}"],hs,hs,hs),l().div.withConfig({displayName:"InvestCalculatorstyles__Label",componentId:"sc-hce2mi-8"})(["",""],(function(e){return e.error&&"color: ".concat(p.cWarning,";")}));var Ys,Qs,Ks={ETH:"eth",EUR:"eur",GUSD:"gusd",USDT:"usdt",CRYPTO:"crypto"},Js=n(215),Zs=function(e){var t=e.replace(/,/,".").match(/[1-9]\d*(\.\d*)?|\.\d*/);return t?t[0].replace(/^\./,"0."):"0"},Xs=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fs(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Hs(o);if(i){var n=Hs(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Us(this,e)});function c(){var e;Gs(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Vs(Ws(e=a.call.apply(a,[this].concat(n))),"state",{tokens:0,currencyValue:0,selectedCurrencyValue:0,selectedCurrency:"ether"===e.props.userSelectedCurrency?Ks.ETH:"gemini"===e.props.userSelectedCurrency?Ks.GUSD:Ks.USDT,errors:{}}),Vs(Ws(e),"normalizeCurrencySelected",(function(e){return"euro"===e?"eur":"ether"===e?"eth":"gemini"===e?"gusd":"tether"===e?"usdt":void 0})),Vs(Ws(e),"onFocus",(function(t,n){var r=e.props.onFocus;r&&r(t,n)})),Vs(Ws(e),"onBlur",(function(t,n){var r=e.props.onBlur;r&&r(t,n)})),Vs(Ws(e),"onChange",(function(t,n){var r=e.props.onChange;r&&r(t,n)})),Vs(Ws(e),"onErrors",(function(t,n){var r=e.props.onErrors;r&&r(t,n)})),Vs(Ws(e),"changeTokens",(function(t,n){var r=e.props,o=r.exchangeRate,i=r.available,a=r.name,c=r.userSelectedCurrency,l=e.state.selectedCurrency,s=Zs(t.target.value),u=Js(s);u.gt(i)&&(s=(u=Js(i)).toFixed(4));var f=u.times(o[l]),d=u*o[e.normalizeCurrencySelected(c)];e.validate({tokens:u.toNumber(),currencyValue:f.toNumber(),selectedCurrency:l}),e.setState({tokens:s,currencyValue:f.toFixed(4),selectedCurrencyValue:d},(function(){e.onChange({target:{name:a,value:u,currencyValue:f,currencyName:l,selectedCurrencyValue:d}},n)}))})),Vs(Ws(e),"changeCurrency",(function(t){var n=e.props,r=n.exchangeRate,o=n.name,i=n.userSelectedCurrency,a=e.state.tokens,c=t.value,l=a*r[c],s=a*r[e.normalizeCurrencySelected(i)];e.validate({tokens:a,currencyValue:l,selectedCurrency:c}),e.setState({currencyValue:l,selectedCurrency:c,selectedCurrencyValue:s},(function(){e.onChange({target:{name:o,value:a,currencyValue:l,currencyName:c,selectedCurrencyValue:s}})}))})),Vs(Ws(e),"changeCurrencyValue",(function(t,n){var r=e.props,o=r.exchangeRate,i=r.name,a=r.available,c=r.userSelectedCurrency,l=e.state.selectedCurrency,s=Zs(t.target.value),u=Js(s),f=u.div(o[l]),d=f*o[e.normalizeCurrencySelected(c)];f.gt(a)&&(f=Js(a),s=(u=f.times(o[l])).toFixed(4)),e.validate({tokens:f.toNumber(),currencyValue:u.toNumber(),selectedCurrency:l}),e.setState({tokens:f.toFixed(4),currencyValue:s,selectedCurrencyValue:d},(function(){e.onChange({target:{name:i,value:f,currencyValue:u,currencyName:l,selectedCurrencyValue:d}},n)}))})),Vs(Ws(e),"validate",(function(t){var n=e.props,r=n.minTokensCount,o=n.available,i=n.maxFunds,a=n.name,c=n.tokenName,l=n.userSelectedCurrency,s=ii.object().shape({tokens:ii.number().min(r,"Minimum investment: ".concat(r)).max(o,"Unfortunately there are less ".concat(c," TOKENS available as you wish to buy. Please choose a smaller amount.")),currencyValue:ii.number().when("selectedCurrency",{is:Ks.EUR,then:ii.number().max(2(ks||(ks=Ds([""])))),otherwise:ii.number().max(i[Ks.CRYPTO],"Unfortunately there are not sufficient ".concat(l," available on your chosen Ethereum address."))})}),u=function(){var t=e.state.errors;e.onErrors({target:{name:a,errors:t}})};try{s.validateSync(t),e.setState({errors:{}},u)}catch(t){e.setState({errors:(0,oi.yupToFormErrors)(t)},u)}})),e}return n=c,(r=[{key:"componentDidMount",value:function(){this.props.isIban&&this.setState({selectedCurrency:Ks.EUR})}},{key:"render",value:function(){var e,n=this.props,r=n.available,o=n.tokenName,i=n.id,a=n.name,c=n.isIban,l=n.userSelectedCurrency,s=this.state,u=s.errors,f=s.tokens,d=s.currencyValue,p=s.selectedCurrency;return t().createElement(js,null,t().createElement(Ms,null,t().createElement(_s,{error:!!u.tokens},"".concat(o," tokens")),t().createElement(Ns,null,t().createElement(Ni,{id:i,name:a,value:f.toString(),onChange:this.changeTokens,onBlur:this.handleBlur})),t().createElement(Ls,null,"Still available: ".concat((e=r,2,parseFloat(e).toFixed(2).toString())," ").concat(o)),t().createElement(Rs,{show:!!u.tokens},u.tokens)),t().createElement(Bs,null,"="),t().createElement(Ms,null,c?t().createElement(_s,{error:!!u.tokens},"€ value"):t().createElement(_s,{error:p===Ks.ETH&&!!u.currencyValue||p===Ks.GUSD&&!!u.currencyValue||p===Ks.USDT&&!!u.currencyValue},"ether"===l?"ETH VALUE":"gemini"===l?"GUSD VALUE":"USDT VALUE"),t().createElement(Ns,null,t().createElement(Ni,{id:"".concat(i,"-valueInput"),name:"".concat(i,"-valueInput"),value:d.toString(),onChange:this.changeCurrencyValue,onBlur:function(){}})),t().createElement(Rs,{paddingTop:!0,show:!!u.currencyValue},u.currencyValue)))}}])&&qs(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function $s(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Xs.propTypes={exchangeRate:i().shape((Cs={},Vs(Cs,Ks.ETH,i().number.isRequired),Vs(Cs,Ks.EUR,i().number.isRequired),Cs)).isRequired,maxFunds:i().shape((Ps={},Vs(Ps,Ks.CRYPTO,i().number),Vs(Ps,Ks.EUR,i().number),Ps)).isRequired,minTokensCount:i().number,available:i().number.isRequired,tokenName:i().string.isRequired,id:i().string.isRequired,name:i().string.isRequired,onChange:i().func,onBlur:i().func,onFocus:i().func,onErrors:i().func},Xs.defaultProps={onChange:function(){},onBlur:function(){},onFocus:function(){},onErrors:function(){},minTokensCount:0};var eu=l().div.withConfig({displayName:"InvestmentStatstyles__Title",componentId:"sc-naw3jx-0"})(["font-size:11px;line-height:12px;letter-spacing:2px;text-transform:uppercase;color:",";white-space:nowrap;"],(function(e){return p.cBlack})),tu=l().div.withConfig({displayName:"InvestmentStatstyles__Content",componentId:"sc-naw3jx-1"})(["margin-top:8px;font-size:22px;line-height:28px;letter-spacing:0.6px;font-weight:300;",""],(function(e){return"warning"===e.state&&"\n color: ".concat(p.cWarning,";\n ")})),nu=l()(gt).withConfig({displayName:"InvestmentStatstyles__Container",componentId:"sc-naw3jx-2"})(["padding:40px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;"," ",""],G.Medium(Ys||(Ys=$s(["\n padding: 40px 20px;\n "]))),(function(e){return e.primaryBg&&(0,c.css)(Qs||(Qs=$s(["\n background: ",";\n\n "," {\n color: ",";\n }\n\n "," {\n color: ",";\n }\n "])),p.cPrimaryDark,eu,p.cWhite,tu,p.cWhite)})),ru=l().div.withConfig({displayName:"InvestmentStatstyles__DataContainer",componentId:"sc-naw3jx-3"})(["align-items:center;display:flex;"]);function ou(){return ou=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ou.apply(this,arguments)}var iu=function(e){var n=e.title,r=e.content,o=e.state,i=e.primaryBg,a=e.tooltip;return t().createElement(nu,ou({primaryBg:i},e),t().createElement(eu,null,n),t().createElement(ru,null,t().createElement(tu,{state:o},r),a&&t().createElement(b,{position:"left",title:a})))};iu.propTypes={title:i().string.isRequired,content:i().string.isRequired,state:i().string,primaryBg:i().bool},iu.defaultProps={state:"",primaryBg:!1};var au,cu,lu,su,uu,fu,du,pu,mu,hu=l().span.withConfig({displayName:"SpanButtonstyles__SpanButton",componentId:"sc-1ktf7ep-0"})(["color:#0050ca;cursor:pointer;font-weight:400;"," &:hover{color:#202020;}"],(function(e){return e.urlLink&&"\n text-decoration: underline;\n "}));function gu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function yu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var vu=l().div.withConfig({displayName:"_styles__Wrapper",componentId:"sc-xz1pa8-0"})(["height:100%;display:flex;flex-direction:column;padding:33px 0;","{p{","}}"],Te,G.XLarge(au||(au=yu(["\n font-size: 16px;\n "])))),wu=l().div.withConfig({displayName:"_styles__Header",componentId:"sc-xz1pa8-1"})(["min-height:82px;display:flex;flex-wrap:wrap;padding:12px 24px;flex-shrink:0;",""],G.Large(cu||(cu=yu(["\n padding: 21px 64px;\n "])))),xu=l().div.withConfig({displayName:"_styles__HeaderTitle",componentId:"sc-xz1pa8-2"})(["font-family:'Open Sans';font-weight:800;font-size:22px;line-height:1.27em;letter-spacing:0.8px;text-transform:uppercase;",""],(function(e){return e.withMargin&&"margin-top: 16px;"})),Eu=l().div.withConfig({displayName:"_styles__HeaderButtonWrapper",componentId:"sc-xz1pa8-3"})(["margin:0 auto;padding:8px 0;& > *{display:inline-block!important;}"," ","","","{margin-right:16px;&:last-child{margin-right:0;}}"],G.Large(lu||(lu=yu(["\n margin-right: 0;\n "]))),sn,sn,sn),Su=l().div.withConfig({displayName:"_styles__Body",componentId:"sc-xz1pa8-4"})(["padding:21px 24px;height:100%;display:flex;flex-direction:column;justify-content:center;overflow-y:auto;"," "," ",""],(function(e){return e.noVerticalPadding&&"\n padding-top: 0!important;\n padding-bottom: 0!important;\n "}),(function(e){return e.noHorizontalPadding&&"\n padding-left: 0;\n padding-right: 0;\n "}),(function(e){return e.form&&(0,c.css)(su||(su=yu(["\n padding: 21px 48px;\n justify-content: flex-start;\n\n "," {\n flex-shrink: 0;\n }\n "])),No)})),Ou=l().div.withConfig({displayName:"_styles__BottomWrapper",componentId:"sc-xz1pa8-5"})(["","{display:flex;justify-content:space-between;flex-direction:column;"," + ","{padding-top:32px;","}","{white-space:nowrap;padding-left:28px;}}"],Ii,G.Medium(uu||(uu=yu(["\n display: inline-block;\n vertical-align: middle;\n margin-right: 44px;\n "]))),Ii,G.Medium(fu||(fu=yu(["\n padding-top: 0;\n "]))),ki),Iu=l().div.withConfig({displayName:"_styles__BodyTitle",componentId:"sc-xz1pa8-6"})(["text-align:center;margin:0 auto;font-size:11px;font-weight:bold;line-height:1.82;letter-spacing:2px;",""],(function(e){return e.faceScan&&"\n margin-top: 20px;\n "})),Au=l().div.withConfig({displayName:"_styles__ColumnInner",componentId:"sc-xz1pa8-7"})(["display:flex;flex-direction:column;align-items:center;height:100%;"," "," "," "," "," "," ",""],(function(e){return e.verticalPadding&&"\n padding-top: 40px;\n padding-bottom: 40px;\n "}),(function(e){return e.horizontalPadding&&"\n padding-left: 36px;\n padding-right: 36px;\n "}),(function(e){return e.formInner&&"\n padding-left: 18px;\n padding-right: 18px;\n align-items: stretch;\n "}),(function(e){return e.withSeparator&&"\n border-bottom: 1px solid ".concat(s.lightGrey,";\n ")}),(function(e){return e.verticalCenter&&"\n justify-content: center;\n "}),(function(e){return e.verticalSpaceAround&&"\n justify-content: space-around;\n "}),G.Medium(du||(du=yu(["\n ","\n "])),(function(e){return e.withSeparator&&"\n border-bottom: 0;\n border-right: 1px solid ".concat(s.lightGrey,";\n ")}))),ku=l().input.attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gu(Object(n),!0).forEach((function(t){bu(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:"file"},e)})).withConfig({displayName:"_styles__FileInput",componentId:"sc-xz1pa8-8"})(["visibility:hidden;position:absolute;width:0.1px;height:0.1px;z-index:-1;"]),Cu=l()(sn).attrs({as:"label",type:void 0}).withConfig({displayName:"_styles__FileInputWrapper",componentId:"sc-xz1pa8-9"})(["position:relative;word-break:break-all;"]),Pu=l()(tr).attrs({icon:Xn.trash}).withConfig({displayName:"_styles__FileInputRemove",componentId:"sc-xz1pa8-10"})(["position:absolute;top:50%;right:0px;transform:translateY(-50%);font-size:16px;cursor:pointer;transition:0.3s color;color:",";border-radius:50%;border:1px solid ",";padding:10px;&:hover{color:",";}"],s.orangishRed,s.lightGrey,s.blue),Tu=l()(tr).attrs({icon:Xn.check}).withConfig({displayName:"_styles__SuccessMark",componentId:"sc-xz1pa8-11"})(["width:40px;height:40px;border-radius:50%;display:flex !important;justify-content:center;align-items:center;color:",";margin:auto;font-size:18px;",""],s.freshGreen,(function(e){return e.isHidden&&"\n opacity: 0;\n "})),ju=l().ul.withConfig({displayName:"_styles__FileInputList",componentId:"sc-xz1pa8-12"})(["list-style-type:none;padding:0;font-size:12px;width:100%;"]),Mu=l().li.withConfig({displayName:"_styles__FileInputItem",componentId:"sc-xz1pa8-13"})(["padding:0 46px 0 8px;margin-right:8px;position:relative;word-break:break-all;"]),_u=(0,c.css)(pu||(pu=yu(["\n width: 40px;\n height: 40px;\n margin-top: 20px;\n margin-bottom: 10px;\n border-radius: 50%;\n background: ",";\n color: ",";\n display: flex !important;\n justify-content: center;\n align-items: center;\n font-size: 18px;\n\n & > svg {\n fill: ",";\n stroke: ",";\n }\n"])),s.blue,s.white,s.white,s.white),Nu=l().button.withConfig({displayName:"_styles__RetakeButton",componentId:"sc-xz1pa8-14"})(["",";& > svg{width:22px !important;height:23px !important;}"],_u),Ru=l().button.attrs({className:"ion ion-md-checkmark"}).withConfig({displayName:"_styles__DoneButton",componentId:"sc-xz1pa8-15"})(["",";"],_u),Lu=l().div.withConfig({displayName:"_styles__Mask",componentId:"sc-xz1pa8-16"})(["width:100%;height:100%;background:rgba(201,255,233,0.6);position:relative;"]),Bu=l()(No).withConfig({displayName:"_styles__FormBottomRow",componentId:"sc-xz1pa8-17"})(["padding-left:18px;padding-right:18px;padding-top:64px;"]),zu=l().div.withConfig({displayName:"_styles__FormBottomButtonWrap",componentId:"sc-xz1pa8-18"})(["padding-top:32px;margin:auto;",""],G.Medium(mu||(mu=yu(["\n padding-top: 0;\n margin-right: 0;\n "]))));function Du(e){return Du="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},Du(e)}function Gu(){return Gu=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gu.apply(this,arguments)}function qu(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fu(e,t){for(var n=0;n<t.length;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)}}function Uu(e,t){return Uu=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Uu(e,t)}function Wu(e,t){if(t&&("object"===Du(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Hu(e)}function Hu(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vu(e){return Vu=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vu(e)}function Yu(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qu=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Uu(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Vu(i);if(c){var n=Vu(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Wu(this,e)});function s(){var e;qu(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Yu(Hu(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1}),Yu(Hu(e),"handlePopup",(function(t){var n=e.props.formik,r=n.validateField,o=n.values;r("notUsResident"),r("termsAccepted");var i=!o.termsAccepted||!o.notUsResident;e.setState({popupOpen:!!i&&t})})),e}return r=s,(o=[{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=i.values,l=i.errors,s=this.state.popupOpen,u=!c.termsAccepted||!c.notUsResident;return t().createElement(vu,null,t().createElement(wu,null,t().createElement(xu,null,"Terms and conditions"),t().createElement(Eu,null,t().createElement(a.Tooltip,{open:s,position:"bottom",title:"Please correct all the required fields",theme:"light",arrow:!0,duration:200},t().createElement("div",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycDocumentUpload",1,0)},disabled:u},"Next"))))),t().createElement(Su,{noHorizontalPadding:!0},t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"In ac dui quis mi consectetuer lacinia. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero."),t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus."),t().createElement("p",null,"Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero.")))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Ou,null,t().createElement(Ii,null,t().createElement(oi.Field,{name:"termsAccepted",validate:function(){return Pi("termsAccepted",i)}},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(pt,Gu({id:"terms-accepted",text:"I accept the full Terms and Conditions",checked:r.value,error:!!l[r.name]},r,{value:"yes"})),t().createElement(ki,{show:l[r.name]},l[r.name]))}))),t().createElement(Ii,null,t().createElement(oi.Field,{name:"notUsResident",validate:function(){return Pi("notUsResident",i)}},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(pt,Gu({id:"not-us-resident",text:"I am not a US resident",checked:r.value,error:!!l[r.name]},r,{value:"yes"})),t().createElement(ki,{show:l[r.name]},l[r.name]))})))))))}}])&&Fu(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);Qu.propTypes={changeStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Ku=(0,oi.connect)(Qu),Ju=l().h2.withConfig({displayName:"SectionTitlestyles__SectionTitle",componentId:"sc-j9h0wp-0"})(["position:relative;font-family:'Open Sans';font-weight:normal;font-size:11px;line-height:20px;letter-spacing:2px;text-transform:uppercase;padding:0;border:0;margin:0;span{display:inline-block;}strong{display:inline-block;font-weight:bold;}"]),Zu=Ju,Xu=function(n){var r=n.changeStep,o=n.setPrevStep;return(0,e.useEffect)((function(){o("kycTerms",0)}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload ID Document"))),t().createElement(Su,null,t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalSpaceAround:!0},t().createElement(Iu,null,"DOCUMENT VERIFICATION"),t().createElement(gt,{center:!0},t().createElement(Qi,null)),t().createElement(Te,{center:!0},t().createElement("p",null,"Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper")),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"188px",onClick:function(){r("kycDocumentSelect")}},"Begin")))))))};Xu.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired};var $u,ef,tf,nf=Xu;function rf(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var of=l().div.withConfig({displayName:"KYCSelectBoxstyles__KYCSelectBox",componentId:"sc-12wzu1f-0"})(["display:flex;flex-direction:column;align-items:center;justify-content:space-around;padding:60px 0;height:100%;svg,",",","{opacity:1;transition:.3s opacity;}"," "," "," ",""],sn,Te,(function(e){return e.withSeparator&&"\n border-bottom: 1px solid ".concat(s.grey,";\n ")}),G.Medium($u||($u=rf(["\n ","\n "])),(function(e){return e.withSeparator&&"\n border-bottom: 0;\n border-right: 1px solid ".concat(s.grey,";\n ")})),(function(e){return e.selectedItem&&e.selectedItem!==e.name&&(0,c.css)(ef||(ef=rf(["\n svg,\n ",", "," {\n opacity: 0.2;\n }\n\n :hover {\n svg,\n ",", "," {\n opacity: 1;\n }\n }\n "])),sn,Te,sn,Te)}),(function(e){return e.isGreyedOut&&(0,c.css)(tf||(tf=rf(["\n svg,\n ",", "," {\n opacity: 0.2;\n }\n "])),sn,Te)}));of.propTypes={name:i().string.isRequired,selectedItem:i().string.isRequired,isGreyedOut:i().bool},of.defaultProps={isGreyedOut:!1};var af=of;function cf(e){return cf="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},cf(e)}function lf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function sf(e,t){for(var n=0;n<t.length;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)}}function uf(e,t){return uf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},uf(e,t)}function ff(e,t){if(t&&("object"===cf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return df(e)}function df(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pf(e){return pf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},pf(e)}function mf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hf="passport",gf="twoSidedDocument",bf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&uf(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=pf(o);if(i){var n=pf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ff(this,e)});function c(){var e;lf(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return mf(df(e=a.call.apply(a,[this].concat(n))),"state",{hovered:""}),mf(df(e),"handleHover",(function(t){e.setState({hovered:t})})),e}return n=c,(r=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentUpload")}},{key:"render",value:function(){var e=this,n=this.props,r=n.changeStep,o=n.formik,i=o.setFieldValue,a=this.state.hovered;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"What do you have at hand?"))),t().createElement(Su,{noVerticalPadding:!0},t().createElement(oi.Field,{name:"documentType",validate:function(){return Pi("documentType",o)}},(function(n){var o=n.field;return t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(af,{name:hf,selectedItem:o.value,isGreyedOut:a===gf,onMouseEnter:function(){return e.handleHover(hf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"PASSPORT"),t().createElement(gt,{center:!0},t().createElement(Ki,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){i(o.name,hf),r("kycDocumentVerificationType")}},"Let's go")))),t().createElement(Ro,{part:8},t().createElement(af,{name:gf,selectedItem:o.value,isGreyedOut:a===hf,onMouseEnter:function(){return e.handleHover(gf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"IDENTITY CARD"),t().createElement(gt,{center:!0},t().createElement(Qi,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){i(o.name,gf),r("kycDocumentVerificationType")}},"Let's go")))))}))))}}])&&sf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);bf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var yf=(0,oi.connect)(bf);function vf(e){return vf="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},vf(e)}function wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function xf(e,t){for(var n=0;n<t.length;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)}}function Ef(e,t){return Ef=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ef(e,t)}function Sf(e,t){if(t&&("object"===vf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Of(e)}function Of(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function If(e){return If=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},If(e)}function Af(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kf="uploadImage",Cf="deviceCamera",Pf=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ef(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=If(o);if(i){var n=If(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Sf(this,e)});function c(){var e;wf(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Af(Of(e=a.call.apply(a,[this].concat(n))),"state",{hovered:""}),Af(Of(e),"handleHover",(function(t){e.setState({hovered:t})})),e}return n=c,(r=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentSelect")}},{key:"render",value:function(){var e=this,n=this.props,r=n.changeStep,o=n.formik,i=o.values,a=o.setFieldValue,c=this.state.hovered;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Choose verification method"))),t().createElement(Su,{noVerticalPadding:!0},t().createElement(oi.Field,{name:"verificationType",validate:function(){return Pi("verificationType",o)}},(function(n){var o=n.field;return t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(af,{name:kf,selectedItem:o.value,isGreyedOut:c===Cf,onMouseEnter:function(){return e.handleHover(kf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"UPLOAD IMAGE FILE"),t().createElement(gt,{center:!0},t().createElement(Xi,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"You can upload an existing JPG, PNG or PDF image of your ",i.documentType===hf?"passport":"identity card"," that's under 2MB"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){a(o.name,kf),r("kycDocumentScan")}},"Select")))),t().createElement(Ro,{part:8},t().createElement(af,{name:Cf,selectedItem:o.value,isGreyedOut:c===kf,onMouseEnter:function(){return e.handleHover(Cf)},onMouseLeave:function(){return e.handleHover("")}},t().createElement(Iu,null,"USE DEVICE CAMERA"),t().createElement(gt,{center:!0},t().createElement(Zi,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"You can use the built-in camera on your device to capture an image of your ",i.documentType===hf?"passport":"identity card"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){a(o.name,Cf),r("kycDocumentScan")}},"Select")))))}))))}}])&&xf(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Pf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Tf=(0,oi.connect)(Pf);function jf(e){return jf="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},jf(e)}function Mf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _f(e,t){for(var n=0;n<t.length;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)}}function Nf(e,t){return Nf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Nf(e,t)}function Rf(e,t){if(t&&("object"===jf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Lf(e)}function Lf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bf(e){return Bf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bf(e)}function zf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Df=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Nf(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Bf(i);if(c){var n=Bf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Rf(this,e)});function s(){var e;Mf(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return zf(Lf(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1}),zf(Lf(e),"handlePopup",(function(t){var n=e.props.formik.values,r=n.documentType===hf?!!n.passportPicture:!!n.cardFrontPicture&&!!n.cardBackPicture;e.validate(),e.setState({popupOpen:!r&&t})})),zf(Lf(e),"handleFileUpload",(function(t,n){var r=e.props.formik.setFieldValue;t.target.files&&r(n,t.target.files[0])})),zf(Lf(e),"removeFile",(function(t){(0,e.props.formik.setFieldValue)(t,"")})),zf(Lf(e),"validate",(function(){var t=e.props.formik,n=t.validationSchema,r=t.values,o=t.setFieldError,i=["passportPicture","cardFrontPicture","cardBackPicture"];try{n.validateSync(r,{abortEarly:!1})}catch(e){e.inner.filter((function(e){return i.includes(e.path)})).forEach((function(e){o(e.path,e.errors[0])}))}})),e}return r=s,(o=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentVerificationType")}},{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=i.values,l=i.errors,s=this.state.popupOpen,u=c.documentType===hf?!!c.passportPicture:!!c.cardFrontPicture&&!!c.cardBackPicture;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload Picture")),t().createElement(Eu,null,t().createElement(a.Tooltip,{open:s,position:"bottom",title:c.documentType===hf?l.passportPicture:l.cardFrontPicture||l.cardBackPicture,theme:"light",arrow:!0,duration:200},t().createElement("span",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycDocumentSuccess")},disabled:!u},"Next"))))),t().createElement(Su,{noVerticalPadding:!0},c.documentType===hf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"PASSPORT"),t().createElement(gt,{center:!0},t().createElement(Ki,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"Please use a JPG, PNG or PDF image below 2MB (we recommend a 2MP photo or 200-300 dpi scan)"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(oi.Field,{name:"passportPicture",validate:this.validate},(function(r){var o=r.field;return t().createElement(e.Fragment,null,o.value?t().createElement(ju,null,t().createElement(Mu,null,t().createElement(e.Fragment,null,o.value.name,t().createElement(Pu,{onClick:function(e){e.preventDefault(),e.stopPropagation(),n.removeFile(o.name)}})))):t().createElement(Cu,{center:!0,minWidth:"188px"},"Select Passport",t().createElement(ku,{name:o.name,accept:"image/png,image/jpeg,application/pdf",onChange:function(e){return n.handleFileUpload(e,o.name)}})))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Please select an image file showing the page of the document with your photo on it"),t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy."))))))),c.documentType===gf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD FRONT"),t().createElement(gt,{center:!0},t().createElement(ea,null)),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"With your picture"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardFrontPicture",validate:this.validate},(function(r){var o=r.field;return t().createElement(e.Fragment,null,o.value?t().createElement(ju,null,t().createElement(Mu,null,t().createElement(e.Fragment,null,o.value.name,t().createElement(Pu,{onClick:function(e){e.preventDefault(),e.stopPropagation(),n.removeFile(o.name)}})))):t().createElement(Cu,{center:!0},"Select",t().createElement(ku,{name:o.name,accept:"image/png,image/jpeg,application/pdf",onChange:function(e){return n.handleFileUpload(e,o.name)}})))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD BACK"),t().createElement(gt,{center:!0},t().createElement($i,null)),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"The other one"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardBackPicture",validate:this.validate},(function(r){var o=r.field;return t().createElement(e.Fragment,null,o.value?t().createElement(ju,null,t().createElement(Mu,null,t().createElement(e.Fragment,null,o.value.name,t().createElement(Pu,{onClick:function(e){e.preventDefault(),e.stopPropagation(),n.removeFile(o.name)}})))):t().createElement(Cu,{center:!0},"Select",t().createElement(ku,{name:o.name,accept:"image/png,image/jpeg,application/pdf",onChange:function(e){return n.handleFileUpload(e,o.name)}})))})))))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Please use a JPG, PNG or PDF image below 2MB (we recommend a 2MP photo or 200-300 dpi scan)"),t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy.")))))))))}}])&&_f(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);Df.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Gf=(0,oi.connect)(Df),qf=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.scanItem,a=n.formik;(0,e.useEffect)((function(){o("kycDocumentScan")}),[]);var c=a.setFieldValue;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"DOCUMENT RECOGNITION"),t().createElement(xu,{withMargin:!0},function(e){switch(e){case"passportPicture":return"Scan identity page";case"cardFrontPicture":return"Scan front of ID card";case"cardBackPicture":return"Scan back of ID card";default:return""}}(i)))),t().createElement(Su,{noHorizontalPadding:!0},t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"RETAKE"),t().createElement(Nu,null,t().createElement(na,null)))),t().createElement(Ro,{part:10},t().createElement(Lu,null)),t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"DONE"),t().createElement(Ru,{onClick:function(){c(i,"TODO: GET PHOTO FROM CAMERA"),r("kycDocumentScan")}}))))))};qf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,scanItem:i().string.isRequired,formik:i().instanceOf(Object).isRequired};var Ff=(0,oi.connect)(qf);function Uf(e){return Uf="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},Uf(e)}function Wf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Hf(e,t){for(var n=0;n<t.length;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)}}function Vf(e,t){return Vf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vf(e,t)}function Yf(e,t){if(t&&("object"===Uf(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Qf(e)}function Qf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kf(e){return Kf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Kf(e)}function Jf(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Zf=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vf(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Kf(i);if(c){var n=Kf(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Yf(this,e)});function s(){var e;Wf(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Jf(Qf(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1}),Jf(Qf(e),"handlePopup",(function(t){var n=e.props.formik.values,r=n.documentType===hf?!!n.passportPicture:!!n.cardFrontPicture&&!!n.cardBackPicture;e.validate(),e.setState({popupOpen:!r&&t})})),Jf(Qf(e),"handleFileUpload",(function(t,n){var r=e.props.formik.setFieldValue;t.target.files&&r(n,t.target.files[0])})),Jf(Qf(e),"removeFile",(function(t){(0,e.props.formik.setFieldValue)(t,"")})),Jf(Qf(e),"validate",(function(){var t=e.props.formik,n=t.validationSchema,r=t.values,o=t.setFieldError,i=["passportPicture","cardFrontPicture","cardBackPicture"];try{n.validateSync(r,{abortEarly:!1})}catch(e){e.inner.filter((function(e){return i.includes(e.path)})).forEach((function(e){o(e.path,e.errors[0])}))}})),e}return r=s,(o=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycDocumentVerificationType")}},{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=r.setScanItem,l=i.values,s=i.errors,u=this.state.popupOpen,f=l.documentType===hf?!!l.passportPicture:!!l.cardFrontPicture&&!!l.cardBackPicture;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload Picture")),t().createElement(Eu,null,t().createElement(a.Tooltip,{open:u,position:"bottom",title:l.documentType===hf?s.passportPicture:s.cardFrontPicture||s.cardBackPicture,theme:"light",arrow:!0,duration:200},t().createElement("span",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycDocumentSuccess")},disabled:!f},"Next"))))),t().createElement(Su,{noVerticalPadding:!0},l.documentType===hf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"PASSPORT"),t().createElement(gt,{center:!0},t().createElement(Ki,null)),t().createElement(gt,{noPaddingVertical:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"Please scan the identity page with your photo on it"))),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(oi.Field,{name:"passportPicture",validate:this.validate},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(Tu,{isHidden:!r.value}),t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){c(r.name),o("kycDocumentCameraScan")}},"Scan Document"))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy."))))))),l.documentType===gf&&t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD FRONT"),t().createElement(gt,{center:!0},t().createElement(ea,null)),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"With your picture"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardFrontPicture",validate:this.validate},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(Tu,{isHidden:!r.value}),t().createElement(sn,{center:!0,onClick:function(){c(r.name),o("kycDocumentCameraScan")}},"Scan"))}))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalCenter:!0},t().createElement(Iu,null,"UPLOAD CARD BACK"),t().createElement(gt,{center:!0},t().createElement($i,null)),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(Te,{center:!0},t().createElement("p",null,"The other one"))),t().createElement(gt,{noPadding:!0,center:!0},t().createElement(oi.Field,{name:"cardBackPicture",validate:this.validate},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(Tu,{isHidden:!r.value}),t().createElement(sn,{center:!0,onClick:function(){c(r.name),o("kycDocumentCameraScan")}},"Scan"))})))))))),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(X,{noMobileScroll:!0},t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("p",null,"Please use a JPG, PNG or PDF image below 2MB (we recommend a 2MP photo or 200-300 dpi scan)"),t().createElement("p",null,"Make sure that your personal information is readable. Also, nothing on the document should be covered or censored"),t().createElement("p",null,"Be careful that none of your fingers are covering the document, and that all of the document is visible and contrasted against the background."),t().createElement("p",null,"Ensure that the document is in focus. Avoid bad lighting conditions which can lead to motion blur and image noise."),t().createElement("p",null,"The surface of the background should be evenly lit. The ID document should not present perspective distortion."),t().createElement("p",null,"If your photo or scan is not of high enough quality, we will request a better copy.")))))))))}}])&&Hf(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);Zf.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,setScanItem:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Xf=(0,oi.connect)(Zf),$f=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.formik;(0,e.useEffect)((function(){o("kycDocumentScan")}),[]);var a=i.values;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Upload successfull"))),t().createElement(Su,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:4}),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(Iu,null,"THANK YOU"),t().createElement(gt,{noPaddingBottom:!0,center:!0},a.documentType===hf?t().createElement(Ki,null):t().createElement(Qi,null)),t().createElement(gt,{center:!0},t().createElement(Tu,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,null,t().createElement("p",null,"Our robots are having a look"))),t().createElement(gt,{center:!0},t().createElement(sn,{onClick:function(){return r("kycFaceScan",2,1)}},"Continue")))),t().createElement(Ro,{part:4}))))};$f.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var ed=(0,oi.connect)($f),td=function(n){var r=n.changeStep,o=n.setPrevStep;return(0,e.useEffect)((function(){o("kycDocumentSuccess",1)}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Face recognition"))),t().createElement(Su,null,t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0,verticalSpaceAround:!0},t().createElement(Iu,null,"SELFIE TIME!"),t().createElement(gt,{center:!0},t().createElement(ta,null)),t().createElement(Te,{center:!0},t().createElement("p",null,"In the next step you'll take a picture of yourself using your device camera")),t().createElement(gt,{center:!0},t().createElement(sn,{center:!0,minWidth:"188px",onClick:function(){r("kycFaceScanRecognition")}},"Begin")))))))};td.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired};var nd=td,rd=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.formik;(0,e.useEffect)((function(){o("kycFaceScan")}),[]);var a=i.setFieldValue;return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Face recognition"),t().createElement(xu,{withMargin:!0},"Put your happy investor face on"))),t().createElement(Su,{noHorizontalPadding:!0},t().createElement(No,{center:!0,stretch:!0},t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"RETAKE"),t().createElement(Nu,null,t().createElement(na,null)))),t().createElement(Ro,{part:10},t().createElement(Lu,null)),t().createElement(Ro,{part:3},t().createElement(Au,{verticalCenter:!0},t().createElement(Iu,{faceScan:!0},"DONE"),t().createElement(Ru,{onClick:function(){a("facePicture","TODO: GET PHOTO FROM CAMERA"),r("kycFaceScanSuccess")}}))))))};rd.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var od=(0,oi.connect)(rd),id=function(n){var r=n.changeStep,o=n.setPrevStep;return(0,e.useEffect)((function(){o("kycFaceScanRecognition")}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Face verification"))),t().createElement(Su,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:4}),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(Iu,null,"SCAN COMPLETED"),t().createElement(gt,{center:!0,noPaddingBottom:!0},t().createElement(ta,null)),t().createElement(gt,{center:!0},t().createElement(Tu,null)),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(Te,null,t().createElement("p",null,"Great shot - thank you"))),t().createElement(gt,{center:!0},t().createElement(sn,{onClick:function(){return r("kycBasicInfo",3,2)}},"Continue")))),t().createElement(Ro,{part:4}))))};id.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired};var ad=id,cd=[{name:"Afghanistan",ISO2:"AF",ISO3:"AFG"},{name:"Aland Islands",ISO2:"AX",ISO3:"ALA"},{name:"Albania",ISO2:"AL",ISO3:"ALB"},{name:"Algeria",ISO2:"DZ",ISO3:"DZA"},{name:"American Samoa",ISO2:"AS",ISO3:"ASM"},{name:"Andorra",ISO2:"AD",ISO3:"AND"},{name:"Angola",ISO2:"AO",ISO3:"AGO"},{name:"Anguilla",ISO2:"AI",ISO3:"AIA"},{name:"Antarctica",ISO2:"AQ",ISO3:"ATA"},{name:"Antigua and Barbuda",ISO2:"AG",ISO3:"ATG"},{name:"Argentina",ISO2:"AR",ISO3:"ARG"},{name:"Armenia",ISO2:"AM",ISO3:"ARM"},{name:"Aruba",ISO2:"AW",ISO3:"ABW"},{name:"Australia",ISO2:"AU",ISO3:"AUS"},{name:"Austria",ISO2:"AT",ISO3:"AUT"},{name:"Azerbaijan",ISO2:"AZ",ISO3:"AZE"},{name:"Bahamas",ISO2:"BS",ISO3:"BHS"},{name:"Bahrain",ISO2:"BH",ISO3:"BHR"},{name:"Bangladesh",ISO2:"BD",ISO3:"BGD"},{name:"Barbados",ISO2:"BB",ISO3:"BRB"},{name:"Belarus",ISO2:"BY",ISO3:"BLR"},{name:"Belgium",ISO2:"BE",ISO3:"BEL"},{name:"Belize",ISO2:"BZ",ISO3:"BLZ"},{name:"Benin",ISO2:"BJ",ISO3:"BEN"},{name:"Bermuda",ISO2:"BM",ISO3:"BMU"},{name:"Bhutan",ISO2:"BT",ISO3:"BTN"},{name:"Bolivia",ISO2:"BO",ISO3:"BOL"},{name:"Bonaire, Saint Eustatius and Saba ",ISO2:"BQ",ISO3:"BES"},{name:"Bosnia and Herzegovina",ISO2:"BA",ISO3:"BIH"},{name:"Botswana",ISO2:"BW",ISO3:"BWA"},{name:"Bouvet Island",ISO2:"BV",ISO3:"BVT"},{name:"Brazil",ISO2:"BR",ISO3:"BRA"},{name:"British Indian Ocean Territory",ISO2:"IO",ISO3:"IOT"},{name:"British Virgin Islands",ISO2:"VG",ISO3:"VGB"},{name:"Brunei",ISO2:"BN",ISO3:"BRN"},{name:"Bulgaria",ISO2:"BG",ISO3:"BGR"},{name:"Burkina Faso",ISO2:"BF",ISO3:"BFA"},{name:"Burundi",ISO2:"BI",ISO3:"BDI"},{name:"Cambodia",ISO2:"KH",ISO3:"KHM"},{name:"Cameroon",ISO2:"CM",ISO3:"CMR"},{name:"Canada",ISO2:"CA",ISO3:"CAN"},{name:"Cape Verde",ISO2:"CV",ISO3:"CPV"},{name:"Cayman Islands",ISO2:"KY",ISO3:"CYM"},{name:"Central African Republic",ISO2:"CF",ISO3:"CAF"},{name:"Chad",ISO2:"TD",ISO3:"TCD"},{name:"Chile",ISO2:"CL",ISO3:"CHL"},{name:"China",ISO2:"CN",ISO3:"CHN"},{name:"Christmas Island",ISO2:"CX",ISO3:"CXR"},{name:"Cocos Islands",ISO2:"CC",ISO3:"CCK"},{name:"Colombia",ISO2:"CO",ISO3:"COL"},{name:"Comoros",ISO2:"KM",ISO3:"COM"},{name:"Cook Islands",ISO2:"CK",ISO3:"COK"},{name:"Costa Rica",ISO2:"CR",ISO3:"CRI"},{name:"Croatia",ISO2:"HR",ISO3:"HRV"},{name:"Cuba",ISO2:"CU",ISO3:"CUB"},{name:"Curacao",ISO2:"CW",ISO3:"CUW"},{name:"Cyprus",ISO2:"CY",ISO3:"CYP"},{name:"Czech Republic",ISO2:"CZ",ISO3:"CZE"},{name:"Democratic Republic of the Congo",ISO2:"CD",ISO3:"COD"},{name:"Denmark",ISO2:"DK",ISO3:"DNK"},{name:"Djibouti",ISO2:"DJ",ISO3:"DJI"},{name:"Dominica",ISO2:"DM",ISO3:"DMA"},{name:"Dominican Republic",ISO2:"DO",ISO3:"DOM"},{name:"East Timor",ISO2:"TL",ISO3:"TLS"},{name:"Ecuador",ISO2:"EC",ISO3:"ECU"},{name:"Egypt",ISO2:"EG",ISO3:"EGY"},{name:"El Salvador",ISO2:"SV",ISO3:"SLV"},{name:"Equatorial Guinea",ISO2:"GQ",ISO3:"GNQ"},{name:"Eritrea",ISO2:"ER",ISO3:"ERI"},{name:"Estonia",ISO2:"EE",ISO3:"EST"},{name:"Ethiopia",ISO2:"ET",ISO3:"ETH"},{name:"Falkland Islands",ISO2:"FK",ISO3:"FLK"},{name:"Faroe Islands",ISO2:"FO",ISO3:"FRO"},{name:"Fiji",ISO2:"FJ",ISO3:"FJI"},{name:"Finland",ISO2:"FI",ISO3:"FIN"},{name:"France",ISO2:"FR",ISO3:"FRA"},{name:"French Guiana",ISO2:"GF",ISO3:"GUF"},{name:"French Polynesia",ISO2:"PF",ISO3:"PYF"},{name:"French Southern Territories",ISO2:"TF",ISO3:"ATF"},{name:"Gabon",ISO2:"GA",ISO3:"GAB"},{name:"Gambia",ISO2:"GM",ISO3:"GMB"},{name:"Georgia",ISO2:"GE",ISO3:"GEO"},{name:"Germany",ISO2:"DE",ISO3:"DEU"},{name:"Ghana",ISO2:"GH",ISO3:"GHA"},{name:"Gibraltar",ISO2:"GI",ISO3:"GIB"},{name:"Greece",ISO2:"GR",ISO3:"GRC"},{name:"Greenland",ISO2:"GL",ISO3:"GRL"},{name:"Grenada",ISO2:"GD",ISO3:"GRD"},{name:"Guadeloupe",ISO2:"GP",ISO3:"GLP"},{name:"Guam",ISO2:"GU",ISO3:"GUM"},{name:"Guatemala",ISO2:"GT",ISO3:"GTM"},{name:"Guernsey",ISO2:"GG",ISO3:"GGY"},{name:"Guinea",ISO2:"GN",ISO3:"GIN"},{name:"Guinea-Bissau",ISO2:"GW",ISO3:"GNB"},{name:"Guyana",ISO2:"GY",ISO3:"GUY"},{name:"Haiti",ISO2:"HT",ISO3:"HTI"},{name:"Heard Island and McDonald Islands",ISO2:"HM",ISO3:"HMD"},{name:"Honduras",ISO2:"HN",ISO3:"HND"},{name:"Hong Kong",ISO2:"HK",ISO3:"HKG"},{name:"Hungary",ISO2:"HU",ISO3:"HUN"},{name:"Iceland",ISO2:"IS",ISO3:"ISL"},{name:"India",ISO2:"IN",ISO3:"IND"},{name:"Indonesia",ISO2:"ID",ISO3:"IDN"},{name:"Iran",ISO2:"IR",ISO3:"IRN"},{name:"Iraq",ISO2:"IQ",ISO3:"IRQ"},{name:"Ireland",ISO2:"IE",ISO3:"IRL"},{name:"Isle of Man",ISO2:"IM",ISO3:"IMN"},{name:"Israel",ISO2:"IL",ISO3:"ISR"},{name:"Italy",ISO2:"IT",ISO3:"ITA"},{name:"Ivory Coast",ISO2:"CI",ISO3:"CIV"},{name:"Jamaica",ISO2:"JM",ISO3:"JAM"},{name:"Japan",ISO2:"JP",ISO3:"JPN"},{name:"Jersey",ISO2:"JE",ISO3:"JEY"},{name:"Jordan",ISO2:"JO",ISO3:"JOR"},{name:"Kazakhstan",ISO2:"KZ",ISO3:"KAZ"},{name:"Kenya",ISO2:"KE",ISO3:"KEN"},{name:"Kiribati",ISO2:"KI",ISO3:"KIR"},{name:"Kosovo",ISO2:"XK",ISO3:"XKX"},{name:"Kuwait",ISO2:"KW",ISO3:"KWT"},{name:"Kyrgyzstan",ISO2:"KG",ISO3:"KGZ"},{name:"Laos",ISO2:"LA",ISO3:"LAO"},{name:"Latvia",ISO2:"LV",ISO3:"LVA"},{name:"Lebanon",ISO2:"LB",ISO3:"LBN"},{name:"Lesotho",ISO2:"LS",ISO3:"LSO"},{name:"Liberia",ISO2:"LR",ISO3:"LBR"},{name:"Libya",ISO2:"LY",ISO3:"LBY"},{name:"Liechtenstein",ISO2:"LI",ISO3:"LIE"},{name:"Lithuania",ISO2:"LT",ISO3:"LTU"},{name:"Luxembourg",ISO2:"LU",ISO3:"LUX"},{name:"Macao",ISO2:"MO",ISO3:"MAC"},{name:"Macedonia",ISO2:"MK",ISO3:"MKD"},{name:"Madagascar",ISO2:"MG",ISO3:"MDG"},{name:"Malawi",ISO2:"MW",ISO3:"MWI"},{name:"Malaysia",ISO2:"MY",ISO3:"MYS"},{name:"Maldives",ISO2:"MV",ISO3:"MDV"},{name:"Mali",ISO2:"ML",ISO3:"MLI"},{name:"Malta",ISO2:"MT",ISO3:"MLT"},{name:"Marshall Islands",ISO2:"MH",ISO3:"MHL"},{name:"Martinique",ISO2:"MQ",ISO3:"MTQ"},{name:"Mauritania",ISO2:"MR",ISO3:"MRT"},{name:"Mauritius",ISO2:"MU",ISO3:"MUS"},{name:"Mayotte",ISO2:"YT",ISO3:"MYT"},{name:"Mexico",ISO2:"MX",ISO3:"MEX"},{name:"Micronesia",ISO2:"FM",ISO3:"FSM"},{name:"Moldova",ISO2:"MD",ISO3:"MDA"},{name:"Monaco",ISO2:"MC",ISO3:"MCO"},{name:"Mongolia",ISO2:"MN",ISO3:"MNG"},{name:"Montenegro",ISO2:"ME",ISO3:"MNE"},{name:"Montserrat",ISO2:"MS",ISO3:"MSR"},{name:"Morocco",ISO2:"MA",ISO3:"MAR"},{name:"Mozambique",ISO2:"MZ",ISO3:"MOZ"},{name:"Myanmar",ISO2:"MM",ISO3:"MMR"},{name:"Namibia",ISO2:"NA",ISO3:"NAM"},{name:"Nauru",ISO2:"NR",ISO3:"NRU"},{name:"Nepal",ISO2:"NP",ISO3:"NPL"},{name:"Netherlands",ISO2:"NL",ISO3:"NLD"},{name:"New Caledonia",ISO2:"NC",ISO3:"NCL"},{name:"New Zealand",ISO2:"NZ",ISO3:"NZL"},{name:"Nicaragua",ISO2:"NI",ISO3:"NIC"},{name:"Niger",ISO2:"NE",ISO3:"NER"},{name:"Nigeria",ISO2:"NG",ISO3:"NGA"},{name:"Niue",ISO2:"NU",ISO3:"NIU"},{name:"Norfolk Island",ISO2:"NF",ISO3:"NFK"},{name:"North Korea",ISO2:"KP",ISO3:"PRK"},{name:"Northern Mariana Islands",ISO2:"MP",ISO3:"MNP"},{name:"Norway",ISO2:"NO",ISO3:"NOR"},{name:"Oman",ISO2:"OM",ISO3:"OMN"},{name:"Pakistan",ISO2:"PK",ISO3:"PAK"},{name:"Palau",ISO2:"PW",ISO3:"PLW"},{name:"Palestinian Territory",ISO2:"PS",ISO3:"PSE"},{name:"Panama",ISO2:"PA",ISO3:"PAN"},{name:"Papua New Guinea",ISO2:"PG",ISO3:"PNG"},{name:"Paraguay",ISO2:"PY",ISO3:"PRY"},{name:"Peru",ISO2:"PE",ISO3:"PER"},{name:"Philippines",ISO2:"PH",ISO3:"PHL"},{name:"Pitcairn",ISO2:"PN",ISO3:"PCN"},{name:"Poland",ISO2:"PL",ISO3:"POL"},{name:"Portugal",ISO2:"PT",ISO3:"PRT"},{name:"Puerto Rico",ISO2:"PR",ISO3:"PRI"},{name:"Qatar",ISO2:"QA",ISO3:"QAT"},{name:"Republic of the Congo",ISO2:"CG",ISO3:"COG"},{name:"Reunion",ISO2:"RE",ISO3:"REU"},{name:"Romania",ISO2:"RO",ISO3:"ROU"},{name:"Russia",ISO2:"RU",ISO3:"RUS"},{name:"Rwanda",ISO2:"RW",ISO3:"RWA"},{name:"Saint Barthelemy",ISO2:"BL",ISO3:"BLM"},{name:"Saint Helena",ISO2:"SH",ISO3:"SHN"},{name:"Saint Kitts and Nevis",ISO2:"KN",ISO3:"KNA"},{name:"Saint Lucia",ISO2:"LC",ISO3:"LCA"},{name:"Saint Martin",ISO2:"MF",ISO3:"MAF"},{name:"Saint Pierre and Miquelon",ISO2:"PM",ISO3:"SPM"},{name:"Saint Vincent and the Grenadines",ISO2:"VC",ISO3:"VCT"},{name:"Samoa",ISO2:"WS",ISO3:"WSM"},{name:"San Marino",ISO2:"SM",ISO3:"SMR"},{name:"Sao Tome and Principe",ISO2:"ST",ISO3:"STP"},{name:"Saudi Arabia",ISO2:"SA",ISO3:"SAU"},{name:"Senegal",ISO2:"SN",ISO3:"SEN"},{name:"Serbia",ISO2:"RS",ISO3:"SRB"},{name:"Seychelles",ISO2:"SC",ISO3:"SYC"},{name:"Sierra Leone",ISO2:"SL",ISO3:"SLE"},{name:"Singapore",ISO2:"SG",ISO3:"SGP"},{name:"Sint Maarten",ISO2:"SX",ISO3:"SXM"},{name:"Slovakia",ISO2:"SK",ISO3:"SVK"},{name:"Slovenia",ISO2:"SI",ISO3:"SVN"},{name:"Solomon Islands",ISO2:"SB",ISO3:"SLB"},{name:"Somalia",ISO2:"SO",ISO3:"SOM"},{name:"South Africa",ISO2:"ZA",ISO3:"ZAF"},{name:"South Georgia and the South Sandwich Islands",ISO2:"GS",ISO3:"SGS"},{name:"South Korea",ISO2:"KR",ISO3:"KOR"},{name:"South Sudan",ISO2:"SS",ISO3:"SSD"},{name:"Spain",ISO2:"ES",ISO3:"ESP"},{name:"Sri Lanka",ISO2:"LK",ISO3:"LKA"},{name:"Sudan",ISO2:"SD",ISO3:"SDN"},{name:"Suriname",ISO2:"SR",ISO3:"SUR"},{name:"Svalbard and Jan Mayen",ISO2:"SJ",ISO3:"SJM"},{name:"Swaziland",ISO2:"SZ",ISO3:"SWZ"},{name:"Sweden",ISO2:"SE",ISO3:"SWE"},{name:"Switzerland",ISO2:"CH",ISO3:"CHE"},{name:"Syria",ISO2:"SY",ISO3:"SYR"},{name:"Taiwan",ISO2:"TW",ISO3:"TWN"},{name:"Tajikistan",ISO2:"TJ",ISO3:"TJK"},{name:"Tanzania",ISO2:"TZ",ISO3:"TZA"},{name:"Thailand",ISO2:"TH",ISO3:"THA"},{name:"Togo",ISO2:"TG",ISO3:"TGO"},{name:"Tokelau",ISO2:"TK",ISO3:"TKL"},{name:"Tonga",ISO2:"TO",ISO3:"TON"},{name:"Trinidad and Tobago",ISO2:"TT",ISO3:"TTO"},{name:"Tunisia",ISO2:"TN",ISO3:"TUN"},{name:"Turkey",ISO2:"TR",ISO3:"TUR"},{name:"Turkmenistan",ISO2:"TM",ISO3:"TKM"},{name:"Turks and Caicos Islands",ISO2:"TC",ISO3:"TCA"},{name:"Tuvalu",ISO2:"TV",ISO3:"TUV"},{name:"U.S. Virgin Islands",ISO2:"VI",ISO3:"VIR"},{name:"Uganda",ISO2:"UG",ISO3:"UGA"},{name:"Ukraine",ISO2:"UA",ISO3:"UKR"},{name:"United Arab Emirates",ISO2:"AE",ISO3:"ARE"},{name:"United Kingdom",ISO2:"GB",ISO3:"GBR"},{name:"United States",ISO2:"US",ISO3:"USA"},{name:"United States Minor Outlying Islands",ISO2:"UM",ISO3:"UMI"},{name:"Uruguay",ISO2:"UY",ISO3:"URY"},{name:"Uzbekistan",ISO2:"UZ",ISO3:"UZB"},{name:"Vanuatu",ISO2:"VU",ISO3:"VUT"},{name:"Vatican",ISO2:"VA",ISO3:"VAT"},{name:"Venezuela",ISO2:"VE",ISO3:"VEN"},{name:"Vietnam",ISO2:"VN",ISO3:"VNM"},{name:"Wallis and Futuna",ISO2:"WF",ISO3:"WLF"},{name:"Western Sahara",ISO2:"EH",ISO3:"ESH"},{name:"Yemen",ISO2:"YE",ISO3:"YEM"},{name:"Zambia",ISO2:"ZM",ISO3:"ZMB"},{name:"Zimbabwe",ISO2:"ZW",ISO3:"ZWE"}];function ld(e){return ld="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},ld(e)}function sd(){return sd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},sd.apply(this,arguments)}function ud(){ud=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==ld(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function fd(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function dd(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){fd(i,r,o,a,c,"next",e)}function c(e){fd(i,r,o,a,c,"throw",e)}a(void 0)}))}}function pd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function md(e,t){for(var n=0;n<t.length;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)}}function hd(e,t){return hd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},hd(e,t)}function gd(e,t){if(t&&("object"===ld(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return bd(e)}function bd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yd(e){return yd=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},yd(e)}function vd(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wd=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&hd(e,t)}(s,n);var r,o,i,c,l=(i=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=yd(i);if(c){var n=yd(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return gd(this,e)});function s(){var e;pd(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return vd(bd(e=l.call.apply(l,[this].concat(n))),"state",{popupOpen:!1,hasErrors:!0}),vd(bd(e),"fields",["firstName","middleName","lastName","phonePrefix","phone","postalCode","city","street","country","occupation","occupationDetails","dataConfirmation"]),vd(bd(e),"handlePopup",function(){var t=dd(ud().mark((function t(n){var r,o,i,a;return ud().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.props.formik,o=r.validateForm,i=r.errors,a=r.setFieldTouched,e.fields.forEach((function(e){return a(e)})),t.next=5,o();case 5:e.setState({popupOpen:!!Object.keys(i).length&&n,hasErrors:!!Object.keys(i).length});case 6:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()),e}return r=s,(o=[{key:"componentDidMount",value:function(){(0,this.props.setPrevStep)("kycFaceScanSuccess",2)}},{key:"render",value:function(){var n=this,r=this.props,o=r.changeStep,i=r.formik,c=i.errors,l=i.setFieldValue,s=i.setFieldTouched,u=i.touched,f=this.state,d=f.popupOpen,p=f.hasErrors,m=function(e){l(e.name,e.value,!1),s(e.name)},h=function(e){s(e.name)};return t().createElement(vu,null,t().createElement(wu,null,t().createElement("div",null,t().createElement(Zu,null,"Verify your identity"),t().createElement(xu,{withMargin:!0},"Basic info"))),t().createElement(Su,{form:!0},t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"firstName",validation:function(){return Pi("firstName",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"First Name",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"middleName",validation:function(){return Pi("middleName",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Middle Name",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"lastName",validation:function(){return Pi("lastName",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Last Name",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"phonePrefix",validation:function(){return Pi("phonePrefix",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ts,{options:[{key:1,value:"+01",label:"+01"},{key:2,value:"+02",label:"+02"},{key:3,value:"+03",label:"+03"},{key:4,value:"+04",label:"+04"},{key:5,value:"+05",label:"+05"},{key:6,value:"+06",label:"+06"}],label:"Prefix",id:n.name,name:n.name,value:n.value,error:!!c[n.name],touched:!!u[n.name],onChange:m,onBlur:h}),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))),t().createElement(Ro,{part:1,full:2},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"phone",validation:function(){return Pi("phone",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Mobile phone",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"country",validation:function(){return Pi("country",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ts,{options:cd.map((function(e){var t=e.name;return{key:t,value:t,label:t}})),label:"Country",id:n.name,name:n.name,value:n.value,error:!!c[n.name],touched:!!u[n.name],onChange:m,onBlur:h,search:!0}),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"postalCode",validation:function(){return Pi("postalCode",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Postal Code",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"city",validation:function(){return Pi("city",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"City",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"street",validation:function(){return Pi("street",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"Street",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(No,null,t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"occupation",validation:function(){return Pi("occupation",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ts,{options:[{key:1,value:"student",label:"Student"},{key:2,value:"worker",label:"Worker"},{key:3,value:"other",label:"Other, precise:"}],label:"Occupation",id:n.name,name:n.name,value:n.value,error:!!c[n.name],touched:!!u[n.name],onChange:m,onBlur:h}),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))}))))),t().createElement(Ro,{part:1,full:2},t().createElement(Au,{formInner:!0},t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0,fluid:!0},t().createElement(oi.Field,{name:"occupationDetails",validation:function(){return Pi("occupationDetails",i)}},(function(e){var n=e.field;return t().createElement(Ii,null,t().createElement(Ni,sd({label:"",id:n.name,error:!!c[n.name],touched:!!u[n.name]},n)),t().createElement(ki,{show:u[n.name]&&c[n.name]},c[n.name]))})))))),t().createElement(Bu,null,t().createElement(Ii,null,t().createElement(oi.Field,{name:"dataConfirmation",validate:function(){return Pi("dataConfirmation",i)}},(function(n){var r=n.field;return t().createElement(e.Fragment,null,t().createElement(pt,sd({id:"data-confirmation",text:"I confirm that all information is correct",checked:r.value,error:!!c[r.name]},r,{value:"yes"})),t().createElement(ki,{show:c[r.name]},c[r.name]))}))),t().createElement(zu,null,t().createElement(a.Tooltip,{open:d,position:"bottom",title:"Please fill all required fields",theme:"light",arrow:!0,duration:200},t().createElement("span",{onMouseEnter:function(){return n.handlePopup(!0)},onMouseLeave:function(){return n.handlePopup(!1)}},t().createElement(sn,{onClick:function(){return o("kycConfirmation",5,3)},disabled:p},"Continue")))))))}}])&&md(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),s}(e.PureComponent);wd.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var xd=(0,oi.connect)(wd),Ed=function(n){var r=n.changeStep,o=n.setPrevStep,i=n.formik;return(0,e.useEffect)((function(){o("kycBasicInfo",3)}),[]),t().createElement(vu,null,t().createElement(wu,null,t().createElement(xu,null,"Confirmation"),t().createElement(Eu,null,t().createElement(sn,{secondary:!0,onClick:function(){return r("kycBasicInfo",3)}},"Previous"),t().createElement(sn,{onClick:function(){return i.submitForm()}},"Confirm"))),t().createElement(Su,null,t().createElement(No,{stretch:!0},t().createElement(Ro,{part:4}),t().createElement(Ro,{part:8},t().createElement(Au,{verticalPadding:!0},t().createElement(Iu,null,"THANK YOU FOR REGISTERING"))),t().createElement(Ro,{part:4}))))};Ed.propTypes={changeStep:i().func.isRequired,setPrevStep:i().func.isRequired,formik:i().instanceOf(Object).isRequired};var Sd,Od,Id,Ad=(0,oi.connect)(Ed),kd=(0,c.css)(Sd||(Sd=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n position: relative;\n font-family: 'Open Sans';\n font-weight: bold;\n font-size: 11px;\n line-height: 14px;\n text-transform: uppercase;\n display: inline-block;\n padding-left: 18px;\n padding-right: 6px;\n transition: padding 0.2s;\n\n &:before {\n content: '\\f3d1';\n font-family: 'Ionicons';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size: 12px;\n line-height: 8px;\n display: block;\n width: 8px;\n height: 8px;\n position: absolute;\n top: 50%;\n left: 0;\n margin-top: -4px;\n color: ",";\n }\n\n &:hover {\n padding-left: 24px;\n padding-right: 0;\n }\n"],["\n position: relative;\n font-family: 'Open Sans';\n font-weight: bold;\n font-size: 11px;\n line-height: 14px;\n text-transform: uppercase;\n display: inline-block;\n padding-left: 18px;\n padding-right: 6px;\n transition: padding 0.2s;\n\n &:before {\n content: '\\\\f3d1';\n font-family: 'Ionicons';\n speak: none;\n font-style: normal;\n font-weight: normal;\n font-variant: normal;\n text-transform: none;\n text-rendering: auto;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n font-size: 12px;\n line-height: 8px;\n display: block;\n width: 8px;\n height: 8px;\n position: absolute;\n top: 50%;\n left: 0;\n margin-top: -4px;\n color: ",";\n }\n\n &:hover {\n padding-left: 24px;\n padding-right: 0;\n }\n"])),(function(e){return p.cWarning})),Cd=l()(xt.Link).withConfig({displayName:"TextLinkstyles__TextLink",componentId:"sc-h1k34v-0"})(["",""],kd),Pd=l().button.withConfig({displayName:"TextLinkstyles__TextButton",componentId:"sc-h1k34v-1"})(["",""],kd),Td=Cd;function jd(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}l().div.withConfig({displayName:"LatestUpdatestyles__LatestUpdateTitle",componentId:"sc-1tg99hq-0"})(["font-size:11px;line-height:24px;letter-spacing:2.06px;text-transform:uppercase;margin-bottom:9px;"]),l().div.withConfig({displayName:"LatestUpdatestyles__LatestUpdateHeadline",componentId:"sc-1tg99hq-1"})(["font-size:22px;font-weight:900;letter-spacing:0.8px;line-height:28px;text-transform:uppercase;"]);var Md=l()(gt).withConfig({displayName:"LatestUpdatestyles__LatestUpdateWrapper",componentId:"sc-1tg99hq-2"})(["padding:80px 32px;",""],G.Medium(Od||(Od=jd(["\n padding: 128px 64px;\n "])))),_d=l().div.withConfig({displayName:"LatestUpdatestyles__Container",componentId:"sc-1tg99hq-3"})(["display:block;padding:20px 0;",""],G.Medium(Id||(Id=jd(["\n ","\n "])),(function(e){return e.horizontalPadding&&"\n padding: 20px 5%;\n "}))),Nd=l()(xt.Link).withConfig({displayName:"LatestUpdatestyles__ItemLink",componentId:"sc-1tg99hq-4"})(["display:block;"]),Rd=l().div.withConfig({displayName:"LatestUpdatestyles__ImageWrap",componentId:"sc-1tg99hq-5"})(["display:block;height:42px;margin-bottom:12px;"]),Ld=l().img.withConfig({displayName:"LatestUpdatestyles__Image",componentId:"sc-1tg99hq-6"})(["display:inline-block;max-width:100%;max-height:100%;margin-bottom:12px;object-fit:contain;object-position:0 100%;"]),Bd=l().span.withConfig({displayName:"LatestUpdatestyles__Tag",componentId:"sc-1tg99hq-7"})(["display:block;font-size:11px;line-height:24px;margin-bottom:12px;text-transform:uppercase;"]),zd=l().h3.withConfig({displayName:"LatestUpdatestyles__Title",componentId:"sc-1tg99hq-8"})(["display:block;font-family:'Open Sans';font-weight:600;font-size:16px;line-height:24px;margin:0;margin-bottom:20px;"]),Dd=l().span.withConfig({displayName:"LatestUpdatestyles__Text",componentId:"sc-1tg99hq-9"})(["display:block;font-size:16px;font-weight:300;line-height:24px;margin-bottom:20px;"]),Gd=l()(Td).withConfig({displayName:"LatestUpdatestyles__ReadMore",componentId:"sc-1tg99hq-10"})(["letter-spacing:2px;"]),qd=function(e){var n=e.image,r=e.tag,o=e.title,i=e.text,a=e.url,c=e.horizontalPadding;return t().createElement(_d,{to:a,horizontalPadding:c},t().createElement(Nd,{to:a},n&&t().createElement(Rd,null,t().createElement(Ld,{src:n})),r&&t().createElement(Bd,null,r),t().createElement(zd,null,o),t().createElement(Dd,null,i),t().createElement(Gd,{as:"span"},"read more")))};qd.propTypes={image:i().string,tag:i().string,title:i().string.isRequired,text:i().string.isRequired,url:i().string.isRequired,horizontalPadding:i().bool},qd.defaultProps={image:"",tag:"",horizontalPadding:!1};var Fd,Ud,Wd,Hd,Vd,Yd,Qd,Kd,Jd,Zd,Xd,$d,ep=require("react-slick"),tp=n.n(ep);function np(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}require("slick-carousel/slick/slick.css"),require("slick-carousel/slick/slick-theme.css");var rp=l().div.withConfig({displayName:"LearnMoreCarouselstyles__Container",componentId:"sc-auw5a4-0"})(["overflow:hidden;"]),op=l().div.withConfig({displayName:"LearnMoreCarouselstyles__Offset",componentId:"sc-auw5a4-1"})(["position:relative;padding-top:28px;padding-bottom:76px;margin-right:0;"," ",""],G.Medium(Fd||(Fd=np(["\n padding-top: 32px;\n padding-bottom: 72px;\n margin-right: 64px;\n "]))),G.Large(Ud||(Ud=np(["\n padding-top: 64px;\n padding-bottom: 88px;\n margin-right: 128px;\n "])))),ip=l().div.withConfig({displayName:"LearnMoreCarouselstyles__Wrapper",componentId:"sc-auw5a4-2"})(["margin-right:0;"," .slick-list{z-index:0;}.slick-arrow{z-index:1;width:32px;height:48px;background-color:",";transition:background-color 0.2s;"," &.slick-prev,&.slick-next{top:100%;right:50%;margin-top:40px;transform:none;"," "," &:before{font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:20px;line-height:24px;text-align:center;opacity:1;color:",";}&:focus,&:hover{background-color:",";}}&.slick-prev{left:auto;margin-right:-32px;"," &:before{content:'\f3cf';}}&.slick-next{border-left:1px solid ",";margin-right:-64px;"," &:before{content:'\f3d1';}}}.slick-dots{z-index:1;height:auto;top:100%;margin-left:8px;text-align:center;width:100%;margin-top:28px;"," "," li{display:inline-block;width:24px;height:24px;margin:0;button{display:block;padding:8px;width:24px;height:24px;&:before{position:relative;content:'';display:block;width:8px;height:8px;border-radius:4px;background-color:#eee;opacity:1;transition:background-color 0.2s;}&:hover{&:before{background-color:#0050ca;}}}&.slick-active{button{&:before{background-color:#ee220d;}}}}}.slick-track{display:flex;align-items:stretch;}.slick-slide{height:auto;& > div{height:100%;}}"],G.Medium(Wd||(Wd=np(["\n margin-right: -100%;\n "]))),(function(e){return p.cWarning}),G.Large(Hd||(Hd=np(["\n width: 64px;\n "]))),G.Medium(Vd||(Vd=np(["\n margin-top: 24px;\n "]))),G.Large(Yd||(Yd=np(["\n margin-top: 40px;\n "]))),(function(e){return p.cWhite}),(function(e){return p.cWarningDark}),G.Large(Qd||(Qd=np(["\n margin-right: -64px;\n "]))),(function(e){return p.cWarningDark}),G.Large(Kd||(Kd=np(["\n margin-right: -128px;\n "]))),G.Medium(Jd||(Jd=np(["\n margin-top: 36px;\n width: 50%;\n padding-right: 32px;\n text-align: right;\n "]))),G.Large(Zd||(Zd=np(["\n margin-top: 52px;\n padding-right: 36px;\n "])))),ap=l().div.withConfig({displayName:"LearnMoreCarouselstyles__LearnMoreSlide",componentId:"sc-auw5a4-3"})(["outline:0;height:100%;padding-left:32px;padding-right:32px;"," ",""],G.Medium(Xd||(Xd=np(["\n padding-left: 32px;\n padding-right: 0;\n "]))),G.Large($d||($d=np(["\n padding-left: 64px;\n padding-right: 0;\n "])))),cp=function(e){var n=e.children,r=e.autoplay,o={dots:e.dots,arrows:e.arrows,infinite:!1,speed:600,autoplay:!!r,autoplaySpeed:r,slidesToShow:e.isMobile?1:2,slidesToScroll:1};return t().createElement(rp,null,t().createElement(op,null,t().createElement(ip,null,t().createElement(tp(),o,n))))};cp.propTypes={children:i().node.isRequired,autoplay:i().number,dots:i().bool,arrows:i().bool,isMobile:i().bool},cp.defaultProps={autoplay:0,dots:!1,arrows:!1,isMobile:!1};var lp,sp,up,fp=cp;function dp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var pp=l().div.withConfig({displayName:"TabsNavstyles__StyledTabs",componentId:"sc-opeopg-0"})(["position:relative;border-bottom:1px solid ",";"],(function(e){return p.cLightGrey})),mp=l().div.withConfig({displayName:"TabsNavstyles__Scroll",componentId:"sc-opeopg-1"})(["position:relative;overflow:hidden;overflow-x:auto;"]),hp=l().div.withConfig({displayName:"TabsNavstyles__TabsWrapper",componentId:"sc-opeopg-2"})(["position:relative;white-space:nowrap;padding:12px 0;",""],G.Medium(lp||(lp=dp(["\n padding: 24px;\n "])))),gp=l().span.withConfig({displayName:"TabsNavstyles__LinkText",componentId:"sc-opeopg-3"})(["display:block;position:relative;font-family:'Open Sans';font-size:11px;letter-spacing:2px;line-height:20px;text-transform:uppercase;padding:8px 0;&:before{content:'';width:100%;height:8px;background-color:transparent;position:absolute;top:100%;left:0%;transition:background-color 0.2s;}"]),bp=l().button.withConfig({displayName:"TabsNavstyles__StyledTab",componentId:"sc-opeopg-4"})(["display:inline-block;position:relative;cursor:pointer;outline:none;visibility:visible;padding:12px;color:",";transition:opacity 0.2s;"," "," &:focus,&:hover{opacity:0.6;}",""],(function(e){return p.cBlack}),G.Medium(sp||(sp=dp(["\n padding: 24px;\n "]))),G.Large(up||(up=dp(["\n padding: 32px 40px;\n "]))),(function(e){return e.isActive&&"\n &:focus ,\n &:hover {\n opacity: 1;\n }\n\n ".concat(gp," {\n font-weight: bold;\n\n &:before {\n background-color: ").concat(p.cPrimary,"!important;\n }\n }\n ")})),yp=function(e){var n=e.children,r=e.isActive,o=e.onClick;return t().createElement(bp,{onClick:o,isActive:r},t().createElement(gp,null,n))};function vp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vp(Object(n),!0).forEach((function(t){xp(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function xp(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}yp.propTypes={children:i().node.isRequired,isActive:i().bool,onClick:i().func},yp.defaultProps={isActive:!1,onClick:function(){}};var Ep=function(e){var n=e.children,r=e.activeTab;return t().createElement(pp,null,t().createElement(mp,null,t().createElement(hp,null,t().Children.map(n,(function(e){return t().isValidElement(e)?t().cloneElement(e,wp(wp({},e.props),{},{isActive:e.props.tabId===r})):null})))))};Ep.propTypes={children:i().node.isRequired,activeTab:i().oneOfType([i().number,i().string])},Ep.defaultProps={activeTab:0};var Sp,Op,Ip=Ep,Ap=require("semantic-ui-react");function kp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Cp,Pp,Tp,jp,Mp,_p,Np,Rp,Lp,Bp,zp,Dp,Gp,qp,Fp,Up,Wp,Hp,Vp,Yp,Qp=l().i.attrs({className:"ion ion-md-checkmark"}).withConfig({displayName:"LearnMoresharedstyles__CompleteMark",componentId:"sc-17qnhrh-0"})(["margin:auto;"]),Kp=l().div.withConfig({displayName:"LearnMoresharedstyles__CompleteMarkContainer",componentId:"sc-17qnhrh-1"})(["width:20px;height:20px;border-radius:50%;display:flex;border:1px dotted ",";margin-left:auto;","{display:none;}"," "," ",""],(function(e){return p.cLightGrey}),Qp,(function(e){return e.inProgress&&"\n border-style: solid;\n border-color: ".concat(p.cLighterGreen,";\n ")}),(function(e){return e.complete&&(0,c.css)(Sp||(Sp=kp(["\n border-style: solid;\n border-color: ",";\n background: ",";\n\n "," {\n display: block;\n color: ",";\n }\n "])),p.cLighterGreen,p.cLighterGreen,Qp,p.cDarkGreen)}),(function(e){return e.large&&(0,c.css)(Op||(Op=kp(["\n width: 40px;\n height: 40px;\n\n "," {\n font-size: 2em;\n }\n "])),Qp)})),Jp=l()(Ap.Popup).withConfig({displayName:"LearnMoresharedstyles__CompleteMarkTooltip",componentId:"sc-17qnhrh-2"})(["margin-left:auto;padding-left:8px;"]);function Zp(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Xp=l().div.withConfig({displayName:"LearnMoreItemstyles__ArticleWrapper",componentId:"sc-j18ifc-0"})(["padding:32px;position:relative;"," "," "," &::before{content:'';position:absolute;width:1px;background:",";"," ","}"],G.Medium(Cp||(Cp=Zp(["\n padding: 64px;\n "]))),G.XLarge(Pp||(Pp=Zp(["\n padding: 128px;\n "]))),(function(e){return"text"===e.postType&&(0,c.css)(Tp||(Tp=Zp(["\n padding-right: 64px;\n\n ","\n\n ","\n "])),G.Large(jp||(jp=Zp(["\n padding-right: 128px;\n "]))),G.XLarge(Mp||(Mp=Zp(["\n padding-right: 224px;\n "]))))}),(function(e){return p.cGrey}),(function(e){return"video"===e.postType&&(0,c.css)(_p||(_p=Zp(["\n top: 32px;\n left: 48px;\n bottom: 0;\n\n ","\n\n ","\n\n ","\n "])),G.Medium(Np||(Np=Zp(["\n top: 64px;\n left: 64px;\n "]))),G.Large(Rp||(Rp=Zp(["\n left: 96px;\n "]))),G.XLarge(Lp||(Lp=Zp(["\n top: 128px;\n left: 160px;\n "]))))}),(function(e){return"text"===e.postType&&(0,c.css)(Bp||(Bp=Zp(["\n top: 0;\n right: 48px;\n bottom: 0;\n\n ","\n\n ","\n\n ","\n "])),G.Medium(zp||(zp=Zp(["\n right: 32px;\n "]))),G.Large(Dp||(Dp=Zp(["\n right: 96px;\n "]))),G.XLarge(Gp||(Gp=Zp(["\n right: 192px;\n "]))))})),$p=l().div.withConfig({displayName:"LearnMoreItemstyles__VideoTitleRow",componentId:"sc-j18ifc-1"})(["display:flex;flex-direction:column;",""],G.XLarge(qp||(qp=Zp(["\n align-items: center;\n flex-direction: row;\n "])))),em=l().div.withConfig({displayName:"LearnMoreItemstyles__VideoCover",componentId:"sc-j18ifc-2"})(["width:100%;","{width:100%;padding-top:56.25%;}","{position:absolute;top:50%;left:50%;width:auto;transform:translateY(-50%) translateX(-50%);}"],Mt,Rt),tm=l().div.withConfig({displayName:"LearnMoreItemstyles__VideoPlay",componentId:"sc-j18ifc-3"})(["width:48px;height:48px;color:",";background:",";border-radius:50%;display:flex;align-items:center;justify-content:center;transition:0.3s background;&:hover{color:",";background:",";}"],(function(e){return p.cWhite}),(function(e){return p.cWarning}),(function(e){return p.cWhite}),(function(e){return p.cWarningDark})),nm=l().i.attrs({className:"ion ion-md-play"}).withConfig({displayName:"LearnMoreItemstyles__VideoPlayIcon",componentId:"sc-j18ifc-4"})(["font-size:16px;"]),rm=l()(Te).withConfig({displayName:"LearnMoreItemstyles__TitleText",componentId:"sc-j18ifc-5"})(["position:relative;&::before{content:'';position:absolute;width:6px;background:",";top:0;bottom:0;"," ","}"],(function(e){return p.cPrimary}),(function(e){return"video"===e.postType&&(0,c.css)(Fp||(Fp=Zp(["\n transform: translateX(1px);\n left: -16px;\n\n ","\n "])),G.Medium(Up||(Up=Zp(["\n left: -32px;\n "]))))}),(function(e){return"text"===e.postType&&(0,c.css)(Wp||(Wp=Zp(["\n transform: translateX(-1px);\n right: -16px;\n\n ","\n "])),G.Medium(Hp||(Hp=Zp(["\n right: -32px;\n "]))))})),om=l().div.withConfig({displayName:"LearnMoreItemstyles__CompleteWrapper",componentId:"sc-j18ifc-6"})(["display:flex;flex-shrink:0;margin-left:auto;margin-top:24px;"," "," ","{flex-shrink:0;margin-left:16px;}","{flex-shrink:0;}"],(function(e){return e.center&&"\n justify-content: center;\n "}),G.XLarge(Vp||(Vp=Zp(["\n margin-top: 0;\n "]))),Kp,sn),im=l()(Te).withConfig({displayName:"LearnMoreItemstyles__ContentText",componentId:"sc-j18ifc-7"})(["display:flex;flex-direction:column;h5{font-size:16px;letter-spacing:0.4px;font-weight:600;margin-bottom:16px;}img{max-width:100%;margin:32px auto;}ul{list-style:none;padding:0;margin:0;}li{font-family:'Open Sans';font-weight:300;font-size:16px;line-height:1.5em;letter-spacing:0.6px;padding-left:12px;position:relative;"," &::before{position:absolute;left:0;content:'•';color:",";}}"],G.XLarge(Yp||(Yp=Zp(["\n font-size: 20px;\n "]))),(function(e){return p.cWarning})),am=function(n){var r=n.postItem,o=n.activeTabObject,i=n.onMarkComplete;return t().createElement(Xp,{postType:r.postType},"video"===r.postType&&t().createElement(e.Fragment,null,t().createElement(em,null,t().createElement(zt,{src:r.cover},t().createElement(tm,null,t().createElement(nm,null)))),t().createElement(gt,{noPaddingRight:!0,noPaddingBottom:!0},t().createElement($p,null,t().createElement(rm,{postType:r.postType},t().createElement("h3",null,r.title)),t().createElement(om,null,t().createElement(sn,{primary:!o.complete,secondary:o.complete,onClick:function(){return i(o.id)}},o.complete?"Watched":"Mark as watched"),t().createElement(Kp,{large:!0,inProgress:o.inProgress,complete:o.complete},t().createElement(Qp,null))))),t().createElement(gt,null,t().createElement(im,{dangerouslySetInnerHTML:{__html:r.content}}))),"text"===r.postType&&t().createElement(e.Fragment,null,t().createElement(gt,{noPaddingRight:!0,noPaddingBottom:!0},t().createElement(rm,{postType:r.postType},t().createElement("h3",null,r.title))),t().createElement(gt,null,t().createElement(im,{dangerouslySetInnerHTML:{__html:r.content}})),t().createElement(gt,null,t().createElement(om,{center:!0},t().createElement(sn,{primary:!o.complete,secondary:o.complete,onClick:function(){return i(o.id)}},o.complete?"Already Read":"Mark as read"),t().createElement(Kp,{large:!0,inProgress:o.inProgress,complete:o.complete},t().createElement(Qp,null))))))};am.propTypes={postItem:i().shape(Um).isRequired,activeTabObject:i().shape(Fm).isRequired,onMarkComplete:i().func.isRequired};var cm,lm,sm,um,fm,dm,pm,mm,hm,gm,bm,ym,vm=am;function wm(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var xm=l().div.withConfig({displayName:"LearnMorestyles__Container",componentId:"sc-1sdxbx5-0"})(["width:100%;overflow:hidden;","{padding:0 !important;}","{border-bottom:none;}"],hp,pp),Em=l().i.attrs({className:"ion ion-ios-arrow-forward"}).withConfig({displayName:"LearnMorestyles__TabArrow",componentId:"sc-1sdxbx5-1"})(["color:",";margin-right:6px;transition:0.3s transform;",""],(function(e){return p.cWarning}),(function(e){return!0===e.isActive&&"\n transform: rotate(90deg);\n "})),Sm=l()(gt).withConfig({displayName:"LearnMorestyles__TitleContainer",componentId:"sc-1sdxbx5-2"})(["display:flex;flex-direction:column;"," "," ","{color:",";text-transform:uppercase;}","{color:",";}"],G.Medium(cm||(cm=wm(["\n padding: 64px;\n "]))),G.Large(lm||(lm=wm(["\n padding-right: 96px;\n "]))),Ot,(function(e){return p.cPrimary}),Et,(function(e){return p.cPrimary})),Om=(l().div.withConfig({displayName:"LearnMorestyles__TabTitle",componentId:"sc-1sdxbx5-3"})(["padding:42px 36px;display:flex;justify-content:space-between;font-weight:700;text-transform:uppercase;position:relative;font-size:11px;line-height:20px;letter-spacing:0.6px;"]),l().i.attrs({className:"ion ion-ios-arrow-right"}).withConfig({displayName:"LearnMorestyles__Arrow",componentId:"sc-1sdxbx5-4"})(["&&&{position:absolute;top:50%;right:32px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;margin-top:-8px;","}"],(function(e){return e.isOpened&&"\n transform: rotate(-90deg);\n "})),l()(gt).withConfig({displayName:"LearnMorestyles__SubTabNav",componentId:"sc-1sdxbx5-5"})(["display:flex;align-items:center;font-size:10px;cursor:pointer;transition:0.3s background;background:",";&::before{content:'';display:none;position:absolute;top:52px;bottom:-32px;right:42px;z-index:1;width:0;border-left:1px dotted ",";transform:translateX(50%);"," ","}&:last-child::before{display:none;}",""],(function(e){return p.cWhite}),(function(e){return p.cLightGrey}),G.Medium(sm||(sm=wm(["\n display: block;\n "]))),G.Large(um||(um=wm(["\n right: 74px;\n "]))),(function(e){return e.isActive&&(0,c.css)(fm||(fm=wm(["\n font-weight: 700;\n background: ",";\n "])),p.cGrey)}))),Im=l()(gt).withConfig({displayName:"LearnMorestyles__TabNav",componentId:"sc-1sdxbx5-6"})(["display:flex;align-items:center;font-size:12px;font-weight:700;letter-spacing:0.4px;text-transform:uppercase;cursor:pointer;&:last-child{border-bottom:1px solid ",";}"," + div ","::before{","}"],(function(e){return p.cLightGrey}),(function(e){return e.isActive&&(0,c.css)(dm||(dm=wm(["\n &::before {\n content: '';\n width: 8px;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: ",";\n }\n "])),p.cWarning)}),Om,(function(e){return e.complete&&(0,c.css)(pm||(pm=wm(["\n border-color: ",";\n border-left-style: solid;\n "])),p.cLighterGreen)})),Am=l()(Ro).withConfig({displayName:"LearnMorestyles__SidebarColumn",componentId:"sc-1sdxbx5-7"})(["max-width:300px;position:fixed;background:",";z-index:10000;border-right:1px solid ",";top:0;padding-top:48px;transition:0.3s transform;transform:translateX(-100%);"," "," ",""],(function(e){return p.cWhite}),(function(e){return p.cLightGrey}),(function(e){return e.isExpanded&&"transform: translateX(0);"}),G.Medium(mm||(mm=wm(["\n transform: translateX(0);\n max-width: 300px;\n padding-top: ","px;\n "])),(function(e){return yo})),G.Large(hm||(hm=wm(["\n max-width: 400px;\n "])))),km=l()(Ro).withConfig({displayName:"LearnMorestyles__ContentColumn",componentId:"sc-1sdxbx5-8"})([""," ",""],G.Medium(gm||(gm=wm(["\n margin-left: 300px;\n "]))),G.Large(bm||(bm=wm(["\n margin-left: 400px;\n "])))),Cm=l().h3.withConfig({displayName:"LearnMorestyles__SidebarTitle",componentId:"sc-1sdxbx5-9"})(["font-family:'Open Sans';font-size:20px;line-height:24px;font-weight:700;margin-bottom:20px;"]),Pm=l().div.withConfig({displayName:"LearnMorestyles__SidebarHeading",componentId:"sc-1sdxbx5-10"})(["font-size:12px;letter-spacing:0.4px;font-weight:600;margin-bottom:16px;"]),Tm=l().div.withConfig({displayName:"LearnMorestyles__MobileMenuToggler",componentId:"sc-1sdxbx5-11"})(["display:block;width:48px;height:48px;position:fixed;top:0;left:0;background:",";z-index:10001;"," span{display:block;width:16px;height:2px;position:absolute;top:50%;left:50%;margin-top:-1px;margin-left:-8px;background-color:",";transition:background-color 0.4s,transform 0.4s;&:nth-child(1){transform:translateY(-6px);}&:nth-child(3){transform:translateY(6px);}}",""],(function(e){return p.cWhite}),G.Medium(ym||(ym=wm(["\n display: none;\n "]))),(function(e){return p.cText}),(function(e){return e.isActive&&"\n span {\n background-color: ".concat(p.cPrimary,";\n\n &:nth-child(1) {\n transform: translateY(0) rotate(135deg);\n }\n\n &:nth-child(2) {\n transform: scaleX(0);\n }\n\n &:nth-child(3) {\n transform: translateY(0) rotate(-135deg);\n }\n }\n ")}));function jm(e){return jm="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},jm(e)}function Mm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mm(Object(n),!0).forEach((function(t){Gm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Nm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Rm(e,t){for(var n=0;n<t.length;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)}}function Lm(e,t){return Lm=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Lm(e,t)}function Bm(e,t){if(t&&("object"===jm(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zm(e)}function zm(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dm(e){return Dm=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Dm(e)}function Gm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var qm=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Lm(e,t)}(l,n);var r,o,i,a,c=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Dm(i);if(a){var n=Dm(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Bm(this,e)});function l(){var e;Nm(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Gm(zm(e=c.call.apply(c,[this].concat(n))),"state",{openedTab:"",isMobile:!1,isSidebarExpanded:!1}),Gm(zm(e),"getActiveTab",(function(t){var n=e.props.categories,r={};return n.find((function(e){var n=e.subcategories;return!(!n.length||!(r=n.find((function(e){return e.id===t}))))||e.id===t&&(r=e,!0)})),r})),Gm(zm(e),"setDefaultActiveTab",(function(){var t=e.props.activeCategory;e.toggleTab(t)})),Gm(zm(e),"toggleTab",(function(t){e.state.openedTab!==t?e.setState({openedTab:t}):e.setState({openedTab:""})})),Gm(zm(e),"toggleSidebar",(function(){e.setState((function(e){return{isSidebarExpanded:!e.isSidebarExpanded}}))})),Gm(zm(e),"onResize",(function(){clearTimeout(e.timeout),e.timeout=setTimeout(e.onResizeTimeout,200)})),Gm(zm(e),"onResizeTimeout",(function(){e.setState({isMobile:e.checkIsMobile()})})),Gm(zm(e),"checkIsMobile",(function(){return!window.matchMedia(D("Medium")).matches})),Gm(zm(e),"navigateToSubcategory",(function(t){var n=e.props,r=n.categories,o=n.items;(0,xt.navigate)("/learn-more/".concat(t),{state:{learnMore:{categories:r,items:o}}})})),e}return r=l,(o=[{key:"componentDidMount",value:function(){this.setDefaultActiveTab(),window.addEventListener("resize",this.onResize),this.onResizeTimeout()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize)}},{key:"render",value:function(){var n=this,r=this.props,o=r.activeItem,i=r.items,a=r.categories,c=r.onMarkComplete,l=this.state,s=l.openedTab,u=l.isMobile,f=l.isSidebarExpanded,d=this.getActiveTab(o)||{},p=i.find((function(e){return e.id===o}));return t().createElement(xm,null,t().createElement(No,{nowrap:!0},u&&t().createElement(Tm,{isActive:f,onClick:this.toggleSidebar},t().createElement("span",null),t().createElement("span",null),t().createElement("span",null)),t().createElement(Am,{part:6,isExpanded:f},t().createElement(X,{autoHeight:!0,autoHeightMin:"100vh",autoHeightMax:"100vh"},t().createElement(Sm,null,t().createElement(Pm,null,"INVESTING 101"),t().createElement(Cm,null,"LEARN MORE ABOUT INVESTING"),t().createElement(jt,{to:"/"},"Back to previous page")),t().createElement(Ip,{activeTab:o},a.map((function(r){return t().createElement(e.Fragment,{key:r.id},t().createElement(Im,{borderTop:!0,tabId:r.id,isActive:r.subcategories.some((function(e){return e.id===o})),complete:r.complete,onClick:function(){return n.toggleTab(r.id)}},t().createElement(Em,{isActive:s===r.id}),r.title,t().createElement(Jp,{disabled:!r.tooltip,position:"right center",content:r.tooltip,trigger:t().createElement(Kp,{inProgress:r.inProgress,complete:r.complete},t().createElement(Qp,null))})),t().createElement(Rn.Collapse,{isOpened:s===r.id},r.subcategories.map((function(e){return t().createElement(Om,{key:e.id,tabId:e.id,isActive:o===e.id,onClick:function(){return n.navigateToSubcategory(e.id)}},e.title,t().createElement(Jp,{disabled:!e.tooltip,position:"right center",content:e.tooltip,trigger:t().createElement(Kp,{inProgress:e.inProgress,complete:e.complete},t().createElement(Qp,null))}))}))))}))))),t().createElement(km,{part:16},p&&t().createElement(vm,{postItem:p,activeTabObject:d,onMarkComplete:c}))))}}])&&Rm(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),l}(e.PureComponent),Fm={title:i().string.isRequired,inProgress:i().bool,complete:i().bool,tooltip:i().node},Um={id:i().string.isRequired,title:i().string.isRequired,excerpt:i().string.isRequired,content:i().string.isRequired,postType:i().oneOf(["video","text"]),cover:i().string,videoSrc:i().string};qm.propTypes={items:i().arrayOf(i().shape(Um)).isRequired,categories:i().arrayOf(i().shape(_m(_m({},Fm),{},{subcategories:i().arrayOf(i().shape(Fm))}))).isRequired,onMarkComplete:i().func,activeCategory:i().string.isRequired,activeItem:i().string.isRequired},qm.defaultProps={onMarkComplete:function(){}};var Wm=n(475),Hm=n.n(Wm),Vm={categories:[{id:"category1",title:"Category 1",inProgress:!1,complete:!1,tooltip:"Example tooltip",subcategories:[{id:"category11",title:"Category 1.1",inProgress:!1,complete:!1,tooltip:"Reading time: 2min"}]},{id:"category2",title:"Category 2",inProgress:!0,complete:!1,subcategories:[{id:"category21",title:"Category 2.1",inProgress:!0,complete:!1,tooltip:"Reading time: 2min"},{id:"category22",title:"Category 2.2",inProgress:!1,complete:!0}]},{id:"category3",title:"Category 3",inProgress:!1,complete:!1,subcategories:[{id:"category31",title:"Category 3.1",inProgress:!1,complete:!1,tooltip:"Reading time: 2min"}]}],items:[{id:"category11",title:"Making invisible people visible again!",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>",postType:"video",videoSrc:"",cover:Hm()},{id:"category21",title:"Get a 21 tast of token investing",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:"<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p><h4>Lorem ipsum dolor</h4><p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>",postType:"video",videoSrc:"",cover:Hm()},{id:"category22",title:"Get a 22 tast of token investing",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:'\n <h5>Our vision</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <h5>Our vision list</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <ul>\n <li>List item 1</li>\n <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et</li>\n </ul>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <img src="'.concat(Hm(),'" alt="" />\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n '),postType:"text",cover:Hm()},{id:"category31",title:"Get a 3 tast of token investing",excerpt:"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.",content:'\n <h5>Our vision</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <h5>Our vision list</h5>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <ul>\n <li>List item 1</li>\n <li>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et</li>\n </ul>\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n <img src="'.concat(Hm(),'" alt="" />\n <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p><p>Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>\n '),postType:"text",cover:Hm()}]},Ym=l().div.withConfig({displayName:"Tabsstyles__StyledTabs",componentId:"sc-gc1wc-0"})(["position:relative;width:100%;"]),Qm=l().div.withConfig({displayName:"Tabsstyles__Tab",componentId:"sc-gc1wc-1"})(["position:relative;top:0;left:0;width:100%;"]);function Km(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Jm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Km(Object(n),!0).forEach((function(t){Zm(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Km(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zm(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xm=300,$m={entering:{position:"absolute",opacity:0},entered:{transition:"opacity ".concat(Xm,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(Xm,"ms ease-in-out"),opacity:0}},eh=function(e){var n=e.children,r=e.activeTab;return t().createElement(ai.TransitionGroup,{component:Ym},t().Children.map(n,(function(e){return e.props.tabId===r&&t().isValidElement(e)?t().createElement(ai.Transition,{key:e.props.tabId,timeout:{enter:Xm,exit:Xm}},(function(n){return t().createElement("div",{style:Jm({height:"100%"},$m[n])},e)})):null})))};eh.propTypes={children:i().node.isRequired,activeTab:i().oneOfType([i().number,i().string])},eh.defaultProps={activeTab:0};var th,nh=eh,rh=l().div.withConfig({displayName:"LearnMorestyles__Container",componentId:"sc-aj1pda-0"})(["width:100%;overflow:hidden;","{padding:0 !important;}","{border-bottom:none;}"],hp,pp),oh=l()(gt).withConfig({displayName:"LearnMorestyles__TabNav",componentId:"sc-aj1pda-1"})(["font-size:11px;font-weight:700;text-transform:uppercase;cursor:pointer;height:104px;letter-spacing:0.6px;line-height:1.5;padding:44px 64px !important;",""],(function(e){return e.isActive&&(0,c.css)(th||(th=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n border-right: none !important;\n \n &::before {\n content: '';\n width: 8px;\n position: absolute;\n left: 0;\n top: 0;\n bottom: 0;\n background: ",";\n }\n "])),e.theme.cWarning)})),ih=l().i.attrs({className:"ion ion-ios-arrow-forward"}).withConfig({displayName:"LearnMorestyles__TabArrow",componentId:"sc-aj1pda-2"})(["color:",";margin-right:15px;"],(function(e){return e.theme.cWarning})),ah=(l().div.withConfig({displayName:"LearnMorestyles__SliderWrapper",componentId:"sc-aj1pda-3"})(["width:100%;.slick-arrow{width:64px;height:48px;background:",";z-index:10;transition:0.3s ease background;&:hover,&:focus{background:",";&::before{color:"," !important;}}}.slick-arrow.slick-prev{top:auto;left:auto;bottom:0;right:64px;transform:translate(0);}.slick-arrow.slick-next{top:auto;left:auto;bottom:0;right:0;transform:translate(0);border-left:1px solid ",";}.slick-dots{width:auto;right:164px;height:36px;bottom:0;}"],(function(e){return e.theme.cWarning}),(function(e){return e.theme.cWarningDark}),(function(e){return e.theme.cWhite}),(function(e){return e.theme.cWarningDark})),l()(gt).withConfig({displayName:"LearnMorestyles__TitleContainer",componentId:"sc-aj1pda-4"})(["height:100%;display:flex;align-items:center;flex-grow:1;"])),ch=l().div.withConfig({displayName:"LearnMorestyles__TabTitle",componentId:"sc-aj1pda-5"})(["padding:42px 36px;display:flex;justify-content:space-between;font-weight:700;text-transform:uppercase;position:relative;font-size:11px;line-height:20px;letter-spacing:0.6px;"]),lh=l().i.attrs({className:"ion ion-ios-arrow-down"}).withConfig({displayName:"LearnMorestyles__Arrow",componentId:"sc-aj1pda-6"})(["&&&{position:absolute;top:50%;right:32px;transition:0.3s transform;transform:rotate(0);text-align:center;font-size:16px;line-height:16px;height:16px;margin-top:-8px;","}"],(function(e){return e.isOpened&&"\n transform: rotate(180deg);\n "})),sh=l().div.withConfig({displayName:"LearnMorestyles__SidebarSubHeading",componentId:"sc-aj1pda-7"})(["font-size:11px;line-height:24px;letter-spacing:2.1px;text-transform:uppercase;margin-bottom:20px;"]),uh=l().div.withConfig({displayName:"LearnMoreItemstyles__Container",componentId:"sc-mqjc7z-0"})(["height:100%;"]),fh=l().div.withConfig({displayName:"LearnMoreItemstyles__Cover",componentId:"sc-mqjc7z-1"})(["width:100%;","{width:100%;padding-top:56.25%;}","{position:absolute;top:50%;left:50%;width:auto;transform:translateY(-50%) translateX(-50%);}"],Mt,Rt),dh=(l()(xt.Link).withConfig({displayName:"LearnMoreItemstyles__Play",componentId:"sc-mqjc7z-2"})(["width:48px;height:48px;color:",";background:",";border-radius:50%;display:flex;align-items:center;justify-content:center;transition:0.3s background;&:hover{color:",";background:",";}"],(function(e){return e.theme.cWhite}),(function(e){return e.theme.cWarning}),(function(e){return e.theme.cWhite}),(function(e){return e.theme.cWarningDark})),l().i.attrs({className:"ion ion-md-play"}).withConfig({displayName:"LearnMoreItemstyles__PlayIcon",componentId:"sc-mqjc7z-3"})(["font-size:16px;"]),l().div.withConfig({displayName:"LearnMoreItemstyles__Title",componentId:"sc-mqjc7z-4"})(["font-size:16px;font-weight:600;"])),ph=l().div.withConfig({displayName:"LearnMoreItemstyles__Content",componentId:"sc-mqjc7z-5"})(["font-size:16px;font-weight:300;line-height:1.5;letter-spacing:0.6px;min-height:100px;"]),mh=function(e){var n=e.title,r=e.content,o=e.link,i=e.coverSrc,a=(e.postType,e.videoSrc,e.category);return t().createElement(uh,null,t().createElement(fh,null,t().createElement(zt,{src:i,investmentOpportunities:!0})),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(sh,null,a),t().createElement(dh,null,n)),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(ph,null,r)),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0},t().createElement(sn,{onClick:function(){return(0,xt.navigate)(o)}},"ARTID"===n||"INFINITE-FLEET"===n||"BLOCKSTREAM MINING"===n||"MAZZANTI AUTOMOBILI"===n?"FULL DETAILS":"I'M INTERESTED")))};mh.propTypes={title:i().string.isRequired,content:i().string.isRequired,link:i().string.isRequired,coverSrc:i().string.isRequired,postType:i().string.isRequired};var hh=mh;function gh(e){return gh="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},gh(e)}function bh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bh(Object(n),!0).forEach((function(t){Ih(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vh(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wh(e,t){for(var n=0;n<t.length;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)}}function xh(e,t){return xh=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xh(e,t)}function Eh(e,t){if(t&&("object"===gh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sh(e)}function Sh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Oh(e){return Oh=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Oh(e)}function Ih(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ah=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xh(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Oh(o);if(i){var n=Oh(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Eh(this,e)});function c(){var e;vh(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ih(Sh(e=a.call.apply(a,[this].concat(n))),"state",{activeTab:0,isMobile:!1}),Ih(Sh(e),"onTabChange",(function(t){e.setState({activeTab:t})})),Ih(Sh(e),"onResize",(function(){clearTimeout(e.timeout),e.timeout=setTimeout(e.onResizeTimeout,200)})),Ih(Sh(e),"onResizeTimeout",(function(){e.setState({isMobile:e.checkIsMobile()})})),Ih(Sh(e),"checkIsMobile",(function(){return!window.matchMedia(D("Medium")).matches})),Ih(Sh(e),"getItemsForSubcategories",(function(t){var n=e.props.items;return t.map((function(e){return n.find((function(t){return t.id===e.id}))}))})),e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=this.props.categories;e[0]&&this.onTabChange(e[0].id),window.addEventListener("resize",this.onResize),this.onResizeTimeout()}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onResize)}},{key:"render",value:function(){var e=this,n=this.props.categories,r=this.state,o=r.activeTab;return r.isMobile?t().createElement(rh,null,t().createElement(No,null,t().createElement(Ro,null,t().createElement(ah,null,t().createElement(Te,null,t().createElement(sh,null,"INVESTMENT OPPORTUNITIES"),t().createElement("h3",null,"DISCOVER INVESTMENTS"))),n.map((function(n){var r=e.getItemsForSubcategories(n.subcategories);return t().createElement(gt,{noPadding:!0,borderTop:!0,key:n.id},t().createElement(ch,{onClick:function(){return e.onTabChange(n.id)}},n.title,t().createElement(lh,{isOpened:o===n.id})),t().createElement(Rn.Collapse,{isOpened:o===n.id},t().createElement(fp,{dots:!0,isMobile:!0},r.map((function(e){return t().createElement(ap,{key:e.id},t().createElement(hh,{key:e.id,title:e.title,content:e.excerpt,coverSrc:e.cover,postType:e.postType,link:e.url,videoSrc:e.videoSrc,category:e.category}))})))))}))))):t().createElement(rh,null,t().createElement(No,null,t().createElement(Ro,{part:5,style:{height:"auto"}},t().createElement(ah,{borderRight:!0,borderBottom:!0},t().createElement(Te,{responsiveFont:!0},t().createElement(sh,null,"INVESTMENT OPPORTUNITIES"),t().createElement("h3",null,"DISCOVER INVESTMENTS"))),t().createElement(Ip,{activeTab:o},n.map((function(n){return t().createElement(oh,{key:n.id,borderBottom:!0,borderRight:!0,tabId:n.id,isActive:o===n.id,onClick:function(){return e.onTabChange(n.id)}},t().createElement(ih,null),n.title)}))),t().createElement(ah,{borderRight:!0},t().createElement(Te,null))),t().createElement(Ro,{part:11},t().createElement(nh,{activeTab:o},n.map((function(n){var r=e.getItemsForSubcategories(n.subcategories);return t().createElement(Qm,{tabId:n.id,key:n.id},t().createElement(fp,{arrows:!0,dots:!0},r.map((function(e){return t().createElement(ap,{key:e.id},t().createElement(hh,{key:e.id,title:e.title,content:e.excerpt,coverSrc:e.cover,postType:e.postType,link:e.url,videoSrc:e.videoSrc,category:e.category}))})),t().createElement(ap,null)))}))))))}}])&&wh(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function kh(e){return kh="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},kh(e)}function Ch(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ph(e,t){for(var n=0;n<t.length;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)}}function Th(e,t){return Th=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Th(e,t)}function jh(e,t){if(t&&("object"===kh(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Mh(e)}function Mh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _h(e){return _h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_h(e)}function Nh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Ah.propTypes={items:i().arrayOf(i().shape(Um)).isRequired,categories:i().arrayOf(i().shape(yh(yh({},Fm),{},{subcategories:i().arrayOf(i().shape(Fm))}))).isRequired};var Rh=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Th(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=_h(o);if(i){var n=_h(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return jh(this,e)});function c(){var e;Ch(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Nh(Mh(e=a.call.apply(a,[this].concat(n))),"initialValues",{email:"",password:""}),Nh(Mh(e),"validationSchema",ii.object().shape({email:ii.string().email("Email is not valid").required("Email is required"),password:ii.string().required("Password is required")})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend,i=e.onModalSwitch,a=e.onForgotPassword;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Log in"),t().createElement("p",null,"Please log in to engage in our community & invest in exciting opportunities."))),t().createElement(hi,{modalBot:!0},t().createElement(yi,null,"Don't have an account yet? ",t().createElement(vi,{as:"button",onClick:i},"Sign up")))),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleChange,c=e.handleBlur,l=e.setFieldValue,s=e.setFieldTouched,u=!(o.email&&o.password&&!r.email&&!r.password);return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"sign-up-email",name:"email",type:"email",label:"Your email",value:n.email,onChange:i,onBlur:c,error:!!r.email,touched:!!o.email}),t().createElement(ki,{show:r.email&&o.email},r.email))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ii,null,t().createElement(Xl,{id:"sign-up-password",name:"password",type:"password",label:"Password",value:n.password,onChange:function(e){var t=e.target;l(t.name,t.value,!1),s(t.name)},onBlur:c,error:!!r.password,touched:!!o.password}),t().createElement(ki,{show:r.password&&o.password},r.password))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:u},"Login")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Td,{as:"button",onClick:a},"Forgot password?")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,{center:!0},"By signing up for STOKR, you agree to our ",t().createElement(xt.Link,{to:"#"},"Terms of Service."))))}))))))}}])&&Ph(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Rh.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired,onModalSwitch:i().func.isRequired,onForgotPassword:i().func.isRequired};var Lh=l().nav.withConfig({displayName:"MenuNavstyles__MenuNav",componentId:"sc-1v9gc1o-0"})(["display:inline-block;vertical-align:middle;ul{display:block;list-style:none;font-size:0;padding:0;margin:0;margin:0 -18px;}li{display:inline-block;padding:0;margin:0 18px;}button,a{position:relative;display:block;font-size:11px;line-height:16px;letter-spacing:2px;text-transform:uppercase;padding:2px 0;border:0;margin:0;cursor:pointer;&:hover{opacity:0.68;}}",""],(function(e){return e.mobile&&"\n display: block;\n\n ul {\n margin: 0;\n padding: 0;\n }\n\n li {\n display: block;\n text-align: center;\n margin: 0;\n padding: 18px 16px;\n }\n\n a {\n display: inline-block;\n }\n "})),Bh=l().span.withConfig({displayName:"NotificationCounterstyles__NotificationCounter",componentId:"sc-1pf66l9-0"})(["display:inline-block;vertical-align:middle;color:",";background-color:",";border-radius:8px;min-width:16px;height:16px;font-size:9px;line-height:11px;padding:2px;text-align:center;",""],(function(e){return p.cWhite}),(function(e){return p.cWarning}),(function(e){return e.avatar&&"\n position: absolute;\n top: 0;\n right: 0;\n z-index: 1;\n "})),zh=l().div.withConfig({displayName:"Numberstyles__Container",componentId:"sc-1g8h8k-0"})(["display:inline-block;vertical-align:top;width:24px;height:24px;padding:4px;background-color:",";font-size:0;text-align:center;margin-right:12px;& > svg{display:inline-block;height:16px;width:auto;fill:",";}"],(function(e){return p.cWarning}),(function(e){return p.cWhite})),Dh=function(e){var n=e.number;return t().createElement(zh,null,function(e){switch(e){case 1:return t().createElement(oa,null);case 2:return t().createElement(ia,null);case 3:return t().createElement(aa,null);case 4:return t().createElement(ca,null);default:return null}}(n))};Dh.propTypes={number:i().number.isRequired};var Gh=Dh;function qh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qh(Object(n),!0).forEach((function(t){Uh(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Uh(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Wh=300,Hh={entering:{position:"absolute",opacity:0},entered:{transition:"opacity ".concat(Wh,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(Wh,"ms ease-in-out"),opacity:0}},Vh=function(n){var r=n.children,o=n.location;return t().createElement(e.Fragment,null,t().createElement(ai.TransitionGroup,null,t().createElement(ai.Transition,{key:o.pathname,timeout:{enter:Wh,exit:Wh}},(function(e){return t().createElement("div",{style:Fh({},Hh[e])},r)}))),t().createElement("div",{id:"modalPortal"}))};Vh.propTypes={children:i().node.isRequired,location:i().instanceOf(Object).isRequired};var Yh,Qh,Kh=n(548),Jh=n.n(Kh);function Zh(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Xh,$h=l().div.withConfig({displayName:"Processstyles__Process",componentId:"sc-dvfica-0"})(["display:block;position:relative;font-size:11px;line-height:16px;text-transform:uppercase;padding-right:26px;color:",";opacity:0.3;"," &:before{content:'';font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:19px;line-height:16px;display:block;width:16px;height:16px;position:absolute;top:50%;right:0;margin-top:-8px;","}"," "," ",""],(function(e){return p.cPrimary}),G.Medium(Yh||(Yh=Zh(["\n font-size: 14px;\n line-height: 20px;\n "]))),G.Medium(Qh||(Qh=Zh(["\n font-size: 24px;\n line-height: 20px;\n width: 20px;\n height: 20px;\n margin-top: -10px;\n "]))),(function(e){return e.waiting&&"\n opacity: 1;\n\n &:before {\n content: '';\n background-repeat: no-repeat;\n background-position: 50% 50%;\n background-size: cover;\n background-image: url(".concat(Jh(),");\n }\n ")}),(function(e){return e.success&&"\n opacity: 1;\n\n &:before {\n content: '\\f14a';\n color: ".concat(p.cProgressDone,";\n }\n ")}),(function(e){return e.failed&&"\n opacity: 1;\n color: ".concat(p.cWarning,";\n\n &:before {\n content: '\\f14e';\n }\n ")})),eg=$h;function tg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ng(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rg,og,ig=l().div.withConfig({displayName:"ProofOfAddressstyles__CTABox",componentId:"sc-1a4m108-0"})(["display:flex;flex-direction:column;","{width:240px;}span{font-size:11px;position:relative;top:-2px;}"],sn),ag=l().input.attrs((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tg(Object(n),!0).forEach((function(t){ng(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({type:"file"},e)})).withConfig({displayName:"ProofOfAddressstyles__FileInput",componentId:"sc-1a4m108-1"})(["visibility:hidden;position:absolute;width:0.1px;height:0.1px;z-index:-1;"]),cg=l()(sn).attrs({as:"label",type:void 0}).withConfig({displayName:"ProofOfAddressstyles__FileInputWrapper",componentId:"sc-1a4m108-2"})(["position:relative;word-break:break-all;margin:0;"]),lg=l()(tr).attrs({icon:Xn.trash}).withConfig({displayName:"ProofOfAddressstyles__FileInputRemove",componentId:"sc-1a4m108-3"})(["margin-right:10px;right:0px;font-size:16px;cursor:pointer;transition:0.3s color;color:",";border-radius:50%;border:1px solid ",";padding:10px;&:hover{color:",";}",""],(function(e){return p.cWarning}),(function(e){return p.cLightGrey}),(function(e){return p.cPrimary}),(function(e){return e.disabled&&(0,c.css)(Xh||(Xh=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n pointer-events: none !important;\n opacity: 0.2;\n cursor: default;\n "])))})),sg=l().ul.withConfig({displayName:"ProofOfAddressstyles__FileInputList",componentId:"sc-1a4m108-4"})(["list-style-type:none;padding:0;font-size:12px;width:100%;"]),ug=l().li.withConfig({displayName:"ProofOfAddressstyles__FileInputItem",componentId:"sc-1a4m108-5"})(["padding:0 46px 0 8px;margin-right:8px;position:relative;word-break:break-all;"]),fg=n(216),dg=n.n(fg),pg=n(586),mg=n.n(pg);function hg(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var gg=l().div.withConfig({displayName:"ProfileBadgestyles__Wrapper",componentId:"sc-191tkgo-0"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;flex-grow:1;padding:32px;"," "," ",""],G.Medium(rg||(rg=hg(["\n padding: 12px;\n "]))),(function(e){return"white"===e.color&&"\n color: ".concat(p.cBlack,";\n background-color: ").concat(p.cWhite,";\n\n svg {\n stroke: ").concat(p.cBlack,";\n }\n ")}),(function(e){return"red"===e.color&&"\n color: ".concat(p.cWhite,";\n background-color: ").concat(p.cWarning,";\n\n svg {\n stroke: ").concat(p.cWhite,";\n }\n ")})),bg=l().div.withConfig({displayName:"ProfileBadgestyles__Title",componentId:"sc-191tkgo-1"})(["font-size:11px;line-height:24px;letter-spacing:2.06px;text-transform:uppercase;margin-bottom:20px;",""],(function(e){return e.centerVertically&&(0,c.css)(og||(og=hg(["\n margin-bottom: 0;\n "])))})),yg=l().img.withConfig({displayName:"ProfileBadge__Badge",componentId:"sc-3y9ipg-0"})(["height:100px;@media screen and (max-width:1023px){height:80px;}"]),vg=function(e){var n,r=e.title,o=e.icon,i=e.withIcon,a=e.color,c=e.centerVertically;return t().createElement(gg,{color:a},t().createElement(bg,{centerVertically:c},r),o,i&&t().createElement(yg,{src:(n=r,"Graduation"===n?mg():dg()),alt:r+" badge"}))};vg.propTypes={title:i().string.isRequired,icon:i().node,withIcon:i().bool,color:i().string},vg.defaultProps={icon:void 0,withIcon:void 0,color:"white"};var wg,xg,Eg,Sg,Og=l().div.withConfig({displayName:"ProfileBoxstyles__Container",componentId:"sc-1qi9mhg-0"})(["width:100%;height:100%;display:flex;flex-direction:column;"]),Ig=l().div.withConfig({displayName:"ProfileBoxstyles__ImageWrapper",componentId:"sc-1qi9mhg-1"})(["flex-grow:1;min-height:300px;","{width:100%;padding-top:100%;}"],Mt),Ag=l().button.withConfig({displayName:"ProfileBoxstyles__EditButton",componentId:"sc-1qi9mhg-2"})(["display:block;width:100%;color:",";border-bottom:1px solid ",";transition:color 0.2s;&:focus,&:hover{color:",";}&:focus{outline:none;}& > div{width:100%;}"],(function(e){return e.theme.cBlack}),(function(e){return e.theme.cLightGrey}),(function(e){return e.theme.cPrimary})),kg=l().div.withConfig({displayName:"ProfileBoxstyles__Name",componentId:"sc-1qi9mhg-3"})(["position:relative;font-size:16px;line-height:20px;font-weight:600;letter-spacing:0.6px;text-align:center;"]),Cg=l().i.attrs({className:"ion-md-create"}).withConfig({displayName:"ProfileBoxstyles__EditIcon",componentId:"sc-1qi9mhg-4"})(["margin-left:12px;&:before{transform:rotate(-15deg);}"]),Pg=(l().i.attrs({className:"ion-ios-add-circle-outline"}).withConfig({displayName:"ProfileBoxstyles__AddmoreIcon",componentId:"sc-1qi9mhg-5"})(["margin-left:12px;font-size:30px;"]),{wordBreak:"break-all"}),Tg=function(e){var n=e.pictureSrc,r=e.name,o=e.handleEdit;return t().createElement(Og,null,t().createElement(Ig,null,t().createElement(zt,{src:n})),t().createElement(Ag,{onClick:o},t().createElement(gt,null,t().createElement(kg,{style:Pg},r,t().createElement(Cg,null)))))};function jg(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Tg.propTypes={pictureSrc:i().string.isRequired,name:i().string,handleEdit:i().func},Tg.defaultProps={handleEdit:function(){},name:""};var Mg=l().div.withConfig({displayName:"ProfileStatstyles__Wrapper",componentId:"sc-su73pz-0"})(["display:flex;flex-direction:column;justify-content:center;text-align:center;flex-grow:1;background-color:",";color:",";padding:32px;"," "," "," @media screen and (max-width:768px){max-width:100vw;}"],(function(e){return p.cPrimary}),(function(e){return p.cWhite}),(function(e){return e.withBorder&&"\n box-shadow: inset 0 0.4px 0 0 #313131;\n "}),G.Medium(wg||(wg=jg(["\n padding: 12px 32px;\n text-align: left;\n "]))),G.Large(xg||(xg=jg(["\n padding: 12px 64px;\n text-align: left;\n "])))),_g=l().div.withConfig({displayName:"ProfileStatstyles__Label",componentId:"sc-su73pz-1"})(["font-size:11px;line-height:2.18;letter-spacing:2.1px;text-transform:uppercase;margin-bottom:10px;",""],(function(e){return e.withBorder&&"\n color: #88fa51;\n "})),Ng=l().div.withConfig({displayName:"ProfileStatstyles__Value",componentId:"sc-su73pz-2"})(["font-weight:300;font-size:32px;line-height:36px;letter-spacing:2.43px;text-transform:uppercase;& > span{&:after{content:' ';}}"," ",""],G.Medium(Eg||(Eg=jg(["\n font-size: 44px;\n line-height: 48px;\n "]))),G.Large(Sg||(Sg=jg(["\n font-size: 55px;\n line-height: 58px;\n "])))),Rg=l().div.withConfig({displayName:"ProfileStatstyles__Equal",componentId:"sc-su73pz-3"})(["font-size:11px;line-height:2.18;letter-spacing:2.1px;text-transform:uppercase;margin-top:10px;color:",";overflow-wrap:break-word;& > span{&:after{content:' ';}}"],(function(e){return p.cLighterGreen})),Lg={wordBreak:"break-all"},Bg=function(e){var n=e.label,r=e.unit,o=e.value,i=e.eqUnit,a=e.eqValue,c=e.withBorder;return t().createElement(Mg,{withBorder:c},t().createElement(_g,{withBorder:c},n),t().createElement(Ng,{style:Lg},r&&t().createElement("span",null,r),o),a&&i?t().createElement(Rg,null,"= ",i&&t().createElement("span",null,i),a):"")};Bg.propTypes={label:i().string.isRequired,unit:i().string,value:i().string.isRequired,eqUnit:i().string,eqValue:i().string.isRequired},Bg.defaultProps={unit:"",eqUnit:""};var zg=l().div.withConfig({displayName:"Radiostyles__Wrapper",componentId:"sc-bz07fp-0"})(["position:relative;display:block;"]),Dg=l()(_e).withConfig({displayName:"Radiostyles__Label",componentId:"sc-bz07fp-1"})(["position:relative;top:0;transform:none;font-size:10px;margin-bottom:5px;"]),Gg=l().div.withConfig({displayName:"Radiostyles__Input",componentId:"sc-bz07fp-2"})(["position:relative;& > input{z-index:-1;position:absolute;top:4px;left:4px;display:block;width:1px;height:0;opacity:0;border:0;& + label{position:relative;display:inline-block;max-width:100%;padding-left:28px;font-family:'Open Sans';font-size:13px;line-height:16px;letter-spacing:0.4px;cursor:pointer;&:before,&:after{content:'';display:block;position:absolute;}&:before{top:0;left:0;width:16px;height:16px;border-radius:8px;border:1px solid #9b9b9b;box-shadow:none;transition:border-color 0.2s;}&:after{top:5px;left:5px;width:6px;height:6px;border-radius:3px;background-color:transparent;}}&:focus + label,&:hover + label{&:before{border-color:",";}}&:checked + label{&:after{background-color:",";}}}",""],(function(e){return p.cPrimary}),(function(e){return p.cPrimary}),(function(e){return e.error&&"\n & > input {\n\n & + label {\n\n &:before {\n border-color: ".concat(p.cWarning,";\n }\n }\n }\n ")})),qg=function(e){var n=e.id,r=e.name,o=e.text,i=e.label,a=e.value,c=e.checked,l=e.error,s=e.touched,u=e.onChange,f=e.onBlur,d=e.onFocus;return t().createElement(zg,null,i&&t().createElement(Dg,{error:l&&s,htmlFor:n},i),t().createElement(Gg,{error:l&&s},t().createElement("input",{type:"radio",id:n,name:r||n,value:a,checked:c,onChange:u,onBlur:f,onFocus:d}),t().createElement("label",{htmlFor:n},o)))};qg.propTypes={id:i().string.isRequired,name:i().string,text:i().oneOfType([i().string,i().node]),label:i().string,value:i().string,checked:i().bool,error:i().bool,touched:i().bool,onChange:i().func,onBlur:i().func,onFocus:i().func},qg.defaultProps={name:"",text:"",label:"",value:"",checked:!1,error:!1,touched:!1,onChange:function(){},onBlur:function(){},onFocus:function(){}};var Fg=l().div.withConfig({displayName:"RefreshButtonstyles__IconWrap",componentId:"sc-6xdnj8-0"})(["display:block;width:24px;height:24px;position:absolute;top:50%;margin-top:-12px;left:0;border-radius:12px;& > svg{fill:",";stroke:",";display:block;width:16px;height:16px;position:absolute;top:50%;left:50%;margin-top:-8px;margin-left:-8px;transition:color 0.2s;}"],(function(e){return p.cPrimary}),(function(e){return p.cPrimary})),Ug=l()(sn).attrs((function(e){return{type:e.type||"button"}})).withConfig({displayName:"RefreshButtonstyles__StyledButton",componentId:"sc-6xdnj8-1"})(["position:relative;color:",";border:1px solid transparent;background-color:transparent;text-align:left;padding:11px 0;padding-left:34px;&:hover,&:focus,&:active{color:",";border-color:transparent;background-color:transparent;","{& > svg{fill:",";transform:rotate(360deg);transition:color 0.2s,transform 0.3s ease-out;}}}"],(function(e){return p.cBlack}),(function(e){return p.cBlack}),Fg,(function(e){return p.cPrimaryDark})),Wg=l().div.withConfig({displayName:"RefreshButtonstyles__Content",componentId:"sc-6xdnj8-2"})(["display:inline-block;"]),Hg=function(e){var n=e.children;return t().createElement(Ug,e,t().createElement(Fg,null,t().createElement(na,null)),t().createElement(Wg,null,n))};Hg.propTypes={children:i().node.isRequired};var Vg=Hg,Yg=l()(Te).withConfig({displayName:"RegisterConfirmModalstyles__ContainerWithLine",componentId:"sc-1nohxj5-0"})(["position:relative;padding-left:48px;&::before{content:'';width:6px;height:72px;background:",";position:absolute;left:0;top:6px;}"],s.blue),Qg=function(e){var n=e.isModalOpen,r=e.onModalClose;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0}," "),t().createElement(hi,{modalBot:!0}," ")),t().createElement(Ro,{part:8,relative:!0},t().createElement(hi,null,t().createElement(Yg,null,t().createElement(Te,null,t().createElement("h3",null,"Please confirm your email"),t().createElement("p",null,"We've sent you an email, please click the link in that email to verify your email address within period.")),t().createElement(Te.Caption,null,"Email didn't arrive?",t().createElement("br",null)),t().createElement(Td,{to:"#"},"Resend email"))))))};Qg.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired};var Kg=require("react-device-detect"),Jg=require("mobile-detect"),Zg=n.n(Jg),Xg=require("algosdk"),$g=n.n(Xg),eb=require("@randlabs/myalgo-connect"),tb=n.n(eb);function nb(e){return nb="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},nb(e)}function rb(){rb=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==nb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function ob(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ib(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ob(i,r,o,a,c,"next",e)}function c(e){ob(i,r,o,a,c,"throw",e)}a(void 0)}))}}var ab=function(){var e=ib(rb().mark((function e(t,n){return rb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=ib(rb().mark((function e(r,o){var i,a,c;return rb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ic().getJSON("STOKR_ACCESS_TOKEN");case 2:return i=e.sent,a=JSON.stringify(n),i||console.log("no access token"),e.prev=5,e.next=8,rc({method:"POST",url:t,data:a,headers:{Authorization:"Bearer ".concat(i)}});case 8:c=e.sent,r(c.data),e.next=16;break;case 12:e.prev=12,e.t0=e.catch(5),console.log("Error: ".concat(e.t0)),o(e.t0);case 16:case"end":return e.stop()}}),e,null,[[5,12]])})));return function(t,n){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),cb=ab;function lb(e){return lb="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},lb(e)}function sb(){sb=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==lb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function ub(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function fb(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ub(i,r,o,a,c,"next",e)}function c(e){ub(i,r,o,a,c,"throw",e)}a(void 0)}))}}var db="MAINNET"===process.env.REACT_APP_ALGORAND_NETWORK?"https://mainnet-algorand.api.purestake.io/ps2":"https://testnet-algorand.api.purestake.io/ps2",pb=new($g().Algodv2)({"X-API-Key":"SrQSzKKohyprkKfnZPc19z0qOhhLndB4JFTc7Nh8"},db,"443"),mb=new(tb()),hb=function(){return new(Zg())(window.navigator.userAgent),Kg.isChrome},gb=function(){return void 0!==window.AlgoSigner},bb=function(){var e=fb(sb().mark((function e(t){var n,r;return sb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,window.AlgoSigner.connect({ledger:t});case 3:return e.next=5,window.AlgoSigner.accounts({ledger:t});case 5:return n=e.sent,r=n,e.abrupt("return",r);case 10:return e.prev=10,e.t0=e.catch(0),e.abrupt("return",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}(),yb=function(){var e=fb(sb().mark((function e(){var t,n;return sb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,mb.connect();case 3:return t=e.sent,n=t.map((function(e){return e.address})),e.abrupt("return",n);case 8:return e.prev=8,e.t0=e.catch(0),e.abrupt("return",e.t0);case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),vb=function(){var e=fb(sb().mark((function e(t,n,r,o){var i,a,c,l,s,u,f,d,p,m,h;return sb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,cb("user/createOptinTx",{account:n,assetId:Number(t)});case 2:if(i=e.sent,a=i.map((function(e){return new Uint8Array(Object.values(e))})),"algosigner"!==r){e.next=20;break}return c=window.AlgoSigner.encoding.msgpackToBase64(a[2]),l=window.AlgoSigner.encoding.msgpackToBase64(a[0]),e.next=9,window.AlgoSigner.signTxn([{txn:l,signers:[]},{txn:c}]);case 9:return s=e.sent,u=a[1],f=new Uint8Array(atob(s[1].blob).split("").map((function(e){return e.charCodeAt(0)}))),(d=new Uint8Array(u.byteLength+f.byteLength)).set(new Uint8Array(u),0),d.set(new Uint8Array(f),u.byteLength),p=btoa(String.fromCharCode.apply(null,d)),e.next=18,window.AlgoSigner.send({ledger:o,tx:p});case 18:e.next=27;break;case 20:return e.next=22,mb.signTransaction(a[2]);case 22:return m=e.sent,(h=[a[1]]).push(m.blob),e.next=27,pb.sendRawTransaction(h).do();case 27:return e.abrupt("return",!0);case 28:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}();function wb(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var xb=function(n){var r=n.setWallet,o=n.changeStep,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wb(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wb(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),c=i[0],l=i[1];return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Choose your wallet"),t().createElement("p",null,"Please choose the wallet you either already have or would like to signup with."),t().createElement("p",null,"Before chosing your wallet please make sure you are using the right browser and have the right plug-ins installed."))),t().createElement(gt,null,t().createElement(ro,null,t().createElement(sn,{onClick:function(){r("myalgo"),o()},fluid:!0},"My Algo Wallet"),c?t().createElement(sn,{onClick:function(){r("algosigner")},fluid:!0},"Refresh"):hb()?t().createElement(sn,{onClick:function(){gb()?(r("algosigner"),o()):(window.open("https://www.purestake.com/technology/algosigner/","_blank"),l(!0))},disabled:!hb(),fluid:!0},gb()?"AlgoSigner":"Get AlgoSigner"):t().createElement(t().Fragment,null,t().createElement(a.Tooltip,{title:"A chrome-based browser is required to connect with an Algosigner wallet.",position:"top",theme:"light",arrow:!0,duration:200,style:{display:"inline-flex",width:"50%"}},t().createElement(sn,{disabled:!hb()},"AlgoSigner"))))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"What is a crypto wallet?",content:"A crypto wallet is a hardware device or browser interface to manage and protect your private key and as a result the transactions you are making on the blockchain."},{title:"Which Algorand wallet should I use?",content:"Both wallets perform the exact same function and both are quite easy to download and use. The key difference is that MyAlgo is a more popular choice amongst Algorand holders for its range of functionality. Algosigner might be a good choice if you are just looking for something basic and hold your assets obtained from the STOKR platform."}]}))))};xb.propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var Eb=t().memo(xb),Sb=xb,Ob=function(e){var n=e.changeStep,r=e.wallet,o=e.setWallet;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,"algosigner"===r&&t().createElement(t().Fragment,null,t().createElement("h3",null,"CONNECT AN ALGOSIGNER WALLET"),t().createElement("p",null,"Please click on the 'CONNECT' button below. If you don't already have an Algosigner wallet, the link will take you through the registration process. Just follow the prompts when you are taken to the page. Once you finish creating the wallet, you can come back to this page and connect it."),t().createElement("p",null,"If you already have an Algosigner wallet, please make sure the extension is enabled on your browser. There will be a pop-up that is presented asking for STOKR's permission to view your current wallet address.")),"myalgo"===r&&t().createElement(t().Fragment,null,t().createElement("h3",null,"CONNECT A MY ALGO WALLET"),t().createElement("p",null,"Please click on the 'CONNECT' button below. If you don't already have an My Algo wallet, the link will take you to a pop-up to create a wallet. Just follow the prompts. Once you finish creating the wallet, you can come back to this page and connect it."),t().createElement("p",null,"If you already have a My Algo wallet, you may need to log into it. If so, there will be a prompt for this.")))),t().createElement(gt,{center:!0},"algosigner"===r&&t().createElement(sn,{minWidth:"240px",onClick:function(){o("algosigner"),n()},disabled:!gb()},"Connect"),"myalgo"===r&&t().createElement(sn,{minWidth:"240px",onClick:function(){o("myalgo"),n()}},"Connect"))))};Ob.propTypes={changeStep:i().func.isRequired};var Ib=Ob;function Ab(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function kb(e){return kb="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},kb(e)}function Cb(){Cb=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==kb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Pb(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Tb(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Pb(i,r,o,a,c,"next",e)}function c(e){Pb(i,r,o,a,c,"throw",e)}a(void 0)}))}}function jb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mb(e,t){for(var n=0;n<t.length;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)}}function _b(e,t){return _b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_b(e,t)}function Nb(e,t){if(t&&("object"===kb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Rb(e)}function Rb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Lb(e){return Lb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Lb(e)}function Bb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(function(n){n.data;var r=n.setWallet,o=n.changeStep,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ab(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ab(e,t):void 0}}(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.")}()}((0,e.useState)(!1),2),a=i[0],c=i[1];return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Choose your wallet"),t().createElement("p",null,"In the next couple of steps we’ll guide you through registering an Ethereum address from your Ledger or MetaMask wallet."),t().createElement("p",null,"Before chosing your wallet please make sure you are using the right browser and have the right plug-ins installed. Please have a look at the FAQs below for more information."))),t().createElement(gt,null,t().createElement(ro,null,t().createElement(sn,{onClick:function(){r("ledger"),o()}},"Ledger"),a?t().createElement(sn,{onClick:function(){window.location.reload()}},"Refresh"):t().createElement(sn,{onClick:function(){window.open("https://metamask.io","_blank"),c(!0)}},"Get Metamask"))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which wallet should I use?",content:"Metamask is a software wallet in the form of a browser extension that can be installed on a compatible browser on the spot. Hardware wallets like Ledger are considered more secure for being physical devices that store your private key(s) offline."},{title:"I don't have an Ethereum wallet, what now?",content:"You can install the MetaMask wallet and create an Ethereum address in minutes. Just go to metamask.io and download the browser extension to set-up your wallet. (Chrome, Firefox, Opera or Brave browser required). Afterwards, you will need to refresh this page to proceed. "},{title:"What is a wallet?",content:"A wallet is a hardware device or browser interface to manage and protect your private key and as a result the transactions you are making on the blockchain. "}]}))))}).propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var zb="waiting",Db="success",Gb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_b(e,t)}(s,e);var n,r,o,i,a,c,l=(a=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Lb(a);if(c){var n=Lb(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Nb(this,e)});function s(){var e;jb(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Bb(Rb(e=l.call.apply(l,[this].concat(n))),"state",{showRetry:!1,showContinue:!1,firstProcess:zb,secondProcess:""}),Bb(Rb(e),"onRetryClick",(function(){e.setState({showRetry:!1,firstProcess:zb,secondProcess:""}),e.detectLedger()})),Bb(Rb(e),"onContinueClick",(function(){(0,e.props.changeStep)()})),Bb(Rb(e),"setStateDelayed",(function(t,n){e.timeout=setTimeout((function(){e.setState(t)}),n)})),Bb(Rb(e),"getProcessProps",(function(e){return e?Bb({},e,!0):{}})),e}return n=s,r=[{key:"detectLedger",value:(i=Tb(Cb().mark((function e(){return Cb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"componentDidMount",value:(o=Tb(Cb().mark((function e(){return Cb().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.detectLedger();case 2:case"end":return e.stop()}}),e,this)}))),function(){return o.apply(this,arguments)})},{key:"componentDidUpdate",value:function(e){var t=e.firstProcess,n=e.secondProcess,r=this.state,o=r.firstProcess,i=r.secondProcess;o===t&&i===n||(clearTimeout(this.timeout),o===Db&&i===zb&&this.setStateDelayed({showContinue:!0,secondProcess:Db},2e3))}},{key:"render",value:function(){var e=this.state,n=e.showRetry,r=e.showContinue,o=e.firstProcess;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"PLUG IN YOUR DEVICE"),t().createElement("p",null,"Psst... using a different hardware wallet? No dice. At the moment, we only support Ledger, but we're working on it."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(eg,this.getProcessProps(o),"1. PLUG IN YOUR DEVICE",t().createElement("br",null),t().createElement("p",null,"Grab that USB cable and get your computer and cryptovault connected."),"2. ENTER YOUR PIN",t().createElement("br",null),t().createElement("p",null,"Use the buttons on your device to enter and confirm your pin."),"3. SELECT ETHEREUM APP",t().createElement("br",null),t().createElement("p",null,"Navigate to the Ethereum app on your Ledger and select it by pressing both buttons at once."))),t().createElement(Rn.Collapse,{isOpened:n},t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onRetryClick},"Retry"))),t().createElement(Rn.Collapse,{isOpened:r},t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Next")))))}}],r&&Mb(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(e.PureComponent);Gb.propTypes={changeStep:i().func.isRequired};i().func.isRequired;var qb=JSON.parse('{"m1":{"ho":[0,3],"Nq":[3,5]}}');function Fb(e){return Fb="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},Fb(e)}function Ub(){Ub=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Fb(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Wb(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Hb(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vb(e,t){for(var n=0;n<t.length;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)}}function Yb(e,t){return Yb=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Yb(e,t)}function Qb(e,t){if(t&&("object"===Fb(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Kb(e)}function Kb(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jb(e){return Jb=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Jb(e)}function Zb(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xb=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Yb(e,t)}(s,e);var n,r,o,i,a,c,l=(a=s,c=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Jb(a);if(c){var n=Jb(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Qb(this,e)});function s(){var e;Hb(this,s);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Zb(Kb(e=l.call.apply(l,[this].concat(n))),"state",{selectedAddress:null,showAll:!1,addressPool:void 0}),Zb(Kb(e),"onAddressChange",(function(t){e.setState({selectedAddress:t.target.value})})),Zb(Kb(e),"onRegisterClick",(function(){var t=e.state,n=t.addressPool,r=t.selectedAddress,o=e.props,i=o.changeStep,a=o.setAddressToRegister;for(var c in n)n[c].radioId===r&&a(n[c].address);r&&i&&i()})),Zb(Kb(e),"toggleShowAll",(function(){var t=e.state.showAll;e.setState({showAll:!t})})),e}return n=s,r=[{key:"componentDidMount",value:(o=Ub().mark((function e(){return Ub().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})),i=function(){var e=this,t=arguments;return new Promise((function(n,r){var i=o.apply(e,t);function a(e){Wb(i,n,r,a,c,"next",e)}function c(e){Wb(i,n,r,a,c,"throw",e)}a(void 0)}))},function(){return i.apply(this,arguments)})},{key:"render",value:function(){var e=this,n=this.state,r=n.selectedAddress,o=n.showAll,i=n.addressPool;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Select an ethereum address"),t().createElement("p",null,"On this address you will receive your security tokens. You can also use it to purchase security tokens using Ether, Gemini or Tether. "))),i?t().createElement(t().Fragment,null,t().createElement(gt,{noPadding:!0},i.slice(qb.m1.ho[0],qb.m1.ho[1]).map((function(n,o){return t().createElement(_r,{key:n+o,title:n.title,address:n.address,data:{value:n.ether,unit:"ETH",eqValue:n.euro,eqUnit:"€"},radio:{id:n.id,name:"address",value:n.radioId,checked:r===n.radioId,onChange:e.onAddressChange,onBlur:function(){}},wrapped:!0,borderTop:!0})}))),t().createElement(Rn.Collapse,{isOpened:o},t().createElement(gt,{noPadding:!0},i.slice(qb.m1.Nq[0],qb.m1.Nq[1]).map((function(n,o){return t().createElement(_r,{key:n+o,title:n.title,address:n.address,data:{value:n.ether,unit:"ETH",eqValue:n.euro,eqUnit:"€"},radio:{id:n.id,name:"address",value:n.radioId,checked:r===n.radioId,onChange:e.onAddressChange,onBlur:function(){}},wrapped:!0,borderTop:!0})})))),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0,borderTop:!0},t().createElement(gt,{noPaddingBottom:!0,center:!0},t().createElement(Td,{as:"button",onClick:this.toggleShowAll},o?"view less":"view more")),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onRegisterClick,disabled:null===r},"Register selected address")))):t().createElement(gt,{borderTop:!0,borderBottom:!0,center:!0},t().createElement(to,{refresh:"Please wait while we connect to your Ledger"},t().createElement(_r,{title:"ethereum address",address:"",data:{value:""}}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which address should I choose?",content:"If you're planning to use the address to purchase tokens, choose one with sufficient funds or that you plan to top up. For your security and privacy, it's considered best practice to use more than one address for your crypto investments."}]}))))}}],r&&Vb(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),s}(e.PureComponent);function $b(e){return $b="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},$b(e)}function ey(){ey=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==$b(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function ty(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ny(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){ty(i,r,o,a,c,"next",e)}function c(e){ty(i,r,o,a,c,"throw",e)}a(void 0)}))}}function ry(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function oy(e,t){for(var n=0;n<t.length;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)}}function iy(e,t){return iy=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},iy(e,t)}function ay(e,t){if(t&&("object"===$b(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return cy(e)}function cy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ly(e){return ly=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ly(e)}function sy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Xb.propTypes={changeStep:i().func.isRequired};var uy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&iy(e,t)}(u,e);var n,r,o,i,a,c,l,s=(c=u,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ly(c);if(l){var n=ly(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ay(this,e)});function u(){var e;ry(this,u);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return sy(cy(e=s.call.apply(s,[this].concat(n))),"state",{correct:!1,refresh:!1,failed:!1,address:"0x0000000000000000000000000000000000000000",data:{value:"0",unit:"ETH",eqValue:"0",eqUnit:"€"}}),sy(cy(e),"setStateDelayed",(function(t,n){e.timeout=setTimeout((function(){e.setState(t)}),n)})),sy(cy(e),"onRefreshClick",ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)})))),sy(cy(e),"onRegisterClick",(function(){var t=e.state,n=t.correct,r=t.address,o=e.props,i=o.changeStep;(0,o.setAddressToRegister)(r),n&&i()})),e}return n=u,r=[{key:"getBalanceData",value:(a=ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)})},{key:"initMetamask",value:(i=ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return i.apply(this,arguments)})},{key:"componentDidMount",value:(o=ny(ey().mark((function e(){return ey().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}}),e)}))),function(){return o.apply(this,arguments)})},{key:"render",value:function(){var e=this.state,n=e.correct,r=e.refresh,o=e.failed,i=e.address,a=e.data;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Select an ethereum address"),t().createElement("p",null,"On this address you will receive your security tokens. You can also use it to purchase security tokens using Ether, Gemini or Tether."))),t().createElement(gt,null,t().createElement(Zu,null,"YOUR CURRENT ADDRESS")),t().createElement(gt,{borderTop:!0,borderBottom:!0},n?t().createElement(to,{refresh:r?"Refreshing":"",failed:o?"NO DICE. PLEASE CHECK METAMASK IS CONNECTED, THEN HIT REFRESH.":""},t().createElement(_r,{title:"ethereum address",address:i,data:a})):t().createElement(to,{refresh:n||o?"":"We're fetching your registered address from your MetaMask.",failed:o?"Our interface couldn't connect to MetaMask because you need to give permission to do so. Try again?":""},t().createElement(_r,{title:"ethereum address",address:i,data:a}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(ky,{center:!0},"To use a different MetaMask address, select one from the MetaMask extension on your browser and press the refresh button below.")),t().createElement(gt,{center:!0},t().createElement(Vg,{onClick:this.onRefreshClick},"TRY AGAIN")),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{minWidth:"300px",onClick:this.onRegisterClick,disabled:!n},"REGISTER THIS ADDRESS")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which address should I choose?",content:"If you're planning to use the address to purchase tokens, choose one with sufficient funds or that you plan to top up. For your security and privacy, it's considered best practice to use more than one address for your crypto investments."}]}))))}}],r&&oy(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),u}(e.PureComponent);function fy(e){return fy="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},fy(e)}function dy(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function py(e,t){for(var n=0;n<t.length;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)}}function my(e,t){return my=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},my(e,t)}function hy(e,t){if(t&&("object"===fy(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return gy(e)}function gy(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function by(e){return by=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},by(e)}function yy(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}uy.propTypes={changeStep:i().func.isRequired};var vy=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&my(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=by(o);if(i){var n=by(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return hy(this,e)});function c(){var e;dy(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return yy(gy(e=a.call.apply(a,[this].concat(n))),"initialValues",{name:""}),yy(gy(e),"validationSchema",ii.object().shape({name:ii.string().required("Address name is required")})),yy(gy(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.props,r=n.error,o=n.isUpdatingUser;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Ethereum address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Name your ethereum address"),t().createElement("p",null,"Give your address a name that reflects what it will store. Remember Satoshi's recommendation to spread your crypto investments over different addresses. "))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(bo,{items:[{title:"Why should I name my Ethereum address?",content:"If you're following best practice and spreading your crypto investments over different addresses, a name makes it easier to manage your portfolio."}]})),t().createElement(gt,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(n){var i=n.values,a=n.errors,c=n.touched,l=n.handleBlur,s=n.setFieldValue,u=n.setFieldTouched,f=!c.name||!!a.name||o;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"register-eth-name",name:"name",label:"Address name",value:i.name,onChange:function(t){var n=e.props.setNameToRegister,r=t.target;s(r.name,r.value,!1),u(r.name),n(r.value)},onBlur:l,error:!!a.name,touched:!!c.name}),t().createElement(ki,{show:a.name&&c.name},a.name))),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:f},"Use this name"),t().createElement(ki,{withTopSpacing:!0,show:r},r),"`"))}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Why should I name my Ethereum address?",content:"If you're following best practice and spreading your crypto investments over different addresses, a name makes it easier to manage your portfolio."}]}))))}}])&&py(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);vy.propTypes={changeStep:i().func.isRequired};var wy;i().func.isRequired,l().div.withConfig({displayName:"_styles__EthStep",componentId:"sc-138eabt-0"})(["position:relative;height:100%;"]);var xy,Ey,Sy,Oy,Iy,Ay,ky=l().div.withConfig({displayName:"_styles__EthInfo",componentId:"sc-138eabt-1"})(["font-family:'Open Sans';font-weight:300;font-size:9px;line-height:1.78em;letter-spacing:0.4px;color:",";opacity:0.5;"," "," a{text-decoration:underline;transition:color 0.2s;&:hover{color:",";}}"],(function(e){return p.cBlack}),(function(e){return e.center&&"text-align: center;"}),G.Large(wy||(wy=function(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n font-size: 12px;\n "]))),(function(e){return p.cPrimary})),Cy=l().h1.withConfig({displayName:"Headline",componentId:"sc-ddpbve-0"})(["",";",";",""],(function(e){return e.first&&(0,c.css)(["margin-top:0;"])}),(function(e){var t=e.align,n=void 0===t?"left":t;return(0,c.css)(["text-align:",";"],n)}),(function(e){return e.stoHeading&&(0,c.css)(["font-size:34px;font-weight:800;font-style:normal;font-stretch:normal;line-height:1.18;letter-spacing:1.5px;text-transform:uppercase;margin-bottom:32px;margin-top:28px;@media screen and (max-width:767px){font-size:22px;}"])})),Py=(0,c.keyframes)(["50%{color:transparent;}"]),Ty=l()(Cy).withConfig({displayName:"StyledText",componentId:"sc-b8anzz-0"})(["margin:0;display:inline-block;padding-right:5px;span{animation:"," 1s infinite;}span[data-order='1']{animation-delay:250ms;}span[data-order='2']{animation-delay:500ms;}"],Py);function jy(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var My=l().div.withConfig({displayName:"ToDoListstyles__Container",componentId:"sc-r2zwpf-0"})([""]),_y=l().div.withConfig({displayName:"ToDoListstyles__TitleContainer",componentId:"sc-r2zwpf-1"})(["display:flex;align-items:center;",""],(function(e){var t=e.marginBottom;return t&&(0,c.css)(xy||(xy=jy(["\n margin-bottom: ",";\n "])),t)})),Ny=l().div.withConfig({displayName:"ToDoListstyles__Title",componentId:"sc-r2zwpf-2"})(["font-size:22px;font-weight:800;line-height:28px;letter-spacing:0.8px;text-transform:uppercase;"]),Ry=l().div.withConfig({displayName:"ToDoListstyles__Subtitle",componentId:"sc-r2zwpf-3"})(["font-size:11px;line-height:24px;letter-spacing:2.06px;text-transform:uppercase;margin-bottom:10px;"," ",""],(function(e){return e.centerVertically&&(0,c.css)(Ey||(Ey=jy(["\n margin-bottom: 0;\n "])))}),(function(e){var t=e.marginLeft;return t&&(0,c.css)(Sy||(Sy=jy(["\n margin-left: ",";\n "])),t)})),Ly=l().span.withConfig({displayName:"ToDoListstyles__PendingCounter",componentId:"sc-r2zwpf-4"})(["width:16px;height:16px;margin-left:3px;margin-right:13px;color:",";background:",";border-radius:50%;font-size:9px;font-weight:600;text-align:center;line-height:16px;padding-left:1px;"],s.white,s.orangishRed),By=(l().div.withConfig({displayName:"ToDoListstyles__Section",componentId:"sc-r2zwpf-5"})(["padding:28px 0;"]),l().div.withConfig({displayName:"ToDoListstyles__SectionTitle",componentId:"sc-r2zwpf-6"})(["font-size:11px;font-weight:bold;line-height:20px;letter-spacing:1.8px;text-transform:uppercase;padding-bottom:14px;margin-bottom:16px;text-align:left;border-bottom:1px solid ",";"],s.grey),l().div.withConfig({displayName:"ToDoListstyles__Button",componentId:"sc-r2zwpf-7"})(["",""],G.Medium(Oy||(Oy=jy(["\n margin-top: auto;\n "])))),l().div.withConfig({displayName:"ToDoListstyles__AllDoneContainer",componentId:"sc-r2zwpf-8"})(["display:flex;flex-direction:column;align-items:center;",""],G.Medium(Iy||(Iy=jy(["\n flex-direction: row;\n "])))),l().div.withConfig({displayName:"ToDoListstyles__AllDoneIconContainer",componentId:"sc-r2zwpf-9"})(["width:102px;height:102px;display:flex;border:1px dashed ",";border-radius:50%;flex-shrink:0;margin-bottom:16px;",""],s.blue,G.Medium(Ay||(Ay=jy(["\n margin-right: 26px;\n margin-bottom: 0;\n "])))),l().i.attrs({className:"ion ion-md-checkmark"}).withConfig({displayName:"ToDoListstyles__AllDoneIcon",componentId:"sc-r2zwpf-10"})(["width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:",";color:",";font-size:18px;padding:12px;border-radius:50%;margin:auto;",""],s.blue,s.white,(function(e){return e.green&&"\n background-color: ".concat(s.freshGreen,";")}))),zy=process.env.REACT_APP_BASE_URL_PUBLIC||"https://platform-api-no-auth.stokr.info/api/v1/",Dy=tc().create({headers:{"Content-Type":"application/json"},baseURL:zy});function Gy(e){return Gy="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},Gy(e)}function qy(){qy=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Gy(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Fy(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Uy(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Fy(i,r,o,a,c,"next",e)}function c(e){Fy(i,r,o,a,c,"throw",e)}a(void 0)}))}}var Wy=function(){var e=Uy(qy().mark((function e(t,n){return qy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",new Promise(function(){var e=Uy(qy().mark((function e(r,o){var i,a;return qy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=JSON.stringify(n),e.prev=1,e.next=4,Dy({method:"POST",url:t,data:i});case 4:a=e.sent,r(a.data),e.next=12;break;case 8:e.prev=8,e.t0=e.catch(1),console.log("Error: ".concat(e.t0)),o(e.t0);case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}()));case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),Hy=Wy;function Vy(e){return Vy="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},Vy(e)}function Yy(){Yy=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Vy(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Qy(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Ky(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Qy(i,r,o,a,c,"next",e)}function c(e){Qy(i,r,o,a,c,"throw",e)}a(void 0)}))}}function Jy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zy(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zy(e,t):void 0}}(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 Zy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Xy(){return Xy=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xy.apply(this,arguments)}var $y=function(e){return t().createElement(Ty,Xy({style:{fontSize:40}},e),t().createElement("span",{"data-order":"0"},"."),t().createElement("span",{"data-order":"1"},"."),t().createElement("span",{"data-order":"2"},"."))},ev=function(n){var r=Jy((0,e.useState)(!1),2),o=r[0],i=r[1],a=Jy((0,e.useState)(!1),2),c=a[0],l=a[1],s=Jy((0,e.useState)(!1),2),u=s[0],f=s[1],d=Jy((0,e.useState)({}),2),p=d[0],m=d[1],h=Jy((0,e.useState)([{address:"0x0000000000000000000000000000000000000000",balance:0}]),2),g=h[0],b=h[1];(0,e.useEffect)((function(){function e(){return(e=Ky(Yy().mark((function e(){return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("algosigner"!==n.wallet){e.next=3;break}return e.next=3,x();case 3:if("myalgo"!==n.wallet){e.next=6;break}return e.next=6,S();case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}!function(){e.apply(this,arguments)}()}),[]),(0,e.useEffect)((function(){c&&O(!1,2e3)}),[c]),(0,e.useEffect)((function(){n.verifiedAddress&&n.changeStep()}),[n.verifiedAddress]);var y=function(){var e=Ky(Yy().mark((function e(t){var r,o,i,a;return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=[],t.forEach((function(e){r.push(e.address)})),o=null,e.prev=3,e.next=6,cb("user/algoBalances",{accounts:r});case 6:o=e.sent,e.next=12;break;case 9:e.prev=9,e.t0=e.catch(3),console.log("🚀 ~ error in algoBalances",e.t0);case 12:return e.next=14,cb("user/algoOptinStatus",{accounts:r,assetId:n.projectAssetId});case 14:return i=e.sent,e.prev=15,e.next=18,cb("investment/algoprice");case 18:a=e.sent,e.next=24;break;case 21:e.prev=21,e.t1=e.catch(15),console.log("🚀 ~ error in algoPrice",e.t1);case 24:o&&a?o.forEach((function(e,n){t[n].balance=e.balance,t[n].currentAlgoPrice=a.EUR,t[n].eqUnit="€",t[n].optedIn=i[e.account]})):r&&r.forEach((function(e,n){t[n].optedIn=i[e]})),v(t);case 26:case"end":return e.stop()}}),e,null,[[3,9],[15,21]])})));return function(t){return e.apply(this,arguments)}}(),v=function(e){e.forEach((function(e){n.userAddresses&&n.userAddresses.forEach((function(t){e.address===t.address&&(e.title=t.name)}))}))},w=function(e){m(e),n.setRegisteredAddress(!!e.title)},x=function(){var e=Ky(Yy().mark((function e(){var t;return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!gb()){e.next=19;break}return e.prev=1,e.next=4,bb(n.network);case 4:if(t=e.sent,console.log("address: ",t),!t){e.next=12;break}return e.next=9,y(t);case 9:f(!1),i(!0),b(t);case 12:e.next=19;break;case 14:e.prev=14,e.t0=e.catch(1),console.log("eroor: ",e.t0),f(!0),i(!1);case 19:case"end":return e.stop()}}),e,null,[[1,14]])})));return function(){return e.apply(this,arguments)}}(),E=function(e){var t=[];return e&&e.forEach((function(e){t.push({address:e})})),t},S=function(){var e=Ky(Yy().mark((function e(){var t,n;return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,yb();case 3:if(!(t=e.sent)||t.includes("Error")){e.next=11;break}return n=E(t),e.next=8,y(n);case 8:b(n),f(!1),i(!0);case 11:e.next=18;break;case 13:e.prev=13,e.t0=e.catch(0),console.log("eroor: ",e.t0),f(!0),i(!1);case 18:case"end":return e.stop()}}),e,null,[[0,13]])})));return function(){return e.apply(this,arguments)}}(),O=function(e,t){setTimeout((function(){l(e)}),t)},I=function(){var e=Ky(Yy().mark((function e(){return Yy().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(l(!0),"algosigner"!==n.wallet){e.next=6;break}return e.next=4,x();case 4:e.next=8;break;case 6:return e.next=8,S();case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Select an Algorand address"),t().createElement("p",null,"In order to receive the tokens on the right address you need to chose the address for the opt-in on which you want to receive the tokens. Also note that we fund only once your address. So in case you chose an address which is not yet whitelisted on STOKR you need to pay."))),t().createElement(gt,null,t().createElement(Zu,null,"YOUR CURRENT ADDRESS")),t().createElement(gt,null,o?t().createElement(to,{refresh:c?"Refreshing":"",failed:u?"NO DICE. PLEASE CHECK ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet"," IS CONNECTED, THEN HIT REFRESH."):""},g.map((function(e,r){var o;return t().createElement(Mr,{key:e+r,title:e.title||"Not yet registered",address:e.address,data:{value:null===(o=e.balance)||void 0===o?void 0:o.toFixed(4),unit:"ALGO",eqValue:e.balance?(e.balance*e.currentAlgoPrice).toFixed(2):null,eqUnit:"€"},wrapped:!0,borderTop:!0,borderBottom:!0,sideOptions:n.isUpdatingUser&&!n.error&&p.address===e.address?t().createElement($y,null):n.error&&p.address===e.address?t().createElement(Zr,{red:!0,flex:!0}):e.title&&(n.verifiedAddress&&!n.error&&p.address===e.address||e.optedIn)?t().createElement(By,{green:!0}):t().createElement(sn,{secondary:p.address!==e.address,disabled:e.optedIn&&e.title,style:{minWidth:"max-content"},onClick:function(){n.setAddressToRegister(e.address),e.optedIn||n.handleOptIn(e.address,e.title),w(e),e.optedIn&&!e.title&&n.setverifiedAddress(!0)}},"Select")})}))):t().createElement(to,{refresh:o||u?"":"We're fetching your registered address from your ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet","."),failed:u?"Our interface couldn't connect to ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet"," because you need to give permission to do so. Try again?"):""},g.map((function(e,r){var o;return t().createElement(Mr,{key:e+r,title:e.title||"Not yet registered",address:e.address,data:{value:null===(o=e.balance)||void 0===o?void 0:o.toFixed(4),unit:"ALGO",eqValue:e.balance?(e.balance*e.currentAlgoPrice).toFixed(2):null,eqUnit:"€"},wrapped:!0,borderTop:!0,borderBottom:!0,sideOptions:n.isUpdatingUser&&!n.error&&p.address===e.address?t().createElement($y,null):n.error&&p.address===e.address?t().createElement(Zr,{red:!0,flex:!0}):e.title&&(n.verifiedAddress&&!n.error&&p.address===e.address||e.optedIn)?t().createElement(By,{green:!0}):t().createElement(sn,{secondary:p.address!==e.address,disabled:e.optedIn&&e.title,style:{minWidth:"max-content"},onClick:function(){n.setAddressToRegister(e.address),e.optedIn||n.handleOptIn(e.address,e.title),w(e),e.optedIn&&!e.title&&n.setverifiedAddress(!0)}},"Select")})})))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(ky,{center:!0},"To use a different ".concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet"," address, select one from the ").concat("algosigner"===n.wallet?"Algosigner":"My Algo Wallet",' extension on your browser and press the "TRY AGAIN" button below.'))),t().createElement(gt,{center:!0},t().createElement(Vg,{onClick:I},"TRY AGAIN")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Which address should I choose?",content:"If you're planning to use the address to purchase tokens, choose one with sufficient funds or that you plan to top up. For your security and privacy, it's considered best practice to use more than one address for your crypto investments."}]}))))};ev.propTypes={changeStep:i().func.isRequired};var tv=t().memo(ev),nv=ev;function rv(e){return rv="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},rv(e)}function ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function iv(e,t){for(var n=0;n<t.length;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)}}function av(e,t){return av=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},av(e,t)}function cv(e,t){if(t&&("object"===rv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return lv(e)}function lv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function sv(e){return sv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},sv(e)}function uv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&av(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=sv(o);if(i){var n=sv(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return cv(this,e)});function c(){var e;ov(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return uv(lv(e=a.call.apply(a,[this].concat(n))),"initialValues",{name:""}),uv(lv(e),"validationSchema",ii.object().shape({name:ii.string().required("Address name is required")})),uv(lv(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.registeredAddress,n=e.changeStep;t&&n()}},{key:"render",value:function(){var e=this,n=this.props,r=n.error,o=n.isUpdatingUser;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Name your Algorand address"),t().createElement("p",null,"Give your address a name that reflects what it will store. Remember Satoshi's recommendation to spread your crypto investments over different addresses. "))),t().createElement(gt,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(n){var i=n.values,a=n.errors,c=n.touched,l=n.handleBlur,s=n.setFieldValue,u=n.setFieldTouched,f=!c.name||!!a.name||o;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"register-algo-name",name:"name",label:"Address name",value:i.name,onChange:function(t){var n=e.props.setNameToRegister,r=t.target;s(r.name,r.value,!1),u(r.name),n(r.value)},onBlur:l,error:!!a.name,touched:!!c.name}),t().createElement(ki,{show:a.name&&c.name},a.name))),t().createElement(gt,{noPaddingHorizontal:!0,noPaddingBottom:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:f},"Use this name"),t().createElement(ki,{withTopSpacing:!0,show:r},r)))}))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"Why should I name my Algorand address?",content:"If you're following best practice and spreading your crypto investments over different addresses, a name makes it easier to manage your portfolio."}]}))))}}])&&iv(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);fv.propTypes={changeStep:i().func.isRequired};var dv,pv,mv=fv;function hv(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var gv=l().div.withConfig({displayName:"StepControllerstyles__StepsProgressContainer",componentId:"sc-143sf1l-0"})(["position:relative;width:100%;height:40px;padding:4px 0;box-shadow:0 1px 0 0 ",";",""],(function(e){return p.cLightGrey}),G.Medium(dv||(dv=hv(["\n height: 56px;\n padding: 12px 0;\n "])))),bv=l().div.withConfig({displayName:"StepControllerstyles__StepContainer",componentId:"sc-143sf1l-1"})(["width:100%;height:100%;position:relative;overflow:hidden;",""],G.Medium(pv||(pv=hv(["\n ","\n "])),(function(e){return e.heightLimited&&"\n height: 80vh;\n "}))),yv=function(e){var n=e.touchedStepsIndexes,r=e.doneStepsIndexes,o=e.activeStepIndex,i=e.stepsProgressList;return t().createElement(Rc,null,t().createElement(Lc,null,t().createElement(Bc,null,i.map((function(e,i){return t().createElement(zc,{key:e.id,isDone:r.includes(i),isActive:i===o,onClick:function(){return function(e,t){n.includes(t)&&e.handleClick(e.id)}(e,i)}})})))))};yv.propTypes={touchedStepsIndexes:i().arrayOf(i().number).isRequired,doneStepsIndexes:i().arrayOf(i().number).isRequired,activeStepIndex:i().number.isRequired,stepsProgressList:i().instanceOf(Array).isRequired};var vv=yv;function wv(e){return wv="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},wv(e)}function xv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ev(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xv(Object(n),!0).forEach((function(t){Sv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ov(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Iv(e,t){for(var n=0;n<t.length;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)}}function Av(e,t){return Av=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Av(e,t)}function kv(e,t){if(t&&("object"===wv(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function Cv(e){return Cv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Cv(e)}var Pv=300,Tv={entering:{position:"absolute",opacity:0},entered:{transition:"opacity ".concat(Pv,"ms ease-in-out"),opacity:1},exiting:{transition:"opacity ".concat(Pv,"ms ease-in-out"),opacity:0}},jv=function(n){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Av(e,t)}(l,n);var r,o,i,a,c=(i=l,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Cv(i);if(a){var n=Cv(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return kv(this,e)});function l(){return Ov(this,l),c.apply(this,arguments)}return r=l,(o=[{key:"componentDidMount",value:function(){var e=this.props;(0,e.changeStep)(e.stepsProgressList[0].id)}},{key:"render",value:function(){var n=this.props,r=n.children,o=n.stepsProgressList,i=n.currentStep,a=n.activeStepIndex,c=n.doneStepsIndexes,l=n.touchedStepsIndexes;return t().createElement(e.Fragment,null,t().createElement(gv,null,t().createElement(vv,{activeStepIndex:a,doneStepsIndexes:c,touchedStepsIndexes:l,stepsProgressList:o})),t().createElement(ai.TransitionGroup,{component:bv},t().createElement(ai.Transition,{key:i,timeout:{enter:Pv,exit:Pv}},(function(e){return t().createElement("div",{style:Ev({height:"100%"},Tv[e])},t().Children.map(r,(function(e){return e.props.id===i&&t().isValidElement(e)?e:null})))}))))}}])&&Iv(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),l}(e.PureComponent);jv.propTypes={children:i().node.isRequired,stepsProgressList:i().instanceOf(Array).isRequired,currentStep:i().string.isRequired,activeStepIndex:i().number.isRequired,touchedStepsIndexes:i().arrayOf(i().number).isRequired,doneStepsIndexes:i().arrayOf(i().number).isRequired,changeStep:i().func.isRequired};var Mv=jv;function _v(e){return _v="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},_v(e)}function Nv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nv(Object(n),!0).forEach((function(t){Fv(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nv(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Lv(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Bv(e,t){for(var n=0;n<t.length;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)}}function zv(e,t){return zv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},zv(e,t)}function Dv(e,t){if(t&&("object"===_v(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Gv(e)}function Gv(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qv(e){return qv=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},qv(e)}function Fv(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Uv=t().createContext(),Wv=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&zv(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=qv(o);if(i){var n=qv(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Dv(this,e)});function c(){var e;Lv(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Fv(Gv(e=a.call.apply(a,[this].concat(n))),"state",{currentStep:"",prevStep:"",prevStepIndex:null,activeStepIndex:0,doneStepsIndexes:[],touchedStepsIndexes:[]}),Fv(Gv(e),"changeStep",(function(t){var n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=e.state,a=i.activeStepIndex,c=i.doneStepsIndexes,l=i.touchedStepsIndexes,s=null===r?a:r,u=c.slice(),f=l.slice();null===o||u.includes(o)||u.push(o),f.includes(s)||f.push(s),Array.isArray(o)&&0===o.length&&(n=[]),e.setState((function(){return{currentStep:t,activeStepIndex:s,doneStepsIndexes:n||u,touchedStepsIndexes:f}}))})),Fv(Gv(e),"setPrevStep",(function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;e.setState({prevStep:t,prevStepIndex:n})})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props.children;return t().createElement(Uv.Provider,{value:Rv(Rv({},this.state),{},{changeStep:this.changeStep,setPrevStep:this.setPrevStep})},e)}}])&&Bv(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Component);Wv.propTypes={children:i().node.isRequired};var Hv=Uv.Consumer,Vv=function(e){var n=e.changeStep,r=e.projects,o=e.setselectedProject,i=e.selectedProject,a=e.isLoading;return t().useEffect((function(){i.primaryAssetId&&n()}),[]),t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"Select a project"),t().createElement("p",null,'Some projects on Algorand are only available for eligible investors. Click “Opt-In” next to the project you are already elgible to invest in. Otherwise click "Learn More".'))),t().createElement(gt,null,t().createElement(t().Fragment,null,a?t().createElement(gt,{center:!0,noPadding:!0},t().createElement($y,{style:{fontSize:60}})):t().createElement(to,null,r.map((function(e,r){return t().createElement(t().Fragment,{key:e.name},t().createElement(Mr,{key:e.name,title:e.title||"No project name",src:e.logourl,sideOptions:t().createElement(sn,{secondary:!0,minWidth:"165px",onClick:function(){e.isPrivateInvestor?(o(e),n()):(console.log("🚀 ~ process.env",process.env),window.location.href="https://".concat(process.env.REACT_APP_WEBSITE_DOMAIN,"/").concat(e.name))}},e.isPrivateInvestor?"Opt in":"Learn More"),wrapped:!0,flexHead:!0,borderTop:!0,borderBottom:!0}))}))))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Frequently Asked Questions")),t().createElement(gt,null,t().createElement(bo,{items:[{title:"What is a crypto wallet?",content:"A crypto wallet is a hardware device or browser interface to manage and protect your private key and as a result the transactions you are making on the blockchain."},{title:"Which Algorand wallet should I use?",content:"Both wallets perform the exact same function and both are quite easy to download and use. The key difference is that MyAlgo is a more popular choice amongst Algorand holders for its range of functionality. Algosigner might be a good choice if you are just looking for something basic and hold your assets obtained from the STOKR platform."}]}))))};Vv.propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var Yv=t().memo(Vv),Qv=Vv,Kv=function(e){var n=e.onClick;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Register Algorand address")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(Te,null,t().createElement("h3",null,"YOU successfully opted in your address"),t().createElement("p",null,"All Algorand addresses are checked to prevent money laundering on STOKR. We'll let you know as soon as yours is on the whitelist."))),t().createElement(gt,{noPaddingHorizontal:!0,center:!0},t().createElement(sn,{minWidth:"240px",onClick:function(){n()}},"Continue"))))};Kv.propTypes={changeStep:i().func.isRequired};var Jv=Kv;function Zv(e){return Zv="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},Zv(e)}function Xv(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=ow(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function $v(){return $v=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$v.apply(this,arguments)}function ew(){ew=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Zv(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function tw(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function nw(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){tw(i,r,o,a,c,"next",e)}function c(e){tw(i,r,o,a,c,"throw",e)}a(void 0)}))}}function rw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||ow(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 ow(e,t){if(e){if("string"==typeof e)return iw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?iw(e,t):void 0}}function iw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var aw=["project","wallet","select-address","address-name"],cw=function(n){var r=n.showFlow,o=n.setShowFlow,i=n.setShowPending,a=n.withSuccessPage,c=void 0!==a&&a,l=n.project,s=void 0===l?{}:l,u=(0,e.useContext)(Pc),f=u.updateUser,d=u.user,p=u.checkIfPrivateInvestor,m=rw((0,e.useState)(null),2),h=m[0],g=m[1],b=rw((0,e.useState)(null),2),y=b[0],v=b[1],w=rw((0,e.useState)(!1),2),x=w[0],E=w[1],S=rw((0,e.useState)(null),2),O=S[0],I=S[1],A=rw((0,e.useState)(""),2),k=A[0],C=A[1],P=rw((0,e.useState)(""),2),T=P[0],j=P[1],M=rw((0,e.useState)(!1),2),_=M[0],N=M[1],R=rw((0,e.useState)([]),2),L=R[0],B=R[1],z=rw((0,e.useState)(s),2),D=z[0],G=z[1],q=rw((0,e.useState)(!1),2),F=q[0],U=q[1],W=rw((0,e.useState)(!0),2),H=W[0],V=W[1],Y=rw((0,e.useState)("MAINNET"===process.env.REACT_APP_ALGORAND_NETWORK?"MainNet":"TestNet"),1)[0];function Q(){return Q=nw(ew().mark((function e(t){var n,r,o,i,a,c,l;return ew().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Hy("project/public/get",{noMetaData:!0,tokenIssuanceType:"algorand"});case 2:if(n=e.sent,r=n&&n.projects.filter((function(e){return e.primaryAssetId})),!t){e.next=31;break}o=Xv(r),e.prev=6,o.s();case 8:if((i=o.n()).done){e.next=23;break}return a=i.value,e.prev=10,e.next=13,p({userId:t._id,projectId:a._id});case 13:c=e.sent,l=c.isAllowed,a.isPrivateInvestor=l,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),console.log("🚀 ~ error",e.t0);case 21:e.next=8;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(6),o.e(e.t1);case 28:return e.prev=28,o.f(),e.finish(28);case 31:B(r),V(!1);case 33:case"end":return e.stop()}}),e,null,[[6,25,28,31],[10,18]])}))),Q.apply(this,arguments)}(0,e.useEffect)((function(){d&&function(e){Q.apply(this,arguments)}(d)}),[d]);var K=function(){var e=nw(ew().mark((function e(){return ew().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),T&&j(""),e.prev=2,e.next=5,f({investor_algo_addresses:[{name:O,address:y}]});case 5:C(!1),c?N(!0):(o(!1),i(!0)),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),C(!1),j("Something went wrong. Please try again.");case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=nw(ew().mark((function e(){var t,n,r=arguments;return ew().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:y,n=r.length>1?r[1]:void 0,C(!0),F&&U(!1),T&&j(""),e.prev=5,e.next=8,vb(D.primaryAssetId,t,h,Y);case 8:if(!e.sent){e.next=19;break}if(n){e.next=15;break}return e.next=13,f({investor_algo_addresses:[{address:t}]});case 13:e.next=17;break;case 15:return e.next=17,f({investor_algo_addresses:[{name:n,address:t}]});case 17:U(!0),C(!1);case 19:e.next=27;break;case 21:e.prev=21,e.t0=e.catch(5),console.log("🚀 ~ error",e.t0),C(!1),U(!1),429==e.t0.response.status&&j("You registered a maximum number of algorand addresses.");case 27:case"end":return e.stop()}}),e,null,[[5,21]])})));return function(){return e.apply(this,arguments)}}();return t().createElement(Si,{fullscreen:!0,isOpen:r,onClose:function(){return o(!1)}},t().createElement(hi,{noPadding:!0},_?t().createElement(Jv,{onClick:function(){N(!1),o(!1)}}):t().createElement(Wv,null,t().createElement(Hv,null,(function(e){var n=e.activeStepIndex-1;return t().createElement(t().Fragment,null,t().createElement(bi,{onClick:function(){return function(e,t){0===t&&G({}),0!==t&&1!==t||(g(null),v(null),I(null),E(!1),j(""),U(!1)),e.changeStep(aw[t],t)}(e,n)},hide:!D.name}),t().createElement(Mv,$v({stepsProgressList:[{id:"project",handleClick:function(){e.changeStep("project",0),g(null)}},{id:"wallet",handleClick:function(){e.changeStep("wallet",1),g(null)}},{id:"select-address",handleClick:function(){return e.changeStep("select-address",2)}},{id:"address-name",handleClick:function(){return e.changeStep("address-name",3)}}]},e),t().createElement(Qv,{id:"project",changeStep:function(){return e.changeStep("wallet",1,0)},selectedProject:D,projects:L,isLoading:H,setselectedProject:G}),t().createElement(Sb,{id:"wallet",changeStep:function(){e.changeStep("select-address",2,1),U(!1)},setWallet:g}),t().createElement(nv,{id:"select-address",changeStep:function(){e.changeStep("address-name",3,2)},setAddressToRegister:v,setRegisteredAddress:E,wallet:h,isUpdatingUser:k,userAddresses:d&&d.investor_algo_addresses,handleOptIn:J,projectAssetId:D.primaryAssetId,error:T,network:Y,verifiedAddress:F,setverifiedAddress:U}),t().createElement(mv,{id:"address-name",changeStep:function(){x?c?N(!0):(o(!1),i(!0)):K()},registeredAddress:x,setNameToRegister:I,error:T,isUpdatingUser:k})))})))))};function lw(e){return lw="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},lw(e)}function sw(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=hw(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw i}}}}function uw(){return uw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uw.apply(this,arguments)}function fw(){fw=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==lw(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function dw(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function pw(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){dw(i,r,o,a,c,"next",e)}function c(e){dw(i,r,o,a,c,"throw",e)}a(void 0)}))}}function mw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||hw(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 hw(e,t){if(e){if("string"==typeof e)return gw(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?gw(e,t):void 0}}function gw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var bw=["project","wallet","select-address","address-name"],yw=function(n){var r=n.showFlow,o=n.setShowFlow,i=n.setShowPending,a=n.withSuccessPage,c=void 0!==a&&a,l=n.project,s=void 0===l?{}:l,u=(0,e.useContext)(Pc),f=u.updateUser,d=u.user,p=u.checkIfPrivateInvestor,m=mw((0,e.useState)(null),2),h=m[0],g=m[1],b=mw((0,e.useState)(null),2),y=b[0],v=b[1],w=mw((0,e.useState)(!1),2),x=w[0],E=w[1],S=mw((0,e.useState)(null),2),O=S[0],I=S[1],A=mw((0,e.useState)(""),2),k=A[0],C=A[1],P=mw((0,e.useState)(""),2),T=P[0],j=P[1],M=mw((0,e.useState)(!1),2),_=M[0],N=M[1],R=mw((0,e.useState)([]),2),L=R[0],B=R[1],z=mw((0,e.useState)(s),2),D=z[0],G=z[1],q=mw((0,e.useState)(!1),2),F=q[0],U=q[1],W=mw((0,e.useState)(!0),2),H=W[0],V=W[1],Y=mw((0,e.useState)("MAINNET"===process.env.REACT_APP_ALGORAND_NETWORK?"MainNet":"TestNet"),1)[0];function Q(){return Q=pw(fw().mark((function e(t){var n,r,o,i,a,c,l;return fw().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Hy("project/public/get",{noMetaData:!0,tokenIssuanceType:"algorand"});case 2:if(n=e.sent,r=n&&n.projects.filter((function(e){return e.primaryAssetId})),!t){e.next=31;break}o=sw(r),e.prev=6,o.s();case 8:if((i=o.n()).done){e.next=23;break}return a=i.value,e.prev=10,e.next=13,p({userId:t._id,projectId:a._id});case 13:c=e.sent,l=c.isAllowed,a.isPrivateInvestor=l,e.next=21;break;case 18:e.prev=18,e.t0=e.catch(10),console.log("🚀 ~ error",e.t0);case 21:e.next=8;break;case 23:e.next=28;break;case 25:e.prev=25,e.t1=e.catch(6),o.e(e.t1);case 28:return e.prev=28,o.f(),e.finish(28);case 31:B(r),V(!1);case 33:case"end":return e.stop()}}),e,null,[[6,25,28,31],[10,18]])}))),Q.apply(this,arguments)}(0,e.useEffect)((function(){d&&function(e){Q.apply(this,arguments)}(d)}),[d]);var K=function(){var e=pw(fw().mark((function e(){return fw().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return C(!0),T&&j(""),e.prev=2,e.next=5,f({investor_algo_addresses:[{name:O,address:y}]});case 5:C(!1),c?N(!0):(o(!1),i(!0)),e.next=14;break;case 9:e.prev=9,e.t0=e.catch(2),console.log("🚀 ~ error",e.t0),C(!1),j("Something went wrong. Please try again.");case 14:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(){return e.apply(this,arguments)}}(),J=function(){var e=pw(fw().mark((function e(){var t,n,r=arguments;return fw().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:y,n=r.length>1?r[1]:void 0,C(!0),F&&U(!1),T&&j(""),e.prev=5,e.next=8,vb(D.primaryAssetId,t,h,Y);case 8:if(!e.sent){e.next=19;break}if(n){e.next=15;break}return e.next=13,f({investor_algo_addresses:[{address:t}]});case 13:e.next=17;break;case 15:return e.next=17,f({investor_algo_addresses:[{name:n,address:t}]});case 17:U(!0),C(!1);case 19:e.next=27;break;case 21:e.prev=21,e.t0=e.catch(5),console.log("🚀 ~ error",e.t0),C(!1),U(!1),429==e.t0.response.status&&j("You registered a maximum number of algorand addresses.");case 27:case"end":return e.stop()}}),e,null,[[5,21]])})));return function(){return e.apply(this,arguments)}}();return t().createElement(Si,{fullscreen:!0,isOpen:r,onClose:function(){return o(!1)}},t().createElement(hi,{noPadding:!0},_?t().createElement(Jv,{onClick:function(){N(!1),o(!1)}}):t().createElement(Wv,null,t().createElement(Hv,null,(function(e){var n=e.activeStepIndex-1;return t().createElement(t().Fragment,null,t().createElement(bi,{onClick:function(){return function(e,t){0===t&&G({}),0!==t&&1!==t||(g(null),v(null),I(null),E(!1),j(""),U(!1)),e.changeStep(bw[t],t)}(e,n)},hide:!D.name}),t().createElement(Mv,uw({stepsProgressList:[{id:"project",handleClick:function(){e.changeStep("project",0),g(null)}},{id:"wallet",handleClick:function(){e.changeStep("wallet",1),g(null)}},{id:"select-address",handleClick:function(){return e.changeStep("select-address",2)}},{id:"address-name",handleClick:function(){return e.changeStep("address-name",3)}}]},e),t().createElement(Yv,{id:"project",changeStep:function(){return e.changeStep("wallet",1,0)},selectedProject:D,isLoading:H,projects:L,setselectedProject:G}),t().createElement(Eb,{id:"wallet",changeStep:function(){e.changeStep("select-address",2,1),U(!1)},setWallet:g}),t().createElement(tv,{id:"select-address",changeStep:function(){e.changeStep("address-name",3,2)},setAddressToRegister:v,setRegisteredAddress:E,wallet:h,isUpdatingUser:k,userAddresses:d&&d.investor_algo_addresses,handleOptIn:J,projectAssetId:D.primaryAssetId,error:T,verifiedAddress:F,network:Y}),t().createElement(mv,{id:"address-name",changeStep:function(){x?c?N(!0):(o(!1),i(!0)):K()},registeredAddress:x,setNameToRegister:I,error:T,isUpdatingUser:k})))})))))},vw=t().memo(yw);function ww(e){return ww="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},ww(e)}function xw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ew(e,t){for(var n=0;n<t.length;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)}}function Sw(e,t){return Sw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Sw(e,t)}function Ow(e,t){if(t&&("object"===ww(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Iw(e)}function Iw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Aw(e){return Aw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Aw(e)}function kw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Cw,Pw,Tw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Sw(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Aw(o);if(i){var n=Aw(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ow(this,e)});function c(){var e;xw(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return kw(Iw(e=a.call.apply(a,[this].concat(n))),"initialValues",{email:"",password:"",newsletter:!1}),kw(Iw(e),"validationSchema",ii.object().shape({email:ii.string().email("Email is not valid").required("Email is required"),password:ii.string().required("Password is required"),newsletter:ii.bool()})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend,i=e.onModalSwitch;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Start investing today"),t().createElement("p",null,"Create a free STOKR account to invest in exciting startups."))),t().createElement(hi,{modalBot:!0},t().createElement(yi,null,"Already have an account?"," ",t().createElement(vi,{as:"button",onClick:i},"Log in")))),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleChange,a=e.handleBlur,c=e.setFieldValue,l=e.setFieldTouched,s=!(o.email&&o.password&&!r.email&&!r.password);return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"sign-up-email",name:"email",type:"email",label:"Your email",value:n.email,onChange:i,onBlur:a,error:!!r.email,touched:!!o.email}),t().createElement(ki,{show:r.email&&o.email},r.email))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,null,"Your email will never be shared and is only visible to you.")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ii,null,t().createElement(Xl,{id:"sign-up-password",name:"password",type:"password",label:"Password",value:n.password,onChange:function(e){var t=e.target;c(t.name,t.value,!1),l(t.name)},onBlur:a,error:!!r.password,touched:!!o.password,info:"Password input popup",showStrength:!0}),t().createElement(ki,{show:r.password&&o.password},r.password))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,null,"2 factor authentication can be set up later from your account settings")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ii,null,t().createElement(pt,{id:"sign-up-newsletter",name:"newsletter",text:"I wish to receive news and updates from STOKR",value:"yes",checked:!!n.newsletter,onChange:i,onBlur:a,error:!!r.newsletter,touched:!!o.newsletter}),t().createElement(ki,{show:r.newsletter&&o.newsletter},r.newsletter))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:s},"Create account")),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(Ai,{center:!0},"By signing up for STOKR, you agree to our ",t().createElement(xt.Link,{to:"#"},"Terms of Service."))))}))))))}}])&&Ew(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);function jw(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}Tw.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired,onModalSwitch:i().func.isRequired};var Mw=l().div.withConfig({displayName:"RequestDataBoxstyles__Box",componentId:"sc-cololh-0"})(["border:1px solid ",";padding:20px 24px;& > div{margin-bottom:12px;","}"," & + &{border-top:none;}"],(function(e){return p.cLightGrey}),G.Medium(Cw||(Cw=jw(["\n margin-bottom: 0;\n "]))),G.Medium(Pw||(Pw=jw(["\n padding: 36px 48px;\n display: flex;\n justify-content: space-between;\n "])))),_w=l().div.withConfig({displayName:"RequestDataBoxstyles__Title",componentId:"sc-cololh-1"})(["font-size:16px;font-weight:600;line-height:24px;margin-bottom:2px;letter-spacing:0.6px;"]),Nw=l().div.withConfig({displayName:"RequestDataBoxstyles__Subtitle",componentId:"sc-cololh-2"})(["font-size:9px;font-style:italic;line-height:16px;letter-spacing:0.4px;"]),Rw=function(e){var n=e.title,r=e.subtitle,o=e.onClick;return t().createElement(Mw,null,t().createElement("div",null,t().createElement(_w,null,n),t().createElement(Nw,null,r)),t().createElement(sn,{minWidth:"240px",onClick:o},n))};Rw.propTypes={title:i().string.isRequired,subtitle:i().string.isRequired,onClick:i().func},Rw.defaultProps={onClick:function(){}};var Lw=l().div.withConfig({displayName:"_styles__RiskStep",componentId:"sc-k079uy-0"})(["position:relative;height:100%;"]);function Bw(e){return Bw="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},Bw(e)}function zw(){zw=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==Bw(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function Dw(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function Gw(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){Dw(i,r,o,a,c,"next",e)}function c(e){Dw(i,r,o,a,c,"throw",e)}a(void 0)}))}}function qw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Fw(e,t){for(var n=0;n<t.length;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)}}function Uw(e,t){return Uw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Uw(e,t)}function Ww(e,t){if(t&&("object"===Bw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Hw(e)}function Hw(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vw(e){return Vw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Vw(e)}function Yw(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Qw=t().createContext(),Kw=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Uw(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Vw(o);if(i){var n=Vw(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ww(this,e)});function c(){var e;qw(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Yw(Hw(e=a.call.apply(a,[this].concat(n))),"state",{waiting:!0,error:null,questionnaire:null,success:!1,id:null}),Yw(Hw(e),"getData",Gw(zw().mark((function t(){var n;return zw().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,rc({method:"POST",url:"compilance/risk-questionnaire"});case 3:n=t.sent,e.onGetDataSuccess(n.data),t.next=11;break;case 7:t.prev=7,t.t0=t.catch(0),console.log("Error fetching risk questionnaire: ".concat(t.t0)),e.onGetDataError(t.t0.message);case 11:case"end":return t.stop()}}),t,null,[[0,7]])})))),Yw(Hw(e),"sendData",(function(t){e.setState({waiting:!0,error:null,success:!1});var n=e.props.updateUser;return new Promise(function(){var r=Gw(zw().mark((function r(o,i){return zw().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,rc({method:"POST",url:"compilance/user-risk-compilance/create",data:{riskQuestionnaireId:t._id}});case 3:return r.next=5,n({is_risk_questionnaire_finished:!0});case 5:o(),r.next=13;break;case 8:r.prev=8,r.t0=r.catch(0),console.log("Error setting user risk questionnaire status: ".concat(r.t0)),e.onSendDataError("Something went wrong. Please try again."),i(r.t0);case 13:case"end":return r.stop()}}),r,null,[[0,8]])})));return function(e,t){return r.apply(this,arguments)}}())})),Yw(Hw(e),"onGetDataSuccess",(function(t){(0,e.props.updateSteps)(t.questionSet),e.setState({waiting:!1,questionnaire:t,id:t._id})})),Yw(Hw(e),"onGetDataError",(function(t){e.setState({waiting:!1,error:t})})),Yw(Hw(e),"onSendDataSuccess",(function(){e.setState({waiting:!1,success:!0})})),Yw(Hw(e),"onSendDataError",(function(t){e.setState({waiting:!1,error:t})})),e}return n=c,(r=[{key:"componentDidMount",value:function(){this.getData()}},{key:"render",value:function(){var e=this.props.children,n=this.state,r=n.waiting,o=n.error,i=n.questionnaire,a=n.success;return t().createElement(Qw.Provider,{value:{waiting:r,error:o,questionnaire:i,sendQuestionnaire:this.sendData.bind(this,i),success:a}},e)}}])&&Fw(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.Component);Kw.propTypes={children:i().node.isRequired,updateSteps:i().func.isRequired};var Jw,Zw,Xw=Qw.Consumer,$w=require("react-helmet"),ex=n.n($w);function tx(e){var n=e.description,r=e.lang,o=e.meta,i=e.keywords,a=e.title,c=e.author;return t().createElement(ex(),{htmlAttributes:{lang:r},title:a,titleTemplate:"STOKR • %s",meta:[{name:"description",content:n},{property:"og:title",content:a},{property:"og:description",content:n},{property:"og:type",content:"website"},{name:"twitter:card",content:"summary"},{name:"twitter:creator",content:c},{name:"twitter:title",content:a},{name:"twitter:description",content:n}].concat(i.length>0?{name:"keywords",content:i.join(", ")}:[]).concat(o)})}function nx(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}tx.defaultProps={lang:"en",meta:[],keywords:[],description:"",author:""},tx.propTypes={description:i().string,lang:i().string,meta:i().instanceOf(Array),keywords:i().arrayOf(i().string),title:i().string.isRequired,author:i().string};var rx,ox,ix,ax,cx=l().div.withConfig({displayName:"SideLinestyles__Line",componentId:"sc-1j51wng-0"})(["display:none;position:absolute;top:0;right:20px;width:8px;height:100%;font-size:0;border-left:1px solid ",";"," ",""],(function(e){return p.cGrey}),G.Medium(Jw||(Jw=nx(["\n display: block;\n "]))),G.Large(Zw||(Zw=nx(["\n right: 30px;\n "])))),lx=l().div.withConfig({displayName:"SideLinestyles__Bar",componentId:"sc-1j51wng-1"})(["position:absolute;top:60px;left:0;width:100%;height:40px;background-color:",";"],(function(e){return p.cPrimary})),sx=function(){return t().createElement(cx,null,t().createElement(lx,null))};function ux(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var fx=l().div.withConfig({displayName:"_styles__SignSubStep",componentId:"sc-1kpm9cx-0"})(["position:relative;height:100%;"]),dx=l().div.withConfig({displayName:"_styles__SignSubWrapper",componentId:"sc-1kpm9cx-1"})(["position:relative;padding:40px ",";"," ",""],Nr(1),G.Medium(rx||(rx=ux(["\n padding: 53px ",";\n "])),Nr(.5,8)),G.XLarge(ox||(ox=ux(["\n padding: 53px ",";\n "])),Nr(.5,6))),px=l().div.withConfig({displayName:"_styles__SignSubInfo",componentId:"sc-1kpm9cx-2"})(["font-family:'Open Sans';font-weight:300;font-size:9px;line-height:1.78em;letter-spacing:0.4px;color:",";opacity:0.5;"," "," a{text-decoration:underline;transition:color 0.2s;&:hover{color:",";}}"],(function(e){return p.cBlack}),(function(e){return e.center&&"text-align: center;"}),G.Large(ix||(ix=ux(["\n font-size: 12px;\n "]))),(function(e){return p.cPrimary})),mx=l().div.withConfig({displayName:"_styles__NumberWithTitle",componentId:"sc-1kpm9cx-3"})(["line-height:24px;font-size:11px;font-weight:700;letter-spacing:2px;text-transform:uppercase;padding-bottom:18px;"]),hx=l()(Te).withConfig({displayName:"_styles__SignSubText",componentId:"sc-1kpm9cx-4"})(["p{","}"],G.Medium(ax||(ax=ux(["\n font-size: 16px;\n "])))),gx=function(e){var n=e.setWallet,r=e.changeStep;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Choose your wallet"),t().createElement("p",null,"In the next couple of steps we guide you through signing and sending the investment transaction. To start, please choose the wallet that allows you to sign the transaction for the address you selected."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,null,t().createElement(ro,null,t().createElement(sn,{onClick:function(){n("ledger"),r()}},"Ledger"),t().createElement(sn,{onClick:function(){n("metamask"),r()}},"Metamask")))))};gx.propTypes={setWallet:i().func.isRequired,changeStep:i().func.isRequired};var bx=gx;function yx(e){return yx="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},yx(e)}function vx(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wx(e,t){for(var n=0;n<t.length;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)}}function xx(e,t){return xx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xx(e,t)}function Ex(e,t){if(t&&("object"===yx(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Sx(e)}function Sx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ox(e){return Ox=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ox(e)}function Ix(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ax=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xx(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Ox(o);if(i){var n=Ox(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Ex(this,e)});function c(){var e;vx(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Ix(Sx(e=a.call.apply(a,[this].concat(n))),"state",{step:1}),Ix(Sx(e),"onContinueClick",(function(){(0,e.props.changeStep)()})),Ix(Sx(e),"setStep",(function(t){e.setState({step:t})})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.state.step;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(nh,{activeTab:n},t().createElement(Qm,{tabId:1},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"PLUG IN YOUR DEVICE"),t().createElement("p",null,"Please follow these instructions."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(mx,null,t().createElement(Gh,{number:1}),"Connect Your Ledger")),t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("p",null,"Grab that USB cable and get your computer and cryptovault connected."))),t().createElement(gt,null,t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(2)}},"Next"))),t().createElement(Qm,{tabId:2},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Connect your ledger"))),t().createElement(gt,null,t().createElement(Zu,null,t().createElement(Gh,{number:2}),"Enter Your PIN")),t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("p",null,"Use the buttons on your device to enter and confirm your pin."))),t().createElement(gt,null,t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(3)}},"Next")),t().createElement(gt,{noPaddingTop:!0},t().createElement(sn,{secondary:!0,minWidth:"240px",onClick:function(){e.setStep(1)}},"Back"))),t().createElement(Qm,{tabId:3},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Connect your ledger"))),t().createElement(gt,null,t().createElement(Zu,null,t().createElement(Gh,{number:3}),"Select Ethereum APP")),t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("p",null,"Navigate to the Ethereum app on your Ledger and select it by pressing both buttons at once."))),t().createElement(gt,null,t().createElement(sn,{secondary:!0,minWidth:"240px",onClick:function(){e.setStep(4)}},"Back"))),t().createElement(Qm,{tabId:4},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Address not found"),t().createElement("p",null,"Please connect the Ledger that holds your selected address and click ‘Refresh’. If you can’t find the Ledger holding this address, you can always go back and select another address or add a new one. If you need more help, please contact our ",t().createElement("a",{href:"http://example.com"},"support center")))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Refresh"))))))}}])&&wx(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Ax.propTypes={changeStep:i().func.isRequired};var kx=Ax;function Cx(e){return Cx="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},Cx(e)}function Px(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Tx(e,t){for(var n=0;n<t.length;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)}}function jx(e,t){return jx=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jx(e,t)}function Mx(e,t){if(t&&("object"===Cx(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return _x(e)}function _x(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Nx(e){return Nx=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Nx(e)}function Rx(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lx=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jx(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=Nx(o);if(i){var n=Nx(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return Mx(this,e)});function c(){var e;Px(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Rx(_x(e=a.call.apply(a,[this].concat(n))),"state",{step:1}),Rx(_x(e),"onContinueClick",(function(){(0,e.props.changeStep)()})),Rx(_x(e),"setStep",(function(t){e.setState({step:t})})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.state.step;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(nh,{activeTab:n},t().createElement(Qm,{tabId:1},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Address not found"),t().createElement("p",null,"We couldn’t find the address you selected in step 1 in MetaMask. Please change the current account address in MetaMask and click ‘Refresh’. If you can’t find the address in MetaMask you can always go back and select another address or add a new one."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(bo,{items:[{title:"How do i change addresses?",content:"Aliquam orci nibh, convallis eu fringilla vel, pharetra non libero. Donec feugiat vehicula sem non sagittis. Fusce vitae purus nulla. Curabitur venenatis augue in augue venenatis placerat non a libero. Quisque facilisis porta libero ac aliquam. Vestibulum ipsum mauris, pretium sed felis et, posuere ultricies purus. Aliquam aliquet arcu a tincidunt mattis. Fusce a vestibulum magna."}]})),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(2)}},"Refresh"))),t().createElement(Qm,{tabId:2},t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Unable to connect"),t().createElement("p",null,"We couldn’t read your accounts from MetaMask, please try again. Or visit our"," ",t().createElement("a",{href:"http://example.com"},"support center")," to learn more."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(bo,{items:[{title:"How do i change addresses?",content:"Aliquam orci nibh, convallis eu fringilla vel, pharetra non libero. Donec feugiat vehicula sem non sagittis. Fusce vitae purus nulla. Curabitur venenatis augue in augue venenatis placerat non a libero. Quisque facilisis porta libero ac aliquam. Vestibulum ipsum mauris, pretium sed felis et, posuere ultricies purus. Aliquam aliquet arcu a tincidunt mattis. Fusce a vestibulum magna."}]})),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Zu,null,"Your selected address")),t().createElement(gt,{noPaddingBottom:!0},t().createElement(_r,{title:"ethereum 01",address:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",data:{value:"1,29000",unit:"ETH",eqValue:"1500",eqUnit:"€"}})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Try again"))))))}}])&&Tx(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);Lx.propTypes={changeStep:i().func.isRequired};var Bx,zx,Dx,Gx,qx=Lx;function Fx(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var Ux=l().div.withConfig({displayName:"TransactionInfostyles__Container",componentId:"sc-8iuxfi-0"})(["display:flex;align-items:center;"]),Wx=l().div.withConfig({displayName:"TransactionInfostyles__Account",componentId:"sc-8iuxfi-1"})([""]),Hx=l().div.attrs({className:"ion"}).withConfig({displayName:"TransactionInfostyles__TransferIcon",componentId:"sc-8iuxfi-2"})(["width:16px;height:19px;position:relative;margin:auto;&::before,&::after{font-size:28px;position:absolute;left:0;}&::before{content:'\f117';color:",";top:-7px;}&::after{content:'\f119';color:",";top:2px;}"],(function(e){return p.cSuccess}),(function(e){return p.cWarning})),Vx=l().div.withConfig({displayName:"TransactionInfostyles__Value",componentId:"sc-8iuxfi-3"})(["font-size:22px;font-weight:300;line-height:28px;letter-spacing:0.8px;"," ",""],(function(e){return e.green&&(0,c.css)(Bx||(Bx=Fx(["\n color: ",";\n "])),s.progressGreen)}),(function(e){return e.red&&(0,c.css)(zx||(zx=Fx(["\n color: ",";\n "])),s.orangishRed)})),Yx=l().div.withConfig({displayName:"TransactionInfostyles__Name",componentId:"sc-8iuxfi-4"})(["font-size:13px;line-height:16px;letter-spacing:0.4px;font-style:italic;margin-bottom:3px;"," ",""],(function(e){return e.green&&(0,c.css)(Dx||(Dx=Fx(["\n color: ",";\n "])),s.progressGreen)}),(function(e){return e.red&&(0,c.css)(Gx||(Gx=Fx(["\n color: ",";\n "])),s.orangishRed)})),Qx=function(e){var n=e.value1,r=e.unit1,o=e.name1,i=e.owner1,a=e.value2,c=e.unit2,l=e.name2,s=e.owner2,u=e.green,f=e.red;return t().createElement(Ux,null,t().createElement(Wx,null,t().createElement(Yx,{green:u,red:f},"".concat(o," ").concat(i)),t().createElement(Vx,{green:u,red:f},"".concat(r," ").concat(n))),t().createElement(Hx,null),t().createElement(Wx,null,t().createElement(Yx,{green:u,red:f},"".concat(l," ").concat(s)),t().createElement(Vx,{green:u,red:f},"".concat(c," ").concat(a))))};Qx.propTypes={value1:i().string,unit1:i().string,name1:i().string,owner1:i().string,value2:i().string,unit2:i().string,name2:i().string,owner2:i().string},Qx.defaultProps={value1:"",unit1:"",name1:"",owner1:"",value2:"",unit2:"",name2:"",owner2:""};var Kx=Qx,Jx=l().div.withConfig({displayName:"TransactionDetailsstyles__Container",componentId:"sc-yhycqf-0"})(["display:block;position:relative;text-align:center;padding-top:8px;"]),Zx=l().button.withConfig({displayName:"TransactionDetailsstyles__Toggle",componentId:"sc-yhycqf-1"})(["display:inline-block;font-size:11px;line-height:16px;color:",";transition:color 0.2s;outline:0;&:hover{color:",";}"],(function(e){return p.cGrey2}),(function(e){return p.cPrimary})),Xx=l()(Rn.Collapse).withConfig({displayName:"TransactionDetailsstyles__DetailsCollapse",componentId:"sc-yhycqf-2"})(["opacity:0;transition:opacity 0.2s;margin-top:12px;",""],(function(e){return e.isOpened&&"\n opacity: 1;\n border-bottom: 1px solid ".concat(p.cLightGrey,";\n ")}));function $x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var eE=function(n){var r=n.data,o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$x(e,t):void 0}}(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.")}()}((0,e.useState)(!0),2),i=o[0],a=o[1];return t().createElement(Jx,null,r.length>0?t().createElement(Zx,{onClick:function(){a(!i)}},i?"hide details":"view details"):t().createElement("br",null),t().createElement(Xx,{isOpened:i},t().createElement(an,{data:r})))};eE.propTypes={data:i().arrayOf(i().shape({label:i().string,value:i().string.isRequired})).isRequired};var tE=eE,nE=n(709),rE=n.n(nE);function oE(e){return oE="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},oE(e)}function iE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function aE(e,t){for(var n=0;n<t.length;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)}}function cE(e,t){return cE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},cE(e,t)}function lE(e,t){if(t&&("object"===oE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return sE(e)}function sE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uE(e){return uE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},uE(e)}function fE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&cE(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=uE(o);if(i){var n=uE(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return lE(this,e)});function c(){var e;iE(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return fE(sE(e=a.call.apply(a,[this].concat(n))),"state",{step:1}),fE(sE(e),"onContinueClick",(function(){var t=e.props.changeStep;t&&t()})),fE(sE(e),"setStep",(function(t){e.setState({step:t})})),e}return n=c,(r=[{key:"render",value:function(){var e=this,n=this.state.step;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Review & sign transaction"))),t().createElement(gt,{noPaddingBottom:!0,center:!0},t().createElement("img",{src:rE(),alt:"HDD"})),t().createElement(nh,{activeTab:n},t().createElement(Qm,{tabId:1},t().createElement(gt,{noPaddingBottom:!0},t().createElement(hx,null,t().createElement("p",null,"Please review your transaction details below. Then press sign transaction and follow the instructions on your Ledger device."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:function(){e.setStep(2)}},"Sign transaction"))),t().createElement(Qm,{tabId:2},t().createElement(gt,{noPaddingBottom:!0},t().createElement(hx,null,t().createElement("p",null,"STOKR couldn’t sign the transaction, please try again."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:this.onContinueClick},"Try again"))))))}}])&&aE(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);dE.propTypes={changeStep:i().func.isRequired};var pE=dE;function mE(e){return mE="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},mE(e)}function hE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gE(e,t){for(var n=0;n<t.length;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)}}function bE(e,t){return bE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bE(e,t)}function yE(e,t){if(t&&("object"===mE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return vE(e)}function vE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wE(e){return wE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},wE(e)}function xE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var EE=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bE(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=wE(o);if(i){var n=wE(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return yE(this,e)});function c(){var e;hE(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return xE(vE(e=a.call.apply(a,[this].concat(n))),"initialValues",{paying:!1,token:!1,send:!1}),xE(vE(e),"validationSchema",ii.object().shape({paying:ii.bool().oneOf([!0],"Agree is required"),token:ii.bool().oneOf([!0],"Agree is required"),send:ii.bool().oneOf([!0],"Agree is required")})),xE(vE(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"render",value:function(){return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Confirm transaction"),t().createElement("p",null,"To sign and send your transaction, please read and agree with all terms, then click ‘Confirm transaction’. After that you’re able to review the transaction details in Metamask and send the transaction to finalize the investment."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,null,t().createElement(Zu,null,"Important")),t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(e){var n=e.values,r=e.handleChange,o=e.handleBlur,i=!n.paying||!n.token||!n.send;return t().createElement(Ti,null,t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking ‘Confirm transaction’ I agree with the <VentureName> token terms & STOKR terms.",checkbox:{id:"token",name:"token",text:"I agree",value:"agree",onChange:r,onBlur:o,checked:n.token},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking 'Confirm transaction’ I agree with paying € 500,- for 1000 <VentureName> Tokens.",checkbox:{id:"paying",name:"paying",text:"I agree",value:"agree",onChange:r,onBlur:o,checked:n.paying},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"After clicking ‘Confirm transaction’ I’ll click ‘Confirm’ in the MetaMask popup in order to send the transaction and finalize the investment.",checkbox:{id:"send",name:"send",text:"I agree",value:"agree",onChange:r,onBlur:o,checked:n.send},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:i},"Confirm transaction")))}))))}}])&&gE(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);EE.propTypes={changeStep:i().func.isRequired};var SE=EE;function OE(e){return OE="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},OE(e)}function IE(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AE(e,t){for(var n=0;n<t.length;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)}}function kE(e,t){return kE=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},kE(e,t)}function CE(e,t){if(t&&("object"===OE(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return PE(e)}function PE(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function TE(e){return TE=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},TE(e)}function jE(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ME=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&kE(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=TE(o);if(i){var n=TE(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return CE(this,e)});function c(){var e;IE(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return jE(PE(e=a.call.apply(a,[this].concat(n))),"initialValues",{paying:!1,token:!1}),jE(PE(e),"validationSchema",ii.object().shape({paying:ii.bool().oneOf([!0],"Agree is required"),token:ii.bool().oneOf([!0],"Agree is required")})),jE(PE(e),"onSubmit",(function(){(0,e.props.changeStep)()})),e}return n=c,(r=[{key:"render",value:function(){return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Send transaction"),t().createElement("p",null,"In this final step, please confirm you agree with the investment and applicable terms, then click ‘Send transaction’."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,null,t().createElement(Zu,null,"Important")),t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:this.onSubmit},(function(e){var n=e.values,r=e.handleChange,o=e.handleBlur,i=!n.paying||!n.token;return t().createElement(Ti,null,t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking ‘Confirm Payment’ I agree with the <VentureName> token terms & STOKR terms.",checkbox:{id:"token",name:"token",text:"I understand",value:"agree",onChange:r,onBlur:o,checked:n.token},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0},t().createElement(wt,{text:"By clicking ‘Confirm Payment’ I agree with paying € 500,- for 1000 <VentureName> Tokens.",checkbox:{id:"paying",name:"paying",text:"I understand",value:"agree",onChange:r,onBlur:o,checked:n.paying},info:"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras in arcu sit amet justo suscipit convallis eu eu nibh. Morbi faucibus eros ut lacinia viverra. Cras volutpat molestie diam, non scelerisque tellus ultrices in. Etiam justo mauris, pretium eu scelerisque eu, interdum at orci. Ut mollis nisi sit amet dolor fringilla, a pretium est congue. Integer convallis id sem eu mattis. Aenean tellus odio, fringilla quis varius quis, auctor sit amet neque. Cras non felis mattis, imperdiet eros non, suscipit enim. Vestibulum luctus, dui vel bibendum ultrices, est turpis placerat est, non volutpat ante ligula vel lacus."})),t().createElement(gt,{noPaddingTop:!0,center:!0},t().createElement(sn,{type:"submit",minWidth:"240px",disabled:i},"Send transaction")))}))))}}])&&AE(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);ME.propTypes={changeStep:i().func.isRequired};var _E=ME,NE=function(e){var n=e.changeStep;return t().createElement(wi,null,t().createElement(gt,null,t().createElement(Zu,null,"Invest in TYKN")),t().createElement(X,null,t().createElement(gt,{noPaddingVertical:!0},t().createElement(hx,null,t().createElement("h3",null,"Unable to send transaction"),t().createElement("p",null,"STOKR couldn’t send the transaction, please try again."))),t().createElement(gt,{noPaddingBottom:!0},t().createElement(Kx,{value1:"1.00000000",unit1:"ETH",name1:"Ethereum01",owner1:"(you)",address1:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0",value2:"150.000000",unit2:"TYK",name2:"TYKN",owner2:"",address2:"0x1CC31c07710B7A6b75dE2DEeCB0d6A63B58A67C0"}),t().createElement(tE,{data:[{label:"account balance",value:"15.000000000 ETH",valueInfo:"(before investment)"},{label:"gas limit",value:"21000"},{label:"gas price",value:"41 GWEI (0.0000000041 ETH)"},{label:"max tx fee",value:"0.000861 ETH (861000 GWEI)"}]})),t().createElement(gt,{center:!0},t().createElement(sn,{minWidth:"240px",onClick:n},"Try again"))))};NE.propTypes={changeStep:i().func.isRequired};var RE=NE,LE=l().div.withConfig({displayName:"Sliderstyles__SliderWrapper",componentId:"sc-t5slmz-0"})(["height:100%;.slick-list{z-index:0;}.slick-arrow{z-index:1;width:24px;height:24px;&.slick-prev,&.slick-next{&:before{font-family:'Ionicons';speak:none;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:20px;line-height:24px;text-align:center;text-shadow:0 0 4px 0 rgba(0,0,0,0.2);opacity:1;color:#fff;transition:color 0.2s;}&:hover{&:before{color:#0050ca;}}}&.slick-prev{left:4px;&:before{content:'\f3cf';}}&.slick-next{right:4px;&:before{content:'\f3d1';}}}.slick-dots{z-index:1;height:auto;bottom:4px;li{display:inline-block;width:24px;height:24px;margin:0;button{display:block;padding:8px;width:24px;height:24px;&:before{position:relative;content:'';display:block;width:8px;height:8px;border-radius:4px;background-color:#fff;opacity:1;box-shadow:0 0 4px 0 rgba(0,0,0,0.2);transition:background-color 0.2s;}&:hover{&:before{background-color:#0050ca;}}}&.slick-active{button{&:before{background-color:#ee220d;}}}}}"]),BE=l().img.withConfig({displayName:"Sliderstyles__ImageSlide",componentId:"sc-t5slmz-1"})(["width:100%;height:100%;object-fit:cover;object-position:center center;"]),zE=l().div.withConfig({displayName:"Sliderstyles__ImageSlideWrapper",componentId:"sc-t5slmz-2"})(["height:193px;position:relative;"]),DE=function(e){var n=e.children,r=e.autoplay,o=e.dots,i=e.arrows,a=e.infinite,c=e.rtl,l={dots:o,arrows:i,infinite:a,speed:600,autoplay:!!r,autoplaySpeed:r,slidesToShow:1,slidesToScroll:1,rtl:void 0!==c&&c};return t().createElement(LE,null,t().createElement(tp(),l,n))};DE.propTypes={children:i().node.isRequired,autoplay:i().number,dots:i().bool,arrows:i().bool,infinite:i().bool},DE.defaultProps={autoplay:0,dots:!1,arrows:!1,infinite:!0};var GE,qE,FE,UE=l().div.withConfig({displayName:"StatusBadgestyles__StatusBadge",componentId:"sc-ffsxx0-0"})(["display:inline-block;vertical-align:top;padding:0px 16px;background-color:",";color:",";font-weight:600;font-size:8px;letter-spacing:1.78px;line-height:16px;border-radius:8px;margin-left:12px;"],(function(e){return p.cBlack}),(function(e){return p.cWhite})),WE={widescreen:1920,default:1440,large:1200,desktop:992,tablet:768,mobile:375,mobileS:320},HE=Object.keys(WE).reduce((function(e,t){var n=WE[t]/16;return e[t]=function(){return(0,c.css)(["@media (min-width:","em){",";}"],n,c.css.apply(void 0,arguments))},e}),{}),VE=HE;function YE(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function QE(){var e=(0,c.keyframes)(["0%{opacity:0;}60%{opacity:1;}100%{opacity:1;}"]),n=l().div.withConfig({displayName:"StokrLoader__StyledStokrLoader",componentId:"sc-1chowhw-0"})(["align-items:center;animation:"," 1.8s ease-in-out forwards;background:rgb(254,254,254);display:flex;height:100vh;justify-content:center;left:0;position:fixed;top:0;width:100vw;z-index:1000;",";",";",";"],e,VE.mobileS(GE||(GE=YE(["\n img {\n height: 15rem;\n width: 15rem;\n }\n "]))),VE.mobile(qE||(qE=YE(["\n img {\n height: 18rem;\n width: 18rem;\n }\n "]))),VE.tablet(FE||(FE=YE(["\n img {\n height: 30rem;\n width: 30rem;\n }\n "])))),r="https://res.cloudinary.com/stokr/image/upload/f_auto,q_auto/v1575035788/Static/stokr_loader_white_400x400_egnhgb.gif?a=".concat(Math.random());return t().createElement(n,null,t().createElement("img",{src:r,alt:" "}))}var KE=l().div.withConfig({displayName:"Switchstyles__Container",componentId:"sc-1tkcx5j-0"})(["display:inline-block;vertical-align:middle;position:relative;font-size:0;text-align:center;",""],(function(e){return e.mobile&&"\n display: block;\n margin: 0;\n padding: 18px 0;\n "})),JE=l().div.withConfig({displayName:"Switchstyles__Value",componentId:"sc-1tkcx5j-1"})(["display:inline-block;vertical-align:middle;font-size:11px;line-height:16px;letter-spacing:2px;text-transform:uppercase;padding:2px 0;opacity:0.5;color:",";transition:opacity 0.2s,color 0.2s;cursor:pointer;&:hover{color:",";}"," ",";"],(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.active&&"\n opacity: 1;\n "}),(function(e){return e.dark&&"\n color: ".concat(p.cPrimary,";\n\n &:hover {\n color: ").concat(p.cBlack,";\n }\n ")})),ZE=l().button.withConfig({displayName:"Switchstyles__Indicator",componentId:"sc-1tkcx5j-2"})(["display:inline-block;vertical-align:middle;width:","px;height:16px;border-radius:8px;background-color:",";margin:0 16px;position:relative;outline:0;cursor:pointer;&:before{content:'';display:block;width:18px;height:18px;position:absolute;top:50%;left:50%;margin-top:-9px;margin-left:-9px;border-radius:9px;background-color:",";transform:translateX(0);transition:transform .2s,background-color .2s;}&:hover{&:before{background-color:",";}}"," "," ",""],34,(function(e){return p.cGrey}),(function(e){return p.cBlack}),(function(e){return p.cPrimary}),(function(e){return e.dark&&"\n background-color: ".concat(p.cGrey2,";\n\n &:before {\n background-color: ").concat(p.cPrimary,";\n }\n\n &:hover {\n &:before {\n background-color: ").concat(p.cBlack,";\n }\n }\n ")}),(function(e){return e.value1&&"\n &:before {\n transform: translateX(-".concat(9,"px);\n }\n ")}),(function(e){return e.value2&&"\n &:before {\n transform: translateX(".concat(9,"px);\n }\n ")}));function XE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var $E,eS,tS,nS=function(n){var r=n.value1,o=n.value2,i=n.handleChange,a=n.mobile,c=n.dark,l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return XE(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?XE(e,t):void 0}}(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.")}()}((0,e.useState)(n.value),2),s=l[0],u=l[1];return(0,e.useEffect)((function(){i(s)}),[s]),t().createElement(KE,{mobile:a},t().createElement(JE,{active:s===r,onClick:function(){return u(r)},dark:c},r),t().createElement(ZE,{value1:s===r,value2:s===o,onClick:function(){return u(s===r?o:r)},dark:c}),t().createElement(JE,{active:s===o,onClick:function(){return u(o)},dark:c},o))};function rS(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}nS.propTypes={value:i().string.isRequired,value1:i().string.isRequired,value2:i().string.isRequired,handleChange:i().func.isRequired,mobile:i().bool,dark:i().bool},nS.defaultProps={mobile:!1,dark:!1};var oS=l().div.withConfig({displayName:"TeamOverviewstyles__Container",componentId:"sc-b5ges3-0"})(["position:relative;width:100%;font-size:0;@media screen and (min-width:768px) and (max-width:1000px){display:flex;flex-direction:column;}"]),iS=l().div.withConfig({displayName:"TeamOverviewstyles__ImageWrapper",componentId:"sc-b5ges3-1"})(["overflow:hidden;display:block;margin:0 auto;width:160px;height:160px;border-radius:80px;box-shadow:none;border:1px solid rgb(225,225,225);"," @media screen and (min-width:768px) and (max-width:1000px){margin:0 auto;}"],G.Medium($E||($E=rS(["\n z-index: 1;\n position: relative;\n display: inline-block;\n vertical-align: top;\n margin: 0;\n margin-right: -160px;\n "])))),aS=l().img.withConfig({displayName:"TeamOverviewstyles__Avatar",componentId:"sc-b5ges3-2"})(["display:block;width:100%;height:100%;object-fit:cover;object-position:center center;"]),cS=l().div.withConfig({displayName:"TeamOverviewstyles__ContentWrapper",componentId:"sc-b5ges3-3"})(["display:block;width:100%;"," @media screen and (min-width:768px) and (max-width:900px){display:flex;flex-direction:column;}@media screen and (min-width:768px) and (max-width:1000px){padding-left:0;}"],G.Medium(eS||(eS=rS(["\n z-index: 0;\n position: relative;\n display: inline-block;\n vertical-align: top;\n padding-left: 160px;\n "])))),lS=l().h3.withConfig({displayName:"TeamOverviewstyles__Name",componentId:"sc-b5ges3-4"})(["position:relative;font-family:'Open Sans';font-weight:800;font-size:28px;line-height:36px;letter-spacing:1.2px;margin:0;text-transform:uppercase;margin-top:4px;"]),sS=l().div.withConfig({displayName:"TeamOverviewstyles__ContentGroup",componentId:"sc-b5ges3-5"})(["display:block;padding-top:32px;"," @media screen and (min-width:768px) and (max-width:900px){width:100%;}@media screen and (min-width:768px) and (max-width:1000px){margin-top:32px;padding-left:0;}"],G.Medium(tS||(tS=rS(["\n display: inline-block;\n vertical-align: top;\n width: 50%;\n padding-top: 0;\n padding-left: 50px;\n "])))),uS=l().div.withConfig({displayName:"TeamOverviewstyles__SmallHeader",componentId:"sc-b5ges3-6"})(["display:block;svg{display:inline-block;vertical-align:middle;fill:",";margin:-4px 0;margin-right:12px;}span{display:inline-block;vertical-align:middle;font-size:11px;line-height:16px;text-transform:uppercase;padding:4px 0;}"],(function(e){return p.cPrimary})),fS=l().div.withConfig({displayName:"TeamOverviewstyles__ProjectStats",componentId:"sc-b5ges3-7"})(["display:block;position:relative;margin-top:25px;"]),dS=l().div.withConfig({displayName:"TeamOverviewstyles__ProjectStat",componentId:"sc-b5ges3-8"})(["display:inline-block;vertical-align:top;width:50%;"]),pS=l().div.withConfig({displayName:"TeamOverviewstyles__StatLabel",componentId:"sc-b5ges3-9"})(["font-size:11px;line-height:16px;text-transform:uppercase;padding:4px 0;"]),mS=l().div.withConfig({displayName:"TeamOverviewstyles__StatValue",componentId:"sc-b5ges3-10"})(["font-weight:300;font-size:16px;line-height:16px;margin-top:4px;"]),hS=l().div.withConfig({displayName:"TeamOverviewstyles__PersonPosition",componentId:"sc-b5ges3-11"})(["font-weight:bold;font-size:16px;line-height:24px;text-transform:uppercase;color:",";margin-top:15px;"],(function(e){return p.cPrimary})),gS=l().div.withConfig({displayName:"TeamOverviewstyles__PersonEmail",componentId:"sc-b5ges3-12"})(["font-weight:300;font-size:14px;line-height:24px;margin-top:20px;"]),bS=n(136),yS=n.n(bS);function vS(e){return vS="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},vS(e)}function wS(){wS=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.asyncIterator||"@@asyncIterator",a=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof f?t:f,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=w(a,n);if(c){if(c===u)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=s(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var u={};function f(){}function d(){}function p(){}var m={};c(m,o,(function(){return this}));var h=Object.getPrototypeOf,g=h&&h(h(O([])));g&&g!==t&&n.call(g,o)&&(m=g);var b=p.prototype=f.prototype=Object.create(m);function y(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function v(e,t){function r(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==vS(f)&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function w(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,w(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var r=s(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,u;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function O(e){if(e){var t=e[o];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,i=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return i.next=i}}return{next:I}}function I(){return{value:void 0,done:!0}}return d.prototype=p,c(b,"constructor",p),c(p,"constructor",d),d.displayName=c(p,a,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,c(e,a,"GeneratorFunction")),e.prototype=Object.create(b),e},e.awrap=function(e){return{__await:e}},y(v.prototype),c(v.prototype,i,(function(){return this})),e.AsyncIterator=v,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new v(l(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},y(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=O,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),l=n.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),u},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:O(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},e}function xS(e,t,n,r,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,o)}function ES(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){xS(i,r,o,a,c,"next",e)}function c(e){xS(i,r,o,a,c,"throw",e)}a(void 0)}))}}function SS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var OS=function(n){var r=n.name,o=n.memberRole,i=n.avatar,a=n.position,c=n.email,l=n.projectName,s=n.stats,u=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return SS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?SS(e,t):void 0}}(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.")}()}((0,e.useState)(yS()),2),f=u[0],d=u[1];(0,e.useEffect)((function(){var e=function(){var e=ES(wS().mark((function e(){var t;return wS().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:t=e.sent,d(t);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var p=function(){return new Promise(function(){var e=ES(wS().mark((function e(t,n){var r;return wS().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:try{(r=new XMLHttpRequest).open("HEAD",i,!1),r.send(),404!==r.status?t(i):t(yS())}catch(e){n(yS())}case 1:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}())};return t().createElement(oS,null,t().createElement(iS,null,t().createElement(aS,{src:f,alt:"avatar"})),t().createElement(cS,null,t().createElement(sS,null,t().createElement(uS,null,"company_sa"===o&&t().createElement(ra,null),t().createElement("span",null,o)),t().createElement(lS,null,r),t().createElement(hS,null,a),t().createElement(gS,null,c)),t().createElement(sS,null,t().createElement(uS,null,t().createElement("span",null,"Project")),t().createElement(lS,null,l),s&&t().createElement(fS,null,s.map((function(e){return t().createElement(dS,{key:e.name},t().createElement(pS,null,e.name),t().createElement(mS,null,e.count))}))))))};OS.propTypes={name:i().string,memberRole:i().string,avatar:i().string,position:i().string,email:i().string,projectName:i().string,stats:i().arrayOf(i().shape({name:i().string,count:i().number}))},OS.defaultProps={stats:[],name:"",memberRole:"",avatar:"",position:"",email:"",projectName:""};var IS=l().div.withConfig({displayName:"ToDoListTaskstyles__Container",componentId:"sc-lpyruk-0"})(["display:flex;height:56px;align-items:center;"]),AS=l().div.withConfig({displayName:"ToDoListTaskstyles__Content",componentId:"sc-lpyruk-1"})(["display:flex;flex-direction:column;"]),kS=l().div.withConfig({displayName:"ToDoListTaskstyles__TitleContainer",componentId:"sc-lpyruk-2"})(["display:flex;align-items:center;"]),CS=l().div.withConfig({displayName:"ToDoListTaskstyles__Title",componentId:"sc-lpyruk-3"})(["font-size:16px;font-weight:600;line-height:24px;letter-spacing:0.6px;text-align:left;"," ",""],(function(e){return(e.state===qS.IN_PROGRESS||e.state===qS.APPROVED||e.state===qS.NOT_AVAILABLE)&&"\n opacity: 0.3;\n "}),(function(e){return e.link&&"\n opacity: 1;\n "})),PS=l().div.withConfig({displayName:"ToDoListTaskstyles__Notifications",componentId:"sc-lpyruk-4"})(["position:relative;right:-5px;width:16px;height:16px;color:#ffffff;font-size:11px;font-weight:700;line-height:16px;text-align:center;background-color:#ee220d;border-radius:50%;padding-left:0;"]),TS=l().p.withConfig({displayName:"ToDoListTaskstyles__State",componentId:"sc-lpyruk-5"})(["margin-top:3px;font-size:11px;line-height:16px;letter-spacing:0.4px;font-weight:300;text-align:left;opacity:0.6;"]),jS=l().div.withConfig({displayName:"ToDoListTaskstyles__IconContainer",componentId:"sc-lpyruk-6"})(["flex-shrink:0;width:23px;text-align:center;margin-right:10px;position:relative;top:-10px;"]),MS=l().i.attrs({className:"ion ion-md-alert"}).withConfig({displayName:"ToDoListTaskstyles__TooltipIcon",componentId:"sc-lpyruk-7"})(["font-size:18px;margin:0 14px;opacity:0.2;"]),_S=(l().div.withConfig({displayName:"ToDoListTaskstyles__TooltipBox",componentId:"sc-lpyruk-8"})(["max-width:240px;text-align:left;"]),l()(tr).withConfig({displayName:"ToDoListTaskstyles__Icon",componentId:"sc-lpyruk-9"})(["font-size:20px;width:18px;text-align:center;"," "," "," "," ",""],(function(e){return e.state===qS.APPROVED&&"\n font-size: 13px;\n color: ".concat(s.freshGreen,";\n ")}),(function(e){return e.state===qS.REJECTED&&"\n color: ".concat(s.orangishRed,";\n ")}),(function(e){return e.state===qS.IN_PROGRESS&&"\n opacity: 0.3;\n "}),(function(e){return e.state===qS.SKIPPED&&"\n font-size: 13px;\n "}),(function(e){return e.state===qS.NOT_AVAILABLE&&"\n font-size: 13px;\n opacity: 0.3;\n "}))),NS=function(e){var n=e.title,r=e.message,o=e.state,i=e.icon,c=e.link,l=e.tooltip,s=e.notificationCount;return t().createElement(t().Fragment,null,c?t().createElement(xt.Link,{to:c},t().createElement(IS,null,t().createElement(jS,null,t().createElement(_S,{icon:i,state:o})),t().createElement(AS,null,t().createElement(kS,null,t().createElement(CS,{link:c,state:o},n),l&&t().createElement(a.Tooltip,{position:"top",title:l,theme:"light",arrow:!0,duration:200},t().createElement(MS,{onClick:function(e){return e.preventDefault()}}))),r?t().createElement(TS,null,r):""))):t().createElement(IS,null,t().createElement(jS,null,t().createElement(_S,{icon:i,state:o})),t().createElement(AS,null,t().createElement(kS,null,t().createElement(CS,{state:o},n),s>0&&t().createElement(PS,null,s),l&&t().createElement(a.Tooltip,{position:"top",title:l,theme:"light",arrow:!0,duration:200},t().createElement(MS,{onClick:function(e){return e.preventDefault()}}))),r?t().createElement(TS,null,r):"")))};NS.propTypes={title:i().string.isRequired,message:i().string.isRequired,state:i().string.isRequired,icon:i().string.isRequired,link:i().any,tooltip:i().string,notificationCount:i().string},NS.defaultProps={tooltip:"",link:void 0};var RS,LS,BS=NS;function zS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function DS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var GS,qS={REJECTED:"rejected",DENIED:"rejected",DRAFT:"draft",IN_PROGRESS:"in_progress",APPROVED:"approved",SKIPPED:"skipped",REAPPLY:"reapply",NOT_AVAILABLE:"not_available"},FS=(DS(RS={},qS.REJECTED,"Rejected. Please re-apply."),DS(RS,qS.DENIED,"Rejected. Please re-apply."),DS(RS,qS.DRAFT,"Draft"),DS(RS,qS.IN_PROGRESS,"In progress"),DS(RS,qS.APPROVED,"Verified"),DS(RS,qS.SKIPPED,"Skipped"),RS),US=(DS(LS={},qS.REJECTED,Xn.warning),DS(LS,qS.DENIED,Xn.warning),DS(LS,qS.DRAFT,Xn.edit),DS(LS,qS.IN_PROGRESS,Xn.inProgress),DS(LS,qS.APPROVED,Xn.check),DS(LS,qS.SKIPPED,Xn.arrowRight),DS(LS,qS.NOT_AVAILABLE,Xn.arrowRight),LS),WS=function(e){e.successText;var n=e.mandatoryTasks,r=void 0===n?[]:n,o=e.walletsTasks,i=void 0===o?[]:o,a=e.optionalTasks,c=void 0===a?[]:a,l=(e.title,e.subtitle,r.reduce((function(e,t){return t.state===qS.APPROVED||t.state===qS.IN_PROGRESS?e:e+1}),0)),s=function(){var e=0;return i.forEach((function(t){t.state!==qS.APPROVED&&t.state!==qS.IN_PROGRESS&&e++})),2===e?1:0},u=l+s();return t().createElement(My,null,t().createElement(gt,{noPaddingHorizontal:!0},t().createElement(_y,null,0!==u?t().createElement(Ly,null,u):t().createElement(_S,{icon:Xn.check,state:"approved",checklist:!0}),t().createElement(Ny,null,"Checklist"))),r.length>0&&t().createElement(t().Fragment,null,t().createElement(gt,{noPaddingTop:!0,noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(_y,{marginBottom:"10px"},0!==l?t().createElement(Ly,null,l):t().createElement(_S,{icon:Xn.check,state:"approved",checklist:!0}),t().createElement(Ry,null,"Mandatory"))),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0},r.map((function(e){return t().createElement(BS,{key:e.title,title:e.title,message:e.message||FS[e.state],state:e.state,icon:US[e.state],link:e.link,tooltip:e.tooltip})})))),i.length>0&&t().createElement(t().Fragment,null,t().createElement(gt,{noPaddingTop:!0,noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(_y,{marginBottom:"10px"},0!==s()?t().createElement(Ly,null,s()):t().createElement(_S,{icon:Xn.check,state:"approved",checklist:!0}),t().createElement(Ry,null,"Wallets"))),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0},i.map((function(e){return t().createElement(BS,{key:e.title,title:e.title,message:e.message||FS[e.state],state:e.state,icon:US[e.state],link:e.link,tooltip:e.tooltip})})))),c.length>0&&t().createElement(t().Fragment,null,t().createElement(gt,{noPaddingTop:!0,noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(_y,{marginBottom:"10px"},t().createElement(Ry,{marginLeft:"32px"},"Optional"))),t().createElement(gt,{noPaddingTop:!0,noPaddingHorizontal:!0},c.map((function(e){return t().createElement(BS,{key:e.title,title:e.title,message:e.message||FS[e.state],state:e.state,icon:US[e.state],link:e.link,tooltip:e.tooltip})})))))},HS=i().arrayOf(i().shape({title:i().string.isRequired,state:i().oneOf((GS=Object.values(qS),function(e){if(Array.isArray(e))return zS(e)}(GS)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(GS)||function(e,t){if(e){if("string"==typeof e)return zS(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zS(e,t):void 0}}(GS)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).isRequired,link:i().any,tooltip:i().string}));function VS(e){return VS="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},VS(e)}function YS(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function QS(e,t){for(var n=0;n<t.length;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)}}function KS(e,t){return KS=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},KS(e,t)}function JS(e,t){if(t&&("object"===VS(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ZS(e)}function ZS(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function XS(e){return XS=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},XS(e)}function $S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}WS.propTypes={title:i().string,subtitle:i().string,mandatoryTasks:HS,optionalTasks:HS,successText:i().string},WS.defaultProps={title:"To do list",subtitle:"",mandatoryTasks:[],optionalTasks:[],successText:""};var eO=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&KS(e,t)}(c,e);var n,r,o,i,a=(o=c,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=XS(o);if(i){var n=XS(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return JS(this,e)});function c(){var e;YS(this,c);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return $S(ZS(e=a.call.apply(a,[this].concat(n))),"initialValues",{fa2code:""}),$S(ZS(e),"validationSchema",ii.object().shape({fa2code:ii.string().required("Token is required")})),e}return n=c,(r=[{key:"render",value:function(){var e=this.props,n=e.isModalOpen,r=e.onModalClose,o=e.onFormSend;return t().createElement(Si,{isOpen:n,onClose:r},t().createElement(No,null,t().createElement(Ro,{part:8},t().createElement(hi,{modalTop:!0},t().createElement(Te,null,t().createElement("h3",null,"Two Factor Authentication"),t().createElement("p",null,"Please log in to engage in our community & invest in exciting opportunities."))),t().createElement(hi,{modalBot:!0})),t().createElement(Ro,{part:8},t().createElement(hi,null,t().createElement(oi.Formik,{initialValues:this.initialValues,validationSchema:this.validationSchema,onSubmit:o},(function(e){var n=e.values,r=e.errors,o=e.touched,i=e.handleBlur,a=e.setFieldValue,c=e.setFieldTouched,l=!o.fa2code||!!r.fa2code;return t().createElement(Ti,null,t().createElement(gt,{noPadding:!0},t().createElement(Ii,null,t().createElement(Ni,{id:"two-factor",name:"fa2code",type:"text",label:"Token",value:n.fa2code,onChange:function(e){var t=e.target;a(t.name,t.value,!1),c(t.name)},onBlur:i,error:!!r.fa2code,touched:!!o.fa2code}),t().createElement(ki,{show:r.fa2code&&o.fa2code},r.fa2code))),t().createElement(gt,{noPaddingBottom:!0,noPaddingHorizontal:!0},t().createElement(sn,{type:"submit",fluid:!0,disabled:l},"Login")))}))))))}}])&&QS(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),c}(e.PureComponent);eO.propTypes={isModalOpen:i().bool.isRequired,onModalClose:i().func.isRequired,onFormSend:i().func.isRequired},require("react-tippy/dist/tippy.css"),require("react-day-picker/lib/style.css");var tO=n.p+"3caa0d4f9b7d58668066.woff2",nO=n.p+"9ec738fbb66068dc1ca7.woff",rO=n.p+"d97d7385fe8771611848.ttf",oO=n.p+"311956ded96d3fd2813d.woff2",iO=n.p+"39f5961b2d3eb4aa5bf5.woff",aO=n.p+"d2b1865643b98c0e8b54.ttf",cO=n.p+"cbfc24090ef8bacab132.woff2",lO=n.p+"a750292d6a0b5a760679.woff",sO=n.p+"9bea22b57dc165ed4382.ttf",uO=n.p+"179ef2df02cb0b68c9fd.woff2",fO=n.p+"c6a4bc1bd034d6303053.woff",dO=n.p+"55053cc0a8e6482eca64.ttf",pO=n.p+"21e493d43617de76dbc7.woff2",mO=n.p+"81f3ef07b7952e249da1.woff",hO=n.p+"bcb6531cf820152b7538.ttf",gO=n.p+"643c37f102b41f7f90c3.woff2",bO=n.p+"4e528d6445ca1974c313.woff",yO=n.p+"98b7d3182f652f021bc3.ttf",vO=n.p+"2640959b1f9381cde047.eot",wO=n.p+"4c3c428d0ce82f840710.woff",xO=n.p+"a1d7666a48f976227722.ttf",EO=n.p+"08418fc6c324f51f7e56.svg",SO=(n(342),(0,c.css)(["@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:normal;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:600;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:bold;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:300;font-style:normal;}@font-face{font-family:'Open Sans';src:url(",") format('woff2'),url(",") format('woff'),url(",") format('truetype');font-weight:800;font-style:normal;}@font-face{font-family:\"Ionicons\";src:url(",') format("woff2"),url(',') format("woff"),url(',") format(\"truetype\");font-weight:normal;font-style:normal;}@font-face{font-family:'icomoon';src:url('","');src:url('","#iefix') format('embedded-opentype'),url('","') format('truetype'),url('","') format('woff'),url('","') format('svg');font-weight:normal;font-style:normal;}"],tO,nO,rO,oO,iO,aO,cO,lO,sO,uO,fO,dO,pO,mO,hO,gO,bO,yO,vO,vO,xO,wO,EO)),OO=(0,c.css)([".ui.dimmer{background-color:rgba(0,0,0,0.7);}.ui.modals.dimmer{align-items:center;padding:0;}.ui.modal{.ui.grid{margin:0;& > .row{padding:0;}& > .row > .column{padding:0 !important;}}}.ui.popup{border-radius:10px;font-size:11px;line-height:14px;letter-spacing:0.4px;padding:12px;box-shadow:0 0 12px 8px rgba(0,0,0,0.03),0 0 6px 3px rgba(0,0,0,0.02);border:none;&::before{background:none !important;border:7px solid transparent !important;box-shadow:none !important;margin:0 !important;}&.top::before{border-top-color:","!important;transform:rotate(0) translateY(100%) translateX(-50%) !important;left:50% !important;bottom:0 !important;}&.bottom::before{border-bottom-color:","!important;transform:rotate(0) translateY(-100%) translateX(-50%) !important;left:50% !important;top:0 !important;}&.left::before{border-left-color:","!important;transform:rotate(0) translateX(100%) !important;right:0 !important;top:auto !important;}&.right::before{border-right-color:","!important;transform:rotate(0) translateX(-100%) !important;left:0 !important;top:auto !important;}&.top.left::before{border:7px solid transparent !important;border-top-color:","!important;left:0 !important;transform:rotate(0) translateY(100%) translateX(0) !important;}}"],s.blue,s.blue,s.blue,s.blue,s.blue),IO=(0,c.css)([".tippy-popper{.tippy-tooltip{border-radius:10px;font-size:11px;line-height:14px;letter-spacing:0.4px;padding:12px;}.tippy-tooltip.light-theme{box-shadow:0 0 12px 8px rgba(0,0,0,0.03),0 0 6px 3px rgba(0,0,0,0.02);}&[x-placement^='top'] [x-arrow]{border-top-color:","!important;}&[x-placement^='bottom'] [x-arrow]{border-bottom-color:","!important;}&[x-placement^='left'] [x-arrow]{border-left-color:","!important;}&[x-placement^='right'] [x-arrow]{border-right-color:","!important;}}"],s.blue,s.blue,s.blue,s.blue),AO=(0,c.createGlobalStyle)([""," *,*:before,*:after{box-sizing:border-box;}html,body{margin:0;font-family:'Open Sans';font-size:10px;line-height:1;background-color:",";}input,select,textarea,button{font-family:'Open Sans';}button{background-color:transparent;border:0;padding:0;cursor:pointer;}select{appearance:none;}select::-ms-expand{display:none;}a{font-weight:normal;color:inherit;&:hover{text-decoration:none;color:inherit;}}::selection{color:",";background-color:",";}"," ",""],SO,s.white,s.white,s.blue,OO,IO);function kO(e){return kO="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},kO(e)}function CO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?CO(Object(n),!0).forEach((function(t){LO(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):CO(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function TO(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jO(e,t){for(var n=0;n<t.length;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)}}function MO(e,t){return MO=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},MO(e,t)}function _O(e,t){if(t&&("object"===kO(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return NO(e)}function NO(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function RO(e){return RO=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},RO(e)}function LO(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var BO=t().createContext(),zO=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&MO(e,t)}(l,e);var n,r,o,i,a=(o=l,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=RO(o);if(i){var n=RO(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return _O(this,e)});function l(){var e;TO(this,l);for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return LO(NO(e=a.call.apply(a,[this].concat(n))),"handleProgressStatusChange",(function(t,n){(0,e.props.updateProgressStatusAC)(t,n)})),e}return n=l,(r=[{key:"render",value:function(){var e=this.props,n=e.title,r=e.progress,o=e.loginHandler,i=e.signupHandler,a=e.signupFlow,l=e.children,s=e.footerColor,u=e.noFooter,f=e.noLogout;return t().createElement(c.ThemeProvider,{theme:PO({},p)},t().createElement(Lo,null,t().createElement(AO,null),t().createElement(xl,{progress:r,signupFlow:a,loginHandler:o,signupHandler:i,siteTitle:n,noLogout:f}),t().createElement(BO.Provider,{value:{onProgressStatusChange:this.handleProgressStatusChange}},l),!u&&t().createElement(ri,{color:s})))}}])&&jO(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),l}(t().PureComponent);zO.propTypes={title:i().string,signupFlow:i().bool,loginHandler:i().func,signupHandler:i().func,progress:i().bool,footerColor:i().string,children:i().node.isRequired},zO.defaultProps={title:"",progress:null,signupFlow:!1,footerColor:"red",loginHandler:function(){},signupHandler:function(){}};var DO=BO.Consumer}(),module.exports["@stokr/components-library"]=r}();