pageflow 15.6.1 → 15.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (274) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +253 -11
  3. data/README.md +1 -2
  4. data/admins/pageflow/entry.rb +28 -57
  5. data/admins/pageflow/membership.rb +5 -1
  6. data/admins/pageflow/user.rb +1 -3
  7. data/app/assets/images/pageflow/admin/icons/buttons/editor.svg +2 -0
  8. data/app/assets/images/pageflow/admin/icons/buttons/preview.svg +2 -0
  9. data/app/assets/images/pageflow/admin/icons/buttons/show_public.svg +2 -0
  10. data/app/assets/images/pageflow/admin/icons/delete.svg +9 -0
  11. data/app/assets/images/pageflow/admin/icons/done.svg +6 -0
  12. data/app/assets/images/pageflow/admin/icons/edit.svg +7 -0
  13. data/app/assets/images/pageflow/admin/icons/editor.svg +2 -0
  14. data/app/assets/images/pageflow/admin/icons/folder.svg +8 -0
  15. data/app/assets/images/pageflow/admin/icons/folder_active.svg +8 -0
  16. data/app/assets/images/pageflow/admin/icons/info.svg +3 -0
  17. data/app/assets/images/pageflow/admin/icons/new.svg +5 -0
  18. data/app/assets/images/pageflow/admin/icons/preview.svg +2 -0
  19. data/app/assets/images/pageflow/admin/icons/published.svg +2 -0
  20. data/app/assets/images/pageflow/admin/icons/published_with_password.svg +2 -0
  21. data/app/assets/images/pageflow/admin/icons/show_public.svg +2 -0
  22. data/app/assets/images/pageflow/editor/blank_entry/logo.png +0 -0
  23. data/app/assets/images/pageflow/themes/default/embed_opt_in.svg +3 -0
  24. data/app/assets/images/pageflow/themes/default/embed_opt_out_info.svg +16 -0
  25. data/app/assets/javascripts/pageflow/admin/entries.js +9 -57
  26. data/app/assets/javascripts/pageflow/dist/editor.js +11890 -0
  27. data/app/assets/javascripts/pageflow/dist/frontend.js +5800 -0
  28. data/app/assets/javascripts/pageflow/dist/react-client.js +22 -0
  29. data/app/assets/javascripts/pageflow/dist/react-server.js +19 -0
  30. data/app/assets/javascripts/pageflow/dist/ui.js +127 -10
  31. data/app/assets/stylesheets/pageflow/admin/active_admin_patches.scss +18 -16
  32. data/app/assets/stylesheets/pageflow/admin/badge_list.scss +25 -35
  33. data/app/assets/stylesheets/pageflow/admin/columns.scss +13 -11
  34. data/app/assets/stylesheets/pageflow/admin/embed_code.scss +1 -4
  35. data/app/assets/stylesheets/pageflow/admin/entries/folders.scss +44 -19
  36. data/app/assets/stylesheets/pageflow/admin/entries.scss +15 -31
  37. data/app/assets/stylesheets/pageflow/admin/features.scss +3 -1
  38. data/app/assets/stylesheets/pageflow/admin/forms.scss +14 -12
  39. data/app/assets/stylesheets/pageflow/admin/hint.scss +8 -14
  40. data/app/assets/stylesheets/pageflow/admin/icon_button.scss +25 -14
  41. data/app/assets/stylesheets/pageflow/admin/icon_link.scss +31 -15
  42. data/app/assets/stylesheets/pageflow/admin/publication_state_indicator.scss +14 -7
  43. data/app/assets/stylesheets/pageflow/admin/status_tags.scss +5 -4
  44. data/app/assets/stylesheets/pageflow/admin/tabs_view.scss +36 -34
  45. data/app/assets/stylesheets/pageflow/admin/tooltip_bubble.scss +15 -11
  46. data/app/assets/stylesheets/pageflow/admin.scss +12 -0
  47. data/app/assets/stylesheets/pageflow/editor/background_positioning.scss +15 -61
  48. data/app/assets/stylesheets/pageflow/editor/base.scss +28 -13
  49. data/app/assets/stylesheets/pageflow/editor/blank_entry.scss +6 -6
  50. data/app/assets/stylesheets/pageflow/editor/change_theme.scss +28 -71
  51. data/app/assets/stylesheets/pageflow/editor/composables.scss +2 -2
  52. data/app/assets/stylesheets/pageflow/editor/confirm_encoding.scss +18 -36
  53. data/app/assets/stylesheets/pageflow/editor/confirm_upload.scss +12 -39
  54. data/app/assets/stylesheets/pageflow/editor/dialogs.scss +39 -12
  55. data/app/assets/stylesheets/pageflow/editor/disabled_atmo_indicator.scss +3 -3
  56. data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +7 -10
  57. data/app/assets/stylesheets/pageflow/editor/emulation_mode_button.scss +3 -8
  58. data/app/assets/stylesheets/pageflow/editor/failures.scss +3 -3
  59. data/app/assets/stylesheets/pageflow/editor/file_import.scss +22 -38
  60. data/app/assets/stylesheets/pageflow/editor/file_meta_data.scss +3 -7
  61. data/app/assets/stylesheets/pageflow/editor/file_settings_dialog.scss +4 -24
  62. data/app/assets/stylesheets/pageflow/editor/file_stages.scss +10 -11
  63. data/app/assets/stylesheets/pageflow/editor/file_thumbnails.scss +4 -8
  64. data/app/assets/stylesheets/pageflow/editor/files.scss +7 -6
  65. data/app/assets/stylesheets/pageflow/editor/files_explorer.scss +13 -30
  66. data/app/assets/stylesheets/pageflow/editor/files_gallery.scss +15 -11
  67. data/app/assets/stylesheets/pageflow/editor/filtered_files.scss +6 -7
  68. data/app/assets/stylesheets/pageflow/editor/help.scss +19 -14
  69. data/app/assets/stylesheets/pageflow/editor/help_image.scss +1 -1
  70. data/app/assets/stylesheets/pageflow/editor/info_box.scss +19 -0
  71. data/app/assets/stylesheets/pageflow/editor/inputs/file_input.scss +7 -11
  72. data/app/assets/stylesheets/pageflow/editor/inputs/file_processing_state_display.scss +0 -2
  73. data/app/assets/stylesheets/pageflow/editor/inputs/reference.scss +7 -11
  74. data/app/assets/stylesheets/pageflow/editor/list.scss +13 -10
  75. data/app/assets/stylesheets/pageflow/editor/loading.scss +1 -1
  76. data/app/assets/stylesheets/pageflow/editor/locked.scss +9 -5
  77. data/app/assets/stylesheets/pageflow/editor/menu.scss +5 -5
  78. data/app/assets/stylesheets/pageflow/editor/notifications.scss +15 -14
  79. data/app/assets/stylesheets/pageflow/editor/other_entry_item.scss +7 -3
  80. data/app/assets/stylesheets/pageflow/editor/outline.scss +57 -19
  81. data/app/assets/stylesheets/pageflow/editor/page_links.scss +10 -8
  82. data/app/assets/stylesheets/pageflow/editor/page_selection.scss +2 -29
  83. data/app/assets/stylesheets/pageflow/editor/publish_entry.scss +5 -6
  84. data/app/assets/stylesheets/pageflow/editor/quotas.scss +2 -3
  85. data/app/assets/stylesheets/pageflow/editor/select_button.scss +12 -6
  86. data/app/assets/stylesheets/pageflow/editor/sidebar_footer.scss +1 -5
  87. data/app/assets/stylesheets/pageflow/editor/storyline_picker.scss +6 -2
  88. data/app/assets/stylesheets/pageflow/editor/text_tracks.scss +6 -22
  89. data/app/assets/stylesheets/pageflow/editor/widgets.scss +2 -2
  90. data/app/assets/stylesheets/pageflow/editor/wysihtml5.scss +35 -29
  91. data/app/assets/stylesheets/pageflow/mixins/background_icons.scss +3 -3
  92. data/app/assets/stylesheets/pageflow/mixins/buttons.scss +50 -68
  93. data/app/assets/stylesheets/pageflow/themes/default/base.scss +2 -0
  94. data/app/assets/stylesheets/pageflow/themes/default/consent/bar.scss +156 -0
  95. data/app/assets/stylesheets/pageflow/themes/default/consent/vendor_list.scss +62 -0
  96. data/app/assets/stylesheets/pageflow/themes/default/consent.scss +2 -0
  97. data/app/assets/stylesheets/pageflow/themes/default/logo/alignment.scss +7 -0
  98. data/app/assets/stylesheets/pageflow/themes/default/page/shadow.scss +44 -0
  99. data/app/assets/stylesheets/pageflow/themes/default/third_party_embed_consent.scss +103 -0
  100. data/app/assets/stylesheets/pageflow/ui/forms.scss +79 -84
  101. data/app/assets/stylesheets/pageflow/ui/functions.scss +56 -0
  102. data/app/assets/stylesheets/pageflow/ui/input/check_box_group_input.scss +2 -3
  103. data/app/assets/stylesheets/pageflow/ui/input/color_input.scss +6 -6
  104. data/app/assets/stylesheets/pageflow/ui/input/extended_select_input.scss +63 -50
  105. data/app/assets/stylesheets/pageflow/ui/normalize/forms.scss +153 -0
  106. data/app/assets/stylesheets/pageflow/ui/normalize.scss +278 -0
  107. data/app/assets/stylesheets/pageflow/ui/properties.scss +44 -0
  108. data/app/assets/stylesheets/pageflow/ui/table_cells/delete_row_table_cell.scss +1 -1
  109. data/app/assets/stylesheets/pageflow/ui/table_view.scss +14 -18
  110. data/app/assets/stylesheets/pageflow/ui/tabs_view.scss +8 -11
  111. data/app/assets/stylesheets/pageflow/ui/tooltip.scss +6 -8
  112. data/app/assets/stylesheets/pageflow/ui/validation_error_messages.scss +6 -0
  113. data/app/assets/stylesheets/pageflow/ui.scss +4 -0
  114. data/app/controllers/pageflow/edit_locks_controller.rb +3 -1
  115. data/app/helpers/pageflow/admin/entries_helper.rb +2 -12
  116. data/app/helpers/pageflow/embed_code_helper.rb +1 -1
  117. data/app/helpers/pageflow/entries_helper.rb +41 -2
  118. data/app/helpers/pageflow/file_background_images_helper.rb +1 -1
  119. data/app/helpers/pageflow/page_types_helper.rb +1 -1
  120. data/app/helpers/pageflow/themes_helper.rb +1 -1
  121. data/app/jobs/pageflow/poll_meta_data_from_zencoder_job.rb +1 -1
  122. data/app/jobs/pageflow/poll_zencoder_job.rb +1 -9
  123. data/app/models/pageflow/audio_file.rb +17 -0
  124. data/app/models/pageflow/audio_file_url_templates.rb +4 -1
  125. data/app/models/pageflow/customized_theme.rb +37 -0
  126. data/app/models/pageflow/draft_entry.rb +6 -59
  127. data/app/models/pageflow/entry.rb +8 -0
  128. data/app/models/pageflow/entry_at_revision.rb +68 -0
  129. data/app/models/pageflow/entry_role_query.rb +44 -24
  130. data/app/models/pageflow/image_file_css_background_image_urls.rb +8 -2
  131. data/app/models/pageflow/published_entry.rb +9 -56
  132. data/app/models/pageflow/theme_customization.rb +46 -0
  133. data/app/models/pageflow/theme_customization_file.rb +58 -0
  134. data/app/models/pageflow/video_file.rb +11 -1
  135. data/app/models/pageflow/video_file_url_templates.rb +1 -0
  136. data/app/policies/pageflow/entry_policy.rb +4 -0
  137. data/app/state_machines/pageflow/media_encoding_state_machine.rb +23 -4
  138. data/app/views/admin/entries/_form.html.erb +50 -0
  139. data/app/views/admin/entries/entry_type_name_input.html.erb +5 -0
  140. data/app/views/admin/features/_form.html.erb +1 -1
  141. data/app/views/admin/memberships/_form.html.erb +2 -3
  142. data/app/views/admin/users/_form.html.erb +1 -1
  143. data/app/views/admin/users/invitation.html.erb +2 -2
  144. data/app/views/components/pageflow/admin/entry_user_badge_list.rb +10 -9
  145. data/app/views/components/pageflow/admin/members_tab.rb +5 -1
  146. data/app/views/components/pageflow/admin/revisions_tab.rb +13 -3
  147. data/app/views/components/pageflow/admin/timestamp.rb +20 -0
  148. data/app/views/components/pageflow/admin/user_account_badge_list.rb +5 -6
  149. data/app/views/pageflow/admin/entries/_cannot_add_user.html.erb +9 -5
  150. data/app/views/pageflow/admin/entries/_entry_type_name_input.html.erb +7 -0
  151. data/app/views/pageflow/audio_files/_audio_file.json.jbuilder +13 -0
  152. data/app/views/pageflow/editor/encoding_confirmations/_intro.html.erb +0 -0
  153. data/app/views/pageflow/editor/encoding_confirmations/check.json.jbuilder +14 -2
  154. data/config/initializers/paperclip.rb +16 -1
  155. data/config/locales/de.yml +24 -28
  156. data/config/locales/en.yml +19 -10
  157. data/db/migrate/20210528073122_create_pageflow_theme_customizations.rb +11 -0
  158. data/db/migrate/20210531090654_create_pageflow_theme_customization_files.rb +15 -0
  159. data/db/migrate/20210531102228_add_selected_file_ids_to_theme_customizations.rb +5 -0
  160. data/db/migrate/20211020085902_add_canonical_entry_url_prefix_to_themings.rb +5 -0
  161. data/db/migrate/20220503150010_add_peak_data_to_audio_files.rb +5 -0
  162. data/db/migrate/20220705084830_add_trailing_slash_in_canonical_urls_to_themings.rb +5 -0
  163. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +256 -124
  164. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +566 -167
  165. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-client.js +5 -5
  166. data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-server.js +4 -4
  167. data/entry_types/paged/app/helpers/pageflow_paged/third_party_embed_consent_helper.rb +38 -0
  168. data/entry_types/paged/app/views/pageflow_paged/third_party_embed_consent/_opt_in.html.erb +12 -0
  169. data/entry_types/paged/app/views/pageflow_paged/third_party_embed_consent/_opt_out_info.html.erb +10 -0
  170. data/entry_types/paged/config/initializers/features.rb +2 -0
  171. data/entry_types/paged/config/locales/new/video_contain.de.yml +7 -0
  172. data/entry_types/paged/config/locales/new/video_contain.en.yml +7 -0
  173. data/entry_types/scrolled/app/helpers/pageflow_scrolled/editor/seed_html_helper.rb +3 -0
  174. data/entry_types/scrolled/app/helpers/pageflow_scrolled/entry_json_seed_helper.rb +1 -0
  175. data/entry_types/scrolled/app/helpers/pageflow_scrolled/packs_helper.rb +58 -0
  176. data/entry_types/scrolled/app/helpers/pageflow_scrolled/react_server_side_rendering_helper.rb +37 -3
  177. data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +92 -6
  178. data/entry_types/scrolled/app/helpers/pageflow_scrolled/webpack_public_path_helper.rb +20 -0
  179. data/entry_types/scrolled/app/models/pageflow_scrolled/content_element.rb +7 -0
  180. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +5 -2
  181. data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_seed.json.jbuilder +5 -1
  182. data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +5 -4
  183. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +16 -0
  184. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_theme.json.jbuilder +13 -2
  185. data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_widget.json.jbuilder +2 -0
  186. data/entry_types/scrolled/config/locales/de.yml +1 -8
  187. data/entry_types/scrolled/config/locales/en.yml +1 -9
  188. data/entry_types/scrolled/config/locales/new/before_after_slider.de.yml +8 -0
  189. data/entry_types/scrolled/config/locales/new/before_after_slider.en.yml +8 -0
  190. data/entry_types/scrolled/config/locales/new/center_ragged.de.yml +8 -0
  191. data/entry_types/scrolled/config/locales/new/center_ragged.en.yml +9 -0
  192. data/entry_types/scrolled/config/locales/new/consent.de.yml +25 -0
  193. data/entry_types/scrolled/config/locales/new/consent.en.yml +24 -0
  194. data/entry_types/scrolled/config/locales/new/content_element_categories.de.yml +39 -0
  195. data/entry_types/scrolled/config/locales/new/content_element_categories.en.yml +39 -0
  196. data/entry_types/scrolled/config/locales/new/default_transition.de.yml +14 -0
  197. data/entry_types/scrolled/config/locales/new/default_transition.en.yml +14 -0
  198. data/entry_types/scrolled/config/locales/new/header_line_breaks.de.yml +28 -0
  199. data/entry_types/scrolled/config/locales/new/header_line_breaks.en.yml +27 -0
  200. data/entry_types/scrolled/config/locales/new/header_size.de.yml +17 -0
  201. data/entry_types/scrolled/config/locales/new/header_size.en.yml +17 -0
  202. data/entry_types/scrolled/config/locales/new/iframe_embed.de.yml +39 -0
  203. data/entry_types/scrolled/config/locales/new/iframe_embed.en.yml +39 -0
  204. data/entry_types/scrolled/config/locales/new/inline_loops.de.yml +26 -0
  205. data/entry_types/scrolled/config/locales/new/inline_loops.en.yml +26 -0
  206. data/entry_types/scrolled/config/locales/new/portrait_inline_image.de.yml +9 -0
  207. data/entry_types/scrolled/config/locales/new/portrait_inline_image.en.yml +9 -0
  208. data/entry_types/scrolled/config/locales/new/section_width.de.yml +10 -0
  209. data/entry_types/scrolled/config/locales/new/section_width.en.yml +10 -0
  210. data/entry_types/scrolled/config/locales/new/typography_variants.de.yml +7 -0
  211. data/entry_types/scrolled/config/locales/new/typography_variants.en.yml +7 -0
  212. data/entry_types/scrolled/config/locales/new/video_embed_poster.de.yml +8 -0
  213. data/entry_types/scrolled/config/locales/new/video_embed_poster.en.yml +8 -0
  214. data/entry_types/scrolled/config/locales/new/waveform_styles.de.yml +11 -0
  215. data/entry_types/scrolled/config/locales/new/waveform_styles.en.yml +12 -0
  216. data/entry_types/scrolled/config/locales/new/widgets.de.yml +6 -0
  217. data/entry_types/scrolled/config/locales/new/widgets.en.yml +6 -0
  218. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/install_generator.rb +29 -5
  219. data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/themes_plugin.rb.tt +8 -6
  220. data/entry_types/scrolled/lib/pageflow_scrolled/additional_packs.rb +37 -0
  221. data/entry_types/scrolled/lib/pageflow_scrolled/additional_seed_data.rb +57 -0
  222. data/entry_types/scrolled/lib/pageflow_scrolled/configuration.rb +49 -0
  223. data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +8 -0
  224. data/entry_types/scrolled/lib/pageflow_scrolled/react_widget_type.rb +42 -0
  225. data/entry_types/scrolled/lib/pageflow_scrolled.rb +17 -1
  226. data/entry_types/scrolled/package/contentElements-editor.js +323 -89
  227. data/entry_types/scrolled/package/contentElements-frontend.css +1 -1
  228. data/entry_types/scrolled/package/contentElements-frontend.js +719 -529
  229. data/entry_types/scrolled/package/editor.js +459 -261
  230. data/entry_types/scrolled/package/frontend/{EditableText-7093fd0e.js → EditableInlineText.module-b9923660.js} +284 -362
  231. data/entry_types/scrolled/package/frontend/{i18n-4dc6c377.js → PhonePlatformContext-9fb97827.js} +199 -106
  232. data/entry_types/scrolled/package/frontend/{Viewer-e49e7807.js → Viewer-e2290ea0.js} +196 -79
  233. data/entry_types/scrolled/package/frontend/{Wavesurfer-0adf5667.js → Wavesurfer-7d9cf1b7.js} +16 -58
  234. data/entry_types/scrolled/package/frontend/{components-6a6793ca.js → components-6ab26015.js} +664 -671
  235. data/entry_types/scrolled/package/frontend/{getPrototypeOf-63c7c8e8.js → createSuper-d0f30da3.js} +34 -5
  236. data/entry_types/scrolled/package/frontend/index.css +1 -9
  237. data/entry_types/scrolled/package/frontend/index.js +1919 -2386
  238. data/entry_types/scrolled/package/frontend/{useBrowserFeature-91a4c29d.js → usePhonePlatform-2857c22b.js} +9 -8
  239. data/entry_types/scrolled/package/frontend-server.js +3 -6
  240. data/entry_types/scrolled/package/package.json +16 -8
  241. data/entry_types/scrolled/package/testHelpers.js +456 -0
  242. data/entry_types/scrolled/package/values/breakpoints.module.css +9 -0
  243. data/entry_types/scrolled/package/values/colors.module.css +5 -0
  244. data/entry_types/scrolled/package/widgets/defaultNavigation.css +9 -0
  245. data/entry_types/scrolled/package/widgets/defaultNavigation.js +612 -0
  246. data/entry_types/scrolled/spec/fixtures/image.svg +1 -0
  247. data/lib/pageflow/ability_mixin.rb +4 -0
  248. data/lib/pageflow/built_in_widget_type.rb +4 -0
  249. data/lib/pageflow/built_in_widget_types_plugin.rb +7 -0
  250. data/lib/pageflow/configuration.rb +34 -1
  251. data/lib/pageflow/entry_type.rb +11 -2
  252. data/lib/pageflow/entry_type_configuration.rb +2 -0
  253. data/lib/pageflow/file_type.rb +24 -0
  254. data/lib/pageflow/paperclip_processors/audio_waveform.rb +42 -0
  255. data/lib/pageflow/paperclip_processors/noop.rb +10 -0
  256. data/lib/pageflow/theme_customizations.rb +61 -0
  257. data/lib/pageflow/user_mixin.rb +6 -0
  258. data/lib/pageflow/version.rb +1 -1
  259. data/lib/pageflow.rb +9 -0
  260. data/package/config/jest/index.js +2 -1
  261. data/package/config/postcss/scaleFunctions.js +71 -0
  262. data/package/editor.js +95 -85
  263. data/package/frontend.js +521 -161
  264. data/package/package.json +5 -3
  265. data/package/testHelpers.js +26 -5
  266. data/package/ui.js +124 -11
  267. data/spec/factories/draft_entries.rb +19 -1
  268. data/spec/factories/entries.rb +4 -0
  269. data/spec/factories/published_entries.rb +6 -0
  270. data/spec/fixtures/audio.ogg +0 -0
  271. metadata +123 -15
  272. data/app/views/admin/entries/_not_allowed_to_see_entry_types.json.jbuilder +0 -2
  273. data/app/views/admin/entries/entry_types.json.jbuilder +0 -4
  274. data/package/config/jest/transformers/upwardBabel.js +0 -5
@@ -0,0 +1,22 @@
1
+ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=407)}([function(t,e){t.exports=React},function(t,e,n){var r=n(8),o=n(22).f,i=n(21),a=n(20),s=n(99),u=n(125),c=n(65);t.exports=function(t,e){var n,l,f,p,d,h=t.target,v=t.global,g=t.stat;if(n=v?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(d=o(n,l))&&d.value:n[l],!c(v?l:h+(g?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,t)}}},function(t,e,n){t.exports=n(393)},function(t,e,n){t.exports=n(165)},function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},function(t,e,n){var r;
2
+ /*!
3
+ Copyright (c) 2017 Jed Watson.
4
+ Licensed under the MIT License (MIT), see
5
+ http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&t.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&t.push(s)}}return t.join(" ")}t.exports?(o.default=o,t.exports=o):void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.utils=e.effects=e.CANCEL=e.delay=e.throttle=e.takeLatest=e.takeEvery=e.buffers=e.channel=e.eventChannel=e.END=e.runSaga=void 0;var r=n(394);Object.defineProperty(e,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(93);Object.defineProperty(e,"END",{enumerable:!0,get:function(){return o.END}}),Object.defineProperty(e,"eventChannel",{enumerable:!0,get:function(){return o.eventChannel}}),Object.defineProperty(e,"channel",{enumerable:!0,get:function(){return o.channel}});var i=n(94);Object.defineProperty(e,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(395);Object.defineProperty(e,"takeEvery",{enumerable:!0,get:function(){return a.takeEvery}}),Object.defineProperty(e,"takeLatest",{enumerable:!0,get:function(){return a.takeLatest}}),Object.defineProperty(e,"throttle",{enumerable:!0,get:function(){return a.throttle}});var s=n(41);Object.defineProperty(e,"delay",{enumerable:!0,get:function(){return s.delay}}),Object.defineProperty(e,"CANCEL",{enumerable:!0,get:function(){return s.CANCEL}});var u,c=n(396),l=(u=c)&&u.__esModule?u:{default:u},f=d(n(165)),p=d(n(397));function d(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}e.default=l.default,e.effects=f,e.utils=p},function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||Function("return this")()}).call(this,n(74))},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){"use strict";var r,o=n(12),i=n(8),a=n(9),s=n(18),u=n(71),c=n(21),l=n(20),f=n(15).f,p=n(37),d=n(56),h=n(13),v=n(62),g=i.DataView,y=g&&g.prototype,m=i.Int8Array,b=m&&m.prototype,w=i.Uint8ClampedArray,E=w&&w.prototype,O=m&&p(m),x=b&&p(b),P=Object.prototype,k=P.isPrototypeOf,_=h("toStringTag"),S=v("TYPED_ARRAY_TAG"),T=!(!i.ArrayBuffer||!g),j=T&&!!d&&"Opera"!==u(i.opera),A=!1,C={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},I=function(t){return a(t)&&s(C,u(t))};for(r in C)i[r]||(j=!1);if((!j||"function"!=typeof O||O===Function.prototype)&&(O=function(){throw TypeError("Incorrect invocation")},j))for(r in C)i[r]&&d(i[r],O);if((!j||!x||x===P)&&(x=O.prototype,j))for(r in C)i[r]&&d(i[r].prototype,x);if(j&&p(E)!==x&&d(E,x),o&&!s(x,_))for(r in A=!0,f(x,_,{get:function(){return a(this)?this[S]:void 0}}),C)i[r]&&c(i[r],S,r);T&&d&&p(y)!==P&&d(y,P),t.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:A&&S,aTypedArray:function(t){if(I(t))return t;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(t){if(d){if(k.call(O,t))return t}else for(var e in C)if(s(C,r)){var n=i[e];if(n&&(t===n||k.call(n,t)))return t}throw TypeError("Target is not a typed array constructor")},exportProto:function(t,e,n){if(o){if(n)for(var r in C){var a=i[r];a&&s(a.prototype,t)&&delete a.prototype[t]}x[t]&&!n||l(x,t,n?e:j&&b[t]||e)}},exportStatic:function(t,e,n){var r,a;if(o){if(d){if(n)for(r in C)(a=i[r])&&s(a,t)&&delete a[t];if(O[t]&&!n)return;try{return l(O,t,n?e:j&&m[t]||e)}catch(t){}}for(r in C)!(a=i[r])||a[t]&&!n||l(a,t,e)}},isView:function(t){var e=u(t);return"DataView"===e||s(C,e)},isTypedArray:I,TypedArray:O,TypedArrayPrototype:x}},function(t,e,n){var r=n(6);t.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(8),o=n(55),i=n(62),a=n(128),s=r.Symbol,u=o("wks");t.exports=function(t){return u[t]||(u[t]=a&&s[t]||(a?s:i)("Symbol."+t))}},function(t,e,n){var r=n(30),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},function(t,e,n){var r=n(12),o=n(122),i=n(10),a=n(34),s=Object.defineProperty;e.f=r?s:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return s(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(23);t.exports=function(t){return Object(r(t))}},function(t,e,n){"use strict";var r=n(171),o="object"==typeof self&&self&&self.Object===Object&&self,i=(r.a||o||Function("return this")()).Symbol,a=Object.prototype,s=a.hasOwnProperty,u=a.toString,c=i?i.toStringTag:void 0;var l=function(t){var e=s.call(t,c),n=t[c];try{t[c]=void 0;var r=!0}catch(t){}var o=u.call(t);return r&&(e?t[c]=n:delete t[c]),o},f=Object.prototype.toString;var p=function(t){return f.call(t)},d="[object Null]",h="[object Undefined]",v=i?i.toStringTag:void 0;var g=function(t){return null==t?void 0===t?h:d:v&&v in Object(t)?l(t):p(t)};var y=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object);var m=function(t){return null!=t&&"object"==typeof t},b="[object Object]",w=Function.prototype,E=Object.prototype,O=w.toString,x=E.hasOwnProperty,P=O.call(Object);var k=function(t){if(!m(t)||g(t)!=b)return!1;var e=y(t);if(null===e)return!0;var n=x.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==P},_=n(121),S={INIT:"@@redux/INIT"};function T(t,e,n){var r;if("function"==typeof e&&void 0===n&&(n=e,e=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(T)(t,e)}if("function"!=typeof t)throw new Error("Expected the reducer to be a function.");var o=t,i=e,a=[],s=a,u=!1;function c(){s===a&&(s=a.slice())}function l(){return i}function f(t){if("function"!=typeof t)throw new Error("Expected listener to be a function.");var e=!0;return c(),s.push(t),function(){if(e){e=!1,c();var n=s.indexOf(t);s.splice(n,1)}}}function p(t){if(!k(t))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===t.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(u)throw new Error("Reducers may not dispatch actions.");try{u=!0,i=o(i,t)}finally{u=!1}for(var e=a=s,n=0;n<e.length;n++){(0,e[n])()}return t}return p({type:S.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:function(t){if("function"!=typeof t)throw new Error("Expected the nextReducer to be a function.");o=t,p({type:S.INIT})}})[_.a]=function(){var t,e=f;return(t={subscribe:function(t){if("object"!=typeof t)throw new TypeError("Expected the observer to be an object.");function n(){t.next&&t.next(l())}return n(),{unsubscribe:e(n)}}})[_.a]=function(){return this},t},r}function j(t,e){var n=e&&e.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+t+'" returned undefined. To ignore an action, you must explicitly return the previous state. If you want this reducer to hold no value, you can return null instead of undefined.'}function A(t){for(var e=Object.keys(t),n={},r=0;r<e.length;r++){var o=e[r];0,"function"==typeof t[o]&&(n[o]=t[o])}var i=Object.keys(n);var a=void 0;try{!function(t){Object.keys(t).forEach((function(e){var n=t[e];if(void 0===n(void 0,{type:S.INIT}))throw new Error('Reducer "'+e+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. If you don't want to set a value for this reducer, you can use null instead of undefined.");if(void 0===n(void 0,{type:"@@redux/PROBE_UNKNOWN_ACTION_"+Math.random().toString(36).substring(7).split("").join(".")}))throw new Error('Reducer "'+e+"\" returned undefined when probed with a random type. Don't try to handle "+S.INIT+' or other actions in "redux/*" namespace. They are considered private. Instead, you must return the current state for any unknown actions, unless it is undefined, in which case you must return the initial state, regardless of the action type. The initial state may not be undefined, but can be null.')}))}(n)}catch(t){a=t}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments[1];if(a)throw a;for(var r=!1,o={},s=0;s<i.length;s++){var u=i[s],c=n[u],l=t[u],f=c(l,e);if(void 0===f){var p=j(u,e);throw new Error(p)}o[u]=f,r=r||f!==l}return r?o:t}}function C(t,e){return function(){return e(t.apply(void 0,arguments))}}function I(t,e){if("function"==typeof t)return C(t,e);if("object"!=typeof t||null===t)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===t?"null":typeof t)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(t),r={},o=0;o<n.length;o++){var i=n[o],a=t[i];"function"==typeof a&&(r[i]=C(a,e))}return r}function M(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return 0===e.length?function(t){return t}:1===e.length?e[0]:e.reduce((function(t,e){return function(){return t(e.apply(void 0,arguments))}}))}var R=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function D(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t){return function(n,r,o){var i,a=t(n,r,o),s=a.dispatch,u={getState:a.getState,dispatch:function(t){return s(t)}};return i=e.map((function(t){return t(u)})),s=M.apply(void 0,i)(a.dispatch),R({},a,{dispatch:s})}}}n.d(e,"d",(function(){return T})),n.d(e,"c",(function(){return A})),n.d(e,"b",(function(){return I})),n.d(e,"a",(function(){return D}))},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(46),o=n(61),i=n(16),a=n(14),s=n(67),u=[].push,c=function(t){var e=1==t,n=2==t,c=3==t,l=4==t,f=6==t,p=5==t||f;return function(d,h,v,g){for(var y,m,b=i(d),w=o(b),E=r(h,v,3),O=a(w.length),x=0,P=g||s,k=e?P(d,O):n?P(d,0):void 0;O>x;x++)if((p||x in w)&&(m=E(y=w[x],x,b),t))if(e)k[x]=m;else if(m)switch(t){case 3:return!0;case 5:return y;case 6:return x;case 2:u.call(k,y)}else if(l)return!1;return f?-1:c||l?l:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6)}},function(t,e,n){var r=n(8),o=n(55),i=n(21),a=n(18),s=n(99),u=n(123),c=n(29),l=c.get,f=c.enforce,p=String(u).split("toString");o("inspectSource",(function(t){return u.call(t)})),(t.exports=function(t,e,n,o){var u=!!o&&!!o.unsafe,c=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof e||a(n,"name")||i(n,"name",e),f(n).source=p.join("string"==typeof e?e:"")),t!==r?(u?!l&&t[e]&&(c=!0):delete t[e],c?t[e]=n:i(t,e,n)):c?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||u.call(this)}))},function(t,e,n){var r=n(12),o=n(15),i=n(43);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(12),o=n(75),i=n(43),a=n(24),s=n(34),u=n(18),c=n(122),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),c)try{return l(t,e)}catch(t){}if(u(t,e))return i(!o.f.call(t,e),t[e])}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,e,n){var r=n(61),o=n(23);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(126),o=n(18),i=n(131),a=n(15).f;t.exports=function(t){var e=r.Symbol||(r.Symbol={});o(e,t)||a(e,t,{value:i.f(t)})}},function(t,e,n){var r=n(23),o=/"/g;t.exports=function(t,e,n,i){var a=String(r(t)),s="<"+e;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,"&quot;")+'"'),s+">"+a+"</"+e+">"}},function(t,e,n){var r=n(6);t.exports=function(t){return r((function(){var e=""[t]('"');return e!==e.toLowerCase()||e.split('"').length>3}))}},function(t,e,n){t.exports=n(398)()},function(t,e,n){var r,o,i,a=n(124),s=n(8),u=n(9),c=n(21),l=n(18),f=n(76),p=n(63),d=s.WeakMap;if(a){var h=new d,v=h.get,g=h.has,y=h.set;r=function(t,e){return y.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return g.call(h,t)}}else{var m=f("state");p[m]=!0,r=function(t,e){return c(t,m,e),e},o=function(t){return l(t,m)?t[m]:{}},i=function(t){return l(t,m)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,o=n(401),i=(r=o)&&r.__esModule?r:{default:r};e.default=i.default,t.exports=e.default},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(9);t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){var r=n(126),o=n(8),i=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(o[t]):r[t]&&r[t][e]||o[t]&&o[t][e]}},function(t,e,n){var r=n(15).f,o=n(18),i=n(13)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,i)&&r(t,i,{configurable:!0,value:e})}},function(t,e,n){var r=n(18),o=n(16),i=n(76),a=n(108),s=i("IE_PROTO"),u=Object.prototype;t.exports=a?Object.getPrototypeOf:function(t){return t=o(t),r(t,s)?t[s]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,e,n){var r=n(10),o=n(103),i=n(101),a=n(63),s=n(129),u=n(98),c=n(76)("IE_PROTO"),l=function(){},f=function(){var t,e=u("iframe"),n=i.length;for(e.style.display="none",s.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),f=t.F;n--;)delete f.prototype[i[n]];return f()};t.exports=Object.create||function(t,e){var n;return null!==t?(l.prototype=r(t),n=new l,l.prototype=null,n[c]=t):n=f(),void 0===e?n:o(n,e)},a[c]=!0},function(t,e,n){"use strict";var r=n(6);t.exports=function(t,e){var n=[][t];return!n||!r((function(){n.call(null,e||function(){throw 1},1)}))}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(12),a=n(118),s=n(11),u=n(81),c=n(48),l=n(43),f=n(21),p=n(14),d=n(141),h=n(159),v=n(34),g=n(18),y=n(71),m=n(9),b=n(38),w=n(56),E=n(51).f,O=n(160),x=n(19).forEach,P=n(57),k=n(15),_=n(22),S=n(29),T=n(83),j=S.get,A=S.set,C=k.f,I=_.f,M=Math.round,R=o.RangeError,D=u.ArrayBuffer,N=u.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_TAG,F=s.TypedArray,U=s.TypedArrayPrototype,W=s.aTypedArrayConstructor,H=s.isTypedArray,q=function(t,e){for(var n=0,r=e.length,o=new(W(t))(r);r>n;)o[n]=e[n++];return o},V=function(t,e){C(t,e,{get:function(){return j(this)[e]}})},G=function(t){var e;return t instanceof D||"ArrayBuffer"==(e=y(t))||"SharedArrayBuffer"==e},z=function(t,e){return H(t)&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},Y=function(t,e){return z(t,e=v(e,!0))?l(2,t[e]):I(t,e)},X=function(t,e,n){return!(z(t,e=v(e,!0))&&m(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?C(t,e,n):(t[e]=n.value,t)};i?(L||(_.f=Y,k.f=X,V(U,"buffer"),V(U,"byteOffset"),V(U,"byteLength"),V(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Y,defineProperty:X}),t.exports=function(t,e,n,i){var s=t+(i?"Clamped":"")+"Array",u="get"+t,l="set"+t,v=o[s],g=v,y=g&&g.prototype,k={},_=function(t,n){C(t,n,{get:function(){return function(t,n){var r=j(t);return r.view[u](n*e+r.byteOffset,!0)}(this,n)},set:function(t){return function(t,n,r){var o=j(t);i&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[l](n*e+o.byteOffset,r,!0)}(this,n,t)},enumerable:!0})};L?a&&(g=n((function(t,n,r,o){return c(t,g,s),T(m(n)?G(n)?void 0!==o?new v(n,h(r,e),o):void 0!==r?new v(n,h(r,e)):new v(n):H(n)?q(g,n):O.call(g,n):new v(d(n)),t,g)})),w&&w(g,F),x(E(v),(function(t){t in g||f(g,t,v[t])})),g.prototype=y):(g=n((function(t,n,r,o){c(t,g,s);var i,a,u,l=0,f=0;if(m(n)){if(!G(n))return H(n)?q(g,n):O.call(g,n);i=n,f=h(r,e);var v=n.byteLength;if(void 0===o){if(v%e)throw R("Wrong length");if((a=v-f)<0)throw R("Wrong length")}else if((a=p(o)*e)+f>v)throw R("Wrong length");u=a/e}else u=d(n),i=new D(a=u*e);for(A(t,{buffer:i,byteOffset:f,byteLength:a,length:u,view:new N(i)});l<u;)_(t,l++)})),w&&w(g,F),y=g.prototype=b(U)),y.constructor!==g&&f(y,"constructor",g),B&&f(y,B,s),k[s]=g,r({global:!0,forced:g!=v,sham:!L},k),"BYTES_PER_ELEMENT"in g||f(g,"BYTES_PER_ELEMENT",e),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",e),P(s)}):t.exports=function(){}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.check=function(t,e,n){if(!e(t))throw y("error","uncaught at check",n),new Error(n)},e.remove=function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)},e.deferred=d,e.arrayOfDeffered=function(t){for(var e=[],n=0;n<t;n++)e.push(d());return e},e.delay=function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise((function(r){n=setTimeout((function(){return r(e)}),t)}));return r[c]=function(){return clearTimeout(n)},r},e.createMockTask=function(){var t,e=!0,n=void 0,r=void 0;return i(t={},s,!0),i(t,"isRunning",(function(){return e})),i(t,"result",(function(){return n})),i(t,"error",(function(){return r})),i(t,"setRunning",(function(t){return e=t})),i(t,"setResult",(function(t){return n=t})),i(t,"setError",(function(t){return r=t})),t},e.autoInc=h,e.makeIterator=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments[3],o={name:n,next:t,throw:e,return:g};r&&(o[u]=!0);"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o});return o},e.log=y,e.wrapSagaDispatch=function(t){return function(e){var n=Object.defineProperty(e,l,{value:!0});return t(n)}};var a=e.sym=function(t){return"@@redux-saga/"+t},s=e.TASK=a("TASK"),u=e.HELPER=a("HELPER"),c=(e.MATCH=a("MATCH"),e.CANCEL=a("cancelPromise")),l=e.SAGA_ACTION=a("SAGA_ACTION"),f=e.konst=function(t){return function(){return t}};e.kTrue=f(!0),e.kFalse=f(!1),e.noop=function(){},e.ident=function(t){return t};var p=e.is={undef:function(t){return null==t},notUndef:function(t){return null!=t},func:function(t){return"function"==typeof t},number:function(t){return"number"==typeof t},array:Array.isArray,promise:function(t){return t&&p.func(t.then)},iterator:function(t){return t&&p.func(t.next)&&p.func(t.throw)},task:function(t){return t&&t[s]},observable:function(t){return t&&p.func(t.subscribe)},buffer:function(t){return t&&p.func(t.isEmpty)&&p.func(t.take)&&p.func(t.put)},pattern:function(t){return t&&("string"==typeof t||"symbol"===(void 0===t?"undefined":o(t))||p.func(t)||p.array(t))},channel:function(t){return t&&p.func(t.take)&&p.func(t.close)},helper:function(t){return t&&t[u]}};function d(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=r({},t),n=new Promise((function(t,n){e.resolve=t,e.reject=n}));return e.promise=n,e}function h(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++t}}e.uid=h();var v=function(t){throw t},g=function(t){return{value:t,done:!0}};function y(t,e,n){"undefined"==typeof window?console.log("redux-saga "+t+": "+e+"\n"+(n&&n.stack||n)):console[t](e,n)}e.internalErr=function(t){return new Error("\n redux-saga: Error checking hooks detected an inconsistent state. This is likely a bug\n in redux-saga code and not yours. Thanks for reporting this in the project's github repo.\n Error: "+t+"\n")}},function(t,e){t.exports=ReactDOM},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){t.exports=!1},function(t,e,n){var r=n(30),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},function(t,e,n){var r=n(31);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e,n){var r=n(13),o=n(38),i=n(21),a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,o(null)),t.exports=function(t){s[a][t]=!0}},function(t,e){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},function(t,e,n){var r=n(10),o=n(31),i=n(13)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[i])?e:o(n)}},function(t,e){t.exports=Backbone},function(t,e,n){var r=n(127),o=n(101).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){var r=n(33);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){"use strict";var r=n(34),o=n(15),i=n(43);t.exports=function(t,e,n){var a=r(e);a in t?o.f(t,a,i(0,n)):t[a]=n}},function(t,e,n){var r=n(63),o=n(9),i=n(18),a=n(15).f,s=n(62),u=n(72),c=s("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(t){a(t,c,{value:{objectID:"O"+ ++l,weakData:{}}})},d=t.exports={REQUIRED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!i(t,c)){if(!f(t))return"F";if(!e)return"E";p(t)}return t[c].objectID},getWeakData:function(t,e){if(!i(t,c)){if(!f(t))return!0;if(!e)return!1;p(t)}return t[c].weakData},onFreeze:function(t){return u&&d.REQUIRED&&f(t)&&!i(t,c)&&p(t),t}};r[c]=!0},function(t,e,n){var r=n(44),o=n(176);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.4.1",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var r=n(10),o=n(139);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),e=n instanceof Array}catch(t){}return function(n,i){return r(n),o(i),e?t.call(n,i):n.__proto__=i,n}}():void 0)},function(t,e,n){"use strict";var r=n(35),o=n(15),i=n(13),a=n(12),s=i("species");t.exports=function(t){var e=r(t),n=o.f;a&&e&&!e[s]&&n(e,s,{configurable:!0,get:function(){return this}})}},function(t,e,n){var r=n(20);t.exports=function(t,e,n){for(var o in e)r(t,o,e[o],n);return t}},function(t,e,n){var r=n(23),o="["+n(85)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(i,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:s(1),end:s(2),trim:s(3)}},function(t,e,n){"use strict";function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",(function(){return r}))},function(t,e,n){var r=n(6),o=n(33),i="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?i.call(t,""):Object(t)}:Object},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},function(t,e){t.exports={}},function(t,e,n){var r=n(24),o=n(14),i=n(45),a=function(t){return function(e,n,a){var s,u=r(e),c=o(u.length),l=i(a,c);if(t&&n!=n){for(;c>l;)if((s=u[l++])!=s)return!0}else for(;c>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,e,n){var r=n(6),o=/#|\.prototype\./,i=function(t,e){var n=s[a(t)];return n==c||n!=u&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},u=i.NATIVE="N",c=i.POLYFILL="P";t.exports=i},function(t,e,n){var r=n(127),o=n(101);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e,n){var r=n(9),o=n(52),i=n(13)("species");t.exports=function(t,e){var n;return o(t)&&("function"!=typeof(n=t.constructor)||n!==Array&&!o(n.prototype)?r(n)&&null===(n=n[i])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===e?0:e)}},function(t,e,n){var r=n(6),o=n(13),i=n(104),a=o("species");t.exports=function(t){return i>=51||!r((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},function(t,e){t.exports={}},function(t,e,n){var r=n(71),o=n(69),i=n(13)("iterator");t.exports=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){var r=n(33),o=n(13)("toStringTag"),i="Arguments"==r(function(){return arguments}());t.exports=function(t){var e,n,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?n:i?r(e):"Object"==(a=r(e))&&"function"==typeof e.callee?"Arguments":a}},function(t,e,n){var r=n(6);t.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(t,e,n){var r=n(10),o=n(106),i=n(14),a=n(46),s=n(70),u=n(136),c=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var p,d,h,v,g,y,m,b=a(e,n,l?2:1);if(f)p=t;else{if("function"!=typeof(d=s(t)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,v=i(t.length);v>h;h++)if((g=l?b(r(m=t[h])[0],m[1]):b(t[h]))&&g instanceof c)return g;return new c(!1)}p=d.call(t)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=u(p,b,m.value,l))&&g&&g instanceof c)return g;return new c(!1)}).stop=function(t){return new c(!0,t)}},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);e.f=i?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){var r=n(55),o=n(62),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},function(t,e,n){var r=n(35);t.exports=r("navigator","userAgent")||""},function(t,e,n){var r=n(13)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},t(i)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(24),o=n(47),i=n(69),a=n(29),s=n(107),u=a.set,c=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){u(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=c(this),e=t.target,n=t.kind,r=t.index++;return!e||r>=e.length?(t.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:e[r],done:!1}:{value:[r,e[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(t,e,n){var r=n(31),o=n(16),i=n(61),a=n(14),s=function(t){return function(e,n,s,u){r(n);var c=o(e),l=i(c),f=a(c.length),p=t?f-1:0,d=t?-1:1;if(s<2)for(;;){if(p in l){u=l[p],p+=d;break}if(p+=d,t?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;t?p>=0:f>p;p+=d)p in l&&(u=n(u,l[p],p,c));return u}};t.exports={left:s(!1),right:s(!0)}},function(t,e,n){"use strict";var r=n(8),o=n(12),i=n(11).NATIVE_ARRAY_BUFFER,a=n(21),s=n(58),u=n(6),c=n(48),l=n(30),f=n(14),p=n(141),d=n(51).f,h=n(15).f,v=n(105),g=n(36),y=n(29),m=y.get,b=y.set,w=r.ArrayBuffer,E=w,O=r.DataView,x=r.Math,P=r.RangeError,k=x.abs,_=x.pow,S=x.floor,T=x.log,j=x.LN2,A=function(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,u=(1<<s)-1,c=u>>1,l=23===e?_(2,-24)-_(2,-77):0,f=t<0||0===t&&1/t<0?1:0,p=0;for((t=k(t))!=t||t===1/0?(o=t!=t?1:0,r=u):(r=S(T(t)/j),t*(i=_(2,-r))<1&&(r--,i*=2),(t+=r+c>=1?l/i:l*_(2,1-c))*i>=2&&(r++,i/=2),r+c>=u?(o=0,r=u):r+c>=1?(o=(t*i-1)*_(2,e),r+=c):(o=t*_(2,c-1)*_(2,e),r=0));e>=8;a[p++]=255&o,o/=256,e-=8);for(r=r<<e|o,s+=e;s>0;a[p++]=255&r,r/=256,s-=8);return a[--p]|=128*f,a},C=function(t,e){var n,r=t.length,o=8*r-e-1,i=(1<<o)-1,a=i>>1,s=o-7,u=r-1,c=t[u--],l=127&c;for(c>>=7;s>0;l=256*l+t[u],u--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=e;s>0;n=256*n+t[u],u--,s-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:c?-1/0:1/0;n+=_(2,e),l-=a}return(c?-1:1)*n*_(2,l-e)},I=function(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]},M=function(t){return[255&t]},R=function(t){return[255&t,t>>8&255]},D=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},N=function(t){return A(t,23,4)},L=function(t){return A(t,52,8)},B=function(t,e){h(t.prototype,e,{get:function(){return m(this)[e]}})},F=function(t,e,n,r){var o=p(+n),i=m(t);if(o+e>i.byteLength)throw P("Wrong index");var a=m(i.buffer).bytes,s=o+i.byteOffset,u=a.slice(s,s+e);return r?u:u.reverse()},U=function(t,e,n,r,o,i){var a=p(+n),s=m(t);if(a+e>s.byteLength)throw P("Wrong index");for(var u=m(s.buffer).bytes,c=a+s.byteOffset,l=r(+o),f=0;f<e;f++)u[c+f]=l[i?f:e-f-1]};if(i){if(!u((function(){w(1)}))||!u((function(){new w(-1)}))||u((function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name}))){for(var W,H=(E=function(t){return c(this,E),new w(p(t))}).prototype=w.prototype,q=d(w),V=0;q.length>V;)(W=q[V++])in E||a(E,W,w[W]);H.constructor=E}var G=new O(new E(2)),z=O.prototype.setInt8;G.setInt8(0,2147483648),G.setInt8(1,2147483649),!G.getInt8(0)&&G.getInt8(1)||s(O.prototype,{setInt8:function(t,e){z.call(this,t,e<<24>>24)},setUint8:function(t,e){z.call(this,t,e<<24>>24)}},{unsafe:!0})}else E=function(t){c(this,E,"ArrayBuffer");var e=p(t);b(this,{bytes:v.call(new Array(e),0),byteLength:e}),o||(this.byteLength=e)},O=function(t,e,n){c(this,O,"DataView"),c(t,E,"DataView");var r=m(t).byteLength,i=l(e);if(i<0||i>r)throw P("Wrong offset");if(i+(n=void 0===n?r-i:f(n))>r)throw P("Wrong length");b(this,{buffer:t,byteLength:n,byteOffset:i}),o||(this.buffer=t,this.byteLength=n,this.byteOffset=i)},o&&(B(E,"byteLength"),B(O,"buffer"),B(O,"byteLength"),B(O,"byteOffset")),s(O.prototype,{getInt8:function(t){return F(this,1,t)[0]<<24>>24},getUint8:function(t){return F(this,1,t)[0]},getInt16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return(e[1]<<8|e[0])<<16>>16},getUint16:function(t){var e=F(this,2,t,arguments.length>1?arguments[1]:void 0);return e[1]<<8|e[0]},getInt32:function(t){return I(F(this,4,t,arguments.length>1?arguments[1]:void 0))},getUint32:function(t){return I(F(this,4,t,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(t){return C(F(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return C(F(this,8,t,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(t,e){U(this,1,t,M,e)},setUint8:function(t,e){U(this,1,t,M,e)},setInt16:function(t,e){U(this,2,t,R,e,arguments.length>2?arguments[2]:void 0)},setUint16:function(t,e){U(this,2,t,R,e,arguments.length>2?arguments[2]:void 0)},setInt32:function(t,e){U(this,4,t,D,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){U(this,4,t,D,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){U(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat64:function(t,e){U(this,8,t,L,e,arguments.length>2?arguments[2]:void 0)}});g(E,"ArrayBuffer"),g(O,"DataView"),t.exports={ArrayBuffer:E,DataView:O}},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(65),a=n(20),s=n(54),u=n(73),c=n(48),l=n(9),f=n(6),p=n(78),d=n(36),h=n(83);t.exports=function(t,e,n,v,g){var y=o[t],m=y&&y.prototype,b=y,w=v?"set":"add",E={},O=function(t){var e=m[t];a(m,t,"add"==t?function(t){return e.call(this,0===t?0:t),this}:"delete"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!l(t)?void 0:e.call(this,0===t?0:t)}:"has"==t?function(t){return!(g&&!l(t))&&e.call(this,0===t?0:t)}:function(t,n){return e.call(this,0===t?0:t,n),this})};if(i(t,"function"!=typeof y||!(g||m.forEach&&!f((function(){(new y).entries().next()})))))b=n.getConstructor(e,t,v,w),s.REQUIRED=!0;else if(i(t,!0)){var x=new b,P=x[w](g?{}:-0,1)!=x,k=f((function(){x.has(1)})),_=p((function(t){new y(t)})),S=!g&&f((function(){for(var t=new y,e=5;e--;)t[w](e,e);return!t.has(-0)}));_||((b=e((function(e,n){c(e,b,t);var r=h(new y,e,b);return null!=n&&u(n,r[w],r,v),r}))).prototype=m,m.constructor=b),(k||S)&&(O("delete"),O("has"),v&&O("get")),(S||P)&&O(w),g&&m.clear&&delete m.clear}return E[t]=b,r({global:!0,forced:b!=y},E),d(b,t),g||n.setStrong(b,t,v),b}},function(t,e,n){var r=n(9),o=n(56);t.exports=function(t,e,n){var i,a;return o&&"function"==typeof(i=e.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(t,a),t}},function(t,e){var n=Math.expm1,r=Math.exp;t.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:r(t)-1}:n},function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},function(t,e,n){"use strict";var r=n(44),o=n(8),i=n(6);t.exports=r||!i((function(){var t=Math.random();__defineSetter__.call(null,t,(function(){})),delete o[t]}))},function(t,e,n){"use strict";var r=n(10);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r,o,i=n(87),a=RegExp.prototype.exec,s=String.prototype.replace,u=a,c=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(c||l)&&(u=function(t){var e,n,r,o,u=this;return l&&(n=new RegExp("^"+u.source+"$(?!\\s)",i.call(u))),c&&(e=u.lastIndex),r=a.call(u,t),c&&r&&(u.lastIndex=u.global?r.index+r[0].length:e),l&&r&&r.length>1&&s.call(r[0],n,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(r[o]=void 0)})),r}),t.exports=u},function(t,e,n){var r=n(30),o=n(23),i=function(t){return function(e,n){var i,a,s=String(o(e)),u=r(n),c=s.length;return u<0||u>=c?t?"":void 0:(i=s.charCodeAt(u))<55296||i>56319||u+1===c||(a=s.charCodeAt(u+1))<56320||a>57343?t?s.charAt(u):i:t?s.slice(u,u+2):a-56320+(i-55296<<10)+65536}};t.exports={codeAt:i(!1),charAt:i(!0)}},function(t,e,n){"use strict";var r=n(21),o=n(20),i=n(6),a=n(13),s=n(88),u=a("species"),c=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var p=a(t),d=!i((function(){var e={};return e[p]=function(){return 7},7!=""[t](e)})),h=d&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!d||!h||"replace"===t&&!c||"split"===t&&!l){var v=/./[p],g=n(p,""[t],(function(t,e,n,r,o){return e.exec===s?d&&!o?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}})),y=g[0],m=g[1];o(String.prototype,t,y),o(RegExp.prototype,p,2==e?function(t,e){return m.call(t,this,e)}:function(t){return m.call(t,this)}),f&&r(RegExp.prototype[p],"sham",!0)}}},function(t,e,n){var r=n(33),o=n(88);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var i=n.call(t,e);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asEffect=void 0;var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.take=w,e.takem=function(){var t=w.apply(void 0,arguments);return t[s].maybe=!0,t},e.put=E,e.race=function(t){return b(c,t)},e.call=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(l,O("call",t,n))},e.apply=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return b(l,O("apply",{context:t,fn:e},n))},e.cps=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(f,O("cps",t,n))},e.fork=x,e.spawn=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=x.apply(void 0,[t].concat(n));return o[p].detached=!0,o},e.join=function(t){if((0,o.check)(t,o.is.notUndef,"join(task): argument task is undefined"),!P(t))throw new Error("join(task): argument "+t+" is not a valid Task object \n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)");return b(d,t)},e.cancel=function(t){if((0,o.check)(t,o.is.notUndef,"cancel(task): argument task is undefined"),!P(t))throw new Error("cancel(task): argument "+t+" is not a valid Task object \n(HINT: if you are getting this errors in tests, consider using createMockTask from redux-saga/utils)");return b(h,t)},e.select=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];0===arguments.length?t=o.ident:((0,o.check)(t,o.is.notUndef,"select(selector,[...]): argument selector is undefined"),(0,o.check)(t,o.is.func,"select(selector,[...]): argument "+t+" is not a function"));return b(v,{selector:t,args:n})},e.actionChannel=function(t,e){(0,o.check)(t,o.is.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&((0,o.check)(e,o.is.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),(0,o.check)(e,o.is.notUndef,"actionChannel(pattern, buffer): argument "+e+" is not a valid buffer"));return b(g,{pattern:t,buffer:e})},e.cancelled=function(){return b(y,{})},e.flush=function(t){return(0,o.check)(t,o.is.channel,"flush(channel): argument "+t+" is not valid channel"),b(m,t)};var o=n(41);function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a=(0,o.sym)("IO"),s="TAKE",u="PUT",c="RACE",l="CALL",f="CPS",p="FORK",d="JOIN",h="CANCEL",v="SELECT",g="ACTION_CHANNEL",y="CANCELLED",m="FLUSH",b=function(t,e){var n;return i(n={},a,!0),i(n,t,e),n};function w(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"*";if(arguments.length&&(0,o.check)(arguments[0],o.is.notUndef,"take(patternOrChannel): patternOrChannel is undefined"),o.is.pattern(t))return b(s,{pattern:t});if(o.is.channel(t))return b(s,{channel:t});throw new Error("take(patternOrChannel): argument "+String(t)+" is not valid channel or a valid pattern")}function E(t,e){return arguments.length>1?((0,o.check)(t,o.is.notUndef,"put(channel, action): argument channel is undefined"),(0,o.check)(t,o.is.channel,"put(channel, action): argument "+t+" is not a valid channel"),(0,o.check)(e,o.is.notUndef,"put(channel, action): argument action is undefined")):((0,o.check)(t,o.is.notUndef,"put(action): argument action is undefined"),e=t,t=null),b(u,{channel:t,action:e})}function O(t,e,n){(0,o.check)(e,o.is.notUndef,t+": argument fn is undefined");var i=null;if(o.is.array(e)){var a=r(e,2);i=a[0],e=a[1]}else if(e.fn){var s=e;i=s.context,e=s.fn}return(0,o.check)(e,o.is.func,t+": argument "+e+" is not a function"),{context:i,fn:e,args:n}}function x(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return b(p,O("fork",t,n))}E.sync=function(){var t=E.apply(void 0,arguments);return t[u].sync=!0,t};var P=function(t){return t[o.TASK]};e.asEffect={take:function(t){return t&&t[a]&&t[s]},put:function(t){return t&&t[a]&&t[u]},race:function(t){return t&&t[a]&&t[c]},call:function(t){return t&&t[a]&&t[l]},cps:function(t){return t&&t[a]&&t[f]},fork:function(t){return t&&t[a]&&t[p]},join:function(t){return t&&t[a]&&t[d]},cancel:function(t){return t&&t[a]&&t[h]},select:function(t){return t&&t[a]&&t[v]},actionChannel:function(t){return t&&t[a]&&t[g]},cancelled:function(t){return t&&t[a]&&t[y]},flush:function(t){return t&&t[a]&&t[m]}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UNDEFINED_INPUT_ERROR=e.INVALID_BUFFER=e.isEnd=e.END=void 0;var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.emitter=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){return(0,o.remove)(t,e)}},emit:function(e){for(var n=t.slice(),r=0,o=n.length;r<o;r++)n[r](e)}}},e.channel=l,e.eventChannel=f,e.stdChannel=function(t){var e=f(t);return r({},e,{take:function(t,n){arguments.length>1&&((0,o.check)(n,o.is.func,"channel.take's matcher argument must be a function"),t[o.MATCH]=n),e.take(t)}})};var o=n(41),i=n(94),a=e.END={type:"@@redux-saga/CHANNEL_END"},s=e.isEnd=function(t){return t&&"@@redux-saga/CHANNEL_END"===t.type};var u=e.INVALID_BUFFER="invalid buffer passed to channel factory function",c=e.UNDEFINED_INPUT_ERROR="Saga was provided with an undefined action";function l(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.buffers.fixed(),e=!1,n=[];function r(){if(e&&n.length)throw(0,o.internalErr)("Cannot have a closed channel with pending takers");if(n.length&&!t.isEmpty())throw(0,o.internalErr)("Cannot have pending takers with non empty buffer")}return(0,o.check)(t,o.is.buffer,u),{take:function(i){r(),(0,o.check)(i,o.is.func,"channel.take's callback must be a function"),e&&t.isEmpty()?i(a):t.isEmpty()?(n.push(i),i.cancel=function(){return(0,o.remove)(n,i)}):i(t.take())},put:function(i){if(r(),(0,o.check)(i,o.is.notUndef,c),!e){if(!n.length)return t.put(i);for(var a=0;a<n.length;a++){var s=n[a];if(!s[o.MATCH]||s[o.MATCH](i))return n.splice(a,1),s(i)}}},flush:function(n){r(),(0,o.check)(n,o.is.func,"channel.flush' callback must be a function"),e&&t.isEmpty()?n(a):n(t.flush())},close:function(){if(r(),!e&&(e=!0,n.length)){var t=n;n=[];for(var o=0,i=t.length;o<i;o++)t[o](a)}},get __takers__(){return n},get __closed__(){return e}}}function f(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i.buffers.none(),n=arguments[2];arguments.length>2&&(0,o.check)(n,o.is.func,"Invalid match function passed to eventChannel");var r=l(e),a=t((function(t){s(t)?r.close():n&&!n(t)||r.put(t)}));if(!o.is.func(a))throw new Error("in eventChannel: subscribe should return a function to unsubscribe");return{take:r.take,flush:r.flush,close:function(){r.__closed__||(r.close(),a())}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buffers=e.BUFFER_OVERFLOW=void 0;var r=n(41),o=e.BUFFER_OVERFLOW="Channel's Buffer overflow!",i=1,a=3,s=4,u={isEmpty:r.kTrue,put:r.noop,take:r.noop};function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=arguments[1],n=new Array(t),r=0,u=0,c=0,l=function(e){n[u]=e,u=(u+1)%t,r++},f=function(){if(0!=r){var e=n[c];return n[c]=null,r--,c=(c+1)%t,e}},p=function(){for(var t=[];r;)t.push(f());return t};return{isEmpty:function(){return 0==r},put:function(f){if(r<t)l(f);else{var d=void 0;switch(e){case i:throw new Error(o);case a:n[u]=f,c=u=(u+1)%t;break;case s:d=2*t,n=p(),r=n.length,u=n.length,c=0,n.length=d,t=d,l(f)}}},take:f,flush:p}}e.buffers={none:function(){return u},fixed:function(t){return c(t,i)},dropping:function(t){return c(t,2)},sliding:function(t){return c(t,a)},expanding:function(t){return c(t,s)}}},function(t,e,n){var r;r=function(t,e){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=t,n.c=e,n.p="",n(0)}([function(t,e,n){"use strict";t.exports=n(1).default,t.exports.DraggableCore=n(17).default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),a=v(n(2)),s=v(n(3)),u=v(n(11)),c=v(n(12)),l=n(13),f=n(16),p=n(14),d=v(n(17)),h=v(n(19));function v(t){return t&&t.__esModule?t:{default:t}}function g(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.onDragStart=function(t,e){if((0,h.default)("Draggable: onDragStart: %j",e),!1===n.props.onStart(t,(0,f.createDraggableData)(n,e)))return!1;n.setState({dragging:!0,dragged:!0})},n.onDrag=function(t,e){if(!n.state.dragging)return!1;(0,h.default)("Draggable: onDrag: %j",e);var r=(0,f.createDraggableData)(n,e),i={x:r.x,y:r.y};if(n.props.bounds){var a=i.x,s=i.y;i.x+=n.state.slackX,i.y+=n.state.slackY;var u=(0,f.getBoundPosition)(n,i.x,i.y),c=o(u,2);i.x=c[0],i.y=c[1],i.slackX=n.state.slackX+(a-i.x),i.slackY=n.state.slackY+(s-i.y),r.x=a,r.y=s,r.deltaX=i.x-n.state.x,r.deltaY=i.y-n.state.y}if(!1===n.props.onDrag(t,r))return!1;n.setState(i)},n.onDragStop=function(t,e){if(!n.state.dragging)return!1;if(!1===n.props.onStop(t,(0,f.createDraggableData)(n,e)))return!1;(0,h.default)("Draggable: onDragStop: %j",e);var r={dragging:!1,slackX:0,slackY:0};if(Boolean(n.props.position)){var o=n.props.position,i=o.x,a=o.y;r.x=i,r.y=a}n.setState(r)},n.state={dragging:!1,dragged:!1,x:t.position?t.position.x:t.defaultPosition.x,y:t.position?t.position.y:t.defaultPosition.y,slackX:0,slackY:0,isElementSVG:!1},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),i(e,[{key:"componentWillMount",value:function(){!this.props.position||this.props.onDrag||this.props.onStop||console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}},{key:"componentDidMount",value:function(){"undefined"!=typeof SVGElement&&u.default.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(t){!t.position||this.props.position&&t.position.x===this.props.position.x&&t.position.y===this.props.position.y||this.setState({x:t.position.x,y:t.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var t,e={},n=null,o=!Boolean(this.props.position)||this.state.dragging,i=this.props.position||this.props.defaultPosition,s={x:(0,f.canDragX)(this)&&o?this.state.x:i.x,y:(0,f.canDragY)(this)&&o?this.state.y:i.y};this.state.isElementSVG?n=(0,l.createSVGTransform)(s):e=(0,l.createCSSTransform)(s);var u=this.props,p=u.defaultClassName,h=u.defaultClassNameDragging,v=u.defaultClassNameDragged,y=(0,c.default)(this.props.children.props.className||"",p,(g(t={},h,this.state.dragging),g(t,v,this.state.dragged),t));return a.default.createElement(d.default,r({},this.props,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),a.default.cloneElement(a.default.Children.only(this.props.children),{className:y,style:r({},this.props.children.props.style,e),transform:n}))}}]),e}(a.default.Component);y.displayName="Draggable",y.propTypes=r({},d.default.propTypes,{axis:s.default.oneOf(["both","x","y","none"]),bounds:s.default.oneOfType([s.default.shape({left:s.default.number,right:s.default.number,top:s.default.number,bottom:s.default.number}),s.default.string,s.default.oneOf([!1])]),defaultClassName:s.default.string,defaultClassNameDragging:s.default.string,defaultClassNameDragged:s.default.string,defaultPosition:s.default.shape({x:s.default.number,y:s.default.number}),position:s.default.shape({x:s.default.number,y:s.default.number}),className:p.dontSetMe,style:p.dontSetMe,transform:p.dontSetMe}),y.defaultProps=r({},d.default.defaultProps,{axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},position:null}),e.default=y},function(e,n){e.exports=t},function(t,e,n){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;t.exports=n(4)((function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r}),!0)}else t.exports=n(10)()},function(t,e,n){"use strict";var r=n(5),o=n(6),i=n(7),a=n(8),s=n(9);t.exports=function(t,e){var n="function"==typeof Symbol&&Symbol.iterator,u="@@iterator",c="<<anonymous>>",l={array:d("array"),bool:d("boolean"),func:d("function"),number:d("number"),object:d("object"),string:d("string"),symbol:d("symbol"),any:p(r.thatReturnsNull),arrayOf:function(t){return p((function(e,n,r,o,i){if("function"!=typeof t)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=e[n];if(!Array.isArray(s))return new f("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var u=0;u<s.length;u++){var c=t(s,u,r,o,i+"["+u+"]",a);if(c instanceof Error)return c}return null}))},element:p((function(e,n,r,o,i){var a=e[n];return t(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(t){return p((function(e,n,r,o,i){if(!(e[n]instanceof t)){var a=t.name||c;return new f("Invalid "+o+" `"+i+"` of type `"+((s=e[n]).constructor&&s.constructor.name?s.constructor.name:c)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:p((function(t,e,n,r,o){return h(t[e])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(t){return p((function(e,n,r,o,i){if("function"!=typeof t)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=e[n],u=v(s);if("object"!==u)return new f("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected an object.");for(var c in s)if(s.hasOwnProperty(c)){var l=t(s,c,r,o,i+"."+c,a);if(l instanceof Error)return l}return null}))},oneOf:function(t){return Array.isArray(t)?p((function(e,n,r,o,i){for(var a=e[n],s=0;s<t.length;s++)if(u=a,c=t[s],u===c?0!==u||1/u==1/c:u!=u&&c!=c)return null;var u,c;return new f("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(t)+".")})):("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(t){return Array.isArray(t)?p((function(e,n,r,o,i){for(var s=0;s<t.length;s++)if(null==(0,t[s])(e,n,r,o,i,a))return null;return new f("Invalid "+o+" `"+i+"` supplied to `"+r+"`.")})):("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&i(!1,"Invalid argument supplied to oneOfType, expected an instance of array."),r.thatReturnsNull)},shape:function(t){return p((function(e,n,r,o,i){var s=e[n],u=v(s);if("object"!==u)return new f("Invalid "+o+" `"+i+"` of type `"+u+"` supplied to `"+r+"`, expected `object`.");for(var c in t){var l=t[c];if(l){var p=l(s,c,r,o,i+"."+c,a);if(p)return p}}return null}))}};function f(t){this.message=t,this.stack=""}function p(t){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var n={},r=0;function s(s,u,l,p,d,h,v){if(p=p||c,h=h||l,v!==a)if(e)o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");else if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&"undefined"!=typeof console){var g=p+":"+l;!n[g]&&r<3&&(i(!1,"You are manually calling a React.PropTypes validation function for the `%s` prop on `%s`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.",h,p),n[g]=!0,r++)}return null==u[l]?s?null===u[l]?new f("The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `null`."):new f("The "+d+" `"+h+"` is marked as required in `"+p+"`, but its value is `undefined`."):null:t(u,l,p,d,h)}var u=s.bind(null,!1);return u.isRequired=s.bind(null,!0),u}function d(t){return p((function(e,n,r,o,i,a){var s=e[n];return v(s)!==t?new f("Invalid "+o+" `"+i+"` of type `"+function(t){var e=v(t);if("object"===e){if(t instanceof Date)return"date";if(t instanceof RegExp)return"regexp"}return e}(s)+"` supplied to `"+r+"`, expected `"+t+"`."):null}))}function h(e){switch(typeof e){case"number":case"string":case"undefined":return!0;case"boolean":return!e;case"object":if(Array.isArray(e))return e.every(h);if(null===e||t(e))return!0;var r=function(t){var e=t&&(n&&t[n]||t[u]);if("function"==typeof e)return e}(e);if(!r)return!1;var o,i=r.call(e);if(r!==e.entries){for(;!(o=i.next()).done;)if(!h(o.value))return!1}else for(;!(o=i.next()).done;){var a=o.value;if(a&&!h(a[1]))return!1}return!0;default:return!1}}function v(t){var e=typeof t;return Array.isArray(t)?"array":t instanceof RegExp?"object":function(t,e){return"symbol"===t||"Symbol"===e["@@toStringTag"]||"function"==typeof Symbol&&e instanceof Symbol}(e,t)?"symbol":e}return f.prototype=Error.prototype,l.checkPropTypes=s,l.PropTypes=l,l}},function(t,e){"use strict";function n(t){return function(){return t}}var r=function(){};r.thatReturns=n,r.thatReturnsFalse=n(!1),r.thatReturnsTrue=n(!0),r.thatReturnsNull=n(null),r.thatReturnsThis=function(){return this},r.thatReturnsArgument=function(t){return t},t.exports=r},function(t,e,n){"use strict";var r=function(t){};"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(t){if(void 0===t)throw new Error("invariant requires an error message argument")}),t.exports=function(t,e,n,o,i,a,s,u){if(r(e),!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,o,i,a,s,u],f=0;(c=new Error(e.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(t,e,n){"use strict";var r,o=n(5);"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+t.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(t){}},o=function(t,e){if(void 0===e)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==e.indexOf("Failed Composite propType: ")&&!t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];r.apply(void 0,[e].concat(o))}}),t.exports=o},function(t,e){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var r=n(6),o=n(7),i=n(8),a={};t.exports=function(t,e,n,s,u){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)for(var c in t)if(t.hasOwnProperty(c)){var l;try{r("function"==typeof t[c],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",n,c),l=t[c](e,c,s,n,null,i)}catch(t){l=t}if(o(!l||l instanceof Error,"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",s||"React class",n,c,typeof l),l instanceof Error&&!(l.message in a)){a[l.message]=!0;var f=u?u():"";o(!1,"Failed %s type: %s%s",n,l.message,null!=f?f:"")}}}},function(t,e,n){"use strict";var r=n(5),o=n(6);t.exports=function(){function t(){o(!1,"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types")}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e};return n.checkPropTypes=r,n.PropTypes=n,n}},function(t,n){t.exports=e},function(t,e,n){var r;
7
+ /*!
8
+ Copyright (c) 2016 Jed Watson.
9
+ Licensed under the MIT License (MIT), see
10
+ http://jedwatson.github.io/classnames
11
+ */!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var t=[],e=0;e<arguments.length;e++){var r=arguments[e];if(r){var i=typeof r;if("string"===i||"number"===i)t.push(r);else if(Array.isArray(r))t.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&t.push(a)}}return t.join(" ")}void 0!==t&&t.exports?t.exports=o:void 0===(r=function(){return o}.apply(e,[]))||(t.exports=r)}()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};e.matchesSelector=c,e.matchesSelectorAndParentsTo=function(t,e,n){var r=t;do{if(c(r,e))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},e.addEvent=function(t,e,n){t&&(t.attachEvent?t.attachEvent("on"+e,n):t.addEventListener?t.addEventListener(e,n,!0):t["on"+e]=n)},e.removeEvent=function(t,e,n){t&&(t.detachEvent?t.detachEvent("on"+e,n):t.removeEventListener?t.removeEventListener(e,n,!0):t["on"+e]=null)},e.outerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,i.int)(n.borderTopWidth),e+=(0,i.int)(n.borderBottomWidth)},e.outerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e+=(0,i.int)(n.borderLeftWidth),e+=(0,i.int)(n.borderRightWidth)},e.innerHeight=function(t){var e=t.clientHeight,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,i.int)(n.paddingTop),e-=(0,i.int)(n.paddingBottom)},e.innerWidth=function(t){var e=t.clientWidth,n=t.ownerDocument.defaultView.getComputedStyle(t);return e-=(0,i.int)(n.paddingLeft),e-=(0,i.int)(n.paddingRight)},e.offsetXYFromParent=function(t,e){var n=e===e.ownerDocument.body?{left:0,top:0}:e.getBoundingClientRect(),r=t.clientX+e.scrollLeft-n.left,o=t.clientY+e.scrollTop-n.top;return{x:r,y:o}},e.createCSSTransform=function(t){var e=t.x,n=t.y;return function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}({},(0,a.browserPrefixToKey)("transform",s.default),"translate("+e+"px,"+n+"px)")},e.createSVGTransform=function(t){var e=t.x,n=t.y;return"translate("+e+","+n+")"},e.getTouch=function(t,e){return t.targetTouches&&(0,i.findInArray)(t.targetTouches,(function(t){return e===t.identifier}))||t.changedTouches&&(0,i.findInArray)(t.changedTouches,(function(t){return e===t.identifier}))},e.getTouchIdentifier=function(t){return t.targetTouches&&t.targetTouches[0]?t.targetTouches[0].identifier:t.changedTouches&&t.changedTouches[0]?t.changedTouches[0].identifier:void 0},e.addUserSelectStyles=function(t){var e=t.getAttribute("style")||"";d.test(e)||t.setAttribute("style",e+p)},e.removeUserSelectStyles=function(t){var e=t.getAttribute("style")||"";t.setAttribute("style",e.replace(d,""))},e.styleHacks=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r({touchAction:"none"},t)};var o,i=n(14),a=n(15),s=(o=a)&&o.__esModule?o:{default:o},u="";function c(t,e){return u||(u=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(e){return(0,i.isFunction)(t[e])}))),t[u].call(t,e)}var l=(0,a.getPrefix)("user-select"),f=(0,a.browserPrefixToStyle)("user-select",l),p=";"+f+": none;",d=new RegExp(";?"+f+": none;")},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findInArray=function(t,e){for(var n=0,r=t.length;n<r;n++)if(e.apply(e,[t[n],n,t]))return t[n]},e.isFunction=function(t){return"function"==typeof t||"[object Function]"===Object.prototype.toString.call(t)},e.isNum=function(t){return"number"==typeof t&&!isNaN(t)},e.int=function(t){return parseInt(t,10)},e.dontSetMe=function(t,e,n){if(t[e])return new Error("Invalid prop "+e+" passed to "+n+" - do not set this, set it on the child.")}},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getPrefix=r,e.browserPrefixToKey=o,e.browserPrefixToStyle=function(t,e){return e?"-"+e.toLowerCase()+"-"+t:t};var n=["Moz","Webkit","O","ms"];function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var e=window.document.documentElement.style;if(t in e)return"";for(var r=0;r<n.length;r++)if(o(t,n[r])in e)return n[r];return""}function o(t,e){return e?""+e+function(t){for(var e="",n=!0,r=0;r<t.length;r++)n?(e+=t[r].toUpperCase(),n=!1):"-"===t[r]?n=!0:e+=t[r];return e}(t):t}e.default=r()},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getBoundPosition=function(t,e,n){if(!t.props.bounds)return[e,n];var r=t.props.bounds;r="string"==typeof r?r:function(t){return{left:t.left,top:t.top,right:t.right,bottom:t.bottom}}(r);var i=a.default.findDOMNode(t);if("string"==typeof r){var u=i.ownerDocument,c=u.defaultView,l=void 0;if("parent"===r)l=i.parentNode;else if(!(l=u.querySelector(r)))throw new Error('Bounds selector "'+r+'" could not find an element.');var f=c.getComputedStyle(i),p=c.getComputedStyle(l);r={left:-i.offsetLeft+(0,o.int)(p.paddingLeft)+(0,o.int)(f.marginLeft),top:-i.offsetTop+(0,o.int)(p.paddingTop)+(0,o.int)(f.marginTop),right:(0,s.innerWidth)(l)-(0,s.outerWidth)(i)-i.offsetLeft+(0,o.int)(p.paddingRight)-(0,o.int)(f.marginRight),bottom:(0,s.innerHeight)(l)-(0,s.outerHeight)(i)-i.offsetTop+(0,o.int)(p.paddingBottom)-(0,o.int)(f.marginBottom)}}return(0,o.isNum)(r.right)&&(e=Math.min(e,r.right)),(0,o.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,o.isNum)(r.left)&&(e=Math.max(e,r.left)),(0,o.isNum)(r.top)&&(n=Math.max(n,r.top)),[e,n]},e.snapToGrid=function(t,e,n){var r=Math.round(e/t[0])*t[0],o=Math.round(n/t[1])*t[1];return[r,o]},e.canDragX=function(t){return"both"===t.props.axis||"x"===t.props.axis},e.canDragY=function(t){return"both"===t.props.axis||"y"===t.props.axis},e.getControlPosition=function(t,e,n){var r="number"==typeof e?(0,s.getTouch)(t,e):null;if("number"==typeof e&&!r)return null;var o=a.default.findDOMNode(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,s.offsetXYFromParent)(r||t,i)},e.createCoreData=function(t,e,n){var r=t.state;return(0,o.isNum)(r.lastX)?{node:a.default.findDOMNode(t),deltaX:e-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:e,y:n}:{node:a.default.findDOMNode(t),deltaX:0,deltaY:0,lastX:e,lastY:n,x:e,y:n}},e.createDraggableData=function(t,e){return{node:e.node,x:t.state.x+e.deltaX,y:t.state.y+e.deltaY,deltaX:e.deltaX,deltaY:e.deltaY,lastX:t.state.x,lastY:t.state.y}};var r,o=n(14),i=n(11),a=(r=i)&&r.__esModule?r:{default:r},s=n(13)},function(t,e,n){(function(t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=p(n(2)),a=p(n(3)),s=p(n(11)),u=n(13),c=n(16),l=n(14),f=p(n(19));function p(t){return t&&t.__esModule?t:{default:t}}function d(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var h={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},v=h.mouse,g=function(t){function e(){var t,n,o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=d(this,(t=e.__proto__||Object.getPrototypeOf(e)).call.apply(t,[this].concat(a))),o.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},o.handleDragStart=function(t){if(o.props.onMouseDown(t),!o.props.allowAnyClick&&"number"==typeof t.button&&0!==t.button)return!1;var e=s.default.findDOMNode(o),n=e.ownerDocument;if(!(o.props.disabled||!(t.target instanceof n.defaultView.Node)||o.props.handle&&!(0,u.matchesSelectorAndParentsTo)(t.target,o.props.handle,e)||o.props.cancel&&(0,u.matchesSelectorAndParentsTo)(t.target,o.props.cancel,e))){var r=(0,u.getTouchIdentifier)(t);o.setState({touchIdentifier:r});var i=(0,c.getControlPosition)(t,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,c.createCoreData)(o,a,l);(0,f.default)("DraggableCore: handleDragStart: %j",p),(0,f.default)("calling",o.props.onStart),!1!==o.props.onStart(t,p)&&(o.props.enableUserSelectHack&&(0,u.addUserSelectStyles)(n.body),o.setState({dragging:!0,lastX:a,lastY:l}),(0,u.addEvent)(n,v.move,o.handleDrag),(0,u.addEvent)(n,v.stop,o.handleDragStop))}}},o.handleDrag=function(t){"touchmove"===t.type&&t.preventDefault();var e=(0,c.getControlPosition)(t,o.state.touchIdentifier,o);if(null!=e){var n=e.x,i=e.y;if(Array.isArray(o.props.grid)){var a=n-o.state.lastX,s=i-o.state.lastY,u=(0,c.snapToGrid)(o.props.grid,a,s),l=r(u,2);if(a=l[0],s=l[1],!a&&!s)return;n=o.state.lastX+a,i=o.state.lastY+s}var p=(0,c.createCoreData)(o,n,i);if((0,f.default)("DraggableCore: handleDrag: %j",p),!1!==o.props.onDrag(t,p))o.setState({lastX:n,lastY:i});else try{o.handleDragStop(new MouseEvent("mouseup"))}catch(t){var d=document.createEvent("MouseEvents");d.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),o.handleDragStop(d)}}},o.handleDragStop=function(t){if(o.state.dragging){var e=(0,c.getControlPosition)(t,o.state.touchIdentifier,o);if(null!=e){var n=e.x,r=e.y,i=(0,c.createCoreData)(o,n,r),a=s.default.findDOMNode(o).ownerDocument;o.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(a.body),(0,f.default)("DraggableCore: handleDragStop: %j",i),o.setState({dragging:!1,lastX:NaN,lastY:NaN}),o.props.onStop(t,i),(0,f.default)("DraggableCore: Removing handlers"),(0,u.removeEvent)(a,v.move,o.handleDrag),(0,u.removeEvent)(a,v.stop,o.handleDragStop)}}},o.onMouseDown=function(t){return v=h.mouse,o.handleDragStart(t)},o.onMouseUp=function(t){return v=h.mouse,o.handleDragStop(t)},o.onTouchStart=function(t){return v=h.touch,o.handleDragStart(t)},o.onTouchEnd=function(t){return v=h.touch,o.handleDragStop(t)},d(o,n)}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"componentWillUnmount",value:function(){var t=s.default.findDOMNode(this).ownerDocument;(0,u.removeEvent)(t,h.mouse.move,this.handleDrag),(0,u.removeEvent)(t,h.touch.move,this.handleDrag),(0,u.removeEvent)(t,h.mouse.stop,this.handleDragStop),(0,u.removeEvent)(t,h.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&(0,u.removeUserSelectStyles)(t.body)}},{key:"render",value:function(){return i.default.cloneElement(i.default.Children.only(this.props.children),{style:(0,u.styleHacks)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),e}(i.default.Component);g.displayName="DraggableCore",g.propTypes={allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(e,n){if(t.browser&&e[n]&&1!==e[n].nodeType)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:a.default.arrayOf(a.default.number),handle:a.default.string,cancel:a.default.string,onStart:a.default.func,onDrag:a.default.func,onStop:a.default.func,onMouseDown:a.default.func,className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe},g.defaultProps={allowAnyClick:!1,cancel:null,disabled:!1,enableUserSelectHack:!0,offsetParent:null,handle:null,grid:null,transform:null,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){}},e.default=g}).call(e,n(18))},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){}}])},t.exports=r(n(0),n(42))},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var u;if(void 0===e)u=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,i,a,s],l=0;(u=new Error(e.replace(/%s/g,(function(){return c[l++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(t,e){t.exports=pageflow},function(t,e,n){var r=n(8),o=n(9),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},function(t,e,n){var r=n(8),o=n(21);t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},function(t,e,n){var r=n(35),o=n(51),i=n(102),a=n(10);t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(a(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(12),o=n(15),i=n(10),a=n(66);t.exports=r?Object.defineProperties:function(t,e){i(t);for(var n,r=a(e),s=r.length,u=0;s>u;)o.f(t,n=r[u++],e[n]);return t}},function(t,e,n){var r,o,i=n(8),a=n(77),s=i.process,u=s&&s.versions,c=u&&u.v8;c?o=(r=c.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),t.exports=o&&+o},function(t,e,n){"use strict";var r=n(16),o=n(45),i=n(14);t.exports=function(t){for(var e=r(this),n=i(e.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),u=a>2?arguments[2]:void 0,c=void 0===u?n:o(u,n);c>s;)e[s++]=t;return e}},function(t,e,n){var r=n(13),o=n(69),i=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(o.Array===t||a[i]===t)}},function(t,e,n){"use strict";var r=n(1),o=n(137),i=n(37),a=n(56),s=n(36),u=n(21),c=n(20),l=n(13),f=n(44),p=n(69),d=n(138),h=d.IteratorPrototype,v=d.BUGGY_SAFARI_ITERATORS,g=l("iterator"),y=function(){return this};t.exports=function(t,e,n,l,d,m,b){o(n,e,l);var w,E,O,x=function(t){if(t===d&&T)return T;if(!v&&t in _)return _[t];switch(t){case"keys":case"values":case"entries":return function(){return new n(this,t)}}return function(){return new n(this)}},P=e+" Iterator",k=!1,_=t.prototype,S=_[g]||_["@@iterator"]||d&&_[d],T=!v&&S||x(d),j="Array"==e&&_.entries||S;if(j&&(w=i(j.call(new t)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&u(w,g,y)),s(w,P,!0,!0),f&&(p[P]=y))),"values"==d&&S&&"values"!==S.name&&(k=!0,T=function(){return S.call(this)}),f&&!b||_[g]===T||u(_,g,T),p[e]=T,d)if(E={values:x("values"),keys:m?T:x("keys"),entries:x("entries")},b)for(O in E)!v&&!k&&O in _||c(_,O,E[O]);else r({target:e,proto:!0,forced:v||k},E);return E}},function(t,e,n){var r=n(6);t.exports=!r((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},function(t,e,n){var r=n(14),o=n(110),i=n(23),a=Math.ceil,s=function(t){return function(e,n,s){var u,c,l=String(i(e)),f=l.length,p=void 0===s?" ":String(s),d=r(n);return d<=f||""==p?l:(u=d-f,(c=o.call(p,a(u/p.length))).length>u&&(c=c.slice(0,u)),t?l+c:c+l)}};t.exports={start:s(!1),end:s(!0)}},function(t,e,n){"use strict";var r=n(30),o=n(23);t.exports="".repeat||function(t){var e=String(o(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e,n){var r,o,i,a=n(8),s=n(6),u=n(33),c=n(46),l=n(129),f=n(98),p=n(153),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,y=a.MessageChannel,m=a.Dispatch,b=0,w={},E=function(t){if(w.hasOwnProperty(t)){var e=w[t];delete w[t],e()}},O=function(t){return function(){E(t)}},x=function(t){E(t.data)},P=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};h&&v||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return w[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},v=function(t){delete w[t]},"process"==u(g)?r=function(t){g.nextTick(O(t))}:m&&m.now?r=function(t){m.now(O(t))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=x,r=c(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(P)?r="onreadystatechange"in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),E(t)}}:function(t){setTimeout(O(t),0)}:(r=P,a.addEventListener("message",x,!1))),t.exports={set:h,clear:v}},function(t,e,n){var r=n(9),o=n(33),i=n(13)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[i])?!!e:"RegExp"==o(t))}},function(t,e,n){var r=n(113);t.exports=function(t){if(r(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,e,n){var r=n(13)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(n){try{return e[r]=!1,"/./"[t](e)}catch(t){}}return!1}},function(t,e,n){"use strict";var r=n(89).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){var r=n(6),o=n(85);t.exports=function(t){return r((function(){return!!o[t]()||"​…᠎"!="​…᠎"[t]()||o[t].name!==t}))}},function(t,e,n){var r=n(8),o=n(6),i=n(78),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,u=r.Int8Array;t.exports=!a||!o((function(){u(1)}))||!o((function(){new u(-1)}))||!i((function(t){new u,new u(null),new u(1.5),new u(t)}),!0)||o((function(){return 1!==new u(new s(2),1,void 0).length}))},function(t,e,n){"use strict";t.exports=n(400)},function(t,e,n){"use strict";function r(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}function o(t,e){return t===e}function i(t){var e=arguments.length<=1||void 0===arguments[1]?o:arguments[1],n=null,r=null;return function(){for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return null!==n&&n.length===i.length&&i.every((function(t,r){return e(t,n[r])}))||(r=t.apply(void 0,i)),n=i,r}}function a(t){var e=Array.isArray(t[0])?t[0]:t;if(!e.every((function(t){return"function"==typeof t}))){var n=e.map((function(t){return typeof t})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return e}function s(t){for(var e=arguments.length,n=Array(e>1?e-1:0),o=1;o<e;o++)n[o-1]=arguments[o];return function(){for(var e=arguments.length,o=Array(e),i=0;i<e;i++)o[i]=arguments[i];var s=0,u=o.pop(),c=a(o),l=t.apply(void 0,[function(){return s++,u.apply(void 0,arguments)}].concat(n)),f=function(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var a=c.map((function(n){return n.apply(void 0,[t,e].concat(o))}));return l.apply(void 0,r(a))};return f.resultFunc=u,f.recomputations=function(){return s},f.resetRecomputations=function(){return s=0},f}}e.__esModule=!0,e.defaultMemoize=i,e.createSelectorCreator=s,e.createStructuredSelector=function(t){var e=arguments.length<=1||void 0===arguments[1]?u:arguments[1];if("object"!=typeof t)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof t);var n=Object.keys(t);return e(n.map((function(e){return t[e]})),(function(){for(var t=arguments.length,e=Array(t),r=0;r<t;r++)e[r]=arguments[r];return e.reduce((function(t,e,r){return t[n[r]]=e,t}),{})}))};var u=e.createSelector=s(i)},function(t,e,n){"use strict";(function(t,r){var o,i=n(170);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==t?t:r;var a=Object(i.a)(o);e.a=a}).call(this,n(74),n(392)(t))},function(t,e,n){var r=n(12),o=n(6),i=n(98);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(t,e,n){var r=n(55);t.exports=r("native-function-to-string",Function.toString)},function(t,e,n){var r=n(8),o=n(123),i=r.WeakMap;t.exports="function"==typeof i&&/native code/.test(o.call(i))},function(t,e,n){var r=n(18),o=n(100),i=n(22),a=n(15);t.exports=function(t,e){for(var n=o(e),s=a.f,u=i.f,c=0;c<n.length;c++){var l=n[c];r(t,l)||s(t,l,u(e,l))}}},function(t,e,n){t.exports=n(8)},function(t,e,n){var r=n(18),o=n(24),i=n(64).indexOf,a=n(63);t.exports=function(t,e){var n,s=o(t),u=0,c=[];for(n in s)!r(a,n)&&r(s,n)&&c.push(n);for(;e.length>u;)r(s,n=e[u++])&&(~i(c,n)||c.push(n));return c}},function(t,e,n){var r=n(6);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(t,e,n){var r=n(35);t.exports=r("document","documentElement")},function(t,e,n){var r=n(24),o=n(51).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return a&&"[object Window]"==i.call(t)?function(t){try{return o(t)}catch(t){return a.slice()}}(t):o(r(t))}},function(t,e,n){e.f=n(13)},function(t,e,n){"use strict";var r=n(16),o=n(45),i=n(14),a=Math.min;t.exports=[].copyWithin||function(t,e){var n=r(this),s=i(n.length),u=o(t,s),c=o(e,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:o(l,s))-c,s-u),p=1;for(c<u&&u<c+f&&(p=-1,c+=f-1,u+=f-1);f-- >0;)c in n?n[u]=n[c]:delete n[u],u+=p,c+=p;return n}},function(t,e,n){"use strict";var r=n(52),o=n(14),i=n(46),a=function(t,e,n,s,u,c,l,f){for(var p,d=u,h=0,v=!!l&&i(l,f,3);h<s;){if(h in n){if(p=v?v(n[h],h,e):n[h],c>0&&r(p))d=a(t,e,p,o(p.length),d,c-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");t[d]=p}d++}h++}return d};t.exports=a},function(t,e,n){"use strict";var r=n(19).forEach,o=n(39);t.exports=o("forEach")?function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(t,e,n){"use strict";var r=n(46),o=n(16),i=n(136),a=n(106),s=n(14),u=n(53),c=n(70);t.exports=function(t){var e,n,l,f,p,d=o(t),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,m=0,b=c(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(e=s(d.length));e>m;m++)u(n,m,y?g(d[m],m):d[m]);else for(p=(f=b.call(d)).next,n=new h;!(l=p.call(f)).done;m++)u(n,m,y?i(f,g,[l.value,m],!0):l.value);return n.length=m,n}},function(t,e,n){var r=n(10);t.exports=function(t,e,n,o){try{return o?e(r(n)[0],n[1]):e(n)}catch(e){var i=t.return;throw void 0!==i&&r(i.call(t)),e}}},function(t,e,n){"use strict";var r=n(138).IteratorPrototype,o=n(38),i=n(43),a=n(36),s=n(69),u=function(){return this};t.exports=function(t,e,n){var c=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,c,!1,!0),s[c]=u,t}},function(t,e,n){"use strict";var r,o,i,a=n(37),s=n(21),u=n(18),c=n(13),l=n(44),f=c("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||u(r,f)||s(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(t,e,n){var r=n(9);t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},function(t,e,n){"use strict";var r=n(24),o=n(30),i=n(14),a=n(39),s=Math.min,u=[].lastIndexOf,c=!!u&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");t.exports=c||l?function(t){if(c)return u.apply(this,arguments)||0;var e=r(this),n=i(e.length),a=n-1;for(arguments.length>1&&(a=s(a,o(arguments[1]))),a<0&&(a=n+a);a>=0;a--)if(a in e&&e[a]===t)return a||0;return-1}:u},function(t,e,n){var r=n(30),o=n(14);t.exports=function(t){if(void 0===t)return 0;var e=r(t),n=o(e);if(e!==n)throw RangeError("Wrong length or index");return n}},function(t,e,n){"use strict";var r=n(31),o=n(9),i=[].slice,a={},s=function(t,e,n){if(!(e in a)){for(var r=[],o=0;o<e;o++)r[o]="a["+o+"]";a[e]=Function("C,a","return new C("+r.join(",")+")")}return a[e](t,n)};t.exports=Function.bind||function(t){var e=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(e,r.length,r):e.apply(t,r)};return o(e.prototype)&&(a.prototype=e.prototype),a}},function(t,e,n){"use strict";var r=n(15).f,o=n(38),i=n(58),a=n(46),s=n(48),u=n(73),c=n(107),l=n(57),f=n(12),p=n(54).fastKey,d=n(29),h=d.set,v=d.getterFor;t.exports={getConstructor:function(t,e,n,c){var l=t((function(t,r){s(t,l,e),h(t,{type:e,index:o(null),first:void 0,last:void 0,size:0}),f||(t.size=0),null!=r&&u(r,t[c],t,n)})),d=v(e),g=function(t,e,n){var r,o,i=d(t),a=y(t,e);return a?a.value=n:(i.last=a={index:o=p(e,!0),key:e,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:t.size++,"F"!==o&&(i.index[o]=a)),t},y=function(t,e){var n,r=d(t),o=p(e);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==e)return n};return i(l.prototype,{clear:function(){for(var t=d(this),e=t.index,n=t.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete e[n.index],n=n.next;t.first=t.last=void 0,f?t.size=0:this.size=0},delete:function(t){var e=d(this),n=y(this,t);if(n){var r=n.next,o=n.previous;delete e.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),e.first==n&&(e.first=r),e.last==n&&(e.last=o),f?e.size--:this.size--}return!!n},forEach:function(t){for(var e,n=d(this),r=a(t,arguments.length>1?arguments[1]:void 0,3);e=e?e.next:n.first;)for(r(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!y(this,t)}}),i(l.prototype,n?{get:function(t){var e=y(this,t);return e&&e.value},set:function(t,e){return g(this,0===t?0:t,e)}}:{add:function(t){return g(this,t=0===t?0:t,t)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(t,e,n){var r=e+" Iterator",o=v(e),i=v(r);c(t,e,(function(t,e){h(this,{type:r,target:t,state:o(t),kind:e,last:void 0})}),(function(){for(var t=i(this),e=t.kind,n=t.last;n&&n.removed;)n=n.previous;return t.target&&(t.last=n=n?n.next:t.state.first)?"keys"==e?{value:n.key,done:!1}:"values"==e?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(t.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(e)}}},function(t,e){var n=Math.log;t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:n(1+t)}},function(t,e,n){var r=n(9),o=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&o(t)===t}},function(t,e,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;t.exports=s?function(t){var e=o(String(t)),n=a(e);return 0===n&&"-"==e.charAt(0)?-0:n}:a},function(t,e,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseInt,s=/^[+-]?0[Xx]/,u=8!==a(i+"08")||22!==a(i+"0x16");t.exports=u?function(t,e){var n=o(String(t));return a(n,e>>>0||(s.test(n)?16:10))}:a},function(t,e,n){var r=n(33);t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},function(t,e,n){"use strict";var r=n(12),o=n(6),i=n(66),a=n(102),s=n(75),u=n(16),c=n(61),l=Object.assign;t.exports=!l||o((function(){var t={},e={},n=Symbol();return t[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!=l({},t)[n]||"abcdefghijklmnopqrst"!=i(l({},e)).join("")}))?function(t,e){for(var n=u(t),o=arguments.length,l=1,f=a.f,p=s.f;o>l;)for(var d,h=c(arguments[l++]),v=f?i(h).concat(f(h)):i(h),g=v.length,y=0;g>y;)d=v[y++],r&&!p.call(h,d)||(n[d]=h[d]);return n}:l},function(t,e,n){var r=n(12),o=n(66),i=n(24),a=n(75).f,s=function(t){return function(e){for(var n,s=i(e),u=o(s),c=u.length,l=0,f=[];c>l;)n=u[l++],r&&!a.call(s,n)||f.push(t?[n,s[n]]:s[n]);return f}};t.exports={entries:s(!0),values:s(!1)}},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){var r=n(8);t.exports=r.Promise},function(t,e,n){var r=n(77);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(t,e,n){var r,o,i,a,s,u,c,l,f=n(8),p=n(22).f,d=n(33),h=n(112).set,v=n(153),g=f.MutationObserver||f.WebKitMutationObserver,y=f.process,m=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var t,e;for(b&&(t=y.domain)&&t.exit();o;){e=o.fn,o=o.next;try{e()}catch(t){throw o?a():i=void 0,t}}i=void 0,t&&t.enter()},b?a=function(){y.nextTick(r)}:g&&!v?(s=!0,u=document.createTextNode(""),new g(r).observe(u,{characterData:!0}),a=function(){u.data=s=!s}):m&&m.resolve?(c=m.resolve(void 0),l=c.then,a=function(){l.call(c,r)}):a=function(){h.call(f,r)}),t.exports=E||function(t){var e={fn:t,next:void 0};i&&(i.next=e),o||(o=e,a()),i=e}},function(t,e,n){var r=n(10),o=n(9),i=n(156);t.exports=function(t,e){if(r(t),o(e)&&e.constructor===t)return e;var n=i.f(t);return(0,n.resolve)(e),n.promise}},function(t,e,n){"use strict";var r=n(31),o=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new o(t)}},function(t,e,n){"use strict";var r=n(89).charAt,o=n(29),i=n(107),a=o.set,s=o.getterFor("String Iterator");i(String,"String",(function(t){a(this,{type:"String Iterator",string:String(t),index:0})}),(function(){var t,e=s(this),n=e.string,o=e.index;return o>=n.length?{value:void 0,done:!0}:(t=r(n,o),e.index+=t.length,{value:t,done:!1})}))},function(t,e,n){var r=n(77);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(t,e,n){var r=n(346);t.exports=function(t,e){var n=r(t);if(n%e)throw RangeError("Wrong offset");return n}},function(t,e,n){var r=n(16),o=n(14),i=n(70),a=n(106),s=n(46),u=n(11).aTypedArrayConstructor;t.exports=function(t){var e,n,c,l,f,p,d=r(t),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,y=i(d);if(null!=y&&!a(y))for(p=(f=y.call(d)).next,d=[];!(l=p.call(f)).done;)d.push(l.value);for(g&&h>2&&(v=s(v,arguments[2],2)),n=o(d.length),c=new(u(this))(n),e=0;n>e;e++)c[e]=g?v(d[e],e):d[e];return c}},function(t,e,n){"use strict";var r=n(58),o=n(54).getWeakData,i=n(10),a=n(9),s=n(48),u=n(73),c=n(19),l=n(18),f=n(29),p=f.set,d=f.getterFor,h=c.find,v=c.findIndex,g=0,y=function(t){return t.frozen||(t.frozen=new m)},m=function(){this.entries=[]},b=function(t,e){return h(t.entries,(function(t){return t[0]===e}))};m.prototype={get:function(t){var e=b(this,t);if(e)return e[1]},has:function(t){return!!b(this,t)},set:function(t,e){var n=b(this,t);n?n[1]=e:this.entries.push([t,e])},delete:function(t){var e=v(this.entries,(function(e){return e[0]===t}));return~e&&this.entries.splice(e,1),!!~e}},t.exports={getConstructor:function(t,e,n,c){var f=t((function(t,r){s(t,f,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&u(r,t[c],t,n)})),h=d(e),v=function(t,e,n){var r=h(t),a=o(i(e),!0);return!0===a?y(r).set(e,n):a[r.id]=n,t};return r(f.prototype,{delete:function(t){var e=h(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).delete(t):n&&l(n,e.id)&&delete n[e.id]},has:function(t){var e=h(this);if(!a(t))return!1;var n=o(t);return!0===n?y(e).has(t):n&&l(n,e.id)}}),r(f.prototype,n?{get:function(t){var e=h(this);if(a(t)){var n=o(t);return!0===n?y(e).get(t):n?n[e.id]:void 0}},set:function(t,e){return v(this,t,e)}}:{add:function(t){return v(this,t,!0)}}),f}}},function(t,e){t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){var r=n(6),o=n(13),i=n(44),a=o("iterator");t.exports=!r((function(){var t=new URL("b?a=1&b=2&c=3","http://a"),e=t.searchParams,n="";return t.pathname="c%20d",e.forEach((function(t,r){e.delete("b"),n+=r+t})),i&&!t.toJSON||!e.sort||"http://a/c%20d?a=1&c=3"!==t.href||"3"!==e.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!e[a]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0).host}))},function(t,e,n){"use strict";n(79);var r=n(1),o=n(35),i=n(163),a=n(20),s=n(58),u=n(36),c=n(137),l=n(29),f=n(48),p=n(18),d=n(46),h=n(71),v=n(10),g=n(9),y=n(38),m=n(43),b=n(389),w=n(70),E=n(13),O=o("fetch"),x=o("Headers"),P=E("iterator"),k=l.set,_=l.getterFor("URLSearchParams"),S=l.getterFor("URLSearchParamsIterator"),T=/\+/g,j=Array(4),A=function(t){return j[t-1]||(j[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},C=function(t){try{return decodeURIComponent(t)}catch(e){return t}},I=function(t){var e=t.replace(T," "),n=4;try{return decodeURIComponent(e)}catch(t){for(;n;)e=e.replace(A(n--),C);return e}},M=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(t){return R[t]},N=function(t){return encodeURIComponent(t).replace(M,D)},L=function(t,e){if(e)for(var n,r,o=e.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),t.push({key:I(r.shift()),value:I(r.join("="))}))},B=function(t){this.entries.length=0,L(this.entries,t)},F=function(t,e){if(t<e)throw TypeError("Not enough arguments")},U=c((function(t,e){k(this,{type:"URLSearchParamsIterator",iterator:b(_(t).entries),kind:e})}),"Iterator",(function(){var t=S(this),e=t.kind,n=t.iterator.next(),r=n.value;return n.done||(n.value="keys"===e?r.key:"values"===e?r.value:[r.key,r.value]),n})),W=function(){f(this,W,"URLSearchParams");var t,e,n,r,o,i,a,s,u,c=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(k(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==c)if(g(c))if("function"==typeof(t=w(c)))for(n=(e=t.call(c)).next;!(r=n.call(e)).done;){if((a=(i=(o=b(v(r.value))).next).call(o)).done||(s=i.call(o)).done||!i.call(o).done)throw TypeError("Expected sequence with length 2");d.push({key:a.value+"",value:s.value+""})}else for(u in c)p(c,u)&&d.push({key:u,value:c[u]+""});else L(d,"string"==typeof c?"?"===c.charAt(0)?c.slice(1):c:c+"")},H=W.prototype;s(H,{append:function(t,e){F(arguments.length,2);var n=_(this);n.entries.push({key:t+"",value:e+""}),n.updateURL()},delete:function(t){F(arguments.length,1);for(var e=_(this),n=e.entries,r=t+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;e.updateURL()},get:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=0;r<e.length;r++)if(e[r].key===n)return e[r].value;return null},getAll:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=[],o=0;o<e.length;o++)e[o].key===n&&r.push(e[o].value);return r},has:function(t){F(arguments.length,1);for(var e=_(this).entries,n=t+"",r=0;r<e.length;)if(e[r++].key===n)return!0;return!1},set:function(t,e){F(arguments.length,1);for(var n,r=_(this),o=r.entries,i=!1,a=t+"",s=e+"",u=0;u<o.length;u++)(n=o[u]).key===a&&(i?o.splice(u--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var t,e,n,r=_(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(t=i[n],e=0;e<n;e++)if(o[e].key>t.key){o.splice(e,0,t);break}e===n&&o.push(t)}r.updateURL()},forEach:function(t){for(var e,n=_(this).entries,r=d(t,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((e=n[o++]).value,e.key,this)},keys:function(){return new U(this,"keys")},values:function(){return new U(this,"values")},entries:function(){return new U(this,"entries")}},{enumerable:!0}),a(H,P,H.entries),a(H,"toString",(function(){for(var t,e=_(this).entries,n=[],r=0;r<e.length;)t=e[r++],n.push(N(t.key)+"="+N(t.value));return n.join("&")}),{enumerable:!0}),u(W,"URLSearchParams"),r({global:!0,forced:!i},{URLSearchParams:W}),i||"function"!=typeof O||"function"!=typeof x||r({global:!0,enumerable:!0,forced:!0},{fetch:function(t){var e,n,r,o=[t];return arguments.length>1&&(e=arguments[1],g(e)&&(n=e.body,"URLSearchParams"===h(n)&&((r=e.headers?new x(e.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),e=y(e,{body:m(0,String(n)),headers:m(0,r)}))),o.push(e)),O.apply(this,o)}}),t.exports={URLSearchParams:W,getState:_}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(92);Object.defineProperty(e,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(e,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(e,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(e,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(e,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(e,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(e,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(e,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(e,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(e,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(e,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(e,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(e,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(e,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(e,"flush",{enumerable:!0,get:function(){return r.flush}})},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TASK_CANCEL=e.CHANNEL_END=e.NOT_ITERATOR_ERROR=void 0,e.default=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return r.noop},d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.noop,v=arguments.length>3&&void 0!==arguments[3]?arguments[3]:r.noop,g=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},y=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,m=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"anonymous",b=arguments[7];(0,r.check)(e,r.is.iterator,l);var w=g.sagaMonitor,E=g.logger,O=g.onError,x=E||r.log,P=(0,a.stdChannel)(n);j.cancel=r.noop;var k=function(t,e,n,o){var i,a;return n._deferredEnd=null,u(i={},r.TASK,!0),u(i,"id",t),u(i,"name",e),"done",(a={}).done=a.done||{},a.done.get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var t=(0,r.deferred)();return n._deferredEnd=t,n._isRunning||(n._error?t.reject(n._error):t.resolve(n._result)),t.promise},u(i,"cont",o),u(i,"joiners",[]),u(i,"cancel",T),u(i,"isRunning",(function(){return n._isRunning})),u(i,"isCancelled",(function(){return n._isCancelled})),u(i,"isAborted",(function(){return n._isAborted})),u(i,"result",(function(){return n._result})),u(i,"error",(function(){return n._error})),function(t,e){for(var n in e){var r=e[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,n,r)}}(i,a),i}(y,m,e,b),_={name:m,cancel:function(){_.isRunning&&!_.isCancelled&&(_.isCancelled=!0,j(p))},isRunning:!0},S=function(t,e,n){var o=[],i=void 0,a=!1;function s(t){c(),n(t,!0)}function u(t){o.push(t),t.cont=function(u,c){a||((0,r.remove)(o,t),t.cont=r.noop,c?s(u):(t===e&&(i=u),o.length||(a=!0,n(i))))}}function c(){a||(a=!0,o.forEach((function(t){t.cont=r.noop,t.cancel()})),o=[])}return u(e),{addTask:u,cancelAll:c,abort:s,getTasks:function(){return o},taskNames:function(){return o.map((function(t){return t.name}))}}}(0,_,A);function T(){e._isRunning&&!e._isCancelled&&(e._isCancelled=!0,S.cancelAll(),A(p))}return b&&(b.cancel=T),e._isRunning=!0,j(),k;function j(t,n){if(!_.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=e.throw(t):t===p?(_.isCancelled=!0,j.cancel(),o=r.is.func(e.return)?e.return(p):{done:!0,value:p}):o=t===f?r.is.func(e.return)?e.return():{done:!0}:e.next(t),o.done?(_.isMainRunning=!1,_.cont&&_.cont(o.value)):C(o.value,y,"",j)}catch(t){_.isCancelled&&x("error","uncaught at "+m,t.message),_.isMainRunning=!1,_.cont(t,!0)}}function A(t,n){e._isRunning=!1,P.close(),n?(t instanceof Error&&(t.sagaStack="at "+m+" \n "+(t.sagaStack||t.stack)),k.cont||(x("error","uncaught",t.sagaStack||t.stack),t instanceof Error&&O&&O(t)),e._error=t,e._isAborted=!0,e._deferredEnd&&e._deferredEnd.reject(t)):(t===p&&c&&x("info",m+" has been cancelled",""),e._result=t,e._deferredEnd&&e._deferredEnd.resolve(t)),k.cont&&k.cont(t,n),k.joiners.forEach((function(e){return e.cb(t,n)})),k.joiners=null}function C(t,e){var c=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:e,label:c,effect:t});var y=void 0;function b(t,e){y||(y=!0,l.cancel=r.noop,w&&(e?w.effectRejected(g,t):w.effectResolved(g,t)),l(t,e))}b.cancel=r.noop,l.cancel=function(){if(!y){y=!0;try{b.cancel()}catch(t){x("error","uncaught at "+m,t.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var E=void 0;return(r.is.promise(t)?I(t,b):r.is.helper(t)?R({fn:t},g,b):r.is.iterator(t)?M(t,g,m,b):r.is.array(t)?function(t,e,n){if(!t.length)return n([]);var o=0,i=void 0,s=Array(t.length);var u=t.map((function(t,e){var u=function(t,r){i||(r||(0,a.isEnd)(t)||t===f||t===p?(n.cancel(),n(t,r)):(s[e]=t,++o===s.length&&(i=!0,n(s))))};return u.cancel=r.noop,u}));n.cancel=function(){i||(i=!0,u.forEach((function(t){return t.cancel()})))},t.forEach((function(t,n){return C(t,e,n,u[n])}))}(t,g,b):r.is.notUndef(E=i.asEffect.take(t))?function(t,e){var n=t.channel,r=t.pattern,o=t.maybe;n=n||P;var i=function(t){return t instanceof Error?e(t,!0):(0,a.isEnd)(t)&&!o?e(f):e(t)};try{n.take(i,h(r))}catch(t){return e(t,!0)}e.cancel=i.cancel}(E,b):r.is.notUndef(E=i.asEffect.put(t))?function(t,e){var n=t.channel,i=t.action,a=t.sync;(0,o.asap)((function(){var t=void 0;try{t=(n?n.put:d)(i)}catch(t){if(n||a)return e(t,!0);x("error","uncaught at "+m,t.stack||t.message||t)}if(!a||!r.is.promise(t))return e(t);I(t,e)}))}(E,b):r.is.notUndef(E=i.asEffect.race(t))?function(t,e,n){var o=void 0,i=Object.keys(t),s={};i.forEach((function(t){var e=function(e,r){o||(r?(n.cancel(),n(e,!0)):(0,a.isEnd)(e)||e===f||e===p||(n.cancel(),o=!0,n(u({},t,e))))};e.cancel=r.noop,s[t]=e})),n.cancel=function(){o||(o=!0,i.forEach((function(t){return s[t].cancel()})))},i.forEach((function(n){o||C(t[n],e,n,s[n])}))}(E,g,b):r.is.notUndef(E=i.asEffect.call(t))?function(t,e,n){var o=t.context,i=t.fn,a=t.args,s=void 0;try{s=i.apply(o,a)}catch(t){return n(t,!0)}return r.is.promise(s)?I(s,n):r.is.iterator(s)?M(s,e,i.name,n):n(s)}(E,g,b):r.is.notUndef(E=i.asEffect.cps(t))?function(t,e){var n=t.context,o=t.fn,i=t.args;try{a=function(t,n){return r.is.undef(t)?e(n):e(t,!0)},o.apply(n,i.concat(a)),a.cancel&&(e.cancel=function(){return a.cancel()})}catch(t){return e(t,!0)}var a}(E,b):r.is.notUndef(E=i.asEffect.fork(t))?R(E,g,b):r.is.notUndef(E=i.asEffect.join(t))?function(t,e){t.isRunning()?(n={task:k,cb:e},e.cancel=function(){return(0,r.remove)(t.joiners,n)},t.joiners.push(n)):t.isAborted()?e(t.error(),!0):e(t.result());var n}(E,b):r.is.notUndef(E=i.asEffect.cancel(t))?function(t,e){t.isRunning()&&t.cancel();e()}(E,b):r.is.notUndef(E=i.asEffect.select(t))?function(t,e){var n=t.selector,r=t.args;try{var o=n.apply(void 0,[v()].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(r)));e(o)}catch(t){e(t,!0)}}(E,b):r.is.notUndef(E=i.asEffect.actionChannel(t))?function(t,e){var r=t.pattern,o=t.buffer,i=h(r);i.pattern=r,e((0,a.eventChannel)(n,o||s.buffers.fixed(),i))}(E,b):r.is.notUndef(E=i.asEffect.flush(t))?function(t,e){t.flush(e)}(E,b):r.is.notUndef(E=i.asEffect.cancelled(t))?function(t,e){e(!!_.isCancelled)}(0,b):b(t))}function I(t,e){var n=t[r.CANCEL];"function"==typeof n&&(e.cancel=n),t.then(e,(function(t){return e(t,!0)}))}function M(e,r,o,i){t(e,n,d,v,g,r,o,i)}function R(e,i,a){var s=e.context,u=e.fn,c=e.args,l=e.detached,f=function(t){var e=t.context,n=t.fn,o=t.args;if(r.is.iterator(n))return n;var i=void 0,a=void 0;try{i=n.apply(e,o)}catch(t){a=t}if(r.is.iterator(i))return i;return a?(0,r.makeIterator)((function(){throw a})):(0,r.makeIterator)((s=void 0,u={done:!1,value:i},function(t){return s?{done:!0,value:t}:(s=!0,u)}));var s,u}({context:s,fn:u,args:c});try{(0,o.suspend)();var p=t(f,n,d,v,g,i,u.name,l?null:r.noop);l?a(p):f._isRunning?(S.addTask(p),a(p)):f._error?S.abort(f._error):a(p)}finally{(0,o.flush)()}}};var r=n(41),o=n(167),i=n(92),a=n(93),s=n(94);function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=!1,l=e.NOT_ITERATOR_ERROR="proc first argument (Saga function result) must be an iterator",f=e.CHANNEL_END={toString:function(){return"@@redux-saga/CHANNEL_END"}},p=e.TASK_CANCEL={toString:function(){return"@@redux-saga/TASK_CANCEL"}},d={wildcard:function(){return r.kTrue},default:function(t){return function(e){return e.type===t}},array:function(t){return function(e){return t.some((function(t){return t===e.type}))}},predicate:function(t){return function(e){return t(e)}}};function h(t){return("*"===t?d.wildcard:r.is.array(t)?d.array:r.is.func(t)?d.predicate:d.default)(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.asap=function(t){o?r.push(t):i(t)},e.suspend=a,e.flush=s;var r=[],o=0;function i(t){try{a(),t()}finally{s()}}function a(){o++}function s(){!--o&&r.length&&i(r.shift())}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return{top:t?r(t.marginTop):0,right:t?r(t.marginRight):0,bottom:t?r(t.marginBottom):0,left:t?r(t.marginLeft):0}};var r=function(t){return parseInt(t)||0};t.exports=e.default},function(t,e,n){"use strict";var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var t=0,e=1,n=2,r=3,o=/\s/,i=/<(\w*)>/g;return function(a,s,u){a=a||"";var c,l,f,p=t,d=0,h="",v="",g=!1;for("string"==typeof s?s=function(t){for(var e,n=[];null!==(e=i.exec(t));)n.push(e[1]);return 0!==n.length?n:null}(s):Array.isArray(s)||(s=null),c=0,l=a.length;c<l;c++)switch(f=a[c]){case"<":if(g)break;if(" "==a[c+1]){y(f);break}if(p==t){p=e,y(f);break}if(p==e){d++;break}y(f);break;case">":if(d){d--;break}if(g)break;if(p==e){g=p=0,s&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[c-1]&&"-"==a[c-2]){g=p=0,v="";break}y(f);break;case'"':case"'":p==e&&(g==f?g=!1:g||(g=f)),y(f);break;case"!":if(p==e&&"<"==a[c-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[c-1]&&"!"==a[c-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(c-6,7).toLowerCase()){p=e;break}y(f);break;default:y(f)}function y(n){p==t?h+=n:s&&p==e&&(v+=n)}function m(){var t,e,n,r="",i=!1;t:for(t=0,e=v.length;t<e;t++)switch(n=v[t].toLowerCase()){case"<":break;case">":break t;case"/":i=!0;break;default:if(n.match(o)){if(i)break t}else i=!0,r+=n}-1!==s.indexOf(r)?h+=v:u&&(h+=u),v=""}return h}})?r.apply(e,o):r)||(t.exports=i)},function(t,e,n){"use strict";function r(t){var e,n=t.Symbol;return"function"==typeof n?n.observable?e=n.observable:(e=n("observable"),n.observable=e):e="@@observable",e}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";(function(t){var n="object"==typeof t&&t&&t.Object===Object&&t;e.a=n}).call(this,n(74))},function(t,e,n){"use strict";var r=n(119),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var c=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&t(e,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=u(e),v=u(n),g=0;g<a.length;++g){var y=a[g];if(!(i[y]||r&&r[y]||v&&v[y]||s&&s[y])){var m=p(n,y);try{c(e,y,m)}catch(t){}}}}return e}},function(t,e,n){var r,o,i;t.exports=(r=n(32),o=n(0),i=n(405),function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return t[r].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}function o(t,e,n){var r=t[e];return void 0!==r&&("number"!=typeof r||r!==parseInt(r,10)||r<0)?new Error("Invalid "+e+" supplied to "+n+",\n expected a positive integer"):null}Object.defineProperty(e,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),s=n(4),u=r(s),c=r(n(1)),l=n(5),f=n(3),p=["audioprocess","error","finish","loading","mouseup","pause","play","ready","scroll","seek","zoom"],d=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));if(n.state={isReady:!1},void 0===(void 0===l?"undefined":i(l)))throw new Error("WaveSurfer is undefined!");return n._wavesurfer=Object.create(l),n._loadMediaElt=n._loadMediaElt.bind(n),n._loadAudio=n._loadAudio.bind(n),n._seekTo=n._seekTo.bind(n),n._handleResize=function(){n.state.isReady&&n._wavesurfer.refresh()},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),a(e,[{key:"componentDidMount",value:function(){var t=this,e=(0,c.default)({},this.props.options,{container:this.wavesurferEl});this.props.mediaElt&&(e.backend="MediaElement"),this._wavesurfer.init(e),this._wavesurfer.on("ready",(function(){t.setState({isReady:!0,pos:t.props.pos}),t.props.pos&&t._seekTo(t.props.pos),null!=t.props.volume&&t._wavesurfer.setVolume(t.props.volume),t.props.playing&&t.wavesurfer.play(),t.props.zoom&&t._wavesurfer.zoom(t.props.zoom)})),this._wavesurfer.on("audioprocess",(function(e){t.setState({pos:e}),t.props.onPosChange({wavesurfer:t._wavesurfer,originalArgs:[e]})})),this._wavesurfer.on("seek",(function(e){var n=t._posToSec(e);t.setState({formattedPos:n}),t.props.onPosChange({wavesurfer:t._wavesurfer,originalArgs:[n]})})),p.forEach((function(e){var n=t.props["on"+function(t){return t.split("-").map((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})).join("")}(e)],r=t._wavesurfer;n&&t._wavesurfer.on(e,(function(){for(var t=arguments.length,e=Array(t),o=0;o<t;o++)e[o]=arguments[o];n({wavesurfer:r,originalArgs:e})}))})),this.props.audioFile&&this._loadAudio(this.props.audioFile,this.props.audioPeaks),this.props.mediaElt&&this._loadMediaElt(this.props.mediaElt,this.props.audioPeaks)}},{key:"componentWillReceiveProps",value:function(t){this.props.audioFile!==t.audioFile&&this._loadAudio(t.audioFile,t.audioPeaks),this.props.mediaElt!==t.mediaElt&&this._loadMediaElt(t.mediaElt,t.audioPeaks),this.props.audioPeaks!==t.audioPeaks&&(t.mediaElt?this._loadMediaElt(t.mediaElt,t.audioPeaks):this._loadAudio(t.audioFile,t.audioPeaks)),t.pos&&this.state.isReady&&t.pos!==this.props.pos&&t.pos!==this.state.pos&&this._seekTo(t.pos),this.props.playing!==t.playing&&(t.playing?this._wavesurfer.play():this._wavesurfer.pause()),this.props.volume!==t.volume&&this._wavesurfer.setVolume(t.volume),this.props.zoom!==t.zoom&&this._wavesurfer.zoom(t.zoom),this.props.options.audioRate!==t.options.audioRate&&this._wavesurfer.setPlaybackRate(t.options.audioRate),t.options.waveColor!==this.props.options.waveColor&&this._wavesurfer.setWaveColor(t.options.waveColor),t.options.progressColor!==this.props.options.progressColor&&this._wavesurfer.setProgressColor(t.options.progressColor),t.options.cursorColor!==this.props.options.cursorColor&&this._wavesurfer.setCursorColor(t.options.cursorColor),t.options.height!==this.props.options.height&&this._wavesurfer.setHeight(t.options.height)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillUnmount",value:function(){var t=this;p.forEach((function(e){t._wavesurfer.un(e)})),this._wavesurfer.destroy()}},{key:"_secToPos",value:function(t){return 1/this._wavesurfer.getDuration()*t}},{key:"_posToSec",value:function(t){return t*this._wavesurfer.getDuration()}},{key:"_seekTo",value:function(t){var e=this._secToPos(t);this.props.options.autoCenter?this._wavesurfer.seekAndCenter(e):this._wavesurfer.seekTo(e)}},{key:"_loadMediaElt",value:function(t,e){if(t instanceof window.HTMLElement)this._loadAudio(t,e);else{if(!window.document.querySelector(t))throw new Error("Media Element not found!");this._loadAudio(window.document.querySelector(t),e)}}},{key:"_loadAudio",value:function(t,e){if(t instanceof window.HTMLElement)this._wavesurfer.loadMediaElement(t,e);else if("string"==typeof t)this._wavesurfer.load(t,e);else{if(!(t instanceof window.Blob||t instanceof window.File))throw new Error("Wavesurfer._loadAudio expects prop audioFile\n to be either HTMLElement, string or file/blob");this._wavesurfer.loadBlob(t,e)}}},{key:"_measureIfResponsive",value:function(t){return this.props.responsive?u.default.createElement(f,{whitelist:["width","height"],onMeasure:this._handleResize},t):t}},{key:"render",value:function(){var t=this,e=!!this.props.children&&u.default.Children.map(this.props.children,(function(e){return u.default.cloneElement(e,{wavesurfer:t._wavesurfer,isReady:t.state.isReady})}));return this._measureIfResponsive(u.default.createElement("div",null,u.default.createElement("div",{ref:function(e){t.wavesurferEl=e}}),e))}}]),e}(s.Component);d.propTypes={playing:s.PropTypes.bool,pos:s.PropTypes.number,audioFile:function(t,e,n){var r=t[e];return!r||"string"==typeof r||r instanceof window.Blob||r instanceof window.File?null:new Error("Invalid "+e+" supplied to "+n+"\n expected either string or file/blob")},mediaElt:s.PropTypes.oneOfType([s.PropTypes.string,s.PropTypes.instanceOf(window.HTMLElement)]),audioPeaks:s.PropTypes.array,volume:s.PropTypes.number,zoom:s.PropTypes.number,responsive:s.PropTypes.bool,onPosChange:s.PropTypes.func,children:s.PropTypes.oneOfType([s.PropTypes.element,s.PropTypes.array]),options:s.PropTypes.shape({audioRate:s.PropTypes.number,backend:s.PropTypes.oneOf(["WebAudio","MediaElement"]),barWidth:function(t,e,n){var r=t[e];return void 0!==r&&"number"!=typeof r?new Error("Invalid "+e+" supplied to "+n+"\n expected either undefined or number"):null},cursorColor:s.PropTypes.string,cursorWidth:o,dragSelection:s.PropTypes.bool,fillParent:s.PropTypes.bool,height:o,hideScrollbar:s.PropTypes.bool,interact:s.PropTypes.bool,loopSelection:s.PropTypes.bool,mediaControls:s.PropTypes.bool,minPxPerSec:o,normalize:s.PropTypes.bool,pixelRatio:s.PropTypes.number,progressColor:s.PropTypes.string,scrollParent:s.PropTypes.bool,skipLength:s.PropTypes.number,waveColor:s.PropTypes.string,autoCenter:s.PropTypes.bool})},d.defaultProps={playing:!1,pos:0,options:l.defaultParams,responsive:!0,onPosChange:function(){}},e.default=d},function(t,e,n){"use strict";function r(t){if(null==t)throw new TypeError("Sources cannot be null or undefined");return Object(t)}function o(t,e,n){var r=e[n];if(null!=r){if(s.call(t,n)&&(void 0===t[n]||null===t[n]))throw new TypeError("Cannot convert undefined or null to object ("+n+")");s.call(t,n)&&a(r)?t[n]=i(Object(t[n]),e[n]):t[n]=r}}function i(t,e){if(t===e)return t;for(var n in e=Object(e))s.call(e,n)&&o(t,e,n);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(e),i=0;i<r.length;i++)u.call(e,r[i])&&o(t,e,r[i]);return t}var a=n(2),s=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;t.exports=function(t){t=r(t);for(var e=1;e<arguments.length;e++)i(t,arguments[e]);return t}},function(t,e){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};t.exports=function(t){var e=void 0===t?"undefined":n(t);return null!==t&&("object"===e||"function"===e)}},function(t,e){t.exports=r},function(t,e){t.exports=o},function(t,e){t.exports=i}]))},function(t,e,n){"use strict";(function(t){var r=n(4),o=n(2),i=n.n(o),a=n(60),s=n(17),u=n(7),c=n.n(u),l=n(3);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function p(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(Object(n),!0).forEach((function(e){Object(r.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}e.a=function(e,n){var r=c()(),o=[],u=[];if(!n.isServerSide){var f=function(t,e){var n=[],r=[];return t.forEach((function(t){var o;t.createMiddleware&&(o=t.createMiddleware(e),r.push(o)),t.createSaga&&n.push(Object(l.call)(t.createSaga(p({},e,{middleware:o}))))})),{sagas:n,middlewares:r}}(e,n);o=f.sagas,u=f.middlewares}var d,h=Object(s.d)(function(t,e){var n=t.reduce((function(t,n){return n.createReducers?p({},t,{},n.createReducers(e)):t}),{});return Object.keys(n).length?Object(s.c)(n):function(t,e){return t}}(e,n),{},(d=s.a.apply(void 0,[r].concat(Object(a.a)(u))),void 0===t&&"undefined"!=typeof __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(d):d));return r.run(i.a.mark((function t(){return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,o;case 2:case"end":return t.stop()}}),t)}))),function(t,e){t.forEach((function(t){t.init&&t.init(e)}))}(e,p({},n,{dispatch:h.dispatch,getState:h.getState})),h}}).call(this,n(406))},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),s=n(12),u=n(128),c=n(6),l=n(18),f=n(52),p=n(9),d=n(10),h=n(16),v=n(24),g=n(34),y=n(43),m=n(38),b=n(66),w=n(51),E=n(130),O=n(102),x=n(22),P=n(15),k=n(75),_=n(21),S=n(20),T=n(55),j=n(76),A=n(63),C=n(62),I=n(13),M=n(131),R=n(25),D=n(36),N=n(29),L=n(19).forEach,B=j("hidden"),F=I("toPrimitive"),U=N.set,W=N.getterFor("Symbol"),H=Object.prototype,q=o.Symbol,V=i("JSON","stringify"),G=x.f,z=P.f,Y=E.f,X=k.f,$=T("symbols"),K=T("op-symbols"),Q=T("string-to-symbol-registry"),J=T("symbol-to-string-registry"),Z=T("wks"),tt=o.QObject,et=!tt||!tt.prototype||!tt.prototype.findChild,nt=s&&c((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(t,e,n){var r=G(H,e);r&&delete H[e],z(t,e,n),r&&t!==H&&z(H,e,r)}:z,rt=function(t,e){var n=$[t]=m(q.prototype);return U(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=u&&"symbol"==typeof q.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof q},it=function(t,e,n){t===H&&it(K,e,n),d(t);var r=g(e,!0);return d(n),l($,r)?(n.enumerable?(l(t,B)&&t[B][r]&&(t[B][r]=!1),n=m(n,{enumerable:y(0,!1)})):(l(t,B)||z(t,B,y(1,{})),t[B][r]=!0),nt(t,r,n)):z(t,r,n)},at=function(t,e){d(t);var n=v(e),r=b(n).concat(lt(n));return L(r,(function(e){s&&!st.call(n,e)||it(t,e,n[e])})),t},st=function(t){var e=g(t,!0),n=X.call(this,e);return!(this===H&&l($,e)&&!l(K,e))&&(!(n||!l(this,e)||!l($,e)||l(this,B)&&this[B][e])||n)},ut=function(t,e){var n=v(t),r=g(e,!0);if(n!==H||!l($,r)||l(K,r)){var o=G(n,r);return!o||!l($,r)||l(n,B)&&n[B][r]||(o.enumerable=!0),o}},ct=function(t){var e=Y(v(t)),n=[];return L(e,(function(t){l($,t)||l(A,t)||n.push(t)})),n},lt=function(t){var e=t===H,n=Y(e?K:v(t)),r=[];return L(n,(function(t){!l($,t)||e&&!l(H,t)||r.push($[t])})),r};(u||(S((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=C(t),n=function(t){this===H&&n.call(K,t),l(this,B)&&l(this[B],e)&&(this[B][e]=!1),nt(this,e,y(1,t))};return s&&et&&nt(H,e,{configurable:!0,set:n}),rt(e,t)}).prototype,"toString",(function(){return W(this).tag})),k.f=st,P.f=it,x.f=ut,w.f=E.f=ct,O.f=lt,s&&(z(q.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||S(H,"propertyIsEnumerable",st,{unsafe:!0})),M.f=function(t){return rt(I(t),t)}),r({global:!0,wrap:!0,forced:!u,sham:!u},{Symbol:q}),L(b(Z),(function(t){R(t)})),r({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var n=q(e);return Q[e]=n,J[n]=e,n},keyFor:function(t){if(!ot(t))throw TypeError(t+" is not a symbol");if(l(J,t))return J[t]},useSetter:function(){et=!0},useSimple:function(){et=!1}}),r({target:"Object",stat:!0,forced:!u,sham:!s},{create:function(t,e){return void 0===e?m(t):at(m(t),e)},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:ut}),r({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ct,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:c((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(h(t))}}),V)&&r({target:"JSON",stat:!0,forced:!u||c((function(){var t=q();return"[null]"!=V([t])||"{}"!=V({a:t})||"{}"!=V(Object(t))}))},{stringify:function(t,e,n){for(var r,o=[t],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=e,(p(e)||void 0!==t)&&!ot(t))return f(e)||(e=function(t,e){if("function"==typeof r&&(e=r.call(this,t,e)),!ot(e))return e}),o[1]=e,V.apply(null,o)}});q.prototype[F]||_(q.prototype,F,q.prototype.valueOf),D(q,"Symbol"),A[B]=!0},function(t,e,n){var r=n(8),o=n(99),i=r["__core-js_shared__"]||o("__core-js_shared__",{});t.exports=i},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(8),a=n(18),s=n(9),u=n(15).f,c=n(125),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),e=this instanceof p?new l(t):void 0===t?l():l(t);return""===t&&(f[e]=!0),e};c(p,l);var d=p.prototype=l.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;u(d,"description",{configurable:!0,get:function(){var t=s(this)?this.valueOf():this,e=h.call(t);if(a(f,t))return"";var n=v?e.slice(7,-1):e.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(t,e,n){n(25)("asyncIterator")},function(t,e,n){n(25)("hasInstance")},function(t,e,n){n(25)("isConcatSpreadable")},function(t,e,n){n(25)("iterator")},function(t,e,n){n(25)("match")},function(t,e,n){n(25)("replace")},function(t,e,n){n(25)("search")},function(t,e,n){n(25)("species")},function(t,e,n){n(25)("split")},function(t,e,n){n(25)("toPrimitive")},function(t,e,n){n(25)("toStringTag")},function(t,e,n){n(25)("unscopables")},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(52),a=n(9),s=n(16),u=n(14),c=n(53),l=n(67),f=n(68),p=n(13),d=n(104),h=p("isConcatSpreadable"),v=d>=51||!o((function(){var t=[];return t[h]=!1,t.concat()[0]!==t})),g=f("concat"),y=function(t){if(!a(t))return!1;var e=t[h];return void 0!==e?!!e:i(t)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(t){var e,n,r,o,i,a=s(this),f=l(a,0),p=0;for(e=-1,r=arguments.length;e<r;e++)if(i=-1===e?a:arguments[e],y(i)){if(p+(o=u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&c(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");c(f,p++,i)}return f.length=p,f}})},function(t,e,n){var r=n(1),o=n(132),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(t,e,n){"use strict";var r=n(1),o=n(19).every;r({target:"Array",proto:!0,forced:n(39)("every")},{every:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(1),o=n(105),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(t,e,n){"use strict";var r=n(1),o=n(19).filter;r({target:"Array",proto:!0,forced:!n(68)("filter")},{filter:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(19).find,i=n(47),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{find:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(t,e,n){"use strict";var r=n(1),o=n(19).findIndex,i=n(47),a=!0;"findIndex"in[]&&Array(1).findIndex((function(){a=!1})),r({target:"Array",proto:!0,forced:a},{findIndex:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(t,e,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(30),u=n(67);r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e.length),r=u(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:s(t)),r}})},function(t,e,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(31),u=n(67);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return s(t),(e=u(n,0)).length=o(e,n,n,r,0,1,t,arguments.length>1?arguments[1]:void 0),e}})},function(t,e,n){"use strict";var r=n(1),o=n(134);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(t,e,n){var r=n(1),o=n(135);r({target:"Array",stat:!0,forced:!n(78)((function(t){Array.from(t)}))},{from:o})},function(t,e,n){"use strict";var r=n(1),o=n(64).includes,i=n(47);r({target:"Array",proto:!0},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(t,e,n){"use strict";var r=n(1),o=n(64).indexOf,i=n(39),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,u=i("indexOf");r({target:"Array",proto:!0,forced:s||u},{indexOf:function(t){return s?a.apply(this,arguments)||0:o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){n(1)({target:"Array",stat:!0},{isArray:n(52)})},function(t,e,n){"use strict";var r=n(1),o=n(61),i=n(24),a=n(39),s=[].join,u=o!=Object,c=a("join",",");r({target:"Array",proto:!0,forced:u||c},{join:function(t){return s.call(i(this),void 0===t?",":t)}})},function(t,e,n){var r=n(1),o=n(140);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(t,e,n){"use strict";var r=n(1),o=n(19).map;r({target:"Array",proto:!0,forced:!n(68)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(53);r({target:"Array",stat:!0,forced:o((function(){function t(){}return!(Array.of.call(t)instanceof t)}))},{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);e>t;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(1),o=n(80).left;r({target:"Array",proto:!0,forced:n(39)("reduce")},{reduce:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(80).right;r({target:"Array",proto:!0,forced:n(39)("reduceRight")},{reduceRight:function(t){return o(this,t,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(52),i=[].reverse,a=[1,2];r({target:"Array",proto:!0,forced:String(a)===String(a.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),i.call(this)}})},function(t,e,n){"use strict";var r=n(1),o=n(9),i=n(52),a=n(45),s=n(14),u=n(24),c=n(53),l=n(68),f=n(13)("species"),p=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!l("slice")},{slice:function(t,e){var n,r,l,h=u(this),v=s(h.length),g=a(t,v),y=a(void 0===e?v:e,v);if(i(h)&&("function"!=typeof(n=h.constructor)||n!==Array&&!i(n.prototype)?o(n)&&null===(n=n[f])&&(n=void 0):n=void 0,n===Array||void 0===n))return p.call(h,g,y);for(r=new(void 0===n?Array:n)(d(y-g,0)),l=0;g<y;g++,l++)g in h&&c(r,l,h[g]);return r.length=l,r}})},function(t,e,n){"use strict";var r=n(1),o=n(19).some;r({target:"Array",proto:!0,forced:n(39)("some")},{some:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(31),i=n(16),a=n(6),s=n(39),u=[],c=u.sort,l=a((function(){u.sort(void 0)})),f=a((function(){u.sort(null)})),p=s("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(t){return void 0===t?c.call(i(this)):c.call(i(this),o(t))}})},function(t,e,n){n(57)("Array")},function(t,e,n){"use strict";var r=n(1),o=n(45),i=n(30),a=n(14),s=n(16),u=n(67),c=n(53),l=n(68),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l("splice")},{splice:function(t,e){var n,r,l,d,h,v,g=s(this),y=a(g.length),m=o(t,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=p(f(i(e),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=u(g,r),d=0;d<r;d++)(h=m+d)in g&&c(l,d,g[h]);if(l.length=r,n<r){for(d=m;d<y-r;d++)v=d+n,(h=d+r)in g?g[v]=g[h]:delete g[v];for(d=y;d>y-r+n;d--)delete g[d-1]}else if(n>r)for(d=y-r;d>m;d--)v=d+n-1,(h=d+r-1)in g?g[v]=g[h]:delete g[v];for(d=0;d<n;d++)g[d+m]=arguments[d+2];return g.length=y-r+n,l}})},function(t,e,n){n(47)("flat")},function(t,e,n){n(47)("flatMap")},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(81),a=n(57),s=i.ArrayBuffer;r({global:!0,forced:o.ArrayBuffer!==s},{ArrayBuffer:s}),a("ArrayBuffer")},function(t,e,n){var r=n(1),o=n(11);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(81),a=n(10),s=n(45),u=n(14),c=n(49),l=i.ArrayBuffer,f=i.DataView,p=l.prototype.slice;r({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:o((function(){return!new l(2).slice(1,void 0).byteLength}))},{slice:function(t,e){if(void 0!==p&&void 0===e)return p.call(a(this),t);for(var n=a(this).byteLength,r=s(t,n),o=s(void 0===e?n:e,n),i=new(c(this,l))(u(o-r)),d=new f(this),h=new f(i),v=0;r<o;)h.setUint8(v++,d.getUint8(r++));return i}})},function(t,e,n){var r=n(1),o=n(81);r({global:!0,forced:!n(11).NATIVE_ARRAY_BUFFER},{DataView:o.DataView})},function(t,e,n){n(1)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(t,e,n){var r=n(1),o=n(224);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(t,e,n){"use strict";var r=n(6),o=n(109).start,i=Math.abs,a=Date.prototype,s=a.getTime,u=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=u.call(new Date(-5e13-1))}))||!r((function(){u.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":t>9999?"+":"";return n+o(i(t),n?6:4,0)+"-"+o(this.getUTCMonth()+1,2,0)+"-"+o(this.getUTCDate(),2,0)+"T"+o(this.getUTCHours(),2,0)+":"+o(this.getUTCMinutes(),2,0)+":"+o(this.getUTCSeconds(),2,0)+"."+o(e,3,0)+"Z"}:u},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(16),a=n(34);r({target:"Date",proto:!0,forced:o((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}))},{toJSON:function(t){var e=i(this),n=a(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(21),o=n(227),i=n(13)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(t,e,n){"use strict";var r=n(10),o=n(34);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return o(r(this),"number"!==t)}},function(t,e,n){var r=n(20),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var t=a.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,e,n){n(1)({target:"Function",proto:!0},{bind:n(142)})},function(t,e,n){"use strict";var r=n(9),o=n(15),i=n(37),a=n(13)("hasInstance"),s=Function.prototype;a in s||o.f(s,a,{value:function(t){if("function"!=typeof this||!r(t))return!1;if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,e,n){var r=n(12),o=n(15).f,i=Function.prototype,a=i.toString,s=/^\s*function ([^ (]*)/;!r||"name"in i||o(i,"name",{configurable:!0,get:function(){try{return a.call(this).match(s)[1]}catch(t){return""}}})},function(t,e,n){var r=n(8);n(36)(r.JSON,"JSON",!0)},function(t,e,n){"use strict";var r=n(82),o=n(143);t.exports=r("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o,!0)},function(t,e,n){var r=n(1),o=n(144),i=Math.acosh,a=Math.log,s=Math.sqrt,u=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?a(t)+u:o(t-1+s(t-1)*s(t+1))}})},function(t,e,n){var r=n(1),o=Math.asinh,i=Math.log,a=Math.sqrt;r({target:"Math",stat:!0,forced:!(o&&1/o(0)>0)},{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):i(e+a(e*e+1)):e}})},function(t,e,n){var r=n(1),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(t){return 0==(t=+t)?t:i((1+t)/(1-t))/2}})},function(t,e,n){var r=n(1),o=n(111),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(t){return o(t=+t)*a(i(t),1/3)}})},function(t,e,n){var r=n(1),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(t){return(t>>>=0)?31-o(i(t+.5)*a):32}})},function(t,e,n){var r=n(1),o=n(84),i=Math.cosh,a=Math.abs,s=Math.E;r({target:"Math",stat:!0,forced:!i||i(710)===1/0},{cosh:function(t){var e=o(a(t)-1)+1;return(e+1/(e*s*s))*(s/2)}})},function(t,e,n){var r=n(1),o=n(84);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(t,e,n){n(1)({target:"Math",stat:!0},{fround:n(242)})},function(t,e,n){var r=n(111),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),u=i(2,127)*(2-s),c=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),l=r(t);return i<c?l*(i/c/s+1/a-1/a)*c*s:(n=(e=(1+s/a)*i)-(e-i))>u||n!=n?l*(1/0):l*n}},function(t,e,n){var r=n(1),o=Math.hypot,i=Math.abs,a=Math.sqrt;r({target:"Math",stat:!0,forced:!!o&&o(1/0,NaN)!==1/0},{hypot:function(t,e){for(var n,r,o=0,s=0,u=arguments.length,c=0;s<u;)c<(n=i(arguments[s++]))?(o=o*(r=c/n)*r+1,c=n):o+=n>0?(r=n/c)*r:n;return c===1/0?1/0:c*a(o)}})},function(t,e,n){var r=n(1),o=n(6),i=Math.imul;r({target:"Math",stat:!0,forced:o((function(){return-5!=i(4294967295,5)||2!=i.length}))},{imul:function(t,e){var n=+t,r=+e,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(t,e,n){var r=n(1),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(t){return o(t)*i}})},function(t,e,n){n(1)({target:"Math",stat:!0},{log1p:n(144)})},function(t,e,n){var r=n(1),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(t){return o(t)/i}})},function(t,e,n){n(1)({target:"Math",stat:!0},{sign:n(111)})},function(t,e,n){var r=n(1),o=n(6),i=n(84),a=Math.abs,s=Math.exp,u=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(t){return a(t=+t)<1?(i(t)-i(-t))/2:(s(t-1)-s(-t-1))*(u/2)}})},function(t,e,n){var r=n(1),o=n(84),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(t){var e=o(t=+t),n=o(-t);return e==1/0?1:n==1/0?-1:(e-n)/(i(t)+i(-t))}})},function(t,e,n){n(36)(Math,"Math",!0)},function(t,e,n){var r=n(1),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(t){return(t>0?i:o)(t)}})},function(t,e,n){"use strict";var r=n(12),o=n(8),i=n(65),a=n(20),s=n(18),u=n(33),c=n(83),l=n(34),f=n(6),p=n(38),d=n(51).f,h=n(22).f,v=n(15).f,g=n(59).trim,y=o.Number,m=y.prototype,b="Number"==u(p(m)),w=function(t){var e,n,r,o,i,a,s,u,c=l(t,!1);if("string"==typeof c&&c.length>2)if(43===(e=(c=g(c)).charCodeAt(0))||45===e){if(88===(n=c.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(c.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+c}for(a=(i=c.slice(2)).length,s=0;s<a;s++)if((u=i.charCodeAt(s))<48||u>o)return NaN;return parseInt(i,r)}return+c};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,O=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof O&&(b?f((function(){m.valueOf.call(n)})):"Number"!=u(n))?c(new y(w(e)),n,O):w(e)},x=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),P=0;x.length>P;P++)s(y,E=x[P])&&!s(O,E)&&v(O,E,h(y,E));O.prototype=m,m.constructor=O,a(o,"Number",O)}},function(t,e,n){n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(t,e,n){n(1)({target:"Number",stat:!0},{isFinite:n(256)})},function(t,e,n){var r=n(8).isFinite;t.exports=Number.isFinite||function(t){return"number"==typeof t&&r(t)}},function(t,e,n){n(1)({target:"Number",stat:!0},{isInteger:n(145)})},function(t,e,n){n(1)({target:"Number",stat:!0},{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(1),o=n(145),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(t){return o(t)&&i(t)<=9007199254740991}})},function(t,e,n){n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(t,e,n){var r=n(1),o=n(147);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(t,e,n){"use strict";var r=n(1),o=n(30),i=n(148),a=n(110),s=n(6),u=1..toFixed,c=Math.floor,l=function(t,e,n){return 0===e?n:e%2==1?l(t,e-1,n*t):l(t*t,e/2,n)};r({target:"Number",proto:!0,forced:u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){u.call({})}))},{toFixed:function(t){var e,n,r,s,u=i(this),f=o(t),p=[0,0,0,0,0,0],d="",h="0",v=function(t,e){for(var n=-1,r=e;++n<6;)r+=t*p[n],p[n]=r%1e7,r=c(r/1e7)},g=function(t){for(var e=6,n=0;--e>=0;)n+=p[e],p[e]=c(n/t),n=n%t*1e7},y=function(){for(var t=6,e="";--t>=0;)if(""!==e||0===t||0!==p[t]){var n=String(p[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(d="-",u=-u),u>1e-21)if(n=(e=function(t){for(var e=0,n=t;n>=4096;)e+=12,n/=4096;for(;n>=2;)e+=1,n/=2;return e}(u*l(2,69,1))-69)<0?u*l(2,-e,1):u/l(2,e,1),n*=4503599627370496,(e=52-e)>0){for(v(0,n),r=f;r>=7;)v(1e7,0),r-=7;for(v(l(10,r,1),0),r=e-1;r>=23;)g(1<<23),r-=23;g(1<<r),v(1,1),g(2),h=y()}else v(0,n),v(1<<-e,0),h=y()+a.call("0",f);return h=f>0?d+((s=h.length)<=f?"0."+a.call("0",f-s)+h:h.slice(0,s-f)+"."+h.slice(s-f)):d+h}})},function(t,e,n){"use strict";var r=n(1),o=n(6),i=n(148),a=1..toPrecision;r({target:"Number",proto:!0,forced:o((function(){return"1"!==a.call(1,void 0)}))||!o((function(){a.call({})}))},{toPrecision:function(t){return void 0===t?a.call(i(this)):a.call(i(this),t)}})},function(t,e,n){var r=n(1),o=n(149);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(t,e,n){n(1)({target:"Object",stat:!0,sham:!n(12)},{create:n(38)})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),u=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(t,e){u.f(a(this),t,{get:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(103)})},function(t,e,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),u=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(t,e){u.f(a(this),t,{set:s(e),enumerable:!0,configurable:!0})}})},function(t,e,n){var r=n(1),o=n(150).entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,n){var r=n(1),o=n(72),i=n(6),a=n(9),s=n(54).onFreeze,u=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){u(1)})),sham:!o},{freeze:function(t){return u&&a(t)?u(s(t)):t}})},function(t,e,n){var r=n(1),o=n(73),i=n(53);r({target:"Object",stat:!0},{fromEntries:function(t){var e={};return o(t,(function(t,n){i(e,t,n)}),void 0,!0),e}})},function(t,e,n){var r=n(1),o=n(6),i=n(24),a=n(22).f,s=n(12),u=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||u,sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(i(t),e)}})},function(t,e,n){var r=n(1),o=n(12),i=n(100),a=n(24),s=n(22),u=n(53);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=s.f,c=i(r),l={},f=0;c.length>f;)void 0!==(n=o(r,e=c[f++]))&&u(l,e,n);return l}})},function(t,e,n){var r=n(1),o=n(6),i=n(130).f;r({target:"Object",stat:!0,forced:o((function(){return!Object.getOwnPropertyNames(1)}))},{getOwnPropertyNames:i})},function(t,e,n){var r=n(1),o=n(6),i=n(16),a=n(37),s=n(108);r({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(i(t))}})},function(t,e,n){n(1)({target:"Object",stat:!0},{is:n(151)})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isExtensible;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isExtensible:function(t){return!!i(t)&&(!a||a(t))}})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isFrozen;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isFrozen:function(t){return!i(t)||!!a&&a(t)}})},function(t,e,n){var r=n(1),o=n(6),i=n(9),a=Object.isSealed;r({target:"Object",stat:!0,forced:o((function(){a(1)}))},{isSealed:function(t){return!i(t)||!!a&&a(t)}})},function(t,e,n){var r=n(1),o=n(16),i=n(66);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(t){return i(o(t))}})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),u=n(37),c=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(t){var e,n=a(this),r=s(t,!0);do{if(e=c(n,r))return e.get}while(n=u(n))}})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),u=n(37),c=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(t){var e,n=a(this),r=s(t,!0);do{if(e=c(n,r))return e.set}while(n=u(n))}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),u=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{preventExtensions:function(t){return u&&o(t)?u(i(t)):t}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),u=Object.seal;r({target:"Object",stat:!0,forced:s((function(){u(1)})),sham:!a},{seal:function(t){return u&&o(t)?u(i(t)):t}})},function(t,e,n){n(1)({target:"Object",stat:!0},{setPrototypeOf:n(56)})},function(t,e,n){var r=n(20),o=n(290),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";var r=n(71),o={};o[n(13)("toStringTag")]="z",t.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},function(t,e,n){var r=n(1),o=n(150).values;r({target:"Object",stat:!0},{values:function(t){return o(t)}})},function(t,e,n){var r=n(1),o=n(146);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(t,e,n){var r=n(1),o=n(147);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(t,e,n){"use strict";var r,o,i,a,s=n(1),u=n(44),c=n(8),l=n(35),f=n(152),p=n(20),d=n(58),h=n(55),v=n(36),g=n(57),y=n(9),m=n(31),b=n(48),w=n(33),E=n(73),O=n(78),x=n(49),P=n(112).set,k=n(154),_=n(155),S=n(295),T=n(156),j=n(296),A=n(29),C=n(65),I=n(13),M=n(104),R=I("species"),D="Promise",N=A.get,L=A.set,B=A.getterFor(D),F=f,U=c.TypeError,W=c.document,H=c.process,q=h("inspectSource"),V=l("fetch"),G=T.f,z=G,Y="process"==w(H),X=!!(W&&W.createEvent&&c.dispatchEvent),$=C(D,(function(){var t=q(F)!==String(F);if(66===M)return!0;if(!t&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(u&&!F.prototype.finally)return!0;if(M>=51&&/native code/.test(F))return!1;var e=F.resolve(1),n=function(t){t((function(){}),(function(){}))};return(e.constructor={})[R]=n,!(e.then((function(){}))instanceof n)})),K=$||!O((function(t){F.all(t).catch((function(){}))})),Q=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},J=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;k((function(){for(var o=e.value,i=1==e.state,a=0;r.length>a;){var s,u,c,l=r[a++],f=i?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(i||(2===e.rejection&&nt(t,e),e.rejection=1),!0===f?s=o:(h&&h.enter(),s=f(o),h&&(h.exit(),c=!0)),s===l.promise?d(U("Promise-chain cycle")):(u=Q(s))?u.call(s,p,d):p(s)):d(o)}catch(t){h&&!c&&h.exit(),d(t)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},Z=function(t,e,n){var r,o;X?((r=W.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),c.dispatchEvent(r)):r={promise:e,reason:n},(o=c["on"+t])?o(r):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},tt=function(t,e){P.call(c,(function(){var n,r=e.value;if(et(e)&&(n=j((function(){Y?H.emit("unhandledRejection",r,t):Z("unhandledrejection",t,r)})),e.rejection=Y||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){P.call(c,(function(){Y?H.emit("rejectionHandled",t):Z("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(o){t(e,n,o,r)}},ot=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,J(t,e,!0))},it=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw U("Promise can't be resolved itself");var o=Q(n);o?k((function(){var r={done:!1};try{o.call(n,rt(it,t,r,e),rt(ot,t,r,e))}catch(n){ot(t,r,n,e)}})):(e.value=n,e.state=1,J(t,e,!1))}catch(n){ot(t,{done:!1},n,e)}}};$&&(F=function(t){b(this,F,D),m(t),r.call(this);var e=N(this);try{t(rt(it,this,e),rt(ot,this,e))}catch(t){ot(this,e,t)}},(r=function(t){L(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(t,e){var n=B(this),r=G(x(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=Y?H.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&J(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new r,e=N(t);this.promise=t,this.resolve=rt(it,t,e),this.reject=rt(ot,t,e)},T.f=G=function(t){return t===F||t===i?new o(t):z(t)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(t,e){var n=this;return new F((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof V&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(F,V.apply(c,arguments))}}))),s({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,D,!1,!0),g(D),i=l(D),s({target:D,stat:!0,forced:$},{reject:function(t){var e=G(this);return e.reject.call(void 0,t),e.promise}}),s({target:D,stat:!0,forced:u||$},{resolve:function(t){return _(u&&this===i?F:this,t)}}),s({target:D,stat:!0,forced:K},{all:function(t){var e=this,n=G(e),r=n.resolve,o=n.reject,i=j((function(){var n=m(e.resolve),i=[],a=0,s=1;E(t,(function(t){var u=a++,c=!1;i.push(void 0),s++,n.call(e,t).then((function(t){c||(c=!0,i[u]=t,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(t){var e=this,n=G(e),r=n.reject,o=j((function(){var o=m(e.resolve);E(t,(function(t){o.call(e,t).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(t,e,n){var r=n(8);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},function(t,e){t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},function(t,e,n){"use strict";var r=n(1),o=n(44),i=n(152),a=n(35),s=n(49),u=n(155),c=n(20);r({target:"Promise",proto:!0,real:!0},{finally:function(t){var e=s(this,a("Promise")),n="function"==typeof t;return this.then(n?function(n){return u(e,t()).then((function(){return n}))}:t,n?function(n){return u(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||c(i.prototype,"finally",a("Promise").prototype.finally)},function(t,e,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(6),u=o("Reflect","apply"),c=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){u((function(){}))}))},{apply:function(t,e,n){return i(t),a(n),u?u(t,e,n):c.call(t,e,n)}})},function(t,e,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(9),u=n(38),c=n(142),l=n(6),f=o("Reflect","construct"),p=l((function(){function t(){}return!(f((function(){}),[],t)instanceof t)})),d=!l((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(t,e){i(t),a(e);var n=arguments.length<3?t:i(arguments[2]);if(d&&!p)return f(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var r=[null];return r.push.apply(r,e),new(c.apply(t,r))}var o=n.prototype,l=u(s(o)?o:Object.prototype),h=Function.apply.call(t,l,e);return s(h)?h:l}})},function(t,e,n){var r=n(1),o=n(12),i=n(10),a=n(34),s=n(15);r({target:"Reflect",stat:!0,forced:n(6)((function(){Reflect.defineProperty(s.f({},1,{value:1}),1,{value:2})})),sham:!o},{defineProperty:function(t,e,n){i(t);var r=a(e,!0);i(n);try{return s.f(t,r,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),o=n(10),i=n(22).f;r({target:"Reflect",stat:!0},{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){var r=n(1),o=n(9),i=n(10),a=n(18),s=n(22),u=n(37);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,c,l=arguments.length<3?e:arguments[2];return i(e)===l?e[n]:(r=s.f(e,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(c=u(e))?t(c,n,l):void 0}})},function(t,e,n){var r=n(1),o=n(12),i=n(10),a=n(22);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(t,e){return a.f(i(t),e)}})},function(t,e,n){var r=n(1),o=n(10),i=n(37);r({target:"Reflect",stat:!0,sham:!n(108)},{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){n(1)({target:"Reflect",stat:!0},{has:function(t,e){return e in t}})},function(t,e,n){var r=n(1),o=n(10),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(t){return o(t),!i||i(t)}})},function(t,e,n){n(1)({target:"Reflect",stat:!0},{ownKeys:n(100)})},function(t,e,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(72)},{preventExtensions:function(t){i(t);try{var e=o("Object","preventExtensions");return e&&e(t),!0}catch(t){return!1}}})},function(t,e,n){var r=n(1),o=n(10),i=n(9),a=n(18),s=n(15),u=n(22),c=n(37),l=n(43);r({target:"Reflect",stat:!0},{set:function t(e,n,r){var f,p,d=arguments.length<4?e:arguments[3],h=u.f(o(e),n);if(!h){if(i(p=c(e)))return t(p,n,r,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!i(d))return!1;if(f=u.f(d,n)){if(f.get||f.set||!1===f.writable)return!1;f.value=r,s.f(d,n,f)}else s.f(d,n,l(0,r));return!0}return void 0!==h.set&&(h.set.call(d,r),!0)}})},function(t,e,n){var r=n(1),o=n(10),i=n(139),a=n(56);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(t,e){o(t),i(e);try{return a(t,e),!0}catch(t){return!1}}})},function(t,e,n){var r=n(12),o=n(8),i=n(65),a=n(83),s=n(15).f,u=n(51).f,c=n(113),l=n(87),f=n(20),p=n(6),d=n(57),h=n(13)("match"),v=o.RegExp,g=v.prototype,y=/a/g,m=/a/g,b=new v(y)!==y;if(r&&i("RegExp",!b||p((function(){return m[h]=!1,v(y)!=y||v(m)==m||"/a/i"!=v(y,"i")})))){for(var w=function(t,e){var n=this instanceof w,r=c(t),o=void 0===e;return!n&&r&&t.constructor===w&&o?t:a(b?new v(r&&!o?t.source:t,e):v((r=t instanceof w)?t.source:t,r&&o?l.call(t):e),n?this:g,w)},E=function(t){t in w||s(w,t,{configurable:!0,get:function(){return v[t]},set:function(e){v[t]=e}})},O=u(v),x=0;O.length>x;)E(O[x++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(t,e,n){"use strict";var r=n(1),o=n(88);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(t,e,n){var r=n(12),o=n(15),i=n(87);r&&"g"!=/./g.flags&&o.f(RegExp.prototype,"flags",{configurable:!0,get:i})},function(t,e,n){"use strict";var r=n(20),o=n(10),i=n(6),a=n(87),s=RegExp.prototype,u=s.toString,c=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),l="toString"!=u.name;(c||l)&&r(RegExp.prototype,"toString",(function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)}),{unsafe:!0})},function(t,e,n){"use strict";var r=n(82),o=n(143);t.exports=r("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),o)},function(t,e,n){"use strict";var r=n(1),o=n(89).codeAt;r({target:"String",proto:!0},{codePointAt:function(t){return o(this,t)}})},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),u="".endsWith,c=Math.min;r({target:"String",proto:!0,forced:!s("endsWith")},{endsWith:function(t){var e=String(a(this));i(t);var n=arguments.length>1?arguments[1]:void 0,r=o(e.length),s=void 0===n?r:c(o(n),r),l=String(t);return u?u.call(e,l,s):e.slice(s-l.length,s)===l}})},function(t,e,n){var r=n(1),o=n(45),i=String.fromCharCode,a=String.fromCodePoint;r({target:"String",stat:!0,forced:!!a&&1!=a.length},{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,a=0;r>a;){if(e=+arguments[a++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?i(e):i(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){"use strict";var r=n(1),o=n(114),i=n(23);r({target:"String",proto:!0,forced:!n(115)("includes")},{includes:function(t){return!!~String(i(this)).indexOf(o(t),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(14),a=n(23),s=n(116),u=n(91);r("match",1,(function(t,e,n){return[function(e){var n=a(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var a=o(t),c=String(this);if(!a.global)return u(a,c);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=u(a,c));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=s(c,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(t,e,n){"use strict";var r=n(1),o=n(109).end;r({target:"String",proto:!0,forced:n(158)},{padEnd:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(1),o=n(109).start;r({target:"String",proto:!0,forced:n(158)},{padStart:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(1),o=n(24),i=n(14);r({target:"String",stat:!0},{raw:function(t){for(var e=o(t.raw),n=i(e.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(e[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(t,e,n){n(1)({target:"String",proto:!0},{repeat:n(110)})},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(16),a=n(14),s=n(30),u=n(23),c=n(116),l=n(91),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n){return[function(n,r){var o=u(this),i=null==n?void 0:n[t];return void 0!==i?i.call(n,o,r):e.call(String(o),n,r)},function(t,i){var u=n(e,t,this,i);if(u.done)return u.value;var d=o(t),h=String(this),v="function"==typeof i;v||(i=String(i));var g=d.global;if(g){var y=d.unicode;d.lastIndex=0}for(var m=[];;){var b=l(d,h);if(null===b)break;if(m.push(b),!g)break;""===String(b[0])&&(d.lastIndex=c(h,a(d.lastIndex),y))}for(var w,E="",O=0,x=0;x<m.length;x++){b=m[x];for(var P=String(b[0]),k=f(p(s(b.index),h.length),0),_=[],S=1;S<b.length;S++)_.push(void 0===(w=b[S])?w:String(w));var T=b.groups;if(v){var j=[P].concat(_,k,h);void 0!==T&&j.push(T);var A=String(i.apply(void 0,j))}else A=r(P,h,k,_,T,i);k>=O&&(E+=h.slice(O,k)+A,O=k+P.length)}return E+h.slice(O)}];function r(t,n,r,o,a,s){var u=r+t.length,c=o.length,l=v;return void 0!==a&&(a=i(a),l=h),e.call(s,l,(function(e,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return e;if(l>c){var f=d(l/10);return 0===f?e:f<=c?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):e}s=o[l-1]}return void 0===s?"":s}))}}))},function(t,e,n){"use strict";var r=n(90),o=n(10),i=n(23),a=n(151),s=n(91);r("search",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),u=String(this),c=i.lastIndex;a(c,0)||(i.lastIndex=0);var l=s(i,u);return a(i.lastIndex,c)||(i.lastIndex=c),null===l?-1:l.index}]}))},function(t,e,n){"use strict";var r=n(90),o=n(113),i=n(10),a=n(23),s=n(49),u=n(116),c=n(14),l=n(91),f=n(88),p=n(6),d=[].push,h=Math.min,v=!p((function(){return!RegExp(4294967295,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===t)return[r];if(!o(t))return e.call(r,t,i);for(var s,u,c,l=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,v=new RegExp(t.source,p+"g");(s=f.call(v,r))&&!((u=v.lastIndex)>h&&(l.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&d.apply(l,s.slice(1)),c=s[0].length,h=u,l.length>=i));)v.lastIndex===s.index&&v.lastIndex++;return h===r.length?!c&&v.test("")||l.push(""):l.push(r.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var o=a(this),i=null==e?void 0:e[t];return void 0!==i?i.call(e,o,n):r.call(String(o),e,n)},function(t,o){var a=n(r,t,this,o,r!==e);if(a.done)return a.value;var f=i(t),p=String(this),d=s(f,RegExp),g=f.unicode,y=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),m=new d(v?f:"^(?:"+f.source+")",y),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(m,p)?[p]:[];for(var w=0,E=0,O=[];E<p.length;){m.lastIndex=v?E:0;var x,P=l(m,v?p:p.slice(E));if(null===P||(x=h(c(m.lastIndex+(v?0:E)),p.length))===w)E=u(p,E,g);else{if(O.push(p.slice(w,E)),O.length===b)return O;for(var k=1;k<=P.length-1;k++)if(O.push(P[k]),O.length===b)return O;E=w=x}}return O.push(p.slice(w)),O}]}),!v)},function(t,e,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),u="".startsWith,c=Math.min;r({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(t){var e=String(a(this));i(t);var n=o(c(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return u?u.call(e,r,n):e.slice(n,n+r.length)===r}})},function(t,e,n){"use strict";var r=n(1),o=n(59).trim;r({target:"String",proto:!0,forced:n(117)("trim")},{trim:function(){return o(this)}})},function(t,e,n){"use strict";var r=n(1),o=n(59).end,i=n(117)("trimEnd"),a=i?function(){return o(this)}:"".trimEnd;r({target:"String",proto:!0,forced:i},{trimEnd:a,trimRight:a})},function(t,e,n){"use strict";var r=n(1),o=n(59).start,i=n(117)("trimStart"),a=i?function(){return o(this)}:"".trimStart;r({target:"String",proto:!0,forced:i},{trimStart:a,trimLeft:a})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("anchor")},{anchor:function(t){return o(this,"a","name",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("big")},{big:function(){return o(this,"big","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("blink")},{blink:function(){return o(this,"blink","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("bold")},{bold:function(){return o(this,"b","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fixed")},{fixed:function(){return o(this,"tt","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontcolor")},{fontcolor:function(t){return o(this,"font","color",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontsize")},{fontsize:function(t){return o(this,"font","size",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("italics")},{italics:function(){return o(this,"i","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("link")},{link:function(t){return o(this,"a","href",t)}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("small")},{small:function(){return o(this,"small","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("strike")},{strike:function(){return o(this,"strike","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("sub")},{sub:function(){return o(this,"sub","","")}})},function(t,e,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("sup")},{sup:function(){return o(this,"sup","","")}})},function(t,e,n){n(40)("Float32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){var r=n(30);t.exports=function(t){var e=r(t);if(e<0)throw RangeError("The argument can't be less than 0");return e}},function(t,e,n){n(40)("Float64",8,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Int32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint8",1,(function(t){return function(e,n,r){return t(this,e,n,r)}}),!0)},function(t,e,n){n(40)("Uint16",2,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){n(40)("Uint32",4,(function(t){return function(e,n,r){return t(this,e,n,r)}}))},function(t,e,n){"use strict";var r=n(11),o=n(132),i=r.aTypedArray;r.exportProto("copyWithin",(function(t,e){return o.call(i(this),t,e,arguments.length>2?arguments[2]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).every,i=r.aTypedArray;r.exportProto("every",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(105),i=r.aTypedArray;r.exportProto("fill",(function(t){return o.apply(i(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).filter,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("filter",(function(t){for(var e=o(a(this),t,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,u=e.length,c=new(s(n))(u);u>r;)c[r]=e[r++];return c}))},function(t,e,n){"use strict";var r=n(11),o=n(19).find,i=r.aTypedArray;r.exportProto("find",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).findIndex,i=r.aTypedArray;r.exportProto("findIndex",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).forEach,i=r.aTypedArray;r.exportProto("forEach",(function(t){o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(118),o=n(11),i=n(160);o.exportStatic("from",i,r)},function(t,e,n){"use strict";var r=n(11),o=n(64).includes,i=r.aTypedArray;r.exportProto("includes",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(64).indexOf,i=r.aTypedArray;r.exportProto("indexOf",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(79),a=n(13)("iterator"),s=r.Uint8Array,u=i.values,c=i.keys,l=i.entries,f=o.aTypedArray,p=o.exportProto,d=s&&s.prototype[a],h=!!d&&("values"==d.name||null==d.name),v=function(){return u.call(f(this))};p("entries",(function(){return l.call(f(this))})),p("keys",(function(){return c.call(f(this))})),p("values",v,!h),p(a,v,!h)},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].join;r.exportProto("join",(function(t){return i.apply(o(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(140),i=r.aTypedArray;r.exportProto("lastIndexOf",(function(t){return o.apply(i(this),arguments)}))},function(t,e,n){"use strict";var r=n(11),o=n(19).map,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("map",(function(t){return o(a(this),t,arguments.length>1?arguments[1]:void 0,(function(t,e){return new(s(i(t,t.constructor)))(e)}))}))},function(t,e,n){"use strict";var r=n(11),o=n(118),i=r.aTypedArrayConstructor;r.exportStatic("of",(function(){for(var t=0,e=arguments.length,n=new(i(this))(e);e>t;)n[t]=arguments[t++];return n}),o)},function(t,e,n){"use strict";var r=n(11),o=n(80).left,i=r.aTypedArray;r.exportProto("reduce",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=n(80).right,i=r.aTypedArray;r.exportProto("reduceRight",(function(t){return o(i(this),t,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=Math.floor;r.exportProto("reverse",(function(){for(var t,e=o(this).length,n=i(e/2),r=0;r<n;)t=this[r],this[r++]=this[--e],this[e]=t;return this}))},function(t,e,n){"use strict";var r=n(11),o=n(14),i=n(159),a=n(16),s=n(6),u=r.aTypedArray,c=s((function(){new Int8Array(1).set({})}));r.exportProto("set",(function(t){u(this);var e=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(t),s=o(r.length),c=0;if(s+e>n)throw RangeError("Wrong length");for(;c<s;)this[e+c]=r[c++]}),c)},function(t,e,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,s=r.aTypedArrayConstructor,u=[].slice,c=i((function(){new Int8Array(1).slice()}));r.exportProto("slice",(function(t,e){for(var n=u.call(a(this),t,e),r=o(this,this.constructor),i=0,c=n.length,l=new(s(r))(c);c>i;)l[i]=n[i++];return l}),c)},function(t,e,n){"use strict";var r=n(11),o=n(19).some,i=r.aTypedArray;r.exportProto("some",(function(t){return o(i(this),t,arguments.length>1?arguments[1]:void 0)}))},function(t,e,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].sort;r.exportProto("sort",(function(t){return i.call(o(this),t)}))},function(t,e,n){"use strict";var r=n(11),o=n(14),i=n(45),a=n(49),s=r.aTypedArray;r.exportProto("subarray",(function(t,e){var n=s(this),r=n.length,u=i(t,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+u*n.BYTES_PER_ELEMENT,o((void 0===e?r:i(e,r))-u))}))},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Int8Array,s=o.aTypedArray,u=[].toLocaleString,c=[].slice,l=!!a&&i((function(){u.call(new a(1))})),f=i((function(){return[1,2].toLocaleString()!=new a([1,2]).toLocaleString()}))||!i((function(){a.prototype.toLocaleString.call([1,2])}));o.exportProto("toLocaleString",(function(){return u.apply(l?c.call(s(this)):s(this),arguments)}),f)},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,s=a&&a.prototype,u=[].toString,c=[].join;i((function(){u.call({})}))&&(u=function(){return c.call(this)}),o.exportProto("toString",u,(s||{}).toString!=u)},function(t,e,n){"use strict";var r,o=n(8),i=n(58),a=n(54),s=n(82),u=n(161),c=n(9),l=n(29).enforce,f=n(124),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},v=t.exports=s("WeakMap",h,u,!0,!0);if(f&&p){r=u.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,y=g.delete,m=g.has,b=g.get,w=g.set;i(g,{delete:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.delete(t)}return y.call(this,t)},has:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.has(t)}return m.call(this,t)},get:function(t){if(c(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(c(t)&&!d(t)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,t)?w.call(this,t,e):n.frozen.set(t,e)}else w.call(this,t,e);return this}})}},function(t,e,n){"use strict";n(82)("WeakSet",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),n(161),!1,!0)},function(t,e,n){var r=n(8),o=n(162),i=n(134),a=n(21);for(var s in o){var u=r[s],c=u&&u.prototype;if(c&&c.forEach!==i)try{a(c,"forEach",i)}catch(t){c.forEach=i}}},function(t,e,n){var r=n(8),o=n(162),i=n(79),a=n(21),s=n(13),u=s("iterator"),c=s("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[u]!==l)try{a(d,u,l)}catch(t){d[u]=l}if(d[c]||a(d,c,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(t){d[h]=i[h]}}}},function(t,e,n){var r=n(8),o=n(112),i=!r.setImmediate||!r.clearImmediate;n(1)({global:!0,bind:!0,enumerable:!0,forced:i},{setImmediate:o.set,clearImmediate:o.clear})},function(t,e,n){var r=n(1),o=n(8),i=n(154),a=n(33),s=o.process,u="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=u&&s.domain;i(e?e.bind(t):t)}})},function(t,e,n){var r=n(1),o=n(8),i=n(77),a=[].slice,s=function(t){return function(e,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return t(r?function(){("function"==typeof e?e:Function(e)).apply(this,o)}:e,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},function(t,e,n){"use strict";n(157);var r,o=n(1),i=n(12),a=n(163),s=n(8),u=n(103),c=n(20),l=n(48),f=n(18),p=n(149),d=n(135),h=n(89).codeAt,v=n(388),g=n(36),y=n(164),m=n(29),b=s.URL,w=y.URLSearchParams,E=y.getState,O=m.set,x=m.getterFor("URL"),P=Math.floor,k=Math.pow,_=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,T=/\d/,j=/^(0x|0X)/,A=/^[0-7]+$/,C=/^\d+$/,I=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,R=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,D=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,N=/[\u0009\u000A\u000D]/g,L=function(t,e){var n,r,o;if("["==e.charAt(0)){if("]"!=e.charAt(e.length-1))return"Invalid host";if(!(n=F(e.slice(1,-1))))return"Invalid host";t.host=n}else if(Y(t)){if(e=v(e),M.test(e))return"Invalid host";if(null===(n=B(e)))return"Invalid host";t.host=n}else{if(R.test(e))return"Invalid host";for(n="",r=d(e),o=0;o<r.length;o++)n+=G(r[o],W);t.host=n}},B=function(t){var e,n,r,o,i,a,s,u=t.split(".");if(u.length&&""==u[u.length-1]&&u.pop(),(e=u.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=u[r]))return t;if(i=10,o.length>1&&"0"==o.charAt(0)&&(i=j.test(o)?16:8,o=o.slice(8==i?1:2)),""===o)a=0;else{if(!(10==i?C:8==i?A:I).test(o))return t;a=parseInt(o,i)}n.push(a)}for(r=0;r<e;r++)if(a=n[r],r==e-1){if(a>=k(256,5-e))return null}else if(a>255)return null;for(s=n.pop(),r=0;r<n.length;r++)s+=n[r]*k(256,3-r);return s},F=function(t){var e,n,r,o,i,a,s,u=[0,0,0,0,0,0,0,0],c=0,l=null,f=0,p=function(){return t.charAt(f)};if(":"==p()){if(":"!=t.charAt(1))return;f+=2,l=++c}for(;p();){if(8==c)return;if(":"!=p()){for(e=n=0;n<4&&I.test(p());)e=16*e+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,c>6)return;for(r=0;p();){if(o=null,r>0){if(!("."==p()&&r<4))return;f++}if(!T.test(p()))return;for(;T.test(p());){if(i=parseInt(p(),10),null===o)o=i;else{if(0==o)return;o=10*o+i}if(o>255)return;f++}u[c]=256*u[c]+o,2!=++r&&4!=r||c++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;u[c++]=e}else{if(null!==l)return;f++,l=++c}}if(null!==l)for(a=c-l,c=7;0!=c&&a>0;)s=u[c],u[c--]=u[l+a-1],u[l+--a]=s;else if(8!=c)return;return u},U=function(t){var e,n,r,o;if("number"==typeof t){for(e=[],n=0;n<4;n++)e.unshift(t%256),t=P(t/256);return e.join(".")}if("object"==typeof t){for(e="",r=function(t){for(var e=null,n=1,r=null,o=0,i=0;i<8;i++)0!==t[i]?(o>n&&(e=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(e=r,n=o),e}(t),n=0;n<8;n++)o&&0===t[n]||(o&&(o=!1),r===n?(e+=n?":":"::",o=!0):(e+=t[n].toString(16),n<7&&(e+=":")));return"["+e+"]"}return t},W={},H=p({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),q=p({},H,{"#":1,"?":1,"{":1,"}":1}),V=p({},q,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(t,e){var n=h(t,0);return n>32&&n<127&&!f(e,t)?t:encodeURIComponent(t)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(t){return f(z,t.scheme)},X=function(t){return""!=t.username||""!=t.password},$=function(t){return!t.host||t.cannotBeABaseURL||"file"==t.scheme},K=function(t,e){var n;return 2==t.length&&_.test(t.charAt(0))&&(":"==(n=t.charAt(1))||!e&&"|"==n)},Q=function(t){var e;return t.length>1&&K(t.slice(0,2))&&(2==t.length||"/"===(e=t.charAt(2))||"\\"===e||"?"===e||"#"===e)},J=function(t){var e=t.path,n=e.length;!n||"file"==t.scheme&&1==n&&K(e[0],!0)||e.pop()},Z=function(t){return"."===t||"%2e"===t.toLowerCase()},tt={},et={},nt={},rt={},ot={},it={},at={},st={},ut={},ct={},lt={},ft={},pt={},dt={},ht={},vt={},gt={},yt={},mt={},bt={},wt={},Et=function(t,e,n,o){var i,a,s,u,c,l=n||tt,p=0,h="",v=!1,g=!1,y=!1;for(n||(t.scheme="",t.username="",t.password="",t.host=null,t.port=null,t.path=[],t.query=null,t.fragment=null,t.cannotBeABaseURL=!1,e=e.replace(D,"")),e=e.replace(N,""),i=d(e);p<=i.length;){switch(a=i[p],l){case tt:if(!a||!_.test(a)){if(n)return"Invalid scheme";l=nt;continue}h+=a.toLowerCase(),l=et;break;case et:if(a&&(S.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",l=nt,p=0;continue}if(n&&(Y(t)!=f(z,h)||"file"==h&&(X(t)||null!==t.port)||"file"==t.scheme&&!t.host))return;if(t.scheme=h,n)return void(Y(t)&&z[t.scheme]==t.port&&(t.port=null));h="","file"==t.scheme?l=dt:Y(t)&&o&&o.scheme==t.scheme?l=rt:Y(t)?l=st:"/"==i[p+1]?(l=ot,p++):(t.cannotBeABaseURL=!0,t.path.push(""),l=mt)}break;case nt:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){t.scheme=o.scheme,t.path=o.path.slice(),t.query=o.query,t.fragment="",t.cannotBeABaseURL=!0,l=wt;break}l="file"==o.scheme?dt:it;continue;case rt:if("/"!=a||"/"!=i[p+1]){l=it;continue}l=ut,p++;break;case ot:if("/"==a){l=ct;break}l=yt;continue;case it:if(t.scheme=o.scheme,a==r)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query;else if("/"==a||"\\"==a&&Y(t))l=at;else if("?"==a)t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query="",l=bt;else{if("#"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.path.pop(),l=yt;continue}t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=wt}break;case at:if(!Y(t)||"/"!=a&&"\\"!=a){if("/"!=a){t.username=o.username,t.password=o.password,t.host=o.host,t.port=o.port,l=yt;continue}l=ct}else l=ut;break;case st:if(l=ut,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ut:if("/"!=a&&"\\"!=a){l=ct;continue}break;case ct:if("@"==a){v&&(h="%40"+h),v=!0,s=d(h);for(var m=0;m<s.length;m++){var b=s[m];if(":"!=b||y){var w=G(b,V);y?t.password+=w:t.username+=w}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(v&&""==h)return"Invalid authority";p-=d(h).length+1,h="",l=lt}else h+=a;break;case lt:case ft:if(n&&"file"==t.scheme){l=vt;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)){if(Y(t)&&""==h)return"Invalid host";if(n&&""==h&&(X(t)||null!==t.port))return;if(u=L(t,h))return u;if(h="",l=gt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(u=L(t,h))return u;if(h="",l=pt,n==ft)return}break;case pt:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(t)||n){if(""!=h){var E=parseInt(h,10);if(E>65535)return"Invalid port";t.port=Y(t)&&E===z[t.scheme]?null:E,h=""}if(n)return;l=gt;continue}return"Invalid port"}h+=a;break;case dt:if(t.scheme="file","/"==a||"\\"==a)l=ht;else{if(!o||"file"!=o.scheme){l=yt;continue}if(a==r)t.host=o.host,t.path=o.path.slice(),t.query=o.query;else if("?"==a)t.host=o.host,t.path=o.path.slice(),t.query="",l=bt;else{if("#"!=a){Q(i.slice(p).join(""))||(t.host=o.host,t.path=o.path.slice(),J(t)),l=yt;continue}t.host=o.host,t.path=o.path.slice(),t.query=o.query,t.fragment="",l=wt}}break;case ht:if("/"==a||"\\"==a){l=vt;break}o&&"file"==o.scheme&&!Q(i.slice(p).join(""))&&(K(o.path[0],!0)?t.path.push(o.path[0]):t.host=o.host),l=yt;continue;case vt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))l=yt;else if(""==h){if(t.host="",n)return;l=gt}else{if(u=L(t,h))return u;if("localhost"==t.host&&(t.host=""),n)return;h="",l=gt}continue}h+=a;break;case gt:if(Y(t)){if(l=yt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=yt,"/"!=a))continue}else t.fragment="",l=wt;else t.query="",l=bt;break;case yt:if(a==r||"/"==a||"\\"==a&&Y(t)||!n&&("?"==a||"#"==a)){if(".."===(c=(c=h).toLowerCase())||"%2e."===c||".%2e"===c||"%2e%2e"===c?(J(t),"/"==a||"\\"==a&&Y(t)||t.path.push("")):Z(h)?"/"==a||"\\"==a&&Y(t)||t.path.push(""):("file"==t.scheme&&!t.path.length&&K(h)&&(t.host&&(t.host=""),h=h.charAt(0)+":"),t.path.push(h)),h="","file"==t.scheme&&(a==r||"?"==a||"#"==a))for(;t.path.length>1&&""===t.path[0];)t.path.shift();"?"==a?(t.query="",l=bt):"#"==a&&(t.fragment="",l=wt)}else h+=G(a,q);break;case mt:"?"==a?(t.query="",l=bt):"#"==a?(t.fragment="",l=wt):a!=r&&(t.path[0]+=G(a,W));break;case bt:n||"#"!=a?a!=r&&("'"==a&&Y(t)?t.query+="%27":t.query+="#"==a?"%23":G(a,W)):(t.fragment="",l=wt);break;case wt:a!=r&&(t.fragment+=G(a,H))}p++}},Ot=function(t){var e,n,r=l(this,Ot,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(t),s=O(r,{type:"URL"});if(void 0!==o)if(o instanceof Ot)e=x(o);else if(n=Et(e={},String(o)))throw TypeError(n);if(n=Et(s,a,null,e))throw TypeError(n);var u=s.searchParams=new w,c=E(u);c.updateSearchParams(s.query),c.updateURL=function(){s.query=String(u)||null},i||(r.href=Pt.call(r),r.origin=kt.call(r),r.protocol=_t.call(r),r.username=St.call(r),r.password=Tt.call(r),r.host=jt.call(r),r.hostname=At.call(r),r.port=Ct.call(r),r.pathname=It.call(r),r.search=Mt.call(r),r.searchParams=Rt.call(r),r.hash=Dt.call(r))},xt=Ot.prototype,Pt=function(){var t=x(this),e=t.scheme,n=t.username,r=t.password,o=t.host,i=t.port,a=t.path,s=t.query,u=t.fragment,c=e+":";return null!==o?(c+="//",X(t)&&(c+=n+(r?":"+r:"")+"@"),c+=U(o),null!==i&&(c+=":"+i)):"file"==e&&(c+="//"),c+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(c+="?"+s),null!==u&&(c+="#"+u),c},kt=function(){var t=x(this),e=t.scheme,n=t.port;if("blob"==e)try{return new URL(e.path[0]).origin}catch(t){return"null"}return"file"!=e&&Y(t)?e+"://"+U(t.host)+(null!==n?":"+n:""):"null"},_t=function(){return x(this).scheme+":"},St=function(){return x(this).username},Tt=function(){return x(this).password},jt=function(){var t=x(this),e=t.host,n=t.port;return null===e?"":null===n?U(e):U(e)+":"+n},At=function(){var t=x(this).host;return null===t?"":U(t)},Ct=function(){var t=x(this).port;return null===t?"":String(t)},It=function(){var t=x(this),e=t.path;return t.cannotBeABaseURL?e[0]:e.length?"/"+e.join("/"):""},Mt=function(){var t=x(this).query;return t?"?"+t:""},Rt=function(){return x(this).searchParams},Dt=function(){var t=x(this).fragment;return t?"#"+t:""},Nt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&u(xt,{href:Nt(Pt,(function(t){var e=x(this),n=String(t),r=Et(e,n);if(r)throw TypeError(r);E(e.searchParams).updateSearchParams(e.query)})),origin:Nt(kt),protocol:Nt(_t,(function(t){var e=x(this);Et(e,String(t)+":",tt)})),username:Nt(St,(function(t){var e=x(this),n=d(String(t));if(!$(e)){e.username="";for(var r=0;r<n.length;r++)e.username+=G(n[r],V)}})),password:Nt(Tt,(function(t){var e=x(this),n=d(String(t));if(!$(e)){e.password="";for(var r=0;r<n.length;r++)e.password+=G(n[r],V)}})),host:Nt(jt,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),lt)})),hostname:Nt(At,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),ft)})),port:Nt(Ct,(function(t){var e=x(this);$(e)||(""==(t=String(t))?e.port=null:Et(e,t,pt))})),pathname:Nt(It,(function(t){var e=x(this);e.cannotBeABaseURL||(e.path=[],Et(e,t+"",gt))})),search:Nt(Mt,(function(t){var e=x(this);""==(t=String(t))?e.query=null:("?"==t.charAt(0)&&(t=t.slice(1)),e.query="",Et(e,t,bt)),E(e.searchParams).updateSearchParams(e.query)})),searchParams:Nt(Rt),hash:Nt(Dt,(function(t){var e=x(this);""!=(t=String(t))?("#"==t.charAt(0)&&(t=t.slice(1)),e.fragment="",Et(e,t,wt)):e.fragment=null}))}),c(xt,"toJSON",(function(){return Pt.call(this)}),{enumerable:!0}),c(xt,"toString",(function(){return Pt.call(this)}),{enumerable:!0}),b){var Lt=b.createObjectURL,Bt=b.revokeObjectURL;Lt&&c(Ot,"createObjectURL",(function(t){return Lt.apply(b,arguments)})),Bt&&c(Ot,"revokeObjectURL",(function(t){return Bt.apply(b,arguments)}))}g(Ot,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Ot})},function(t,e,n){"use strict";var r=/[^\0-\u007E]/,o=/[.\u3002\uFF0E\uFF61]/g,i="Overflow: input needs wider integers to process",a=Math.floor,s=String.fromCharCode,u=function(t){return t+22+75*(t<26)},c=function(t,e,n){var r=0;for(t=n?a(t/700):t>>1,t+=a(t/e);t>455;r+=36)t=a(t/35);return a(r+36*t/(t+38))},l=function(t){var e,n,r=[],o=(t=function(t){for(var e=[],n=0,r=t.length;n<r;){var o=t.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=t.charCodeAt(n++);56320==(64512&i)?e.push(((1023&o)<<10)+(1023&i)+65536):(e.push(o),n--)}else e.push(o)}return e}(t)).length,l=128,f=0,p=72;for(e=0;e<t.length;e++)(n=t[e])<128&&r.push(s(n));var d=r.length,h=d;for(d&&r.push("-");h<o;){var v=2147483647;for(e=0;e<t.length;e++)(n=t[e])>=l&&n<v&&(v=n);var g=h+1;if(v-l>a((2147483647-f)/g))throw RangeError(i);for(f+=(v-l)*g,l=v,e=0;e<t.length;e++){if((n=t[e])<l&&++f>2147483647)throw RangeError(i);if(n==l){for(var y=f,m=36;;m+=36){var b=m<=p?1:m>=p+26?26:m-p;if(y<b)break;var w=y-b,E=36-b;r.push(s(u(b+w%E))),y=a(w/E)}r.push(s(u(y))),p=c(f,g,h==d),f=0,++h}}++f,++l}return r.join("")};t.exports=function(t){var e,n,i=[],a=t.toLowerCase().replace(o,".").split(".");for(e=0;e<a.length;e++)n=a[e],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(t,e,n){var r=n(10),o=n(70);t.exports=function(t){var e=o(t);if("function"!=typeof e)throw TypeError(String(t)+" is not iterable");return r(e.call(t))}},function(t,e,n){"use strict";n(1)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(t,e){!function(){if(function(){function t(){var t=[0,1];return t.reverse(),0===t[0]}return t()||t()}()){Array.prototype._reverse=Array.prototype.reverse,Array.prototype.reverse=function(){return Array.isArray(this)&&(this.length=this.length),Array.prototype._reverse.call(this)};var t={enumerable:!1};Object.defineProperties(Array.prototype,{_reverse:t,reverse:t})}}()},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(t,e,n,r){var o=e&&e.prototype instanceof v?e:v,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(t,e,n){var r=l;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return j()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=P(a,n);if(s){if(s===h)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===l)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=c(t,e,n);if("normal"===u.type){if(r=n.done?d:f,u.arg===h)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}(t,n,a),i}function c(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",h={};function v(){}function g(){}function y(){}var m={};m[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&r.call(w,i)&&(m=w);var E=y.prototype=v.prototype=Object.create(m);function O(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function x(t){var e;this._invoke=function(n,o){function i(){return new Promise((function(e,i){!function e(n,o,i,a){var s=c(t[n],t,o);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(l).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(s.arg)}(n,o,e,i)}))}return e=e?e.then(i,i):i()}}function P(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=e,P(t,n),"throw"===n.method))return h;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return h}var o=c(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,h;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function T(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){for(;++o<t.length;)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:j}}function j(){return{value:e,done:!0}}return g.prototype=E.constructor=y,y.constructor=g,y[s]=g.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===g||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s in t||(t[s]="GeneratorFunction")),t.prototype=Object.create(E),t},t.awrap=function(t){return{__await:t}},O(x.prototype),x.prototype[a]=function(){return this},t.AsyncIterator=x,t.async=function(e,n,r,o){var i=new x(u(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},O(E),E[s]="Generator",E[i]=function(){return this},E.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){for(;e.length;){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=T,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(_),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return s.type="throw",s.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),c=r.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),h},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),_(n),h}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:T(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),h}},t}(t.exports);try{regeneratorRuntime=r}catch(t){Function("r","regeneratorRuntime = r")(r)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.runSaga=function(t,e){var n=e.subscribe,r=e.dispatch,i=e.getState,s=e.sagaMonitor,u=e.logger;(0,o.check)(t,o.is.iterator,"runSaga must be called on an iterator");var c=(0,o.uid)();s&&(r=(0,o.wrapSagaDispatch)(r),s.effectTriggered({effectId:c,root:!0,parentEffectId:0,effect:{root:!0,saga:t,args:[]}}));var l=(0,a.default)(t,n,r,i,{sagaMonitor:s,logger:u},c,t.name);s&&s.effectResolved(c,l);return l};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=t[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(t){o=!0,i=t}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.takeEvery=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s={done:!1,value:(0,a.take)(t)},u=void 0,p=function(t){return u=t};return l({q1:function(){return["q2",s,p]},q2:function(){return u===o.END?[c]:["q1",(t=u,{done:!1,value:a.fork.apply(void 0,[e].concat(r,[t]))})];var t}},"q1","takeEvery("+f(t)+", "+e.name+")")},e.takeLatest=function(t,e){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var s={done:!1,value:(0,a.take)(t)},u=function(t){return{done:!1,value:a.fork.apply(void 0,[e].concat(r,[t]))}},p=function(t){return{done:!1,value:(0,a.cancel)(t)}},d=void 0,h=void 0,v=function(t){return d=t},g=function(t){return h=t};return l({q1:function(){return["q2",s,g]},q2:function(){return h===o.END?[c]:d?["q3",p(d)]:["q1",u(h),v]},q3:function(){return["q1",u(h),v]}},"q1","takeLatest("+f(t)+", "+e.name+")")},e.throttle=function(t,e,n){for(var r=arguments.length,u=Array(r>3?r-3:0),p=3;p<r;p++)u[p-3]=arguments[p];var d=void 0,h=void 0,v={done:!1,value:(0,a.actionChannel)(e,s.buffers.sliding(1))},g={done:!1,value:(0,a.call)(i.delay,t)},y=function(t){return d=t},m=function(t){return h=t};return l({q1:function(){return["q2",v,m]},q2:function(){return["q3",{done:!1,value:(0,a.take)(h,e)},y]},q3:function(){return d===o.END?[c]:["q4",(t=d,{done:!1,value:a.fork.apply(void 0,[n].concat(u,[t]))})];var t},q4:function(){return["q2",g]}},"q1","throttle("+f(e)+", "+n.name+")")};var o=n(93),i=n(41),a=n(92),s=n(94),u={done:!0,value:void 0},c={};function l(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=e;function s(e,n){if(a===c)return u;if(n)throw a=c,n;o&&o(e);var i=t[a](),s=r(i,3),l=s[0],f=s[1],p=s[2];return o=p,(a=l)===c?u:f}return(0,i.makeIterator)(s,(function(t){return s(null,t)}),n,!0)}function f(t){return Array.isArray(t)?String(t.map((function(t){return String(t)}))):String(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=void 0,n=t.sagaMonitor;if(o.is.func(t))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(t.logger&&!o.is.func(t.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(t.onerror&&!o.is.func(t.onerror))throw new Error("`options.onerror` passed to the Saga middleware is not a function!");function r(r){var i=r.getState,c=r.dispatch;e=function(e,n,r){return(0,a.default)(e.apply(void 0,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(n)),l.subscribe,f,i,t,r,e.name)};var l=(0,u.emitter)(),f=(0,o.wrapSagaDispatch)(c);return function(t){return function(e){n&&n.actionDispatched(e);var r=t(e);return e[o.SAGA_ACTION]?l.emit(e):(0,s.asap)((function(){return l.emit(e)})),r}}}return r.run=function(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];(0,o.check)(e,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(t,o.is.func,"sagaMiddleware.run(saga, ...args): saga argument must be a Generator function!");var s=(0,o.uid)();n&&n.effectTriggered({effectId:s,root:!0,parentEffectId:0,effect:{root:!0,saga:t,args:i}});var u=e(t,i,s);return n&&n.effectResolved(s,u),u},r};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r},s=n(167),u=n(93)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(41);Object.defineProperty(e,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(e,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(e,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(e,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(e,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(e,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(92);Object.defineProperty(e,"CHANNEL_END",{enumerable:!0,get:function(){return o.CHANNEL_END}}),Object.defineProperty(e,"asEffect",{enumerable:!0,get:function(){return o.asEffect}})},function(t,e,n){"use strict";var r=n(399);function o(){}function i(){}i.resetWarningCache=o,t.exports=function(){function t(t,e,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var n={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(t,e,n){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,n){"use strict";
12
+ /** @license React v16.12.0
13
+ * react-is.production.min.js
14
+ *
15
+ * Copyright (c) Facebook, Inc. and its affiliates.
16
+ *
17
+ * This source code is licensed under the MIT license found in the
18
+ * LICENSE file in the root directory of this source tree.
19
+ */Object.defineProperty(e,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,o=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,s=r?Symbol.for("react.strict_mode"):60108,u=r?Symbol.for("react.profiler"):60114,c=r?Symbol.for("react.provider"):60109,l=r?Symbol.for("react.context"):60110,f=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,v=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,y=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function E(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case o:switch(t=t.type){case f:case p:case a:case u:case s:case h:return t;default:switch(t=t&&t.$$typeof){case l:case d:case y:case g:case c:return t;default:return e}}case i:return e}}}function O(t){return E(t)===p}e.typeOf=E,e.AsyncMode=f,e.ConcurrentMode=p,e.ContextConsumer=l,e.ContextProvider=c,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=y,e.Memo=g,e.Portal=i,e.Profiler=u,e.StrictMode=s,e.Suspense=h,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===p||t===u||t===s||t===h||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===y||t.$$typeof===g||t.$$typeof===c||t.$$typeof===l||t.$$typeof===d||t.$$typeof===m||t.$$typeof===b||t.$$typeof===w)},e.isAsyncMode=function(t){return O(t)||E(t)===f},e.isConcurrentMode=O,e.isContextConsumer=function(t){return E(t)===l},e.isContextProvider=function(t){return E(t)===c},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===o},e.isForwardRef=function(t){return E(t)===d},e.isFragment=function(t){return E(t)===a},e.isLazy=function(t){return E(t)===y},e.isMemo=function(t){return E(t)===g},e.isPortal=function(t){return E(t)===i},e.isProfiler=function(t){return E(t)===u},e.isStrictMode=function(t){return E(t)===s},e.isSuspense=function(t){return E(t)===h}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},o=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),i=n(0),a=(l(i),l(n(28))),s=l(n(42)),u=l(n(402)),c=l(n(403));function l(t){return t&&t.__esModule?t:{default:t}}var f=function(t){function e(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t));return n.measure=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.props.useClone;if(n.props.shouldMeasure){n._node.parentNode||n._setDOMNode();var r=n.getDimensions(n._node,t,e),o="function"==typeof n.props.children;n._propsToMeasure.some((function(t){if(r[t]!==n._lastDimensions[t])return n.props.onMeasure(r),o&&void 0!==n&&n.setState({dimensions:r}),n._lastDimensions=r,!0}))}},n.state={dimensions:{width:0,height:0,top:0,right:0,bottom:0,left:0}},n._node=null,n._propsToMeasure=n._getPropsToMeasure(t),n._lastDimensions={},n}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"componentDidMount",value:function(){var t=this;this._setDOMNode(),this.measure(),this.resizeObserver=new u.default((function(){return t.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(t){t.config;var e=t.whitelist,n=t.blacklist;this.props.whitelist===e&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:e,blacklist:n}))}},{key:"componentWillUnmount",value:function(){this.resizeObserver.disconnect(this._node),this._node=null}},{key:"_setDOMNode",value:function(){this._node=s.default.findDOMNode(this)}},{key:"getDimensions",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props.includeMargin,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.props.useClone,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:this.props.cloneOptions;return(0,c.default)(t,r({margin:e,clone:n},o))}},{key:"_getPropsToMeasure",value:function(t){var e=t.whitelist,n=t.blacklist;return e.filter((function(t){return n.indexOf(t)<0}))}},{key:"render",value:function(){var t=this.props.children;return i.Children.only("function"==typeof t?t(this.state.dimensions):t)}}]),e}(i.Component);f.propTypes={whitelist:a.default.array,blacklist:a.default.array,includeMargin:a.default.bool,useClone:a.default.bool,cloneOptions:a.default.object,shouldMeasure:a.default.bool,onMeasure:a.default.func},f.defaultProps={whitelist:["width","height","top","right","bottom","left"],blacklist:[],includeMargin:!0,useClone:!1,cloneOptions:{},shouldMeasure:!0,onMeasure:function(){return null}},e.default=f,t.exports=e.default},function(t,e,n){"use strict";n.r(e),function(t){var n=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return(function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];t.call(e,o[1],o[0])}},e}())}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),i="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)},a=2;var s=20,u=["top","right","bottom","left","width","height","size","weight"],c="undefined"!=typeof MutationObserver,l=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,o=0;function s(){n&&(n=!1,t()),r&&c()}function u(){i(s)}function c(){var t=Date.now();if(n){if(t-o<a)return;r=!0}else n=!0,r=!1,setTimeout(u,e);o=t}return c}(this.refresh.bind(this),s)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),c?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;u.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),f=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var o=r[n];Object.defineProperty(t,o,{value:e[o],enumerable:!1,writable:!1,configurable:!0})}return t},p=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},d=b(0,0,0,0);function h(t){return parseFloat(t)||0}function v(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+h(t["border-"+n+"-width"])}),0)}function g(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return d;var r=p(t).getComputedStyle(t),o=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=t["padding-"+o];e[o]=h(i)}return e}(r),i=o.left+o.right,a=o.top+o.bottom,s=h(r.width),u=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=v(r,"left","right")+i),Math.round(u+a)!==n&&(u-=v(r,"top","bottom")+a)),!function(t){return t===p(t).document.documentElement}(t)){var c=Math.round(s+i)-e,l=Math.round(u+a)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(l)&&(u-=l)}return b(o.left,o.top,s,u)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return r?y(t)?function(t){var e=t.getBBox();return b(0,0,e.width,e.height)}(t):g(t):d}function b(t,e,n,r){return{x:t,y:e,width:n,height:r}}var w=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),E=function(t,e){var n,r,o,i,a,s,u,c=(r=(n=e).x,o=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(s.prototype),f(u,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),u);f(this,{target:t,contentRect:c})},O=function(){function t(t,e,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=r}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new w(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new E(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,P=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=l.getInstance(),r=new O(e,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){P.prototype[t]=function(){var e;return(e=x.get(this))[t].apply(e,arguments)}}));var k=void 0!==o.ResizeObserver?o.ResizeObserver:P;e.default=k}.call(this,n(74))},function(t,e,n){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=t.getBoundingClientRect(),r=void 0,a=void 0,s=void 0;if((n.width&&n.height||e.noCloneOnZeroDimension)&&!e.clone)e.margin&&(s=(0,i.default)(getComputedStyle(t)));else{var u=(0,o.default)(t,e);n=u.rect,s=u.margin}e.margin?(r=s.left+n.width+s.right,a=s.top+n.height+s.bottom):(r=n.width,a=n.height);return{width:r,height:a,top:n.top,right:n.right,bottom:n.bottom,left:n.left}};var o=r(n(404)),i=r(n(168));t.exports=e.default},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n,r,o,a=t.parentNode,s=document.createElement("div"),u=t.cloneNode(!0),c=getComputedStyle(t);s.style.height=0,s.style.overflow="hidden",u.setAttribute("id",""),u.setAttribute("name",""),(e.display||c&&"none"===c.getPropertyValue("display"))&&(u.style.display=e.display||"block");(e.width||c&&!parseInt(c.getPropertyValue("width")))&&(u.style.width=e.width||"auto");(e.height||c&&!parseInt(c.getPropertyValue("height")))&&(u.style.height=e.height||"auto");return s.appendChild(u),a.appendChild(s),n=u.getBoundingClientRect(),r=u.offsetWidth,o=u.offsetHeight,a.removeChild(s),{rect:{width:r,height:o,top:n.top,right:n.right,bottom:n.bottom,left:n.left},margin:(0,i.default)(c)}};var r,o=n(168),i=(r=o)&&r.__esModule?r:{default:r};t.exports=e.default},function(t,e,n){var r,o;
20
+ /*! wavesurfer.js 1.4.0 (Thu, 22 Jun 2017 13:03:29 GMT)
21
+ * https://github.com/katspaugh/wavesurfer.js
22
+ * @license BSD-3-Clause */o=this,void 0===(r=function(){return o.WaveSurfer=function(){"use strict";var t={defaultParams:{audioContext:null,audioRate:1,autoCenter:!0,backend:"WebAudio",barHeight:1,closeAudioContext:!1,container:null,cursorColor:"#333",cursorWidth:1,dragSelection:!0,fallbackProgressHeight:4,fillParent:!0,forceDecode:!1,height:128,hideScrollbar:!1,interact:!0,loopSelection:!0,mediaContainer:null,mediaControls:!1,mediaType:"audio",minPxPerSec:20,partialRender:!1,pixelRatio:window.devicePixelRatio||screen.deviceXDPI/screen.logicalXDPI,progressColor:"#555",normalize:!1,removeMediaElementOnDestroy:!0,renderer:"MultiCanvas",scrollParent:!1,skipLength:2,splitChannels:!1,waveColor:"#999"},init:function(e){if(this.params=t.util.extend({},this.defaultParams,e),this.container="string"==typeof e.container?document.querySelector(this.params.container):this.params.container,!this.container)throw new Error("Container element not found");if(null==this.params.mediaContainer?this.mediaContainer=this.container:"string"==typeof this.params.mediaContainer?this.mediaContainer=document.querySelector(this.params.mediaContainer):this.mediaContainer=this.params.mediaContainer,!this.mediaContainer)throw new Error("Media Container element not found");this.savedVolume=0,this.isMuted=!1,this.tmpEvents=[],this.currentAjax=null,this.createDrawer(),this.createBackend(),this.createPeakCache(),this.isDestroyed=!1},createDrawer:function(){var e=this;this.drawer=Object.create(t.Drawer[this.params.renderer]),this.drawer.init(this.container,this.params),this.drawer.on("click",(function(t,n){setTimeout((function(){e.seekTo(n)}),0)})),this.drawer.on("scroll",(function(t){e.params.partialRender&&e.drawBuffer(),e.fireEvent("scroll",t)}))},createBackend:function(){var e=this;this.backend&&this.backend.destroy(),"AudioElement"==this.params.backend&&(this.params.backend="MediaElement"),"WebAudio"!=this.params.backend||t.WebAudio.supportsWebAudio()||(this.params.backend="MediaElement"),this.backend=Object.create(t[this.params.backend]),this.backend.init(this.params),this.backend.on("finish",(function(){e.fireEvent("finish")})),this.backend.on("play",(function(){e.fireEvent("play")})),this.backend.on("pause",(function(){e.fireEvent("pause")})),this.backend.on("audioprocess",(function(t){e.drawer.progress(e.backend.getPlayedPercents()),e.fireEvent("audioprocess",t)}))},createPeakCache:function(){this.params.partialRender&&(this.peakCache=Object.create(t.PeakCache),this.peakCache.init())},getDuration:function(){return this.backend.getDuration()},play:function(t,e){this.fireEvent("interaction",this.play.bind(this,t,e)),this.backend.play(t,e)},pause:function(){this.backend.isPaused()||this.backend.pause()},playPause:function(){this.backend.isPaused()?this.play():this.pause()},isPlaying:function(){return!this.backend.isPaused()},skipBackward:function(t){this.skip(-t||-this.params.skipLength)},skipForward:function(t){this.skip(t||this.params.skipLength)},skip:function(t){var e=this.getCurrentTime()||0,n=this.getDuration()||1;e=Math.max(0,Math.min(n,e+(t||0))),this.seekAndCenter(e/n)},seekAndCenter:function(t){this.seekTo(t),this.drawer.recenter(t)},seekTo:function(t){this.fireEvent("interaction",this.seekTo.bind(this,t));var e=this.backend.isPaused();e||this.backend.pause();var n=this.params.scrollParent;this.params.scrollParent=!1,this.backend.seekTo(t*this.getDuration()),this.drawer.progress(this.backend.getPlayedPercents()),e||this.backend.play(),this.params.scrollParent=n,this.fireEvent("seek",t)},stop:function(){this.pause(),this.seekTo(0),this.drawer.progress(0)},setVolume:function(t){this.backend.setVolume(t)},getVolume:function(){return this.backend.getVolume()},getCurrentTime:function(){return this.backend.getCurrentTime()},setCurrentTime:function(t){this.getDuration()>=t?this.seekTo(1):this.seekTo(t/this.getDuration())},setPlaybackRate:function(t){this.backend.setPlaybackRate(t)},getPlaybackRate:function(){return this.backend.getPlaybackRate()},toggleMute:function(){this.setMute(!this.isMuted)},setMute:function(t){t!==this.isMuted&&(t?(this.savedVolume=this.backend.getVolume(),this.backend.setVolume(0),this.isMuted=!0):(this.backend.setVolume(this.savedVolume),this.isMuted=!1))},getMute:function(){return this.isMuted},getFilters:function(){return this.backend.filters||[]},toggleScroll:function(){this.params.scrollParent=!this.params.scrollParent,this.drawBuffer()},toggleInteraction:function(){this.params.interact=!this.params.interact},getWaveColor:function(){return this.params.waveColor},setWaveColor:function(t){this.params.waveColor=t,this.drawBuffer()},getProgressColor:function(){return this.params.progressColor},setProgressColor:function(t){this.params.progressColor=t,this.drawBuffer()},getCursorColor:function(){return this.params.cursorColor},setCursorColor:function(t){this.params.cursorColor=t,this.drawer.updateCursor()},getHeight:function(){return this.params.height},setHeight:function(t){this.params.height=t,this.drawer.setHeight(t*this.params.pixelRatio)},drawBuffer:function(){var t=Math.round(this.getDuration()*this.params.minPxPerSec*this.params.pixelRatio),e=this.drawer.getWidth(),n=t,r=this.drawer.getScrollX(),o=Math.min(r+e,n);if(this.params.fillParent&&(!this.params.scrollParent||t<e)&&(r=0,o=n=e),this.params.partialRender)for(var i=this.peakCache.addRangeToPeakCache(n,r,o),a=0;a<i.length;a++)s=this.backend.getPeaks(n,i[a][0],i[a][1]),this.drawer.drawPeaks(s,n,i[a][0],i[a][1]);else{r=0,o=n;var s=this.backend.getPeaks(n,r,o);this.drawer.drawPeaks(s,n,r,o)}this.fireEvent("redraw",s,n)},zoom:function(t){this.params.minPxPerSec=t,this.params.scrollParent=!0,this.refresh(),this.drawer.recenter(this.getCurrentTime()/this.getDuration()),this.fireEvent("zoom",t)},refresh:function(){this.drawBuffer(),this.drawer.progress(this.backend.getPlayedPercents())},loadArrayBuffer:function(t){this.decodeArrayBuffer(t,function(t){this.isDestroyed||this.loadDecodedBuffer(t)}.bind(this))},loadDecodedBuffer:function(t){this.backend.load(t),this.drawBuffer(),this.fireEvent("ready")},loadBlob:function(t){var e=this,n=new FileReader;n.addEventListener("progress",(function(t){e.onProgress(t)})),n.addEventListener("load",(function(t){e.loadArrayBuffer(t.target.result)})),n.addEventListener("error",(function(){e.fireEvent("error","Error reading file")})),n.readAsArrayBuffer(t),this.empty()},load:function(t,e,n){switch(this.empty(),this.isMuted=!1,this.params.backend){case"WebAudio":return this.loadBuffer(t,e);case"MediaElement":return this.loadMediaElement(t,e,n)}},loadBuffer:function(t,e){var n=function(e){return e&&this.tmpEvents.push(this.once("ready",e)),this.getArrayBuffer(t,this.loadArrayBuffer.bind(this))}.bind(this);if(!e)return n();this.backend.setPeaks(e),this.drawBuffer(),this.tmpEvents.push(this.once("interaction",n))},loadMediaElement:function(t,e,n){var r=t;if("string"==typeof t)this.backend.load(r,this.mediaContainer,e,n);else{var o=t;this.backend.loadElt(o,e),r=o.src}this.tmpEvents.push(this.backend.once("canplay",function(){this.drawBuffer(),this.fireEvent("ready")}.bind(this)),this.backend.once("error",function(t){this.fireEvent("error",t)}.bind(this))),e&&this.backend.setPeaks(e),e&&!this.params.forceDecode||!this.backend.supportsWebAudio()||this.getArrayBuffer(r,function(t){this.decodeArrayBuffer(t,function(t){this.backend.buffer=t,this.backend.setPeaks(null),this.drawBuffer(),this.fireEvent("waveform-ready")}.bind(this))}.bind(this))},decodeArrayBuffer:function(t,e){this.arraybuffer=t,this.backend.decodeArrayBuffer(t,function(n){this.isDestroyed||this.arraybuffer!=t||(e(n),this.arraybuffer=null)}.bind(this),this.fireEvent.bind(this,"error","Error decoding audiobuffer"))},getArrayBuffer:function(e,n){var r=this,o=t.util.ajax({url:e,responseType:"arraybuffer"});return this.currentAjax=o,this.tmpEvents.push(o.on("progress",(function(t){r.onProgress(t)})),o.on("success",(function(t,e){n(t),r.currentAjax=null})),o.on("error",(function(t){r.fireEvent("error","XHR error: "+t.target.statusText),r.currentAjax=null}))),o},onProgress:function(t){if(t.lengthComputable)var e=t.loaded/t.total;else e=t.loaded/(t.loaded+1e6);this.fireEvent("loading",Math.round(100*e),t.target)},exportPCM:function(t,e,n,r){t=t||1024,r=r||0,e=e||1e4,n=n||!1;var o=this.backend.getPeaks(t,r),i=[].map.call(o,(function(t){return Math.round(t*e)/e})),a=JSON.stringify(i);return n||window.open("data:application/json;charset=utf-8,"+encodeURIComponent(a)),a},exportImage:function(t,e){return t||(t="image/png"),e||(e=1),this.drawer.getImage(t,e)},cancelAjax:function(){this.currentAjax&&(this.currentAjax.xhr.abort(),this.currentAjax=null)},clearTmpEvents:function(){this.tmpEvents.forEach((function(t){t.un()}))},empty:function(){this.backend.isPaused()||(this.stop(),this.backend.disconnectSource()),this.cancelAjax(),this.clearTmpEvents(),this.drawer.progress(0),this.drawer.setWidth(0),this.drawer.drawPeaks({length:this.drawer.getWidth()},0)},destroy:function(){this.fireEvent("destroy"),this.cancelAjax(),this.clearTmpEvents(),this.unAll(),this.backend.destroy(),this.drawer.destroy(),this.isDestroyed=!0},create:function(e){var n=Object.create(t);return n.init(e),n}};return t.util={requestAnimationFrame:(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,e){setTimeout(t,1e3/60)}).bind(window),frame:function(e){return function(){var n=this,r=arguments;t.util.requestAnimationFrame((function(){e.apply(n,r)}))}},extend:function(t){return Array.prototype.slice.call(arguments,1).forEach((function(e){Object.keys(e).forEach((function(n){t[n]=e[n]}))})),t},debounce:function(t,e,n){var r,o,i,a=function(){i=null,n||t.apply(o,r)};return function(){o=this,r=arguments;var s=n&&!i;clearTimeout(i),(i=setTimeout(a,e))||(i=setTimeout(a,e)),s&&t.apply(o,r)}},min:function(t){var e=1/0;for(var n in t)t[n]<e&&(e=t[n]);return e},max:function(t){var e=-1/0;for(var n in t)t[n]>e&&(e=t[n]);return e},getId:function(){return"wavesurfer_"+Math.random().toString(32).substring(2)},ajax:function(e){var n=Object.create(t.Observer),r=new XMLHttpRequest,o=!1;return r.open(e.method||"GET",e.url,!0),r.responseType=e.responseType||"json",r.addEventListener("progress",(function(t){n.fireEvent("progress",t),t.lengthComputable&&t.loaded==t.total&&(o=!0)})),r.addEventListener("load",(function(t){o||n.fireEvent("progress",t),n.fireEvent("load",t),200==r.status||206==r.status?n.fireEvent("success",r.response,t):n.fireEvent("error",t)})),r.addEventListener("error",(function(t){n.fireEvent("error",t)})),r.send(),n.xhr=r,n}},t.Observer={on:function(t,e){this.handlers||(this.handlers={});var n=this.handlers[t];return n||(n=this.handlers[t]=[]),n.push(e),{name:t,callback:e,un:this.un.bind(this,t,e)}},un:function(t,e){if(this.handlers){var n=this.handlers[t];if(n)if(e)for(var r=n.length-1;r>=0;r--)n[r]==e&&n.splice(r,1);else n.length=0}},unAll:function(){this.handlers=null},once:function(t,e){var n=this,r=function(){e.apply(this,arguments),setTimeout((function(){n.un(t,r)}),0)};return this.on(t,r)},fireEvent:function(t){if(this.handlers){var e=this.handlers[t],n=Array.prototype.slice.call(arguments,1);e&&e.forEach((function(t){t.apply(null,n)}))}}},t.util.extend(t,t.Observer),t.WebAudio={scriptBufferSize:256,PLAYING_STATE:0,PAUSED_STATE:1,FINISHED_STATE:2,supportsWebAudio:function(){return!(!window.AudioContext&&!window.webkitAudioContext)},getAudioContext:function(){return t.WebAudio.audioContext||(t.WebAudio.audioContext=new(window.AudioContext||window.webkitAudioContext)),t.WebAudio.audioContext},getOfflineAudioContext:function(e){return t.WebAudio.offlineAudioContext||(t.WebAudio.offlineAudioContext=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,2,e)),t.WebAudio.offlineAudioContext},init:function(e){this.params=e,this.ac=e.audioContext||this.getAudioContext(),this.lastPlay=this.ac.currentTime,this.startPosition=0,this.scheduledPause=null,this.states=[Object.create(t.WebAudio.state.playing),Object.create(t.WebAudio.state.paused),Object.create(t.WebAudio.state.finished)],this.createVolumeNode(),this.createScriptNode(),this.createAnalyserNode(),this.setState(this.PAUSED_STATE),this.setPlaybackRate(this.params.audioRate),this.setLength(0)},disconnectFilters:function(){this.filters&&(this.filters.forEach((function(t){t&&t.disconnect()})),this.filters=null,this.analyser.connect(this.gainNode))},setState:function(t){this.state!==this.states[t]&&(this.state=this.states[t],this.state.init.call(this))},setFilter:function(){this.setFilters([].slice.call(arguments))},setFilters:function(t){this.disconnectFilters(),t&&t.length&&(this.filters=t,this.analyser.disconnect(),t.reduce((function(t,e){return t.connect(e),e}),this.analyser).connect(this.gainNode))},createScriptNode:function(){this.ac.createScriptProcessor?this.scriptNode=this.ac.createScriptProcessor(this.scriptBufferSize):this.scriptNode=this.ac.createJavaScriptNode(this.scriptBufferSize),this.scriptNode.connect(this.ac.destination)},addOnAudioProcess:function(){var t=this;this.scriptNode.onaudioprocess=function(){var e=t.getCurrentTime();e>=t.getDuration()?(t.setState(t.FINISHED_STATE),t.fireEvent("pause")):e>=t.scheduledPause?t.pause():t.state===t.states[t.PLAYING_STATE]&&t.fireEvent("audioprocess",e)}},removeOnAudioProcess:function(){this.scriptNode.onaudioprocess=null},createAnalyserNode:function(){this.analyser=this.ac.createAnalyser(),this.analyser.connect(this.gainNode)},createVolumeNode:function(){this.ac.createGain?this.gainNode=this.ac.createGain():this.gainNode=this.ac.createGainNode(),this.gainNode.connect(this.ac.destination)},setVolume:function(t){this.gainNode.gain.value=t},getVolume:function(){return this.gainNode.gain.value},decodeArrayBuffer:function(t,e,n){this.offlineAc||(this.offlineAc=this.getOfflineAudioContext(this.ac?this.ac.sampleRate:44100)),this.offlineAc.decodeAudioData(t,function(t){e(t)}.bind(this),n)},setPeaks:function(t){this.peaks=t},setLength:function(t){if(!this.mergedPeaks||t!=2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];for(var e=this.buffer?this.buffer.numberOfChannels:1,n=0;n<e;n++)this.splitPeaks[n]=[],this.splitPeaks[n][2*(t-1)]=0,this.splitPeaks[n][2*(t-1)+1]=0;this.mergedPeaks[2*(t-1)]=0,this.mergedPeaks[2*(t-1)+1]=0}},getPeaks:function(t,e,n){if(this.peaks)return this.peaks;e=e||0,n=n||t-1,this.setLength(t);for(var r=this.buffer.length/t,o=~~(r/10)||1,i=this.buffer.numberOfChannels,a=0;a<i;a++)for(var s=this.splitPeaks[a],u=this.buffer.getChannelData(a),c=e;c<=n;c++){for(var l=~~(c*r),f=~~(l+r),p=0,d=0,h=l;h<f;h+=o){var v=u[h];v>d&&(d=v),v<p&&(p=v)}s[2*c]=d,s[2*c+1]=p,(0==a||d>this.mergedPeaks[2*c])&&(this.mergedPeaks[2*c]=d),(0==a||p<this.mergedPeaks[2*c+1])&&(this.mergedPeaks[2*c+1]=p)}return this.params.splitChannels?this.splitPeaks:this.mergedPeaks},getPlayedPercents:function(){return this.state.getPlayedPercents.call(this)},disconnectSource:function(){this.source&&this.source.disconnect()},destroy:function(){this.isPaused()||this.pause(),this.unAll(),this.buffer=null,this.disconnectFilters(),this.disconnectSource(),this.gainNode.disconnect(),this.scriptNode.disconnect(),this.analyser.disconnect(),this.params.closeAudioContext&&("function"==typeof this.ac.close&&"closed"!=this.ac.state&&this.ac.close(),this.ac=null,this.params.audioContext?this.params.audioContext=null:t.WebAudio.audioContext=null,t.WebAudio.offlineAudioContext=null)},load:function(t){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=t,this.createSource()},createSource:function(){this.disconnectSource(),this.source=this.ac.createBufferSource(),this.source.start=this.source.start||this.source.noteGrainOn,this.source.stop=this.source.stop||this.source.noteOff,this.source.playbackRate.value=this.playbackRate,this.source.buffer=this.buffer,this.source.connect(this.analyser)},isPaused:function(){return this.state!==this.states[this.PLAYING_STATE]},getDuration:function(){return this.buffer?this.buffer.duration:0},seekTo:function(t,e){if(this.buffer)return this.scheduledPause=null,null==t&&(t=this.getCurrentTime())>=this.getDuration()&&(t=0),null==e&&(e=this.getDuration()),this.startPosition=t,this.lastPlay=this.ac.currentTime,this.state===this.states[this.FINISHED_STATE]&&this.setState(this.PAUSED_STATE),{start:t,end:e}},getPlayedTime:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate},play:function(t,e){if(this.buffer){this.createSource();var n=this.seekTo(t,e);t=n.start,e=n.end,this.scheduledPause=e,this.source.start(0,t,e-t),"suspended"==this.ac.state&&this.ac.resume&&this.ac.resume(),this.setState(this.PLAYING_STATE),this.fireEvent("play")}},pause:function(){this.scheduledPause=null,this.startPosition+=this.getPlayedTime(),this.source&&this.source.stop(0),this.setState(this.PAUSED_STATE),this.fireEvent("pause")},getCurrentTime:function(){return this.state.getCurrentTime.call(this)},getPlaybackRate:function(){return this.playbackRate},setPlaybackRate:function(t){t=t||1,this.isPaused()?this.playbackRate=t:(this.pause(),this.playbackRate=t,this.play())}},t.WebAudio.state={},t.WebAudio.state.playing={init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}},t.WebAudio.state.paused={init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var t=this.getDuration();return this.getCurrentTime()/t||0},getCurrentTime:function(){return this.startPosition}},t.WebAudio.state.finished={init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}},t.util.extend(t.WebAudio,t.Observer),t.MediaElement=Object.create(t.WebAudio),t.util.extend(t.MediaElement,{init:function(t){this.params=t,this.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){}},this.mediaType=t.mediaType.toLowerCase(),this.elementPosition=t.elementPosition,this.setPlaybackRate(this.params.audioRate),this.createTimer()},createTimer:function(){var t=this,e=function(){t.isPaused()||(t.fireEvent("audioprocess",t.getCurrentTime()),(window.requestAnimationFrame||window.webkitRequestAnimationFrame)(e))};this.on("play",e)},load:function(t,e,n,r){var o=document.createElement(this.mediaType);o.controls=this.params.mediaControls,o.autoplay=this.params.autoplay||!1,o.preload=null==r?"auto":r,o.src=t,o.style.width="100%";var i=e.querySelector(this.mediaType);i&&e.removeChild(i),e.appendChild(o),this._load(o,n)},loadElt:function(t,e){var n=t;n.controls=this.params.mediaControls,n.autoplay=this.params.autoplay||!1,this._load(n,e)},_load:function(t,e){var n=this;"function"==typeof t.load&&t.load(),t.addEventListener("error",(function(){n.fireEvent("error","Error loading media element")})),t.addEventListener("canplay",(function(){n.fireEvent("canplay")})),t.addEventListener("ended",(function(){n.fireEvent("finish")})),t.addEventListener("play",(function(){n.fireEvent("play")})),t.addEventListener("pause",(function(){n.fireEvent("pause")})),this.media=t,this.peaks=e,this.onPlayEnd=null,this.buffer=null,this.setPlaybackRate(this.playbackRate)},isPaused:function(){return!this.media||this.media.paused},getDuration:function(){var t=(this.buffer||this.media).duration;return t>=1/0&&(t=this.media.seekable.end(0)),t},getCurrentTime:function(){return this.media&&this.media.currentTime},getPlayedPercents:function(){return this.getCurrentTime()/this.getDuration()||0},getPlaybackRate:function(){return this.playbackRate||this.media.playbackRate},setPlaybackRate:function(t){this.playbackRate=t||1,this.media.playbackRate=this.playbackRate},seekTo:function(t){null!=t&&(this.media.currentTime=t),this.clearPlayEnd()},play:function(t,e){this.seekTo(t),this.media.play(),e&&this.setPlayEnd(e)},pause:function(){this.media&&this.media.pause(),this.clearPlayEnd()},setPlayEnd:function(t){var e=this;this.onPlayEnd=function(n){n>=t&&(e.pause(),e.seekTo(t))},this.on("audioprocess",this.onPlayEnd)},clearPlayEnd:function(){this.onPlayEnd&&(this.un("audioprocess",this.onPlayEnd),this.onPlayEnd=null)},getPeaks:function(e,n,r){return this.buffer?t.WebAudio.getPeaks.call(this,e,n,r):this.peaks||[]},getVolume:function(){return this.media.volume},setVolume:function(t){this.media.volume=t},destroy:function(){this.pause(),this.unAll(),this.params.removeMediaElementOnDestroy&&this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}),t.AudioElement=t.MediaElement,t.Drawer={init:function(t,e){this.container=t,this.params=e,this.width=0,this.height=e.height*this.params.pixelRatio,this.lastPos=0,this.initDrawer(e),this.createWrapper(),this.createElements()},createWrapper:function(){this.wrapper=this.container.appendChild(document.createElement("wave")),this.style(this.wrapper,{display:"block",position:"relative",userSelect:"none",webkitUserSelect:"none",height:this.params.height+"px"}),(this.params.fillParent||this.params.scrollParent)&&this.style(this.wrapper,{width:"100%",overflowX:this.params.hideScrollbar?"hidden":"auto",overflowY:"hidden"}),this.setupWrapperEvents()},handleEvent:function(t,e){!e&&t.preventDefault();var n,r=t.targetTouches?t.targetTouches[0].clientX:t.clientX,o=this.wrapper.getBoundingClientRect(),i=this.width,a=this.getWidth();return!this.params.fillParent&&i<a?(n=(r-o.left)*this.params.pixelRatio/i||0)>1&&(n=1):n=(r-o.left+this.wrapper.scrollLeft)/this.wrapper.scrollWidth||0,n},setupWrapperEvents:function(){var t=this;this.wrapper.addEventListener("click",(function(e){var n=t.wrapper.offsetHeight-t.wrapper.clientHeight;if(0!=n){var r=t.wrapper.getBoundingClientRect();if(e.clientY>=r.bottom-n)return}t.params.interact&&t.fireEvent("click",e,t.handleEvent(e))})),this.wrapper.addEventListener("scroll",(function(e){t.fireEvent("scroll",e)}))},drawPeaks:function(t,e,n,r){this.setWidth(e)||this.clearWave(),this.params.barWidth?this.drawBars(t,0,n,r):this.drawWave(t,0,n,r)},style:function(t,e){return Object.keys(e).forEach((function(n){t.style[n]!==e[n]&&(t.style[n]=e[n])})),t},resetScroll:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)},recenter:function(t){var e=this.wrapper.scrollWidth*t;this.recenterOnPosition(e,!0)},recenterOnPosition:function(t,e){var n=this.wrapper.scrollLeft,r=~~(this.wrapper.clientWidth/2),o=t-r,i=o-n,a=this.wrapper.scrollWidth-this.wrapper.clientWidth;0!=a&&(!e&&-r<=i&&i<r&&(o=n+(i=Math.max(-5,Math.min(5,i)))),(o=Math.max(0,Math.min(a,o)))!=n&&(this.wrapper.scrollLeft=o))},getScrollX:function(){return Math.round(this.wrapper.scrollLeft*this.params.pixelRatio)},getWidth:function(){return Math.round(this.container.clientWidth*this.params.pixelRatio)},setWidth:function(t){return this.width!=t&&(this.width=t,this.params.fillParent||this.params.scrollParent?this.style(this.wrapper,{width:""}):this.style(this.wrapper,{width:~~(this.width/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},setHeight:function(t){return t!=this.height&&(this.height=t,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},progress:function(t){var e=1/this.params.pixelRatio,n=Math.round(t*this.width)*e;if(n<this.lastPos||n-this.lastPos>=e){if(this.lastPos=n,this.params.scrollParent&&this.params.autoCenter){var r=~~(this.wrapper.scrollWidth*t);this.recenterOnPosition(r)}this.updateProgress(n)}},destroy:function(){this.unAll(),this.wrapper&&(this.wrapper.parentNode==this.container&&this.container.removeChild(this.wrapper),this.wrapper=null)},initDrawer:function(){},createElements:function(){},updateCursor:function(){},updateSize:function(){},drawWave:function(t,e){},clearWave:function(){},updateProgress:function(t){}},t.util.extend(t.Drawer,t.Observer),t.Drawer.Canvas=Object.create(t.Drawer),t.util.extend(t.Drawer.Canvas,{createElements:function(){var t=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:0,top:0,bottom:0,pointerEvents:"none"}));if(this.waveCc=t.getContext("2d"),this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.updateCursor(),this.params.waveColor!=this.params.progressColor){var e=this.progressWave.appendChild(document.createElement("canvas"));this.progressCc=e.getContext("2d")}},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){var t=Math.round(this.width/this.params.pixelRatio);this.waveCc.canvas.width=this.width,this.waveCc.canvas.height=this.height,this.style(this.waveCc.canvas,{width:t+"px"}),this.style(this.progressWave,{display:"block"}),this.progressCc&&(this.progressCc.canvas.width=this.width,this.progressCc.canvas.height=this.height,this.style(this.progressCc.canvas,{width:t+"px"})),this.clearWave()},clearWave:function(){this.waveCc.clearRect(0,0,this.width,this.height),this.progressCc&&this.progressCc.clearRect(0,0,this.width,this.height)},drawBars:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawBars(t,e,r,o)}));e=a[0]}var s=1;[].some.call(e,(function(t){return t<0}))&&(s=2);var u=.5/this.params.pixelRatio,c=this.width,l=this.params.height*this.params.pixelRatio,f=l*n||0,p=l/2,d=e.length/s,h=this.params.barWidth*this.params.pixelRatio,v=Math.max(this.params.pixelRatio,~~(h/2)),g=h+v,y=1/this.params.barHeight;if(this.params.normalize){var m=t.util.max(e),b=t.util.min(e);y=-b>m?-b:m}var w=d/c;this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t)for(var n=r/w;n<o/w;n+=g){var i=e[Math.floor(n*w*s)]||0,a=Math.round(i/y*p);t.fillRect(n+u,p-a+f,h+u,2*a)}}),this)})),drawWave:t.util.frame((function(e,n,r,o){var i=this;if(e[0]instanceof Array){var a=e;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(t,e){i.drawWave(t,e,r,o)}));e=a[0]}if(![].some.call(e,(function(t){return t<0}))){for(var s=[],u=0,c=e.length;u<c;u++)s[2*u]=e[u],s[2*u+1]=-e[u];e=s}var l=.5/this.params.pixelRatio,f=this.params.height*this.params.pixelRatio,p=f*n||0,d=f/2,h=~~(e.length/2),v=1;this.params.fillParent&&this.width!=h&&(v=this.width/h);var g=1/this.params.barHeight;if(this.params.normalize){var y=t.util.max(e),m=t.util.min(e);g=-m>y?-m:y}this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(t){if(t){for(t.beginPath(),t.moveTo(r*v+l,d+p),n=r;n<o;n++)i=Math.round(e[2*n]/g*d),t.lineTo(n*v+l,d-i+p);for(var n=o-1;n>=r;n--){var i=Math.round(e[2*n+1]/g*d);t.lineTo(n*v+l,d-i+p)}t.closePath(),t.fill(),t.fillRect(0,d+p-l,this.width,l)}}),this)})),updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){return this.waveCc.canvas.toDataURL(t,e)}}),t.Drawer.MultiCanvas=Object.create(t.Drawer),t.util.extend(t.Drawer.MultiCanvas,{initDrawer:function(t){if(this.maxCanvasWidth=null!=t.maxCanvasWidth?t.maxCanvasWidth:4e3,this.maxCanvasElementWidth=Math.round(this.maxCanvasWidth/this.params.pixelRatio),this.maxCanvasWidth<=1)throw"maxCanvasWidth must be greater than 1.";if(this.maxCanvasWidth%2==1)throw"maxCanvasWidth must be an even number.";this.hasProgressCanvas=this.params.waveColor!=this.params.progressColor,this.halfPixel=.5/this.params.pixelRatio,this.canvases=[]},createElements:function(){this.progressWave=this.wrapper.appendChild(this.style(document.createElement("wave"),{position:"absolute",zIndex:2,left:0,top:0,bottom:0,overflow:"hidden",width:"0",display:"none",boxSizing:"border-box",borderRightStyle:"solid",pointerEvents:"none"})),this.addCanvas(),this.updateCursor()},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){for(var t=Math.round(this.width/this.params.pixelRatio),e=Math.ceil(t/this.maxCanvasElementWidth);this.canvases.length<e;)this.addCanvas();for(;this.canvases.length>e;)this.removeCanvas();this.canvases.forEach((function(t,e){var n=this.maxCanvasWidth+2*Math.ceil(this.params.pixelRatio/2);e==this.canvases.length-1&&(n=this.width-this.maxCanvasWidth*(this.canvases.length-1)),this.updateDimensions(t,n,this.height),this.clearWaveForEntry(t)}),this)},addCanvas:function(){var t={},e=this.maxCanvasElementWidth*this.canvases.length;t.wave=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:e+"px",top:0,bottom:0,height:"100%",pointerEvents:"none"})),t.waveCtx=t.wave.getContext("2d"),this.hasProgressCanvas&&(t.progress=this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:e+"px",top:0,bottom:0,height:"100%"})),t.progressCtx=t.progress.getContext("2d")),this.canvases.push(t)},removeCanvas:function(){var t=this.canvases.pop();t.wave.parentElement.removeChild(t.wave),this.hasProgressCanvas&&t.progress.parentElement.removeChild(t.progress)},updateDimensions:function(t,e,n){var r=Math.round(e/this.params.pixelRatio),o=Math.round(this.width/this.params.pixelRatio);t.start=t.waveCtx.canvas.offsetLeft/o||0,t.end=t.start+r/o,t.waveCtx.canvas.width=e,t.waveCtx.canvas.height=n,this.style(t.waveCtx.canvas,{width:r+"px"}),this.style(this.progressWave,{display:"block"}),this.hasProgressCanvas&&(t.progressCtx.canvas.width=e,t.progressCtx.canvas.height=n,this.style(t.progressCtx.canvas,{width:r+"px"}))},clearWave:function(){this.canvases.forEach((function(t){this.clearWaveForEntry(t)}),this)},clearWaveForEntry:function(t){t.waveCtx.clearRect(0,0,t.waveCtx.canvas.width,t.waveCtx.canvas.height),this.hasProgressCanvas&&t.progressCtx.clearRect(0,0,t.progressCtx.canvas.width,t.progressCtx.canvas.height)},drawBars:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawBars(t,e,r,o)}),this);e=i[0]}var a=1;[].some.call(e,(function(t){return t<0}))&&(a=2);var s=this.width,u=this.params.height*this.params.pixelRatio,c=u*n||0,l=u/2,f=e.length/a,p=this.params.barWidth*this.params.pixelRatio,d=p+Math.max(this.params.pixelRatio,~~(p/2)),h=1/this.params.barHeight;if(this.params.normalize){var v=t.util.max(e),g=t.util.min(e);h=-g>v?-g:v}for(var y=f/s,m=r/y;m<o/y;m+=d){var b=e[Math.floor(m*y*a)]||0,w=Math.round(b/h*l);this.fillRect(m+this.halfPixel,l-w+c,p+this.halfPixel,2*w)}})),drawWave:t.util.frame((function(e,n,r,o){if(e[0]instanceof Array){var i=e;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(t,e){this.drawWave(t,e,r,o)}),this);e=i[0]}if(![].some.call(e,(function(t){return t<0}))){for(var a=[],s=0,u=e.length;s<u;s++)a[2*s]=e[s],a[2*s+1]=-e[s];e=a}var c=this.params.height*this.params.pixelRatio,l=c*n||0,f=c/2,p=1/this.params.barHeight;if(this.params.normalize){var d=t.util.max(e),h=t.util.min(e);p=-h>d?-h:d}this.drawLine(e,p,f,l,r,o);var v=e.length>0?0:this.params.fallbackProgressHeight;this.fillRect(0,f+l-this.halfPixel,this.width,this.halfPixel,v)})),drawLine:function(t,e,n,r,o,i){this.canvases.forEach((function(a){this.setFillStyles(a),this.drawLineToContext(a,a.waveCtx,t,e,n,r,o,i),this.drawLineToContext(a,a.progressCtx,t,e,n,r,o,i)}),this)},drawLineToContext:function(t,e,n,r,o,i,a,s){if(e){var u=n.length/2,c=1;this.params.fillParent&&this.width!=u&&(c=this.width/u);var l=Math.round(u*t.start),f=Math.round(u*t.end);if(!(l>s||f<a)){var p=Math.max(l,a),d=Math.min(f,s);for(e.beginPath(),e.moveTo((p-l)*c+this.halfPixel,o+i),g=p;g<d;g++){var h=n[2*g]||0,v=Math.round(h/r*o);e.lineTo((g-l)*c+this.halfPixel,o-v+i)}for(var g=d-1;g>=p;g--)h=n[2*g+1]||0,v=Math.round(h/r*o),e.lineTo((g-l)*c+this.halfPixel,o-v+i);e.closePath(),e.fill()}}},fillRect:function(t,e,n,r,o){o=o||0;for(var i=Math.floor(t/this.maxCanvasWidth),a=Math.min(Math.ceil((t+n)/this.maxCanvasWidth)+1,this.canvases.length),s=i;s<a;s++){var u=this.canvases[s],c=s*this.maxCanvasWidth,l={x1:Math.max(t,s*this.maxCanvasWidth),y1:e,x2:Math.min(t+n,s*this.maxCanvasWidth+u.waveCtx.canvas.width),y2:e+r};l.x1<l.x2&&(this.setFillStyles(u),this.fillRectToContext(u.waveCtx,l.x1-c,l.y1,l.x2-l.x1,l.y2-l.y1),this.fillRectToContext(u.progressCtx,l.x1-c,l.y1-o/2,l.x2-l.x1,l.y2-l.y1+o))}},fillRectToContext:function(t,e,n,r,o){t&&t.fillRect(e,n,r,o)},setFillStyles:function(t){t.waveCtx.fillStyle=this.params.waveColor,this.hasProgressCanvas&&(t.progressCtx.fillStyle=this.params.progressColor)},updateProgress:function(t){this.style(this.progressWave,{width:t+"px"})},getImage:function(t,e){var n=[];return this.canvases.forEach((function(r){n.push(r.wave.toDataURL(t,e))})),n.length>1?n:n[0]}}),t.Drawer.SplitWavePointPlot=Object.create(t.Drawer.Canvas),t.util.extend(t.Drawer.SplitWavePointPlot,{defaultPlotParams:{plotNormalizeTo:"whole",plotTimeStart:0,plotMin:0,plotMax:1,plotColor:"#f63",plotProgressColor:"#F00",plotPointHeight:2,plotPointWidth:2,plotSeparator:!0,plotSeparatorColor:"black",plotRangeDisplay:!1,plotRangeUnits:"",plotRangePrecision:4,plotRangeIgnoreOutliers:!1,plotRangeFontSize:12,plotRangeFontType:"Ariel",waveDrawMedianLine:!0,plotFileDelimiter:"\t"},plotTimeStart:0,plotTimeEnd:-1,plotArrayLoaded:!1,plotArray:[],plotPoints:[],plotMin:0,plotMax:1,initDrawer:function(t){var e=this;for(var n in this.defaultPlotParams)void 0===this.params[n]&&(this.params[n]=this.defaultPlotParams[n]);this.plotTimeStart=this.params.plotTimeStart,void 0!==this.params.plotTimeEnd&&(this.plotTimeEnd=this.params.plotTimeEnd),Array.isArray(t.plotArray)?(this.plotArray=t.plotArray,this.plotArrayLoaded=!0):this.loadPlotArrayFromFile(t.plotFileUrl,(function(t){e.plotArray=t,e.plotArrayLoaded=!0,e.fireEvent("plot_array_loaded")}),this.params.plotFileDelimiter)},drawPeaks:function(t,e,n,r){if(1==this.plotArrayLoaded)this.setWidth(e),this.splitChannels=!0,this.params.height=this.params.height/2,t[0]instanceof Array&&(t=t[0]),this.params.barWidth?this.drawBars(t,1,n,r):this.drawWave(t,1,n,r),this.params.height=2*this.params.height,this.calculatePlots(),this.drawPlots();else{var o=this;o.on("plot-array-loaded",(function(){o.drawPeaks(t,e,n,r)}))}},drawPlots:function(){var t=this.params.height*this.params.pixelRatio/2,e=.5/this.params.pixelRatio;for(var n in this.waveCc.fillStyle=this.params.plotColor,this.progressCc&&(this.progressCc.fillStyle=this.params.plotProgressColor),this.plotPoints){var r=parseInt(n),o=t-this.params.plotPointHeight-this.plotPoints[n]*(t-this.params.plotPointHeight),i=this.params.plotPointHeight;this.waveCc.fillRect(r,o,this.params.plotPointWidth,i),this.progressCc&&this.progressCc.fillRect(r,o,this.params.plotPointWidth,i)}this.params.plotSeparator&&(this.waveCc.fillStyle=this.params.plotSeparatorColor,this.waveCc.fillRect(0,t,this.width,e)),this.params.plotRangeDisplay&&this.displayPlotRange()},displayPlotRange:function(){var t=this.params.plotRangeFontSize*this.params.pixelRatio,e=this.plotMax.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits,n=this.plotMin.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits;this.waveCc.font=t.toString()+"px "+this.params.plotRangeFontType,this.waveCc.fillText(e,3,t),this.waveCc.fillText(n,3,this.height/2)},calculatePlots:function(){this.plotPoints={},this.calculatePlotTimeEnd();for(var t=[],e=-1,n=0,r=99999999999999,o=0,i=99999999999999,a=this.plotTimeEnd-this.plotTimeStart,s=0;s<this.plotArray.length;s++){var u=this.plotArray[s];if(u.value>n&&(n=u.value),u.value<r&&(r=u.value),u.time>=this.plotTimeStart&&u.time<=this.plotTimeEnd){var c=Math.round(this.width*(u.time-this.plotTimeStart)/a);if(t.push(u.value),c!==e&&t.length>0){var l=this.avg(t);l>o&&(o=l),l<i&&(i=l),this.plotPoints[e]=l,t=[]}e=c}}"whole"==this.params.plotNormalizeTo?(this.plotMin=r,this.plotMax=n):"values"==this.params.plotNormalizeTo?(this.plotMin=this.params.plotMin,this.plotMax=this.params.plotMax):(this.plotMin=i,this.plotMax=o),this.normalizeValues()},normalizeValues:function(){var t={};if("none"!==this.params.plotNormalizeTo){for(var e in this.plotPoints){var n=(this.plotPoints[e]-this.plotMin)/(this.plotMax-this.plotMin);n>1?this.params.plotRangeIgnoreOutliers||(t[e]=1):n<0?this.params.plotRangeIgnoreOutliers||(t[e]=0):t[e]=n}this.plotPoints=t}},loadPlotArrayFromFile:function(e,n,r){void 0===r&&(r="\t");var o=[],i={url:e,responseType:"text"};t.util.ajax(i).on("load",(function(t){if(200==t.currentTarget.status){for(var e=t.currentTarget.responseText.split("\n"),i=0;i<e.length;i++){var a=e[i].split(r);2==a.length&&o.push({time:parseFloat(a[0]),value:parseFloat(a[1])})}n(o)}}))},calculatePlotTimeEnd:function(){void 0!==this.params.plotTimeEnd?this.plotTimeEnd=this.params.plotTimeEnd:this.plotTimeEnd=this.plotArray[this.plotArray.length-1].time},avg:function(t){return t.reduce((function(t,e){return t+e}))/t.length}}),t.util.extend(t.Drawer.SplitWavePointPlot,t.Observer),t.PeakCache={init:function(){this.clearPeakCache()},clearPeakCache:function(){this.peakCacheRanges=[],this.peakCacheLength=-1},addRangeToPeakCache:function(t,e,n){t!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=t);for(var r=[],o=0;o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<e;)o++;for(o%2==0&&r.push(e);o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<=n;)r.push(this.peakCacheRanges[o]),o++;o%2==0&&r.push(n),r=r.filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(r),this.peakCacheRanges=this.peakCacheRanges.sort((function(t,e){return t-e})).filter((function(t,e,n){return 0==e?t!=n[e+1]:e==n.length-1?t!=n[e-1]:t!=n[e-1]&&t!=n[e+1]}));var i=[];for(o=0;o<r.length;o+=2)i.push([r[o],r[o+1]]);return i},getCacheRanges:function(){for(var t=[],e=0;e<this.peakCacheRanges.length;e+=2)t.push([this.peakCacheRanges[e],this.peakCacheRanges[e+1]]);return t}},function(){var e=function(){var e=document.querySelectorAll("wavesurfer");Array.prototype.forEach.call(e,(function(e){var n=t.util.extend({container:e,backend:"MediaElement",mediaControls:!0},e.dataset);e.style.display="block";var r=t.create(n);if(e.dataset.peaks)var o=JSON.parse(e.dataset.peaks);r.load(e.dataset.url,o)}))};"complete"===document.readyState?e():window.addEventListener("load",e)}(),t}()}.apply(e,[]))||(t.exports=r)},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],l=!1,f=-1;function p(){l&&u&&(l=!1,u.length?c=u.concat(c):f=-1,c.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=c.length;e;){for(u=c,c=[];++f<e;)u&&u[f].run();f=-1,e=c.length}u=null,l=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||l||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"updatePageAttribute",(function(){return E})),n.d(r,"updatePageLink",(function(){return O})),n.d(r,"updateSetting",(function(){return S}));var o={};n.r(o),n.d(o,"PageWrapper",(function(){return W})),n.d(o,"PageBackground",(function(){return H})),n.d(o,"PageBackgroundImage",(function(){return Cn})),n.d(o,"PageShadow",(function(){return In})),n.d(o,"PageForeground",(function(){return Mn})),n.d(o,"PageContent",(function(){return Fn})),n.d(o,"PageScroller",(function(){return Bn})),n.d(o,"PageHeader",(function(){return Un})),n.d(o,"PageText",(function(){return Wn})),n.d(o,"PageLink",(function(){return Yn})),n.d(o,"PageThumbnail",(function(){return Jn})),n.d(o,"LazyLoadedPageThumbnail",(function(){return Zn})),n.d(o,"PlayerControls",(function(){return Ur})),n.d(o,"CloseButton",(function(){return Vr})),n.d(o,"MenuBar",(function(){return Dr})),n.d(o,"Icon",(function(){return ur})),n.d(o,"editorOnly",(function(){return Gr})),n.d(o,"withVisibilityWatching",(function(){return Br})),n.d(o,"Draggable",(function(){return Er.a})),n.d(o,"Measure",(function(){return xr.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return tn})),n.d(i,"pageAttributes",(function(){return en})),n.d(i,"pageIsActive",(function(){return rn})),n.d(i,"pageIsPrepared",(function(){return an})),n.d(i,"currentParentPageAttributes",(function(){return Kr})),n.d(i,"currentParentChapterAttributes",(function(){return $r})),n.d(i,"t",(function(){return Hr})),n.d(i,"setting",(function(){return Qr})),n.d(i,"file",(function(){return Ye})),n.d(i,"prop",(function(){return Vn})),n.d(i,"widgetAttributes",(function(){return to})),n.d(i,"editingWidget",(function(){return eo}));n(175),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(198),n(199),n(200),n(201),n(202),n(203),n(79),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(225),n(226),n(228),n(229),n(230),n(231),n(232),n(233),n(234),n(235),n(236),n(237),n(238),n(239),n(240),n(241),n(243),n(244),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(257),n(258),n(259),n(260),n(261),n(262),n(263),n(264),n(265),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(291),n(292),n(293),n(294),n(297),n(298),n(299),n(300),n(301),n(302),n(303),n(304),n(305),n(306),n(307),n(308),n(309),n(310),n(311),n(312),n(313),n(314),n(315),n(316),n(317),n(318),n(319),n(157),n(320),n(321),n(322),n(323),n(324),n(325),n(326),n(327),n(328),n(329),n(330),n(331),n(332),n(333),n(334),n(335),n(336),n(337),n(338),n(339),n(340),n(341),n(342),n(343),n(344),n(345),n(347),n(348),n(349),n(350),n(351),n(352),n(353),n(354),n(355),n(356),n(357),n(358),n(359),n(360),n(361),n(362),n(363),n(364),n(365),n(366),n(367),n(368),n(369),n(370),n(371),n(372),n(373),n(374),n(375),n(376),n(377),n(378),n(379),n(380),n(381),n(382),n(383),n(384),n(385),n(386),n(387),n(390),n(164);var a=n(4),s=(n(391),"PAGE_DID_ACTIVATE"),u="PAGE_WILL_ACTIVATE",c="PAGE_DID_DEACTIVATE",l="PAGE_WILL_DEACTIVATE",f="PAGE_DID_PRELOAD",p="PAGE_DID_PREPARE",d="PAGE_SCHEDULE_UNPREPARE",h="PAGE_DID_UNPREPARE",v="PAGE_DID_RESIZE",g="PAGE_ENHANCE",y="PAGE_CLEANUP",m="UPDATE_PAGE_ATTRIBUTE",b="UPDATE_PAGE_LINK";function w(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(h,t)}function E(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.name,r=t.value;return x(m,e,{name:n,value:r})}function O(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.pageId,n=t.linkId,r=t.name,o=t.value;return x(b,e,{linkId:n,name:r,value:o})}function x(t,e){return{type:t,meta:{collectionName:"pages",itemId:e},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var P="SETTINGS_LOAD",k="SETTINGS_UPDATE";function _(t){var e=t.settings;return{type:P,payload:{settings:e}}}function S(t){var e=t.property,n=t.value;return{type:k,payload:{property:e,value:n}}}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function A(t,e,n){return e&&j(t.prototype,e),n&&j(t,n),t}function C(t){return(C="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t){return(I="function"==typeof Symbol&&"symbol"===C(Symbol.iterator)?function(t){return C(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":C(t)})(t)}function M(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function N(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}var L=n(0),B=n.n(L),F=n(5),U=n.n(F),W=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return React.createElement("div",{className:U()("content_and_background",this.props.className)},this.props.children)}}]),e}(L.Component);function H(t){return React.createElement("div",{className:(e=t,n=e.pageHasPlayerControls,U()("page_background",{"page_background-for_page_with_player_controls":n}))},t.children);var e,n}var q=n(169),V=n.n(q);function G(t){return!!V()(t).match(/^\s*$/)}function z(t){return t.replace(/_[a-z]/g,(function(t){return t[1].toUpperCase()}))}z.keys=function(t){return Object.keys(t).reduce((function(e,n){return e[z(n)]=t[n],e}),{})},z.deep=function(t){return Array.isArray(t)?t.map(z.deep):"object"==typeof t&&t?Object.keys(t).reduce((function(e,n){return e[z(n)]=z.deep(t[n]),e}),{}):t},z.concat=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return e.filter((function(t){return t})).reduce((function(t,e){return t+e[0].toUpperCase()+e.slice(1)}))};var Y=z,X=function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Object.keys(t).reduce((function(e,r){return"function"==typeof t[r]?e[r]=t[r].apply(t,n):e[r]=t[r],e}),{})}},$=n(60),K=n(120),Q=Symbol("selectorFactory"),J=Symbol("createSelector");function Z(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return nt((function(t,n){var r=e.slice(0,-1).map(et),o=e.slice(-1)[0],i=K.createSelector.apply(void 0,Object($.a)(r).concat([o]));if(t===J)return i;if(t)return i(t,n);throw"Missing state argument for selector."}))}function tt(t,e){return nt((function(){return Object(K.createStructuredSelector)(function(t){return Object.keys(t).reduce((function(e,n){return e[n]=et(t[n]),e}),{})}((e=t,Object.keys(e).reduce((function(t,n){return"function"==typeof e[n]?t[n]=e[n]:t[n]=function(){return e[n]},t}),{}))));var e}))}function et(t){return"function"==typeof t&&t[Q]?t(J):t}function nt(t){return t[Q]=!0,t}function rt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return e&&e.has(t)}function ot(t){return new Promise((function(e){var n=new Image;n.onload=e,n.onerror=e,n.src=t}))}var it=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(e){return t.element=e}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(t){this.props.loaded&&!t.loaded&&function(t){var e=window.getComputedStyle(t).getPropertyValue("background-image");if(e.match(/^url/))ot(e.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return U()(this.props.className,this.props.loaded?"load_image":null,this.imageCssClass())}},{key:"imageCssClass",value:function(){return["imageFiles"==this.props.fileCollection?"image":"video_poster",this.props.fileId||"none"].join("_")}},{key:"style",value:function(){return{backgroundPosition:"".concat(this.positionCoordinate(0),"% ").concat(this.positionCoordinate(1),"%")}}},{key:"positionCoordinate",value:function(t){var e=this.props.position[t];return void 0===e?50:e}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var t=this.props.structuredDataComponent;return B.a.createElement(t,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),e}(B.a.Component);it.defaultProps={position:[50,50],fileCollection:"imageFiles"};var at=n(17),st=Object(at.c)({isPreloaded:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return t}},isPrepared:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case u:return!0;case h:return!1;default:return t}},isActive:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case u:return!0;case l:return!1;default:return t}},isActivated:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case s:return!0;case l:return!1;default:return t}},initialScrollerPosition:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case u:return e.payload.position||"top";case l:return null;default:return t}}});var ut="COLLECTION_RESET",ct="COLLECTION_ADD",lt="COLLECTION_CHANGE",ft="COLLECTION_REMOVE",pt="COLLECTION_ORDER";function dt(t){var e=t.collectionName,n=t.items;return{type:ut,meta:{collectionName:e},payload:{collectionName:e,items:n}}}function ht(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ct,meta:{collectionName:e},payload:{attributes:n,order:r}}}function vt(t){var e=t.collectionName,n=t.attributes;return{type:lt,meta:{collectionName:e},payload:{attributes:n}}}function gt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ct:case lt:return e.payload.attributes;default:return t}}function yt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function mt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?yt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):yt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var bt=function(t){var e={};function n(n){return e[n]=e[n]||Object(at.c)({attributes:gt,state:Object(at.c)({custom:t[n]||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t},common:st})}),e[n]}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,o=gt(t.attributes,e);return n(o.type)(r(t,t.attributes,o),e)};function r(t,e,n){return e&&e.type!==n.type?mt({},t,{state:mt({},t.state,{custom:void 0})}):t}},wt=n(2),Et=n.n(wt),Ot=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(e){if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));e=e[n]}return e[t].items||{}}};function xt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Pt(t,e,n){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?xt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):xt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,Object(a.a)({},kt(e),n))}function kt(t){return"__".concat(t,"_connectedId")}var _t=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.namespace;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=e.id;return function(e,o){var i=r,a=e;if(n){if(!e[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=e[n]}if(!a[t])throw new Error("Cannot select from unknown collection ".concat(t,"."));return"function"==typeof r&&(i=r(e,o)),(i=i||e[kt(t)])?a[t].items[i]:null}}};function St(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?St(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):St(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var jt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.idAttribute,r=void 0===n?"id":n,o=e.itemReducer,i=void 0===o?gt:o,s={order:[],items:{}};return function(){var e,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,u=arguments.length>1?arguments[1]:void 0;if(!u.meta||u.meta.collectionName!=t)return o;switch(u.type){case ut:return{order:u.payload.items.map((function(t){return t[r]})),items:u.payload.items.reduce((function(t,e){return t[e[r]]=i(void 0,ht({collectioName:u.payload.collectioName,attributes:e})),t}),{})};case ct:return{order:u.payload.order,items:Tt({},o.items,Object(a.a)({},u.payload.attributes[r],i(void 0,u)))};case lt:return n=u.payload.attributes[r],{order:o.order,items:Tt({},o.items,Object(a.a)({},n,i(o.items[n],u)))};case ft:return n=u.payload.attributes[r],delete(e=Tt({},o.items))[n],{order:u.payload.order,items:e};case pt:return{items:o.items,order:u.payload.order};default:if(u.meta.itemId){var c=o.items[u.meta.itemId],l=i(c,u);if(l!==c)return{order:o.order,items:Tt({},o.items,Object(a.a)({},u.meta.itemId,l))}}return o}}};function At(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ct(t,e,n){t.meta&&t.meta.collectionName==e&&!t.meta.itemId&&(t.meta=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?At(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):At(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t.meta,{itemId:n}))}function It(t,e){return t.meta&&t.meta.collectionName==e}function Mt(t){return t.meta&&t.meta.itemId}var Rt=n(3),Dt=n(7);function Nt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Lt=n(28),Bt=n.n(Lt),Ft=Bt.a.shape({trySubscribe:Bt.a.func.isRequired,tryUnsubscribe:Bt.a.func.isRequired,notifyNestedSubs:Bt.a.func.isRequired,isSubscribed:Bt.a.func.isRequired}),Ut=Bt.a.shape({subscribe:Bt.a.func.isRequired,dispatch:Bt.a.func.isRequired,getState:Bt.a.func.isRequired});B.a.forwardRef;var Wt=function(t){var e;void 0===t&&(t="store");var n=t+"Subscription",r=function(e){Nt(o,e);var r=o.prototype;function o(n,r){var o;return(o=e.call(this,n,r)||this)[t]=n.store,o}return r.getChildContext=function(){var e;return(e={})[t]=this[t],e[n]=null,e},r.render=function(){return L.Children.only(this.props.children)},o}(L.Component);return r.propTypes={store:Ut.isRequired,children:Bt.a.element.isRequired},r.childContextTypes=((e={})[t]=Ut.isRequired,e[n]=Ft,e),r}();function Ht(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qt(){return(qt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Vt(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}var Gt=n(172),zt=n.n(Gt),Yt=n(96),Xt=n.n(Yt),$t=n(119),Kt=null,Qt={notify:function(){}};var Jt=function(){function t(t,e,n){this.store=t,this.parentSub=e,this.onStateChange=n,this.unsubscribe=null,this.listeners=Qt}var e=t.prototype;return e.addNestedSub=function(t){return this.trySubscribe(),this.listeners.subscribe(t)},e.notifyNestedSubs=function(){this.listeners.notify()},e.isSubscribed=function(){return Boolean(this.unsubscribe)},e.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var t=[],e=[];return{clear:function(){e=Kt,t=Kt},notify:function(){for(var n=t=e,r=0;r<n.length;r++)n[r]()},get:function(){return e},subscribe:function(n){var r=!0;return e===t&&(e=t.slice()),e.push(n),function(){r&&t!==Kt&&(r=!1,e===t&&(e=t.slice()),e.splice(e.indexOf(n),1))}}}}())},e.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Qt)},t}(),Zt=void 0!==B.a.forwardRef,te=0,ee={};function ne(){}function re(t,e){var n,r;void 0===e&&(e={});var o=e,i=o.getDisplayName,a=void 0===i?function(t){return"ConnectAdvanced("+t+")"}:i,s=o.methodName,u=void 0===s?"connectAdvanced":s,c=o.renderCountProp,l=void 0===c?void 0:c,f=o.shouldHandleStateChanges,p=void 0===f||f,d=o.storeKey,h=void 0===d?"store":d,v=o.withRef,g=void 0!==v&&v,y=Vt(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=te++,w=((n={})[h]=Ut,n[m]=Ft,n),E=((r={})[m]=Ft,r);return function(e){Xt()(Object($t.isValidElementType)(e),"You must pass a component to the function returned by "+u+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",r=a(n),o=qt({},y,{getDisplayName:a,methodName:u,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:e}),i=function(n){function i(t,e){var o;return(o=n.call(this,t,e)||this).version=b,o.state={},o.renderCount=0,o.store=t[h]||e[h],o.propsMode=Boolean(t[h]),o.setWrappedInstance=o.setWrappedInstance.bind(Ht(Ht(o))),Xt()(o.store,'Could not find "'+h+'" in either the context or props of "'+r+'". Either wrap the root component in a <Provider>, or explicitly pass "'+h+'" as a prop to "'+r+'".'),o.initSelector(),o.initSubscription(),o}Nt(i,n);var a=i.prototype;return a.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[m]=e||this.context[m],t},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(t){this.selector.run(t)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=ne,this.store=null,this.selector.run=ne,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return Xt()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+u+"() call."),this.wrappedInstance},a.setWrappedInstance=function(t){this.wrappedInstance=t},a.initSelector=function(){var e=t(this.store.dispatch,o);this.selector=function(t,e){var n={run:function(r){try{var o=t(e.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(t){n.shouldComponentUpdate=!0,n.error=t}}};return n}(e,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var t=(this.propsMode?this.props:this.context)[m];this.subscription=new Jt(this.store,t,this.onStateChange.bind(this)),this.notifyNestedSubs=this.subscription.notifyNestedSubs.bind(this.subscription)}},a.onStateChange=function(){this.selector.run(this.props),this.selector.shouldComponentUpdate?(this.componentDidUpdate=this.notifyNestedSubsOnComponentDidUpdate,this.setState(ee)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(t){if(!(g||l||this.propsMode&&this.subscription))return t;var e=qt({},t);return g&&(e.ref=this.setWrappedInstance),l&&(e[l]=this.renderCount++),this.propsMode&&this.subscription&&(e[m]=this.subscription),e},a.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(L.createElement)(e,this.addExtraProps(t.props))},i}(L.Component);return Zt&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=e,i.displayName=r,i.childContextTypes=E,i.contextTypes=w,i.propTypes=w,zt()(i,e)}}var oe=Object.prototype.hasOwnProperty;function ie(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function ae(t,e){if(ie(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!oe.call(e,n[o])||!ie(t[n[o]],e[n[o]]))return!1;return!0}function se(t){return function(e,n){var r=t(e,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ue(t){return null!==t.dependsOnOwnProps&&void 0!==t.dependsOnOwnProps?Boolean(t.dependsOnOwnProps):1!==t.length}function ce(t,e){return function(e,n){n.displayName;var r=function(t,e){return r.dependsOnOwnProps?r.mapToProps(t,e):r.mapToProps(t)};return r.dependsOnOwnProps=!0,r.mapToProps=function(e,n){r.mapToProps=t,r.dependsOnOwnProps=ue(t);var o=r(e,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ue(o),o=r(e,n)),o},r}}var le=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?se((function(e){return Object(at.b)(t,e)})):void 0}];var fe=[function(t){return"function"==typeof t?ce(t):void 0},function(t){return t?void 0:se((function(){return{}}))}];function pe(t,e,n){return qt({},n,t,e)}var de=[function(t){return"function"==typeof t?function(t){return function(e,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(e,n,s){var u=t(e,n,s);return a?o&&i(u,r)||(r=u):(a=!0,r=u),r}}}(t):void 0},function(t){return t?void 0:function(){return pe}}];function he(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function ve(t,e,n,r,o){var i,a,s,u,c,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),y=!l(o,i);return i=o,a=d,g&&y?(s=t(i,a),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):g?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(u=e(r,a)),c=n(s,u,a)):y?(h=t(i,a),v=!p(h,s),s=h,v&&(c=n(s,u,a)),c):c}return function(o,l){return d?h(o,l):(s=t(i=o,a=l),u=e(r,a),c=n(s,u,a),d=!0,c)}}function ge(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=Vt(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,i),s=r(t,i),u=o(t,i);return(i.pure?ve:he)(a,s,u,t,i)}function ye(t,e,n){for(var r=e.length-1;r>=0;r--){var o=e[r](t);if(o)return o}return function(e,r){throw new Error("Invalid value of type "+typeof t+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function me(t,e){return t===e}var be,we,Ee,Oe,xe,Pe,ke,_e,Se,Te,je,Ae,Ce=(Ee=(we=void 0===be?{}:be).connectHOC,Oe=void 0===Ee?re:Ee,xe=we.mapStateToPropsFactories,Pe=void 0===xe?fe:xe,ke=we.mapDispatchToPropsFactories,_e=void 0===ke?le:ke,Se=we.mergePropsFactories,Te=void 0===Se?de:Se,je=we.selectorFactory,Ae=void 0===je?ge:je,function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,u=void 0===s?me:s,c=o.areOwnPropsEqual,l=void 0===c?ae:c,f=o.areStatePropsEqual,p=void 0===f?ae:f,d=o.areMergedPropsEqual,h=void 0===d?ae:d,v=Vt(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=ye(t,Pe,"mapStateToProps"),y=ye(e,_e,"mapDispatchToProps"),m=ye(n,Te,"mergeProps");return Oe(Ae,qt({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:u,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Ie(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Me=function(t){var e=function(e){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,e),A(n,[{key:"getChildContext",value:function(){return Object(a.a)({},kt(t),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(B.a.Component);return e.childContextTypes=Object(a.a)({},kt(t),B.a.PropTypes.number),e};function Re(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var De=function(t,e,n){var r=Y.deep(t.reduce((function(t,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];t[r]=e[o]}else t[n]=e[n];return t}),{}));return n?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Re(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Re(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},r,{},Y.deep(n)):r},Ne=function(t){var e=t.collection,n=t.dispatch,r=t.collectionName,o=t.idAttribute,i=void 0===o?"id":o,a=t.attributes,s=void 0===a?["id"]:a,u=t.includeConfiguration,c=void 0!==u&&u;n(dt({collectionName:r,items:e.map(f)})),e.on("add",(function(t){t.isNew()||n(ht({collectionName:r,attributes:f(t)}))})),e.on("change:id",(function(t){n(ht({collectionName:r,attributes:f(t),order:e.pluck(i)}))})),e.on("change",(function(t){(function(t){return l.some((function(e){return t.hasChanged(e)}))})(t)&&n(vt({collectionName:r,attributes:f(t)}))})),c&&e.on("change:configuration",(function(t){n(vt({collectionName:r,attributes:f(t)}))})),e.on("remove",(function(t){setTimeout((function(){n(function(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:ft,meta:{collectionName:e},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(t),order:e.pluck(i)}))}),0)})),e.on("sort",(function(){n(function(t){var e=t.collectionName,n=t.order;return{type:pt,meta:{collectionName:e},payload:{order:n}}}({collectionName:r,order:e.pluck(i)}))}));var l=s.map((function(t){return"object"==typeof t?function(t){return t[Object.keys(t)[0]]}(t):t}));function f(t){return De(s,t.attributes,c&&t.configuration.attributes)}},Le=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.attributes,i=void 0===o?["id"]:o,a=t.includeConfiguration,s=void 0!==a&&a;r(dt({collectionName:n,items:e.map((function(t){return De(i,t,s&&t.configuration)}))}))},Be=n(50),Fe=n.n(Be),Ue=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.idAttribute,i=t.attributes,a=t.includeConfiguration;(Fe.a.Collection&&e instanceof Fe.a.Collection?Ne:Le)({collection:e,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function We(t){var e=t.candidates,n=t.page,r=t.fileExists;return e.find((function(t){if(t.condition&&!function(t,e){var n=e[Y(t.attribute)];return t.negated?n!=t.value:n==t.value}(t.condition,n))return!1;var e=He(n,t);return r(Y(t.collectionName),e)}))}function He(t,e){return"id"in e?e.id:t[Y(e.attribute)]}function qe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Ve=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("No file url templates found for ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qe(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({urls:(e.variants||Object.keys(n[t])).reduce((function(r,o){var i=function(t,e,n,r){var o=r[t][n];if(o)return o.replace(":id_partition",(i=e.id,function(t,e){return t.replace(/./g,(function(t,e,n){return e&&(n.length-e)%3==0?"/"+t:t}))}((a=i,s=9,(Array(s).fill(0).join("")+a).slice(-s))))).replace(":basename",e.basename);var i,a,s}(t,e,o,n);return i&&(r[o]=i),r}),{})},e)};function Ge(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var ze=function(t,e,n){if(!e)return null;if(!n[t])throw new Error("Could not find model type for collection name ".concat(t));return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ge(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ge(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{collectionName:t,modelType:n[t]})};function Ye(t,e){return Z(_t(t,{namespace:"files"})(e),(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r){return $e(t,e,n,r)}))}function Xe(){return Z((function(t){return t.files}),(function(t){return function(e,n){return n&&!!_t(e)({id:n})(t)}}))}function $e(t,e,n,r){return ze(t,Ve(t,e,n),r)}function Ke(t){var e=t.page;return function(t,n){var r="function"==typeof e?e(n):e;return r?t.pageTypes[Y(r.type)]:null}}var Qe=_t("pages"),Je=function(t){var e=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(e){if(!n[e])throw new Error("Cannot select from unknown namespace ".concat(e,"."));n=n[e]}var r=n[t];return r.items[r.order[0]]}}("pages");function Ze(t){return Z(Je,(function(e){return e&&e.attributes[t]}))}function tn(t,e){return Z(Qe(e),(function(e){return e&&e.attributes[t]}))}function en(t){return Z(Qe(t),(function(t){return t&&t.attributes}))}function nn(t,e){return Z(Qe(e),(function(e){return e&&e.state.custom[t]}))}function rn(t){return sn("isActive",t)}function on(t){return sn("isPreloaded",t)}function an(t){return sn("isPrepared",t)}function sn(t,e){return Z(Qe(e),(function(e){return e&&e.state.common[t]}))}var un=Et.a.mark(ln),cn=Et.a.mark(fn);function ln(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeLatest)([d,p,u],fn);case 2:case"end":return t.stop()}}),un)}function fn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.type!=d){e.next=5;break}return e.next=3,Object(Rt.call)(Dt.delay,5e3);case 3:return e.next=5,Object(Rt.put)(w());case 5:case"end":return e.stop()}}),cn)}var pn=Et.a.mark(dn);function dn(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof Fe.a.Collection){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(Dt.takeEvery)(m,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(vn,{pagesCollection:t,id:Mt(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(Dt.takeEvery)(b,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(hn,{pagesCollection:t,pageId:Mt(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),pn)}function hn(t){var e=t.pagesCollection,n=t.pageId,r=t.linkId,o=t.name,i=t.value,a=gn(e,n).pageLinks().get(r);if(!a)throw new Error("Could not find page link with id ".concat(r," in page with perma id ").concat(n,"."));a.set(o,i)}function vn(t){var e=t.pagesCollection,n=t.id,r=t.name,o=t.value;gn(e,n).configuration.set(r,o)}function gn(t,e){var n=t.where({perma_id:e})[0];if(!n)throw new Error("Could not find page with perma id ".concat(e,"."));return n}var yn=function(t){var e=t.pages,n=t.pageTypeSagas;return(Et.a.mark((function t(){var r;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(ln(),"t0",1);case 1:return t.delegateYield(dn(e),"t1",2);case 2:return t.next=4,Object(Dt.takeEvery)(g,Et.a.mark((function t(){var e,o;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("type"));case 2:if(e=t.sent,!(o=n[e])){t.next=8;break}return t.next=7,Object(Rt.fork)(o);case 7:r=t.sent;case 8:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(Dt.takeEvery)(y,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=3;break}return t.next=3,Object(Rt.cancel)(r);case 3:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),t)})))},mn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),e}(B.a.Component);mn.childContextTypes={mediaContext:B.a.PropTypes.object};var bn=n(42),wn=n.n(bn),En=Me("pages"),On=function(t){var e=t.Component,n=t.store,r=t.selectTargetElement,o=void 0===r?function(t){return t[0]}:r;return{scroller:!1,enhance:function(t,r){wn.a.render(B.a.createElement(Wt,{store:n},B.a.createElement(En,{itemId:xn(t)},B.a.createElement(mn,{mediaContext:{page:t.page("instance")}},B.a.createElement(e,null)))),o(t)),n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(g,t)}({id:xn(t)}))},preload:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(f,t)}({id:xn(t)}))},prepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(p,t)}({id:xn(t)}))},unprepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(d,t)}({id:xn(t)}))},activating:function(t,e,r){n.dispatch(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.id,n=t.position;return x(u,e,{position:n})}({id:xn(t),position:r.position}))},activated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(s,t)}({id:xn(t)}))},deactivating:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(l,t)}({id:xn(t)}))},deactivated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(c,t)}({id:xn(t)}))},resize:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(v,t)}({id:xn(t)}))},update:function(t,e){pageflow.commonPageCssClasses.updateCommonPageCssClasses(t,e)},cleanup:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(y,t)}({id:xn(t)})),wn.a.unmountComponentAtNode(t[0])}}};function xn(t){return parseInt(t.attr("id"),10)}function Pn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function kn(t,e){return Object.keys(e).reduce((function(n,r){return"function"==typeof t[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return t[r].apply(this,o),e[r].apply(this,o)}:n[r]=e[r],n}),function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pn(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}var _n,Sn,Tn={init:function(t){var e=t.pages,n=t.dispatch;Ue({collection:e,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(t){var e=t.pageTypes,n=(void 0===e?[]:e).reduce((function(t,e){var n=e.name,r=e.reducer;return t[n]=r,t}),{});return{pages:jt("pages",{idAttribute:"permaId",itemReducer:bt(n)})}},createMiddleware:function(){return function t(e){var n,r=e.getState,o=e.dispatch,i=(n=[],{subscribe:function(t){return n.push(t),function(){return function(t,e){var n=t.indexOf(e);n>=0&&t.splice(n,1)}(n,t)}},emit:function(t){for(var e=n.slice(),r=0,o=e.length;r<o;r++)e[r](t)}});return t.getState=r,t.dispatch=o,t.subscribe=i.subscribe,function(t){return function(e){var n=t(e);return i.emit(e),n}}}},createSaga:function(t){var e=t.pages,n=t.pageTypes,r=void 0===n?[]:n,o=t.middleware,i=r.reduce((function(t,e){var n=e.name,r=e.saga;return t[n]=r,t}),{});return function(t,e){var n=Et.a.mark(l),r=Et.a.mark(f),o=Et.a.mark(p),i=Et.a.mark(d),a=Et.a.mark(h),s=e.itemSaga,u=e.middleware,c=Ot(t);return l;function l(){var t;return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,Object(Dt.takeEvery)([ut,ct,ft],f,t);case 3:case"end":return e.stop()}}),n)}function f(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Rt.select)(c);case 2:return e=n.sent,n.delegateYield(p(e,t),"t0",4);case 4:return n.delegateYield(d(e,t),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(t,e){return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(e).map((function(n){if(!(n in t))return Object(Rt.cancel)(e[n])}));case 2:case"end":return n.stop()}}),o)}function d(t,e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(t).map((function(t){if(!e[t])return Object(Rt.fork)(h,parseInt(t,10))}));case 2:n=r.sent,Object.keys(t).forEach((function(t,r){e[t]||(e[t]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(e){var n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(Dt.runSaga)(s(),{subscribe:function(n){return u.subscribe((function(r){It(r,t)&&Mt(r)!=e||n(r)}))},dispatch:function(n){Ct(n,t,e),u.dispatch(n)},getState:function(){return Pt(u.getState(),t,e)}}),r.prev=1,r.next=4,Object(Rt.call)((function(){return n.done}));case 4:return r.prev=4,n.cancel(),r.finish(4);case 7:case"end":return r.stop()}}),a,null,[[1,,4,7]])}}("pages",{itemSaga:yn({pages:e,pageTypeSagas:i}),middleware:o})}},jn=(Sn=kt(_n="pages"),function(t,e,n){var r=Ce(t?function(e,n){var r=t(Pt(e,_n,n[Sn]),n);return"function"==typeof r?function(t,e){return r(Pt(t,_n,e[Sn]),e)}:r}:null,e?function(t,n){var r=function(e){return Ct(e,_n,n[Sn]),t(e)};return"function"==typeof e?e(r,n):Object(at.b)(e,r)}:null,n);return function(t){var e=r(t),n=function(t){function n(){return T(this,n),M(this,R(n).apply(this,arguments))}return N(n,t),A(n,[{key:"render",value:function(){var t=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ie(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ie(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.props,Object(a.a)({},Sn,this.context[Sn]));return B.a.createElement(e,t)}}]),n}(B.a.Component);return n.contextTypes=Object(a.a)({},Sn,B.a.PropTypes.number),n}});var An=jn(tt({loaded:on()}))(it),Cn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page,e=Y.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return B.a.createElement(An,{fileId:t["".concat(e,"Id")],fileCollection:this.props.fileCollection,position:[t["".concat(e,"X")],t["".concat(e,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),e}(B.a.Component);Cn.defaultProps={propertyBaseName:"backgroundImage"};var In=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("div",{className:"shadow_wrapper"},B.a.createElement("div",{className:U()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),e}(B.a.Component),Mn=function(t){return B.a.createElement("div",{className:"content",onTouchStart:t.onInteraction,onMouseMove:t.onInteraction},t.children)},Rn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(e){return t.wrapperElement=e}},React.createElement("div",{ref:function(e){return t.scrollerElement=e},className:U()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var t=jQuery(this.scrollerElement);t.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=t.scroller("instance")}}},{key:"componentDidUpdate",value:function(){this.scroller.refresh()}},{key:"enable",value:function(){this.scroller.enable(),this.scroller.afterAnimationHook()}},{key:"disable",value:function(){this.scroller.disable()}},{key:"resetPosition",value:function(t){this.scroller.resetPosition(t)}}]),e}(L.Component),Dn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillReceiveProps",value:function(t){!this.props.enabled&&t.enabled?this.refs.scroller.enable():this.props.enabled&&!t.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==t.initialScrollerPosition&&t.initialScrollerPosition&&this.refs.scroller.resetPosition({position:t.initialScrollerPosition})}},{key:"getChildContext",value:function(){var t=this;return this._pageScroller=this._pageScroller||{disable:function(){t.refs.scroller.disable()},enable:function(){t.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return B.a.createElement(Rn,{ref:"scroller",className:(t=this.props,U()(t.className,{"scroller-clipped_bottom":!!t.marginBottom})),style:Nn(this.props)},B.a.createElement("div",{className:"content_wrapper"},this.props.children));var t}}]),e}(B.a.Component);function Nn(t){if(t.marginBottom)return{bottom:t.marginBottom}}Dn.childContextTypes={pageScroller:B.a.PropTypes.object};var Ln,Bn=jn(tt({enabled:sn("isActivated",Ln),initialScrollerPosition:function(t){return sn("initialScrollerPosition",t)}()}))(Dn),Fn=function(t){return React.createElement(Mn,null,React.createElement(Bn,null,t.children))},Un=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("h3",{className:"page_header"},B.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),B.a.createElement("span",{className:"page_header-title"},this.props.page.title),B.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),e}(B.a.Component);function Wn(t){return B.a.createElement("div",{className:Hn(t)},B.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:qn(t)}),t.children)}function Hn(t){return U()("page_text",Object(a.a)({},"page_text-margin_".concat(t.marginBottom),t.marginBottom!=Wn.defaultProps.marginBottom))}function qn(t){return{__html:t.page.text}}function Vn(t){return function(e,n){var r=t.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(t,e){return t&&t[e]}),n)}}function Gn(t){return function(e,n,r){return rt(t,r)}}Wn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var zn=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){return B.a.createElement("a",{href:this._href(),className:this.props.className,onClick:this._handleClick.bind(this)},this.props.children)}},{key:"_href",value:function(){return this._targetPage()?"#"+this._targetPage().permaId:"#missing"}},{key:"_handleClick",value:function(t){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),t.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),e}(B.a.Component),Yn=Ce(tt({targetPage:en({id:Vn("pageLink.targetPageId")})}))(zn);function Xn(t){return React.createElement("div",{className:$n(t)})}function $n(t){return U()({load_image:t.lazy&&t.loaded},t.className,(e=t.pageType)?"is_".concat(e.name):"is_dangling",function(t){var e=We({candidates:Kn(t),page:t.page,fileExists:t.fileExists});if(e)return function(t,e){return[t.lazy?"lazy":null,e.cssClassPrefix,t.imageStyle,He(t.page,e)].filter(Boolean).join("_")}(t,e)}(t));var e}function Kn(t){return[Qn(t)].concat(Object($.a)((e=t.pageType)?e.thumbnailCandidates:[]));var e}function Qn(t){return{id:t.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}Xn.defaultProps={imageStyle:"navigation_thumbnail_large"};var Jn=jn(tt({pageType:Ke({page:function(t){return t.page}}),fileExists:Xe()}))(Xn),Zn=jn(tt({loaded:on(),lazy:!0}))(Jn);function tr(t){return U()("add_info_box",{empty:er(t),title_empty:G(t.title),description_empty:G(t.description),"add_info_box-hidden_during_playback":t.hiddenDuringPlayback})}function er(t){return G(t.title)&&G(t.description)}var nr=function(t){return React.createElement("div",{className:tr(t)},function(t){if(!G(t.title))return React.createElement("h3",null,t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:t.description}})}(t))};function rr(t){return React.createElement("div",{className:U()("controls",t.className),"data-role":"player_controls",onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children)}function or(t){return B.a.createElement("svg",{className:t.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:t.width,height:t.height,viewBox:"".concat(t.viewBoxLeft," ").concat(t.viewBoxTop," ").concat(t.viewBoxWidth," ").concat(t.viewBoxHeight)},t.children)}or.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var ir=or,ar={Checkmark:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("polygon",{points:"434.442,58.997 195.559,297.881 77.554,179.88 0,257.438 195.559,453.003 512,136.551 "}))},CircleWithNotch:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1e3,viewBoxHeight:1e3}),React.createElement("path",{d:"M990,497.6c0,66.4-13,129.8-38.8,190.3c-25.9,60.5-60.7,112.7-104.4,156.4C803,888,750.9,922.8,690.3,948.7c-60.5,25.9-124,38.8-190.3,38.8s-129.8-12.9-190.3-38.8S197,888,153.3,844.3c-43.7-43.7-78.5-95.9-104.4-156.4C22.9,627.4,10,563.9,10,497.6c0-80.9,18.4-156.5,55.2-226.7c36.8-70.2,87.2-128,151.2-173.4s135.2-73.8,213.6-85v142.2c-80.6,16.4-147.4,56.7-200.4,120.9c-53,64.2-79.5,138.2-79.6,222c0,47.4,9.3,92.7,27.9,135.9c18.6,43.2,43.4,80.4,74.6,111.6c31.2,31.2,68.4,56.1,111.6,74.6c43.2,18.5,88.5,27.8,135.9,27.9c47.4,0,92.7-9.2,135.9-27.9C679,801,716.2,776.1,747.4,745c31.2-31.1,56-68.3,74.6-111.6c18.6-43.3,27.9-88.6,27.9-135.9c0-83.9-26.5-157.9-79.6-222C717.2,211.3,650.4,171,569.9,154.6V12.5c78.4,11.3,149.6,39.6,213.6,85c64,45.4,114.4,103.2,151.2,173.4c36.8,70.2,55.2,145.7,55.2,226.7H990z"}))},Disk:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("path",{d:"M21.312,14.056l-1.691-0.98c0,0-0.472-0.216-0.446-1.073c0,0-0.128-0.961,0.478-1.293l1.661-1.014 c0,0,0.546-0.245,0.313-0.818l-0.707-1.598c0,0-0.229-0.625-0.902-0.423l-1.93,0.615c0,0-0.666-0.009-1.078-0.458 c0,0-0.687-0.662-0.476-1.229l0.445-1.924c0,0,0.114-0.563-0.312-0.768l-1.995-0.757c0,0-0.43-0.026-0.562,0.305l-1.122,2.006 c0,0-0.524,0.437-1.248,0.292c0,0-0.752-0.072-0.928-0.253c0,0-1.135-1.916-1.19-2.015c0,0-0.21-0.437-0.65-0.262L7.144,3.176 c0,0-0.367,0.229-0.275,0.559l0.649,2.441c0,0-0.139,0.597-0.561,0.924c0,0-0.745,0.55-1.104,0.483L3.858,7.1 c0,0-0.578-0.207-0.805,0.294L2.306,9.232c0,0-0.143,0.38,0.251,0.616l1.96,1.123c0,0,0.624,0.286,0.441,1.38 c0,0,0.037,0.804-0.756,1.24c-0.793,0.437-1.476,0.875-1.476,0.875s-0.437,0.21-0.249,0.681c0.189,0.471,0.895,1.811,0.895,1.811 s0.131,0.336,0.762,0.091l1.723-0.466c0,0,0.5-0.151,1.031,0.319c0,0,0.741,0.504,0.687,0.919l-0.48,2.433 c0,0-0.157,0.411,0.312,0.676l1.929,0.733c0,0,0.538,0.052,0.68-0.389l0.84-1.532c0,0,0.278-0.669,1.177-0.625 c0,0,0.909-0.081,1.227,0.407l1.101,1.833c0,0,0.199,0.466,0.791,0.188l1.709-0.728c0,0,0.479-0.315,0.333-0.743l-0.533-1.853 c0,0-0.238-0.5,0.259-1.055c0,0,0.533-0.876,1.27-0.701l2.043,0.487c0,0,0.424,0.187,0.793-0.413l0.659-1.639 C21.685,14.901,21.886,14.313,21.312,14.056z M8.542,13.474c-0.824-1.931,0.073-4.166,2.004-4.989 c1.931-0.826,4.165,0.073,4.988,2.004c0.825,1.931-0.073,4.164-2.005,4.989C11.599,16.303,9.365,15.404,8.542,13.474z"}))},Info:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxLeft:5,viewBoxTop:5,viewBoxWidth:145,viewBoxHeight:145}),React.createElement("path",{d:"m80 15c-35.88 0-65 29.12-65 65s29.12 65 65 65 65-29.12 65-65-29.12-65-65-65zm0 10c30.36 0 55 24.64 55 55s-24.64 55-55 55-55-24.64-55-55 24.64-55 55-55z"}),React.createElement("path",{d:"m57.373 18.231a9.3834 9.1153 0 1 1 -18.767 0 9.3834 9.1153 0 1 1 18.767 0z",transform:"matrix(1.1989 0 0 1.2342 21.214 28.75)"}),React.createElement("path",{d:"m90.665 110.96c-0.069 2.73 1.211 3.5 4.327 3.82l5.008 0.1v5.12h-39.073v-5.12l5.503-0.1c3.291-0.1 4.082-1.38 4.327-3.82v-30.813c0.035-4.879-6.296-4.113-10.757-3.968v-5.074l30.665-1.105"}))},Pause:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M162.642 148.337h86.034v215.317h-86.034v-215.316z"}),React.createElement("path",{d:"M293.356 148.337h86.002v215.317h-86.002v-215.316z"}))},Play:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(t){return React.createElement(ir,Object.assign({},t,{viewBoxWidth:1200,viewBoxHeight:1200}),React.createElement("path",{transform:"translate(100,100)",d:"M893.4,599V500H401.1V599H893.4z M893.4,794.5v-98.9H695.5v98.9H893.4z M598.9,794.5v-98.9H106.6v98.9H598.9z M106.6,500V599h197.8V500H106.6z M893.4,106.7c26.1,0,48.7,10,67.9,29.9s28.8,42.9,28.8,69v588.9c0,26.1-9.6,49.1-28.8,69c-19.2,19.9-41.8,29.9-67.9,29.9H106.6c-26.1,0-48.7-10-67.9-29.9c-19.2-19.9-28.8-42.9-28.8-69V205.5c0-26.1,9.6-49.1,28.8-69s41.8-29.9,67.9-29.9H893.4z"}))}},sr={toggleInfoBox:ar.Info,mediaQuality:ar.Gear,textTracks:ar.Subtitles,activeMenuItem:ar.Checkmark,loadingSpinner:ar.CircleWithNotch,play:ar.Play,pause:ar.Pause};function ur(t){var e=sr[t.name];if(!e)throw new Error('No icon registered for "'.concat(t.name,'".'));return B.a.createElement(e,t)}var cr=function(t){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(ur,{name:"loadingSpinner"}))},lr=function(t){return jn(tt({id:Z(rn(),(function(t){return t?"firstContent":void 0}))}))(t)};var fr=lr((function(t){return React.createElement("a",{className:pr(t),href:"#",tabIndex:"4",id:t.id,title:t.title,onClick:dr(t)},function(t){return t.iconName?React.createElement(ur,{name:t.iconName}):React.createElement("span",null)}(t))}));function pr(t){return U()("vjs-play-control",{"vjs-playing":t.isPlaying},{"player_controls-play_button-custom_icon":!!t.iconName})}function dr(t){return function(e){t.onClick&&t.onClick(e),e.preventDefault()}}function hr(t){return React.createElement("div",{className:U()(t.className)},function(t){if(isNaN(t))return vr;var e=Math.floor(t)%60,n=Math.floor(t/60)%60,r=Math.floor(t/60/60);return r>0?"".concat(r,":").concat(gr(n),":").concat(gr(e)):"".concat(n,":").concat(gr(e))}(t.value))}var vr="-:--";function gr(t){return t<10?"0"+t:t}hr.defaultProps={value:0};var yr=function(t){return React.createElement(hr,{className:"vjs-current-time",value:t.currentTime})},mr=function(t){return React.createElement("div",{className:"vjs-time-divider"},"/")},br=function(t){return React.createElement(hr,{className:"vjs-duration",value:t.duration})},wr=n(95),Er=n.n(wr),Or=n(32),xr=n.n(Or),Pr=37,kr=39,_r=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(t){var e=t.width;r.setState({progressHolderWidth:e})},r.measureHandle=function(t){var e=t.width;r.setState({handleWidth:e})},r.handleStop=function(t,e){r.props.onSeek&&r.props.onSeek(r.positionToTime(e.x))},r.handleDrag=function(t,e){r.props.onScrub&&r.props.onScrub(r.positionToTime(e.x))},r.handleKeyDown=function(t){var e;t.keyCode==Pr?e=Math.max(0,r.props.currentTime-1):t.keyCode==kr&&(e=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(e)},r}return N(e,t),A(e,[{key:"positionToTime",value:function(t){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,t/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return B.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},B.a.createElement(wr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},B.a.createElement("div",{className:"vjs-progress-holder"},B.a.createElement("div",{className:"vjs-load-progress",style:{width:Sr(this.loadProgress())}}),B.a.createElement("div",{className:"vjs-play-progress",style:{width:Sr(this.playProgress())}}),B.a.createElement(xr.a,{whitelist:["width"],onMeasure:this.measureHandle},B.a.createElement("div",{className:"vjs-seek-handle",style:{left:this.handlePosition()}}))))))}},{key:"handlePosition",value:function(){return this.state.handleWidth&&this.state.progressHolderWidth?(this.state.progressHolderWidth-this.state.handleWidth)*this.playProgress():Sr(this.playProgress())}},{key:"loadProgress",value:function(){return this.props.duration>0?this.props.bufferedEnd/this.props.duration:0}},{key:"playProgress",value:function(){return this.props.duration>0?this.props.currentTime/this.props.duration:0}}]),e}(B.a.Component);function Sr(t){return t>0?100*t+"%":0}_r.defaultProps={currentTime:0,bufferedEnd:0};var Tr=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).state={subMenuVisible:!1},r.onLinkClick=function(t){t.preventDefault(),r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onClick&&r.props.onClick()},r.onMouseEnter=function(){r.props.subMenuItems.length>0&&r.setState({subMenuVisible:!0}),r.props.onMouseEnter&&r.props.onMouseEnter()},r.onMouseLeave=function(){r.closeMenu(),r.props.onMouseEnter&&r.props.onMouseLeave()},r.onFocus=function(){clearTimeout(r.closeMenuTimeout)},r.onBlur=function(){clearTimeout(r.closeMenuTimeout),r.closeMenuTimeout=setTimeout((function(){r.closeMenu()}),100)},r.closeMenu=function(){r.setState({subMenuVisible:!1})},r}return N(e,React.Component),A(e,[{key:"render",value:function(){var t=this,e=this.props;return React.createElement("div",{className:jr(e,this.state.subMenuVisible),ref:function(e){return t.wrapper=e},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Ir(e,"link"),href:"#",tabIndex:"4",title:e.title,onClick:this.onLinkClick},React.createElement(ur,{className:Ir(e,"icon"),name:e.iconName})),function(t,e){if(t.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(t,e){return t.subMenuItems.map((function(n){return React.createElement("li",{className:Ar(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Cr(t,n.value,e)},function(t){if(t.active)return React.createElement(ur,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(t,e){if(e.annotation)return React.createElement("span",{className:Ir(t,"sub_menu_item_annotation")},e.annotation)}(t,n)))}))}(t,e))}(e,this.closeMenu))}}]),e}();function jr(t,e){return U()({"player_controls-menu_bar_button-sub_menu_visible":e},Ir(t))}function Ar(t){return U()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":t.active})}function Cr(t,e,n){return function(r){r.preventDefault(),n(),t.onSubMenuItemClick&&t.onSubMenuItemClick(e)}}function Ir(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return U()(["player_controls-menu_bar_button"].concat(n).join("_"),[t.className].concat(n).join("_"))}function Mr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-quality_menu_button",title:t.buttonTitle,iconName:"mediaQuality",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Rr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Tr,{className:"player_controls-text_tracks_menu_button",title:t.buttonTitle,iconName:"textTracks",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Dr(t){return React.createElement("div",{className:Nr(t)},function(t){return t.additionalButtons.map((function(e){return React.createElement(Tr,{title:e.label,iconName:e.iconName,className:e.className,key:e.name,onClick:Lr(t.onAdditionalButtonClick,e.name),onMouseEnter:Lr(t.onAdditionalButtonMouseEnter,e.name),onMouseLeave:Lr(t.onAdditionalButtonMouseLeave,e.name)})}))}(t),React.createElement(Rr,{buttonTitle:t.textTracksMenuButtonTitle,items:t.textTracksMenuItems,onItemClick:t.onTextTracksMenuItemClick}),React.createElement(Mr,{buttonTitle:t.qualityMenuButtonTitle,items:t.qualityMenuItems,onItemClick:t.onQualityMenuItemClick}))}function Nr(t){return U()(t.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":t.hiddenOnPhone,"player_controls-menu_bar-stand_alone":t.standAlone,"player_controls-menu_bar-inverted":t.inverted})}function Lr(t,e){if(t)return function(){return t(e)}}function Br(t){return function(e){function n(t){var e;return T(this,n),(e=M(this,R(n).call(this,t))).checkVisibility=function(){var t=window.getComputedStyle(e.element);e.lastVisibility!=t.visibility&&("visible"==t.visibility&&"none"!=t.display?e.props.onVisible&&e.props.onVisible():e.props.onHidden&&e.props.onHidden()),e.lastVisibility=t.visibility},e}return N(n,e),A(n,[{key:"componentDidMount",value:function(){this.element=wn.a.findDOMNode(this),this.updateInterval()}},{key:"componentDidUpdate",value:function(){this.updateInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.interval),this.interval=null,this.element=null}},{key:"updateInterval",value:function(){this.props.watchVisibility&&!this.interval?this.interval=setInterval(this.checkVisibility,50):!this.props.watchVisibility&&this.interval&&(clearInterval(this.interval),this.interval=null)}},{key:"render",value:function(){return B.a.createElement(t,this.props)}}]),n}(B.a.Component)}function Fr(t){return U()("vjs-control-bar",{with_quality_menu_present:t.qualityMenuItems&&t.qualityMenuItems.length>=2,with_text_tracks_menu_present:t.textTracksMenuItems&&t.textTracksMenuItems.length>=2})}Tr.defaultProps={subMenuItems:[]},Mr.defaultProps={items:[]},Rr.defaultProps={items:[]},Dr.defaultProps={additionalButtons:[],standAlone:!0};var Ur=Br((function(t){return B.a.createElement(rr,t,B.a.createElement("span",{className:"hint"},t.hint),B.a.createElement(nr,Object.assign({},t.infoBox,{hiddenDuringPlayback:t.infoBoxHiddenDuringPlayback})),B.a.createElement("div",{className:Fr(t)},function(t){if(t.isLoading)return B.a.createElement(cr,t)}(t),B.a.createElement("div",{className:"play_button"},B.a.createElement(fr,{title:t.playButtonTitle,iconName:t.playButtonIconName,isPlaying:t.isPlaying,onClick:t.onPlayButtonClick})),function(t){if(t.hasProgress)return B.a.createElement("div",{className:"player_controls-progress"},B.a.createElement(yr,t),B.a.createElement(mr,null),B.a.createElement(br,t),B.a.createElement(_r,t))}(t),B.a.createElement("div",{className:"control_bar_text"},t.controlBarText)),B.a.createElement(Dr,{standAlone:!1,additionalButtons:t.additionalMenuBarButtons,onAdditionalButtonClick:t.onAdditionalButtonClick,onAdditionalButtonMouseEnter:t.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:t.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function Wr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Hr=Z(qr,(function(t){return function(e,n){return I18n.t(e,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wr(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({locale:t},n))}}));function qr(t){return t.i18n.locale}var Vr=Ce(tt({t:Hr}))((function(t){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:t.t("pageflow.public.close"),onClick:t.onClick},React.createElement("div",{className:"label"},t.t("pageflow.public.close")))})),Gr=function(t){return PAGEFLOW_EDITOR?t:function(){return!1}},zr=_t("chapters");var Yr=zr,Xr=_t("storylines");function $r(){return function(t,e){var n=Kr()(t,e);return n?Yr({id:n.chapterId})(t,e):null}}function Kr(){return function(t,e){return en({id:function(t,e){return Z(Xr(e),(function(e){return e&&e[t]}))}("parentPagePermaId",{id:function(t,e){return Z(zr(e),(function(e){return e&&e[t]}))}("storylineId",{id:tn("chapterId",{id:t.currentPageId})(t,e)})(t,e)})(t,e)})(t,e)}}function Qr(t){var e=t.property;return function(t){return t.settings[e]}}var Jr=_t("widgets");function Zr(t,e){var n=e.role;return Z(Jr({id:n}),(function(e){return e&&e[t]}))}function to(t){var e=t.role;return Z(Jr({id:e}),(function(t){return t}))}function eo(t){var e=t.role;return Z(Jr({id:e}),(function(t){return!(!t||!t.editing)}))}var no=function(t){return U()({is_playing:t.shouldPlay,is_playing_delayed:t.hasBeenPlayingJustNow,is_paused:!t.shouldPlay})},ro="MEDIA_TOGGLE_PLAYING",oo="MEDIA_PLAY",io="MEDIA_PLAY_AND_FADE_IN",ao="MEDIA_PAUSE",so="MEDIA_FADE_OUT_AND_PAUSE",uo="CHANGE_VOLUME_FACTOR",co="MEDIA_PLAY_FAILED",lo="MEDIA_PLAYING_MUTED",fo="MEDIA_SCRUB_TO",po="MEDIA_SEEK_TO",ho="MEDIA_PREBUFFER",vo="MEDIA_PREBUFFERED",go="MEDIA_ABORT_PREBUFFERING",yo="MEDIA_BUFFER_UNDERRUN",mo="MEDIA_BUFFER_UNDERRUN_CONTINUE",bo="MEDIA_META_DATA_LOADED",wo="MEDIA_PROGRESS",Eo="MEDIA_PLAYING",Oo="MEDIA_PAUSED",xo="MEDIA_TIME_UPDATE",Po="MEDIA_ENDED",ko="MEDIA_SEEKING",_o="MEDIA_SEEKED",So="MEDIA_WAITING",To="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",jo="MEDIA_USER_INTERACTION",Ao="MEDIA_USER_IDLE",Co="MEDIA_CONTROLS_ENTERED",Io="MEDIA_CONTROLS_LEFT",Mo="MEDIA_FOCUS_ENTERED_CONTROLS",Ro="MEDIA_FOCUS_LEFT_CONTROLS",Do="MEDIA_CONTROLS_HIDDEN",No="SHOW_INFO_BOX_DURING_PLAYBACK",Lo="HIDE_INFO_BOX_DURING_PLAYBACK",Bo="TOGGLE_INFO_BOX_DURING_PLAYBACK",Fo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Uo="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function Wo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return{togglePlaying:function(){return n(ro)},play:function(){return n(oo)},playAndFadeIn:function(t){var e=t.fadeDuration;return n(io,{fadeDuration:e})},pause:function(){return n(ao)},fadeOutAndPause:function(t){var e=t.fadeDuration;return n(so,{fadeDuration:e})},changeVolumeFactor:function(t,e){var r=e.fadeDuration;return n(uo,{volumeFactor:t,fadeDuration:r})},playFailed:function(){return n(co)},playingMuted:function(){return n(lo)},scrubTo:function(t){return n(fo,{time:t})},seekTo:function(t){return n(po,{time:t})},prebuffer:function(){return n(ho)},prebuffered:function(){return n(vo)},abortPrebuffering:function(){return n(go)},bufferUnderrun:function(){return n(yo)},bufferUnderrunContinue:function(){return n(mo)},playing:function(){return n(Eo)},paused:function(){return n(Oo)},timeUpdate:function(t){var e=t.currentTime,r=t.duration;return n(xo,{currentTime:e,duration:r})},metaDataLoaded:function(t){var e=t.currentTime,r=t.duration;return n(bo,{currentTime:e,duration:r})},progress:function(t){var e=t.bufferedEnd;return n(wo,{bufferedEnd:e})},ended:function(){return n(Po)},seeking:function(){return n(ko)},seeked:function(){return n(_o)},waiting:function(){return n(So)},hasNotBeenPlayingForAMoment:function(t){return n(To)},userInteraction:function(){return n(jo)},userIdle:function(){return n(Ao)},controlsEntered:function(){return n(Co)},controlsLeft:function(){return n(Io)},focusEnteredControls:function(){return n(Mo)},focusLeftControls:function(){return n(Ro)},controlsHidden:function(){return n(Do)},showInfoBoxDuringPlayback:function(){return n(No)},hideInfoBoxDuringPlayback:function(){return n(Lo)},toggleInfoBoxDuringPlayback:function(){return n(Bo)},saveMediaElementId:function(t){return n(Fo,{id:t})},discardMediaElementId:function(){return n(Uo)}};function n(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:t,meta:{collectionName:"pages",mediaScope:e},payload:n}}}function Ho(t){return S({property:"textTrack",value:t?{srclang:t.srclang,kind:t.kind}:{}})}function qo(t){return t.backgroundMedia.muted}function Vo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Go(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return nn("media.".concat(void 0===t?"default":t))}function zo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return function(t){return Object(at.b)(Wo({scope:e}),t)}}function Yo(t){var e=t.file,n=t.defaultTextTrackFileId,r=void 0===n?function(){}:n;return Z(Qr({property:"textTrack"}),Qr({property:"volume"}),Hr,qr,function(t,e){var n=e.parent;return Z(Ot(t,{namespace:"files"}),n,(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r,o){return n?Object.keys(e).reduce((function(i,a){var s=e[a];return s.id&&s.parentFileId==n.id&&s.parentFileModelType==n.modelType&&i.push($e(t,s,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:e}),r,(function(t,e,n,r,o,i){t=t||{};var s=o.map((function(t){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Vo(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Vo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({displayLabel:Xo(t,n)},t)})),u=function(t,e,n,r){if(e){var o=t.find((function(t){return t.permaId==e}));if(o)return o}var i=t.find((function(t){return"subtitles"==t.kind&&t.srclang==n})),a=0==r&&t.find((function(t){return"captions"==t.kind}));return i||a}(s,i,r,e);return{files:s.sort((function(t,e){return(t.displayLabel||"").localeCompare(e.displayLabel||"")})),autoFile:u,activeFileId:$o(s,u,t),mode:"off"==t.kind?"off":t.kind?"user":"auto"}}))}function Xo(t,e){return t.label||e("pageflow.public.languages."+t.srclang||!1,{defaultValue:e("pageflow.public.languages.unknown")})}function $o(t,e,n){if("off"==n.kind)return null;var r=t.find((function(t){return t.srclang==n.srclang&&t.kind==n.kind}));return r?r.id:e&&e.id}function Ko(t){return Z(t.autoplayWhenBackgroundMediaMuted,Qo({id:t.id}),qo,(function(t,e,n){return e&&(!n||t)}))}function Qo(t){return Z(tn("autoplay",t),(function(t){return!1!==t}))}function Jo(t){var e=t.playerActions,n=t.playerState,r=t.playerControlsComponent;return B.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:t.controlBarText,isLoading:n.isLoading||n.bufferUnderrun,isPlaying:n.shouldPlay,currentTime:void 0!==n.scrubbingAt?n.scrubbingAt:n.currentTime,bufferedEnd:n.bufferedEnd,duration:n.duration,mediaElementId:n.mediaElementId,onPlayButtonClick:e.togglePlaying,onScrub:e.scrubTo,onSeek:e.seekTo,onMouseEnter:e.controlsEntered,onMouseLeave:e.controlsLeft,onFocus:e.focusEnteredControls,onBlur:e.focusLeftControls,watchVisibility:n.isPlaying,onHidden:e.controlsHidden,additionalMenuBarButtons:ei(t),infoBoxHiddenDuringPlayback:ni(t),onAdditionalButtonMouseEnter:e.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:e.hideInfoBoxDuringPlayback,onAdditionalButtonClick:e.toggleInfoBoxDuringPlayback,qualityMenuItems:oi(t.qualities,t.file,t.activeQuality,t.t),qualityMenuButtonTitle:t.t("pageflow.public.media_quality"),onQualityMenuItemClick:t.updateVideoQualitySetting,textTracksMenuItems:ri(t.textTracks,t.t),textTracksMenuButtonTitle:t.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(e){"off"==e?t.updateTextTrackSettings({kind:"off"}):t.updateTextTrackSettings(t.textTracks.files.find((function(t){return t.id==e})))}},t,{className:ti(n)}))}Jo.defaultProps={playerControlsComponent:Ur,qualities:[],textTracks:{files:[]}};var Zo=Ce(tt({activeQuality:Qr({property:"videoQuality"}),t:Hr}),{updateTextTrackSettings:Ho,updateVideoQualitySetting:function(t){return S({property:"videoQuality",value:t})}})(Jo);function ti(t){return U()(no(t))}function ei(t){var e=t.t;return er(t.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:e("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function ni(t){var e=t.playerState;return void 0===e.infoBoxHiddenDuringPlayback?!!t.textTracks.activeFileId:e.infoBoxHiddenDuringPlayback}function ri(t,e){if(!t.files.length)return[];var n={value:"off",label:e("pageflow.public.text_track_modes.none"),active:"off"==t.mode};return[{value:"auto",label:t.autoFile?e("pageflow.public.text_track_modes.auto",{label:t.autoFile.displayLabel}):e("pageflow.public.text_track_modes.auto_off"),active:"auto"==t.mode},n].concat(t.files.map((function(e){return{value:e.id,label:e.displayLabel,active:"user"==t.mode&&e.id==t.activeFileId}})))}function oi(t,e,n,r){return n=n||"auto",function(t,e){if(!e)return[];return t.filter((function(t){return!!e.urls[t]||"auto"==t}))}(t,e).map((function(t){return{value:t,label:r("pageflow.public.video_qualities.labels.".concat(t)),annotation:r("pageflow.public.video_qualities.annotations.".concat(t),{defaultValue:""}),active:t==n}}))}function ii(t){return function(e){return e.entry[t]}}function ai(t){var e=t.entrySlug,n=t.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(e,"/").concat(r,"/").concat(n.id)}var si=Ce(tt({t:Hr,entrySlug:ii("slug")}))((function(t){return t.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:ai(t),target:"_blank"},(n=(e=t).file,r=e.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var e,n,r,o})),ui=Z(nn("media.pageScrollerMargin"),(function(t){return t&&t.bottom}));function ci(t){var e=t.page,n=t.playerState,r={title:e.additionalTitle,description:e.additionalDescription};return React.createElement(W,{className:pi(t.className,fi(t),t.textTracks,n)},React.createElement(H,{pageHasPlayerControls:!0},t.children,React.createElement(In,{page:e,className:no(n)})),React.createElement(Mn,{onInteraction:function(){return n.userIsIdle&&t.playerActions.userInteraction()},classNames:no(n)},React.createElement(Zo,{file:t.file,textTracks:t.textTracks,playerState:n,playerActions:t.playerActions,qualities:t.qualities,controlBarText:t.controlBarText,infoBox:r,playerControlsComponent:t.playerControlsComponent}),React.createElement(Bn,{className:no(n),marginBottom:t.dynamicPageScrollerMargin&&t.pageScrollerMarginBottom},React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e,marginBottom:t.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(si,{file:t.file})))))}ci.defaultProps={playerControlsCanOverlapPageText:!0};var li=jn(tt({pageScrollerMarginBottom:ui,textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("page.defaultTextTrackFileId")}),hasAutoplaySupport:Gn("autoplay support"),shouldAutoplay:Ko({id:Vn("page.permaId"),autoplayWhenBackgroundMediaMuted:Vn("autoplayWhenBackgroundMediaMuted")})}))(ci);function fi(t){return t.shouldAutoplay&&t.hasAutoplaySupport&&!t.playerState.playFailed}function pi(t,e,n,r){return U()(t,{has_text_tracks:!!n.activeFileId,is_idle:r.isPlaying&&r.userIsIdle,is_control_bar_focused:r.focusInsideControls,is_control_bar_hovered:r.userHoveringControls,is_control_bar_hidden:r.controlsHidden,unplayed:r.unplayed&&!e,should_play:r.shouldPlay,has_played:r.hasPlayed})}var di=jn(tt({pageIsPrepared:an(),pageIsPreloaded:on(),atmoDuringPlayback:tn("atmoDuringPlayback"),defaultTextTrackFileId:tn("defaultTextTrackFileId")}))((function(t){if(t.file&&t.file.isReady){var e=t.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(t){if(t.pageIsPrepared){var e=t.playerComponent;return React.createElement(e,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,fit:t.fit,position:t.position,loop:t.loop,muted:t.muted,playsInline:t.playsInline,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,textTrackPosition:t.textTrackPosition})}if(t.preloadComponent&&t.pageIsPreloaded){var n=t.preloadComponent;return React.createElement(n,{file:t.file,posterImageFile:t.posterImageFile})}return React.createElement("noscript",null)}(t),React.createElement(e,{file:t.file}))}return React.createElement("noscript",null)})),hi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this;return B.a.createElement("div",{ref:function(e){return t.containerElement=e},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(t){return t.tagName!==this.props.tagName||t.poster!==this.props.poster||t.loop!==this.props.loop||t.muted!==this.props.muted||t.playsInline!==this.props.playsInline||!vi(t.sources,this.props.sources)||!vi(t.tracks,this.props.tracks)}},{key:"componentDidMount",value:function(){this.triggerOnSetup()}},{key:"componentWillUpdate",value:function(){this.triggerOnDispose()}},{key:"componentDidUpdate",value:function(){this.triggerOnSetup()}},{key:"componentWillUnmount",value:function(){this.triggerOnDispose()}},{key:"triggerOnSetup",value:function(){this.props.onSetup&&this.props.onSetup(this.containerElement.firstElementChild)}},{key:"triggerOnDispose",value:function(){this.props.onDispose&&this.props.onDispose()}},{key:"mediaTagHTML",value:function(){var t=document.createElement("div"),e=document.createElement(this.props.tagName);return e.setAttribute("preload","none"),e.setAttribute("crossorigin","anonymous"),e.setAttribute("alt",this.props.alt),this.props.poster&&e.setAttribute("data-poster",this.props.poster),this.props.loop&&e.setAttribute("loop","true"),this.props.muted&&e.setAttribute("muted","true"),this.props.playsInline&&e.setAttribute("playsinline","true"),this.props.sources.forEach((function(t){var n=document.createElement("source");n.setAttribute("src",t.src),n.setAttribute("type",t.type),e.appendChild(n)})),this.props.tracks.forEach((function(t){var n=document.createElement("track");n.setAttribute("src",t.src),n.setAttribute("id",t.id),n.setAttribute("kind",t.kind),n.setAttribute("srclang",t.srclang),n.setAttribute("label",t.label),e.appendChild(n)})),t.appendChild(e),{__html:t.innerHTML.replace('preload="none"','preload="auto"')}}}]),e}(B.a.Component);function vi(t,e){if(t.length!==e.length)return!1;for(var n=0;n<t.length;n++){var r=t[n],o=e[n];if(Object.keys(r).length!==Object.keys(o).length)return!1;for(var i in r)if(r[i]!==o[i])return!1}return!0}function gi(t,e){e.emulateTextTracksDisplay;var n=e.atmoSettings,r=e.mediaContext,o=e.playsInline,i="audio"==t.tagName.toLowerCase(),a=new pageflow.VideoPlayer(t,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:t.getAttribute("data-poster"),html5:{nativeCaptions:!i&&pageflow.browser.has("iphone platform")},bufferUnderrunWaiting:!0,useSlimPlayerControlsDuringPhonePlayback:!o&&!i,fullscreenDuringPhonePlayback:!o&&!i,fallbackToMutedAutoplay:!i,volumeFading:!0,hooks:pageflow.atmo.createMediaPlayerHooks(n),mediaEvents:!0,context:r});return a.textTrackSettings={getValues:function(){return{}}},a.addClass("video-js"),a.addClass("player"),a}hi.defaultProps={tagName:"video",sources:[],tracks:[]};var yi=function(t,e){t.on("loadedmetadata",(function(){return e.metaDataLoaded({currentTime:t.currentTime(),duration:t.duration()})})),t.on("progress",(function(){return e.progress({bufferedEnd:t.bufferedEnd()})})),t.on("play",e.playing),t.on("playfailed",e.playFailed),t.on("playmuted",e.playingMuted),t.on("pause",e.paused),t.on("waiting",e.waiting),t.on("seeking",e.seeking),t.on("seeked",e.seeked),t.on("bufferunderrun",e.bufferUnderrun),t.on("bufferunderruncontinue",e.bufferUnderrunContinue),t.on("timeupdate",(function(){return e.timeUpdate({currentTime:t.currentTime(),duration:t.duration()})})),t.on("ended",e.ended)};function mi(t,e,n){t.one("timeupdate",(function(){bi(t,null,e(),n())}))}function bi(t,e,n,r){e!=n&&function(t,e){[].slice.call(t.textTracks()).forEach((function(t){t.id=="text_track_file_".concat(e)?t.mode="showing":t.mode="disabled"}))}(t,n),function(t,e){t.updateCueLineSettings(e)}(t,r)}var wi,Ei=function(t){var e=t.tagName,n=t.sources,r=t.poster,o=void 0===r?function(){}:r,i=t.emulateTextTracksDisplay,a=void 0!==i&&i,s=t.createPlayer,u=void 0===s?gi:s,c=function(t){function r(t,n){var o;return T(this,r),(o=M(this,R(r).call(this,t,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==e,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(e){o.player=u(e,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:t.playsInline}),o.player.ready((function(){var t,n,r,i,a,s;o.props.playerActions.saveMediaElementId(e.id),t=o.player,n=function(){return o.props.playerState},r=o.props.playerActions,i=o.prevFileId,a=o.props.file.id,s=n(),a===i&&s.currentTime>0&&t.currentTime(s.currentTime),s.shouldPrebuffer&&t.prebuffer().then(r.prebuffered),s.isPlaying&&t.play(),t.on("canplay",(function(){n().shouldPlay&&t.paused()&&t.play()})),o.displaysTextTracksInNativePlayer||function(t,e,n){t.on("pause",(function(){mi(t,e,n)})),t.textTracks().on("addtrack",(function(){bi(t,null,e(),n())})),bi(t,null,e(),n()),mi(t,e,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),yi(o.player,o.props.playerActions),o.prevFileId=o.props.file.id}),!0)},o.disposeMediaTag=function(){o.player.dispose(),o.player=null,o.props.playerActions.discardMediaElementId()},o}return N(r,t),A(r,[{key:"componentDidUpdate",value:function(t){var e=this;this.player&&(this.player.ready((function(){var n,r,o;n=e.player,r=t.muted,o=e.props.muted,r!==o&&n.muted(o),function(t,e,n,r){e!==n&&t.changeVolumeFactor(n,r)}(e.player,t.playerState.volumeFactor,e.props.playerState.volumeFactor,e.props.playerState.volumeFactorFadeDuration),function(t,e,n,r){!e.shouldPrebuffer&&n.shouldPrebuffer&&t.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!e.shouldPlay&&n.shouldPlay?n.fadeDuration?t.playAndFadeIn(n.fadeDuration):t.play():e.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?t.fadeOutAndPause(n.fadeDuration):t.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==e.shouldSeekTo&&t.currentTime(n.shouldSeekTo)}(e.player,t.playerState,e.props.playerState,e.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||bi(this.player,t.textTracks.activeFileId,this.props.textTracks.activeFileId,this.props.textTrackPosition),this.updateAtmoSettings())}},{key:"updateAtmoSettings",value:function(){this.atmoSettings=this.atmoSettings||{},this.atmoSettings.atmo_during_playback=this.props.atmoDuringPlayback}},{key:"render",value:function(){return B.a.createElement(hi,{tagName:e,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth}),tracks:(t=this.props.textTracks.files,r=this.props.textTracksEnabled,r?t.filter((function(t){return t.isReady})).map((function(t){return{id:"text_track_file_".concat(t.id),kind:t.kind,label:t.displayLabel,srclang:t.srclang,src:t.urls.vtt}})):[]),poster:o(this.props.file,this.props.posterImageFile),loop:this.props.loop,muted:this.initiallyMuted,playsInline:this.props.playsInline,alt:this.props.file.alt,onSetup:this.setupMediaTag,onDispose:this.disposeMediaTag});var t,r}}]),r}(B.a.Component);c.contextTypes={mediaContext:B.a.PropTypes.object},c.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=Ce(tt({textTracks:Yo({file:Vn("file"),defaultTextTrackFileId:Vn("defaultTextTrackFileId")}),quality:Qr({property:"videoQuality"}),hasNativeVideoPlayer:Gn("native video player"),hasHighBandwidth:Gn("high bandwidth"),textTrackPosition:xi}),{updateTextTrackSettings:Ho})(c);return l.WrappedComponent=c,l},Oi=(wi="slimPlayerControls",function(t){return t.widgetPresence[wi]});function xi(t,e){var n=e.playerState,r=e.textTrackPosition;return r||(Oi(t)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Pi=Ei({tagName:"audio",sources:function(t){return[{type:"audio/ogg",src:"".concat(t.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(t.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(t.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function ki(t,e){return e&&e.match(/^\/\//)?"".concat(t,":").concat(e):e}function _i(t){var e=Math.round(t/1e3)%60,n=Math.floor(t/1e3/60)%60,r=Math.floor(t/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(e>0||0==n&&0==r)&&(o+="".concat(e,"S")),o}var Si,Ti=Ce(tt({isEnabled:(Si="structured_data",function(t){return t.features.indexOf(Si)>=0})}))((function(t){var e=t.data;return t.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}}):null}));var ji=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:e.basename,description:e.alt,url:ki("https",e.urls.mp3),duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));function Ai(t){return React.createElement(di,Object.assign({},t,{playerComponent:Pi,structuredDataComponent:ji}))}var Ci=function(t,e,n,r){if(r&&r.height&&e&&"contain"!=e){var o,i,a,s=t.width/t.height;if("width"==(r.width/r.height>s?"width":"height")?(o=(i=r.height)*s,a=r.width/o):(i=(o=r.width)/s,a=r.height/i),!("smart_contain"==e&&a>1.2)){var u=o*a,c=i*a,l=void 0!==n[0]&&"cover"==e?n[0]:50,f=void 0!==n[1]&&"cover"==e?n[1]:50;return{left:(r.width-u)*l/100,top:(r.height-c)*f/100,width:u,height:c}}}};function Ii(t,e){if(t&&e){var n=Math.max(0,-t.left),r=Math.max(0,t.width-e.width+t.left),o=Math.max(0,-t.top),i=Math.max(0,t.height-e.height+t.top);return["cue_offset","cue_offset_".concat(Math.ceil(i/10)),"cue_margin_left_".concat(Math.ceil(n/10)),"cue_margin_right_".concat(Math.ceil(r/10)),"cue_margin_top_".concat(Math.ceil(o/10)),"cue_margin_bottom_".concat(Math.ceil(i/10))].join(" ")}}function Mi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ri(t){return B.a.createElement(xr.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(e){return function(t,e){var n=Ci(t.videoFile,t.fit,t.position,e);return B.a.createElement("div",{className:"uncropped_media_wrapper"},B.a.createElement("div",{className:Ii(n,e),style:Di(n)},t.children))}(t,e)}))}function Di(t){return t&&function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mi(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"absolute"},t)}var Ni=Ei({tagName:"video",sources:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth;if("auto"==(e=e||"auto")){var o=r?"high":"medium",i=[{type:"application/x-mpegURL",src:"".concat(t.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(t.urls[o],"?u=1")}];return t.urls["dash-playlist"]&&(i=[{type:"application/dash+xml",src:"".concat(t.urls["dash-playlist"])}].concat(i)),i}return t.urls[e]||(e="high"),[{type:"video/mp4",src:"".concat(t.urls[e],"?u=1")}]},poster:Fi});function Li(t){return B.a.createElement(Ri,{videoFile:t.file,fit:t.fit,position:t.position},B.a.createElement(Ni,{file:t.file,posterImageFile:t.posterImageFile,playerState:t.playerState,playerActions:t.playerActions,atmoDuringPlayback:t.atmoDuringPlayback,defaultTextTrackFileId:t.defaultTextTrackFileId,textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline}))}var Bi=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.file,n=t.posterImageFile,r=t.preloadImage,o=Fi(e,n);o&&r(o)}},{key:"render",value:function(){return null}}]),e}(B.a.Component);function Fi(t,e){var n=rt("mobile platform")?"medium":"large";return e?e.urls[n]:t.urls["poster_".concat(n)]}Bi.defaultProps={preloadImage:ot};var Ui=Ce(tt({entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:e.basename,description:e.alt,url:ki("https",e.urls.high),thumbnailUrl:ki("https",e.urls.poster_medium),width:e.width,height:e.height,duration:_i(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}));var Wi=Ce(tt({file:Ye("videoFiles",{id:Vn("videoFileId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageFileId")}),muted:function(t,e){return e.muted||qo(t)}}))((function(t){return React.createElement(di,Object.assign({},t,{playerComponent:Li,preloadComponent:Bi,structuredDataComponent:Ui}))}));function Hi(t){var e=t.page,n=Y.concat(t.propertyNamePrefix,t.videoPropertyBaseName),r=Y.concat(t.propertyNamePrefix,t.posterImagePropertyBaseName);return React.createElement(Wi,{videoFileId:e["".concat(n,"Id")],posterImageFileId:e["".concat(r,"Id")],playerState:t.playerState,playerActions:t.playerActions,fit:t.fit,position:[e["".concat(n,"X")],e["".concat(n,"Y")]],textTracksEnabled:t.textTracksEnabled,loop:t.loop,muted:t.muted,playsInline:t.playsInline})}Hi.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var qi=Ce(tt({fileExists:Xe()}))((function(t){var e=function(t){return(e=t.propertyNamePrefix,[{propertyBaseName:Y.concat(e,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"posterImage"),collection:"imageFiles"},{propertyBaseName:Y.concat(e,"videoFile"),collection:"videoFiles"}]).find((function(e){return t.fileExists(e.collection,t.page["".concat(e.propertyBaseName,"Id")])}));var e}(t);return e?React.createElement(Cn,{page:t.page,propertyBaseName:e.propertyBaseName,fileCollection:e.collection}):React.createElement("noscript",null)}));var Vi=Ce(tt({fileExists:Xe(),hasMobilePlatform:Gn("mobile platform"),hasAutoplaySupport:Gn("autoplay support")}))((function(t){return t.hasMobilePlatform&&function(t){var e=Y.concat(t.propertyNamePrefix,"mobilePosterImageId");return t.fileExists("imageFiles",t.page[e])}(t)?React.createElement(qi,{page:t.page,propertyNamePrefix:t.propertyNamePrefix}):React.createElement(Hi,Object.assign({loop:!0,fit:"cover",muted:!t.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},t))}));var Gi=Ce(tt({file:Ye("imageFiles",{id:Vn("fileId")}),entryPublishedAt:ii("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt;if(e){var r={"@context":"http://schema.org","@type":"ImageObject",name:e.basename,description:e.alt,url:ki("https",e.urls.large),width:e.width,height:e.height,datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Ti,{data:r})}return null}));var zi=jn(tt({page:en(),playerState:Go({scope:"background"})}),X({playerActions:zo({scope:"background"})}))((function(t){var e=t.page,n=t.playerState,r=t.playerActions,o=t.propertyNamePrefix;return"video"==e[Y.concat(o,"backgroundType")]?React.createElement(Vi,{page:e,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Cn,{page:e,propertyNamePrefix:o,structuredDataComponent:Gi})}));function Yi(t){return React.createElement(H,null,React.createElement(zi,{propertyNamePrefix:t.propertyNamePrefix}),React.createElement(In,{page:t.page}))}var Xi=Ce(tt({isEntryReady:function(t){return!!t.entry.isReady}}))((function(t){var e=t.page;return t.isEntryReady?"video"==e.backgroundType||"video"==e.type?React.createElement($i,{videoId:e.videoFileId,posterImageId:e.posterImageId}):React.createElement(Ki,{imageId:e.backgroundImageId}):null})),$i=Ce(tt({videoFile:Ye("videoFiles",{id:Vn("videoId")}),posterImageFile:Ye("imageFiles",{id:Vn("posterImageId")})}))((function(t){var e=t.videoFile,n=t.posterImageFile;return n?React.createElement(Qi,{file:n}):React.createElement(Qi,{file:e})})),Ki=jn(tt({file:Ye("imageFiles",{id:Vn("imageId")}),pageIsPrepared:an()}))(Qi);function Qi(t){var e=t.file;return e&&e.isReady&&an?React.createElement("img",{src:e.urls.print,alt:e.alt,className:"print_image"}):React.createElement("noscript",null)}function Ji(t){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(t){if(!G(t.title))return React.createElement("h3",{className:Zi(t)},t.title)}(t),function(t){if(!G(t.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:t.description}})}(t))}function Zi(t){var e=!G(t.title)&&!G(t.description);return U()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":e})}var ta="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var ea=jn(null,{setPageScrollerMarginBottom:function(t){return{type:ta,payload:{value:t},meta:{collectionName:"pages"}}}})((function(t){return React.createElement(xr.a,{whitelist:["height"],onMeasure:function(e){var n=e.height;return t.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},t.children))}));var na=lr((function(t){return React.createElement("a",{href:"#",className:ra(t),id:t.id,tabIndex:"4",title:t.title,onClick:oa(t)},React.createElement(ur,{name:t.isPlaying?"pause":"play"}))}));function ra(t){return U()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":t.inverted})}function oa(t){return function(e){e.preventDefault(),t.onClick&&t.onClick()}}var ia=n(173),aa=n.n(ia),sa="rgba(170, 170, 170, 1)",ua="rgba(0, 0, 0, 0.5)",ca="#fff",la="#888";var fa=jn(tt({pageIsPrepared:an(),waveformColor:tn("waveformColor"),mainColor:function(t){return t.theme.mainColor}}))((function(t){return t.pageIsPrepared&&t.mediaElementId?React.createElement(xr.a,{whitelist:["height"]},(function(e){var n=e.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(aa.a,{mediaElt:"#".concat(t.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:t.waveformColor||t.mainColor,waveColor:t.inverted?ua:sa,cursorColor:t.inverted?la:ca,height:n}}),React.createElement(na,{isPlaying:t.isPlaying,title:t.playButtonTitle,inverted:t.inverted,onClick:t.onPlayButtonClick})))})):null}));function pa(t){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(hr,{value:t.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(hr,{value:t.duration,className:"waveform_player_controls-times_display-duration"}))}var da=jn(tt({inverted:tn("invert")}))((function(t){return React.createElement("div",{className:ha(t)},React.createElement(ea,null,React.createElement(fa,{isPlaying:t.isPlaying,inverted:t.inverted,playButtonTitle:t.playButtonTitle,mediaElementId:t.mediaElementId,onPlayButtonClick:t.onPlayButtonClick}),React.createElement(pa,{currentTime:t.currentTime,duration:t.duration}),React.createElement(Ji,t.infoBox)),React.createElement(Dr,{inverted:t.inverted,qualityMenuButtonTitle:t.qualityMenuButtonTitle,qualityMenuItems:t.qualityMenuItems,onQualityMenuItemClick:t.onQualityMenuItemClick,textTracksMenuButtonTitle:t.textTracksMenuButtonTitle,textTracksMenuItems:t.textTracksMenuItems,hiddenOnPhone:!t.isPlaying,onTextTracksMenuItemClick:t.onTextTracksMenuItemClick}))}));function ha(t){return U()("waveform_player_controls",{"waveform_player_controls-inverted":t.inverted})}var va="HOTKEY_SPACE",ga="HOTKEY_TAB";function ya(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ma(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ya(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ya(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ba=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.scope,n=void 0===e?"default":e;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(e.meta&&e.meta.mediaScope&&e.meta.mediaScope!==n)return t;switch(e.type){case u:return ma({},t,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return ma({},t,{shouldPrebuffer:!1});case oo:return ma({},t,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case Eo:return ma({},t,{shouldPlay:!0,isPlaying:!0});case co:return ma({},t,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case io:return ma({},t,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:e.payload.fadeDuration,isLoading:!0});case ao:return ma({},t,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case Oo:return t.bufferUnderrun?ma({},t,{isPlaying:!1,hasPlayed:!0}):ma({},t,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case so:return ma({},t,{shouldPlay:!1,fadeDuration:e.payload.fadeDuration,isLoading:!1});case uo:return ma({},t,{volumeFactor:e.payload.volumeFactor,volumeFactorFadeDuration:e.payload.fadeDuration});case ho:return ma({},t,{shouldPrebuffer:!0});case vo:return ma({},t,{shouldPrebuffer:!1});case So:return ma({},t,{isLoading:!0});case yo:return ma({},t,{bufferUnderrun:!0});case mo:return ma({},t,{bufferUnderrun:!1});case fo:return ma({},t,{scrubbingAt:e.payload.time});case po:return ma({},t,{shouldSeekTo:e.payload.time});case ko:return ma({},t,{isLoading:!0});case _o:return ma({},t,{scrubbingAt:void 0,isLoading:!1});case bo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration});case wo:return ma({},t,{bufferedEnd:e.payload.bufferedEnd});case xo:return ma({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration,isLoading:!1});case Po:return ma({},t,{shouldPlay:!1,isPlaying:!1});case To:return ma({},t,{hasBeenPlayingJustNow:!1});case ga:case jo:return ma({},t,{userIsIdle:!1,controlsHidden:!1});case Ao:return ma({},t,{userIsIdle:!0});case Co:return ma({},t,{userHoveringControls:!0});case Io:return ma({},t,{userHoveringControls:!1});case Mo:return ma({},t,{focusInsideControls:!0});case Ro:return ma({},t,{focusInsideControls:!1});case Do:return ma({},t,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Lo:return ma({},t,{infoBoxHiddenDuringPlayback:!0});case No:return ma({},t,{infoBoxHiddenDuringPlayback:!1});case Bo:return ma({},t,{infoBoxHiddenDuringPlayback:!t.infoBoxHiddenDuringPlayback});case Fo:return ma({},t,{mediaElementId:e.payload.id});case Uo:return ma({},t,{mediaElementId:null});default:return t}}};function wa(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ea(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wa(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Oa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ta:return Ea({},t,{bottom:e.payload.value});default:return t}},xa=Et.a.mark(ka),Pa=Et.a.mark(_a);function ka(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([va,ro],_a,Wo());case 2:case"end":return t.stop()}}),xa)}function _a(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=t.play,n=t.pause,r.next=3,Object(Rt.select)(Go());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Rt.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Rt.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Rt.put)(e());case 13:case"end":return r.stop()}}),Pa)}var Sa=Et.a.mark(ja),Ta=Et.a.mark(Aa);function ja(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([co,lo],Aa);case 2:case"end":return t.stop()}}),Sa)}function Aa(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return t.stop()}}),Ta)}var Ca="BACKGROUND_MEDIA_MUTE",Ia="BACKGROUND_MEDIA_UNMUTE";function Ma(){return{type:Ia}}var Ra=Et.a.mark(Ha),Da=Et.a.mark(qa),Na=Et.a.mark(Va),La=Et.a.mark(Ga),Ba=Wo(),Fa=Ba.play,Ua=Ba.prebuffer,Wa=Ba.waiting;function Ha(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Dt.takeEvery)(s,Et.a.mark((function e(n){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Rt.race)({task:Object(Rt.call)(Va,t),cancel:Object(Rt.take)(l)}),Object(Rt.race)({task:Object(Rt.call)(qa,t),cancel:Object(Rt.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),Ra)}function qa(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=t.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(Rt.select)(Qo());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Rt.race)({unmute:Object(Rt.take)(Ia),cancel:Object(Rt.take)(l)});case 8:if(e=n.sent,!e.unmute){n.next=12;break}return n.delegateYield(Va(t),"t1",12);case 12:case"end":return n.stop()}}),Da)}function Va(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ga(t),"t0",1);case 1:if(!(e=n.t0)){n.next=5;break}return n.next=5,Object(Rt.put)(Wa());case 5:return n.next=7,[Object(Rt.take)(vo),Object(Rt.put)(Ua())];case 7:if(!e){n.next=12;break}return n.next=10,Object(Rt.call)(Dt.delay,1e3);case 10:return n.next=12,Object(Rt.put)(Fa());case 12:case"end":return n.stop()}}),Na)}function Ga(t){var e,n,r;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=t.canAutoplay,n=t.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Rt.select)(Ko({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&e);case 5:case"end":return o.stop()}}),La)}var za=Et.a.mark(Ya);function Ya(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(oo,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(Xa);case 5:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)($a);case 5:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),za)}function Xa(){pageflow.events.trigger("scroll_indicator:disable")}function $a(){pageflow.events.trigger("scroll_indicator:enable")}var Ka=Et.a.mark(Qa);function Qa(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.hasNotBeenPlayingForAMoment,n.next=3,Object(Dt.takeEvery)([ao,Po],Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.race)({task:Object(Rt.call)(Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)(Dt.delay,700);case 2:return t.next=4,Object(Rt.put)(e(!1));case 4:case"end":return t.stop()}}),t)}))),cancel:Object(Rt.take)(Eo)});case 2:case"end":return t.stop()}}),t)})));case 3:case"end":return n.stop()}}),Ka)}var Ja=Et.a.mark(ts),Za=Et.a.mark(es);function ts(){var t,e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=Wo(),e=t.userIdle,n.next=3,Object(Dt.takeLatest)([oo,jo,ga],es,e);case 3:case"end":return n.stop()}}),Ja)}function es(t){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Rt.call)(Dt.delay,3e3);case 2:return e.next=4,Object(Rt.put)(t());case 4:case"end":return e.stop()}}),Za)}var ns=Et.a.mark(rs);function rs(){var t,e,n,r,o=arguments;return Et.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return t=o.length>0&&void 0!==o[0]?o[0]:{},e=t.scope,n=Wo({scope:e}),r=n.fadeOutAndPause,i.next=4,Object(Dt.takeEvery)(c,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.put)(r({fadeDuration:400}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return i.stop()}}),ns)}var os=Et.a.mark(is);function is(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Po,Et.a.mark((function t(){var e,n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(tn("autoChangePageOnEnded"));case 2:return e=t.sent,t.next=5,Object(Rt.select)(rn());case 5:if(n=t.sent,!e||!n){t.next=9;break}return t.next=9,Object(Rt.call)(as);case 9:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),os)}function as(){pageflow.slides.next()}var ss=Et.a.mark(ls);function us(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function cs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?us(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):us(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ls(){var t,e,n=arguments;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e=[ka(),ja(),Ya()],t.playsInNativePlayer&&t.playsInNativePlayer()||e.push([is(),rs(),Qa()]),rt("mobile platform")||e.push([Ha(cs({},t,{canAutoplay:rt("autoplay support")}))]),t.hideControls&&e.push([ts()]),r.next=7,e;case 7:case"end":return r.stop()}}),ss)}var fs=Et.a.mark(hs),ps=Et.a.mark(vs),ds=Et.a.mark(gs);function hs(){var t,e,n,r=arguments;return Et.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=r.length>0&&void 0!==r[0]?r[0]:{},e=t.scope,n=Wo({scope:e}),o.next=4,Object(Dt.takeEvery)(u,Et.a.mark((function t(e){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Rt.race)({task:[Object(Rt.put)(n.prebuffer()),Object(Rt.call)(vs,n),Object(Rt.call)(gs,n)],cancel:Object(Rt.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return o.stop()}}),fs)}function vs(t){var e,n;return Et.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t.prebuffer,e=t.changeVolumeFactor,n=t.play,r.next=3,Object(Rt.put)(e(0,{fadeDuration:0}));case 3:return r.next=5,Object(Rt.take)(vo);case 5:return r.next=7,Object(Rt.put)(n());case 7:case"end":return r.stop()}}),ps)}function gs(t){var e;return Et.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.changeVolumeFactor,n.next=3,[Object(Rt.take)(vo),Object(Rt.take)(s)];case 3:return n.next=5,Object(Rt.put)(e(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),ds)}function ys(t){return{reducers:{"media.default":ba({scope:"default"}),"media.pageScrollerMargin":Oa},saga:Et.a.mark((function e(){return Et.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ls(t);case 2:case"end":return e.stop()}}),e)}))}}var ms={reducers:{"media.background":ba({scope:"background"})},saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[hs({scope:"background"}),rs({scope:"background"}),ja()];case 2:case"end":return t.stop()}}),t)}))};var bs=function(t){function e(t,n){var r;return T(this,e),(r=M(this,R(e).call(this,t,n))).onPlayButtonClick=function(){pageflow.hideText.activate(),r.props.onEnterBackground&&r.props.onEnterBackground()},r.onCloseButtonClick=function(){pageflow.hideText.deactivate(),r.props.onLeaveBackground&&r.props.onLeaveBackground()},r}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props.page;return B.a.createElement(W,{className:U()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},B.a.createElement(Vr,{onClick:this.onCloseButtonClick}),B.a.createElement(Dr,{additionalButtons:this.props.additionalMenuBarButtons,onAdditionalButtonClick:this.props.onAdditionalButtonClick,qualityMenuButtonTitle:this.props.qualityMenuButtonTitle,qualityMenuItems:this.props.qualityMenuItems,onQualityMenuItemClick:this.props.onQualityMenuItemClick,hiddenOnPhone:this.props.textHasBeenHidden&&!this.props.textIsHidden}),B.a.createElement(H,{pageHasPlayerControls:!0},B.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),B.a.createElement(In,{page:t})),B.a.createElement(Mn,null,B.a.createElement(Ur,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:t.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:t.additionalTitle,description:t.additionalDescription}}),B.a.createElement(Bn,null,B.a.createElement(Un,{page:t}),B.a.createElement(Wn,{page:t}))))}}]),e}(B.a.Component),ws=jn(tt({textIsHidden:function(t){return t.hideText.isActive},textHasBeenHidden:function(t){return t.hideText.hasBeenActive}}))(bs),Es="HIDE_TEXT_ACTIVATE",Os="HIDE_TEXT_DEACTIVATE";var xs=Et.a.mark(Ps);function Ps(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Os,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(rn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Rt.call)(ks);case 5:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),xs)}function ks(){pageflow.events.trigger("scroll_indicator:enable")}var _s={name:"interactivePageBackground",saga:Ps};function Ss(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function Ts(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function js(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ts(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ts(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var As=new function(){var t=[];this.register=function(e,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=Ss(n,["component","reduxModules"]);r||c("Requires component option to be present"),Array.isArray(i)||c("Expected reduxModules option to be an array.");var s=[],u=i.reduce((function(t,e){return"object"==typeof e&&3==new Set(Object.keys(e).concat(["name","reducers","saga"])).size||c("Expected redux module to be object with name, reducers and saga properties at most."),e.reducers&&"object"!=typeof e.reducers&&c("Expected reducers property of ".concat(e.name," reduxModule to be object.")),e.saga&&s.push(e.saga),js({},t,{},e.reducers)}),{});function c(t){throw new Error("".concat(t," Check registerPageType call of ").concat(e," page type."))}t.push(js({name:e,component:r,reducer:Object.keys(u).length?Object(at.c)(u):void 0,saga:Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.map((function(t){return t()}));case 2:case"end":return t.stop()}}),t)}))},a))},this.forEach=function(){return t.forEach.apply(t,arguments)},this.reduce=function(){return t.reduce.apply(t,arguments)},this.findByName=function(e){return t.find((function(t){var n=t.name;t.component;return n==e}))}},Cs=As.register;function Is(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ms(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Is(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Is(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Rs=new function(){var t=[];this.register=function(e,n){var r=n.component;t.push({name:e,component:r})},this.findByName=function(e){var n=t.find((function(t){return t.name==e}));if(!n)throw'Widget type with name "'.concat(e,'" not found.');return n},this.forEach=function(){t.forEach.apply(t,arguments)}},Ds=Rs.register,Ns=n(174),Ls={muted:!1},Bs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ls,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Ca:return{muted:!0};case Ia:return{muted:!1};default:return t}};function Fs(t){var e=t.t,n=t.muted,r=t.unmute;return n?B.a.createElement("div",{className:"background_media_unmute_button"},B.a.createElement("a",{title:e("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Us={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||(n.on("background_media:mute",(function(t){return r({type:Ca})})),n.on("background_media:unmute",(function(t){return r(Ma())})))},createReducers:function(){return{backgroundMedia:Bs}},createSaga:function(t){var e=t.backgroundMedia;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Ia,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){return e.unmute()}));case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};function Ws(t){return t.cookieNotice.visible}function Hs(t){return t.theming.privacy_link_url}var qs="COOKIE_NOTICE_REQUEST",Vs="COOKIE_NOTICE_DISMISS";function Gs(){return{type:Vs}}function zs(t){var e=t.isCookieNoticeVisible,n=t.editing,r=t.t,o=t.dismiss;return e||n?B.a.createElement("div",{className:"cookie_notice_bar"},B.a.createElement("div",{className:"cookie_notice_bar-content"},function(t){var e=t.privacyLinkUrl,n=t.t,r=t.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(e,"?lang=").concat(r)});return B.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(t),B.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):B.a.createElement("noscript",null)}function Ys(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ys(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ys(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var $s=function(t){var e={dismissed:t.hasBeenDismissed,visible:!1};return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:e,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case qs:return t.dismissed?t:Xs({},t,{visible:!0});case Vs:return{dismissed:!0,visible:!1};default:return t}}},Ks={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||n.on("cookie_notice:request",(function(){return r({type:qs})}))},createReducers:function(t){var e=t.cookies;return{cookieNotice:$s({hasBeenDismissed:e&&e.hasItem("cookie_notice_dismissed")})}},createSaga:function(t){var e=t.widgetsApi,n=t.cookies;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(qs,Et.a.mark((function t(){var n;return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.select)(Ws);case 2:if(!t.sent){t.next=10;break}return t.next=5,Object(Rt.cps)(Qs,e);case 5:return n=t.sent,t.next=8,Object(Rt.take)(Vs);case 8:return t.next=10,Object(Rt.call)(n);case 10:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)(Vs,Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),t)})))}};function Qs(t,e){t.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(t){return e(null,t)}))}var Js={createReducers:function(t){var e=t.enabledFeatureNames;return{features:function(){return e}}}},Zs="THEMING_INIT";var tu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Zs:return e.payload.theming;default:return t}},eu={init:function(t){var e=t.theming;(0,t.dispatch)(function(t){return{type:Zs,payload:{theming:t}}}(e))},createReducers:function(){return{theming:tu}}},nu={init:function(t){var e=t.storylines,n=t.dispatch;Ue({collection:e,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:jt("storylines")}}},ru={init:function(t){var e=t.chapters,n=t.dispatch;Ue({collection:e,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:jt("chapters")}}},ou="PAGE_TYPES_INIT";var iu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ou:return e.payload.pageTypes;default:return t}},au={createReducers:function(){return{pageTypes:iu}},init:function(t){var e=t.pageTypesSeed;(0,t.dispatch)(function(t){var e=t.pageTypes;return{type:ou,payload:{pageTypes:e}}}({pageTypes:Y.deep(e)}))}},su="CURRENT_PAGE_CHANGE";var uu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case su:return e.payload.id;default:return t}},cu=function(t,e){t.on("page:change",(function(t){return e(function(t){var e=t.id;return{type:su,payload:{id:e}}}({id:t.getPermaId()}))}))},lu={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||cu(n,r)},createReducers:function(){return{currentPageId:uu}}},fu={init:function(t){var e=t.files,n=t.dispatch;Object.keys(e).forEach((function(t){Ue({collection:e[t],collectionName:Y(t),dispatch:n,idAttribute:"perma_id",attributes:["id","perma_id","basename","variants","is_ready","parent_file_id","parent_file_model_type","width","height","duration_in_ms","rights","created_at"],includeConfiguration:!0})}))},createReducers:function(t){var e=t.files,n=t.fileUrlTemplates,r=void 0===n?{}:n,o=t.modelTypes,i=void 0===o?{}:o;return r=Y.keys(r),i=Y.keys(i),{files:Object(at.c)(Object.keys(e).reduce((function(t,e){return t[e=Y(e)]=jt(e,{idAttribute:"permaId"}),t}),{})),fileUrlTemplates:function(t){return r},modelTypes:function(t){return i}}}},pu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case P:return e.payload.settings;default:return t}},du={init:function(t){var e=t.isServerSide,n=t.settings,r=t.dispatch;e||(r(_({settings:n.toJSON()})),n.on("change",(function(){return r(_({settings:n.toJSON()}))})))},createReducers:function(){return{settings:pu}},createSaga:function(t){var e=t.settings;return(Et.a.mark((function t(){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(k,Et.a.mark((function t(n){return Et.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Rt.call)([e,e.set],n.payload.property,n.payload.value);case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};var hu="I18N_INIT";var vu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case hu:return{locale:e.payload.locale};default:return t}},gu={createReducers:function(){return{i18n:vu}},init:function(t){var e=t.locale;(0,t.dispatch)(function(t){var e=t.locale;return{type:hu,payload:{locale:e}}}({locale:e}))}},yu="ENTRY_UPDATE",mu="ENTRY_READY";function bu(t){var e=t.entry;return{type:yu,payload:{entry:e}}}function wu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Eu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ou=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case yu:return Eu({},t,{},e.payload.entry);case mu:return Eu({},t,{isReady:!0});default:return t}},xu={init:function(t){var e=t.entry,n=t.dispatch,r=t.events;t.isServerSide||r.once("ready",(function(){return n({type:mu})})),Fe.a.Model&&e instanceof Fe.a.Model?function(t){var e=t.entry,n=t.dispatch;Pu({entry:e,dispatch:n}),e.metadata.on("change:title",(function(){Pu({entry:e,dispatch:n})}))}({entry:e,dispatch:n}):function(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.slug,title:e.title,publishedAt:e.published_at}}))}({entry:e,dispatch:n})},createReducers:function(){return{entry:Ou}}};function Pu(t){var e=t.entry;(0,t.dispatch)(bu({entry:{slug:e.get("slug"),title:e.metadata.get("title")||e.get("entry_title"),publishedAt:null}}))}var ku={init:function(t){var e=t.isServerSide,n=t.window,r=t.getState,o=t.dispatch;e||n.addEventListener("keydown",(function(t){var e=r().currentPageId;32==t.keyCode?o(function(t){var e=t.currentPageId;return x(va,e)}({currentPageId:e})):9==t.keyCode&&o(function(t){var e=t.currentPageId;return x(ga,e)}({currentPageId:e}))}))}},_u=function(t,e){t.on("activate",(function(t){return e({type:Es})})),t.on("deactivate",(function(t){return e({type:Os})}))};function Su(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Tu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Su(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Su(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var ju={isActive:!1,hasBeenActive:!1},Au=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ju,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Es:return{isActive:!0,hasBeenActive:!0};case Os:return Tu({},t,{isActive:!1});case su:return Tu({},t,{hasBeenActive:!1});default:return t}},Cu={init:function(t){var e=t.isServerSide,n=t.hideText,r=t.dispatch;e||_u(n,r)},createReducers:function(){return{hideText:Au}}},Iu={init:function(t){var e=t.widgets,n=t.dispatch;Ue({collection:e,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:jt("widgets",{idAttribute:"role"})}}};var Mu="WIDGETS_LOAD";var Ru=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Mu:return e.payload.widgets;default:return t}},Du={init:function(t){var e=t.isServerSide,n=t.events,r=t.widgetsApi,o=t.dispatch;function i(){o(function(t){var e=t.widgets;return{type:Mu,payload:{widgets:e}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}e||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Ru}}},Nu="THEME_INIT";var Lu=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Nu:return e.payload;default:return t}},Bu={createReducers:function(){return{theme:Lu}},init:function(t){var e,n=t.dispatch;if(!t.isServerSide){var r=document.getElementById("theme_probe-main_color");n((e={mainColor:window.getComputedStyle(r)["background-color"]},{type:Nu,payload:e}))}}};function Fu(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}var Uu=function(t){var e=!!t.storylines,n=!t.settings,r=t.seed,o=e?t:r,i={isServerSide:n,locale:r.locale,entry:o.entry,enabledFeatureNames:r.enabled_feature_names,fileUrlTemplates:r.file_url_templates,modelTypes:r.file_model_types,pageTypesSeed:r.page_types,pageTypes:As,theming:r.theming,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:e?t.entry.widgets:r.widgets,cookies:t.cookies,hideText:t.hideText,events:t.events,settings:t.settings,widgetsApi:t.widgets,backgroundMedia:t.backgroundMedia,window:n?null:window},s=Object(Ns.a)([Us,Ks,Js,gu,eu,xu,lu,nu,ru,Tn,fu,du,Cu,Iu,Du,au,ku,Bu],i);return n||(As.forEach((function(e){return t.pageType.register(e.name,function(t){return kn(On(t),t.mixin||{})}(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{Component:e.component,store:s})))})),Rs.forEach((function(e){var n=e.name,r=e.component;return t.widgetTypes.register(n,function(t,e){return{enhance:function(n){wn.a.render(React.createElement(Wt,{store:e},React.createElement(t,null)),n[0])}}}(r,s))}))),s},Wu=Me("pages"),Hu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.pageComponent=As.findByName(this.props.pageType).component}},{key:"render",value:function(t){var e=this.pageComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(Wu,{itemId:this.props.pageId},B.a.createElement(e,null)))}}]),e}(B.a.Component),qu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed}),this.widgetComponent=Rs.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(t){var e=this.widgetComponent;return B.a.createElement(Wt,{store:this.store},B.a.createElement(e,null))}}]),e}(B.a.Component),Vu=Me("pages"),Gu=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"componentWillMount",value:function(){this.store=Uu({seed:this.props.resolverSeed})}},{key:"render",value:function(t){return B.a.createElement(Wt,{store:this.store},B.a.createElement(Vu,{itemId:this.props.pageId},B.a.createElement(zi,null)))}}]),e}(B.a.Component);function zu(t){var e=t.page.audioPlayerControlsVariant;return React.createElement(li,{className:"audio_page supports_text_position_center",page:t.page,file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_audio"),playerControlsComponent:Yu(e),dynamicPageScrollerMargin:"waveform"==e,autoplayWhenBackgroundMediaMuted:!1},React.createElement(zi,null),React.createElement(Ai,{file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,textTrackPosition:Xu(e)}))}function Yu(t){return"waveform"==t?da:Ur}function Xu(t){if("waveform"==t)return"top"}function $u(t){var e=t.page;return React.createElement(W,{className:"supports_text_position_center"},React.createElement(Yi,{page:e}),React.createElement(Mn,null,React.createElement(Bn,null,React.createElement(Un,{page:e}),React.createElement(Xi,{page:e}),React.createElement(Wn,{page:e}))))}var Ku=["auto","4k","fullhd","medium"];function Qu(t){return React.createElement(li,{className:"video_page supports_text_position_center",page:t.page,file:t.videoFile,qualities:Ku,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Hi,{page:t.page,playerState:t.playerState,playerActions:t.playerActions}),React.createElement(qi,{page:t.page}))}var Ju={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},Zu=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={fading:!1,hidden:!1},n}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){t.setState({fading:!0}),t.hiddenTimeout=setTimeout((function(){t.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this.props.editing,e=this.state,n=e.hidden,r=e.fading;return t||!n?B.a.createElement("div",{className:U()("loading_spinner",{fade:!t&&r}),onTouchMove:tc,style:Ju},B.a.createElement("div",{className:"loading_inner"},B.a.createElement("div",{className:"left_circle"}),B.a.createElement("div",{className:"right_circle"}),B.a.createElement("div",{className:"loading_spinner_inner"},B.a.createElement("div",null)))):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function tc(t){t.preventDefault()}var ec=function(t){function e(t){var n;return T(this,e),(n=M(this,R(e).call(this,t))).state={hidden:!1,animating:!0},n}return N(e,t),A(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):pageflow.delayedStart.waitFor((function(e){t.resolveDelayedStart=e}))}},{key:"hideOrLoop",value:function(t){var e=this;t.target===t.currentTarget&&(PAGEFLOW_EDITOR?(this.setState({animating:!1}),setTimeout((function(){e.setState({animating:!0})}),1e3)):(this.setState({hidden:!0}),this.resolveDelayedStart()))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var t=this,e=this.props.editing,n=this.state,r=n.hidden,o=n.animating,i=oc(this.props),a=B.a.createElement("div",{className:U()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),e||!r?B.a.createElement("div",{className:U()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(e){return t.hideOrLoop(e)},onTouchMove:nc,style:ic(this.props)},a,B.a.createElement("div",{className:"media_loading_spinner-image",style:rc(this.props)}),this.props.children):B.a.createElement("noscript",null)}}]),e}(B.a.Component);function nc(t){t.preventDefault()}function rc(t){var e=t.firstPageBackgroundImageUrl,n=t.backgroundImage,r=t.blurStrength,o=n?n.urls.medium:e;if(o)return{backgroundImage:'url("'.concat(o,'")'),filter:"blur("+r+"px)"}}function oc(t){return t.backgroundImage||null!=t.invert?t.invert:t.firstPageInvert}function ic(t){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:oc(t)?"#fff":"#000"}}var ac=Ce(tt({editing:eo({role:"loading_spinner"}),firstPageInvert:Ze("invert"),firstPageBackgroundImageUrl:function(t){var e=t.page,n=t.variant,r=void 0===n?"medium":n;return Z(e,Xe(),(function(t){return t}),(function(t,e,n){if(t){var o=We({candidates:Ke({page:t})(n).thumbnailCandidates,page:t,fileExists:e});if(o){var i=Ye(Y(o.collectionName),{id:He(t,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}({variant:"medium",page:Z(Je,(function(t){return t&&t.attributes}))}),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),invert:Zr("invert",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),blurStrength:Zr("blurStrength",{role:"loading_spinner"})}))(ec);var sc=function(t){function e(){return T(this,e),M(this,R(e).apply(this,arguments))}return N(e,t),A(e,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.subtitle,r=t.entryTitle,o=oc(this.props);return B.a.createElement(ac,null,B.a.createElement("div",{className:U()("media_loading_spinner-titles",{"media_loading_spinner-invert":o})},B.a.createElement("div",{className:"media_loading_spinner-title"},e||r),B.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),e}(B.a.Component);var uc=n(97),cc=n.n(uc);function lc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}Cs("background_image",{component:jn(tt({page:en()}))($u),reduxModules:[ms]}),Cs("video",{component:jn(tt({page:en(),videoFile:Ye("videoFiles",{id:tn("videoFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(Qu),reduxModules:[ys({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:Gn("native video player")})]}),Cs("audio",{component:jn(tt({page:en(),audioFile:Ye("audioFiles",{id:tn("audioFileId")}),playerState:Go(),t:Hr}),X({playerActions:zo()}))(zu),reduxModules:[ys({retryOnUnmute:!0}),ms]}),Ds("cookie_notice_bar",{component:Ce(tt({isCookieNoticeVisible:Ws,privacyLinkUrl:Hs,editing:eo({role:"cookie_notice"}),t:Hr,locale:qr}),{dismiss:Gs})(zs)}),Ds("unmute_button",{component:Ce(tt({t:Hr,muted:qo}),{unmute:Ma})(Fs)}),Ds("classic_loading_spinner",{component:Ce(tt({editing:eo({role:"loading_spinner"})}))(Zu)}),Ds("title_loading_spinner",{component:Ce(tt({firstPageInvert:Ze("invert"),backgroundImage:Ye("imageFiles",{id:Zr("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:ii("title"),title:Zr("title",{role:"loading_spinner"}),subtitle:Zr("subtitle",{role:"loading_spinner"}),removeLogo:Zr("removeLogo",{role:"loading_spinner"}),invert:Zr("invert",{role:"loading_spinner"})}))(sc)}),Ds("media_loading_spinner",{component:ac}),cc.a.events&&cc.a.events.on("seed:loaded",(function(){return Uu(cc.a)}));e.default={components:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?lc(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):lc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({MediaPageBackground:Yi,PageWithInteractiveBackground:ws},o),actions:r,selectors:i,registerPageType:Cs,registerPageTypeWithDefaultBackground:function(t,e){Cs(t,{component:zi,selectTargetElement:function(t){return t.find(".page_background_asset")[0]},mixin:Ms({scroller:!0},e),reduxModules:[ms]})},registerWidgetType:Ds,mediaReduxModule:ys,mediaPageBackgroundReduxModule:ms,pageWithInteractiveBackgroundReduxModule:_s,iconMapping:sr,SvgIcon:ir,classNames:U.a,connect:Ce,connectInPage:jn,combineReducers:at.c,combine:X,ServerSidePage:Hu,ServerSideWidget:qu,ServerSidePageBackgroundAsset:Gu}}]).default;