pageflow 15.7.1 → 16.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +33 -243
- data/README.md +1 -9
- data/Rakefile +4 -1
- data/admins/pageflow/accounts.rb +12 -16
- data/admins/pageflow/entry.rb +57 -28
- data/admins/pageflow/entry_templates.rb +5 -7
- data/admins/pageflow/sites.rb +50 -0
- data/admins/pageflow/user.rb +7 -0
- data/app/assets/javascripts/pageflow/admin/entries.js +53 -4
- data/app/assets/stylesheets/pageflow/admin/permalink_input.scss +65 -0
- data/app/assets/stylesheets/pageflow/admin.scss +1 -0
- data/app/assets/stylesheets/pageflow/editor/base.scss +2 -6
- data/app/assets/stylesheets/pageflow/editor/dialogs.scss +2 -0
- data/app/assets/stylesheets/pageflow/editor/drop_down_button.scss +9 -0
- data/app/assets/stylesheets/pageflow/editor/info_box.scss +13 -3
- data/app/assets/stylesheets/pageflow/mixins/buttons.scss +1 -0
- data/app/assets/stylesheets/pageflow/page.scss +0 -2
- data/app/assets/stylesheets/pageflow/themes/default/page.scss +1 -1
- data/app/assets/stylesheets/pageflow/ui/forms.scss +4 -1
- data/app/controllers/pageflow/editor/file_import_controller.rb +32 -42
- data/app/controllers/pageflow/entries_controller.rb +27 -3
- data/app/helpers/pageflow/admin/permalinks_helper.rb +15 -0
- data/app/helpers/pageflow/common_entry_seed_helper.rb +1 -1
- data/app/helpers/pageflow/embed_code_helper.rb +1 -1
- data/app/helpers/pageflow/entries_helper.rb +25 -17
- data/app/helpers/pageflow/sites_helper.rb +11 -0
- data/app/helpers/pageflow/social_share_helper.rb +2 -2
- data/app/inputs/pageflow_permalink_input.rb +47 -0
- data/app/models/concerns/pageflow/permalinkable.rb +12 -0
- data/app/models/concerns/pageflow/reusable_file.rb +5 -0
- data/app/models/concerns/pageflow/uploadable_file.rb +4 -0
- data/app/models/pageflow/account.rb +7 -33
- data/app/models/pageflow/{cname_theming_request_scope.rb → cname_site_request_scope.rb} +3 -3
- data/app/models/pageflow/customized_theme.rb +5 -3
- data/app/models/pageflow/entry.rb +8 -4
- data/app/models/pageflow/entry_at_revision.rb +4 -3
- data/app/models/pageflow/entry_duplicate.rb +8 -1
- data/app/models/pageflow/entry_template.rb +4 -4
- data/app/models/pageflow/home_button.rb +7 -7
- data/app/models/pageflow/image_file_url_templates.rb +2 -2
- data/app/models/pageflow/permalink.rb +39 -0
- data/app/models/pageflow/permalink_directory.rb +10 -0
- data/app/models/pageflow/published_entry.rb +19 -2
- data/app/models/pageflow/revision.rb +1 -1
- data/app/models/pageflow/site.rb +59 -0
- data/app/models/pageflow/theme_customization.rb +1 -1
- data/app/models/pageflow/theme_customization_file.rb +6 -1
- data/app/policies/pageflow/account_policy.rb +2 -2
- data/app/policies/pageflow/entry_policy.rb +2 -2
- data/app/policies/pageflow/entry_template_policy.rb +1 -1
- data/app/policies/pageflow/{theming_policy.rb → site_policy.rb} +13 -11
- data/app/views/admin/accounts/_entry_template_details.html.arb +1 -1
- data/app/views/admin/accounts/_form.html.erb +4 -22
- data/app/views/admin/accounts/_site_defaults_inline_help.html.erb +5 -0
- data/app/views/admin/entries/_form.html.erb +11 -12
- data/app/views/admin/entries/_permalink_inputs.html.erb +6 -0
- data/app/views/admin/entries/_site_input.html.erb +15 -0
- data/app/views/admin/entries/{entry_type_name_input.html.erb → entry_site_and_type_name_input.html.erb} +3 -0
- data/app/views/admin/entries/permalink_inputs.html.erb +7 -0
- data/app/views/admin/entry_templates/_form.html.erb +5 -5
- data/app/views/admin/sites/_attributes_table.html.arb +9 -0
- data/app/views/admin/sites/_fields.html.erb +17 -0
- data/app/views/admin/sites/_form.html.erb +5 -0
- data/app/views/components/pageflow/admin/entries_tab.rb +1 -2
- data/app/views/components/pageflow/admin/entry_templates_tab.rb +10 -11
- data/app/views/components/pageflow/admin/features_tab.rb +1 -1
- data/app/views/components/pageflow/admin/sites_tab.rb +32 -0
- data/app/views/components/pageflow/admin/users_tab.rb +1 -2
- data/app/views/pageflow/editor/entries/seed.json.erb +1 -1
- data/app/views/pageflow/editor/file_import/start_import_job.json.jbuilder +10 -0
- data/app/views/pageflow/editor/sites/_site.json.jbuilder +1 -0
- data/app/views/pageflow/entries/{_theming.css.erb → _site.css.erb} +0 -0
- data/app/views/pageflow/entries/stylesheet.css.erb +1 -1
- data/app/views/pageflow/files/_file.json.jbuilder +1 -0
- data/app/views/pageflow/social_share/_entry_meta_tags.html.erb +1 -1
- data/app/views/pageflow/social_share/_page_meta_tags.html.erb +1 -1
- data/config/initializers/admin_resource_tabs.rb +29 -12
- data/config/initializers/mime_types.rb +1 -0
- data/config/locales/de.yml +19 -17
- data/config/locales/en.yml +19 -17
- data/config/routes.rb +8 -5
- data/db/migrate/20221024100724_create_pageflow_permalink_directories.rb +10 -0
- data/db/migrate/20221025074049_add_permalink_attributes_to_entries.rb +5 -0
- data/db/migrate/20221027065022_create_pageflow_permalinks.rb +12 -0
- data/db/migrate/20221215101134_rename_theming_to_site.rb +9 -0
- data/db/migrate/20221215120856_associate_entry_templates_with_sites.rb +34 -0
- data/db/migrate/20221219203023_add_name_to_sites.rb +5 -0
- data/db/migrate/20230103155934_associate_theme_customizations_with_sites.rb +27 -0
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/editor.js +176 -179
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/frontend.js +49 -7
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-client.js +5 -5
- data/entry_types/paged/app/assets/javascripts/pageflow_paged/dist/react-server.js +1 -1
- data/entry_types/paged/config/initializers/features.rb +2 -0
- data/entry_types/paged/config/locales/{new/help.de.yml → de.yml} +74 -65
- data/entry_types/paged/config/locales/{new/help.en.yml → en.yml} +66 -56
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/favicon_helper.rb +39 -13
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/generated_media_queries_helper.rb +55 -0
- data/entry_types/scrolled/app/helpers/pageflow_scrolled/themes_helper.rb +6 -2
- data/entry_types/scrolled/app/views/pageflow_scrolled/editor/entries/_head.html.erb +2 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/entries/_manifest.json.jbuilder +16 -0
- data/entry_types/scrolled/app/views/pageflow_scrolled/entries/show.html.erb +9 -3
- data/entry_types/scrolled/app/views/pageflow_scrolled/entry_json_seed/_entry.json.jbuilder +5 -5
- data/entry_types/scrolled/app/views/pageflow_scrolled/favicons/_entry.html.erb +16 -10
- data/entry_types/scrolled/config/locales/de.yml +265 -76
- data/entry_types/scrolled/config/locales/en.yml +266 -77
- data/entry_types/scrolled/lib/pageflow_scrolled/configuration.rb +3 -3
- data/entry_types/scrolled/lib/pageflow_scrolled/plugin.rb +14 -0
- data/entry_types/scrolled/lib/pageflow_scrolled/react_widget_type.rb +1 -1
- data/entry_types/scrolled/lib/pageflow_scrolled/seeds.rb +1 -1
- data/entry_types/scrolled/lib/pageflow_scrolled/web_app_manifest.rb +11 -0
- data/entry_types/scrolled/lib/pageflow_scrolled.rb +39 -1
- data/entry_types/scrolled/lib/tasks/pageflow_scrolled/storybook.rake +3 -2
- data/entry_types/scrolled/package/contentElements-editor.js +124 -38
- data/entry_types/scrolled/package/contentElements-frontend.css +1 -1
- data/entry_types/scrolled/package/contentElements-frontend.js +321 -27
- data/entry_types/scrolled/package/editor.js +1345 -739
- data/entry_types/scrolled/package/frontend/EditableInlineText.module-14c7b097.js +5314 -0
- data/entry_types/scrolled/package/frontend/{PhonePlatformContext-9fb97827.js → PhonePlatformContext-f6093cc6.js} +87 -223
- data/entry_types/scrolled/package/frontend/{Viewer-e2290ea0.js → Viewer-b6becc57.js} +6 -40
- data/entry_types/scrolled/package/frontend/arrowRight-78a7cee4.js +42 -0
- data/entry_types/scrolled/package/frontend/{components-6ab26015.js → components-b3160dd7.js} +546 -361
- data/entry_types/scrolled/package/frontend/index.css +1 -1
- data/entry_types/scrolled/package/frontend/index.js +398 -3692
- data/entry_types/scrolled/package/package.json +3 -2
- data/entry_types/scrolled/package/testHelpers.js +12 -2
- data/entry_types/scrolled/package/widgets/defaultNavigation.css +2 -2
- data/entry_types/scrolled/package/widgets/defaultNavigation.js +50 -40
- data/entry_types/scrolled/spec/fixtures/image.ico +0 -0
- data/lib/pageflow/ability_mixin.rb +16 -8
- data/lib/pageflow/admin/attributes_table_rows.rb +1 -1
- data/lib/pageflow/admin/form_inputs.rb +1 -1
- data/lib/pageflow/admin/tabs.rb +1 -1
- data/lib/pageflow/configuration/permissions.rb +3 -3
- data/lib/pageflow/configuration.rb +17 -17
- data/lib/pageflow/entry_export_import/entry_serialization.rb +1 -1
- data/lib/pageflow/entry_type.rb +6 -2
- data/lib/pageflow/primary_domain_entry_redirect.rb +7 -7
- data/lib/pageflow/seeds.rb +10 -10
- data/lib/pageflow/theme_customizations.rb +10 -10
- data/lib/pageflow/version.rb +1 -1
- data/package/editor.js +129 -156
- data/package/frontend.js +19 -2
- data/package/testHelpers.js +39 -6
- data/spec/factories/accounts.rb +5 -2
- data/spec/factories/draft_entries.rb +2 -2
- data/spec/factories/entries.rb +18 -1
- data/spec/factories/entry_templates.rb +1 -1
- data/spec/factories/permalink_directory.rb +6 -0
- data/spec/factories/permalinks.rb +4 -0
- data/spec/factories/published_entries.rb +4 -2
- data/spec/factories/sites.rb +9 -0
- metadata +50 -62
- data/app/assets/javascripts/pageflow/dist/editor.js +0 -11890
- data/app/assets/javascripts/pageflow/dist/frontend.js +0 -5800
- data/app/assets/javascripts/pageflow/dist/react-client.js +0 -22
- data/app/assets/javascripts/pageflow/dist/react-server.js +0 -19
- data/app/helpers/pageflow/themings_helper.rb +0 -11
- data/app/models/pageflow/theming.rb +0 -29
- data/app/views/admin/accounts/_theming_defaults_inline_help.html.erb +0 -5
- data/app/views/admin/accounts/_theming_details.html.arb +0 -5
- data/app/views/pageflow/editor/themings/_theming.json.jbuilder +0 -1
- data/entry_types/paged/config/locales/new/video_contain.de.yml +0 -7
- data/entry_types/paged/config/locales/new/video_contain.en.yml +0 -7
- data/entry_types/scrolled/config/locales/new/before_after_slider.de.yml +0 -8
- data/entry_types/scrolled/config/locales/new/before_after_slider.en.yml +0 -8
- data/entry_types/scrolled/config/locales/new/center_ragged.de.yml +0 -8
- data/entry_types/scrolled/config/locales/new/center_ragged.en.yml +0 -9
- data/entry_types/scrolled/config/locales/new/consent.de.yml +0 -25
- data/entry_types/scrolled/config/locales/new/consent.en.yml +0 -24
- data/entry_types/scrolled/config/locales/new/content_element_categories.de.yml +0 -39
- data/entry_types/scrolled/config/locales/new/content_element_categories.en.yml +0 -39
- data/entry_types/scrolled/config/locales/new/default_transition.de.yml +0 -14
- data/entry_types/scrolled/config/locales/new/default_transition.en.yml +0 -14
- data/entry_types/scrolled/config/locales/new/header_line_breaks.de.yml +0 -28
- data/entry_types/scrolled/config/locales/new/header_line_breaks.en.yml +0 -27
- data/entry_types/scrolled/config/locales/new/header_size.de.yml +0 -17
- data/entry_types/scrolled/config/locales/new/header_size.en.yml +0 -17
- data/entry_types/scrolled/config/locales/new/iframe_embed.de.yml +0 -39
- data/entry_types/scrolled/config/locales/new/iframe_embed.en.yml +0 -39
- data/entry_types/scrolled/config/locales/new/inline_loops.de.yml +0 -26
- data/entry_types/scrolled/config/locales/new/inline_loops.en.yml +0 -26
- data/entry_types/scrolled/config/locales/new/portrait_inline_image.de.yml +0 -9
- data/entry_types/scrolled/config/locales/new/portrait_inline_image.en.yml +0 -9
- data/entry_types/scrolled/config/locales/new/section_width.de.yml +0 -10
- data/entry_types/scrolled/config/locales/new/section_width.en.yml +0 -10
- data/entry_types/scrolled/config/locales/new/typography_variants.de.yml +0 -7
- data/entry_types/scrolled/config/locales/new/typography_variants.en.yml +0 -7
- data/entry_types/scrolled/config/locales/new/video_embed_poster.de.yml +0 -8
- data/entry_types/scrolled/config/locales/new/video_embed_poster.en.yml +0 -8
- data/entry_types/scrolled/config/locales/new/waveform_styles.de.yml +0 -11
- data/entry_types/scrolled/config/locales/new/waveform_styles.en.yml +0 -12
- data/entry_types/scrolled/config/locales/new/widgets.de.yml +0 -6
- data/entry_types/scrolled/config/locales/new/widgets.en.yml +0 -6
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/browserconfig.xml +0 -9
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/mstile-150x150.png +0 -0
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/safari-pinned-tab.svg +0 -46
- data/entry_types/scrolled/lib/generators/pageflow_scrolled/install/templates/theme/favicons/site.webmanifest +0 -19
- data/entry_types/scrolled/package/frontend/EditableInlineText.module-b9923660.js +0 -993
- data/entry_types/scrolled/package/frontend/usePhonePlatform-2857c22b.js +0 -34
- data/spec/factories/themings.rb +0 -7
@@ -1,14 +1,14 @@
|
|
1
|
-
pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(
|
1
|
+
pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=407)}([function(e,t){e.exports=React},function(e,t,n){var r=n(8),o=n(22).f,i=n(21),a=n(20),s=n(99),c=n(125),u=n(65);e.exports=function(e,t){var n,l,f,p,d,h=e.target,v=e.global,g=e.stat;if(n=v?r:g?r[h]||s(h,{}):(r[h]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(d=o(n,l))&&d.value:n[l],!u(v?l:h+(g?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(n,l,p,e)}}},function(e,t,n){e.exports=n(393)},function(e,t,n){e.exports=n(165)},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){var r;
|
2
2
|
/*!
|
3
3
|
Copyright (c) 2017 Jed Watson.
|
4
4
|
Licensed under the MIT License (MIT), see
|
5
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 c,u=n(396),l=(c=u)&&c.__esModule?c:{default:c},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),c=n(71),u=n(21),l=n(20),f=n(15).f,p=n(37),d=n(56),h=n(13),v=n(62),g=i.DataView,m=g&&g.prototype,y=i.Int8Array,b=y&&y.prototype,w=i.Uint8ClampedArray,E=w&&w.prototype,O=y&&p(y),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"!==c(i.opera),C=!1,A={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(A,c(t))};for(r in A)i[r]||(j=!1);if((!j||"function"!=typeof O||O===Function.prototype)&&(O=function(){throw TypeError("Incorrect invocation")},j))for(r in A)i[r]&&d(i[r],O);if((!j||!x||x===P)&&(x=O.prototype,j))for(r in A)i[r]&&d(i[r].prototype,x);if(j&&p(E)!==x&&d(E,x),o&&!s(x,_))for(r in C=!0,f(x,_,{get:function(){return a(this)?this[S]:void 0}}),A)i[r]&&u(i[r],S,r);T&&d&&p(m)!==P&&d(m,P),t.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:C&&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 A)if(s(A,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 A){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 A)(a=i[r])&&s(a,t)&&delete a[t];if(O[t]&&!n)return;try{return l(O,t,n?e:j&&y[t]||e)}catch(t){}}for(r in A)!(a=i[r])||a[t]&&!n||l(a,t,e)}},isView:function(t){var e=c(t);return"DataView"===e||s(A,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,c=o("wks");t.exports=function(t){return c[t]||(c[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,c=a.toString,u=i?i.toStringTag:void 0;var l=function(t){var e=s.call(t,u),n=t[u];try{t[u]=void 0;var r=!0}catch(t){}var o=c.call(t);return r&&(e?t[u]=n:delete t[u]),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 m=function(t,e){return function(n){return t(e(n))}}(Object.getPrototypeOf,Object);var y=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(!y(t)||g(t)!=b)return!1;var e=m(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,c=!1;function u(){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 u(),s.push(t),function(){if(e){e=!1,u();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(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,i=o(i,t)}finally{c=!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 C(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 c=i[s],u=n[c],l=t[c],f=u(l,e);if(void 0===f){var p=j(c,e);throw new Error(p)}o[c]=f,r=r||f!==l}return r?o:t}}function A(t,e){return function(){return e(t.apply(void 0,arguments))}}function I(t,e){if("function"==typeof t)return A(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]=A(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 N(){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,c={getState:a.getState,dispatch:function(t){return s(t)}};return i=e.map((function(t){return t(c)})),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 C})),n.d(e,"b",(function(){return I})),n.d(e,"a",(function(){return N}))},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),c=[].push,u=function(t){var e=1==t,n=2==t,u=3==t,l=4==t,f=6==t,p=5==t||f;return function(d,h,v,g){for(var m,y,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)&&(y=E(m=w[x],x,b),t))if(e)k[x]=y;else if(y)switch(t){case 3:return!0;case 5:return m;case 6:return x;case 2:c.call(k,m)}else if(l)return!1;return f?-1:u||l?l:k}};t.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(t,e,n){var r=n(8),o=n(55),i=n(21),a=n(18),s=n(99),c=n(123),u=n(29),l=u.get,f=u.enforce,p=String(c).split("toString");o("inspectSource",(function(t){return c.call(t)})),(t.exports=function(t,e,n,o){var c=!!o&&!!o.unsafe,u=!!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?(c?!l&&t[e]&&(u=!0):delete t[e],u?t[e]=n:i(t,e,n)):u?t[e]=n:s(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||c.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),c=n(18),u=n(122),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=s(e,!0),u)try{return l(t,e)}catch(t){}if(c(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,""")+'"'),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),c=n(9),u=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,m=h.set;r=function(t,e){return m.call(h,t,e),e},o=function(t){return v.call(h,t)||{}},i=function(t){return g.call(h,t)}}else{var y=f("state");p[y]=!0,r=function(t,e){return u(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},i=function(t){return l(t,y)}}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(!c(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"),c=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?c:null}},function(t,e,n){var r=n(10),o=n(103),i=n(101),a=n(63),s=n(129),c=n(98),u=n(76)("IE_PROTO"),l=function(){},f=function(){var t,e=c("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[u]=t):n=f(),void 0===e?n:o(n,e)},a[u]=!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),c=n(81),u=n(48),l=n(43),f=n(21),p=n(14),d=n(141),h=n(159),v=n(34),g=n(18),m=n(71),y=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,C=S.set,A=k.f,I=_.f,M=Math.round,R=o.RangeError,N=c.ArrayBuffer,D=c.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_TAG,F=s.TypedArray,U=s.TypedArrayPrototype,W=s.aTypedArrayConstructor,H=s.isTypedArray,V=function(t,e){for(var n=0,r=e.length,o=new(W(t))(r);r>n;)o[n]=e[n++];return o},q=function(t,e){A(t,e,{get:function(){return j(this)[e]}})},G=function(t){var e;return t instanceof N||"ArrayBuffer"==(e=m(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))&&y(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?A(t,e,n):(t[e]=n.value,t)};i?(L||(_.f=Y,k.f=X,q(U,"buffer"),q(U,"byteOffset"),q(U,"byteLength"),q(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",c="get"+t,l="set"+t,v=o[s],g=v,m=g&&g.prototype,k={},_=function(t,n){A(t,n,{get:function(){return function(t,n){var r=j(t);return r.view[c](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 u(t,g,s),T(y(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)?V(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=m):(g=n((function(t,n,r,o){u(t,g,s);var i,a,c,l=0,f=0;if(y(n)){if(!G(n))return H(n)?V(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");c=a/e}else c=d(n),i=new N(a=c*e);for(C(t,{buffer:i,byteOffset:f,byteLength:a,length:c,view:new D(i)});l<c;)_(t,l++)})),w&&w(g,F),m=g.prototype=b(U)),m.constructor!==g&&f(m,"constructor",g),B&&f(m,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 m||f(m,"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 m("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[u]=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[c]=!0);"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o});return o},e.log=m,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"),c=e.HELPER=a("HELPER"),u=(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[c]}};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 m(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),c=n(72),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(t){a(t,u,{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,u)){if(!f(t))return"F";if(!e)return"E";p(t)}return t[u].objectID},getWeakData:function(t,e){if(!i(t,u)){if(!f(t))return!0;if(!e)return!1;p(t)}return t[u].weakData},onFreeze:function(t){return c&&d.REQUIRED&&f(t)&&!i(t,u)&&p(t),t}};r[u]=!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,c=r(e),u=o(c.length),l=i(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[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==u||n!=c&&("function"==typeof e?r(e):!!e)},a=i.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=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),c=n(136),u=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var p,d,h,v,g,m,y,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(y=t[h])[0],y[1]):b(t[h]))&&g instanceof u)return g;return new u(!1)}p=d.call(t)}for(m=p.next;!(y=m.call(p)).done;)if("object"==typeof(g=c(p,b,y.value,l))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(t){return new u(!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),c=a.set,u=a.getterFor("Array Iterator");t.exports=s(Array,"Array",(function(t,e){c(this,{type:"Array Iterator",target:r(t),index:0,kind:e})}),(function(){var t=u(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,c){r(n);var u=o(e),l=i(u),f=a(u.length),p=t?f-1:0,d=t?-1:1;if(s<2)for(;;){if(p in l){c=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&&(c=n(c,l[p],p,u));return c}};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),c=n(6),u=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),m=n(29),y=m.get,b=m.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,C=function(t,e,n){var r,o,i,a=new Array(n),s=8*n-e-1,c=(1<<s)-1,u=c>>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=c):(r=S(T(t)/j),t*(i=_(2,-r))<1&&(r--,i*=2),(t+=r+u>=1?l/i:l*_(2,1-u))*i>=2&&(r++,i/=2),r+u>=c?(o=0,r=c):r+u>=1?(o=(t*i-1)*_(2,e),r+=u):(o=t*_(2,u-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},A=function(t,e){var n,r=t.length,o=8*r-e-1,i=(1<<o)-1,a=i>>1,s=o-7,c=r-1,u=t[c--],l=127&u;for(u>>=7;s>0;l=256*l+t[c],c--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=e;s>0;n=256*n+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:u?-1/0:1/0;n+=_(2,e),l-=a}return(u?-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]},N=function(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]},D=function(t){return C(t,23,4)},L=function(t){return C(t,52,8)},B=function(t,e){h(t.prototype,e,{get:function(){return y(this)[e]}})},F=function(t,e,n,r){var o=p(+n),i=y(t);if(o+e>i.byteLength)throw P("Wrong index");var a=y(i.buffer).bytes,s=o+i.byteOffset,c=a.slice(s,s+e);return r?c:c.reverse()},U=function(t,e,n,r,o,i){var a=p(+n),s=y(t);if(a+e>s.byteLength)throw P("Wrong index");for(var c=y(s.buffer).bytes,u=a+s.byteOffset,l=r(+o),f=0;f<e;f++)c[u+f]=l[i?f:e-f-1]};if(i){if(!c((function(){w(1)}))||!c((function(){new w(-1)}))||c((function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name}))){for(var W,H=(E=function(t){return u(this,E),new w(p(t))}).prototype=w.prototype,V=d(w),q=0;V.length>q;)(W=V[q++])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){u(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){u(this,O,"DataView"),u(t,E,"DataView");var r=y(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 A(F(this,4,t,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(t){return A(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,N,e,arguments.length>2?arguments[2]:void 0)},setUint32:function(t,e){U(this,4,t,N,e,arguments.length>2?arguments[2]:void 0)},setFloat32:function(t,e){U(this,4,t,D,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),c=n(73),u=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 m=o[t],y=m&&m.prototype,b=m,w=v?"set":"add",E={},O=function(t){var e=y[t];a(y,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 m||!(g||y.forEach&&!f((function(){(new m).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 m(t)})),S=!g&&f((function(){for(var t=new m,e=5;e--;)t[w](e,e);return!t.has(-0)}));_||((b=e((function(e,n){u(e,b,t);var r=h(new m,e,b);return null!=n&&c(n,r[w],r,v),r}))).prototype=y,y.constructor=b),(k||S)&&(O("delete"),O("has"),v&&O("get")),(S||P)&&O(w),g&&y.clear&&delete y.clear}return E[t]=b,r({global:!0,forced:b!=m},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,c=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(t){var e,n,r,o,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),u&&(e=c.lastIndex),r=a.call(c,t),u&&r&&(c.lastIndex=c.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=c},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)),c=r(n),u=s.length;return c<0||c>=u?t?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?t?s.charAt(c):i:t?s.slice(c,c+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),c=a("species"),u=!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[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return e=!0,null},n[p](""),!e}));if(!d||!h||"replace"===t&&!u||"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}})),m=g[0],y=g[1];o(String.prototype,t,m),o(RegExp.prototype,p,2==e?function(t,e){return y.call(t,this,e)}:function(t){return y.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(u,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(m,{})},e.flush=function(t){return(0,o.check)(t,o.is.channel,"flush(channel): argument "+t+" is not valid channel"),b(y,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",c="PUT",u="RACE",l="CALL",f="CPS",p="FORK",d="JOIN",h="CANCEL",v="SELECT",g="ACTION_CHANNEL",m="CANCELLED",y="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(c,{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[c].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[c]},race:function(t){return t&&t[a]&&t[u]},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[m]},flush:function(t){return t&&t[a]&&t[y]}}},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 c=e.INVALID_BUFFER="invalid buffer passed to channel factory function",u=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,c),{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,u),!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,c={isEmpty:r.kTrue,put:r.noop,take:r.noop};function u(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=arguments[1],n=new Array(t),r=0,c=0,u=0,l=function(e){n[c]=e,c=(c+1)%t,r++},f=function(){if(0!=r){var e=n[u];return n[u]=null,r--,u=(u+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[c]=f,u=c=(c+1)%t;break;case s:d=2*t,n=p(),r=n.length,c=n.length,u=0,n.length=d,t=d,l(f)}}},take:f,flush:p}}e.buffers={none:function(){return c},fixed:function(t){return u(t,i)},dropping:function(t){return u(t,2)},sliding:function(t){return u(t,a)},expanding:function(t){return u(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)),c=v(n(11)),u=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 m=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 c=(0,f.getBoundPosition)(n,i.x,i.y),u=o(c,2);i.x=u[0],i.y=u[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&&c.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 c=this.props,p=c.defaultClassName,h=c.defaultClassNameDragging,v=c.defaultClassNameDragged,m=(0,u.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:m,style:r({},this.props.children.props.style,e),transform:n}))}}]),e}(a.default.Component);m.displayName="Draggable",m.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}),m.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=m},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,c="@@iterator",u="<<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 c=0;c<s.length;c++){var u=t(s,c,r,o,i+"["+c+"]",a);if(u instanceof Error)return u}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||u;return new f("Invalid "+o+" `"+i+"` of type `"+((s=e[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` 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],c=v(s);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in s)if(s.hasOwnProperty(u)){var l=t(s,u,r,o,i+"."+u,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(c=a,u=t[s],c===u?0!==c||1/c==1/u:c!=c&&u!=u)return null;var c,u;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],c=v(s);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var u in t){var l=t[u];if(l){var p=l(s,u,r,o,i+"."+u,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,c,l,p,d,h,v){if(p=p||u,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==c[l]?s?null===c[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(c,l,p,d,h)}var c=s.bind(null,!1);return c.isRequired=s.bind(null,!0),c}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[c]);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,c){if(r(e),!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 l=[n,o,i,a,s,c],f=0;(u=new Error(e.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},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,c){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)for(var u in t)if(t.hasOwnProperty(u)){var l;try{r("function"==typeof t[u],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",n,u),l=t[u](e,u,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,u,typeof l),l instanceof Error&&!(l.message in a)){a[l.message]=!0;var f=c?c():"";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;
|
6
|
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var s in r)n.call(r,s)&&r[s]&&e.push(s)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.utils=t.effects=t.CANCEL=t.delay=t.throttle=t.takeLatest=t.takeEvery=t.buffers=t.channel=t.eventChannel=t.END=t.runSaga=void 0;var r=n(394);Object.defineProperty(t,"runSaga",{enumerable:!0,get:function(){return r.runSaga}});var o=n(93);Object.defineProperty(t,"END",{enumerable:!0,get:function(){return o.END}}),Object.defineProperty(t,"eventChannel",{enumerable:!0,get:function(){return o.eventChannel}}),Object.defineProperty(t,"channel",{enumerable:!0,get:function(){return o.channel}});var i=n(94);Object.defineProperty(t,"buffers",{enumerable:!0,get:function(){return i.buffers}});var a=n(395);Object.defineProperty(t,"takeEvery",{enumerable:!0,get:function(){return a.takeEvery}}),Object.defineProperty(t,"takeLatest",{enumerable:!0,get:function(){return a.takeLatest}}),Object.defineProperty(t,"throttle",{enumerable:!0,get:function(){return a.throttle}});var s=n(41);Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return s.delay}}),Object.defineProperty(t,"CANCEL",{enumerable:!0,get:function(){return s.CANCEL}});var c,u=n(396),l=(c=u)&&c.__esModule?c:{default:c},f=d(n(165)),p=d(n(397));function d(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.default=l.default,t.effects=f,t.utils=p},function(e,t,n){(function(t){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof t&&t)||Function("return this")()}).call(this,n(74))},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t,n){var r=n(9);e.exports=function(e){if(!r(e))throw TypeError(String(e)+" is not an object");return e}},function(e,t,n){"use strict";var r,o=n(12),i=n(8),a=n(9),s=n(18),c=n(71),u=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"!==c(i.opera),C=!1,A={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},I=function(e){return a(e)&&s(A,c(e))};for(r in A)i[r]||(j=!1);if((!j||"function"!=typeof O||O===Function.prototype)&&(O=function(){throw TypeError("Incorrect invocation")},j))for(r in A)i[r]&&d(i[r],O);if((!j||!x||x===P)&&(x=O.prototype,j))for(r in A)i[r]&&d(i[r].prototype,x);if(j&&p(E)!==x&&d(E,x),o&&!s(x,_))for(r in C=!0,f(x,_,{get:function(){return a(this)?this[S]:void 0}}),A)i[r]&&u(i[r],S,r);T&&d&&p(y)!==P&&d(y,P),e.exports={NATIVE_ARRAY_BUFFER:T,NATIVE_ARRAY_BUFFER_VIEWS:j,TYPED_ARRAY_TAG:C&&S,aTypedArray:function(e){if(I(e))return e;throw TypeError("Target is not a typed array")},aTypedArrayConstructor:function(e){if(d){if(k.call(O,e))return e}else for(var t in A)if(s(A,r)){var n=i[t];if(n&&(e===n||k.call(n,e)))return e}throw TypeError("Target is not a typed array constructor")},exportProto:function(e,t,n){if(o){if(n)for(var r in A){var a=i[r];a&&s(a.prototype,e)&&delete a.prototype[e]}x[e]&&!n||l(x,e,n?t:j&&b[e]||t)}},exportStatic:function(e,t,n){var r,a;if(o){if(d){if(n)for(r in A)(a=i[r])&&s(a,e)&&delete a[e];if(O[e]&&!n)return;try{return l(O,e,n?t:j&&m[e]||t)}catch(e){}}for(r in A)!(a=i[r])||a[e]&&!n||l(a,e,t)}},isView:function(e){var t=c(e);return"DataView"===t||s(A,t)},isTypedArray:I,TypedArray:O,TypedArrayPrototype:x}},function(e,t,n){var r=n(6);e.exports=!r((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(8),o=n(55),i=n(62),a=n(128),s=r.Symbol,c=o("wks");e.exports=function(e){return c[e]||(c[e]=a&&s[e]||(a?s:i)("Symbol."+e))}},function(e,t,n){var r=n(30),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(12),o=n(122),i=n(10),a=n(34),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(i(e),t=a(t,!0),i(n),o)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(23);e.exports=function(e){return Object(r(e))}},function(e,t,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,c=a.toString,u=i?i.toStringTag:void 0;var l=function(e){var t=s.call(e,u),n=e[u];try{e[u]=void 0;var r=!0}catch(e){}var o=c.call(e);return r&&(t?e[u]=n:delete e[u]),o},f=Object.prototype.toString;var p=function(e){return f.call(e)},d="[object Null]",h="[object Undefined]",v=i?i.toStringTag:void 0;var g=function(e){return null==e?void 0===e?h:d:v&&v in Object(e)?l(e):p(e)};var y=function(e,t){return function(n){return e(t(n))}}(Object.getPrototypeOf,Object);var m=function(e){return null!=e&&"object"==typeof e},b="[object Object]",w=Function.prototype,E=Object.prototype,O=w.toString,x=E.hasOwnProperty,P=O.call(Object);var k=function(e){if(!m(e)||g(e)!=b)return!1;var t=y(e);if(null===t)return!0;var n=x.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&O.call(n)==P},_=n(121),S={INIT:"@@redux/INIT"};function T(e,t,n){var r;if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error("Expected the enhancer to be a function.");return n(T)(e,t)}if("function"!=typeof e)throw new Error("Expected the reducer to be a function.");var o=e,i=t,a=[],s=a,c=!1;function u(){s===a&&(s=a.slice())}function l(){return i}function f(e){if("function"!=typeof e)throw new Error("Expected listener to be a function.");var t=!0;return u(),s.push(e),function(){if(t){t=!1,u();var n=s.indexOf(e);s.splice(n,1)}}}function p(e){if(!k(e))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(void 0===e.type)throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(c)throw new Error("Reducers may not dispatch actions.");try{c=!0,i=o(i,e)}finally{c=!1}for(var t=a=s,n=0;n<t.length;n++){(0,t[n])()}return e}return p({type:S.INIT}),(r={dispatch:p,subscribe:f,getState:l,replaceReducer:function(e){if("function"!=typeof e)throw new Error("Expected the nextReducer to be a function.");o=e,p({type:S.INIT})}})[_.a]=function(){var e,t=f;return(e={subscribe:function(e){if("object"!=typeof e)throw new TypeError("Expected the observer to be an object.");function n(){e.next&&e.next(l())}return n(),{unsubscribe:t(n)}}})[_.a]=function(){return this},e},r}function j(e,t){var n=t&&t.type;return"Given action "+(n&&'"'+n.toString()+'"'||"an action")+', reducer "'+e+'" 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 C(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var o=t[r];0,"function"==typeof e[o]&&(n[o]=e[o])}var i=Object.keys(n);var a=void 0;try{!function(e){Object.keys(e).forEach((function(t){var n=e[t];if(void 0===n(void 0,{type:S.INIT}))throw new Error('Reducer "'+t+"\" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined. 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 "'+t+"\" 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(e){a=e}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1];if(a)throw a;for(var r=!1,o={},s=0;s<i.length;s++){var c=i[s],u=n[c],l=e[c],f=u(l,t);if(void 0===f){var p=j(c,t);throw new Error(p)}o[c]=f,r=r||f!==l}return r?o:e}}function A(e,t){return function(){return t(e.apply(void 0,arguments))}}function I(e,t){if("function"==typeof e)return A(e,t);if("object"!=typeof e||null===e)throw new Error("bindActionCreators expected an object or a function, instead received "+(null===e?"null":typeof e)+'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?');for(var n=Object.keys(e),r={},o=0;o<n.length;o++){var i=n[o],a=e[i];"function"==typeof a&&(r[i]=A(a,t))}return r}function M(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var R=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function D(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(n,r,o){var i,a=e(n,r,o),s=a.dispatch,c={getState:a.getState,dispatch:function(e){return s(e)}};return i=t.map((function(e){return e(c)})),s=M.apply(void 0,i)(a.dispatch),R({},a,{dispatch:s})}}}n.d(t,"d",(function(){return T})),n.d(t,"c",(function(){return C})),n.d(t,"b",(function(){return I})),n.d(t,"a",(function(){return D}))},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(46),o=n(61),i=n(16),a=n(14),s=n(67),c=[].push,u=function(e){var t=1==e,n=2==e,u=3==e,l=4==e,f=6==e,p=5==e||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=t?P(d,O):n?P(d,0):void 0;O>x;x++)if((p||x in w)&&(m=E(y=w[x],x,b),e))if(t)k[x]=m;else if(m)switch(e){case 3:return!0;case 5:return y;case 6:return x;case 2:c.call(k,y)}else if(l)return!1;return f?-1:u||l?l:k}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},function(e,t,n){var r=n(8),o=n(55),i=n(21),a=n(18),s=n(99),c=n(123),u=n(29),l=u.get,f=u.enforce,p=String(c).split("toString");o("inspectSource",(function(e){return c.call(e)})),(e.exports=function(e,t,n,o){var c=!!o&&!!o.unsafe,u=!!o&&!!o.enumerable,l=!!o&&!!o.noTargetGet;"function"==typeof n&&("string"!=typeof t||a(n,"name")||i(n,"name",t),f(n).source=p.join("string"==typeof t?t:"")),e!==r?(c?!l&&e[t]&&(u=!0):delete e[t],u?e[t]=n:i(e,t,n)):u?e[t]=n:s(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||c.call(this)}))},function(e,t,n){var r=n(12),o=n(15),i=n(43);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(12),o=n(75),i=n(43),a=n(24),s=n(34),c=n(18),u=n(122),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=a(e),t=s(t,!0),u)try{return l(e,t)}catch(e){}if(c(e,t))return i(!o.f.call(e,t),e[t])}},function(e,t){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(61),o=n(23);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(126),o=n(18),i=n(131),a=n(15).f;e.exports=function(e){var t=r.Symbol||(r.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},function(e,t,n){var r=n(23),o=/"/g;e.exports=function(e,t,n,i){var a=String(r(e)),s="<"+t;return""!==n&&(s+=" "+n+'="'+String(i).replace(o,""")+'"'),s+">"+a+"</"+t+">"}},function(e,t,n){var r=n(6);e.exports=function(e){return r((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},function(e,t,n){e.exports=n(398)()},function(e,t,n){var r,o,i,a=n(124),s=n(8),c=n(9),u=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(e,t){return y.call(h,e,t),t},o=function(e){return v.call(h,e)||{}},i=function(e){return g.call(h,e)}}else{var m=f("state");p[m]=!0,r=function(e,t){return u(e,m,t),t},o=function(e){return l(e,m)?e[m]:{}},i=function(e){return l(e,m)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,o=n(401),i=(r=o)&&r.__esModule?r:{default:r};t.default=i.default,e.exports=t.default},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(9);e.exports=function(e,t){if(!r(e))return e;var n,o;if(t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;if("function"==typeof(n=e.valueOf)&&!r(o=n.call(e)))return o;if(!t&&"function"==typeof(n=e.toString)&&!r(o=n.call(e)))return o;throw TypeError("Can't convert object to primitive value")}},function(e,t,n){var r=n(126),o=n(8),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(r[e])||i(o[e]):r[e]&&r[e][t]||o[e]&&o[e][t]}},function(e,t,n){var r=n(15).f,o=n(18),i=n(13)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},function(e,t,n){var r=n(18),o=n(16),i=n(76),a=n(108),s=i("IE_PROTO"),c=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),r(e,s)?e[s]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?c:null}},function(e,t,n){var r=n(10),o=n(103),i=n(101),a=n(63),s=n(129),c=n(98),u=n(76)("IE_PROTO"),l=function(){},f=function(){var e,t=c("iframe"),n=i.length;for(t.style.display="none",s.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),f=e.F;n--;)delete f.prototype[i[n]];return f()};e.exports=Object.create||function(e,t){var n;return null!==e?(l.prototype=r(e),n=new l,l.prototype=null,n[u]=e):n=f(),void 0===t?n:o(n,t)},a[u]=!0},function(e,t,n){"use strict";var r=n(6);e.exports=function(e,t){var n=[][e];return!n||!r((function(){n.call(null,t||function(){throw 1},1)}))}},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(12),a=n(118),s=n(11),c=n(81),u=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,C=S.set,A=k.f,I=_.f,M=Math.round,R=o.RangeError,D=c.ArrayBuffer,N=c.DataView,L=s.NATIVE_ARRAY_BUFFER_VIEWS,B=s.TYPED_ARRAY_TAG,F=s.TypedArray,U=s.TypedArrayPrototype,W=s.aTypedArrayConstructor,H=s.isTypedArray,V=function(e,t){for(var n=0,r=t.length,o=new(W(e))(r);r>n;)o[n]=t[n++];return o},q=function(e,t){A(e,t,{get:function(){return j(this)[t]}})},G=function(e){var t;return e instanceof D||"ArrayBuffer"==(t=y(e))||"SharedArrayBuffer"==t},z=function(e,t){return H(e)&&"symbol"!=typeof t&&t in e&&String(+t)==String(t)},Y=function(e,t){return z(e,t=v(t,!0))?l(2,e[t]):I(e,t)},X=function(e,t,n){return!(z(e,t=v(t,!0))&&m(n)&&g(n,"value"))||g(n,"get")||g(n,"set")||n.configurable||g(n,"writable")&&!n.writable||g(n,"enumerable")&&!n.enumerable?A(e,t,n):(e[t]=n.value,e)};i?(L||(_.f=Y,k.f=X,q(U,"buffer"),q(U,"byteOffset"),q(U,"byteLength"),q(U,"length")),r({target:"Object",stat:!0,forced:!L},{getOwnPropertyDescriptor:Y,defineProperty:X}),e.exports=function(e,t,n,i){var s=e+(i?"Clamped":"")+"Array",c="get"+e,l="set"+e,v=o[s],g=v,y=g&&g.prototype,k={},_=function(e,n){A(e,n,{get:function(){return function(e,n){var r=j(e);return r.view[c](n*t+r.byteOffset,!0)}(this,n)},set:function(e){return function(e,n,r){var o=j(e);i&&(r=(r=M(r))<0?0:r>255?255:255&r),o.view[l](n*t+o.byteOffset,r,!0)}(this,n,e)},enumerable:!0})};L?a&&(g=n((function(e,n,r,o){return u(e,g,s),T(m(n)?G(n)?void 0!==o?new v(n,h(r,t),o):void 0!==r?new v(n,h(r,t)):new v(n):H(n)?V(g,n):O.call(g,n):new v(d(n)),e,g)})),w&&w(g,F),x(E(v),(function(e){e in g||f(g,e,v[e])})),g.prototype=y):(g=n((function(e,n,r,o){u(e,g,s);var i,a,c,l=0,f=0;if(m(n)){if(!G(n))return H(n)?V(g,n):O.call(g,n);i=n,f=h(r,t);var v=n.byteLength;if(void 0===o){if(v%t)throw R("Wrong length");if((a=v-f)<0)throw R("Wrong length")}else if((a=p(o)*t)+f>v)throw R("Wrong length");c=a/t}else c=d(n),i=new D(a=c*t);for(C(e,{buffer:i,byteOffset:f,byteLength:a,length:c,view:new N(i)});l<c;)_(e,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",t),"BYTES_PER_ELEMENT"in y||f(y,"BYTES_PER_ELEMENT",t),P(s)}):e.exports=function(){}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.check=function(e,t,n){if(!t(e))throw y("error","uncaught at check",n),new Error(n)},t.remove=function(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)},t.deferred=d,t.arrayOfDeffered=function(e){for(var t=[],n=0;n<e;n++)t.push(d());return t},t.delay=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=void 0,r=new Promise((function(r){n=setTimeout((function(){return r(t)}),e)}));return r[u]=function(){return clearTimeout(n)},r},t.createMockTask=function(){var e,t=!0,n=void 0,r=void 0;return i(e={},s,!0),i(e,"isRunning",(function(){return t})),i(e,"result",(function(){return n})),i(e,"error",(function(){return r})),i(e,"setRunning",(function(e){return t=e})),i(e,"setResult",(function(e){return n=e})),i(e,"setError",(function(e){return r=e})),e},t.autoInc=h,t.makeIterator=function(e){var t=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:e,throw:t,return:g};r&&(o[c]=!0);"undefined"!=typeof Symbol&&(o[Symbol.iterator]=function(){return o});return o},t.log=y,t.wrapSagaDispatch=function(e){return function(t){var n=Object.defineProperty(t,l,{value:!0});return e(n)}};var a=t.sym=function(e){return"@@redux-saga/"+e},s=t.TASK=a("TASK"),c=t.HELPER=a("HELPER"),u=(t.MATCH=a("MATCH"),t.CANCEL=a("cancelPromise")),l=t.SAGA_ACTION=a("SAGA_ACTION"),f=t.konst=function(e){return function(){return e}};t.kTrue=f(!0),t.kFalse=f(!1),t.noop=function(){},t.ident=function(e){return e};var p=t.is={undef:function(e){return null==e},notUndef:function(e){return null!=e},func:function(e){return"function"==typeof e},number:function(e){return"number"==typeof e},array:Array.isArray,promise:function(e){return e&&p.func(e.then)},iterator:function(e){return e&&p.func(e.next)&&p.func(e.throw)},task:function(e){return e&&e[s]},observable:function(e){return e&&p.func(e.subscribe)},buffer:function(e){return e&&p.func(e.isEmpty)&&p.func(e.take)&&p.func(e.put)},pattern:function(e){return e&&("string"==typeof e||"symbol"===(void 0===e?"undefined":o(e))||p.func(e)||p.array(e))},channel:function(e){return e&&p.func(e.take)&&p.func(e.close)},helper:function(e){return e&&e[c]}};function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=r({},e),n=new Promise((function(e,n){t.resolve=e,t.reject=n}));return t.promise=n,t}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(){return++e}}t.uid=h();var v=function(e){throw e},g=function(e){return{value:e,done:!0}};function y(e,t,n){"undefined"==typeof window?console.log("redux-saga "+e+": "+t+"\n"+(n&&n.stack||n)):console[e](t,n)}t.internalErr=function(e){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: "+e+"\n")}},function(e,t){e.exports=ReactDOM},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports=!1},function(e,t,n){var r=n(30),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},function(e,t,n){var r=n(31);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,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)),e.exports=function(e){s[a][e]=!0}},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}},function(e,t,n){var r=n(10),o=n(31),i=n(13)("species");e.exports=function(e,t){var n,a=r(e).constructor;return void 0===a||null==(n=r(a)[i])?t:o(n)}},function(e,t){e.exports=Backbone},function(e,t,n){var r=n(127),o=n(101).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},function(e,t,n){var r=n(33);e.exports=Array.isArray||function(e){return"Array"==r(e)}},function(e,t,n){"use strict";var r=n(34),o=n(15),i=n(43);e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=n}},function(e,t,n){var r=n(63),o=n(9),i=n(18),a=n(15).f,s=n(62),c=n(72),u=s("meta"),l=0,f=Object.isExtensible||function(){return!0},p=function(e){a(e,u,{value:{objectID:"O"+ ++l,weakData:{}}})},d=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!o(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!i(e,u)){if(!f(e))return"F";if(!t)return"E";p(e)}return e[u].objectID},getWeakData:function(e,t){if(!i(e,u)){if(!f(e))return!0;if(!t)return!1;p(e)}return e[u].weakData},onFreeze:function(e){return c&&d.REQUIRED&&f(e)&&!i(e,u)&&p(e),e}};r[u]=!0},function(e,t,n){var r=n(44),o=n(176);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.4.1",mode:r?"pure":"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})},function(e,t,n){var r=n(10),o=n(139);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,i){return r(n),o(i),t?e.call(n,i):n.__proto__=i,n}}():void 0)},function(e,t,n){"use strict";var r=n(35),o=n(15),i=n(13),a=n(12),s=i("species");e.exports=function(e){var t=r(e),n=o.f;a&&t&&!t[s]&&n(t,s,{configurable:!0,get:function(){return this}})}},function(e,t,n){var r=n(20);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},function(e,t,n){var r=n(23),o="["+n(85)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),s=function(e){return function(t){var n=String(r(t));return 1&e&&(n=n.replace(i,"")),2&e&&(n=n.replace(a,"")),n}};e.exports={start:s(1),end:s(2),trim:s(3)}},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=n(6),o=n(33),i="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++n+r).toString(36)}},function(e,t){e.exports={}},function(e,t,n){var r=n(24),o=n(14),i=n(45),a=function(e){return function(t,n,a){var s,c=r(t),u=o(c.length),l=i(a,u);if(e&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===n)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},function(e,t,n){var r=n(6),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==u||n!=c&&("function"==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},s=i.data={},c=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},function(e,t,n){var r=n(127),o=n(101);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t,n){var r=n(9),o=n(52),i=n(13)("species");e.exports=function(e,t){var n;return o(e)&&("function"!=typeof(n=e.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===t?0:t)}},function(e,t,n){var r=n(6),o=n(13),i=n(104),a=o("species");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t){e.exports={}},function(e,t,n){var r=n(71),o=n(69),i=n(13)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[r(e)]}},function(e,t,n){var r=n(33),o=n(13)("toStringTag"),i="Arguments"==r(function(){return arguments}());e.exports=function(e){var t,n,a;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),o))?n:i?r(t):"Object"==(a=r(t))&&"function"==typeof t.callee?"Arguments":a}},function(e,t,n){var r=n(6);e.exports=!r((function(){return Object.isExtensible(Object.preventExtensions({}))}))},function(e,t,n){var r=n(10),o=n(106),i=n(14),a=n(46),s=n(70),c=n(136),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,n,l,f){var p,d,h,v,g,y,m,b=a(t,n,l?2:1);if(f)p=e;else{if("function"!=typeof(d=s(e)))throw TypeError("Target is not iterable");if(o(d)){for(h=0,v=i(e.length);v>h;h++)if((g=l?b(r(m=e[h])[0],m[1]):b(e[h]))&&g instanceof u)return g;return new u(!1)}p=d.call(e)}for(y=p.next;!(m=y.call(p)).done;)if("object"==typeof(g=c(p,b,m.value,l))&&g&&g instanceof u)return g;return new u(!1)}).stop=function(e){return new u(!0,e)}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,i=o&&!r.call({1:2},1);t.f=i?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(55),o=n(62),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(35);e.exports=r("navigator","userAgent")||""},function(e,t,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(e){}e.exports=function(e,t){if(!t&&!o)return!1;var n=!1;try{var i={};i[r]=function(){return{next:function(){return{done:n=!0}}}},e(i)}catch(e){}return n}},function(e,t,n){"use strict";var r=n(24),o=n(47),i=n(69),a=n(29),s=n(107),c=a.set,u=a.getterFor("Array Iterator");e.exports=s(Array,"Array",(function(e,t){c(this,{type:"Array Iterator",target:r(e),index:0,kind:t})}),(function(){var e=u(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},function(e,t,n){var r=n(31),o=n(16),i=n(61),a=n(14),s=function(e){return function(t,n,s,c){r(n);var u=o(t),l=i(u),f=a(u.length),p=e?f-1:0,d=e?-1:1;if(s<2)for(;;){if(p in l){c=l[p],p+=d;break}if(p+=d,e?p<0:f<=p)throw TypeError("Reduce of empty array with no initial value")}for(;e?p>=0:f>p;p+=d)p in l&&(c=n(c,l[p],p,u));return c}};e.exports={left:s(!1),right:s(!0)}},function(e,t,n){"use strict";var r=n(8),o=n(12),i=n(11).NATIVE_ARRAY_BUFFER,a=n(21),s=n(58),c=n(6),u=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,C=function(e,t,n){var r,o,i,a=new Array(n),s=8*n-t-1,c=(1<<s)-1,u=c>>1,l=23===t?_(2,-24)-_(2,-77):0,f=e<0||0===e&&1/e<0?1:0,p=0;for((e=k(e))!=e||e===1/0?(o=e!=e?1:0,r=c):(r=S(T(e)/j),e*(i=_(2,-r))<1&&(r--,i*=2),(e+=r+u>=1?l/i:l*_(2,1-u))*i>=2&&(r++,i/=2),r+u>=c?(o=0,r=c):r+u>=1?(o=(e*i-1)*_(2,t),r+=u):(o=e*_(2,u-1)*_(2,t),r=0));t>=8;a[p++]=255&o,o/=256,t-=8);for(r=r<<t|o,s+=t;s>0;a[p++]=255&r,r/=256,s-=8);return a[--p]|=128*f,a},A=function(e,t){var n,r=e.length,o=8*r-t-1,i=(1<<o)-1,a=i>>1,s=o-7,c=r-1,u=e[c--],l=127&u;for(u>>=7;s>0;l=256*l+e[c],c--,s-=8);for(n=l&(1<<-s)-1,l>>=-s,s+=t;s>0;n=256*n+e[c],c--,s-=8);if(0===l)l=1-a;else{if(l===i)return n?NaN:u?-1/0:1/0;n+=_(2,t),l-=a}return(u?-1:1)*n*_(2,l-t)},I=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},M=function(e){return[255&e]},R=function(e){return[255&e,e>>8&255]},D=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},N=function(e){return C(e,23,4)},L=function(e){return C(e,52,8)},B=function(e,t){h(e.prototype,t,{get:function(){return m(this)[t]}})},F=function(e,t,n,r){var o=p(+n),i=m(e);if(o+t>i.byteLength)throw P("Wrong index");var a=m(i.buffer).bytes,s=o+i.byteOffset,c=a.slice(s,s+t);return r?c:c.reverse()},U=function(e,t,n,r,o,i){var a=p(+n),s=m(e);if(a+t>s.byteLength)throw P("Wrong index");for(var c=m(s.buffer).bytes,u=a+s.byteOffset,l=r(+o),f=0;f<t;f++)c[u+f]=l[i?f:t-f-1]};if(i){if(!c((function(){w(1)}))||!c((function(){new w(-1)}))||c((function(){return new w,new w(1.5),new w(NaN),"ArrayBuffer"!=w.name}))){for(var W,H=(E=function(e){return u(this,E),new w(p(e))}).prototype=w.prototype,V=d(w),q=0;V.length>q;)(W=V[q++])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(e,t){z.call(this,e,t<<24>>24)},setUint8:function(e,t){z.call(this,e,t<<24>>24)}},{unsafe:!0})}else E=function(e){u(this,E,"ArrayBuffer");var t=p(e);b(this,{bytes:v.call(new Array(t),0),byteLength:t}),o||(this.byteLength=t)},O=function(e,t,n){u(this,O,"DataView"),u(e,E,"DataView");var r=m(e).byteLength,i=l(t);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:e,byteLength:n,byteOffset:i}),o||(this.buffer=e,this.byteLength=n,this.byteOffset=i)},o&&(B(E,"byteLength"),B(O,"buffer"),B(O,"byteLength"),B(O,"byteOffset")),s(O.prototype,{getInt8:function(e){return F(this,1,e)[0]<<24>>24},getUint8:function(e){return F(this,1,e)[0]},getInt16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=F(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return I(F(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return I(F(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return A(F(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return A(F(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){U(this,1,e,M,t)},setUint8:function(e,t){U(this,1,e,M,t)},setInt16:function(e,t){U(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){U(this,2,e,R,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){U(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){U(this,4,e,D,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){U(this,4,e,N,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){U(this,8,e,L,t,arguments.length>2?arguments[2]:void 0)}});g(E,"ArrayBuffer"),g(O,"DataView"),e.exports={ArrayBuffer:E,DataView:O}},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(65),a=n(20),s=n(54),c=n(73),u=n(48),l=n(9),f=n(6),p=n(78),d=n(36),h=n(83);e.exports=function(e,t,n,v,g){var y=o[e],m=y&&y.prototype,b=y,w=v?"set":"add",E={},O=function(e){var t=m[e];a(m,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return g&&!l(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(g&&!l(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(i(e,"function"!=typeof y||!(g||m.forEach&&!f((function(){(new y).entries().next()})))))b=n.getConstructor(t,e,v,w),s.REQUIRED=!0;else if(i(e,!0)){var x=new b,P=x[w](g?{}:-0,1)!=x,k=f((function(){x.has(1)})),_=p((function(e){new y(e)})),S=!g&&f((function(){for(var e=new y,t=5;t--;)e[w](t,t);return!e.has(-0)}));_||((b=t((function(t,n){u(t,b,e);var r=h(new y,t,b);return null!=n&&c(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[e]=b,r({global:!0,forced:b!=y},E),d(b,e),g||n.setStrong(b,e,v),b}},function(e,t,n){var r=n(9),o=n(56);e.exports=function(e,t,n){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==n&&r(a=i.prototype)&&a!==n.prototype&&o(e,a),e}},function(e,t){var n=Math.expm1,r=Math.exp;e.exports=!n||n(10)>22025.465794806718||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(e){return 0==(e=+e)?e:e>-1e-6&&e<1e-6?e+e*e/2:r(e)-1}:n},function(e,t){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},function(e,t,n){"use strict";var r=n(44),o=n(8),i=n(6);e.exports=r||!i((function(){var e=Math.random();__defineSetter__.call(null,e,(function(){})),delete o[e]}))},function(e,t,n){"use strict";var r=n(10);e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},function(e,t,n){"use strict";var r,o,i=n(87),a=RegExp.prototype.exec,s=String.prototype.replace,c=a,u=(r=/a/,o=/b*/g,a.call(r,"a"),a.call(o,"a"),0!==r.lastIndex||0!==o.lastIndex),l=void 0!==/()??/.exec("")[1];(u||l)&&(c=function(e){var t,n,r,o,c=this;return l&&(n=new RegExp("^"+c.source+"$(?!\\s)",i.call(c))),u&&(t=c.lastIndex),r=a.call(c,e),u&&r&&(c.lastIndex=c.global?r.index+r[0].length:t),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}),e.exports=c},function(e,t,n){var r=n(30),o=n(23),i=function(e){return function(t,n){var i,a,s=String(o(t)),c=r(n),u=s.length;return c<0||c>=u?e?"":void 0:(i=s.charCodeAt(c))<55296||i>56319||c+1===u||(a=s.charCodeAt(c+1))<56320||a>57343?e?s.charAt(c):i:e?s.slice(c,c+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},function(e,t,n){"use strict";var r=n(21),o=n(20),i=n(6),a=n(13),s=n(88),c=a("species"),u=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));e.exports=function(e,t,n,f){var p=a(e),d=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),h=d&&!i((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!d||!h||"replace"===e&&!u||"split"===e&&!l){var v=/./[p],g=n(p,""[e],(function(e,t,n,r,o){return t.exec===s?d&&!o?{done:!0,value:v.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}})),y=g[0],m=g[1];o(String.prototype,e,y),o(RegExp.prototype,p,2==t?function(e,t){return m.call(e,this,t)}:function(e){return m.call(e,this)}),f&&r(RegExp.prototype[p],"sham",!0)}}},function(e,t,n){var r=n(33),o=n(88);e.exports=function(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asEffect=void 0;var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.take=w,t.takem=function(){var e=w.apply(void 0,arguments);return e[s].maybe=!0,e},t.put=E,t.race=function(e){return b(u,e)},t.call=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(l,O("call",e,n))},t.apply=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return b(l,O("apply",{context:e,fn:t},n))},t.cps=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(f,O("cps",e,n))},t.fork=x,t.spawn=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=x.apply(void 0,[e].concat(n));return o[p].detached=!0,o},t.join=function(e){if((0,o.check)(e,o.is.notUndef,"join(task): argument task is undefined"),!P(e))throw new Error("join(task): argument "+e+" 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,e)},t.cancel=function(e){if((0,o.check)(e,o.is.notUndef,"cancel(task): argument task is undefined"),!P(e))throw new Error("cancel(task): argument "+e+" 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,e)},t.select=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];0===arguments.length?e=o.ident:((0,o.check)(e,o.is.notUndef,"select(selector,[...]): argument selector is undefined"),(0,o.check)(e,o.is.func,"select(selector,[...]): argument "+e+" is not a function"));return b(v,{selector:e,args:n})},t.actionChannel=function(e,t){(0,o.check)(e,o.is.notUndef,"actionChannel(pattern,...): argument pattern is undefined"),arguments.length>1&&((0,o.check)(t,o.is.notUndef,"actionChannel(pattern, buffer): argument buffer is undefined"),(0,o.check)(t,o.is.notUndef,"actionChannel(pattern, buffer): argument "+t+" is not a valid buffer"));return b(g,{pattern:e,buffer:t})},t.cancelled=function(){return b(y,{})},t.flush=function(e){return(0,o.check)(e,o.is.channel,"flush(channel): argument "+e+" is not valid channel"),b(m,e)};var o=n(41);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a=(0,o.sym)("IO"),s="TAKE",c="PUT",u="RACE",l="CALL",f="CPS",p="FORK",d="JOIN",h="CANCEL",v="SELECT",g="ACTION_CHANNEL",y="CANCELLED",m="FLUSH",b=function(e,t){var n;return i(n={},a,!0),i(n,e,t),n};function w(){var e=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(e))return b(s,{pattern:e});if(o.is.channel(e))return b(s,{channel:e});throw new Error("take(patternOrChannel): argument "+String(e)+" is not valid channel or a valid pattern")}function E(e,t){return arguments.length>1?((0,o.check)(e,o.is.notUndef,"put(channel, action): argument channel is undefined"),(0,o.check)(e,o.is.channel,"put(channel, action): argument "+e+" is not a valid channel"),(0,o.check)(t,o.is.notUndef,"put(channel, action): argument action is undefined")):((0,o.check)(e,o.is.notUndef,"put(action): argument action is undefined"),t=e,e=null),b(c,{channel:e,action:t})}function O(e,t,n){(0,o.check)(t,o.is.notUndef,e+": argument fn is undefined");var i=null;if(o.is.array(t)){var a=r(t,2);i=a[0],t=a[1]}else if(t.fn){var s=t;i=s.context,t=s.fn}return(0,o.check)(t,o.is.func,e+": argument "+t+" is not a function"),{context:i,fn:t,args:n}}function x(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return b(p,O("fork",e,n))}E.sync=function(){var e=E.apply(void 0,arguments);return e[c].sync=!0,e};var P=function(e){return e[o.TASK]};t.asEffect={take:function(e){return e&&e[a]&&e[s]},put:function(e){return e&&e[a]&&e[c]},race:function(e){return e&&e[a]&&e[u]},call:function(e){return e&&e[a]&&e[l]},cps:function(e){return e&&e[a]&&e[f]},fork:function(e){return e&&e[a]&&e[p]},join:function(e){return e&&e[a]&&e[d]},cancel:function(e){return e&&e[a]&&e[h]},select:function(e){return e&&e[a]&&e[v]},actionChannel:function(e){return e&&e[a]&&e[g]},cancelled:function(e){return e&&e[a]&&e[y]},flush:function(e){return e&&e[a]&&e[m]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UNDEFINED_INPUT_ERROR=t.INVALID_BUFFER=t.isEnd=t.END=void 0;var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.emitter=function(){var e=[];return{subscribe:function(t){return e.push(t),function(){return(0,o.remove)(e,t)}},emit:function(t){for(var n=e.slice(),r=0,o=n.length;r<o;r++)n[r](t)}}},t.channel=l,t.eventChannel=f,t.stdChannel=function(e){var t=f(e);return r({},t,{take:function(e,n){arguments.length>1&&((0,o.check)(n,o.is.func,"channel.take's matcher argument must be a function"),e[o.MATCH]=n),t.take(e)}})};var o=n(41),i=n(94),a=t.END={type:"@@redux-saga/CHANNEL_END"},s=t.isEnd=function(e){return e&&"@@redux-saga/CHANNEL_END"===e.type};var c=t.INVALID_BUFFER="invalid buffer passed to channel factory function",u=t.UNDEFINED_INPUT_ERROR="Saga was provided with an undefined action";function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.buffers.fixed(),t=!1,n=[];function r(){if(t&&n.length)throw(0,o.internalErr)("Cannot have a closed channel with pending takers");if(n.length&&!e.isEmpty())throw(0,o.internalErr)("Cannot have pending takers with non empty buffer")}return(0,o.check)(e,o.is.buffer,c),{take:function(i){r(),(0,o.check)(i,o.is.func,"channel.take's callback must be a function"),t&&e.isEmpty()?i(a):e.isEmpty()?(n.push(i),i.cancel=function(){return(0,o.remove)(n,i)}):i(e.take())},put:function(i){if(r(),(0,o.check)(i,o.is.notUndef,u),!t){if(!n.length)return e.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"),t&&e.isEmpty()?n(a):n(e.flush())},close:function(){if(r(),!t&&(t=!0,n.length)){var e=n;n=[];for(var o=0,i=e.length;o<i;o++)e[o](a)}},get __takers__(){return n},get __closed__(){return t}}}function f(e){var t=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(t),a=e((function(e){s(e)?r.close():n&&!n(e)||r.put(e)}));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(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buffers=t.BUFFER_OVERFLOW=void 0;var r=n(41),o=t.BUFFER_OVERFLOW="Channel's Buffer overflow!",i=1,a=3,s=4,c={isEmpty:r.kTrue,put:r.noop,take:r.noop};function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,t=arguments[1],n=new Array(e),r=0,c=0,u=0,l=function(t){n[c]=t,c=(c+1)%e,r++},f=function(){if(0!=r){var t=n[u];return n[u]=null,r--,u=(u+1)%e,t}},p=function(){for(var e=[];r;)e.push(f());return e};return{isEmpty:function(){return 0==r},put:function(f){if(r<e)l(f);else{var d=void 0;switch(t){case i:throw new Error(o);case a:n[c]=f,u=c=(c+1)%e;break;case s:d=2*e,n=p(),r=n.length,c=n.length,u=0,n.length=d,e=d,l(f)}}},take:f,flush:p}}t.buffers={none:function(){return c},fixed:function(e){return u(e,i)},dropping:function(e){return u(e,2)},sliding:function(e){return u(e,a)},expanding:function(e){return u(e,s)}}},function(e,t,n){var r;r=function(e,t){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){"use strict";e.exports=n(1).default,e.exports.DraggableCore=n(17).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=v(n(2)),s=v(n(3)),c=v(n(11)),u=v(n(12)),l=n(13),f=n(16),p=n(14),d=v(n(17)),h=v(n(19));function v(e){return e&&e.__esModule?e:{default:e}}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.onDragStart=function(e,t){if((0,h.default)("Draggable: onDragStart: %j",t),!1===n.props.onStart(e,(0,f.createDraggableData)(n,t)))return!1;n.setState({dragging:!0,dragged:!0})},n.onDrag=function(e,t){if(!n.state.dragging)return!1;(0,h.default)("Draggable: onDrag: %j",t);var r=(0,f.createDraggableData)(n,t),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 c=(0,f.getBoundPosition)(n,i.x,i.y),u=o(c,2);i.x=u[0],i.y=u[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(e,r))return!1;n.setState(i)},n.onDragStop=function(e,t){if(!n.state.dragging)return!1;if(!1===n.props.onStop(e,(0,f.createDraggableData)(n,t)))return!1;(0,h.default)("Draggable: onDragStop: %j",t);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:e.position?e.position.x:e.defaultPosition.x,y:e.position?e.position.y:e.defaultPosition.y,slackX:0,slackY:0,isElementSVG:!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{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&&c.default.findDOMNode(this)instanceof SVGElement&&this.setState({isElementSVG:!0})}},{key:"componentWillReceiveProps",value:function(e){!e.position||this.props.position&&e.position.x===this.props.position.x&&e.position.y===this.props.position.y||this.setState({x:e.position.x,y:e.position.y})}},{key:"componentWillUnmount",value:function(){this.setState({dragging:!1})}},{key:"render",value:function(){var e,t={},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):t=(0,l.createCSSTransform)(s);var c=this.props,p=c.defaultClassName,h=c.defaultClassNameDragging,v=c.defaultClassNameDragged,y=(0,u.default)(this.props.children.props.className||"",p,(g(e={},h,this.state.dragging),g(e,v,this.state.dragged),e));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,t),transform:n}))}}]),t}(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}),t.default=y},function(t,n){t.exports=e},function(e,t,n){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV){var r="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103;e.exports=n(4)((function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}),!0)}else e.exports=n(10)()},function(e,t,n){"use strict";var r=n(5),o=n(6),i=n(7),a=n(8),s=n(9);e.exports=function(e,t){var n="function"==typeof Symbol&&Symbol.iterator,c="@@iterator",u="<<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(e){return p((function(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside arrayOf.");var s=t[n];if(!Array.isArray(s))return new f("Invalid "+o+" `"+i+"` of type `"+v(s)+"` supplied to `"+r+"`, expected an array.");for(var c=0;c<s.length;c++){var u=e(s,c,r,o,i+"["+c+"]",a);if(u instanceof Error)return u}return null}))},element:p((function(t,n,r,o,i){var a=t[n];return e(a)?null:new f("Invalid "+o+" `"+i+"` of type `"+v(a)+"` supplied to `"+r+"`, expected a single ReactElement.")})),instanceOf:function(e){return p((function(t,n,r,o,i){if(!(t[n]instanceof e)){var a=e.name||u;return new f("Invalid "+o+" `"+i+"` of type `"+((s=t[n]).constructor&&s.constructor.name?s.constructor.name:u)+"` supplied to `"+r+"`, expected instance of `"+a+"`.")}var s;return null}))},node:p((function(e,t,n,r,o){return h(e[t])?null:new f("Invalid "+r+" `"+o+"` supplied to `"+n+"`, expected a ReactNode.")})),objectOf:function(e){return p((function(t,n,r,o,i){if("function"!=typeof e)return new f("Property `"+i+"` of component `"+r+"` has invalid PropType notation inside objectOf.");var s=t[n],c=v(s);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected an object.");for(var u in s)if(s.hasOwnProperty(u)){var l=e(s,u,r,o,i+"."+u,a);if(l instanceof Error)return l}return null}))},oneOf:function(e){return Array.isArray(e)?p((function(t,n,r,o,i){for(var a=t[n],s=0;s<e.length;s++)if(c=a,u=e[s],c===u?0!==c||1/c==1/u:c!=c&&u!=u)return null;var c,u;return new f("Invalid "+o+" `"+i+"` of value `"+a+"` supplied to `"+r+"`, expected one of "+JSON.stringify(e)+".")})):("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&i(!1,"Invalid argument supplied to oneOf, expected an instance of array."),r.thatReturnsNull)},oneOfType:function(e){return Array.isArray(e)?p((function(t,n,r,o,i){for(var s=0;s<e.length;s++)if(null==(0,e[s])(t,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(e){return p((function(t,n,r,o,i){var s=t[n],c=v(s);if("object"!==c)return new f("Invalid "+o+" `"+i+"` of type `"+c+"` supplied to `"+r+"`, expected `object`.");for(var u in e){var l=e[u];if(l){var p=l(s,u,r,o,i+"."+u,a);if(p)return p}}return null}))}};function f(e){this.message=e,this.stack=""}function p(e){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var n={},r=0;function s(s,c,l,p,d,h,v){if(p=p||u,h=h||l,v!==a)if(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");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==c[l]?s?null===c[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:e(c,l,p,d,h)}var c=s.bind(null,!1);return c.isRequired=s.bind(null,!0),c}function d(e){return p((function(t,n,r,o,i,a){var s=t[n];return v(s)!==e?new f("Invalid "+o+" `"+i+"` of type `"+function(e){var t=v(e);if("object"===t){if(e instanceof Date)return"date";if(e instanceof RegExp)return"regexp"}return t}(s)+"` supplied to `"+r+"`, expected `"+e+"`."):null}))}function h(t){switch(typeof t){case"number":case"string":case"undefined":return!0;case"boolean":return!t;case"object":if(Array.isArray(t))return t.every(h);if(null===t||e(t))return!0;var r=function(e){var t=e&&(n&&e[n]||e[c]);if("function"==typeof t)return t}(t);if(!r)return!1;var o,i=r.call(t);if(r!==t.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(e){var t=typeof e;return Array.isArray(e)?"array":e instanceof RegExp?"object":function(e,t){return"symbol"===e||"Symbol"===t["@@toStringTag"]||"function"==typeof Symbol&&t instanceof Symbol}(t,e)?"symbol":t}return f.prototype=Error.prototype,l.checkPropTypes=s,l.PropTypes=l,l}},function(e,t){"use strict";function n(e){return function(){return e}}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(e){return e},e.exports=r},function(e,t,n){"use strict";var r=function(e){};"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(e){if(void 0===e)throw new Error("invariant requires an error message argument")}),e.exports=function(e,t,n,o,i,a,s,c){if(r(t),!e){var u;if(void 0===t)u=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,c],f=0;(u=new Error(t.replace(/%s/g,(function(){return l[f++]})))).name="Invariant Violation"}throw u.framesToPop=1,u}}},function(e,t,n){"use strict";var r,o=n(5);"production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV&&(r=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=0,i="Warning: "+e.replace(/%s/g,(function(){return n[o++]}));"undefined"!=typeof console&&console.error(i);try{throw new Error(i)}catch(e){}},o=function(e,t){if(void 0===t)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(0!==t.indexOf("Failed Composite propType: ")&&!e){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,[t].concat(o))}}),e.exports=o},function(e,t){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)var r=n(6),o=n(7),i=n(8),a={};e.exports=function(e,t,n,s,c){if("production"!=={DRAGGABLE_DEBUG:void 0}.NODE_ENV)for(var u in e)if(e.hasOwnProperty(u)){var l;try{r("function"==typeof e[u],"%s: %s type `%s` is invalid; it must be a function, usually from React.PropTypes.",s||"React class",n,u),l=e[u](t,u,s,n,null,i)}catch(e){l=e}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,u,typeof l),l instanceof Error&&!(l.message in a)){a[l.message]=!0;var f=c?c():"";o(!1,"Failed %s type: %s%s",n,l.message,null!=f?f:"")}}}},function(e,t,n){"use strict";var r=n(5),o=n(6);e.exports=function(){function 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")}function t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t};return n.checkPropTypes=r,n.PropTypes=n,n}},function(e,n){e.exports=t},function(e,t,n){var r;
|
7
7
|
/*!
|
8
8
|
Copyright (c) 2016 Jed Watson.
|
9
9
|
Licensed under the MIT License (MIT), see
|
10
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=u,e.matchesSelectorAndParentsTo=function(t,e,n){var r=t;do{if(u(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},c="";function u(t,e){return c||(c=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(e){return(0,i.isFunction)(t[e])}))),t[c].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 c=i.ownerDocument,u=c.defaultView,l=void 0;if("parent"===r)l=i.parentNode;else if(!(l=c.querySelector(r)))throw new Error('Bounds selector "'+r+'" could not find an element.');var f=u.getComputedStyle(i),p=u.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)),c=n(13),u=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,c.matchesSelectorAndParentsTo)(t.target,o.props.handle,e)||o.props.cancel&&(0,c.matchesSelectorAndParentsTo)(t.target,o.props.cancel,e))){var r=(0,c.getTouchIdentifier)(t);o.setState({touchIdentifier:r});var i=(0,u.getControlPosition)(t,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,u.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,c.addUserSelectStyles)(n.body),o.setState({dragging:!0,lastX:a,lastY:l}),(0,c.addEvent)(n,v.move,o.handleDrag),(0,c.addEvent)(n,v.stop,o.handleDragStop))}}},o.handleDrag=function(t){"touchmove"===t.type&&t.preventDefault();var e=(0,u.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,c=(0,u.snapToGrid)(o.props.grid,a,s),l=r(c,2);if(a=l[0],s=l[1],!a&&!s)return;n=o.state.lastX+a,i=o.state.lastY+s}var p=(0,u.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,u.getControlPosition)(t,o.state.touchIdentifier,o);if(null!=e){var n=e.x,r=e.y,i=(0,u.createCoreData)(o,n,r),a=s.default.findDOMNode(o).ownerDocument;o.props.enableUserSelectHack&&(0,c.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,c.removeEvent)(a,v.move,o.handleDrag),(0,c.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,c.removeEvent)(t,h.mouse.move,this.handleDrag),(0,c.removeEvent)(t,h.touch.move,this.handleDrag),(0,c.removeEvent)(t,h.mouse.stop,this.handleDragStop),(0,c.removeEvent)(t,h.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&(0,c.removeUserSelectStyles)(t.body)}},{key:"render",value:function(){return i.default.cloneElement(i.default.Children.only(this.props.children),{style:(0,c.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 c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=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];u.push(new h(t,e)),1!==u.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 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 u=[n,r,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},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,c=0;s>c;)o.f(t,n=r[c++],e[n]);return t}},function(t,e,n){var r,o,i=n(8),a=n(77),s=i.process,c=s&&s.versions,u=c&&c.v8;u?o=(r=u.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),c=a>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>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),c=n(21),u=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"),m=function(){return this};t.exports=function(t,e,n,l,d,y,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]&&c(w,g,m)),s(w,P,!0,!0),f&&(p[P]=m))),"values"==d&&S&&"values"!==S.name&&(k=!0,T=function(){return S.call(this)}),f&&!b||_[g]===T||c(_,g,T),p[e]=T,d)if(E={values:x("values"),keys:y?T:x("keys"),entries:x("entries")},b)for(O in E)!v&&!k&&O in _||u(_,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 c,u,l=String(i(e)),f=l.length,p=void 0===s?" ":String(s),d=r(n);return d<=f||""==p?l:(c=d-f,(u=o.call(p,a(c/p.length))).length>c&&(u=u.slice(0,c)),t?l+u:u+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),c=n(33),u=n(46),l=n(129),f=n(98),p=n(153),d=a.location,h=a.setImmediate,v=a.clearImmediate,g=a.process,m=a.MessageChannel,y=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"==c(g)?r=function(t){g.nextTick(O(t))}:y&&y.now?r=function(t){y.now(O(t))}:m&&!p?(i=(o=new m).port2,o.port1.onmessage=x,r=u(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,c=r.Int8Array;t.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(t){new c,new c(null),new c(1.5),new c(t)}),!0)||o((function(){return 1!==new c(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,c=o.pop(),u=a(o),l=t.apply(void 0,[function(){return s++,c.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=u.map((function(n){return n.apply(void 0,[t,e].concat(o))}));return l.apply(void 0,r(a))};return f.resultFunc=c,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]?c: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 c=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,c=i.f,u=0;u<n.length;u++){var l=n[u];r(t,l)||s(t,l,c(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),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;e.length>c;)r(s,n=e[c++])&&(~i(u,n)||u.push(n));return u}},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),c=o(t,s),u=o(e,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:o(l,s))-u,s-c),p=1;for(u<c&&c<u+f&&(p=-1,u+=f-1,c+=f-1);f-- >0;)u in n?n[c]=n[u]:delete n[c],c+=p,u+=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,c,u,l,f){for(var p,d=c,h=0,v=!!l&&i(l,f,3);h<s;){if(h in n){if(p=v?v(n[h],h,e):n[h],u>0&&r(p))d=a(t,e,p,o(p.length),d,u-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),c=n(53),u=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,m=void 0!==g,y=0,b=u(d);if(m&&(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>y;y++)c(n,y,m?g(d[y],y):d[y]);else for(p=(f=b.call(d)).next,n=new h;!(l=p.call(f)).done;y++)c(n,y,m?i(f,g,[l.value,y],!0):l.value);return n.length=y,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),c=function(){return this};t.exports=function(t,e,n){var u=e+" Iterator";return t.prototype=o(r,{next:i(1,n)}),a(t,u,!1,!0),s[u]=c,t}},function(t,e,n){"use strict";var r,o,i,a=n(37),s=n(21),c=n(18),u=n(13),l=n(44),f=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||c(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,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");t.exports=u||l?function(t){if(u)return c.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}:c},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),c=n(73),u=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,u){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&&c(r,t[u],t,n)})),d=v(e),g=function(t,e,n){var r,o,i=d(t),a=m(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},m=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=m(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!!m(this,t)}}),i(l.prototype,n?{get:function(t){var e=m(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);u(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]/,c=8!==a(i+"08")||22!==a(i+"0x16");t.exports=c?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),c=n(16),u=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=c(t),o=arguments.length,l=1,f=a.f,p=s.f;o>l;)for(var d,h=u(arguments[l++]),v=f?i(h).concat(f(h)):i(h),g=v.length,m=0;g>m;)d=v[m++],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),c=o(s),u=c.length,l=0,f=[];u>l;)n=c[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,c,u,l,f=n(8),p=n(22).f,d=n(33),h=n(112).set,v=n(153),g=f.MutationObserver||f.WebKitMutationObserver,m=f.process,y=f.Promise,b="process"==d(m),w=p(f,"queueMicrotask"),E=w&&w.value;E||(r=function(){var t,e;for(b&&(t=m.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(){m.nextTick(r)}:g&&!v?(s=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):y&&y.resolve?(u=y.resolve(void 0),l=u.then,a=function(){l.call(u,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),c=n(11).aTypedArrayConstructor;t.exports=function(t){var e,n,u,l,f,p,d=r(t),h=arguments.length,v=h>1?arguments[1]:void 0,g=void 0!==v,m=i(d);if(null!=m&&!a(m))for(p=(f=m.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),u=new(c(this))(n),e=0;n>e;e++)u[e]=g?v(d[e],e):d[e];return u}},function(t,e,n){"use strict";var r=n(58),o=n(54).getWeakData,i=n(10),a=n(9),s=n(48),c=n(73),u=n(19),l=n(18),f=n(29),p=f.set,d=f.getterFor,h=u.find,v=u.findIndex,g=0,m=function(t){return t.frozen||(t.frozen=new y)},y=function(){this.entries=[]},b=function(t,e){return h(t.entries,(function(t){return t[0]===e}))};y.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,u){var f=t((function(t,r){s(t,f,e),p(t,{type:e,id:g++,frozen:void 0}),null!=r&&c(r,t[u],t,n)})),h=d(e),v=function(t,e,n){var r=h(t),a=o(i(e),!0);return!0===a?m(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?m(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?m(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?m(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),c=n(36),u=n(137),l=n(29),f=n(48),p=n(18),d=n(46),h=n(71),v=n(10),g=n(9),m=n(38),y=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),C=function(t){return j[t-1]||(j[t-1]=RegExp("((?:%[\\da-f]{2}){"+t+"})","gi"))},A=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(C(n--),A);return e}},M=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},N=function(t){return R[t]},D=function(t){return encodeURIComponent(t).replace(M,N)},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=u((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,c,u=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(k(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==u)if(g(u))if("function"==typeof(t=w(u)))for(n=(e=t.call(u)).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(c in u)p(u,c)&&d.push({key:c,value:u[c]+""});else L(d,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},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+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,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(D(t.key)+"="+D(t.value));return n.join("&")}),{enumerable:!0}),c(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=m(e,{body:y(0,String(n)),headers:y(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]:{},m=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,y=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,c(i={},r.TASK,!0),c(i,"id",t),c(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},c(i,"cont",o),c(i,"joiners",[]),c(i,"cancel",T),c(i,"isRunning",(function(){return n._isRunning})),c(i,"isCancelled",(function(){return n._isCancelled})),c(i,"isAborted",(function(){return n._isAborted})),c(i,"result",(function(){return n._result})),c(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}(m,y,e,b),_={name:y,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){u(),n(t,!0)}function c(t){o.push(t),t.cont=function(c,u){a||((0,r.remove)(o,t),t.cont=r.noop,u?s(c):(t===e&&(i=c),o.length||(a=!0,n(i))))}}function u(){a||(a=!0,o.forEach((function(t){t.cont=r.noop,t.cancel()})),o=[])}return c(e),{addTask:c,cancelAll:u,abort:s,getTasks:function(){return o},taskNames:function(){return o.map((function(t){return t.name}))}}}(0,_,C);function T(){e._isRunning&&!e._isCancelled&&(e._isCancelled=!0,S.cancelAll(),C(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)):A(o.value,m,"",j)}catch(t){_.isCancelled&&x("error","uncaught at "+y,t.message),_.isMainRunning=!1,_.cont(t,!0)}}function C(t,n){e._isRunning=!1,P.close(),n?(t instanceof Error&&(t.sagaStack="at "+y+" \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&&u&&x("info",y+" 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 A(t,e){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:e,label:u,effect:t});var m=void 0;function b(t,e){m||(m=!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(!m){m=!0;try{b.cancel()}catch(t){x("error","uncaught at "+y,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,y,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 c=t.map((function(t,e){var c=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 c.cancel=r.noop,c}));n.cancel=function(){i||(i=!0,c.forEach((function(t){return t.cancel()})))},t.forEach((function(t,n){return A(t,e,n,c[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 "+y,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(c({},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||A(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,c=e.fn,u=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,c={done:!1,value:i},function(t){return s?{done:!0,value:t}:(s=!0,c)}));var s,c}({context:s,fn:c,args:u});try{(0,o.suspend)();var p=t(f,n,d,v,g,i,c.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 c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=!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,c){a=a||"";var u,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),u=0,l=a.length;u<l;u++)switch(f=a[u]){case"<":if(g)break;if(" "==a[u+1]){m(f);break}if(p==t){p=e,m(f);break}if(p==e){d++;break}m(f);break;case">":if(d){d--;break}if(g)break;if(p==e){g=p=0,s&&(v+=">",y());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[u-1]&&"-"==a[u-2]){g=p=0,v="";break}m(f);break;case'"':case"'":p==e&&(g==f?g=!1:g||(g=f)),m(f);break;case"!":if(p==e&&"<"==a[u-1]){p=n;break}m(f);break;case"-":if(p==n&&"-"==a[u-1]&&"!"==a[u-2]){p=r;break}m(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(u-6,7).toLowerCase()){p=e;break}m(f);break;default:m(f)}function m(n){p==t?h+=n:s&&p==e&&(v+=n)}function y(){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:c&&(h+=c),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 c(t){return r.isMemo(t)?a:s[t.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var u=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=c(e),v=c(n),g=0;g<a.length;++g){var m=a[g];if(!(i[m]||r&&r[m]||v&&v[m]||s&&s[m])){var y=p(n,m);try{u(e,m,y)}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),c=r(s),u=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,u.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?c.default.createElement(f,{whitelist:["width","height"],onMeasure:this._handleResize},t):t}},{key:"render",value:function(){var t=this,e=!!this.props.children&&c.default.Children.map(this.props.children,(function(e){return c.default.cloneElement(e,{wavesurfer:t._wavesurfer,isReady:t.state.isReady})}));return this._measureIfResponsive(c.default.createElement("div",null,c.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++)c.call(e,r[i])&&o(t,e,r[i]);return t}var a=n(2),s=Object.prototype.hasOwnProperty,c=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),c=n(7),u=n.n(c),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=u()(),o=[],c=[];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,c=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)(c))),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),c=n(128),u=n(6),l=n(18),f=n(52),p=n(9),d=n(10),h=n(16),v=n(24),g=n(34),m=n(43),y=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),C=n(63),A=n(62),I=n(13),M=n(131),R=n(25),N=n(36),D=n(29),L=n(19).forEach,B=j("hidden"),F=I("toPrimitive"),U=D.set,W=D.getterFor("Symbol"),H=Object.prototype,V=o.Symbol,q=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&&u((function(){return 7!=y(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]=y(V.prototype);return U(n,{type:"Symbol",tag:t,description:e}),s||(n.description=e),n},ot=c&&"symbol"==typeof V.iterator?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof V},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=y(n,{enumerable:m(0,!1)})):(l(t,B)||z(t,B,m(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)},ct=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}},ut=function(t){var e=Y(v(t)),n=[];return L(e,(function(t){l($,t)||l(C,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};(c||(S((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,e=A(t),n=function(t){this===H&&n.call(K,t),l(this,B)&&l(this[B],e)&&(this[B][e]=!1),nt(this,e,m(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=ct,w.f=E.f=ut,O.f=lt,s&&(z(V.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:!c,sham:!c},{Symbol:V}),L(b(Z),(function(t){R(t)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(t){var e=String(t);if(l(Q,e))return Q[e];var n=V(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:!c,sham:!s},{create:function(t,e){return void 0===e?y(t):at(y(t),e)},defineProperty:it,defineProperties:at,getOwnPropertyDescriptor:ct}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ut,getOwnPropertySymbols:lt}),r({target:"Object",stat:!0,forced:u((function(){O.f(1)}))},{getOwnPropertySymbols:function(t){return O.f(h(t))}}),q)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var t=V();return"[null]"!=q([t])||"{}"!=q({a:t})||"{}"!=q(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,q.apply(null,o)}});V.prototype[F]||_(V.prototype,F,V.prototype.valueOf),N(V,"Symbol"),C[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),c=n(15).f,u=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};u(p,l);var d=p.prototype=l.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(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),c=n(14),u=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"),m=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],m(i)){if(p+(o=c(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&u(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(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),c=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=c(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),c=n(67);r({target:"Array",proto:!0},{flatMap:function(t){var e,n=i(this),r=a(n.length);return s(t),(e=c(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,c=i("indexOf");r({target:"Array",proto:!0,forced:s||c},{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,c=o!=Object,u=a("join",",");r({target:"Array",proto:!0,forced:c||u},{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),c=n(24),u=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=c(this),v=s(h.length),g=a(t,v),m=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,m);for(r=new(void 0===n?Array:n)(d(m-g,0)),l=0;g<m;g++,l++)g in h&&u(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),c=[],u=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),p=s("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(t){return void 0===t?u.call(i(this)):u.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),c=n(67),u=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),m=a(g.length),y=o(t,m),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=m-y):(n=b-2,r=p(f(i(e),0),m-y)),m+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=c(g,r),d=0;d<r;d++)(h=y+d)in g&&u(l,d,g[h]);if(l.length=r,n<r){for(d=y;d<m-r;d++)v=d+n,(h=d+r)in g?g[v]=g[h]:delete g[v];for(d=m;d>m-r+n;d--)delete g[d-1]}else if(n>r)for(d=m-r;d>y;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+y]=arguments[d+2];return g.length=m-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),c=n(14),u=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(u(this,l))(c(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,c=a.toISOString;t.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-5e13-1))}))||!r((function(){c.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"}:c},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,c=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)+c: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),c=i(2,127)*(2-s),u=i(2,-126);t.exports=Math.fround||function(t){var e,n,i=o(t),l=r(t);return i<u?l*(i/u/s+1/a-1/a)*u*s:(n=(e=(1+s/a)*i)-(e-i))>c||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,c=arguments.length,u=0;s<c;)u<(n=i(arguments[s++]))?(o=o*(r=u/n)*r+1,u=n):o+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*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,c=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))*(c/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),c=n(33),u=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,m=o.Number,y=m.prototype,b="Number"==c(p(y)),w=function(t){var e,n,r,o,i,a,s,c,u=l(t,!1);if("string"==typeof u&&u.length>2)if(43===(e=(u=g(u)).charCodeAt(0))||45===e){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===e){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,s=0;s<a;s++)if((c=i.charCodeAt(s))<48||c>o)return NaN;return parseInt(i,r)}return+u};if(i("Number",!m(" 0o1")||!m("0b1")||m("+0x1"))){for(var E,O=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof O&&(b?f((function(){y.valueOf.call(n)})):"Number"!=c(n))?u(new m(w(e)),n,O):w(e)},x=r?d(m):"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(m,E=x[P])&&!s(O,E)&&v(O,E,h(m,E));O.prototype=y,y.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),c=1..toFixed,u=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:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}))},{toFixed:function(t){var e,n,r,s,c=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=u(r/1e7)},g=function(t){for(var e=6,n=0;--e>=0;)n+=p[e],p[e]=u(n/t),n=n%t*1e7},m=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(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>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}(c*l(2,69,1))-69)<0?c*l(2,-e,1):c/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=m()}else v(0,n),v(1<<-e,0),h=m()+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),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(t,e){c.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),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(t,e){c.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,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(t){return c&&a(t)?c(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),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||c,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),c=n(53);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(t){for(var e,n,r=a(t),o=s.f,u=i(r),l={},f=0;u.length>f;)void 0!==(n=o(r,e=u[f++]))&&c(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),c=n(37),u=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=u(n,r))return e.get}while(n=c(n))}})},function(t,e,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),c=n(37),u=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=u(n,r))return e.set}while(n=c(n))}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{preventExtensions:function(t){return c&&o(t)?c(i(t)):t}})},function(t,e,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),c=Object.seal;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{seal:function(t){return c&&o(t)?c(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),c=n(44),u=n(8),l=n(35),f=n(152),p=n(20),d=n(58),h=n(55),v=n(36),g=n(57),m=n(9),y=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),C=n(29),A=n(65),I=n(13),M=n(104),R=I("species"),N="Promise",D=C.get,L=C.set,B=C.getterFor(N),F=f,U=u.TypeError,W=u.document,H=u.process,V=h("inspectSource"),q=l("fetch"),G=T.f,z=G,Y="process"==w(H),X=!!(W&&W.createEvent&&u.dispatchEvent),$=A(N,(function(){var t=V(F)!==String(F);if(66===M)return!0;if(!t&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(c&&!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!(!m(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,c,u,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(),u=!0)),s===l.promise?d(U("Promise-chain cycle")):(c=Q(s))?c.call(s,p,d):p(s)):d(o)}catch(t){h&&!u&&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),u.dispatchEvent(r)):r={promise:e,reason:n},(o=u["on"+t])?o(r):"unhandledrejection"===t&&S("Unhandled promise rejection",n)},tt=function(t,e){P.call(u,(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(u,(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,N),y(t),r.call(this);var e=D(this);try{t(rt(it,this,e),rt(ot,this,e))}catch(t){ot(this,e,t)}},(r=function(t){L(this,{type:N,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=D(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)},c||"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 q&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return _(F,q.apply(u,arguments))}}))),s({global:!0,wrap:!0,forced:$},{Promise:F}),v(F,N,!1,!0),g(N),i=l(N),s({target:N,stat:!0,forced:$},{reject:function(t){var e=G(this);return e.reject.call(void 0,t),e.promise}}),s({target:N,stat:!0,forced:c||$},{resolve:function(t){return _(c&&this===i?F:this,t)}}),s({target:N,stat:!0,forced:K},{all:function(t){var e=this,n=G(e),r=n.resolve,o=n.reject,i=j((function(){var n=y(e.resolve),i=[],a=0,s=1;E(t,(function(t){var c=a++,u=!1;i.push(void 0),s++,n.call(e,t).then((function(t){u||(u=!0,i[c]=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=y(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),c=n(155),u=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 c(e,t()).then((function(){return n}))}:t,n?function(n){return c(e,t()).then((function(){throw n}))}:t)}}),o||"function"!=typeof i||i.prototype.finally||u(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),c=o("Reflect","apply"),u=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){c((function(){}))}))},{apply:function(t,e,n){return i(t),a(n),c?c(t,e,n):u.call(t,e,n)}})},function(t,e,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(9),c=n(38),u=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(u.apply(t,r))}var o=n.prototype,l=c(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),c=n(37);r({target:"Reflect",stat:!0},{get:function t(e,n){var r,u,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(u=c(e))?t(u,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),c=n(22),u=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=c.f(o(e),n);if(!h){if(i(p=u(e)))return t(p,n,r,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!i(d))return!1;if(f=c.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,c=n(51).f,u=n(113),l=n(87),f=n(20),p=n(6),d=n(57),h=n(13)("match"),v=o.RegExp,g=v.prototype,m=/a/g,y=/a/g,b=new v(m)!==m;if(r&&i("RegExp",!b||p((function(){return y[h]=!1,v(m)!=m||v(y)==y||"/a/i"!=v(m,"i")})))){for(var w=function(t,e){var n=this instanceof w,r=u(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=c(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,c=s.toString,u=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),l="toString"!=c.name;(u||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),c="".endsWith,u=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:u(o(n),r),l=String(t);return c?c.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),c=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),u=String(this);if(!a.global)return c(a,u);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=c(a,u));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=s(u,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),c=n(23),u=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=c(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 c=n(e,t,this,i);if(c.done)return c.value;var d=o(t),h=String(this),v="function"==typeof i;v||(i=String(i));var g=d.global;if(g){var m=d.unicode;d.lastIndex=0}for(var y=[];;){var b=l(d,h);if(null===b)break;if(y.push(b),!g)break;""===String(b[0])&&(d.lastIndex=u(h,a(d.lastIndex),m))}for(var w,E="",O=0,x=0;x<y.length;x++){b=y[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 C=String(i.apply(void 0,j))}else C=r(P,h,k,_,T,i);k>=O&&(E+=h.slice(O,k)+C,O=k+P.length)}return E+h.slice(O)}];function r(t,n,r,o,a,s){var c=r+t.length,u=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(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return e;if(l>u){var f=d(l/10);return 0===f?e:f<=u?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),c=String(this),u=i.lastIndex;a(u,0)||(i.lastIndex=0);var l=s(i,c);return a(i.lastIndex,u)||(i.lastIndex=u),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),c=n(116),u=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,c,u,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))&&!((c=v.lastIndex)>h&&(l.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&d.apply(l,s.slice(1)),u=s[0].length,h=c,l.length>=i));)v.lastIndex===s.index&&v.lastIndex++;return h===r.length?!u&&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,m=(f.ignoreCase?"i":"")+(f.multiline?"m":"")+(f.unicode?"u":"")+(v?"y":"g"),y=new d(v?f:"^(?:"+f.source+")",m),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===p.length)return null===l(y,p)?[p]:[];for(var w=0,E=0,O=[];E<p.length;){y.lastIndex=v?E:0;var x,P=l(y,v?p:p.slice(E));if(null===P||(x=h(u(y.lastIndex+(v?0:E)),p.length))===w)E=c(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),c="".startsWith,u=Math.min;r({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(t){var e=String(a(this));i(t);var n=o(u(arguments.length>1?arguments[1]:void 0,e.length)),r=String(t);return c?c.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,c=e.length,u=new(s(n))(c);c>r;)u[r]=e[r++];return u}))},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,c=i.values,u=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 c.call(f(this))};p("entries",(function(){return l.call(f(this))})),p("keys",(function(){return u.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),c=r.aTypedArray,u=s((function(){new Int8Array(1).set({})}));r.exportProto("set",(function(t){c(this);var e=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(t),s=o(r.length),u=0;if(s+e>n)throw RangeError("Wrong length");for(;u<s;)this[e+u]=r[u++]}),u)},function(t,e,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,s=r.aTypedArrayConstructor,c=[].slice,u=i((function(){new Int8Array(1).slice()}));r.exportProto("slice",(function(t,e){for(var n=c.call(a(this),t,e),r=o(this,this.constructor),i=0,u=n.length,l=new(s(r))(u);u>i;)l[i]=n[i++];return l}),u)},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,c=i(t,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===e?r:i(e,r))-c))}))},function(t,e,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Int8Array,s=o.aTypedArray,c=[].toLocaleString,u=[].slice,l=!!a&&i((function(){c.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 c.apply(l?u.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,c=[].toString,u=[].join;i((function(){c.call({})}))&&(c=function(){return u.call(this)}),o.exportProto("toString",c,(s||{}).toString!=c)},function(t,e,n){"use strict";var r,o=n(8),i=n(58),a=n(54),s=n(82),c=n(161),u=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,c,!0,!0);if(f&&p){r=c.getConstructor(h,"WeakMap",!0),a.REQUIRED=!0;var g=v.prototype,m=g.delete,y=g.has,b=g.get,w=g.set;i(g,{delete:function(t){if(u(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),m.call(this,t)||e.frozen.delete(t)}return m.call(this,t)},has:function(t){if(u(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),y.call(this,t)||e.frozen.has(t)}return y.call(this,t)},get:function(t){if(u(t)&&!d(t)){var e=l(this);return e.frozen||(e.frozen=new r),y.call(this,t)?b.call(this,t):e.frozen.get(t)}return b.call(this,t)},set:function(t,e){if(u(t)&&!d(t)){var n=l(this);n.frozen||(n.frozen=new r),y.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 c=r[s],u=c&&c.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(t){u.forEach=i}}},function(t,e,n){var r=n(8),o=n(162),i=n(79),a=n(21),s=n(13),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(t){d[c]=l}if(d[u]||a(d,u,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,c="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(t){var e=c&&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),c=n(103),u=n(20),l=n(48),f=n(18),p=n(149),d=n(135),h=n(89).codeAt,v=n(388),g=n(36),m=n(164),y=n(29),b=s.URL,w=m.URLSearchParams,E=m.getState,O=y.set,x=y.getterFor("URL"),P=Math.floor,k=Math.pow,_=/[A-Za-z]/,S=/[\d+\-.A-Za-z]/,T=/\d/,j=/^(0x|0X)/,C=/^[0-7]+$/,A=/^\d+$/,I=/^[\dA-Fa-f]+$/,M=/[\u0000\u0009\u000A\u000D #%/:?@[\\]]/,R=/[\u0000\u0009\u000A\u000D #/:?@[\\]]/,N=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,D=/[\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,c=t.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(e=c.length)>4)return t;for(n=[],r=0;r<e;r++){if(""==(o=c[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?A:8==i?C: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,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,p=function(){return t.charAt(f)};if(":"==p()){if(":"!=t.charAt(1))return;f+=2,l=++u}for(;p();){if(8==u)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,u>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++}c[u]=256*c[u]+o,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[u++]=e}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},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}),V=p({},H,{"#":1,"?":1,"{":1,"}":1}),q=p({},V,{"/":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={},ct={},ut={},lt={},ft={},pt={},dt={},ht={},vt={},gt={},mt={},yt={},bt={},wt={},Et=function(t,e,n,o){var i,a,s,c,u,l=n||tt,p=0,h="",v=!1,g=!1,m=!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(N,"")),e=e.replace(D,""),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=yt)}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=ct,p++;break;case ot:if("/"==a){l=ut;break}l=mt;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=mt;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=mt;continue}l=ut}else l=ct;break;case st:if(l=ct,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ct:if("/"!=a&&"\\"!=a){l=ut;continue}break;case ut:if("@"==a){v&&(h="%40"+h),v=!0,s=d(h);for(var y=0;y<s.length;y++){var b=s[y];if(":"!=b||m){var w=G(b,q);m?t.password+=w:t.username+=w}else m=!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(c=L(t,h))return c;if(h="",l=gt,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(c=L(t,h))return c;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=mt;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=mt;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=mt;continue;case vt:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))l=mt;else if(""==h){if(t.host="",n)return;l=gt}else{if(c=L(t,h))return c;if("localhost"==t.host&&(t.host=""),n)return;h="",l=gt}continue}h+=a;break;case gt:if(Y(t)){if(l=mt,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=mt,"/"!=a))continue}else t.fragment="",l=wt;else t.query="",l=bt;break;case mt:if(a==r||"/"==a||"\\"==a&&Y(t)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=h).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(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,V);break;case yt:"?"==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 c=s.searchParams=new w,u=E(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||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=Ct.call(r),r.port=At.call(r),r.pathname=It.call(r),r.search=Mt.call(r),r.searchParams=Rt.call(r),r.hash=Nt.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,c=t.fragment,u=e+":";return null!==o?(u+="//",X(t)&&(u+=n+(r?":"+r:"")+"@"),u+=U(o),null!==i&&(u+=":"+i)):"file"==e&&(u+="//"),u+=t.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},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},Ct=function(){var t=x(this).host;return null===t?"":U(t)},At=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},Nt=function(){var t=x(this).fragment;return t?"#"+t:""},Dt=function(t,e){return{get:t,set:e,configurable:!0,enumerable:!0}};if(i&&c(xt,{href:Dt(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:Dt(kt),protocol:Dt(_t,(function(t){var e=x(this);Et(e,String(t)+":",tt)})),username:Dt(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],q)}})),password:Dt(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],q)}})),host:Dt(jt,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),lt)})),hostname:Dt(Ct,(function(t){var e=x(this);e.cannotBeABaseURL||Et(e,String(t),ft)})),port:Dt(At,(function(t){var e=x(this);$(e)||(""==(t=String(t))?e.port=null:Et(e,t,pt))})),pathname:Dt(It,(function(t){var e=x(this);e.cannotBeABaseURL||(e.path=[],Et(e,t+"",gt))})),search:Dt(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:Dt(Rt),hash:Dt(Nt,(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}))}),u(xt,"toJSON",(function(){return Pt.call(this)}),{enumerable:!0}),u(xt,"toString",(function(){return Pt.call(this)}),{enumerable:!0}),b){var Lt=b.createObjectURL,Bt=b.revokeObjectURL;Lt&&u(Ot,"createObjectURL",(function(t){return Lt.apply(b,arguments)})),Bt&&u(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,c=function(t){return t+22+75*(t<26)},u=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 m=f,y=36;;y+=36){var b=y<=p?1:y>=p+26?26:y-p;if(m<b)break;var w=m-b,E=36-b;r.push(s(c(b+w%E))),m=a(w/E)}r.push(s(c(m))),p=u(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 c(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 c=u(t,e,n);if("normal"===c.type){if(r=n.done?d:f,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(t,n,a),i}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=c;var l="suspendedStart",f="suspendedYield",p="executing",d="completed",h={};function v(){}function g(){}function m(){}var y={};y[i]=function(){return this};var b=Object.getPrototypeOf,w=b&&b(b(T([])));w&&w!==n&&r.call(w,i)&&(y=w);var E=m.prototype=v.prototype=Object.create(y);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=u(t[n],t,o);if("throw"!==s.type){var c=s.arg,l=c.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){c.value=t,i(c)}),(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=u(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=m,m.constructor=g,m[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,m):(t.__proto__=m,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(c(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 c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)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,c=e.logger;(0,o.check)(t,o.is.iterator,"runSaga must be called on an iterator");var u=(0,o.uid)();s&&(r=(0,o.wrapSagaDispatch)(r),s.effectTriggered({effectId:u,root:!0,parentEffectId:0,effect:{root:!0,saga:t,args:[]}}));var l=(0,a.default)(t,n,r,i,{sagaMonitor:s,logger:c},u,t.name);s&&s.effectResolved(u,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)},c=void 0,p=function(t){return c=t};return l({q1:function(){return["q2",s,p]},q2:function(){return c===o.END?[u]:["q1",(t=c,{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)},c=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?[u]:d?["q3",p(d)]:["q1",c(h),v]},q3:function(){return["q1",c(h),v]}},"q1","takeLatest("+f(t)+", "+e.name+")")},e.throttle=function(t,e,n){for(var r=arguments.length,c=Array(r>3?r-3:0),p=3;p<r;p++)c[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)},m=function(t){return d=t},y=function(t){return h=t};return l({q1:function(){return["q2",v,y]},q2:function(){return["q3",{done:!1,value:(0,a.take)(h,e)},m]},q3:function(){return d===o.END?[u]:["q4",(t=d,{done:!1,value:a.fork.apply(void 0,[n].concat(c,[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),c={done:!0,value:void 0},u={};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===u)return c;if(n)throw a=u,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)===u?c: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,u=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,c.emitter)(),f=(0,o.wrapSagaDispatch)(u);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 c=e(t,i,s);return n&&n.effectResolved(s,c),c},r};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r},s=n(167),c=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";
|
11
|
+
*/!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r))e.push(o.apply(null,r));else if("object"===i)for(var a in r)n.call(r,a)&&r[a]&&e.push(a)}}return e.join(" ")}void 0!==e&&e.exports?e.exports=o:void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.matchesSelector=u,t.matchesSelectorAndParentsTo=function(e,t,n){var r=e;do{if(u(r,t))return!0;if(r===n)return!1;r=r.parentNode}while(r);return!1},t.addEvent=function(e,t,n){e&&(e.attachEvent?e.attachEvent("on"+t,n):e.addEventListener?e.addEventListener(t,n,!0):e["on"+t]=n)},t.removeEvent=function(e,t,n){e&&(e.detachEvent?e.detachEvent("on"+t,n):e.removeEventListener?e.removeEventListener(t,n,!0):e["on"+t]=null)},t.outerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderTopWidth),t+=(0,i.int)(n.borderBottomWidth)},t.outerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t+=(0,i.int)(n.borderLeftWidth),t+=(0,i.int)(n.borderRightWidth)},t.innerHeight=function(e){var t=e.clientHeight,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingTop),t-=(0,i.int)(n.paddingBottom)},t.innerWidth=function(e){var t=e.clientWidth,n=e.ownerDocument.defaultView.getComputedStyle(e);return t-=(0,i.int)(n.paddingLeft),t-=(0,i.int)(n.paddingRight)},t.offsetXYFromParent=function(e,t){var n=t===t.ownerDocument.body?{left:0,top:0}:t.getBoundingClientRect(),r=e.clientX+t.scrollLeft-n.left,o=e.clientY+t.scrollTop-n.top;return{x:r,y:o}},t.createCSSTransform=function(e){var t=e.x,n=e.y;return function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},(0,a.browserPrefixToKey)("transform",s.default),"translate("+t+"px,"+n+"px)")},t.createSVGTransform=function(e){var t=e.x,n=e.y;return"translate("+t+","+n+")"},t.getTouch=function(e,t){return e.targetTouches&&(0,i.findInArray)(e.targetTouches,(function(e){return t===e.identifier}))||e.changedTouches&&(0,i.findInArray)(e.changedTouches,(function(e){return t===e.identifier}))},t.getTouchIdentifier=function(e){return e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].identifier:e.changedTouches&&e.changedTouches[0]?e.changedTouches[0].identifier:void 0},t.addUserSelectStyles=function(e){var t=e.getAttribute("style")||"";d.test(t)||e.setAttribute("style",t+p)},t.removeUserSelectStyles=function(e){var t=e.getAttribute("style")||"";e.setAttribute("style",t.replace(d,""))},t.styleHacks=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return r({touchAction:"none"},e)};var o,i=n(14),a=n(15),s=(o=a)&&o.__esModule?o:{default:o},c="";function u(e,t){return c||(c=(0,i.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],(function(t){return(0,i.isFunction)(e[t])}))),e[c].call(e,t)}var l=(0,a.getPrefix)("user-select"),f=(0,a.browserPrefixToStyle)("user-select",l),p=";"+f+": none;",d=new RegExp(";?"+f+": none;")},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findInArray=function(e,t){for(var n=0,r=e.length;n<r;n++)if(t.apply(t,[e[n],n,e]))return e[n]},t.isFunction=function(e){return"function"==typeof e||"[object Function]"===Object.prototype.toString.call(e)},t.isNum=function(e){return"number"==typeof e&&!isNaN(e)},t.int=function(e){return parseInt(e,10)},t.dontSetMe=function(e,t,n){if(e[t])return new Error("Invalid prop "+t+" passed to "+n+" - do not set this, set it on the child.")}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getPrefix=r,t.browserPrefixToKey=o,t.browserPrefixToStyle=function(e,t){return t?"-"+t.toLowerCase()+"-"+e:e};var n=["Moz","Webkit","O","ms"];function r(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";if("undefined"==typeof window||void 0===window.document)return"";var t=window.document.documentElement.style;if(e in t)return"";for(var r=0;r<n.length;r++)if(o(e,n[r])in t)return n[r];return""}function o(e,t){return t?""+t+function(e){for(var t="",n=!0,r=0;r<e.length;r++)n?(t+=e[r].toUpperCase(),n=!1):"-"===e[r]?n=!0:t+=e[r];return t}(e):e}t.default=r()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getBoundPosition=function(e,t,n){if(!e.props.bounds)return[t,n];var r=e.props.bounds;r="string"==typeof r?r:function(e){return{left:e.left,top:e.top,right:e.right,bottom:e.bottom}}(r);var i=a.default.findDOMNode(e);if("string"==typeof r){var c=i.ownerDocument,u=c.defaultView,l=void 0;if("parent"===r)l=i.parentNode;else if(!(l=c.querySelector(r)))throw new Error('Bounds selector "'+r+'" could not find an element.');var f=u.getComputedStyle(i),p=u.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)&&(t=Math.min(t,r.right)),(0,o.isNum)(r.bottom)&&(n=Math.min(n,r.bottom)),(0,o.isNum)(r.left)&&(t=Math.max(t,r.left)),(0,o.isNum)(r.top)&&(n=Math.max(n,r.top)),[t,n]},t.snapToGrid=function(e,t,n){var r=Math.round(t/e[0])*e[0],o=Math.round(n/e[1])*e[1];return[r,o]},t.canDragX=function(e){return"both"===e.props.axis||"x"===e.props.axis},t.canDragY=function(e){return"both"===e.props.axis||"y"===e.props.axis},t.getControlPosition=function(e,t,n){var r="number"==typeof t?(0,s.getTouch)(e,t):null;if("number"==typeof t&&!r)return null;var o=a.default.findDOMNode(n),i=n.props.offsetParent||o.offsetParent||o.ownerDocument.body;return(0,s.offsetXYFromParent)(r||e,i)},t.createCoreData=function(e,t,n){var r=e.state;return(0,o.isNum)(r.lastX)?{node:a.default.findDOMNode(e),deltaX:t-r.lastX,deltaY:n-r.lastY,lastX:r.lastX,lastY:r.lastY,x:t,y:n}:{node:a.default.findDOMNode(e),deltaX:0,deltaY:0,lastX:t,lastY:n,x:t,y:n}},t.createDraggableData=function(e,t){return{node:t.node,x:e.state.x+t.deltaX,y:e.state.y+t.deltaY,deltaX:t.deltaX,deltaY:t.deltaY,lastX:e.state.x,lastY:e.state.y}};var r,o=n(14),i=n(11),a=(r=i)&&r.__esModule?r:{default:r},s=n(13)},function(e,t,n){(function(e){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=p(n(2)),a=p(n(3)),s=p(n(11)),c=n(13),u=n(16),l=n(14),f=p(n(19));function p(e){return e&&e.__esModule?e:{default:e}}function d(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var h={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}},v=h.mouse,g=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return n=o=d(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(a))),o.state={dragging:!1,lastX:NaN,lastY:NaN,touchIdentifier:null},o.handleDragStart=function(e){if(o.props.onMouseDown(e),!o.props.allowAnyClick&&"number"==typeof e.button&&0!==e.button)return!1;var t=s.default.findDOMNode(o),n=t.ownerDocument;if(!(o.props.disabled||!(e.target instanceof n.defaultView.Node)||o.props.handle&&!(0,c.matchesSelectorAndParentsTo)(e.target,o.props.handle,t)||o.props.cancel&&(0,c.matchesSelectorAndParentsTo)(e.target,o.props.cancel,t))){var r=(0,c.getTouchIdentifier)(e);o.setState({touchIdentifier:r});var i=(0,u.getControlPosition)(e,r,o);if(null!=i){var a=i.x,l=i.y,p=(0,u.createCoreData)(o,a,l);(0,f.default)("DraggableCore: handleDragStart: %j",p),(0,f.default)("calling",o.props.onStart),!1!==o.props.onStart(e,p)&&(o.props.enableUserSelectHack&&(0,c.addUserSelectStyles)(n.body),o.setState({dragging:!0,lastX:a,lastY:l}),(0,c.addEvent)(n,v.move,o.handleDrag),(0,c.addEvent)(n,v.stop,o.handleDragStop))}}},o.handleDrag=function(e){"touchmove"===e.type&&e.preventDefault();var t=(0,u.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,i=t.y;if(Array.isArray(o.props.grid)){var a=n-o.state.lastX,s=i-o.state.lastY,c=(0,u.snapToGrid)(o.props.grid,a,s),l=r(c,2);if(a=l[0],s=l[1],!a&&!s)return;n=o.state.lastX+a,i=o.state.lastY+s}var p=(0,u.createCoreData)(o,n,i);if((0,f.default)("DraggableCore: handleDrag: %j",p),!1!==o.props.onDrag(e,p))o.setState({lastX:n,lastY:i});else try{o.handleDragStop(new MouseEvent("mouseup"))}catch(e){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(e){if(o.state.dragging){var t=(0,u.getControlPosition)(e,o.state.touchIdentifier,o);if(null!=t){var n=t.x,r=t.y,i=(0,u.createCoreData)(o,n,r),a=s.default.findDOMNode(o).ownerDocument;o.props.enableUserSelectHack&&(0,c.removeUserSelectStyles)(a.body),(0,f.default)("DraggableCore: handleDragStop: %j",i),o.setState({dragging:!1,lastX:NaN,lastY:NaN}),o.props.onStop(e,i),(0,f.default)("DraggableCore: Removing handlers"),(0,c.removeEvent)(a,v.move,o.handleDrag),(0,c.removeEvent)(a,v.stop,o.handleDragStop)}}},o.onMouseDown=function(e){return v=h.mouse,o.handleDragStart(e)},o.onMouseUp=function(e){return v=h.mouse,o.handleDragStop(e)},o.onTouchStart=function(e){return v=h.touch,o.handleDragStart(e)},o.onTouchEnd=function(e){return v=h.touch,o.handleDragStop(e)},d(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentWillUnmount",value:function(){var e=s.default.findDOMNode(this).ownerDocument;(0,c.removeEvent)(e,h.mouse.move,this.handleDrag),(0,c.removeEvent)(e,h.touch.move,this.handleDrag),(0,c.removeEvent)(e,h.mouse.stop,this.handleDragStop),(0,c.removeEvent)(e,h.touch.stop,this.handleDragStop),this.props.enableUserSelectHack&&(0,c.removeUserSelectStyles)(e.body)}},{key:"render",value:function(){return i.default.cloneElement(i.default.Children.only(this.props.children),{style:(0,c.styleHacks)(this.props.children.props.style),onMouseDown:this.onMouseDown,onTouchStart:this.onTouchStart,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}}]),t}(i.default.Component);g.displayName="DraggableCore",g.propTypes={allowAnyClick:a.default.bool,disabled:a.default.bool,enableUserSelectHack:a.default.bool,offsetParent:function(t,n){if(e.browser&&t[n]&&1!==t[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(){}},t.default=g}).call(t,n(18))},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=s(p);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.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(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}}])},e.exports=r(n(0),n(42))},function(e,t,n){"use strict";e.exports=function(e,t,n,r,o,i,a,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},function(e,t){e.exports=pageflow},function(e,t,n){var r=n(8),o=n(9),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},function(e,t,n){var r=n(8),o=n(21);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(35),o=n(51),i=n(102),a=n(10);e.exports=r("Reflect","ownKeys")||function(e){var t=o.f(a(e)),n=i.f;return n?t.concat(n(e)):t}},function(e,t){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t,n){var r=n(12),o=n(15),i=n(10),a=n(66);e.exports=r?Object.defineProperties:function(e,t){i(e);for(var n,r=a(t),s=r.length,c=0;s>c;)o.f(e,n=r[c++],t[n]);return e}},function(e,t,n){var r,o,i=n(8),a=n(77),s=i.process,c=s&&s.versions,u=c&&c.v8;u?o=(r=u.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=r[1]),e.exports=o&&+o},function(e,t,n){"use strict";var r=n(16),o=n(45),i=n(14);e.exports=function(e){for(var t=r(this),n=i(t.length),a=arguments.length,s=o(a>1?arguments[1]:void 0,n),c=a>2?arguments[2]:void 0,u=void 0===c?n:o(c,n);u>s;)t[s++]=e;return t}},function(e,t,n){var r=n(13),o=n(69),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},function(e,t,n){"use strict";var r=n(1),o=n(137),i=n(37),a=n(56),s=n(36),c=n(21),u=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};e.exports=function(e,t,n,l,d,m,b){o(n,t,l);var w,E,O,x=function(e){if(e===d&&T)return T;if(!v&&e in _)return _[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},P=t+" Iterator",k=!1,_=e.prototype,S=_[g]||_["@@iterator"]||d&&_[d],T=!v&&S||x(d),j="Array"==t&&_.entries||S;if(j&&(w=i(j.call(new e)),h!==Object.prototype&&w.next&&(f||i(w)===h||(a?a(w,h):"function"!=typeof w[g]&&c(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||c(_,g,T),p[t]=T,d)if(E={values:x("values"),keys:m?T:x("keys"),entries:x("entries")},b)for(O in E)!v&&!k&&O in _||u(_,O,E[O]);else r({target:t,proto:!0,forced:v||k},E);return E}},function(e,t,n){var r=n(6);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},function(e,t,n){var r=n(14),o=n(110),i=n(23),a=Math.ceil,s=function(e){return function(t,n,s){var c,u,l=String(i(t)),f=l.length,p=void 0===s?" ":String(s),d=r(n);return d<=f||""==p?l:(c=d-f,(u=o.call(p,a(c/p.length))).length>c&&(u=u.slice(0,c)),e?l+u:u+l)}};e.exports={start:s(!1),end:s(!0)}},function(e,t,n){"use strict";var r=n(30),o=n(23);e.exports="".repeat||function(e){var t=String(o(this)),n="",i=r(e);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(t+=t))1&i&&(n+=t);return n}},function(e,t){e.exports=Math.sign||function(e){return 0==(e=+e)||e!=e?e:e<0?-1:1}},function(e,t,n){var r,o,i,a=n(8),s=n(6),c=n(33),u=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(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},O=function(e){return function(){E(e)}},x=function(e){E(e.data)},P=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&v||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},r(b),b},v=function(e){delete w[e]},"process"==c(g)?r=function(e){g.nextTick(O(e))}:m&&m.now?r=function(e){m.now(O(e))}:y&&!p?(i=(o=new y).port2,o.port1.onmessage=x,r=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||s(P)?r="onreadystatechange"in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(O(e),0)}:(r=P,a.addEventListener("message",x,!1))),e.exports={set:h,clear:v}},function(e,t,n){var r=n(9),o=n(33),i=n(13)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},function(e,t,n){var r=n(113);e.exports=function(e){if(r(e))throw TypeError("The method doesn't accept regular expressions");return e}},function(e,t,n){var r=n(13)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[r]=!1,"/./"[e](t)}catch(e){}}return!1}},function(e,t,n){"use strict";var r=n(89).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},function(e,t,n){var r=n(6),o=n(85);e.exports=function(e){return r((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},function(e,t,n){var r=n(8),o=n(6),i=n(78),a=n(11).NATIVE_ARRAY_BUFFER_VIEWS,s=r.ArrayBuffer,c=r.Int8Array;e.exports=!a||!o((function(){c(1)}))||!o((function(){new c(-1)}))||!i((function(e){new c,new c(null),new c(1.5),new c(e)}),!0)||o((function(){return 1!==new c(new s(2),1,void 0).length}))},function(e,t,n){"use strict";e.exports=n(400)},function(e,t,n){"use strict";function r(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}function o(e,t){return e===t}function i(e){var t=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(e,r){return t(e,n[r])}))||(r=e.apply(void 0,i)),n=i,r}}function a(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function s(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return function(){for(var t=arguments.length,o=Array(t),i=0;i<t;i++)o[i]=arguments[i];var s=0,c=o.pop(),u=a(o),l=e.apply(void 0,[function(){return s++,c.apply(void 0,arguments)}].concat(n)),f=function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];var a=u.map((function(n){return n.apply(void 0,[e,t].concat(o))}));return l.apply(void 0,r(a))};return f.resultFunc=c,f.recomputations=function(){return s},f.resetRecomputations=function(){return s=0},f}}t.__esModule=!0,t.defaultMemoize=i,t.createSelectorCreator=s,t.createStructuredSelector=function(e){var t=arguments.length<=1||void 0===arguments[1]?c:arguments[1];if("object"!=typeof e)throw new Error("createStructuredSelector expects first argument to be an object where each property is a selector, instead received a "+typeof e);var n=Object.keys(e);return t(n.map((function(t){return e[t]})),(function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((function(e,t,r){return e[n[r]]=t,e}),{})}))};var c=t.createSelector=s(i)},function(e,t,n){"use strict";(function(e,r){var o,i=n(170);o="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==e?e:r;var a=Object(i.a)(o);t.a=a}).call(this,n(74),n(392)(e))},function(e,t,n){var r=n(12),o=n(6),i=n(98);e.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},function(e,t,n){var r=n(55);e.exports=r("native-function-to-string",Function.toString)},function(e,t,n){var r=n(8),o=n(123),i=r.WeakMap;e.exports="function"==typeof i&&/native code/.test(o.call(i))},function(e,t,n){var r=n(18),o=n(100),i=n(22),a=n(15);e.exports=function(e,t){for(var n=o(t),s=a.f,c=i.f,u=0;u<n.length;u++){var l=n[u];r(e,l)||s(e,l,c(t,l))}}},function(e,t,n){e.exports=n(8)},function(e,t,n){var r=n(18),o=n(24),i=n(64).indexOf,a=n(63);e.exports=function(e,t){var n,s=o(e),c=0,u=[];for(n in s)!r(a,n)&&r(s,n)&&u.push(n);for(;t.length>c;)r(s,n=t[c++])&&(~i(u,n)||u.push(n));return u}},function(e,t,n){var r=n(6);e.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},function(e,t,n){var r=n(35);e.exports=r("document","documentElement")},function(e,t,n){var r=n(24),o=n(51).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(e){return a.slice()}}(e):o(r(e))}},function(e,t,n){t.f=n(13)},function(e,t,n){"use strict";var r=n(16),o=n(45),i=n(14),a=Math.min;e.exports=[].copyWithin||function(e,t){var n=r(this),s=i(n.length),c=o(e,s),u=o(t,s),l=arguments.length>2?arguments[2]:void 0,f=a((void 0===l?s:o(l,s))-u,s-c),p=1;for(u<c&&c<u+f&&(p=-1,u+=f-1,c+=f-1);f-- >0;)u in n?n[c]=n[u]:delete n[c],c+=p,u+=p;return n}},function(e,t,n){"use strict";var r=n(52),o=n(14),i=n(46),a=function(e,t,n,s,c,u,l,f){for(var p,d=c,h=0,v=!!l&&i(l,f,3);h<s;){if(h in n){if(p=v?v(n[h],h,t):n[h],u>0&&r(p))d=a(e,t,p,o(p.length),d,u-1)-1;else{if(d>=9007199254740991)throw TypeError("Exceed the acceptable array length");e[d]=p}d++}h++}return d};e.exports=a},function(e,t,n){"use strict";var r=n(19).forEach,o=n(39);e.exports=o("forEach")?function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}:[].forEach},function(e,t,n){"use strict";var r=n(46),o=n(16),i=n(136),a=n(106),s=n(14),c=n(53),u=n(70);e.exports=function(e){var t,n,l,f,p,d=o(e),h="function"==typeof this?this:Array,v=arguments.length,g=v>1?arguments[1]:void 0,y=void 0!==g,m=0,b=u(d);if(y&&(g=r(g,v>2?arguments[2]:void 0,2)),null==b||h==Array&&a(b))for(n=new h(t=s(d.length));t>m;m++)c(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++)c(n,m,y?i(f,g,[l.value,m],!0):l.value);return n.length=m,n}},function(e,t,n){var r=n(10);e.exports=function(e,t,n,o){try{return o?t(r(n)[0],n[1]):t(n)}catch(t){var i=e.return;throw void 0!==i&&r(i.call(e)),t}}},function(e,t,n){"use strict";var r=n(138).IteratorPrototype,o=n(38),i=n(43),a=n(36),s=n(69),c=function(){return this};e.exports=function(e,t,n){var u=t+" Iterator";return e.prototype=o(r,{next:i(1,n)}),a(e,u,!1,!0),s[u]=c,e}},function(e,t,n){"use strict";var r,o,i,a=n(37),s=n(21),c=n(18),u=n(13),l=n(44),f=u("iterator"),p=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(r=o):p=!0),null==r&&(r={}),l||c(r,f)||s(r,f,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:p}},function(e,t,n){var r=n(9);e.exports=function(e){if(!r(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},function(e,t,n){"use strict";var r=n(24),o=n(30),i=n(14),a=n(39),s=Math.min,c=[].lastIndexOf,u=!!c&&1/[1].lastIndexOf(1,-0)<0,l=a("lastIndexOf");e.exports=u||l?function(e){if(u)return c.apply(this,arguments)||0;var t=r(this),n=i(t.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 t&&t[a]===e)return a||0;return-1}:c},function(e,t,n){var r=n(30),o=n(14);e.exports=function(e){if(void 0===e)return 0;var t=r(e),n=o(t);if(t!==n)throw RangeError("Wrong length or index");return n}},function(e,t,n){"use strict";var r=n(31),o=n(9),i=[].slice,a={},s=function(e,t,n){if(!(t in a)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";a[t]=Function("C,a","return new C("+r.join(",")+")")}return a[t](e,n)};e.exports=Function.bind||function(e){var t=r(this),n=i.call(arguments,1),a=function(){var r=n.concat(i.call(arguments));return this instanceof a?s(t,r.length,r):t.apply(e,r)};return o(t.prototype)&&(a.prototype=t.prototype),a}},function(e,t,n){"use strict";var r=n(15).f,o=n(38),i=n(58),a=n(46),s=n(48),c=n(73),u=n(107),l=n(57),f=n(12),p=n(54).fastKey,d=n(29),h=d.set,v=d.getterFor;e.exports={getConstructor:function(e,t,n,u){var l=e((function(e,r){s(e,l,t),h(e,{type:t,index:o(null),first:void 0,last:void 0,size:0}),f||(e.size=0),null!=r&&c(r,e[u],e,n)})),d=v(t),g=function(e,t,n){var r,o,i=d(e),a=y(e,t);return a?a.value=n:(i.last=a={index:o=p(t,!0),key:t,value:n,previous:r=i.last,next:void 0,removed:!1},i.first||(i.first=a),r&&(r.next=a),f?i.size++:e.size++,"F"!==o&&(i.index[o]=a)),e},y=function(e,t){var n,r=d(e),o=p(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return i(l.prototype,{clear:function(){for(var e=d(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,f?e.size=0:this.size=0},delete:function(e){var t=d(this),n=y(this,e);if(n){var r=n.next,o=n.previous;delete t.index[n.index],n.removed=!0,o&&(o.next=r),r&&(r.previous=o),t.first==n&&(t.first=r),t.last==n&&(t.last=o),f?t.size--:this.size--}return!!n},forEach:function(e){for(var t,n=d(this),r=a(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!y(this,e)}}),i(l.prototype,n?{get:function(e){var t=y(this,e);return t&&t.value},set:function(e,t){return g(this,0===e?0:e,t)}}:{add:function(e){return g(this,e=0===e?0:e,e)}}),f&&r(l.prototype,"size",{get:function(){return d(this).size}}),l},setStrong:function(e,t,n){var r=t+" Iterator",o=v(t),i=v(r);u(e,t,(function(e,t){h(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),l(t)}}},function(e,t){var n=Math.log;e.exports=Math.log1p||function(e){return(e=+e)>-1e-8&&e<1e-8?e-e*e/2:n(1+e)}},function(e,t,n){var r=n(9),o=Math.floor;e.exports=function(e){return!r(e)&&isFinite(e)&&o(e)===e}},function(e,t,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseFloat,s=1/a(i+"-0")!=-1/0;e.exports=s?function(e){var t=o(String(e)),n=a(t);return 0===n&&"-"==t.charAt(0)?-0:n}:a},function(e,t,n){var r=n(8),o=n(59).trim,i=n(85),a=r.parseInt,s=/^[+-]?0[Xx]/,c=8!==a(i+"08")||22!==a(i+"0x16");e.exports=c?function(e,t){var n=o(String(e));return a(n,t>>>0||(s.test(n)?16:10))}:a},function(e,t,n){var r=n(33);e.exports=function(e){if("number"!=typeof e&&"Number"!=r(e))throw TypeError("Incorrect invocation");return+e}},function(e,t,n){"use strict";var r=n(12),o=n(6),i=n(66),a=n(102),s=n(75),c=n(16),u=n(61),l=Object.assign;e.exports=!l||o((function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach((function(e){t[e]=e})),7!=l({},e)[n]||"abcdefghijklmnopqrst"!=i(l({},t)).join("")}))?function(e,t){for(var n=c(e),o=arguments.length,l=1,f=a.f,p=s.f;o>l;)for(var d,h=u(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(e,t,n){var r=n(12),o=n(66),i=n(24),a=n(75).f,s=function(e){return function(t){for(var n,s=i(t),c=o(s),u=c.length,l=0,f=[];u>l;)n=c[l++],r&&!a.call(s,n)||f.push(e?[n,s[n]]:s[n]);return f}};e.exports={entries:s(!0),values:s(!1)}},function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},function(e,t,n){var r=n(8);e.exports=r.Promise},function(e,t,n){var r=n(77);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},function(e,t,n){var r,o,i,a,s,c,u,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 e,t;for(b&&(e=y.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(e){throw o?a():i=void 0,e}}i=void 0,e&&e.enter()},b?a=function(){y.nextTick(r)}:g&&!v?(s=!0,c=document.createTextNode(""),new g(r).observe(c,{characterData:!0}),a=function(){c.data=s=!s}):m&&m.resolve?(u=m.resolve(void 0),l=u.then,a=function(){l.call(u,r)}):a=function(){h.call(f,r)}),e.exports=E||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=t}},function(e,t,n){var r=n(10),o=n(9),i=n(156);e.exports=function(e,t){if(r(e),o(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},function(e,t,n){"use strict";var r=n(31),o=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=r(t),this.reject=r(n)};e.exports.f=function(e){return new o(e)}},function(e,t,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(e){a(this,{type:"String Iterator",string:String(e),index:0})}),(function(){var e,t=s(this),n=t.string,o=t.index;return o>=n.length?{value:void 0,done:!0}:(e=r(n,o),t.index+=e.length,{value:e,done:!1})}))},function(e,t,n){var r=n(77);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},function(e,t,n){var r=n(346);e.exports=function(e,t){var n=r(e);if(n%t)throw RangeError("Wrong offset");return n}},function(e,t,n){var r=n(16),o=n(14),i=n(70),a=n(106),s=n(46),c=n(11).aTypedArrayConstructor;e.exports=function(e){var t,n,u,l,f,p,d=r(e),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),u=new(c(this))(n),t=0;n>t;t++)u[t]=g?v(d[t],t):d[t];return u}},function(e,t,n){"use strict";var r=n(58),o=n(54).getWeakData,i=n(10),a=n(9),s=n(48),c=n(73),u=n(19),l=n(18),f=n(29),p=f.set,d=f.getterFor,h=u.find,v=u.findIndex,g=0,y=function(e){return e.frozen||(e.frozen=new m)},m=function(){this.entries=[]},b=function(e,t){return h(e.entries,(function(e){return e[0]===t}))};m.prototype={get:function(e){var t=b(this,e);if(t)return t[1]},has:function(e){return!!b(this,e)},set:function(e,t){var n=b(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(e){var t=v(this.entries,(function(t){return t[0]===e}));return~t&&this.entries.splice(t,1),!!~t}},e.exports={getConstructor:function(e,t,n,u){var f=e((function(e,r){s(e,f,t),p(e,{type:t,id:g++,frozen:void 0}),null!=r&&c(r,e[u],e,n)})),h=d(t),v=function(e,t,n){var r=h(e),a=o(i(t),!0);return!0===a?y(r).set(t,n):a[r.id]=n,e};return r(f.prototype,{delete:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).delete(e):n&&l(n,t.id)&&delete n[t.id]},has:function(e){var t=h(this);if(!a(e))return!1;var n=o(e);return!0===n?y(t).has(e):n&&l(n,t.id)}}),r(f.prototype,n?{get:function(e){var t=h(this);if(a(e)){var n=o(e);return!0===n?y(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return v(this,e,t)}}:{add:function(e){return v(this,e,!0)}}),f}}},function(e,t){e.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(e,t,n){var r=n(6),o=n(13),i=n(44),a=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,r){t.delete("b"),n+=r+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[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(e,t,n){"use strict";n(79);var r=n(1),o=n(35),i=n(163),a=n(20),s=n(58),c=n(36),u=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),C=function(e){return j[e-1]||(j[e-1]=RegExp("((?:%[\\da-f]{2}){"+e+"})","gi"))},A=function(e){try{return decodeURIComponent(e)}catch(t){return e}},I=function(e){var t=e.replace(T," "),n=4;try{return decodeURIComponent(t)}catch(e){for(;n;)t=t.replace(C(n--),A);return t}},M=/[!'()~]|%20/g,R={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},D=function(e){return R[e]},N=function(e){return encodeURIComponent(e).replace(M,D)},L=function(e,t){if(t)for(var n,r,o=t.split("&"),i=0;i<o.length;)(n=o[i++]).length&&(r=n.split("="),e.push({key:I(r.shift()),value:I(r.join("="))}))},B=function(e){this.entries.length=0,L(this.entries,e)},F=function(e,t){if(e<t)throw TypeError("Not enough arguments")},U=u((function(e,t){k(this,{type:"URLSearchParamsIterator",iterator:b(_(e).entries),kind:t})}),"Iterator",(function(){var e=S(this),t=e.kind,n=e.iterator.next(),r=n.value;return n.done||(n.value="keys"===t?r.key:"values"===t?r.value:[r.key,r.value]),n})),W=function(){f(this,W,"URLSearchParams");var e,t,n,r,o,i,a,s,c,u=arguments.length>0?arguments[0]:void 0,l=this,d=[];if(k(l,{type:"URLSearchParams",entries:d,updateURL:function(){},updateSearchParams:B}),void 0!==u)if(g(u))if("function"==typeof(e=w(u)))for(n=(t=e.call(u)).next;!(r=n.call(t)).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(c in u)p(u,c)&&d.push({key:c,value:u[c]+""});else L(d,"string"==typeof u?"?"===u.charAt(0)?u.slice(1):u:u+"")},H=W.prototype;s(H,{append:function(e,t){F(arguments.length,2);var n=_(this);n.entries.push({key:e+"",value:t+""}),n.updateURL()},delete:function(e){F(arguments.length,1);for(var t=_(this),n=t.entries,r=e+"",o=0;o<n.length;)n[o].key===r?n.splice(o,1):o++;t.updateURL()},get:function(e){F(arguments.length,1);for(var t=_(this).entries,n=e+"",r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){F(arguments.length,1);for(var t=_(this).entries,n=e+"",r=[],o=0;o<t.length;o++)t[o].key===n&&r.push(t[o].value);return r},has:function(e){F(arguments.length,1);for(var t=_(this).entries,n=e+"",r=0;r<t.length;)if(t[r++].key===n)return!0;return!1},set:function(e,t){F(arguments.length,1);for(var n,r=_(this),o=r.entries,i=!1,a=e+"",s=t+"",c=0;c<o.length;c++)(n=o[c]).key===a&&(i?o.splice(c--,1):(i=!0,n.value=s));i||o.push({key:a,value:s}),r.updateURL()},sort:function(){var e,t,n,r=_(this),o=r.entries,i=o.slice();for(o.length=0,n=0;n<i.length;n++){for(e=i[n],t=0;t<n;t++)if(o[t].key>e.key){o.splice(t,0,e);break}t===n&&o.push(e)}r.updateURL()},forEach:function(e){for(var t,n=_(this).entries,r=d(e,arguments.length>1?arguments[1]:void 0,3),o=0;o<n.length;)r((t=n[o++]).value,t.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 e,t=_(this).entries,n=[],r=0;r<t.length;)e=t[r++],n.push(N(e.key)+"="+N(e.value));return n.join("&")}),{enumerable:!0}),c(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(e){var t,n,r,o=[e];return arguments.length>1&&(t=arguments[1],g(t)&&(n=t.body,"URLSearchParams"===h(n)&&((r=t.headers?new x(t.headers):new x).has("content-type")||r.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),t=y(t,{body:m(0,String(n)),headers:m(0,r)}))),o.push(t)),O.apply(this,o)}}),e.exports={URLSearchParams:W,getState:_}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(92);Object.defineProperty(t,"take",{enumerable:!0,get:function(){return r.take}}),Object.defineProperty(t,"takem",{enumerable:!0,get:function(){return r.takem}}),Object.defineProperty(t,"put",{enumerable:!0,get:function(){return r.put}}),Object.defineProperty(t,"race",{enumerable:!0,get:function(){return r.race}}),Object.defineProperty(t,"call",{enumerable:!0,get:function(){return r.call}}),Object.defineProperty(t,"apply",{enumerable:!0,get:function(){return r.apply}}),Object.defineProperty(t,"cps",{enumerable:!0,get:function(){return r.cps}}),Object.defineProperty(t,"fork",{enumerable:!0,get:function(){return r.fork}}),Object.defineProperty(t,"spawn",{enumerable:!0,get:function(){return r.spawn}}),Object.defineProperty(t,"join",{enumerable:!0,get:function(){return r.join}}),Object.defineProperty(t,"cancel",{enumerable:!0,get:function(){return r.cancel}}),Object.defineProperty(t,"select",{enumerable:!0,get:function(){return r.select}}),Object.defineProperty(t,"actionChannel",{enumerable:!0,get:function(){return r.actionChannel}}),Object.defineProperty(t,"cancelled",{enumerable:!0,get:function(){return r.cancelled}}),Object.defineProperty(t,"flush",{enumerable:!0,get:function(){return r.flush}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TASK_CANCEL=t.CHANNEL_END=t.NOT_ITERATOR_ERROR=void 0,t.default=function e(t){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)(t,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(e,t,n,o){var i,a;return n._deferredEnd=null,c(i={},r.TASK,!0),c(i,"id",e),c(i,"name",t),"done",(a={}).done=a.done||{},a.done.get=function(){if(n._deferredEnd)return n._deferredEnd.promise;var e=(0,r.deferred)();return n._deferredEnd=e,n._isRunning||(n._error?e.reject(n._error):e.resolve(n._result)),e.promise},c(i,"cont",o),c(i,"joiners",[]),c(i,"cancel",T),c(i,"isRunning",(function(){return n._isRunning})),c(i,"isCancelled",(function(){return n._isCancelled})),c(i,"isAborted",(function(){return n._isAborted})),c(i,"result",(function(){return n._result})),c(i,"error",(function(){return n._error})),function(e,t){for(var n in t){var r=t[n];r.configurable=r.enumerable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,n,r)}}(i,a),i}(y,m,t,b),_={name:m,cancel:function(){_.isRunning&&!_.isCancelled&&(_.isCancelled=!0,j(p))},isRunning:!0},S=function(e,t,n){var o=[],i=void 0,a=!1;function s(e){u(),n(e,!0)}function c(e){o.push(e),e.cont=function(c,u){a||((0,r.remove)(o,e),e.cont=r.noop,u?s(c):(e===t&&(i=c),o.length||(a=!0,n(i))))}}function u(){a||(a=!0,o.forEach((function(e){e.cont=r.noop,e.cancel()})),o=[])}return c(t),{addTask:c,cancelAll:u,abort:s,getTasks:function(){return o},taskNames:function(){return o.map((function(e){return e.name}))}}}(0,_,C);function T(){t._isRunning&&!t._isCancelled&&(t._isCancelled=!0,S.cancelAll(),C(p))}return b&&(b.cancel=T),t._isRunning=!0,j(),k;function j(e,n){if(!_.isRunning)throw new Error("Trying to resume an already finished generator");try{var o=void 0;n?o=t.throw(e):e===p?(_.isCancelled=!0,j.cancel(),o=r.is.func(t.return)?t.return(p):{done:!0,value:p}):o=e===f?r.is.func(t.return)?t.return():{done:!0}:t.next(e),o.done?(_.isMainRunning=!1,_.cont&&_.cont(o.value)):A(o.value,y,"",j)}catch(e){_.isCancelled&&x("error","uncaught at "+m,e.message),_.isMainRunning=!1,_.cont(e,!0)}}function C(e,n){t._isRunning=!1,P.close(),n?(e instanceof Error&&(e.sagaStack="at "+m+" \n "+(e.sagaStack||e.stack)),k.cont||(x("error","uncaught",e.sagaStack||e.stack),e instanceof Error&&O&&O(e)),t._error=e,t._isAborted=!0,t._deferredEnd&&t._deferredEnd.reject(e)):(e===p&&u&&x("info",m+" has been cancelled",""),t._result=e,t._deferredEnd&&t._deferredEnd.resolve(e)),k.cont&&k.cont(e,n),k.joiners.forEach((function(t){return t.cb(e,n)})),k.joiners=null}function A(e,t){var u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments[3],g=(0,r.uid)();w&&w.effectTriggered({effectId:g,parentEffectId:t,label:u,effect:e});var y=void 0;function b(e,t){y||(y=!0,l.cancel=r.noop,w&&(t?w.effectRejected(g,e):w.effectResolved(g,e)),l(e,t))}b.cancel=r.noop,l.cancel=function(){if(!y){y=!0;try{b.cancel()}catch(e){x("error","uncaught at "+m,e.message)}b.cancel=r.noop,w&&w.effectCancelled(g)}};var E=void 0;return(r.is.promise(e)?I(e,b):r.is.helper(e)?R({fn:e},g,b):r.is.iterator(e)?M(e,g,m,b):r.is.array(e)?function(e,t,n){if(!e.length)return n([]);var o=0,i=void 0,s=Array(e.length);var c=e.map((function(e,t){var c=function(e,r){i||(r||(0,a.isEnd)(e)||e===f||e===p?(n.cancel(),n(e,r)):(s[t]=e,++o===s.length&&(i=!0,n(s))))};return c.cancel=r.noop,c}));n.cancel=function(){i||(i=!0,c.forEach((function(e){return e.cancel()})))},e.forEach((function(e,n){return A(e,t,n,c[n])}))}(e,g,b):r.is.notUndef(E=i.asEffect.take(e))?function(e,t){var n=e.channel,r=e.pattern,o=e.maybe;n=n||P;var i=function(e){return e instanceof Error?t(e,!0):(0,a.isEnd)(e)&&!o?t(f):t(e)};try{n.take(i,h(r))}catch(e){return t(e,!0)}t.cancel=i.cancel}(E,b):r.is.notUndef(E=i.asEffect.put(e))?function(e,t){var n=e.channel,i=e.action,a=e.sync;(0,o.asap)((function(){var e=void 0;try{e=(n?n.put:d)(i)}catch(e){if(n||a)return t(e,!0);x("error","uncaught at "+m,e.stack||e.message||e)}if(!a||!r.is.promise(e))return t(e);I(e,t)}))}(E,b):r.is.notUndef(E=i.asEffect.race(e))?function(e,t,n){var o=void 0,i=Object.keys(e),s={};i.forEach((function(e){var t=function(t,r){o||(r?(n.cancel(),n(t,!0)):(0,a.isEnd)(t)||t===f||t===p||(n.cancel(),o=!0,n(c({},e,t))))};t.cancel=r.noop,s[e]=t})),n.cancel=function(){o||(o=!0,i.forEach((function(e){return s[e].cancel()})))},i.forEach((function(n){o||A(e[n],t,n,s[n])}))}(E,g,b):r.is.notUndef(E=i.asEffect.call(e))?function(e,t,n){var o=e.context,i=e.fn,a=e.args,s=void 0;try{s=i.apply(o,a)}catch(e){return n(e,!0)}return r.is.promise(s)?I(s,n):r.is.iterator(s)?M(s,t,i.name,n):n(s)}(E,g,b):r.is.notUndef(E=i.asEffect.cps(e))?function(e,t){var n=e.context,o=e.fn,i=e.args;try{a=function(e,n){return r.is.undef(e)?t(n):t(e,!0)},o.apply(n,i.concat(a)),a.cancel&&(t.cancel=function(){return a.cancel()})}catch(e){return t(e,!0)}var a}(E,b):r.is.notUndef(E=i.asEffect.fork(e))?R(E,g,b):r.is.notUndef(E=i.asEffect.join(e))?function(e,t){e.isRunning()?(n={task:k,cb:t},t.cancel=function(){return(0,r.remove)(e.joiners,n)},e.joiners.push(n)):e.isAborted()?t(e.error(),!0):t(e.result());var n}(E,b):r.is.notUndef(E=i.asEffect.cancel(e))?function(e,t){e.isRunning()&&e.cancel();t()}(E,b):r.is.notUndef(E=i.asEffect.select(e))?function(e,t){var n=e.selector,r=e.args;try{var o=n.apply(void 0,[v()].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(r)));t(o)}catch(e){t(e,!0)}}(E,b):r.is.notUndef(E=i.asEffect.actionChannel(e))?function(e,t){var r=e.pattern,o=e.buffer,i=h(r);i.pattern=r,t((0,a.eventChannel)(n,o||s.buffers.fixed(),i))}(E,b):r.is.notUndef(E=i.asEffect.flush(e))?function(e,t){e.flush(t)}(E,b):r.is.notUndef(E=i.asEffect.cancelled(e))?function(e,t){t(!!_.isCancelled)}(0,b):b(e))}function I(e,t){var n=e[r.CANCEL];"function"==typeof n&&(t.cancel=n),e.then(t,(function(e){return t(e,!0)}))}function M(t,r,o,i){e(t,n,d,v,g,r,o,i)}function R(t,i,a){var s=t.context,c=t.fn,u=t.args,l=t.detached,f=function(e){var t=e.context,n=e.fn,o=e.args;if(r.is.iterator(n))return n;var i=void 0,a=void 0;try{i=n.apply(t,o)}catch(e){a=e}if(r.is.iterator(i))return i;return a?(0,r.makeIterator)((function(){throw a})):(0,r.makeIterator)((s=void 0,c={done:!1,value:i},function(e){return s?{done:!0,value:e}:(s=!0,c)}));var s,c}({context:s,fn:c,args:u});try{(0,o.suspend)();var p=e(f,n,d,v,g,i,c.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 c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=!1,l=t.NOT_ITERATOR_ERROR="proc first argument (Saga function result) must be an iterator",f=t.CHANNEL_END={toString:function(){return"@@redux-saga/CHANNEL_END"}},p=t.TASK_CANCEL={toString:function(){return"@@redux-saga/TASK_CANCEL"}},d={wildcard:function(){return r.kTrue},default:function(e){return function(t){return t.type===e}},array:function(e){return function(t){return e.some((function(e){return e===t.type}))}},predicate:function(e){return function(t){return e(t)}}};function h(e){return("*"===e?d.wildcard:r.is.array(e)?d.array:r.is.func(e)?d.predicate:d.default)(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.asap=function(e){o?r.push(e):i(e)},t.suspend=a,t.flush=s;var r=[],o=0;function i(e){try{a(),e()}finally{s()}}function a(){o++}function s(){!--o&&r.length&&i(r.shift())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{top:e?r(e.marginTop):0,right:e?r(e.marginRight):0,bottom:e?r(e.marginBottom):0,left:e?r(e.marginLeft):0}};var r=function(e){return parseInt(e)||0};e.exports=t.default},function(e,t,n){"use strict";var r,o,i;o=[],void 0===(i="function"==typeof(r=function(){var e=0,t=1,n=2,r=3,o=/\s/,i=/<(\w*)>/g;return function(a,s,c){a=a||"";var u,l,f,p=e,d=0,h="",v="",g=!1;for("string"==typeof s?s=function(e){for(var t,n=[];null!==(t=i.exec(e));)n.push(t[1]);return 0!==n.length?n:null}(s):Array.isArray(s)||(s=null),u=0,l=a.length;u<l;u++)switch(f=a[u]){case"<":if(g)break;if(" "==a[u+1]){y(f);break}if(p==e){p=t,y(f);break}if(p==t){d++;break}y(f);break;case">":if(d){d--;break}if(g)break;if(p==t){g=p=0,s&&(v+=">",m());break}if(p==n){g=p=0,v="";break}if(p==r&&"-"==a[u-1]&&"-"==a[u-2]){g=p=0,v="";break}y(f);break;case'"':case"'":p==t&&(g==f?g=!1:g||(g=f)),y(f);break;case"!":if(p==t&&"<"==a[u-1]){p=n;break}y(f);break;case"-":if(p==n&&"-"==a[u-1]&&"!"==a[u-2]){p=r;break}y(f);break;case"E":case"e":if(p==n&&"doctype"==a.substr(u-6,7).toLowerCase()){p=t;break}y(f);break;default:y(f)}function y(n){p==e?h+=n:s&&p==t&&(v+=n)}function m(){var e,t,n,r="",i=!1;e:for(e=0,t=v.length;e<t;e++)switch(n=v[e].toLowerCase()){case"<":break;case">":break e;case"/":i=!0;break;default:if(n.match(o)){if(i)break e}else i=!0,r+=n}-1!==s.indexOf(r)?h+=v:c&&(h+=c),v=""}return h}})?r.apply(t,o):r)||(e.exports=i)},function(e,t,n){"use strict";function r(e){var t,n=e.Symbol;return"function"==typeof n?n.observable?t=n.observable:(t=n("observable"),n.observable=t):t="@@observable",t}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";(function(e){var n="object"==typeof e&&e&&e.Object===Object&&e;t.a=n}).call(this,n(74))},function(e,t,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 c(e){return r.isMemo(e)?a:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var a=l(n);f&&(a=a.concat(f(n)));for(var s=c(t),v=c(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{u(t,y,m)}catch(e){}}}}return t}},function(e,t,n){var r,o,i;e.exports=(r=n(32),o=n(0),i=n(405),function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e,t,n){var r=e[t];return void 0!==r&&("number"!=typeof r||r!==parseInt(r,10)||r<0)?new Error("Invalid "+t+" supplied to "+n+",\n expected a positive integer"):null}Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=n(4),c=r(s),u=r(n(1)),l=n(5),f=n(3),p=["audioprocess","error","finish","loading","mouseup","pause","play","ready","scroll","seek","zoom"],d=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));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(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){var e=this,t=(0,u.default)({},this.props.options,{container:this.wavesurferEl});this.props.mediaElt&&(t.backend="MediaElement"),this._wavesurfer.init(t),this._wavesurfer.on("ready",(function(){e.setState({isReady:!0,pos:e.props.pos}),e.props.pos&&e._seekTo(e.props.pos),null!=e.props.volume&&e._wavesurfer.setVolume(e.props.volume),e.props.playing&&e.wavesurfer.play(),e.props.zoom&&e._wavesurfer.zoom(e.props.zoom)})),this._wavesurfer.on("audioprocess",(function(t){e.setState({pos:t}),e.props.onPosChange({wavesurfer:e._wavesurfer,originalArgs:[t]})})),this._wavesurfer.on("seek",(function(t){var n=e._posToSec(t);e.setState({formattedPos:n}),e.props.onPosChange({wavesurfer:e._wavesurfer,originalArgs:[n]})})),p.forEach((function(t){var n=e.props["on"+function(e){return e.split("-").map((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})).join("")}(t)],r=e._wavesurfer;n&&e._wavesurfer.on(t,(function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];n({wavesurfer:r,originalArgs:t})}))})),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(e){this.props.audioFile!==e.audioFile&&this._loadAudio(e.audioFile,e.audioPeaks),this.props.mediaElt!==e.mediaElt&&this._loadMediaElt(e.mediaElt,e.audioPeaks),this.props.audioPeaks!==e.audioPeaks&&(e.mediaElt?this._loadMediaElt(e.mediaElt,e.audioPeaks):this._loadAudio(e.audioFile,e.audioPeaks)),e.pos&&this.state.isReady&&e.pos!==this.props.pos&&e.pos!==this.state.pos&&this._seekTo(e.pos),this.props.playing!==e.playing&&(e.playing?this._wavesurfer.play():this._wavesurfer.pause()),this.props.volume!==e.volume&&this._wavesurfer.setVolume(e.volume),this.props.zoom!==e.zoom&&this._wavesurfer.zoom(e.zoom),this.props.options.audioRate!==e.options.audioRate&&this._wavesurfer.setPlaybackRate(e.options.audioRate),e.options.waveColor!==this.props.options.waveColor&&this._wavesurfer.setWaveColor(e.options.waveColor),e.options.progressColor!==this.props.options.progressColor&&this._wavesurfer.setProgressColor(e.options.progressColor),e.options.cursorColor!==this.props.options.cursorColor&&this._wavesurfer.setCursorColor(e.options.cursorColor),e.options.height!==this.props.options.height&&this._wavesurfer.setHeight(e.options.height)}},{key:"shouldComponentUpdate",value:function(){return!1}},{key:"componentWillUnmount",value:function(){var e=this;p.forEach((function(t){e._wavesurfer.un(t)})),this._wavesurfer.destroy()}},{key:"_secToPos",value:function(e){return 1/this._wavesurfer.getDuration()*e}},{key:"_posToSec",value:function(e){return e*this._wavesurfer.getDuration()}},{key:"_seekTo",value:function(e){var t=this._secToPos(e);this.props.options.autoCenter?this._wavesurfer.seekAndCenter(t):this._wavesurfer.seekTo(t)}},{key:"_loadMediaElt",value:function(e,t){if(e instanceof window.HTMLElement)this._loadAudio(e,t);else{if(!window.document.querySelector(e))throw new Error("Media Element not found!");this._loadAudio(window.document.querySelector(e),t)}}},{key:"_loadAudio",value:function(e,t){if(e instanceof window.HTMLElement)this._wavesurfer.loadMediaElement(e,t);else if("string"==typeof e)this._wavesurfer.load(e,t);else{if(!(e instanceof window.Blob||e instanceof window.File))throw new Error("Wavesurfer._loadAudio expects prop audioFile\n to be either HTMLElement, string or file/blob");this._wavesurfer.loadBlob(e,t)}}},{key:"_measureIfResponsive",value:function(e){return this.props.responsive?c.default.createElement(f,{whitelist:["width","height"],onMeasure:this._handleResize},e):e}},{key:"render",value:function(){var e=this,t=!!this.props.children&&c.default.Children.map(this.props.children,(function(t){return c.default.cloneElement(t,{wavesurfer:e._wavesurfer,isReady:e.state.isReady})}));return this._measureIfResponsive(c.default.createElement("div",null,c.default.createElement("div",{ref:function(t){e.wavesurferEl=t}}),t))}}]),t}(s.Component);d.propTypes={playing:s.PropTypes.bool,pos:s.PropTypes.number,audioFile:function(e,t,n){var r=e[t];return!r||"string"==typeof r||r instanceof window.Blob||r instanceof window.File?null:new Error("Invalid "+t+" 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(e,t,n){var r=e[t];return void 0!==r&&"number"!=typeof r?new Error("Invalid "+t+" 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(){}},t.default=d},function(e,t,n){"use strict";function r(e){if(null==e)throw new TypeError("Sources cannot be null or undefined");return Object(e)}function o(e,t,n){var r=t[n];if(null!=r){if(s.call(e,n)&&(void 0===e[n]||null===e[n]))throw new TypeError("Cannot convert undefined or null to object ("+n+")");s.call(e,n)&&a(r)?e[n]=i(Object(e[n]),t[n]):e[n]=r}}function i(e,t){if(e===t)return e;for(var n in t=Object(t))s.call(t,n)&&o(e,t,n);if(Object.getOwnPropertySymbols)for(var r=Object.getOwnPropertySymbols(t),i=0;i<r.length;i++)c.call(t,r[i])&&o(e,t,r[i]);return e}var a=n(2),s=Object.prototype.hasOwnProperty,c=Object.prototype.propertyIsEnumerable;e.exports=function(e){e=r(e);for(var t=1;t<arguments.length;t++)i(e,arguments[t]);return e}},function(e,t){"use strict";var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};e.exports=function(e){var t=void 0===e?"undefined":n(e);return null!==e&&("object"===t||"function"===t)}},function(e,t){e.exports=r},function(e,t){e.exports=o},function(e,t){e.exports=i}]))},function(e,t,n){"use strict";(function(e){var r=n(4),o=n(2),i=n.n(o),a=n(60),s=n(17),c=n(7),u=n.n(c),l=n(3);function f(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f(Object(n),!0).forEach((function(t){Object(r.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function(t,n){var r=u()(),o=[],c=[];if(!n.isServerSide){var f=function(e,t){var n=[],r=[];return e.forEach((function(e){var o;e.createMiddleware&&(o=e.createMiddleware(t),r.push(o)),e.createSaga&&n.push(Object(l.call)(e.createSaga(p({},t,{middleware:o}))))})),{sagas:n,middlewares:r}}(t,n);o=f.sagas,c=f.middlewares}var d,h=Object(s.d)(function(e,t){var n=e.reduce((function(e,n){return n.createReducers?p({},e,{},n.createReducers(t)):e}),{});return Object.keys(n).length?Object(s.c)(n):function(e,t){return e}}(t,n),{},(d=s.a.apply(void 0,[r].concat(Object(a.a)(c))),void 0===e&&"undefined"!=typeof __REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__(d):d));return r.run(i.a.mark((function e(){return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,o;case 2:case"end":return e.stop()}}),e)}))),function(e,t){e.forEach((function(e){e.init&&e.init(t)}))}(t,p({},n,{dispatch:h.dispatch,getState:h.getState})),h}}).call(this,n(406))},function(e,t,n){"use strict";var r=n(1),o=n(8),i=n(35),a=n(44),s=n(12),c=n(128),u=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),C=n(63),A=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,V=o.Symbol,q=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"),ee=o.QObject,te=!ee||!ee.prototype||!ee.prototype.findChild,ne=s&&u((function(){return 7!=m(z({},"a",{get:function(){return z(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=G(H,t);r&&delete H[t],z(e,t,n),r&&e!==H&&z(H,t,r)}:z,re=function(e,t){var n=$[e]=m(V.prototype);return U(n,{type:"Symbol",tag:e,description:t}),s||(n.description=t),n},oe=c&&"symbol"==typeof V.iterator?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof V},ie=function(e,t,n){e===H&&ie(K,t,n),d(e);var r=g(t,!0);return d(n),l($,r)?(n.enumerable?(l(e,B)&&e[B][r]&&(e[B][r]=!1),n=m(n,{enumerable:y(0,!1)})):(l(e,B)||z(e,B,y(1,{})),e[B][r]=!0),ne(e,r,n)):z(e,r,n)},ae=function(e,t){d(e);var n=v(t),r=b(n).concat(le(n));return L(r,(function(t){s&&!se.call(n,t)||ie(e,t,n[t])})),e},se=function(e){var t=g(e,!0),n=X.call(this,t);return!(this===H&&l($,t)&&!l(K,t))&&(!(n||!l(this,t)||!l($,t)||l(this,B)&&this[B][t])||n)},ce=function(e,t){var n=v(e),r=g(t,!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}},ue=function(e){var t=Y(v(e)),n=[];return L(t,(function(e){l($,e)||l(C,e)||n.push(e)})),n},le=function(e){var t=e===H,n=Y(t?K:v(e)),r=[];return L(n,(function(e){!l($,e)||t&&!l(H,e)||r.push($[e])})),r};(c||(S((V=function(){if(this instanceof V)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=A(e),n=function(e){this===H&&n.call(K,e),l(this,B)&&l(this[B],t)&&(this[B][t]=!1),ne(this,t,y(1,e))};return s&&te&&ne(H,t,{configurable:!0,set:n}),re(t,e)}).prototype,"toString",(function(){return W(this).tag})),k.f=se,P.f=ie,x.f=ce,w.f=E.f=ue,O.f=le,s&&(z(V.prototype,"description",{configurable:!0,get:function(){return W(this).description}}),a||S(H,"propertyIsEnumerable",se,{unsafe:!0})),M.f=function(e){return re(I(e),e)}),r({global:!0,wrap:!0,forced:!c,sham:!c},{Symbol:V}),L(b(Z),(function(e){R(e)})),r({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=String(e);if(l(Q,t))return Q[t];var n=V(t);return Q[t]=n,J[n]=t,n},keyFor:function(e){if(!oe(e))throw TypeError(e+" is not a symbol");if(l(J,e))return J[e]},useSetter:function(){te=!0},useSimple:function(){te=!1}}),r({target:"Object",stat:!0,forced:!c,sham:!s},{create:function(e,t){return void 0===t?m(e):ae(m(e),t)},defineProperty:ie,defineProperties:ae,getOwnPropertyDescriptor:ce}),r({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:ue,getOwnPropertySymbols:le}),r({target:"Object",stat:!0,forced:u((function(){O.f(1)}))},{getOwnPropertySymbols:function(e){return O.f(h(e))}}),q)&&r({target:"JSON",stat:!0,forced:!c||u((function(){var e=V();return"[null]"!=q([e])||"{}"!=q({a:e})||"{}"!=q(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(p(t)||void 0!==e)&&!oe(e))return f(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!oe(t))return t}),o[1]=t,q.apply(null,o)}});V.prototype[F]||_(V.prototype,F,V.prototype.valueOf),D(V,"Symbol"),C[B]=!0},function(e,t,n){var r=n(8),o=n(99),i=r["__core-js_shared__"]||o("__core-js_shared__",{});e.exports=i},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(8),a=n(18),s=n(9),c=n(15).f,u=n(125),l=i.Symbol;if(o&&"function"==typeof l&&(!("description"in l.prototype)||void 0!==l().description)){var f={},p=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof p?new l(e):void 0===e?l():l(e);return""===e&&(f[t]=!0),t};u(p,l);var d=p.prototype=l.prototype;d.constructor=p;var h=d.toString,v="Symbol(test)"==String(l("test")),g=/^Symbol\((.*)\)[^)]+$/;c(d,"description",{configurable:!0,get:function(){var e=s(this)?this.valueOf():this,t=h.call(e);if(a(f,e))return"";var n=v?t.slice(7,-1):t.replace(g,"$1");return""===n?void 0:n}}),r({global:!0,forced:!0},{Symbol:p})}},function(e,t,n){n(25)("asyncIterator")},function(e,t,n){n(25)("hasInstance")},function(e,t,n){n(25)("isConcatSpreadable")},function(e,t,n){n(25)("iterator")},function(e,t,n){n(25)("match")},function(e,t,n){n(25)("replace")},function(e,t,n){n(25)("search")},function(e,t,n){n(25)("species")},function(e,t,n){n(25)("split")},function(e,t,n){n(25)("toPrimitive")},function(e,t,n){n(25)("toStringTag")},function(e,t,n){n(25)("unscopables")},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(52),a=n(9),s=n(16),c=n(14),u=n(53),l=n(67),f=n(68),p=n(13),d=n(104),h=p("isConcatSpreadable"),v=d>=51||!o((function(){var e=[];return e[h]=!1,e.concat()[0]!==e})),g=f("concat"),y=function(e){if(!a(e))return!1;var t=e[h];return void 0!==t?!!t:i(e)};r({target:"Array",proto:!0,forced:!v||!g},{concat:function(e){var t,n,r,o,i,a=s(this),f=l(a,0),p=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],y(i)){if(p+(o=c(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,p++)n in i&&u(f,p,i[n])}else{if(p>=9007199254740991)throw TypeError("Maximum allowed index exceeded");u(f,p++,i)}return f.length=p,f}})},function(e,t,n){var r=n(1),o=n(132),i=n(47);r({target:"Array",proto:!0},{copyWithin:o}),i("copyWithin")},function(e,t,n){"use strict";var r=n(1),o=n(19).every;r({target:"Array",proto:!0,forced:n(39)("every")},{every:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(105),i=n(47);r({target:"Array",proto:!0},{fill:o}),i("fill")},function(e,t,n){"use strict";var r=n(1),o=n(19).filter;r({target:"Array",proto:!0,forced:!n(68)("filter")},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,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(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("find")},function(e,t,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(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("findIndex")},function(e,t,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(30),c=n(67);r({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),n=a(t.length),r=c(t,0);return r.length=o(r,t,t,n,0,void 0===e?1:s(e)),r}})},function(e,t,n){"use strict";var r=n(1),o=n(133),i=n(16),a=n(14),s=n(31),c=n(67);r({target:"Array",proto:!0},{flatMap:function(e){var t,n=i(this),r=a(n.length);return s(e),(t=c(n,0)).length=o(t,n,n,r,0,1,e,arguments.length>1?arguments[1]:void 0),t}})},function(e,t,n){"use strict";var r=n(1),o=n(134);r({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},function(e,t,n){var r=n(1),o=n(135);r({target:"Array",stat:!0,forced:!n(78)((function(e){Array.from(e)}))},{from:o})},function(e,t,n){"use strict";var r=n(1),o=n(64).includes,i=n(47);r({target:"Array",proto:!0},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},function(e,t,n){"use strict";var r=n(1),o=n(64).indexOf,i=n(39),a=[].indexOf,s=!!a&&1/[1].indexOf(1,-0)<0,c=i("indexOf");r({target:"Array",proto:!0,forced:s||c},{indexOf:function(e){return s?a.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){n(1)({target:"Array",stat:!0},{isArray:n(52)})},function(e,t,n){"use strict";var r=n(1),o=n(61),i=n(24),a=n(39),s=[].join,c=o!=Object,u=a("join",",");r({target:"Array",proto:!0,forced:c||u},{join:function(e){return s.call(i(this),void 0===e?",":e)}})},function(e,t,n){var r=n(1),o=n(140);r({target:"Array",proto:!0,forced:o!==[].lastIndexOf},{lastIndexOf:o})},function(e,t,n){"use strict";var r=n(1),o=n(19).map;r({target:"Array",proto:!0,forced:!n(68)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(53);r({target:"Array",stat:!0,forced:o((function(){function e(){}return!(Array.of.call(e)instanceof e)}))},{of:function(){for(var e=0,t=arguments.length,n=new("function"==typeof this?this:Array)(t);t>e;)i(n,e,arguments[e++]);return n.length=t,n}})},function(e,t,n){"use strict";var r=n(1),o=n(80).left;r({target:"Array",proto:!0,forced:n(39)("reduce")},{reduce:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(80).right;r({target:"Array",proto:!0,forced:n(39)("reduceRight")},{reduceRight:function(e){return o(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(e,t,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(e,t,n){"use strict";var r=n(1),o=n(9),i=n(52),a=n(45),s=n(14),c=n(24),u=n(53),l=n(68),f=n(13)("species"),p=[].slice,d=Math.max;r({target:"Array",proto:!0,forced:!l("slice")},{slice:function(e,t){var n,r,l,h=c(this),v=s(h.length),g=a(e,v),y=a(void 0===t?v:t,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&&u(r,l,h[g]);return r.length=l,r}})},function(e,t,n){"use strict";var r=n(1),o=n(19).some;r({target:"Array",proto:!0,forced:n(39)("some")},{some:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(31),i=n(16),a=n(6),s=n(39),c=[],u=c.sort,l=a((function(){c.sort(void 0)})),f=a((function(){c.sort(null)})),p=s("sort");r({target:"Array",proto:!0,forced:l||!f||p},{sort:function(e){return void 0===e?u.call(i(this)):u.call(i(this),o(e))}})},function(e,t,n){n(57)("Array")},function(e,t,n){"use strict";var r=n(1),o=n(45),i=n(30),a=n(14),s=n(16),c=n(67),u=n(53),l=n(68),f=Math.max,p=Math.min;r({target:"Array",proto:!0,forced:!l("splice")},{splice:function(e,t){var n,r,l,d,h,v,g=s(this),y=a(g.length),m=o(e,y),b=arguments.length;if(0===b?n=r=0:1===b?(n=0,r=y-m):(n=b-2,r=p(f(i(t),0),y-m)),y+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(l=c(g,r),d=0;d<r;d++)(h=m+d)in g&&u(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(e,t,n){n(47)("flat")},function(e,t,n){n(47)("flatMap")},function(e,t,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(e,t,n){var r=n(1),o=n(11);r({target:"ArrayBuffer",stat:!0,forced:!o.NATIVE_ARRAY_BUFFER_VIEWS},{isView:o.isView})},function(e,t,n){"use strict";var r=n(1),o=n(6),i=n(81),a=n(10),s=n(45),c=n(14),u=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(e,t){if(void 0!==p&&void 0===t)return p.call(a(this),e);for(var n=a(this).byteLength,r=s(e,n),o=s(void 0===t?n:t,n),i=new(u(this,l))(c(o-r)),d=new f(this),h=new f(i),v=0;r<o;)h.setUint8(v++,d.getUint8(r++));return i}})},function(e,t,n){var r=n(1),o=n(81);r({global:!0,forced:!n(11).NATIVE_ARRAY_BUFFER},{DataView:o.DataView})},function(e,t,n){n(1)({target:"Date",stat:!0},{now:function(){return(new Date).getTime()}})},function(e,t,n){var r=n(1),o=n(224);r({target:"Date",proto:!0,forced:Date.prototype.toISOString!==o},{toISOString:o})},function(e,t,n){"use strict";var r=n(6),o=n(109).start,i=Math.abs,a=Date.prototype,s=a.getTime,c=a.toISOString;e.exports=r((function(){return"0385-07-25T07:06:39.999Z"!=c.call(new Date(-5e13-1))}))||!r((function(){c.call(new Date(NaN))}))?function(){if(!isFinite(s.call(this)))throw RangeError("Invalid time value");var e=this.getUTCFullYear(),t=this.getUTCMilliseconds(),n=e<0?"-":e>9999?"+":"";return n+o(i(e),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(t,3,0)+"Z"}:c},function(e,t,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(e){var t=i(this),n=a(t);return"number"!=typeof n||isFinite(n)?t.toISOString():null}})},function(e,t,n){var r=n(21),o=n(227),i=n(13)("toPrimitive"),a=Date.prototype;i in a||r(a,i,o)},function(e,t,n){"use strict";var r=n(10),o=n(34);e.exports=function(e){if("string"!==e&&"number"!==e&&"default"!==e)throw TypeError("Incorrect hint");return o(r(this),"number"!==e)}},function(e,t,n){var r=n(20),o=Date.prototype,i=o.toString,a=o.getTime;new Date(NaN)+""!="Invalid Date"&&r(o,"toString",(function(){var e=a.call(this);return e==e?i.call(this):"Invalid Date"}))},function(e,t,n){n(1)({target:"Function",proto:!0},{bind:n(142)})},function(e,t,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(e){if("function"!=typeof this||!r(e))return!1;if(!r(this.prototype))return e instanceof this;for(;e=i(e);)if(this.prototype===e)return!0;return!1}})},function(e,t,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(e){return""}}})},function(e,t,n){var r=n(8);n(36)(r.JSON,"JSON",!0)},function(e,t,n){"use strict";var r=n(82),o=n(143);e.exports=r("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o,!0)},function(e,t,n){var r=n(1),o=n(144),i=Math.acosh,a=Math.log,s=Math.sqrt,c=Math.LN2;r({target:"Math",stat:!0,forced:!i||710!=Math.floor(i(Number.MAX_VALUE))||i(1/0)!=1/0},{acosh:function(e){return(e=+e)<1?NaN:e>94906265.62425156?a(e)+c:o(e-1+s(e-1)*s(e+1))}})},function(e,t,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 e(t){return isFinite(t=+t)&&0!=t?t<0?-e(-t):i(t+a(t*t+1)):t}})},function(e,t,n){var r=n(1),o=Math.atanh,i=Math.log;r({target:"Math",stat:!0,forced:!(o&&1/o(-0)<0)},{atanh:function(e){return 0==(e=+e)?e:i((1+e)/(1-e))/2}})},function(e,t,n){var r=n(1),o=n(111),i=Math.abs,a=Math.pow;r({target:"Math",stat:!0},{cbrt:function(e){return o(e=+e)*a(i(e),1/3)}})},function(e,t,n){var r=n(1),o=Math.floor,i=Math.log,a=Math.LOG2E;r({target:"Math",stat:!0},{clz32:function(e){return(e>>>=0)?31-o(i(e+.5)*a):32}})},function(e,t,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(e){var t=o(a(e)-1)+1;return(t+1/(t*s*s))*(s/2)}})},function(e,t,n){var r=n(1),o=n(84);r({target:"Math",stat:!0,forced:o!=Math.expm1},{expm1:o})},function(e,t,n){n(1)({target:"Math",stat:!0},{fround:n(242)})},function(e,t,n){var r=n(111),o=Math.abs,i=Math.pow,a=i(2,-52),s=i(2,-23),c=i(2,127)*(2-s),u=i(2,-126);e.exports=Math.fround||function(e){var t,n,i=o(e),l=r(e);return i<u?l*(i/u/s+1/a-1/a)*u*s:(n=(t=(1+s/a)*i)-(t-i))>c||n!=n?l*(1/0):l*n}},function(e,t,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(e,t){for(var n,r,o=0,s=0,c=arguments.length,u=0;s<c;)u<(n=i(arguments[s++]))?(o=o*(r=u/n)*r+1,u=n):o+=n>0?(r=n/u)*r:n;return u===1/0?1/0:u*a(o)}})},function(e,t,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(e,t){var n=+e,r=+t,o=65535&n,i=65535&r;return 0|o*i+((65535&n>>>16)*i+o*(65535&r>>>16)<<16>>>0)}})},function(e,t,n){var r=n(1),o=Math.log,i=Math.LOG10E;r({target:"Math",stat:!0},{log10:function(e){return o(e)*i}})},function(e,t,n){n(1)({target:"Math",stat:!0},{log1p:n(144)})},function(e,t,n){var r=n(1),o=Math.log,i=Math.LN2;r({target:"Math",stat:!0},{log2:function(e){return o(e)/i}})},function(e,t,n){n(1)({target:"Math",stat:!0},{sign:n(111)})},function(e,t,n){var r=n(1),o=n(6),i=n(84),a=Math.abs,s=Math.exp,c=Math.E;r({target:"Math",stat:!0,forced:o((function(){return-2e-17!=Math.sinh(-2e-17)}))},{sinh:function(e){return a(e=+e)<1?(i(e)-i(-e))/2:(s(e-1)-s(-e-1))*(c/2)}})},function(e,t,n){var r=n(1),o=n(84),i=Math.exp;r({target:"Math",stat:!0},{tanh:function(e){var t=o(e=+e),n=o(-e);return t==1/0?1:n==1/0?-1:(t-n)/(i(e)+i(-e))}})},function(e,t,n){n(36)(Math,"Math",!0)},function(e,t,n){var r=n(1),o=Math.ceil,i=Math.floor;r({target:"Math",stat:!0},{trunc:function(e){return(e>0?i:o)(e)}})},function(e,t,n){"use strict";var r=n(12),o=n(8),i=n(65),a=n(20),s=n(18),c=n(33),u=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"==c(p(m)),w=function(e){var t,n,r,o,i,a,s,c,u=l(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=g(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,s=0;s<a;s++)if((c=i.charCodeAt(s))<48||c>o)return NaN;return parseInt(i,r)}return+u};if(i("Number",!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var E,O=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof O&&(b?f((function(){m.valueOf.call(n)})):"Number"!=c(n))?u(new y(w(t)),n,O):w(t)},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(e,t,n){n(1)({target:"Number",stat:!0},{EPSILON:Math.pow(2,-52)})},function(e,t,n){n(1)({target:"Number",stat:!0},{isFinite:n(256)})},function(e,t,n){var r=n(8).isFinite;e.exports=Number.isFinite||function(e){return"number"==typeof e&&r(e)}},function(e,t,n){n(1)({target:"Number",stat:!0},{isInteger:n(145)})},function(e,t,n){n(1)({target:"Number",stat:!0},{isNaN:function(e){return e!=e}})},function(e,t,n){var r=n(1),o=n(145),i=Math.abs;r({target:"Number",stat:!0},{isSafeInteger:function(e){return o(e)&&i(e)<=9007199254740991}})},function(e,t,n){n(1)({target:"Number",stat:!0},{MAX_SAFE_INTEGER:9007199254740991})},function(e,t,n){n(1)({target:"Number",stat:!0},{MIN_SAFE_INTEGER:-9007199254740991})},function(e,t,n){var r=n(1),o=n(146);r({target:"Number",stat:!0,forced:Number.parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(147);r({target:"Number",stat:!0,forced:Number.parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r=n(1),o=n(30),i=n(148),a=n(110),s=n(6),c=1..toFixed,u=Math.floor,l=function(e,t,n){return 0===t?n:t%2==1?l(e,t-1,n*e):l(e*e,t/2,n)};r({target:"Number",proto:!0,forced:c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!s((function(){c.call({})}))},{toFixed:function(e){var t,n,r,s,c=i(this),f=o(e),p=[0,0,0,0,0,0],d="",h="0",v=function(e,t){for(var n=-1,r=t;++n<6;)r+=e*p[n],p[n]=r%1e7,r=u(r/1e7)},g=function(e){for(var t=6,n=0;--t>=0;)n+=p[t],p[t]=u(n/e),n=n%e*1e7},y=function(){for(var e=6,t="";--e>=0;)if(""!==t||0===e||0!==p[e]){var n=String(p[e]);t=""===t?n:t+a.call("0",7-n.length)+n}return t};if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(c!=c)return"NaN";if(c<=-1e21||c>=1e21)return String(c);if(c<0&&(d="-",c=-c),c>1e-21)if(n=(t=function(e){for(var t=0,n=e;n>=4096;)t+=12,n/=4096;for(;n>=2;)t+=1,n/=2;return t}(c*l(2,69,1))-69)<0?c*l(2,-t,1):c/l(2,t,1),n*=4503599627370496,(t=52-t)>0){for(v(0,n),r=f;r>=7;)v(1e7,0),r-=7;for(v(l(10,r,1),0),r=t-1;r>=23;)g(1<<23),r-=23;g(1<<r),v(1,1),g(2),h=y()}else v(0,n),v(1<<-t,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(e,t,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(e){return void 0===e?a.call(i(this)):a.call(i(this),e)}})},function(e,t,n){var r=n(1),o=n(149);r({target:"Object",stat:!0,forced:Object.assign!==o},{assign:o})},function(e,t,n){n(1)({target:"Object",stat:!0,sham:!n(12)},{create:n(38)})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineGetter__:function(e,t){c.f(a(this),e,{get:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperties:n(103)})},function(e,t,n){var r=n(1),o=n(12);r({target:"Object",stat:!0,forced:!o,sham:!o},{defineProperty:n(15).f})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(31),c=n(15);o&&r({target:"Object",proto:!0,forced:i},{__defineSetter__:function(e,t){c.f(a(this),e,{set:s(t),enumerable:!0,configurable:!0})}})},function(e,t,n){var r=n(1),o=n(150).entries;r({target:"Object",stat:!0},{entries:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(72),i=n(6),a=n(9),s=n(54).onFreeze,c=Object.freeze;r({target:"Object",stat:!0,forced:i((function(){c(1)})),sham:!o},{freeze:function(e){return c&&a(e)?c(s(e)):e}})},function(e,t,n){var r=n(1),o=n(73),i=n(53);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),void 0,!0),t}})},function(e,t,n){var r=n(1),o=n(6),i=n(24),a=n(22).f,s=n(12),c=o((function(){a(1)}));r({target:"Object",stat:!0,forced:!s||c,sham:!s},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},function(e,t,n){var r=n(1),o=n(12),i=n(100),a=n(24),s=n(22),c=n(53);r({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,n,r=a(e),o=s.f,u=i(r),l={},f=0;u.length>f;)void 0!==(n=o(r,t=u[f++]))&&c(l,t,n);return l}})},function(e,t,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(e,t,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(e){return a(i(e))}})},function(e,t,n){n(1)({target:"Object",stat:!0},{is:n(151)})},function(e,t,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(e){return!!i(e)&&(!a||a(e))}})},function(e,t,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(e){return!i(e)||!!a&&a(e)}})},function(e,t,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(e){return!i(e)||!!a&&a(e)}})},function(e,t,n){var r=n(1),o=n(16),i=n(66);r({target:"Object",stat:!0,forced:n(6)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),c=n(37),u=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=u(n,r))return t.get}while(n=c(n))}})},function(e,t,n){"use strict";var r=n(1),o=n(12),i=n(86),a=n(16),s=n(34),c=n(37),u=n(22).f;o&&r({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(e){var t,n=a(this),r=s(e,!0);do{if(t=u(n,r))return t.set}while(n=c(n))}})},function(e,t,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),c=Object.preventExtensions;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{preventExtensions:function(e){return c&&o(e)?c(i(e)):e}})},function(e,t,n){var r=n(1),o=n(9),i=n(54).onFreeze,a=n(72),s=n(6),c=Object.seal;r({target:"Object",stat:!0,forced:s((function(){c(1)})),sham:!a},{seal:function(e){return c&&o(e)?c(i(e)):e}})},function(e,t,n){n(1)({target:"Object",stat:!0},{setPrototypeOf:n(56)})},function(e,t,n){var r=n(20),o=n(290),i=Object.prototype;o!==i.toString&&r(i,"toString",o,{unsafe:!0})},function(e,t,n){"use strict";var r=n(71),o={};o[n(13)("toStringTag")]="z",e.exports="[object z]"!==String(o)?function(){return"[object "+r(this)+"]"}:o.toString},function(e,t,n){var r=n(1),o=n(150).values;r({target:"Object",stat:!0},{values:function(e){return o(e)}})},function(e,t,n){var r=n(1),o=n(146);r({global:!0,forced:parseFloat!=o},{parseFloat:o})},function(e,t,n){var r=n(1),o=n(147);r({global:!0,forced:parseInt!=o},{parseInt:o})},function(e,t,n){"use strict";var r,o,i,a,s=n(1),c=n(44),u=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),C=n(29),A=n(65),I=n(13),M=n(104),R=I("species"),D="Promise",N=C.get,L=C.set,B=C.getterFor(D),F=f,U=u.TypeError,W=u.document,H=u.process,V=h("inspectSource"),q=l("fetch"),G=T.f,z=G,Y="process"==w(H),X=!!(W&&W.createEvent&&u.dispatchEvent),$=A(D,(function(){var e=V(F)!==String(F);if(66===M)return!0;if(!e&&!Y&&"function"!=typeof PromiseRejectionEvent)return!0;if(c&&!F.prototype.finally)return!0;if(M>=51&&/native code/.test(F))return!1;var t=F.resolve(1),n=function(e){e((function(){}),(function(){}))};return(t.constructor={})[R]=n,!(t.then((function(){}))instanceof n)})),K=$||!O((function(e){F.all(e).catch((function(){}))})),Q=function(e){var t;return!(!y(e)||"function"!=typeof(t=e.then))&&t},J=function(e,t,n){if(!t.notified){t.notified=!0;var r=t.reactions;k((function(){for(var o=t.value,i=1==t.state,a=0;r.length>a;){var s,c,u,l=r[a++],f=i?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(i||(2===t.rejection&&ne(e,t),t.rejection=1),!0===f?s=o:(h&&h.enter(),s=f(o),h&&(h.exit(),u=!0)),s===l.promise?d(U("Promise-chain cycle")):(c=Q(s))?c.call(s,p,d):p(s)):d(o)}catch(e){h&&!u&&h.exit(),d(e)}}t.reactions=[],t.notified=!1,n&&!t.rejection&&ee(e,t)}))}},Z=function(e,t,n){var r,o;X?((r=W.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),u.dispatchEvent(r)):r={promise:t,reason:n},(o=u["on"+e])?o(r):"unhandledrejection"===e&&S("Unhandled promise rejection",n)},ee=function(e,t){P.call(u,(function(){var n,r=t.value;if(te(t)&&(n=j((function(){Y?H.emit("unhandledRejection",r,e):Z("unhandledrejection",e,r)})),t.rejection=Y||te(t)?2:1,n.error))throw n.value}))},te=function(e){return 1!==e.rejection&&!e.parent},ne=function(e,t){P.call(u,(function(){Y?H.emit("rejectionHandled",e):Z("rejectionhandled",e,t.value)}))},re=function(e,t,n,r){return function(o){e(t,n,o,r)}},oe=function(e,t,n,r){t.done||(t.done=!0,r&&(t=r),t.value=n,t.state=2,J(e,t,!0))},ie=function(e,t,n,r){if(!t.done){t.done=!0,r&&(t=r);try{if(e===n)throw U("Promise can't be resolved itself");var o=Q(n);o?k((function(){var r={done:!1};try{o.call(n,re(ie,e,r,t),re(oe,e,r,t))}catch(n){oe(e,r,n,t)}})):(t.value=n,t.state=1,J(e,t,!1))}catch(n){oe(e,{done:!1},n,t)}}};$&&(F=function(e){b(this,F,D),m(e),r.call(this);var t=N(this);try{e(re(ie,this,t),re(oe,this,t))}catch(e){oe(this,t,e)}},(r=function(e){L(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(F.prototype,{then:function(e,t){var n=B(this),r=G(x(this,F));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,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(e){return this.then(void 0,e)}}),o=function(){var e=new r,t=N(e);this.promise=e,this.resolve=re(ie,e,t),this.reject=re(oe,e,t)},T.f=G=function(e){return e===F||e===i?new o(e):z(e)},c||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var n=this;return new F((function(e,t){a.call(n,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof q&&s({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return _(F,q.apply(u,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(e){var t=G(this);return t.reject.call(void 0,e),t.promise}}),s({target:D,stat:!0,forced:c||$},{resolve:function(e){return _(c&&this===i?F:this,e)}}),s({target:D,stat:!0,forced:K},{all:function(e){var t=this,n=G(t),r=n.resolve,o=n.reject,i=j((function(){var n=m(t.resolve),i=[],a=0,s=1;E(e,(function(e){var c=a++,u=!1;i.push(void 0),s++,n.call(t,e).then((function(e){u||(u=!0,i[c]=e,--s||r(i))}),o)})),--s||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=G(t),r=n.reject,o=j((function(){var o=m(t.resolve);E(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}})},function(e,t,n){var r=n(8);e.exports=function(e,t){var n=r.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},function(e,t,n){"use strict";var r=n(1),o=n(44),i=n(152),a=n(35),s=n(49),c=n(155),u=n(20);r({target:"Promise",proto:!0,real:!0},{finally:function(e){var t=s(this,a("Promise")),n="function"==typeof e;return this.then(n?function(n){return c(t,e()).then((function(){return n}))}:e,n?function(n){return c(t,e()).then((function(){throw n}))}:e)}}),o||"function"!=typeof i||i.prototype.finally||u(i.prototype,"finally",a("Promise").prototype.finally)},function(e,t,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(6),c=o("Reflect","apply"),u=Function.apply;r({target:"Reflect",stat:!0,forced:!s((function(){c((function(){}))}))},{apply:function(e,t,n){return i(e),a(n),c?c(e,t,n):u.call(e,t,n)}})},function(e,t,n){var r=n(1),o=n(35),i=n(31),a=n(10),s=n(9),c=n(38),u=n(142),l=n(6),f=o("Reflect","construct"),p=l((function(){function e(){}return!(f((function(){}),[],e)instanceof e)})),d=!l((function(){f((function(){}))})),h=p||d;r({target:"Reflect",stat:!0,forced:h,sham:h},{construct:function(e,t){i(e),a(t);var n=arguments.length<3?e:i(arguments[2]);if(d&&!p)return f(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(u.apply(e,r))}var o=n.prototype,l=c(s(o)?o:Object.prototype),h=Function.apply.call(e,l,t);return s(h)?h:l}})},function(e,t,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(e,t,n){i(e);var r=a(t,!0);i(n);try{return s.f(e,r,n),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(22).f;r({target:"Reflect",stat:!0},{deleteProperty:function(e,t){var n=i(o(e),t);return!(n&&!n.configurable)&&delete e[t]}})},function(e,t,n){var r=n(1),o=n(9),i=n(10),a=n(18),s=n(22),c=n(37);r({target:"Reflect",stat:!0},{get:function e(t,n){var r,u,l=arguments.length<3?t:arguments[2];return i(t)===l?t[n]:(r=s.f(t,n))?a(r,"value")?r.value:void 0===r.get?void 0:r.get.call(l):o(u=c(t))?e(u,n,l):void 0}})},function(e,t,n){var r=n(1),o=n(12),i=n(10),a=n(22);r({target:"Reflect",stat:!0,sham:!o},{getOwnPropertyDescriptor:function(e,t){return a.f(i(e),t)}})},function(e,t,n){var r=n(1),o=n(10),i=n(37);r({target:"Reflect",stat:!0,sham:!n(108)},{getPrototypeOf:function(e){return i(o(e))}})},function(e,t,n){n(1)({target:"Reflect",stat:!0},{has:function(e,t){return t in e}})},function(e,t,n){var r=n(1),o=n(10),i=Object.isExtensible;r({target:"Reflect",stat:!0},{isExtensible:function(e){return o(e),!i||i(e)}})},function(e,t,n){n(1)({target:"Reflect",stat:!0},{ownKeys:n(100)})},function(e,t,n){var r=n(1),o=n(35),i=n(10);r({target:"Reflect",stat:!0,sham:!n(72)},{preventExtensions:function(e){i(e);try{var t=o("Object","preventExtensions");return t&&t(e),!0}catch(e){return!1}}})},function(e,t,n){var r=n(1),o=n(10),i=n(9),a=n(18),s=n(15),c=n(22),u=n(37),l=n(43);r({target:"Reflect",stat:!0},{set:function e(t,n,r){var f,p,d=arguments.length<4?t:arguments[3],h=c.f(o(t),n);if(!h){if(i(p=u(t)))return e(p,n,r,d);h=l(0)}if(a(h,"value")){if(!1===h.writable||!i(d))return!1;if(f=c.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(e,t,n){var r=n(1),o=n(10),i=n(139),a=n(56);a&&r({target:"Reflect",stat:!0},{setPrototypeOf:function(e,t){o(e),i(t);try{return a(e,t),!0}catch(e){return!1}}})},function(e,t,n){var r=n(12),o=n(8),i=n(65),a=n(83),s=n(15).f,c=n(51).f,u=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(e,t){var n=this instanceof w,r=u(e),o=void 0===t;return!n&&r&&e.constructor===w&&o?e:a(b?new v(r&&!o?e.source:e,t):v((r=e instanceof w)?e.source:e,r&&o?l.call(e):t),n?this:g,w)},E=function(e){e in w||s(w,e,{configurable:!0,get:function(){return v[e]},set:function(t){v[e]=t}})},O=c(v),x=0;O.length>x;)E(O[x++]);g.constructor=w,w.prototype=g,f(o,"RegExp",w)}d("RegExp")},function(e,t,n){"use strict";var r=n(1),o=n(88);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},function(e,t,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(e,t,n){"use strict";var r=n(20),o=n(10),i=n(6),a=n(87),s=RegExp.prototype,c=s.toString,u=i((function(){return"/a/b"!=c.call({source:"a",flags:"b"})})),l="toString"!=c.name;(u||l)&&r(RegExp.prototype,"toString",(function(){var e=o(this),t=String(e.source),n=e.flags;return"/"+t+"/"+String(void 0===n&&e instanceof RegExp&&!("flags"in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){"use strict";var r=n(82),o=n(143);e.exports=r("Set",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),o)},function(e,t,n){"use strict";var r=n(1),o=n(89).codeAt;r({target:"String",proto:!0},{codePointAt:function(e){return o(this,e)}})},function(e,t,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),c="".endsWith,u=Math.min;r({target:"String",proto:!0,forced:!s("endsWith")},{endsWith:function(e){var t=String(a(this));i(e);var n=arguments.length>1?arguments[1]:void 0,r=o(t.length),s=void 0===n?r:u(o(n),r),l=String(e);return c?c.call(t,l,s):t.slice(s-l.length,s)===l}})},function(e,t,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(e){for(var t,n=[],r=arguments.length,a=0;r>a;){if(t=+arguments[a++],o(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?i(t):i(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}})},function(e,t,n){"use strict";var r=n(1),o=n(114),i=n(23);r({target:"String",proto:!0,forced:!n(115)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(90),o=n(10),i=n(14),a=n(23),s=n(116),c=n(91);r("match",1,(function(e,t,n){return[function(t){var n=a(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var a=o(e),u=String(this);if(!a.global)return c(a,u);var l=a.unicode;a.lastIndex=0;for(var f,p=[],d=0;null!==(f=c(a,u));){var h=String(f[0]);p[d]=h,""===h&&(a.lastIndex=s(u,i(a.lastIndex),l)),d++}return 0===d?null:p}]}))},function(e,t,n){"use strict";var r=n(1),o=n(109).end;r({target:"String",proto:!0,forced:n(158)},{padEnd:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){"use strict";var r=n(1),o=n(109).start;r({target:"String",proto:!0,forced:n(158)},{padStart:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},function(e,t,n){var r=n(1),o=n(24),i=n(14);r({target:"String",stat:!0},{raw:function(e){for(var t=o(e.raw),n=i(t.length),r=arguments.length,a=[],s=0;n>s;)a.push(String(t[s++])),s<r&&a.push(String(arguments[s]));return a.join("")}})},function(e,t,n){n(1)({target:"String",proto:!0},{repeat:n(110)})},function(e,t,n){"use strict";var r=n(90),o=n(10),i=n(16),a=n(14),s=n(30),c=n(23),u=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(e,t,n){return[function(n,r){var o=c(this),i=null==n?void 0:n[e];return void 0!==i?i.call(n,o,r):t.call(String(o),n,r)},function(e,i){var c=n(t,e,this,i);if(c.done)return c.value;var d=o(e),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=u(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 C=String(i.apply(void 0,j))}else C=r(P,h,k,_,T,i);k>=O&&(E+=h.slice(O,k)+C,O=k+P.length)}return E+h.slice(O)}];function r(e,n,r,o,a,s){var c=r+e.length,u=o.length,l=v;return void 0!==a&&(a=i(a),l=h),t.call(s,l,(function(t,i){var s;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return n.slice(0,r);case"'":return n.slice(c);case"<":s=a[i.slice(1,-1)];break;default:var l=+i;if(0===l)return t;if(l>u){var f=d(l/10);return 0===f?t:f<=u?void 0===o[f-1]?i.charAt(1):o[f-1]+i.charAt(1):t}s=o[l-1]}return void 0===s?"":s}))}}))},function(e,t,n){"use strict";var r=n(90),o=n(10),i=n(23),a=n(151),s=n(91);r("search",1,(function(e,t,n){return[function(t){var n=i(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](String(n))},function(e){var r=n(t,e,this);if(r.done)return r.value;var i=o(e),c=String(this),u=i.lastIndex;a(u,0)||(i.lastIndex=0);var l=s(i,c);return a(i.lastIndex,u)||(i.lastIndex=u),null===l?-1:l.index}]}))},function(e,t,n){"use strict";var r=n(90),o=n(113),i=n(10),a=n(23),s=n(49),c=n(116),u=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(e,t,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(e,n){var r=String(a(this)),i=void 0===n?4294967295:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);for(var s,c,u,l=[],p=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),h=0,v=new RegExp(e.source,p+"g");(s=f.call(v,r))&&!((c=v.lastIndex)>h&&(l.push(r.slice(h,s.index)),s.length>1&&s.index<r.length&&d.apply(l,s.slice(1)),u=s[0].length,h=c,l.length>=i));)v.lastIndex===s.index&&v.lastIndex++;return h===r.length?!u&&v.test("")||l.push(""):l.push(r.slice(h)),l.length>i?l.slice(0,i):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,e,this,o,r!==t);if(a.done)return a.value;var f=i(e),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(u(m.lastIndex+(v?0:E)),p.length))===w)E=c(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(e,t,n){"use strict";var r=n(1),o=n(14),i=n(114),a=n(23),s=n(115),c="".startsWith,u=Math.min;r({target:"String",proto:!0,forced:!s("startsWith")},{startsWith:function(e){var t=String(a(this));i(e);var n=o(u(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return c?c.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,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(e,t,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(e,t,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(e,t,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("anchor")},{anchor:function(e){return o(this,"a","name",e)}})},function(e,t,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(e,t,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(e,t,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(e,t,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(e,t,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontcolor")},{fontcolor:function(e){return o(this,"font","color",e)}})},function(e,t,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("fontsize")},{fontsize:function(e){return o(this,"font","size",e)}})},function(e,t,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(e,t,n){"use strict";var r=n(1),o=n(26);r({target:"String",proto:!0,forced:n(27)("link")},{link:function(e){return o(this,"a","href",e)}})},function(e,t,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(e,t,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(e,t,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(e,t,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(e,t,n){n(40)("Float32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){var r=n(30);e.exports=function(e){var t=r(e);if(t<0)throw RangeError("The argument can't be less than 0");return t}},function(e,t,n){n(40)("Float64",8,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(40)("Int8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(40)("Int16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(40)("Int32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(40)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(40)("Uint8",1,(function(e){return function(t,n,r){return e(this,t,n,r)}}),!0)},function(e,t,n){n(40)("Uint16",2,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){n(40)("Uint32",4,(function(e){return function(t,n,r){return e(this,t,n,r)}}))},function(e,t,n){"use strict";var r=n(11),o=n(132),i=r.aTypedArray;r.exportProto("copyWithin",(function(e,t){return o.call(i(this),e,t,arguments.length>2?arguments[2]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(19).every,i=r.aTypedArray;r.exportProto("every",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(105),i=r.aTypedArray;r.exportProto("fill",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(19).filter,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("filter",(function(e){for(var t=o(a(this),e,arguments.length>1?arguments[1]:void 0),n=i(this,this.constructor),r=0,c=t.length,u=new(s(n))(c);c>r;)u[r]=t[r++];return u}))},function(e,t,n){"use strict";var r=n(11),o=n(19).find,i=r.aTypedArray;r.exportProto("find",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(19).findIndex,i=r.aTypedArray;r.exportProto("findIndex",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(19).forEach,i=r.aTypedArray;r.exportProto("forEach",(function(e){o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(118),o=n(11),i=n(160);o.exportStatic("from",i,r)},function(e,t,n){"use strict";var r=n(11),o=n(64).includes,i=r.aTypedArray;r.exportProto("includes",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(64).indexOf,i=r.aTypedArray;r.exportProto("indexOf",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(79),a=n(13)("iterator"),s=r.Uint8Array,c=i.values,u=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 c.call(f(this))};p("entries",(function(){return l.call(f(this))})),p("keys",(function(){return u.call(f(this))})),p("values",v,!h),p(a,v,!h)},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].join;r.exportProto("join",(function(e){return i.apply(o(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(140),i=r.aTypedArray;r.exportProto("lastIndexOf",(function(e){return o.apply(i(this),arguments)}))},function(e,t,n){"use strict";var r=n(11),o=n(19).map,i=n(49),a=r.aTypedArray,s=r.aTypedArrayConstructor;r.exportProto("map",(function(e){return o(a(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(i(e,e.constructor)))(t)}))}))},function(e,t,n){"use strict";var r=n(11),o=n(118),i=r.aTypedArrayConstructor;r.exportStatic("of",(function(){for(var e=0,t=arguments.length,n=new(i(this))(t);t>e;)n[e]=arguments[e++];return n}),o)},function(e,t,n){"use strict";var r=n(11),o=n(80).left,i=r.aTypedArray;r.exportProto("reduce",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=n(80).right,i=r.aTypedArray;r.exportProto("reduceRight",(function(e){return o(i(this),e,arguments.length,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=Math.floor;r.exportProto("reverse",(function(){for(var e,t=o(this).length,n=i(t/2),r=0;r<n;)e=this[r],this[r++]=this[--t],this[t]=e;return this}))},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(159),a=n(16),s=n(6),c=r.aTypedArray,u=s((function(){new Int8Array(1).set({})}));r.exportProto("set",(function(e){c(this);var t=i(arguments.length>1?arguments[1]:void 0,1),n=this.length,r=a(e),s=o(r.length),u=0;if(s+t>n)throw RangeError("Wrong length");for(;u<s;)this[t+u]=r[u++]}),u)},function(e,t,n){"use strict";var r=n(11),o=n(49),i=n(6),a=r.aTypedArray,s=r.aTypedArrayConstructor,c=[].slice,u=i((function(){new Int8Array(1).slice()}));r.exportProto("slice",(function(e,t){for(var n=c.call(a(this),e,t),r=o(this,this.constructor),i=0,u=n.length,l=new(s(r))(u);u>i;)l[i]=n[i++];return l}),u)},function(e,t,n){"use strict";var r=n(11),o=n(19).some,i=r.aTypedArray;r.exportProto("some",(function(e){return o(i(this),e,arguments.length>1?arguments[1]:void 0)}))},function(e,t,n){"use strict";var r=n(11),o=r.aTypedArray,i=[].sort;r.exportProto("sort",(function(e){return i.call(o(this),e)}))},function(e,t,n){"use strict";var r=n(11),o=n(14),i=n(45),a=n(49),s=r.aTypedArray;r.exportProto("subarray",(function(e,t){var n=s(this),r=n.length,c=i(e,r);return new(a(n,n.constructor))(n.buffer,n.byteOffset+c*n.BYTES_PER_ELEMENT,o((void 0===t?r:i(t,r))-c))}))},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Int8Array,s=o.aTypedArray,c=[].toLocaleString,u=[].slice,l=!!a&&i((function(){c.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 c.apply(l?u.call(s(this)):s(this),arguments)}),f)},function(e,t,n){"use strict";var r=n(8),o=n(11),i=n(6),a=r.Uint8Array,s=a&&a.prototype,c=[].toString,u=[].join;i((function(){c.call({})}))&&(c=function(){return u.call(this)}),o.exportProto("toString",c,(s||{}).toString!=c)},function(e,t,n){"use strict";var r,o=n(8),i=n(58),a=n(54),s=n(82),c=n(161),u=n(9),l=n(29).enforce,f=n(124),p=!o.ActiveXObject&&"ActiveXObject"in o,d=Object.isExtensible,h=function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}},v=e.exports=s("WeakMap",h,c,!0,!0);if(f&&p){r=c.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(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),y.call(this,e)||t.frozen.delete(e)}return y.call(this,e)},has:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),m.call(this,e)||t.frozen.has(e)}return m.call(this,e)},get:function(e){if(u(e)&&!d(e)){var t=l(this);return t.frozen||(t.frozen=new r),m.call(this,e)?b.call(this,e):t.frozen.get(e)}return b.call(this,e)},set:function(e,t){if(u(e)&&!d(e)){var n=l(this);n.frozen||(n.frozen=new r),m.call(this,e)?w.call(this,e,t):n.frozen.set(e,t)}else w.call(this,e,t);return this}})}},function(e,t,n){"use strict";n(82)("WeakSet",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),n(161),!1,!0)},function(e,t,n){var r=n(8),o=n(162),i=n(134),a=n(21);for(var s in o){var c=r[s],u=c&&c.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(e){u.forEach=i}}},function(e,t,n){var r=n(8),o=n(162),i=n(79),a=n(21),s=n(13),c=s("iterator"),u=s("toStringTag"),l=i.values;for(var f in o){var p=r[f],d=p&&p.prototype;if(d){if(d[c]!==l)try{a(d,c,l)}catch(e){d[c]=l}if(d[u]||a(d,u,f),o[f])for(var h in i)if(d[h]!==i[h])try{a(d,h,i[h])}catch(e){d[h]=i[h]}}}},function(e,t,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(e,t,n){var r=n(1),o=n(8),i=n(154),a=n(33),s=o.process,c="process"==a(s);r({global:!0,enumerable:!0,noTargetGet:!0},{queueMicrotask:function(e){var t=c&&s.domain;i(t?t.bind(e):e)}})},function(e,t,n){var r=n(1),o=n(8),i=n(77),a=[].slice,s=function(e){return function(t,n){var r=arguments.length>2,o=r?a.call(arguments,2):void 0;return e(r?function(){("function"==typeof t?t:Function(t)).apply(this,o)}:t,n)}};r({global:!0,bind:!0,forced:/MSIE .\./.test(i)},{setTimeout:s(o.setTimeout),setInterval:s(o.setInterval)})},function(e,t,n){"use strict";n(157);var r,o=n(1),i=n(12),a=n(163),s=n(8),c=n(103),u=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)/,C=/^[0-7]+$/,A=/^\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(e,t){var n,r,o;if("["==t.charAt(0)){if("]"!=t.charAt(t.length-1))return"Invalid host";if(!(n=F(t.slice(1,-1))))return"Invalid host";e.host=n}else if(Y(e)){if(t=v(t),M.test(t))return"Invalid host";if(null===(n=B(t)))return"Invalid host";e.host=n}else{if(R.test(t))return"Invalid host";for(n="",r=d(t),o=0;o<r.length;o++)n+=G(r[o],W);e.host=n}},B=function(e){var t,n,r,o,i,a,s,c=e.split(".");if(c.length&&""==c[c.length-1]&&c.pop(),(t=c.length)>4)return e;for(n=[],r=0;r<t;r++){if(""==(o=c[r]))return e;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?A:8==i?C:I).test(o))return e;a=parseInt(o,i)}n.push(a)}for(r=0;r<t;r++)if(a=n[r],r==t-1){if(a>=k(256,5-t))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(e){var t,n,r,o,i,a,s,c=[0,0,0,0,0,0,0,0],u=0,l=null,f=0,p=function(){return e.charAt(f)};if(":"==p()){if(":"!=e.charAt(1))return;f+=2,l=++u}for(;p();){if(8==u)return;if(":"!=p()){for(t=n=0;n<4&&I.test(p());)t=16*t+parseInt(p(),16),f++,n++;if("."==p()){if(0==n)return;if(f-=n,u>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++}c[u]=256*c[u]+o,2!=++r&&4!=r||u++}if(4!=r)return;break}if(":"==p()){if(f++,!p())return}else if(p())return;c[u++]=t}else{if(null!==l)return;f++,l=++u}}if(null!==l)for(a=u-l,u=7;0!=u&&a>0;)s=c[u],c[u--]=c[l+a-1],c[l+--a]=s;else if(8!=u)return;return c},U=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)t.unshift(e%256),e=P(e/256);return t.join(".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n&&(t=r,n=o),t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=e[n].toString(16),n<7&&(t+=":")));return"["+t+"]"}return e},W={},H=p({},W,{" ":1,'"':1,"<":1,">":1,"`":1}),V=p({},H,{"#":1,"?":1,"{":1,"}":1}),q=p({},V,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),G=function(e,t){var n=h(e,0);return n>32&&n<127&&!f(t,e)?e:encodeURIComponent(e)},z={ftp:21,file:null,http:80,https:443,ws:80,wss:443},Y=function(e){return f(z,e.scheme)},X=function(e){return""!=e.username||""!=e.password},$=function(e){return!e.host||e.cannotBeABaseURL||"file"==e.scheme},K=function(e,t){var n;return 2==e.length&&_.test(e.charAt(0))&&(":"==(n=e.charAt(1))||!t&&"|"==n)},Q=function(e){var t;return e.length>1&&K(e.slice(0,2))&&(2==e.length||"/"===(t=e.charAt(2))||"\\"===t||"?"===t||"#"===t)},J=function(e){var t=e.path,n=t.length;!n||"file"==e.scheme&&1==n&&K(t[0],!0)||t.pop()},Z=function(e){return"."===e||"%2e"===e.toLowerCase()},ee={},te={},ne={},re={},oe={},ie={},ae={},se={},ce={},ue={},le={},fe={},pe={},de={},he={},ve={},ge={},ye={},me={},be={},we={},Ee=function(e,t,n,o){var i,a,s,c,u,l=n||ee,p=0,h="",v=!1,g=!1,y=!1;for(n||(e.scheme="",e.username="",e.password="",e.host=null,e.port=null,e.path=[],e.query=null,e.fragment=null,e.cannotBeABaseURL=!1,t=t.replace(D,"")),t=t.replace(N,""),i=d(t);p<=i.length;){switch(a=i[p],l){case ee:if(!a||!_.test(a)){if(n)return"Invalid scheme";l=ne;continue}h+=a.toLowerCase(),l=te;break;case te:if(a&&(S.test(a)||"+"==a||"-"==a||"."==a))h+=a.toLowerCase();else{if(":"!=a){if(n)return"Invalid scheme";h="",l=ne,p=0;continue}if(n&&(Y(e)!=f(z,h)||"file"==h&&(X(e)||null!==e.port)||"file"==e.scheme&&!e.host))return;if(e.scheme=h,n)return void(Y(e)&&z[e.scheme]==e.port&&(e.port=null));h="","file"==e.scheme?l=de:Y(e)&&o&&o.scheme==e.scheme?l=re:Y(e)?l=se:"/"==i[p+1]?(l=oe,p++):(e.cannotBeABaseURL=!0,e.path.push(""),l=me)}break;case ne:if(!o||o.cannotBeABaseURL&&"#"!=a)return"Invalid scheme";if(o.cannotBeABaseURL&&"#"==a){e.scheme=o.scheme,e.path=o.path.slice(),e.query=o.query,e.fragment="",e.cannotBeABaseURL=!0,l=we;break}l="file"==o.scheme?de:ie;continue;case re:if("/"!=a||"/"!=i[p+1]){l=ie;continue}l=ce,p++;break;case oe:if("/"==a){l=ue;break}l=ye;continue;case ie:if(e.scheme=o.scheme,a==r)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query;else if("/"==a||"\\"==a&&Y(e))l=ae;else if("?"==a)e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.path.pop(),l=ye;continue}e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}break;case ae:if(!Y(e)||"/"!=a&&"\\"!=a){if("/"!=a){e.username=o.username,e.password=o.password,e.host=o.host,e.port=o.port,l=ye;continue}l=ue}else l=ce;break;case se:if(l=ce,"/"!=a||"/"!=h.charAt(p+1))continue;p++;break;case ce:if("/"!=a&&"\\"!=a){l=ue;continue}break;case ue: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,q);y?e.password+=w:e.username+=w}else y=!0}h=""}else if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(v&&""==h)return"Invalid authority";p-=d(h).length+1,h="",l=le}else h+=a;break;case le:case fe:if(n&&"file"==e.scheme){l=ve;continue}if(":"!=a||g){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)){if(Y(e)&&""==h)return"Invalid host";if(n&&""==h&&(X(e)||null!==e.port))return;if(c=L(e,h))return c;if(h="",l=ge,n)return;continue}"["==a?g=!0:"]"==a&&(g=!1),h+=a}else{if(""==h)return"Invalid host";if(c=L(e,h))return c;if(h="",l=pe,n==fe)return}break;case pe:if(!T.test(a)){if(a==r||"/"==a||"?"==a||"#"==a||"\\"==a&&Y(e)||n){if(""!=h){var E=parseInt(h,10);if(E>65535)return"Invalid port";e.port=Y(e)&&E===z[e.scheme]?null:E,h=""}if(n)return;l=ge;continue}return"Invalid port"}h+=a;break;case de:if(e.scheme="file","/"==a||"\\"==a)l=he;else{if(!o||"file"!=o.scheme){l=ye;continue}if(a==r)e.host=o.host,e.path=o.path.slice(),e.query=o.query;else if("?"==a)e.host=o.host,e.path=o.path.slice(),e.query="",l=be;else{if("#"!=a){Q(i.slice(p).join(""))||(e.host=o.host,e.path=o.path.slice(),J(e)),l=ye;continue}e.host=o.host,e.path=o.path.slice(),e.query=o.query,e.fragment="",l=we}}break;case he:if("/"==a||"\\"==a){l=ve;break}o&&"file"==o.scheme&&!Q(i.slice(p).join(""))&&(K(o.path[0],!0)?e.path.push(o.path[0]):e.host=o.host),l=ye;continue;case ve:if(a==r||"/"==a||"\\"==a||"?"==a||"#"==a){if(!n&&K(h))l=ye;else if(""==h){if(e.host="",n)return;l=ge}else{if(c=L(e,h))return c;if("localhost"==e.host&&(e.host=""),n)return;h="",l=ge}continue}h+=a;break;case ge:if(Y(e)){if(l=ye,"/"!=a&&"\\"!=a)continue}else if(n||"?"!=a)if(n||"#"!=a){if(a!=r&&(l=ye,"/"!=a))continue}else e.fragment="",l=we;else e.query="",l=be;break;case ye:if(a==r||"/"==a||"\\"==a&&Y(e)||!n&&("?"==a||"#"==a)){if(".."===(u=(u=h).toLowerCase())||"%2e."===u||".%2e"===u||"%2e%2e"===u?(J(e),"/"==a||"\\"==a&&Y(e)||e.path.push("")):Z(h)?"/"==a||"\\"==a&&Y(e)||e.path.push(""):("file"==e.scheme&&!e.path.length&&K(h)&&(e.host&&(e.host=""),h=h.charAt(0)+":"),e.path.push(h)),h="","file"==e.scheme&&(a==r||"?"==a||"#"==a))for(;e.path.length>1&&""===e.path[0];)e.path.shift();"?"==a?(e.query="",l=be):"#"==a&&(e.fragment="",l=we)}else h+=G(a,V);break;case me:"?"==a?(e.query="",l=be):"#"==a?(e.fragment="",l=we):a!=r&&(e.path[0]+=G(a,W));break;case be:n||"#"!=a?a!=r&&("'"==a&&Y(e)?e.query+="%27":e.query+="#"==a?"%23":G(a,W)):(e.fragment="",l=we);break;case we:a!=r&&(e.fragment+=G(a,H))}p++}},Oe=function(e){var t,n,r=l(this,Oe,"URL"),o=arguments.length>1?arguments[1]:void 0,a=String(e),s=O(r,{type:"URL"});if(void 0!==o)if(o instanceof Oe)t=x(o);else if(n=Ee(t={},String(o)))throw TypeError(n);if(n=Ee(s,a,null,t))throw TypeError(n);var c=s.searchParams=new w,u=E(c);u.updateSearchParams(s.query),u.updateURL=function(){s.query=String(c)||null},i||(r.href=Pe.call(r),r.origin=ke.call(r),r.protocol=_e.call(r),r.username=Se.call(r),r.password=Te.call(r),r.host=je.call(r),r.hostname=Ce.call(r),r.port=Ae.call(r),r.pathname=Ie.call(r),r.search=Me.call(r),r.searchParams=Re.call(r),r.hash=De.call(r))},xe=Oe.prototype,Pe=function(){var e=x(this),t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,c=e.fragment,u=t+":";return null!==o?(u+="//",X(e)&&(u+=n+(r?":"+r:"")+"@"),u+=U(o),null!==i&&(u+=":"+i)):"file"==t&&(u+="//"),u+=e.cannotBeABaseURL?a[0]:a.length?"/"+a.join("/"):"",null!==s&&(u+="?"+s),null!==c&&(u+="#"+c),u},ke=function(){var e=x(this),t=e.scheme,n=e.port;if("blob"==t)try{return new URL(t.path[0]).origin}catch(e){return"null"}return"file"!=t&&Y(e)?t+"://"+U(e.host)+(null!==n?":"+n:""):"null"},_e=function(){return x(this).scheme+":"},Se=function(){return x(this).username},Te=function(){return x(this).password},je=function(){var e=x(this),t=e.host,n=e.port;return null===t?"":null===n?U(t):U(t)+":"+n},Ce=function(){var e=x(this).host;return null===e?"":U(e)},Ae=function(){var e=x(this).port;return null===e?"":String(e)},Ie=function(){var e=x(this),t=e.path;return e.cannotBeABaseURL?t[0]:t.length?"/"+t.join("/"):""},Me=function(){var e=x(this).query;return e?"?"+e:""},Re=function(){return x(this).searchParams},De=function(){var e=x(this).fragment;return e?"#"+e:""},Ne=function(e,t){return{get:e,set:t,configurable:!0,enumerable:!0}};if(i&&c(xe,{href:Ne(Pe,(function(e){var t=x(this),n=String(e),r=Ee(t,n);if(r)throw TypeError(r);E(t.searchParams).updateSearchParams(t.query)})),origin:Ne(ke),protocol:Ne(_e,(function(e){var t=x(this);Ee(t,String(e)+":",ee)})),username:Ne(Se,(function(e){var t=x(this),n=d(String(e));if(!$(t)){t.username="";for(var r=0;r<n.length;r++)t.username+=G(n[r],q)}})),password:Ne(Te,(function(e){var t=x(this),n=d(String(e));if(!$(t)){t.password="";for(var r=0;r<n.length;r++)t.password+=G(n[r],q)}})),host:Ne(je,(function(e){var t=x(this);t.cannotBeABaseURL||Ee(t,String(e),le)})),hostname:Ne(Ce,(function(e){var t=x(this);t.cannotBeABaseURL||Ee(t,String(e),fe)})),port:Ne(Ae,(function(e){var t=x(this);$(t)||(""==(e=String(e))?t.port=null:Ee(t,e,pe))})),pathname:Ne(Ie,(function(e){var t=x(this);t.cannotBeABaseURL||(t.path=[],Ee(t,e+"",ge))})),search:Ne(Me,(function(e){var t=x(this);""==(e=String(e))?t.query=null:("?"==e.charAt(0)&&(e=e.slice(1)),t.query="",Ee(t,e,be)),E(t.searchParams).updateSearchParams(t.query)})),searchParams:Ne(Re),hash:Ne(De,(function(e){var t=x(this);""!=(e=String(e))?("#"==e.charAt(0)&&(e=e.slice(1)),t.fragment="",Ee(t,e,we)):t.fragment=null}))}),u(xe,"toJSON",(function(){return Pe.call(this)}),{enumerable:!0}),u(xe,"toString",(function(){return Pe.call(this)}),{enumerable:!0}),b){var Le=b.createObjectURL,Be=b.revokeObjectURL;Le&&u(Oe,"createObjectURL",(function(e){return Le.apply(b,arguments)})),Be&&u(Oe,"revokeObjectURL",(function(e){return Be.apply(b,arguments)}))}g(Oe,"URL"),o({global:!0,forced:!a,sham:!i},{URL:Oe})},function(e,t,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,c=function(e){return e+22+75*(e<26)},u=function(e,t,n){var r=0;for(e=n?a(e/700):e>>1,e+=a(e/t);e>455;r+=36)e=a(e/35);return a(r+36*e/(e+38))},l=function(e){var t,n,r=[],o=(e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=e.charCodeAt(n++);if(o>=55296&&o<=56319&&n<r){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&o)<<10)+(1023&i)+65536):(t.push(o),n--)}else t.push(o)}return t}(e)).length,l=128,f=0,p=72;for(t=0;t<e.length;t++)(n=e[t])<128&&r.push(s(n));var d=r.length,h=d;for(d&&r.push("-");h<o;){var v=2147483647;for(t=0;t<e.length;t++)(n=e[t])>=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,t=0;t<e.length;t++){if((n=e[t])<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(c(b+w%E))),y=a(w/E)}r.push(s(c(y))),p=u(f,g,h==d),f=0,++h}}++f,++l}return r.join("")};e.exports=function(e){var t,n,i=[],a=e.toLowerCase().replace(o,".").split(".");for(t=0;t<a.length;t++)n=a[t],i.push(r.test(n)?"xn--"+l(n):n);return i.join(".")}},function(e,t,n){var r=n(10),o=n(70);e.exports=function(e){var t=o(e);if("function"!=typeof t)throw TypeError(String(e)+" is not iterable");return r(t.call(e))}},function(e,t,n){"use strict";n(1)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},function(e,t){!function(){if(function(){function e(){var e=[0,1];return e.reverse(),0===e[0]}return e()||e()}()){Array.prototype._reverse=Array.prototype.reverse,Array.prototype.reverse=function(){return Array.isArray(this)&&(this.length=this.length),Array.prototype._reverse.call(this)};var e={enumerable:!1};Object.defineProperties(Array.prototype,{_reverse:e,reverse:e})}}()},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,n){var r=function(e){"use strict";var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function c(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=function(e,t,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 c=u(e,t,n);if("normal"===c.type){if(r=n.done?d:f,c.arg===h)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r=d,n.method="throw",n.arg=c.arg)}}}(e,n,a),i}function u(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;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(e){["next","throw","return"].forEach((function(t){e[t]=function(e){return this._invoke(t,e)}}))}function x(e){var t;this._invoke=function(n,o){function i(){return new Promise((function(t,i){!function t(n,o,i,a){var s=u(e[n],e,o);if("throw"!==s.type){var c=s.arg,l=c.value;return l&&"object"==typeof l&&r.call(l,"__await")?Promise.resolve(l.__await).then((function(e){t("next",e,i,a)}),(function(e){t("throw",e,i,a)})):Promise.resolve(l).then((function(e){c.value=e,i(c)}),(function(e){return t("throw",e,i,a)}))}a(s.arg)}(n,o,t,i)}))}return t=t?t.then(i,i):i()}}function P(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,P(e,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=u(r,e.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[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,h):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,h)}function k(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:j}}function j(){return{value:t,done:!0}}return g.prototype=E.constructor=y,y.constructor=g,y[s]=g.displayName="GeneratorFunction",e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,s in e||(e[s]="GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},O(x.prototype),x.prototype[a]=function(){return this},e.AsyncIterator=x,e.async=function(t,n,r,o){var i=new x(c(t,n,r,o));return e.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},O(E),E[s]="Generator",E[i]=function(){return this},E.toString=function(){return"[object Generator]"},e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!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 c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){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"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),_(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;_(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),h}},e}(e.exports);try{regeneratorRuntime=r}catch(e){Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.runSaga=function(e,t){var n=t.subscribe,r=t.dispatch,i=t.getState,s=t.sagaMonitor,c=t.logger;(0,o.check)(e,o.is.iterator,"runSaga must be called on an iterator");var u=(0,o.uid)();s&&(r=(0,o.wrapSagaDispatch)(r),s.effectTriggered({effectId:u,root:!0,parentEffectId:0,effect:{root:!0,saga:e,args:[]}}));var l=(0,a.default)(e,n,r,i,{sagaMonitor:s,logger:c},u,e.name);s&&s.effectResolved(u,l);return l};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&s.return&&s.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.takeEvery=function(e,t){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)(e)},c=void 0,p=function(e){return c=e};return l({q1:function(){return["q2",s,p]},q2:function(){return c===o.END?[u]:["q1",(e=c,{done:!1,value:a.fork.apply(void 0,[t].concat(r,[e]))})];var e}},"q1","takeEvery("+f(e)+", "+t.name+")")},t.takeLatest=function(e,t){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)(e)},c=function(e){return{done:!1,value:a.fork.apply(void 0,[t].concat(r,[e]))}},p=function(e){return{done:!1,value:(0,a.cancel)(e)}},d=void 0,h=void 0,v=function(e){return d=e},g=function(e){return h=e};return l({q1:function(){return["q2",s,g]},q2:function(){return h===o.END?[u]:d?["q3",p(d)]:["q1",c(h),v]},q3:function(){return["q1",c(h),v]}},"q1","takeLatest("+f(e)+", "+t.name+")")},t.throttle=function(e,t,n){for(var r=arguments.length,c=Array(r>3?r-3:0),p=3;p<r;p++)c[p-3]=arguments[p];var d=void 0,h=void 0,v={done:!1,value:(0,a.actionChannel)(t,s.buffers.sliding(1))},g={done:!1,value:(0,a.call)(i.delay,e)},y=function(e){return d=e},m=function(e){return h=e};return l({q1:function(){return["q2",v,m]},q2:function(){return["q3",{done:!1,value:(0,a.take)(h,t)},y]},q3:function(){return d===o.END?[u]:["q4",(e=d,{done:!1,value:a.fork.apply(void 0,[n].concat(c,[e]))})];var e},q4:function(){return["q2",g]}},"q1","throttle("+f(t)+", "+n.name+")")};var o=n(93),i=n(41),a=n(92),s=n(94),c={done:!0,value:void 0},u={};function l(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"iterator",o=void 0,a=t;function s(t,n){if(a===u)return c;if(n)throw a=u,n;o&&o(t);var i=e[a](),s=r(i,3),l=s[0],f=s[1],p=s[2];return o=p,(a=l)===u?c:f}return(0,i.makeIterator)(s,(function(e){return s(null,e)}),n,!0)}function f(e){return Array.isArray(e)?String(e.map((function(e){return String(e)}))):String(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=void 0,n=e.sagaMonitor;if(o.is.func(e))throw new Error("Saga middleware no longer accept Generator functions. Use sagaMiddleware.run instead");if(e.logger&&!o.is.func(e.logger))throw new Error("`options.logger` passed to the Saga middleware is not a function!");if(e.onerror&&!o.is.func(e.onerror))throw new Error("`options.onerror` passed to the Saga middleware is not a function!");function r(r){var i=r.getState,u=r.dispatch;t=function(t,n,r){return(0,a.default)(t.apply(void 0,function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(n)),l.subscribe,f,i,e,r,t.name)};var l=(0,c.emitter)(),f=(0,o.wrapSagaDispatch)(u);return function(e){return function(t){n&&n.actionDispatched(t);var r=e(t);return t[o.SAGA_ACTION]?l.emit(t):(0,s.asap)((function(){return l.emit(t)})),r}}}return r.run=function(e){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)(t,o.is.notUndef,"Before running a Saga, you must mount the Saga middleware on the Store using applyMiddleware"),(0,o.check)(e,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:e,args:i}});var c=t(e,i,s);return n&&n.effectResolved(s,c),c},r};var r,o=n(41),i=n(166),a=(r=i)&&r.__esModule?r:{default:r},s=n(167),c=n(93)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(41);Object.defineProperty(t,"TASK",{enumerable:!0,get:function(){return r.TASK}}),Object.defineProperty(t,"SAGA_ACTION",{enumerable:!0,get:function(){return r.SAGA_ACTION}}),Object.defineProperty(t,"noop",{enumerable:!0,get:function(){return r.noop}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return r.is}}),Object.defineProperty(t,"deferred",{enumerable:!0,get:function(){return r.deferred}}),Object.defineProperty(t,"arrayOfDeffered",{enumerable:!0,get:function(){return r.arrayOfDeffered}}),Object.defineProperty(t,"createMockTask",{enumerable:!0,get:function(){return r.createMockTask}});var o=n(92);Object.defineProperty(t,"CHANNEL_END",{enumerable:!0,get:function(){return o.CHANNEL_END}}),Object.defineProperty(t,"asEffect",{enumerable:!0,get:function(){return o.asEffect}})},function(e,t,n){"use strict";var r=n(399);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,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 t(){return e}e.isRequired=e;var n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e,t,n){"use strict";
|
12
12
|
/** @license React v16.12.0
|
13
13
|
* react-is.production.min.js
|
14
14
|
*
|
@@ -16,7 +16,7 @@ pageflow="object"==typeof pageflow?pageflow:{},pageflow.react=function(t){var e=
|
|
16
16
|
*
|
17
17
|
* This source code is licensed under the MIT license found in the
|
18
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,c=r?Symbol.for("react.profiler"):60114,u=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,m=r?Symbol.for("react.lazy"):60116,y=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 c:case s:case h:return t;default:switch(t=t&&t.$$typeof){case l:case d:case m:case g:case u: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=u,e.Element=o,e.ForwardRef=d,e.Fragment=a,e.Lazy=m,e.Memo=g,e.Portal=i,e.Profiler=c,e.StrictMode=s,e.Suspense=h,e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===p||t===c||t===s||t===h||t===v||"object"==typeof t&&null!==t&&(t.$$typeof===m||t.$$typeof===g||t.$$typeof===u||t.$$typeof===l||t.$$typeof===d||t.$$typeof===y||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)===u},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)===m},e.isMemo=function(t){return E(t)===g},e.isPortal=function(t){return E(t)===i},e.isProfiler=function(t){return E(t)===c},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)),c=l(n(402)),u=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 c.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,u.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,c=["top","right","bottom","left","width","height","size","weight"],u="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&&u()}function c(){i(s)}function u(){var t=Date.now();if(n){if(t-o<a)return;r=!0}else n=!0,r=!1,setTimeout(c,e);o=t}return u}(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),u?(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;c.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),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==e&&(s-=v(r,"left","right")+i),Math.round(c+a)!==n&&(c-=v(r,"top","bottom")+a)),!function(t){return t===p(t).document.documentElement}(t)){var u=Math.round(s+i)-e,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return b(o.left,o.top,s,c)}var m="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"==typeof t.getBBox};function y(t){return r?m(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=y(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,c,u=(r=(n=e).x,o=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),f(c,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),c);f(this,{target:t,contentRect:u})},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 c=(0,o.default)(t,e);n=c.rect,s=c.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"),c=t.cloneNode(!0),u=getComputedStyle(t);s.style.height=0,s.style.overflow="hidden",c.setAttribute("id",""),c.setAttribute("name",""),(e.display||u&&"none"===u.getPropertyValue("display"))&&(c.style.display=e.display||"block");(e.width||u&&!parseInt(u.getPropertyValue("width")))&&(c.style.width=e.width||"auto");(e.height||u&&!parseInt(u.getPropertyValue("height")))&&(c.style.height=e.height||"auto");return s.appendChild(c),a.appendChild(s),n=c.getBoundingClientRect(),r=c.offsetWidth,o=c.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)(u)}};var r,o=n(168),i=(r=o)&&r.__esModule?r:{default:r};t.exports=e.default},function(t,e,n){var r,o;
|
19
|
+
*/Object.defineProperty(t,"__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,c=r?Symbol.for("react.profiler"):60114,u=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(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case o:switch(e=e.type){case f:case p:case a:case c:case s:case h:return e;default:switch(e=e&&e.$$typeof){case l:case d:case y:case g:case u:return e;default:return t}}case i:return t}}}function O(e){return E(e)===p}t.typeOf=E,t.AsyncMode=f,t.ConcurrentMode=p,t.ContextConsumer=l,t.ContextProvider=u,t.Element=o,t.ForwardRef=d,t.Fragment=a,t.Lazy=y,t.Memo=g,t.Portal=i,t.Profiler=c,t.StrictMode=s,t.Suspense=h,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===p||e===c||e===s||e===h||e===v||"object"==typeof e&&null!==e&&(e.$$typeof===y||e.$$typeof===g||e.$$typeof===u||e.$$typeof===l||e.$$typeof===d||e.$$typeof===m||e.$$typeof===b||e.$$typeof===w)},t.isAsyncMode=function(e){return O(e)||E(e)===f},t.isConcurrentMode=O,t.isContextConsumer=function(e){return E(e)===l},t.isContextProvider=function(e){return E(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===o},t.isForwardRef=function(e){return E(e)===d},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===y},t.isMemo=function(e){return E(e)===g},t.isPortal=function(e){return E(e)===i},t.isProfiler=function(e){return E(e)===c},t.isStrictMode=function(e){return E(e)===s},t.isSuspense=function(e){return E(e)===h}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(0),a=(l(i),l(n(28))),s=l(n(42)),c=l(n(402)),u=l(n(403));function l(e){return e&&e.__esModule?e:{default:e}}var f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.measure=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n.props.includeMargin,t=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,e,t),o="function"==typeof n.props.children;n._propsToMeasure.some((function(e){if(r[e]!==n._lastDimensions[e])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(e),n._lastDimensions={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){var e=this;this._setDOMNode(),this.measure(),this.resizeObserver=new c.default((function(){return e.measure()})),this.resizeObserver.observe(this._node)}},{key:"componentWillReceiveProps",value:function(e){e.config;var t=e.whitelist,n=e.blacklist;this.props.whitelist===t&&this.props.blacklist===n||(this._propsToMeasure=this._getPropsToMeasure({whitelist:t,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 e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this._node,t=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,u.default)(e,r({margin:t,clone:n},o))}},{key:"_getPropsToMeasure",value:function(e){var t=e.whitelist,n=e.blacklist;return t.filter((function(e){return n.indexOf(e)<0}))}},{key:"render",value:function(){var e=this.props.children;return i.Children.only("function"==typeof e?e(this.state.dimensions):e)}}]),t}(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}},t.default=f,e.exports=t.default},function(e,t,n){"use strict";n.r(t),function(e){var n=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,r){return e[0]===t&&(n=r,!0)})),n}return(function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}())}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==e&&e.Math===Math?e:"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(e){return setTimeout((function(){return e(Date.now())}),1e3/60)},a=2;var s=20,c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,l=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function s(){n&&(n=!1,e()),r&&u()}function c(){i(s)}function u(){var e=Date.now();if(n){if(e-o<a)return;r=!0}else n=!0,r=!1,setTimeout(c,t);o=e}return u}(this.refresh.bind(this),s)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(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)},e.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)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),f=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},p=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||o},d=b(0,0,0,0);function h(e){return parseFloat(e)||0}function v(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+h(e["border-"+n+"-width"])}),0)}function g(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return d;var r=p(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=h(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=h(r.width),c=h(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=v(r,"left","right")+i),Math.round(c+a)!==n&&(c-=v(r,"top","bottom")+a)),!function(e){return e===p(e).document.documentElement}(e)){var u=Math.round(s+i)-t,l=Math.round(c+a)-n;1!==Math.abs(u)&&(s-=u),1!==Math.abs(l)&&(c-=l)}return b(o.left,o.top,s,c)}var y="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof p(e).SVGGraphicsElement}:function(e){return e instanceof p(e).SVGElement&&"function"==typeof e.getBBox};function m(e){return r?y(e)?function(e){var t=e.getBBox();return b(0,0,t.width,t.height)}(e):g(e):d}function b(e,t,n,r){return{x:e,y:t,width:n,height:r}}var w=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=b(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=m(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),E=function(e,t){var n,r,o,i,a,s,c,u=(r=(n=t).x,o=n.y,i=n.width,a=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,c=Object.create(s.prototype),f(c,{x:r,y:o,width:i,height:a,top:o,right:r+i,bottom:a+o,left:r}),c);f(this,{target:e,contentRect:u})},O=function(){function e(e,t,r){if(this.activeObservations_=[],this.observations_=new n,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=r}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new w(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof p(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new E(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),x="undefined"!=typeof WeakMap?new WeakMap:new n,P=function e(t){if(!(this instanceof e))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(t,n,this);x.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){P.prototype[e]=function(){var t;return(t=x.get(this))[e].apply(t,arguments)}}));var k=void 0!==o.ResizeObserver?o.ResizeObserver:P;t.default=k}.call(this,n(74))},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=e.getBoundingClientRect(),r=void 0,a=void 0,s=void 0;if((n.width&&n.height||t.noCloneOnZeroDimension)&&!t.clone)t.margin&&(s=(0,i.default)(getComputedStyle(e)));else{var c=(0,o.default)(e,t);n=c.rect,s=c.margin}t.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));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n,r,o,a=e.parentNode,s=document.createElement("div"),c=e.cloneNode(!0),u=getComputedStyle(e);s.style.height=0,s.style.overflow="hidden",c.setAttribute("id",""),c.setAttribute("name",""),(t.display||u&&"none"===u.getPropertyValue("display"))&&(c.style.display=t.display||"block");(t.width||u&&!parseInt(u.getPropertyValue("width")))&&(c.style.width=t.width||"auto");(t.height||u&&!parseInt(u.getPropertyValue("height")))&&(c.style.height=t.height||"auto");return s.appendChild(c),a.appendChild(s),n=c.getBoundingClientRect(),r=c.offsetWidth,o=c.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)(u)}};var r,o=n(168),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){var r,o;
|
20
20
|
/*! wavesurfer.js 1.4.0 (Thu, 22 Jun 2017 13:03:29 GMT)
|
21
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],c=this.buffer.getChannelData(a),u=e;u<=n;u++){for(var l=~~(u*r),f=~~(l+r),p=0,d=0,h=l;h<f;h+=o){var v=c[h];v>d&&(d=v),v<p&&(p=v)}s[2*u]=d,s[2*u+1]=p,(0==a||d>this.mergedPeaks[2*u])&&(this.mergedPeaks[2*u]=d),(0==a||p<this.mergedPeaks[2*u+1])&&(this.mergedPeaks[2*u+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 c=.5/this.params.pixelRatio,u=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,m=1/this.params.barHeight;if(this.params.normalize){var y=t.util.max(e),b=t.util.min(e);m=-b>y?-b:y}var w=d/u;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/m*p);t.fillRect(n+c,p-a+f,h+c,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=[],c=0,u=e.length;c<u;c++)s[2*c]=e[c],s[2*c+1]=-e[c];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 m=t.util.max(e),y=t.util.min(e);g=-y>m?-y:m}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,c=this.params.height*this.params.pixelRatio,u=c*n||0,l=c/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 m=f/s,y=r/m;y<o/m;y+=d){var b=e[Math.floor(y*m*a)]||0,w=Math.round(b/h*l);this.fillRect(y+this.halfPixel,l-w+u,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,c=e.length;s<c;s++)a[2*s]=e[s],a[2*s+1]=-e[s];e=a}var u=this.params.height*this.params.pixelRatio,l=u*n||0,f=u/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 c=n.length/2,u=1;this.params.fillParent&&this.width!=c&&(u=this.width/c);var l=Math.round(c*t.start),f=Math.round(c*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)*u+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)*u+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)*u+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 c=this.canvases[s],u=s*this.maxCanvasWidth,l={x1:Math.max(t,s*this.maxCanvasWidth),y1:e,x2:Math.min(t+n,s*this.maxCanvasWidth+c.waveCtx.canvas.width),y2:e+r};l.x1<l.x2&&(this.setFillStyles(c),this.fillRectToContext(c.waveCtx,l.x1-u,l.y1,l.x2-l.x1,l.y2-l.y1),this.fillRectToContext(c.progressCtx,l.x1-u,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 c=this.plotArray[s];if(c.value>n&&(n=c.value),c.value<r&&(r=c.value),c.time>=this.plotTimeStart&&c.time<=this.plotTimeEnd){var u=Math.round(this.width*(c.time-this.plotTimeStart)/a);if(t.push(c.value),u!==e&&t.length>0){var l=this.avg(t);l>o&&(o=l),l<i&&(i=l),this.plotPoints[e]=l,t=[]}e=u}}"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 c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var t=s(p);l=!0;for(var e=u.length;e;){for(c=u,u=[];++f<e;)c&&c[f].run();f=-1,e=u.length}c=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];u.push(new h(t,e)),1!==u.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 H})),n.d(o,"PageBackground",(function(){return V})),n.d(o,"PageBackgroundImage",(function(){return Rn})),n.d(o,"PageShadow",(function(){return Nn})),n.d(o,"PageForeground",(function(){return Dn})),n.d(o,"PageContent",(function(){return Hn})),n.d(o,"PageScroller",(function(){return Wn})),n.d(o,"PageHeader",(function(){return Vn})),n.d(o,"PageText",(function(){return qn})),n.d(o,"PageLink",(function(){return Kn})),n.d(o,"PageThumbnail",(function(){return er})),n.d(o,"LazyLoadedPageThumbnail",(function(){return nr})),n.d(o,"PlayerControls",(function(){return Gr})),n.d(o,"CloseButton",(function(){return $r})),n.d(o,"MenuBar",(function(){return Ur})),n.d(o,"Icon",(function(){return dr})),n.d(o,"editorOnly",(function(){return Kr})),n.d(o,"withVisibilityWatching",(function(){return Vr})),n.d(o,"Draggable",(function(){return _r.a})),n.d(o,"Measure",(function(){return Tr.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return rn})),n.d(i,"pageAttributes",(function(){return on})),n.d(i,"pageIsActive",(function(){return sn})),n.d(i,"pageIsPrepared",(function(){return un})),n.d(i,"currentParentPageAttributes",(function(){return eo})),n.d(i,"currentParentChapterAttributes",(function(){return to})),n.d(i,"t",(function(){return Yr})),n.d(i,"setting",(function(){return no})),n.d(i,"file",(function(){return Xe})),n.d(i,"prop",(function(){return Yn})),n.d(i,"widgetAttributes",(function(){return io})),n.d(i,"editingWidget",(function(){return ao}));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"),c="PAGE_WILL_ACTIVATE",u="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",m="PAGE_CLEANUP",y="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(y,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 C(t,e,n){return e&&j(t.prototype,e),n&&j(t,n),t}function A(t){return(A="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"===A(Symbol.iterator)?function(t){return A(t)}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":A(t)})(t)}function M(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function R(t,e){return!e||"object"!==I(e)&&"function"!=typeof e?M(t):e}function N(t){return(N=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 L(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 B=n(0),F=n.n(B),U=n(5),W=n.n(U),H=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){return React.createElement("div",{className:W()("content_and_background",this.props.className)},this.props.children)}}]),e}(B.Component);function V(t){return React.createElement("div",{className:(e=t,n=e.pageHasPlayerControls,W()("page_background",{"page_background-for_page_with_player_controls":n}))},t.children);var e,n}var q=n(169),G=n.n(q);function z(t){return!!G()(t).match(/^\s*$/)}function Y(t){return t.replace(/_[a-z]/g,(function(t){return t[1].toUpperCase()}))}Y.keys=function(t){return Object.keys(t).reduce((function(e,n){return e[Y(n)]=t[n],e}),{})},Y.deep=function(t){return Array.isArray(t)?t.map(Y.deep):"object"==typeof t&&t?Object.keys(t).reduce((function(e,n){return e[Y(n)]=Y.deep(t[n]),e}),{}):t},Y.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 X=Y,$=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}),{})}},K=n(60),Q=n(120),J=Symbol("selectorFactory"),Z=Symbol("createSelector");function tt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return rt((function(t,n){var r=e.slice(0,-1).map(nt),o=e.slice(-1)[0],i=Q.createSelector.apply(void 0,Object(K.a)(r).concat([o]));if(t===Z)return i;if(t)return i(t,n);throw"Missing state argument for selector."}))}function et(t,e){return rt((function(){return Object(Q.createStructuredSelector)(function(t){return Object.keys(t).reduce((function(e,n){return e[n]=nt(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 nt(t){return"function"==typeof t&&t[J]?t(Z):t}function rt(t){return t[J]=!0,t}function ot(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return e&&e.has(t)}function it(t){return new Promise((function(e){var n=new Image;n.onload=e,n.onerror=e,n.src=t}))}var at=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){var t=this;return F.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/))it(e.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return W()(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 F.a.createElement(t,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),e}(F.a.Component);at.defaultProps={position:[50,50],fileCollection:"imageFiles"};var st=n(17),ct=Object(st.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 c: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 c: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 c:return e.payload.position||"top";case l:return null;default:return t}}});var ut="COLLECTION_RESET",lt="COLLECTION_ADD",ft="COLLECTION_CHANGE",pt="COLLECTION_REMOVE",dt="COLLECTION_ORDER";function ht(t){var e=t.collectionName,n=t.items;return{type:ut,meta:{collectionName:e},payload:{collectionName:e,items:n}}}function vt(t){var e=t.collectionName,n=t.attributes,r=t.order;return{type:lt,meta:{collectionName:e},payload:{attributes:n,order:r}}}function gt(t){var e=t.collectionName,n=t.attributes;return{type:ft,meta:{collectionName:e},payload:{attributes:n}}}function mt(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case lt:case ft: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 bt(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 wt=function(t){var e={};function n(n){return e[n]=e[n]||Object(st.c)({attributes:mt,state:Object(st.c)({custom:t[n]||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t},common:ct})}),e[n]}return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,o=mt(t.attributes,e);return n(o.type)(r(t,t.attributes,o),e)};function r(t,e,n){return e&&e.type!==n.type?bt({},t,{state:bt({},t.state,{custom:void 0})}):t}},Et=n(2),Ot=n.n(Et),xt=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 Pt(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 kt(t,e,n){return function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Pt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Pt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t,Object(a.a)({},_t(e),n))}function _t(t){return"__".concat(t,"_connectedId")}var St=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[_t(t)])?a[t].items[i]:null}}};function Tt(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 jt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Tt(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Tt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ct=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?mt:o,s={order:[],items:{}};return function(){var e,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,c=arguments.length>1?arguments[1]:void 0;if(!c.meta||c.meta.collectionName!=t)return o;switch(c.type){case ut:return{order:c.payload.items.map((function(t){return t[r]})),items:c.payload.items.reduce((function(t,e){return t[e[r]]=i(void 0,vt({collectioName:c.payload.collectioName,attributes:e})),t}),{})};case lt:return{order:c.payload.order,items:jt({},o.items,Object(a.a)({},c.payload.attributes[r],i(void 0,c)))};case ft:return n=c.payload.attributes[r],{order:o.order,items:jt({},o.items,Object(a.a)({},n,i(o.items[n],c)))};case pt:return n=c.payload.attributes[r],delete(e=jt({},o.items))[n],{order:c.payload.order,items:e};case dt:return{items:o.items,order:c.payload.order};default:if(c.meta.itemId){var u=o.items[c.meta.itemId],l=i(u,c);if(l!==u)return{order:o.order,items:jt({},o.items,Object(a.a)({},c.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 It(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 Mt(t,e){return t.meta&&t.meta.collectionName==e}function Rt(t){return t.meta&&t.meta.itemId}var Nt=n(3),Dt=n(7);function Lt(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var Bt=n(28),Ft=n.n(Bt),Ut=Ft.a.shape({trySubscribe:Ft.a.func.isRequired,tryUnsubscribe:Ft.a.func.isRequired,notifyNestedSubs:Ft.a.func.isRequired,isSubscribed:Ft.a.func.isRequired}),Wt=Ft.a.shape({subscribe:Ft.a.func.isRequired,dispatch:Ft.a.func.isRequired,getState:Ft.a.func.isRequired});F.a.forwardRef;var Ht=function(t){var e;void 0===t&&(t="store");var n=t+"Subscription",r=function(e){Lt(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 B.Children.only(this.props.children)},o}(B.Component);return r.propTypes={store:Wt.isRequired,children:Ft.a.element.isRequired},r.childContextTypes=((e={})[t]=Wt.isRequired,e[n]=Ut,e),r}();function Vt(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 Gt(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 zt=n(172),Yt=n.n(zt),Xt=n(96),$t=n.n(Xt),Kt=n(119),Qt=null,Jt={notify:function(){}};var Zt=function(){function t(t,e,n){this.store=t,this.parentSub=e,this.onStateChange=n,this.unsubscribe=null,this.listeners=Jt}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=Qt,t=Qt},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!==Qt&&(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=Jt)},t}(),te=void 0!==F.a.forwardRef,ee=0,ne={};function re(){}function oe(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,c=void 0===s?"connectAdvanced":s,u=o.renderCountProp,l=void 0===u?void 0:u,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,m=Gt(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),y=h+"Subscription",b=ee++,w=((n={})[h]=Wt,n[y]=Ut,n),E=((r={})[y]=Ut,r);return function(e){$t()(Object(Kt.isValidElementType)(e),"You must pass a component to the function returned by "+c+". Instead received "+JSON.stringify(e));var n=e.displayName||e.name||"Component",r=a(n),o=qt({},m,{getDisplayName:a,methodName:c,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(Vt(Vt(o))),$t()(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}Lt(i,n);var a=i.prototype;return a.getChildContext=function(){var t,e=this.propsMode?null:this.subscription;return(t={})[y]=e||this.context[y],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=re,this.store=null,this.selector.run=re,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return $t()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+c+"() 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)[y];this.subscription=new Zt(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(ne)):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[y]=this.subscription),e},a.render=function(){var t=this.selector;if(t.shouldComponentUpdate=!1,t.error)throw t.error;return Object(B.createElement)(e,this.addExtraProps(t.props))},i}(B.Component);return te&&(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,Yt()(i,e)}}var ie=Object.prototype.hasOwnProperty;function ae(t,e){return t===e?0!==t||0!==e||1/t==1/e:t!=t&&e!=e}function se(t,e){if(ae(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(!ie.call(e,n[o])||!ae(t[n[o]],e[n[o]]))return!1;return!0}function ce(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 le(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 fe=[function(t){return"function"==typeof t?le(t):void 0},function(t){return t?void 0:ce((function(t){return{dispatch:t}}))},function(t){return t&&"object"==typeof t?ce((function(e){return Object(st.b)(t,e)})):void 0}];var pe=[function(t){return"function"==typeof t?le(t):void 0},function(t){return t?void 0:ce((function(){return{}}))}];function de(t,e,n){return qt({},n,t,e)}var he=[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 c=t(e,n,s);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(t):void 0},function(t){return t?void 0:function(){return de}}];function ve(t,e,n,r){return function(o,i){return n(t(o,i),e(r,i),i)}}function ge(t,e,n,r,o){var i,a,s,c,u,l=o.areStatesEqual,f=o.areOwnPropsEqual,p=o.areStatePropsEqual,d=!1;function h(o,d){var h,v,g=!f(d,a),m=!l(o,i);return i=o,a=d,g&&m?(s=t(i,a),e.dependsOnOwnProps&&(c=e(r,a)),u=n(s,c,a)):g?(t.dependsOnOwnProps&&(s=t(i,a)),e.dependsOnOwnProps&&(c=e(r,a)),u=n(s,c,a)):m?(h=t(i,a),v=!p(h,s),s=h,v&&(u=n(s,c,a)),u):u}return function(o,l){return d?h(o,l):(s=t(i=o,a=l),c=e(r,a),u=n(s,c,a),d=!0,u)}}function me(t,e){var n=e.initMapStateToProps,r=e.initMapDispatchToProps,o=e.initMergeProps,i=Gt(e,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(t,i),s=r(t,i),c=o(t,i);return(i.pure?ge:ve)(a,s,c,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 be(t,e){return t===e}var we,Ee,Oe,xe,Pe,ke,_e,Se,Te,je,Ce,Ae,Ie=(Oe=(Ee=void 0===we?{}:we).connectHOC,xe=void 0===Oe?oe:Oe,Pe=Ee.mapStateToPropsFactories,ke=void 0===Pe?pe:Pe,_e=Ee.mapDispatchToPropsFactories,Se=void 0===_e?fe:_e,Te=Ee.mergePropsFactories,je=void 0===Te?he:Te,Ce=Ee.selectorFactory,Ae=void 0===Ce?me:Ce,function(t,e,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,c=void 0===s?be:s,u=o.areOwnPropsEqual,l=void 0===u?se:u,f=o.areStatePropsEqual,p=void 0===f?se:f,d=o.areMergedPropsEqual,h=void 0===d?se:d,v=Gt(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=ye(t,ke,"mapStateToProps"),m=ye(e,Se,"mapDispatchToProps"),y=ye(n,je,"mergeProps");return xe(Ae,qt({methodName:"connect",getDisplayName:function(t){return"Connect("+t+")"},shouldHandleStateChanges:Boolean(t),initMapStateToProps:g,initMapDispatchToProps:m,initMergeProps:y,pure:a,areStatesEqual:c,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Me(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 Re=function(t){var e=function(e){function n(){return T(this,n),R(this,N(n).apply(this,arguments))}return L(n,e),C(n,[{key:"getChildContext",value:function(){return Object(a.a)({},_t(t),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(F.a.Component);return e.childContextTypes=Object(a.a)({},_t(t),F.a.PropTypes.number),e};function Ne(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=X.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?Ne(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},r,{},X.deep(n)):r},Le=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,c=t.includeConfiguration,u=void 0!==c&&c;n(ht({collectionName:r,items:e.map(f)})),e.on("add",(function(t){t.isNew()||n(vt({collectionName:r,attributes:f(t)}))})),e.on("change:id",(function(t){n(vt({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(gt({collectionName:r,attributes:f(t)}))})),u&&e.on("change:configuration",(function(t){n(gt({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:pt,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:dt,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,u&&t.configuration.attributes)}},Be=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(ht({collectionName:n,items:e.map((function(t){return De(i,t,s&&t.configuration)}))}))},Fe=n(50),Ue=n.n(Fe),We=function(t){var e=t.collection,n=t.collectionName,r=t.dispatch,o=t.idAttribute,i=t.attributes,a=t.includeConfiguration;(Ue.a.Collection&&e instanceof Ue.a.Collection?Le:Be)({collection:e,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function He(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[X(t.attribute)];return t.negated?n!=t.value:n==t.value}(t.condition,n))return!1;var e=Ve(n,t);return r(X(t.collectionName),e)}))}function Ve(t,e){return"id"in e?e.id:t[X(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 Ge=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).replace(":pageflow_hls_qualities",(function(){return function(t){return["low","medium","high","fullhd","4k"].filter((function(e){return t.variants.includes(e)})).join(",")}(e)}));var i,a,s}(t,e,o,n);return i&&(r[o]=i),r}),{})},e)};function ze(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 Ye=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?ze(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ze(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{collectionName:t,modelType:n[t]})};function Xe(t,e){return tt(St(t,{namespace:"files"})(e),(function(t){return t.fileUrlTemplates}),(function(t){return t.modelTypes}),(function(e,n,r){return Ke(t,e,n,r)}))}function $e(){return tt((function(t){return t.files}),(function(t){return function(e,n){return n&&!!St(e)({id:n})(t)}}))}function Ke(t,e,n,r){return Ye(t,Ge(t,e,n),r)}function Qe(t){var e=t.page;return function(t,n){var r="function"==typeof e?e(n):e;return r?t.pageTypes[X(r.type)]:null}}function Je(t){var e=t.page,n=t.variant,r=void 0===n?"medium":n;return tt(e,$e(),(function(t){return t}),(function(t,e,n){if(t){var o=He({candidates:Qe({page:t})(n).thumbnailCandidates,page:t,fileExists:e});if(o){var i=Xe(X(o.collectionName),{id:Ve(t,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}var Ze=St("pages"),tn=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 en(){return tt(tn,(function(t){return t&&t.attributes}))}function nn(t){return tt(tn,(function(e){return e&&e.attributes[t]}))}function rn(t,e){return tt(Ze(e),(function(e){return e&&e.attributes[t]}))}function on(t){return tt(Ze(t),(function(t){return t&&t.attributes}))}function an(t,e){return tt(Ze(e),(function(e){return e&&e.state.custom[t]}))}function sn(t){return ln("isActive",t)}function cn(t){return ln("isPreloaded",t)}function un(t){return ln("isPrepared",t)}function ln(t,e){return tt(Ze(e),(function(e){return e&&e.state.common[t]}))}var fn=Ot.a.mark(dn),pn=Ot.a.mark(hn);function dn(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeLatest)([d,p,c],hn);case 2:case"end":return t.stop()}}),fn)}function hn(t){return Ot.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(Nt.call)(Dt.delay,5e3);case 3:return e.next=5,Object(Nt.put)(w());case 5:case"end":return e.stop()}}),pn)}var vn=Ot.a.mark(gn);function gn(t){return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t instanceof Ue.a.Collection){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Object(Dt.takeEvery)(y,Ot.a.mark((function e(n){return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Nt.call)(yn,{pagesCollection:t,id:Rt(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,Ot.a.mark((function e(n){return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Nt.call)(mn,{pagesCollection:t,pageId:Rt(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()}}),vn)}function mn(t){var e=t.pagesCollection,n=t.pageId,r=t.linkId,o=t.name,i=t.value,a=bn(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 yn(t){var e=t.pagesCollection,n=t.id,r=t.name,o=t.value;bn(e,n).configuration.set(r,o)}function bn(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 wn=function(t){var e=t.pages,n=t.pageTypeSagas;return(Ot.a.mark((function t(){var r;return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.delegateYield(dn(),"t0",1);case 1:return t.delegateYield(gn(e),"t1",2);case 2:return t.next=4,Object(Dt.takeEvery)(g,Ot.a.mark((function t(){var e,o;return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.select)(rn("type"));case 2:if(e=t.sent,!(o=n[e])){t.next=8;break}return t.next=7,Object(Nt.fork)(o);case 7:r=t.sent;case 8:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(Dt.takeEvery)(m,Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!r){t.next=3;break}return t.next=3,Object(Nt.cancel)(r);case 3:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),t)})))},En=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),e}(F.a.Component);En.childContextTypes={mediaContext:F.a.PropTypes.object};var On=n(42),xn=n.n(On),Pn=Re("pages"),kn=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){xn.a.render(F.a.createElement(Ht,{store:n},F.a.createElement(Pn,{itemId:_n(t)},F.a.createElement(En,{mediaContext:{page:t.page("instance")}},F.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:_n(t)}))},preload:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(f,t)}({id:_n(t)}))},prepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(p,t)}({id:_n(t)}))},unprepare:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(d,t)}({id:_n(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(c,e,{position:n})}({id:_n(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:_n(t)}))},deactivating:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(l,t)}({id:_n(t)}))},deactivated:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(u,t)}({id:_n(t)}))},resize:function(t){n.dispatch(function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(v,t)}({id:_n(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(m,t)}({id:_n(t)})),xn.a.unmountComponentAtNode(t[0])}}};function _n(t){return parseInt(t.attr("id"),10)}function Sn(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 Tn(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?Sn(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Sn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t))}var jn,Cn,An={init:function(t){var e=t.pages,n=t.dispatch;We({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:Ct("pages",{idAttribute:"permaId",itemReducer:wt(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=Ot.a.mark(l),r=Ot.a.mark(f),o=Ot.a.mark(p),i=Ot.a.mark(d),a=Ot.a.mark(h),s=e.itemSaga,c=e.middleware,u=xt(t);return l;function l(){var t;return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={},e.next=3,Object(Dt.takeEvery)([ut,lt,pt],f,t);case 3:case"end":return e.stop()}}),n)}function f(t){var e;return Ot.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(Nt.select)(u);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 Ot.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(Nt.cancel)(e[n])}));case 2:case"end":return n.stop()}}),o)}function d(t,e){var n;return Ot.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(Nt.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 Ot.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(Dt.runSaga)(s(),{subscribe:function(n){return c.subscribe((function(r){Mt(r,t)&&Rt(r)!=e||n(r)}))},dispatch:function(n){It(n,t,e),c.dispatch(n)},getState:function(){return kt(c.getState(),t,e)}}),r.prev=1,r.next=4,Object(Nt.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:wn({pages:e,pageTypeSagas:i}),middleware:o})}},In=(Cn=_t(jn="pages"),function(t,e,n){var r=Ie(t?function(e,n){var r=t(kt(e,jn,n[Cn]),n);return"function"==typeof r?function(t,e){return r(kt(t,jn,e[Cn]),e)}:r}:null,e?function(t,n){var r=function(e){return It(e,jn,n[Cn]),t(e)};return"function"==typeof e?e(r,n):Object(st.b)(e,r)}:null,n);return function(t){var e=r(t),n=function(t){function n(){return T(this,n),R(this,N(n).apply(this,arguments))}return L(n,t),C(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?Me(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},this.props,Object(a.a)({},Cn,this.context[Cn]));return F.a.createElement(e,t)}}]),n}(F.a.Component);return n.contextTypes=Object(a.a)({},Cn,F.a.PropTypes.number),n}});var Mn=In(et({loaded:cn()}))(at),Rn=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){var t=this.props.page,e=X.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return F.a.createElement(Mn,{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}(F.a.Component);Rn.defaultProps={propertyBaseName:"backgroundImage"};var Nn=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){return F.a.createElement("div",{className:"shadow_wrapper"},F.a.createElement("div",{className:W()("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}(F.a.Component),Dn=function(t){return F.a.createElement("div",{className:"content",onTouchStart:t.onInteraction,onMouseMove:t.onInteraction},t.children)},Ln=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(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:W()("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}(B.Component),Bn=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(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 F.a.createElement(Ln,{ref:"scroller",className:(t=this.props,W()(t.className,{"scroller-clipped_bottom":!!t.marginBottom})),style:Fn(this.props)},F.a.createElement("div",{className:"content_wrapper"},this.props.children));var t}}]),e}(F.a.Component);function Fn(t){if(t.marginBottom)return{bottom:t.marginBottom}}Bn.childContextTypes={pageScroller:F.a.PropTypes.object};var Un,Wn=In(et({enabled:ln("isActivated",Un),initialScrollerPosition:function(t){return ln("initialScrollerPosition",t)}()}))(Bn),Hn=function(t){return React.createElement(Dn,null,React.createElement(Wn,null,t.children))},Vn=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){return F.a.createElement("h3",{className:"page_header"},F.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),F.a.createElement("span",{className:"page_header-title"},this.props.page.title),F.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),e}(F.a.Component);function qn(t){return F.a.createElement("div",{className:Gn(t)},F.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:zn(t)}),t.children)}function Gn(t){return W()("page_text",Object(a.a)({},"page_text-margin_".concat(t.marginBottom),t.marginBottom!=qn.defaultProps.marginBottom))}function zn(t){return{__html:t.page.text}}function Yn(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 Xn(t){return function(e,n,r){return ot(t,r)}}qn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var $n=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){return F.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}(F.a.Component),Kn=Ie(et({targetPage:on({id:Yn("pageLink.targetPageId")})}))($n);function Qn(t){return React.createElement("div",{className:Jn(t)})}function Jn(t){return W()({load_image:t.lazy&&t.loaded},t.className,(e=t.pageType)?"is_".concat(e.name):"is_dangling",function(t){var e=He({candidates:Zn(t),page:t.page,fileExists:t.fileExists});if(e)return function(t,e){return[t.lazy?"lazy":null,e.cssClassPrefix,t.imageStyle,Ve(t.page,e)].filter(Boolean).join("_")}(t,e)}(t));var e}function Zn(t){return[tr(t)].concat(Object(K.a)((e=t.pageType)?e.thumbnailCandidates:[]));var e}function tr(t){return{id:t.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}Qn.defaultProps={imageStyle:"navigation_thumbnail_large"};var er=In(et({pageType:Qe({page:function(t){return t.page}}),fileExists:$e()}))(Qn),nr=In(et({loaded:cn(),lazy:!0}))(er);function rr(t){return W()("add_info_box",{empty:or(t),title_empty:z(t.title),description_empty:z(t.description),"add_info_box-hidden_during_playback":t.hiddenDuringPlayback})}function or(t){return z(t.title)&&z(t.description)}var ir=function(t){return React.createElement("div",{className:rr(t)},function(t){if(!z(t.title))return React.createElement("h3",null,t.title)}(t),function(t){if(!z(t.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:t.description}})}(t))};function ar(t){return React.createElement("div",{className:W()("controls",t.className),"data-role":"player_controls",onMouseEnter:t.onMouseEnter,onMouseLeave:t.onMouseLeave,onFocus:t.onFocus,onBlur:t.onBlur},t.children)}function sr(t){return F.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)}sr.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var cr=sr,ur=function(t){return React.createElement(cr,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"}))},lr=function(t){return React.createElement(cr,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"}))},fr={Checkmark:function(t){return React.createElement(cr,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(cr,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(cr,Object.assign({},t,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:ur,Info:lr,Pause:function(t){return React.createElement(cr,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(cr,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(cr,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"}))}},pr={toggleInfoBox:fr.Info,mediaQuality:fr.Gear,textTracks:fr.Subtitles,activeMenuItem:fr.Checkmark,loadingSpinner:fr.CircleWithNotch,play:fr.Play,pause:fr.Pause};function dr(t){var e=pr[t.name];if(!e)throw new Error('No icon registered for "'.concat(t.name,'".'));return F.a.createElement(e,t)}var hr=function(t){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(dr,{name:"loadingSpinner"}))},vr=function(t){return In(et({id:tt(sn(),(function(t){return t?"firstContent":void 0}))}))(t)};var gr=vr((function(t){return React.createElement("a",{className:mr(t),href:"#",tabIndex:"4",id:t.id,title:t.title,onClick:yr(t)},function(t){return t.iconName?React.createElement(dr,{name:t.iconName}):React.createElement("span",null)}(t))}));function mr(t){return W()("vjs-play-control",{"vjs-playing":t.isPlaying},{"player_controls-play_button-custom_icon":!!t.iconName})}function yr(t){return function(e){t.onClick&&t.onClick(e),e.preventDefault()}}function br(t){return React.createElement("div",{className:W()(t.className)},function(t){if(isNaN(t))return wr;var e=Math.floor(t)%60,n=Math.floor(t/60)%60,r=Math.floor(t/60/60);return r>0?"".concat(r,":").concat(Er(n),":").concat(Er(e)):"".concat(n,":").concat(Er(e))}(t.value))}var wr="-:--";function Er(t){return t<10?"0"+t:t}br.defaultProps={value:0};var Or=function(t){return React.createElement(br,{className:"vjs-current-time",value:t.currentTime})},xr=function(t){return React.createElement("div",{className:"vjs-time-divider"},"/")},Pr=function(t){return React.createElement(br,{className:"vjs-duration",value:t.duration})},kr=n(95),_r=n.n(kr),Sr=n(32),Tr=n.n(Sr),jr=37,Cr=39,Ar=function(t){function e(t,n){var r;return T(this,e),(r=R(this,N(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==jr?e=Math.max(0,r.props.currentTime-1):t.keyCode==Cr&&(e=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(e)},r}return L(e,t),C(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 F.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},F.a.createElement(Tr.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},F.a.createElement(kr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},F.a.createElement("div",{className:"vjs-progress-holder"},F.a.createElement("div",{className:"vjs-load-progress",style:{width:Ir(this.loadProgress())}}),F.a.createElement("div",{className:"vjs-play-progress",style:{width:Ir(this.playProgress())}}),F.a.createElement(Tr.a,{whitelist:["width"],onMeasure:this.measureHandle},F.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():Ir(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}(F.a.Component);function Ir(t){return t>0?100*t+"%":0}Ar.defaultProps={currentTime:0,bufferedEnd:0};var Mr=function(t){function e(t,n){var r;return T(this,e),(r=R(this,N(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 L(e,React.Component),C(e,[{key:"render",value:function(){var t=this,e=this.props;return React.createElement("div",{className:Rr(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:Lr(e,"link"),href:"#",tabIndex:"4",title:e.title,onClick:this.onLinkClick},React.createElement(dr,{className:Lr(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:Nr(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Dr(t,n.value,e)},function(t){if(t.active)return React.createElement(dr,{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:Lr(t,"sub_menu_item_annotation")},e.annotation)}(t,n)))}))}(t,e))}(e,this.closeMenu))}}]),e}();function Rr(t,e){return W()({"player_controls-menu_bar_button-sub_menu_visible":e},Lr(t))}function Nr(t){return W()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":t.active})}function Dr(t,e,n){return function(r){r.preventDefault(),n(),t.onSubMenuItemClick&&t.onSubMenuItemClick(e)}}function Lr(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 W()(["player_controls-menu_bar_button"].concat(n).join("_"),[t.className].concat(n).join("_"))}function Br(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Mr,{className:"player_controls-quality_menu_button",title:t.buttonTitle,iconName:"mediaQuality",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Fr(t){return t.items.length<2?React.createElement("noscript",null):React.createElement(Mr,{className:"player_controls-text_tracks_menu_button",title:t.buttonTitle,iconName:"textTracks",subMenuItems:t.items,onSubMenuItemClick:t.onItemClick})}function Ur(t){return React.createElement("div",{className:Wr(t)},function(t){return t.additionalButtons.map((function(e){return React.createElement(Mr,{title:e.label,iconName:e.iconName,className:e.className,key:e.name,onClick:Hr(t.onAdditionalButtonClick,e.name),onMouseEnter:Hr(t.onAdditionalButtonMouseEnter,e.name),onMouseLeave:Hr(t.onAdditionalButtonMouseLeave,e.name)})}))}(t),React.createElement(Fr,{buttonTitle:t.textTracksMenuButtonTitle,items:t.textTracksMenuItems,onItemClick:t.onTextTracksMenuItemClick}),React.createElement(Br,{buttonTitle:t.qualityMenuButtonTitle,items:t.qualityMenuItems,onItemClick:t.onQualityMenuItemClick}))}function Wr(t){return W()(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 Hr(t,e){if(t)return function(){return t(e)}}function Vr(t){return function(e){function n(t){var e;return T(this,n),(e=R(this,N(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 L(n,e),C(n,[{key:"componentDidMount",value:function(){this.element=xn.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 F.a.createElement(t,this.props)}}]),n}(F.a.Component)}function qr(t){return W()("vjs-control-bar",{with_quality_menu_present:t.qualityMenuItems&&t.qualityMenuItems.length>=2,with_text_tracks_menu_present:t.textTracksMenuItems&&t.textTracksMenuItems.length>=2})}Mr.defaultProps={subMenuItems:[]},Br.defaultProps={items:[]},Fr.defaultProps={items:[]},Ur.defaultProps={additionalButtons:[],standAlone:!0};var Gr=Vr((function(t){return F.a.createElement(ar,t,F.a.createElement("span",{className:"hint"},t.hint),F.a.createElement(ir,Object.assign({},t.infoBox,{hiddenDuringPlayback:t.infoBoxHiddenDuringPlayback})),F.a.createElement("div",{className:qr(t)},function(t){if(t.isLoading)return F.a.createElement(hr,t)}(t),F.a.createElement("div",{className:"play_button"},F.a.createElement(gr,{title:t.playButtonTitle,iconName:t.playButtonIconName,isPlaying:t.isPlaying,onClick:t.onPlayButtonClick})),function(t){if(t.hasProgress)return F.a.createElement("div",{className:"player_controls-progress"},F.a.createElement(Or,t),F.a.createElement(xr,null),F.a.createElement(Pr,t),F.a.createElement(Ar,t))}(t),F.a.createElement("div",{className:"control_bar_text"},t.controlBarText)),F.a.createElement(Ur,{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 zr(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 Yr=tt(Xr,(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?zr(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({locale:t},n))}}));function Xr(t){return t.i18n.locale}var $r=Ie(et({t:Yr}))((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")))})),Kr=function(t){return PAGEFLOW_EDITOR?t:function(){return!1}},Qr=St("chapters");var Jr=Qr,Zr=St("storylines");function to(){return function(t,e){var n=eo()(t,e);return n?Jr({id:n.chapterId})(t,e):null}}function eo(){return function(t,e){return on({id:function(t,e){return tt(Zr(e),(function(e){return e&&e[t]}))}("parentPagePermaId",{id:function(t,e){return tt(Qr(e),(function(e){return e&&e[t]}))}("storylineId",{id:rn("chapterId",{id:t.currentPageId})(t,e)})(t,e)})(t,e)})(t,e)}}function no(t){var e=t.property;return function(t){return t.settings[e]}}var ro=St("widgets");function oo(t,e){var n=e.role;return tt(ro({id:n}),(function(e){return e&&e[t]}))}function io(t){var e=t.role;return tt(ro({id:e}),(function(t){return t}))}function ao(t){var e=t.role;return tt(ro({id:e}),(function(t){return!(!t||!t.editing)}))}var so=function(t){return W()({is_playing:t.shouldPlay,is_playing_delayed:t.hasBeenPlayingJustNow,is_paused:!t.shouldPlay})},co="MEDIA_TOGGLE_PLAYING",uo="MEDIA_PLAY",lo="MEDIA_PLAY_AND_FADE_IN",fo="MEDIA_PAUSE",po="MEDIA_FADE_OUT_AND_PAUSE",ho="CHANGE_VOLUME_FACTOR",vo="MEDIA_PLAY_FAILED",go="MEDIA_PLAYING_MUTED",mo="MEDIA_SCRUB_TO",yo="MEDIA_SEEK_TO",bo="MEDIA_PREBUFFER",wo="MEDIA_PREBUFFERED",Eo="MEDIA_ABORT_PREBUFFERING",Oo="MEDIA_BUFFER_UNDERRUN",xo="MEDIA_BUFFER_UNDERRUN_CONTINUE",Po="MEDIA_META_DATA_LOADED",ko="MEDIA_PROGRESS",_o="MEDIA_PLAYING",So="MEDIA_PAUSED",To="MEDIA_TIME_UPDATE",jo="MEDIA_ENDED",Co="MEDIA_SEEKING",Ao="MEDIA_SEEKED",Io="MEDIA_WAITING",Mo="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",Ro="MEDIA_USER_INTERACTION",No="MEDIA_USER_IDLE",Do="MEDIA_CONTROLS_ENTERED",Lo="MEDIA_CONTROLS_LEFT",Bo="MEDIA_FOCUS_ENTERED_CONTROLS",Fo="MEDIA_FOCUS_LEFT_CONTROLS",Uo="MEDIA_CONTROLS_HIDDEN",Wo="SHOW_INFO_BOX_DURING_PLAYBACK",Ho="HIDE_INFO_BOX_DURING_PLAYBACK",Vo="TOGGLE_INFO_BOX_DURING_PLAYBACK",qo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Go="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function zo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return{togglePlaying:function(){return n(co)},play:function(){return n(uo)},playAndFadeIn:function(t){var e=t.fadeDuration;return n(lo,{fadeDuration:e})},pause:function(){return n(fo)},fadeOutAndPause:function(t){var e=t.fadeDuration;return n(po,{fadeDuration:e})},changeVolumeFactor:function(t,e){var r=e.fadeDuration;return n(ho,{volumeFactor:t,fadeDuration:r})},playFailed:function(){return n(vo)},playingMuted:function(){return n(go)},scrubTo:function(t){return n(mo,{time:t})},seekTo:function(t){return n(yo,{time:t})},prebuffer:function(){return n(bo)},prebuffered:function(){return n(wo)},abortPrebuffering:function(){return n(Eo)},bufferUnderrun:function(){return n(Oo)},bufferUnderrunContinue:function(){return n(xo)},playing:function(){return n(_o)},paused:function(){return n(So)},timeUpdate:function(t){var e=t.currentTime,r=t.duration;return n(To,{currentTime:e,duration:r})},metaDataLoaded:function(t){var e=t.currentTime,r=t.duration;return n(Po,{currentTime:e,duration:r})},progress:function(t){var e=t.bufferedEnd;return n(ko,{bufferedEnd:e})},ended:function(){return n(jo)},seeking:function(){return n(Co)},seeked:function(){return n(Ao)},waiting:function(){return n(Io)},hasNotBeenPlayingForAMoment:function(t){return n(Mo)},userInteraction:function(){return n(Ro)},userIdle:function(){return n(No)},controlsEntered:function(){return n(Do)},controlsLeft:function(){return n(Lo)},focusEnteredControls:function(){return n(Bo)},focusLeftControls:function(){return n(Fo)},controlsHidden:function(){return n(Uo)},showInfoBoxDuringPlayback:function(){return n(Wo)},hideInfoBoxDuringPlayback:function(){return n(Ho)},toggleInfoBoxDuringPlayback:function(){return n(Vo)},saveMediaElementId:function(t){return n(qo,{id:t})},discardMediaElementId:function(){return n(Go)}};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 Yo(t){return S({property:"textTrack",value:t?{srclang:t.srclang,kind:t.kind}:{}})}function Xo(t){return t.backgroundMedia.muted}function $o(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 Ko(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return an("media.".concat(void 0===t?"default":t))}function Qo(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,e=void 0===t?"default":t;return function(t){return Object(st.b)(zo({scope:e}),t)}}function Jo(t){var e=t.file,n=t.defaultTextTrackFileId,r=void 0===n?function(){}:n;return tt(no({property:"textTrack"}),no({property:"volume"}),Yr,Xr,function(t,e){var n=e.parent;return tt(xt(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(Ke(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?$o(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):$o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({displayLabel:Zo(t,n)},t)})),c=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:c,activeFileId:ti(s,c,t),mode:"off"==t.kind?"off":t.kind?"user":"auto"}}))}function Zo(t,e){return t.label||e("pageflow.public.languages."+t.srclang||!1,{defaultValue:e("pageflow.public.languages.unknown")})}function ti(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 ei(t){return tt(t.autoplayWhenBackgroundMediaMuted,ni({id:t.id}),Xo,(function(t,e,n){return e&&(!n||t)}))}function ni(t){return tt(rn("autoplay",t),(function(t){return!1!==t}))}function ri(t){var e=t.playerActions,n=t.playerState,r=t.playerControlsComponent;return F.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:ai(t),infoBoxHiddenDuringPlayback:si(t),onAdditionalButtonMouseEnter:e.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:e.hideInfoBoxDuringPlayback,onAdditionalButtonClick:e.toggleInfoBoxDuringPlayback,qualityMenuItems:ui(t.qualities,t.file,t.activeQuality,t.t),qualityMenuButtonTitle:t.t("pageflow.public.media_quality"),onQualityMenuItemClick:t.updateVideoQualitySetting,textTracksMenuItems:ci(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:ii(n)}))}ri.defaultProps={playerControlsComponent:Gr,qualities:[],textTracks:{files:[]}};var oi=Ie(et({activeQuality:no({property:"videoQuality"}),t:Yr}),{updateTextTrackSettings:Yo,updateVideoQualitySetting:function(t){return S({property:"videoQuality",value:t})}})(ri);function ii(t){return W()(so(t))}function ai(t){var e=t.t;return or(t.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:e("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function si(t){var e=t.playerState;return void 0===e.infoBoxHiddenDuringPlayback?!!t.textTracks.activeFileId:e.infoBoxHiddenDuringPlayback}function ci(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 ui(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 li(t){return function(e){return e.entry[t]}}function fi(t){var e=t.entrySlug,n=t.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(e,"/").concat(r,"/").concat(n.id)}var pi=Ie(et({t:Yr,entrySlug:li("slug")}))((function(t){return t.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:fi(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})),di=tt(an("media.pageScrollerMargin"),(function(t){return t&&t.bottom}));function hi(t){var e=t.page,n=t.playerState,r={title:e.additionalTitle,description:e.additionalDescription};return React.createElement(H,{className:mi(t.className,gi(t),t.textTracks,n)},React.createElement(V,{pageHasPlayerControls:!0},t.children,React.createElement(Nn,{page:e,className:so(n)})),React.createElement(Dn,{onInteraction:function(){return n.userIsIdle&&t.playerActions.userInteraction()},classNames:so(n)},React.createElement(oi,{file:t.file,textTracks:t.textTracks,playerState:n,playerActions:t.playerActions,qualities:t.qualities,controlBarText:t.controlBarText,infoBox:r,playerControlsComponent:t.playerControlsComponent}),React.createElement(Wn,{className:so(n),marginBottom:t.dynamicPageScrollerMargin&&t.pageScrollerMarginBottom},React.createElement(Vn,{page:e}),React.createElement(Zi,{page:e}),React.createElement(qn,{page:e,marginBottom:t.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(pi,{file:t.file})))))}hi.defaultProps={playerControlsCanOverlapPageText:!0};var vi=In(et({pageScrollerMarginBottom:di,textTracks:Jo({file:Yn("file"),defaultTextTrackFileId:Yn("page.defaultTextTrackFileId")}),hasAutoplaySupport:Xn("autoplay support"),shouldAutoplay:ei({id:Yn("page.permaId"),autoplayWhenBackgroundMediaMuted:Yn("autoplayWhenBackgroundMediaMuted")})}))(hi);function gi(t){return t.shouldAutoplay&&t.hasAutoplaySupport&&!t.playerState.playFailed}function mi(t,e,n,r){return W()(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 yi=In(et({pageIsPrepared:un(),pageIsPreloaded:cn(),atmoDuringPlayback:rn("atmoDuringPlayback"),defaultTextTrackFileId:rn("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)})),bi=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){var t=this;return F.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||!wi(t.sources,this.props.sources)||!wi(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}(F.a.Component);function wi(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 Ei(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}bi.defaultProps={tagName:"video",sources:[],tracks:[]};var Oi=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 xi(t,e,n){t.one("timeupdate",(function(){Pi(t,null,e(),n())}))}function Pi(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 ki,_i=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,c=void 0===s?Ei:s,u=function(t){function r(t,n){var o;return T(this,r),(o=R(this,N(r).call(this,t,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==e,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(e){o.player=c(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,(function(){})),s.isPlaying&&t.play(),t.on("canplay",(function(){n().shouldPlay&&t.paused()&&t.play()})),o.displaysTextTracksInNativePlayer||function(t,e,n){t.on("pause",(function(){xi(t,e,n)})),t.textTracks().on("addtrack",(function(){Pi(t,null,e(),n())})),Pi(t,null,e(),n()),xi(t,e,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),Oi(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 L(r,t),C(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||Pi(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 F.a.createElement(bi,{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}(F.a.Component);u.contextTypes={mediaContext:F.a.PropTypes.object},u.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=Ie(et({textTracks:Jo({file:Yn("file"),defaultTextTrackFileId:Yn("defaultTextTrackFileId")}),quality:no({property:"videoQuality"}),hasNativeVideoPlayer:Xn("native video player"),hasHighBandwidth:Xn("high bandwidth"),textTrackPosition:Ti}),{updateTextTrackSettings:Yo})(u);return l.WrappedComponent=u,l},Si=(ki="slimPlayerControls",function(t){return t.widgetPresence[ki]});function Ti(t,e){var n=e.playerState,r=e.textTrackPosition;return r||(Si(t)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var ji=_i({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 Ci(t,e){return e&&e.match(/^\/\//)?"".concat(t,":").concat(e):e}function Ai(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 Ii,Mi=Ie(et({isEnabled:(Ii="structured_data",function(t){return t.features.indexOf(Ii)>=0})}))((function(t){var e=t.data;return t.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}}):null}));var Ri=Ie(et({entryPublishedAt:li("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:e.basename,description:e.alt,url:Ci("https",e.urls.mp3),duration:Ai(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Mi,{data:r})}));function Ni(t){return React.createElement(yi,Object.assign({},t,{playerComponent:ji,structuredDataComponent:Ri}))}var Di=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 c=o*a,u=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-c)*l/100,top:(r.height-u)*f/100,width:c,height:u}}}};function Li(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 Bi(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 Fi(t){return F.a.createElement(Tr.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(e){return function(t,e){var n=Di(t.videoFile,t.fit,t.position,e);return F.a.createElement("div",{className:"uncropped_media_wrapper"},F.a.createElement("div",{className:Li(n,e),style:Ui(n)},t.children))}(t,e)}))}function Ui(t){return t&&function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bi(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({position:"absolute"},t)}var Wi=_i({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:qi});function Hi(t){return F.a.createElement(Fi,{videoFile:t.file,fit:t.fit,position:t.position},F.a.createElement(Wi,{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 Vi=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"componentDidMount",value:function(){var t=this.props,e=t.file,n=t.posterImageFile,r=t.preloadImage,o=qi(e,n);o&&r(o)}},{key:"render",value:function(){return null}}]),e}(F.a.Component);function qi(t,e){var n=ot("mobile platform")?"medium":"large";return e?e.urls[n]:t.urls["poster_".concat(n)]}Vi.defaultProps={preloadImage:it};var Gi=Ie(et({entryPublishedAt:li("publishedAt")}))((function(t){var e=t.file,n=t.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:e.basename,description:e.alt,url:Ci("https",e.urls.high),thumbnailUrl:Ci("https",e.urls.poster_medium),width:e.width,height:e.height,duration:Ai(e.durationInMs),datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Mi,{data:r})}));var zi=Ie(et({file:Xe("videoFiles",{id:Yn("videoFileId")}),posterImageFile:Xe("imageFiles",{id:Yn("posterImageFileId")}),muted:function(t,e){return e.muted||Xo(t)}}))((function(t){return React.createElement(yi,Object.assign({},t,{playerComponent:Hi,preloadComponent:Vi,structuredDataComponent:Gi}))}));function Yi(t){var e=t.page,n=X.concat(t.propertyNamePrefix,t.videoPropertyBaseName),r=X.concat(t.propertyNamePrefix,t.posterImagePropertyBaseName);return React.createElement(zi,{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})}Yi.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var Xi=Ie(et({fileExists:$e()}))((function(t){var e=function(t){return(e=t.propertyNamePrefix,[{propertyBaseName:X.concat(e,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:X.concat(e,"posterImage"),collection:"imageFiles"},{propertyBaseName:X.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(Rn,{page:t.page,propertyBaseName:e.propertyBaseName,fileCollection:e.collection}):React.createElement("noscript",null)}));var $i=Ie(et({fileExists:$e(),hasMobilePlatform:Xn("mobile platform"),hasAutoplaySupport:Xn("autoplay support")}))((function(t){return t.hasMobilePlatform&&function(t){var e=X.concat(t.propertyNamePrefix,"mobilePosterImageId");return t.fileExists("imageFiles",t.page[e])}(t)?React.createElement(Xi,{page:t.page,propertyNamePrefix:t.propertyNamePrefix}):React.createElement(Yi,Object.assign({loop:!0,fit:"cover",muted:!t.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},t))}));var Ki=Ie(et({file:Xe("imageFiles",{id:Yn("fileId")}),entryPublishedAt:li("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:Ci("https",e.urls.large),width:e.width,height:e.height,datePublished:n,uploadDate:e.createdAt,copyrightHolder:{"@type":"Organization",name:e.rights}};return React.createElement(Mi,{data:r})}return null}));var Qi=In(et({page:on(),playerState:Ko({scope:"background"})}),$({playerActions:Qo({scope:"background"})}))((function(t){var e=t.page,n=t.playerState,r=t.playerActions,o=t.propertyNamePrefix;return"video"==e[X.concat(o,"backgroundType")]?React.createElement($i,{page:e,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Rn,{page:e,propertyNamePrefix:o,structuredDataComponent:Ki})}));function Ji(t){return React.createElement(V,null,React.createElement(Qi,{propertyNamePrefix:t.propertyNamePrefix}),React.createElement(Nn,{page:t.page}))}var Zi=Ie(et({isEntryReady:function(t){return!!t.entry.isReady}}))((function(t){var e=t.page;return t.isEntryReady?"video"==e.backgroundType||"video"==e.type?React.createElement(ta,{videoId:e.videoFileId,posterImageId:e.posterImageId}):React.createElement(ea,{imageId:e.backgroundImageId}):null})),ta=Ie(et({videoFile:Xe("videoFiles",{id:Yn("videoId")}),posterImageFile:Xe("imageFiles",{id:Yn("posterImageId")})}))((function(t){var e=t.videoFile,n=t.posterImageFile;return n?React.createElement(na,{file:n}):React.createElement(na,{file:e})})),ea=In(et({file:Xe("imageFiles",{id:Yn("imageId")}),pageIsPrepared:un()}))(na);function na(t){var e=t.file;return e&&e.isReady&&un?React.createElement("img",{src:e.urls.print,alt:e.alt,className:"print_image"}):React.createElement("noscript",null)}function ra(t){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(t){if(!z(t.title))return React.createElement("h3",{className:oa(t)},t.title)}(t),function(t){if(!z(t.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:t.description}})}(t))}function oa(t){var e=!z(t.title)&&!z(t.description);return W()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":e})}var ia="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var aa=In(null,{setPageScrollerMarginBottom:function(t){return{type:ia,payload:{value:t},meta:{collectionName:"pages"}}}})((function(t){return React.createElement(Tr.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 sa=vr((function(t){return React.createElement("a",{href:"#",className:ca(t),id:t.id,tabIndex:"4",title:t.title,onClick:ua(t)},React.createElement(dr,{name:t.isPlaying?"pause":"play"}))}));function ca(t){return W()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":t.inverted})}function ua(t){return function(e){e.preventDefault(),t.onClick&&t.onClick()}}var la=n(173),fa=n.n(la),pa="rgba(170, 170, 170, 1)",da="rgba(0, 0, 0, 0.5)",ha="#fff",va="#888";var ga=In(et({pageIsPrepared:un(),waveformColor:rn("waveformColor"),mainColor:function(t){return t.theme.mainColor}}))((function(t){return t.pageIsPrepared&&t.mediaElementId?React.createElement(Tr.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(fa.a,{mediaElt:"#".concat(t.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:t.waveformColor||t.mainColor,waveColor:t.inverted?da:pa,cursorColor:t.inverted?va:ha,height:n}}),React.createElement(sa,{isPlaying:t.isPlaying,title:t.playButtonTitle,inverted:t.inverted,onClick:t.onPlayButtonClick})))})):null}));function ma(t){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(br,{value:t.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(br,{value:t.duration,className:"waveform_player_controls-times_display-duration"}))}var ya=In(et({inverted:rn("invert")}))((function(t){return React.createElement("div",{className:ba(t)},React.createElement(aa,null,React.createElement(ga,{isPlaying:t.isPlaying,inverted:t.inverted,playButtonTitle:t.playButtonTitle,mediaElementId:t.mediaElementId,onPlayButtonClick:t.onPlayButtonClick}),React.createElement(ma,{currentTime:t.currentTime,duration:t.duration}),React.createElement(ra,t.infoBox)),React.createElement(Ur,{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 ba(t){return W()("waveform_player_controls",{"waveform_player_controls-inverted":t.inverted})}var wa="HOTKEY_SPACE",Ea="HOTKEY_TAB";function Oa(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 xa(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Oa(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Oa(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Pa=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 c:return xa({},t,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return xa({},t,{shouldPrebuffer:!1});case uo:return xa({},t,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case _o:return xa({},t,{shouldPlay:!0,isPlaying:!0});case vo:return xa({},t,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case lo:return xa({},t,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:e.payload.fadeDuration,isLoading:!0});case fo:return xa({},t,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case So:return t.bufferUnderrun?xa({},t,{isPlaying:!1,hasPlayed:!0}):xa({},t,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case po:return xa({},t,{shouldPlay:!1,fadeDuration:e.payload.fadeDuration,isLoading:!1});case ho:return xa({},t,{volumeFactor:e.payload.volumeFactor,volumeFactorFadeDuration:e.payload.fadeDuration});case bo:return xa({},t,{shouldPrebuffer:!0});case wo:return xa({},t,{shouldPrebuffer:!1});case Io:return xa({},t,{isLoading:!0});case Oo:return xa({},t,{bufferUnderrun:!0});case xo:return xa({},t,{bufferUnderrun:!1});case mo:return xa({},t,{scrubbingAt:e.payload.time});case yo:return xa({},t,{shouldSeekTo:e.payload.time});case Co:return xa({},t,{isLoading:!0});case Ao:return xa({},t,{scrubbingAt:void 0,isLoading:!1});case Po:return xa({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration});case ko:return xa({},t,{bufferedEnd:e.payload.bufferedEnd});case To:return xa({},t,{currentTime:e.payload.currentTime,duration:e.payload.duration,isLoading:!1});case jo:return xa({},t,{shouldPlay:!1,isPlaying:!1});case Mo:return xa({},t,{hasBeenPlayingJustNow:!1});case Ea:case Ro:return xa({},t,{userIsIdle:!1,controlsHidden:!1});case No:return xa({},t,{userIsIdle:!0});case Do:return xa({},t,{userHoveringControls:!0});case Lo:return xa({},t,{userHoveringControls:!1});case Bo:return xa({},t,{focusInsideControls:!0});case Fo:return xa({},t,{focusInsideControls:!1});case Uo:return xa({},t,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Ho:return xa({},t,{infoBoxHiddenDuringPlayback:!0});case Wo:return xa({},t,{infoBoxHiddenDuringPlayback:!1});case Vo:return xa({},t,{infoBoxHiddenDuringPlayback:!t.infoBoxHiddenDuringPlayback});case qo:return xa({},t,{mediaElementId:e.payload.id});case Go:return xa({},t,{mediaElementId:null});default:return t}}};function ka(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 _a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ka(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ka(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Sa=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case ia:return _a({},t,{bottom:e.payload.value});default:return t}},Ta=Ot.a.mark(Ca),ja=Ot.a.mark(Aa);function Ca(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([wa,co],Aa,zo());case 2:case"end":return t.stop()}}),Ta)}function Aa(t){var e,n;return Ot.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=t.play,n=t.pause,r.next=3,Object(Nt.select)(Ko());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(Nt.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(Nt.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(Nt.put)(e());case 13:case"end":return r.stop()}}),ja)}var Ia=Ot.a.mark(Ra),Ma=Ot.a.mark(Na);function Ra(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)([vo,go],Na);case 2:case"end":return t.stop()}}),Ia)}function Na(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return t.stop()}}),Ma)}var Da="BACKGROUND_MEDIA_MUTE",La="BACKGROUND_MEDIA_UNMUTE";function Ba(){return{type:La}}var Fa=Ot.a.mark(Ya),Ua=Ot.a.mark(Xa),Wa=Ot.a.mark($a),Ha=Ot.a.mark(Ka),Va=zo(),qa=Va.play,Ga=Va.prebuffer,za=Va.waiting;function Ya(t){return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Dt.takeEvery)(s,Ot.a.mark((function e(n){return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(Nt.race)({task:Object(Nt.call)($a,t),cancel:Object(Nt.take)(l)}),Object(Nt.race)({task:Object(Nt.call)(Xa,t),cancel:Object(Nt.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),Fa)}function Xa(t){var e;return Ot.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(Nt.select)(ni());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(Nt.race)({unmute:Object(Nt.take)(La),cancel:Object(Nt.take)(l)});case 8:if(e=n.sent,!e.unmute){n.next=12;break}return n.delegateYield($a(t),"t1",12);case 12:case"end":return n.stop()}}),Ua)}function $a(t){var e;return Ot.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Ka(t),"t0",1);case 1:if(!(e=n.t0)){n.next=5;break}return n.next=5,Object(Nt.put)(za());case 5:return n.next=7,[Object(Nt.take)(wo),Object(Nt.put)(Ga())];case 7:if(!e){n.next=12;break}return n.next=10,Object(Nt.call)(Dt.delay,1e3);case 10:return n.next=12,Object(Nt.put)(qa());case 12:case"end":return n.stop()}}),Wa)}function Ka(t){var e,n,r;return Ot.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=t.canAutoplay,n=t.autoplayWhenBackgroundMediaMuted,o.next=3,Object(Nt.select)(ei({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&e);case 5:case"end":return o.stop()}}),Ha)}var Qa=Ot.a.mark(Ja);function Ja(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(uo,Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.select)(sn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Nt.call)(Za);case 5:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)([fo,jo],Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.select)(sn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Nt.call)(ts);case 5:case"end":return t.stop()}}),t)})));case 4:case"end":return t.stop()}}),Qa)}function Za(){pageflow.events.trigger("scroll_indicator:disable")}function ts(){pageflow.events.trigger("scroll_indicator:enable")}var es=Ot.a.mark(ns);function ns(){var t,e;return Ot.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=zo(),e=t.hasNotBeenPlayingForAMoment,n.next=3,Object(Dt.takeEvery)([fo,jo],Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.race)({task:Object(Nt.call)(Ot.a.mark((function t(n){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.call)(Dt.delay,700);case 2:return t.next=4,Object(Nt.put)(e(!1));case 4:case"end":return t.stop()}}),t)}))),cancel:Object(Nt.take)(_o)});case 2:case"end":return t.stop()}}),t)})));case 3:case"end":return n.stop()}}),es)}var rs=Ot.a.mark(is),os=Ot.a.mark(as);function is(){var t,e;return Ot.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=zo(),e=t.userIdle,n.next=3,Object(Dt.takeLatest)([uo,Ro,Ea],as,e);case 3:case"end":return n.stop()}}),rs)}function as(t){return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Nt.call)(Dt.delay,3e3);case 2:return e.next=4,Object(Nt.put)(t());case 4:case"end":return e.stop()}}),os)}var ss=Ot.a.mark(cs);function cs(){var t,e,n,r,o=arguments;return Ot.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=zo({scope:e}),r=n.fadeOutAndPause,i.next=4,Object(Dt.takeEvery)(u,Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.put)(r({fadeDuration:400}));case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return i.stop()}}),ss)}var us=Ot.a.mark(ls);function ls(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(jo,Ot.a.mark((function t(){var e,n;return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.select)(rn("autoChangePageOnEnded"));case 2:return e=t.sent,t.next=5,Object(Nt.select)(sn());case 5:if(n=t.sent,!e||!n){t.next=9;break}return t.next=9,Object(Nt.call)(fs);case 9:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),us)}function fs(){pageflow.slides.next()}var ps=Ot.a.mark(vs);function ds(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 hs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ds(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ds(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function vs(){var t,e,n=arguments;return Ot.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=n.length>0&&void 0!==n[0]?n[0]:{},e=[Ca(),Ra(),Ja()],t.playsInNativePlayer&&t.playsInNativePlayer()||e.push([ls(),cs(),ns()]),ot("mobile platform")||e.push([Ya(hs({},t,{canAutoplay:ot("autoplay support")}))]),t.hideControls&&e.push([is()]),r.next=7,e;case 7:case"end":return r.stop()}}),ps)}var gs=Ot.a.mark(bs),ms=Ot.a.mark(ws),ys=Ot.a.mark(Es);function bs(){var t,e,n,r=arguments;return Ot.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=zo({scope:e}),o.next=4,Object(Dt.takeEvery)(c,Ot.a.mark((function t(e){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(Nt.race)({task:[Object(Nt.put)(n.prebuffer()),Object(Nt.call)(ws,n),Object(Nt.call)(Es,n)],cancel:Object(Nt.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 4:case"end":return o.stop()}}),gs)}function ws(t){var e,n;return Ot.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(Nt.put)(e(0,{fadeDuration:0}));case 3:return r.next=5,Object(Nt.take)(wo);case 5:return r.next=7,Object(Nt.put)(n());case 7:case"end":return r.stop()}}),ms)}function Es(t){var e;return Ot.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=t.changeVolumeFactor,n.next=3,[Object(Nt.take)(wo),Object(Nt.take)(s)];case 3:return n.next=5,Object(Nt.put)(e(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),ys)}function Os(t){return{reducers:{"media.default":Pa({scope:"default"}),"media.pageScrollerMargin":Sa},saga:Ot.a.mark((function e(){return Ot.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,vs(t);case 2:case"end":return e.stop()}}),e)}))}}var xs={reducers:{"media.background":Pa({scope:"background"})},saga:Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[bs({scope:"background"}),cs({scope:"background"}),Ra()];case 2:case"end":return t.stop()}}),t)}))};var Ps=function(t){function e(t,n){var r;return T(this,e),(r=R(this,N(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 L(e,t),C(e,[{key:"render",value:function(){var t=this.props.page;return F.a.createElement(H,{className:W()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},F.a.createElement($r,{onClick:this.onCloseButtonClick}),F.a.createElement(Ur,{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}),F.a.createElement(V,{pageHasPlayerControls:!0},F.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),F.a.createElement(Nn,{page:t})),F.a.createElement(Dn,null,F.a.createElement(Gr,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:t.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:t.additionalTitle,description:t.additionalDescription}}),F.a.createElement(Wn,null,F.a.createElement(Vn,{page:t}),F.a.createElement(qn,{page:t}))))}}]),e}(F.a.Component),ks=In(et({textIsHidden:function(t){return t.hideText.isActive},textHasBeenHidden:function(t){return t.hideText.hasBeenActive}}))(Ps),_s="HIDE_TEXT_ACTIVATE",Ss="HIDE_TEXT_DEACTIVATE";var Ts=Ot.a.mark(js);function js(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Ss,Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.select)(sn());case 2:if(!t.sent){t.next=5;break}return t.next=5,Object(Nt.call)(Cs);case 5:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),Ts)}function Cs(){pageflow.events.trigger("scroll_indicator:enable")}var As={name:"interactivePageBackground",saga:js};function Is(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 Ms(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 Rs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ms(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ms(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Ns=new function(){var t=[];this.register=function(e,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=Is(n,["component","reduxModules"]);r||u("Requires component option to be present"),Array.isArray(i)||u("Expected reduxModules option to be an array.");var s=[],c=i.reduce((function(t,e){return"object"==typeof e&&3==new Set(Object.keys(e).concat(["name","reducers","saga"])).size||u("Expected redux module to be object with name, reducers and saga properties at most."),e.reducers&&"object"!=typeof e.reducers&&u("Expected reducers property of ".concat(e.name," reduxModule to be object.")),e.saga&&s.push(e.saga),Rs({},t,{},e.reducers)}),{});function u(t){throw new Error("".concat(t," Check registerPageType call of ").concat(e," page type."))}t.push(Rs({name:e,component:r,reducer:Object.keys(c).length?Object(st.c)(c):void 0,saga:Ot.a.mark((function t(){return Ot.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}))}},Ds=Ns.register;function Ls(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 Bs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ls(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ls(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Fs=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)}},Us=Fs.register,Ws=n(174),Hs={muted:!1},Vs=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Hs,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Da:return{muted:!0};case La:return{muted:!1};default:return t}};function qs(t){var e=t.t,n=t.muted,r=t.unmute;return n?F.a.createElement("div",{className:"background_media_unmute_button"},F.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 Gs={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||(n.on("background_media:mute",(function(t){return r({type:Da})})),n.on("background_media:unmute",(function(t){return r(Ba())})))},createReducers:function(){return{backgroundMedia:Vs}},createSaga:function(t){var e=t.backgroundMedia;return(Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(La,Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.call)((function(){return e.unmute()}));case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),t)})))}};function zs(t){return t.cookieNotice.visible}function Ys(t){return t.theming.privacy_link_url}var Xs="COOKIE_NOTICE_REQUEST",$s="COOKIE_NOTICE_DISMISS";function Ks(){return{type:$s}}function Qs(t){var e=t.isCookieNoticeVisible,n=t.editing,r=t.t,o=t.dismiss;return e||n?F.a.createElement("div",{className:"cookie_notice_bar"},F.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 F.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(t),F.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):F.a.createElement("noscript",null)}function Js(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 Zs(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Js(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Js(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var tc=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 Xs:return t.dismissed?t:Zs({},t,{visible:!0});case $s:return{dismissed:!0,visible:!1};default:return t}}},ec={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||n.on("cookie_notice:request",(function(){return r({type:Xs})}))},createReducers:function(t){var e=t.cookies;return{cookieNotice:tc({hasBeenDismissed:e&&e.hasItem("cookie_notice_dismissed")})}},createSaga:function(t){var e=t.widgetsApi,n=t.cookies;return(Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(Xs,Ot.a.mark((function t(){var n;return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.select)(zs);case 2:if(!t.sent){t.next=10;break}return t.next=5,Object(Nt.cps)(nc,e);case 5:return n=t.sent,t.next=8,Object(Nt.take)($s);case 8:return t.next=10,Object(Nt.call)(n);case 10:case"end":return t.stop()}}),t)})));case 2:return t.next=4,Object(Dt.takeEvery)($s,Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.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 nc(t,e){t.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(t){return e(null,t)}))}var rc={createReducers:function(t){var e=t.enabledFeatureNames;return{features:function(){return e}}}},oc="THEMING_INIT";var ic=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case oc:return e.payload.theming;default:return t}},ac={init:function(t){var e=t.theming;(0,t.dispatch)(function(t){return{type:oc,payload:{theming:t}}}(e))},createReducers:function(){return{theming:ic}}},sc={init:function(t){var e=t.storylines,n=t.dispatch;We({collection:e,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:Ct("storylines")}}},cc={init:function(t){var e=t.chapters,n=t.dispatch;We({collection:e,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:Ct("chapters")}}},uc="PAGE_TYPES_INIT";var lc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case uc:return e.payload.pageTypes;default:return t}},fc={createReducers:function(){return{pageTypes:lc}},init:function(t){var e=t.pageTypesSeed;(0,t.dispatch)(function(t){var e=t.pageTypes;return{type:uc,payload:{pageTypes:e}}}({pageTypes:X.deep(e)}))}},pc="CURRENT_PAGE_CHANGE";var dc=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 pc:return e.payload.id;default:return t}},hc=function(t,e){t.on("page:change",(function(t){return e(function(t){var e=t.id;return{type:pc,payload:{id:e}}}({id:t.getPermaId()}))}))},vc={init:function(t){var e=t.isServerSide,n=t.events,r=t.dispatch;e||hc(n,r)},createReducers:function(){return{currentPageId:dc}}},gc={init:function(t){var e=t.files,n=t.dispatch;Object.keys(e).forEach((function(t){We({collection:e[t],collectionName:X(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=X.keys(r),i=X.keys(i),{files:Object(st.c)(Object.keys(e).reduce((function(t,e){return t[e=X(e)]=Ct(e,{idAttribute:"permaId"}),t}),{})),fileUrlTemplates:function(t){return r},modelTypes:function(t){return i}}}},mc=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}},yc={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:mc}},createSaga:function(t){var e=t.settings;return(Ot.a.mark((function t(){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Dt.takeEvery)(k,Ot.a.mark((function t(n){return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.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 bc="I18N_INIT";var wc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case bc:return{locale:e.payload.locale};default:return t}},Ec={createReducers:function(){return{i18n:wc}},init:function(t){var e=t.locale;(0,t.dispatch)(function(t){var e=t.locale;return{type:bc,payload:{locale:e}}}({locale:e}))}},Oc="ENTRY_UPDATE",xc="ENTRY_READY";function Pc(t){var e=t.entry;return{type:Oc,payload:{entry:e}}}function kc(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 _c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?kc(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):kc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Sc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Oc:return _c({},t,{},e.payload.entry);case xc:return _c({},t,{isReady:!0});default:return t}},Tc={init:function(t){var e=t.entry,n=t.dispatch,r=t.events;t.isServerSide||r.once("ready",(function(){return n({type:xc})})),Ue.a.Model&&e instanceof Ue.a.Model?function(t){var e=t.entry,n=t.dispatch;jc({entry:e,dispatch:n}),e.metadata.on("change:title",(function(){jc({entry:e,dispatch:n})}))}({entry:e,dispatch:n}):function(t){var e=t.entry;(0,t.dispatch)(Pc({entry:{slug:e.slug,title:e.title,publishedAt:e.published_at}}))}({entry:e,dispatch:n})},createReducers:function(){return{entry:Sc}}};function jc(t){var e=t.entry;(0,t.dispatch)(Pc({entry:{slug:e.get("slug"),title:e.metadata.get("title")||e.get("entry_title"),publishedAt:null}}))}var Cc={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(wa,e)}({currentPageId:e})):9==t.keyCode&&o(function(t){var e=t.currentPageId;return x(Ea,e)}({currentPageId:e}))}))}},Ac=function(t,e){t.on("activate",(function(t){return e({type:_s})})),t.on("deactivate",(function(t){return e({type:Ss})}))};function Ic(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 Mc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ic(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ic(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Rc={isActive:!1,hasBeenActive:!1},Nc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rc,e=arguments.length>1?arguments[1]:void 0;switch(e.type){case _s:return{isActive:!0,hasBeenActive:!0};case Ss:return Mc({},t,{isActive:!1});case pc:return Mc({},t,{hasBeenActive:!1});default:return t}},Dc={init:function(t){var e=t.isServerSide,n=t.hideText,r=t.dispatch;e||Ac(n,r)},createReducers:function(){return{hideText:Nc}}},Lc={init:function(t){var e=t.widgets,n=t.dispatch;We({collection:e,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:Ct("widgets",{idAttribute:"role"})}}};var Bc="WIDGETS_LOAD";var Fc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Bc:return e.payload.widgets;default:return t}},Uc={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:Bc,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:Fc}}},Wc="THEME_INIT";var Hc=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case Wc:return e.payload;default:return t}},Vc={createReducers:function(){return{theme:Hc}},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:Wc,payload:e}))}}};function qc(t){return t.consent.uiVisible}function Gc(t){return t.consent.requestedVendors}var zc=function(t){return React.createElement(cr,Object.assign({},t,{viewBoxLeft:60,viewBoxTop:170,viewBoxWidth:90,viewBoxHeight:157}),React.createElement("path",{fill:"currentColor",d:"m 150.00015,296.99993 a 50,50 0 0 0 50.00004,-50.00005 50,50 0 0 0 -50.00004,-50.00004 H 50.000048 A 50,50 0 0 0 0,246.99988 50,50 0 0 0 50.000048,296.99993 Z"}),React.createElement("circle",{cx:"-150.0002",cy:"-246.99979",fill:"#fff",r:"40",transform:"scale(-1)"}),React.createElement("path",{fillOpacity:"0",stroke:"#fff",strokeWidth:"6",d:"M 87,227 50,264 34,246"}))},Yc=function(t){return React.createElement(cr,Object.assign({},t,{viewBoxLeft:60,viewBoxTop:170,viewBoxWidth:90,viewBoxHeight:157}),React.createElement("path",{fill:"currentColor",d:"M 188.97656 744.56641 A 188.97638 188.97638 0 0 0 0 933.54297 A 188.97638 188.97638 0 0 0 188.97656 1122.5195 L 566.92969 1122.5195 A 188.97638 188.97638 0 0 0 755.90625 933.54297 A 188.97638 188.97638 0 0 0 566.92969 744.56641 L 188.97656 744.56641 z ",transform:"scale(0.26458333)"}),React.createElement("circle",{id:"path3721-7",cx:"50",cy:"247",fill:"#ffffff",r:"40"}),React.createElement("path",{fillOpacity:"0",stroke:"#fff",strokeWidth:"6",d:"m 110.10252,271.89748 49.79539,-49.79494"}),React.createElement("path",{fillOpacity:"0",stroke:"#fff",strokeWidth:"6",d:"M 159.89746,271.89748 110.10252,222.10209"}))},Xc=function(t){function e(t){var n;return T(this,e),(n=R(this,N(e).call(this,t))).state={checked:t.defaultChecked},n.handleClick=n.onClick.bind(M(n)),n}return L(e,t),C(e,[{key:"onClick",value:function(){var t=!this.state.checked;this.setState({checked:t}),this.props.onChange({target:{checked:t}})}},{key:"render",value:function(){var t=this.state.checked,e=t?zc:Yc;return F.a.createElement("button",{id:this.props.id,className:this.props.className,role:"switch","aria-checked":t,onClick:this.handleClick},F.a.createElement(e,{width:50,height:35}))}}]),e}(F.a.Component),$c=function(t){function e(t){var n;return T(this,e),(n=R(this,N(e).call(this,t))).state={},n.handleVendorInfoClick=n.onVendorInfoClick.bind(M(n)),n}return L(e,t),C(e,[{key:"onVendorInfoClick",value:function(t){this.setState(Object(a.a)({},t,!this.state[t]))}},{key:"render",value:function(){return F.a.createElement("div",{className:"consent_vendor_list"},this.renderVendors())}},{key:"renderVendors",value:function(){var t=this;return this.props.vendors.length?this.props.vendors.map((function(e){var n="consent_vendor_list-vendor_".concat(e.name);return F.a.createElement("div",{key:n,className:"consent_vendor_list-vendor"},F.a.createElement("label",{htmlFor:n},e.displayName),F.a.createElement(Xc,{id:n,className:"consent_vendor_list-toggle",defaultChecked:"accepted"===e.state,onChange:function(n){return t.props.onVendorInputChange(e.name,n)}}),F.a.createElement("button",{className:"consent_vendor_list-expand_vendor",title:t.props.t("pageflow.public.consent_expand_vendor"),onClick:function(){return t.handleVendorInfoClick(e.name)}},F.a.createElement(lr,{width:20,height:20})),t.renderVendorDescription(e))})):F.a.createElement("div",{className:"consent_vendor_list-blank"},this.props.t("pageflow.public.consent_no_vendors"))}},{key:"renderVendorDescription",value:function(t){return this.state[t.name]?F.a.createElement("p",{dangerouslySetInnerHTML:{__html:t.description}}):null}}]),e}(F.a.Component),Kc="CONSENT_REQUEST",Qc="CONSENT_DENY_ALL",Jc="CONSENT_ACCEPT_ALL",Zc="CONSENT_SAVE";function tu(t){var e=t.vendors;return{type:Kc,payload:{vendors:e}}}function eu(){return{type:Qc}}function nu(){return{type:Jc}}function ru(t){return{type:Zc,payload:t}}function ou(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 iu(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ou(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ou(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var au=function(t){function e(t){var n;return T(this,e),(n=R(this,N(e).call(this,t))).state={checked:{}},n.handleSaveButtonClick=n.onSaveButtonClick.bind(M(n)),n.handleAcceptAllButtonClick=n.onAcceptAllButtonClick.bind(M(n)),n.handleDenyAllAllButtonClick=n.onDenyAllButtonClick.bind(M(n)),n.handleVendorInputChange=n.onVendorInputChange.bind(M(n)),n}return L(e,t),C(e,[{key:"onSaveButtonClick",value:function(){var t=this;if(!this.props.editing){var e=this.props.requestedVendors.reduce((function(e,n){var r=n.name;return iu({},e,Object(a.a)({},r,t.state.checked[r]||!1))}),{});this.props.save(e)}}},{key:"onAcceptAllButtonClick",value:function(){this.props.editing||this.props.acceptAll()}},{key:"onDenyAllButtonClick",value:function(){this.props.editing||this.props.denyAll()}},{key:"onVendorInputChange",value:function(t,e){this.setState({checked:iu({},this.state.checked,Object(a.a)({},t,e.target.checked))})}},{key:"render",value:function(){var t=this,e=this.props,n=e.editing,r=e.t,o=e.requestedVendors;return e.visible||n?F.a.createElement("div",{className:W()("consent_bar",{"consent_bar-expanded":this.state.showVendorBox})},F.a.createElement("div",{className:"consent_bar-content"},function(t){var e=t.privacyLinkUrl,n=t.t,r=t.locale,o=t.requestedVendors.map((function(t){return t.name})).join(","),i=n("pageflow.public.consent_prompt_html",{privacyLinkUrl:"".concat(e,"?lang=").concat(r,"&vendors=").concat(o,"#consent")});return F.a.createElement("span",{className:"consent_bar-text",dangerouslySetInnerHTML:{__html:i}})}(this.props),F.a.createElement("div",{className:"consent_bar-vendor_box"},F.a.createElement("h3",null,r("pageflow.public.consent_settings")),F.a.createElement($c,{vendors:o,t:r,onVendorInputChange:this.handleVendorInputChange}),F.a.createElement("button",{className:"consent_bar-save",onClick:this.handleSaveButtonClick},r("pageflow.public.consent_save"))),F.a.createElement("div",{className:"consent_bar-buttons"},F.a.createElement("button",{className:"consent_bar-configure",onClick:function(){return t.setState({showVendorBox:!t.state.showVendorBox})}},F.a.createElement(ur,{width:10,height:10}),r("pageflow.public.consent_configure")),F.a.createElement("div",{className:"consent_bar-decision_buttons"},F.a.createElement("button",{className:"consent_bar-deny_all",onClick:this.handleDenyAllAllButtonClick},r("pageflow.public.consent_deny_all")),F.a.createElement("button",{className:"consent_bar-accept_all",onClick:this.handleAcceptAllButtonClick},r("pageflow.public.consent_accept_all")))))):F.a.createElement("noscript",null)}}]),e}(F.a.Component);function su(t){var e=t&&t.match(/vendors=([^&]+)/);return e?e[1].split(","):[]}var cu={createReducers:function(){return{consent:(t={uiVisible:!1,requestedVendors:[]},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case Kc:return{requestedVendors:n.payload.vendors,uiVisible:!0};case Jc:case Qc:case Zc:return{uiVisible:!1};default:return e}})};var t},createSaga:function(t){t.widgetsApi;var e=t.consent;return(Ot.a.mark((function t(){var n,r,o,i,a;return Ot.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Nt.call)((function(){return e.requested()}));case 2:return n=t.sent,r=n.acceptAll,o=n.denyAll,i=n.save,a=n.vendors,t.next=9,Object(Nt.put)(tu({vendors:a}));case 9:return t.next=11,Object(Dt.takeEvery)(Jc,(function(){r()}));case 11:return t.next=13,Object(Dt.takeEvery)(Qc,(function(){o()}));case 13:return t.next=15,Object(Dt.takeEvery)(Zc,(function(t){i(t.payload)}));case 15:case"end":return t.stop()}}),t)})))}};function uu(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 lu=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:Ns,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,consent:t.consent,window:n?null:window},s=Object(Ws.a)([Gs,ec,rc,Ec,ac,Tc,vc,sc,cc,An,gc,yc,Dc,Lc,Uc,fc,Cc,Vc,cu],i);return n||(Ns.forEach((function(e){return t.pageType.register(e.name,function(t){return Tn(kn(t),t.mixin||{})}(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?uu(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):uu(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e,{Component:e.component,store:s})))})),Fs.forEach((function(e){var n=e.name,r=e.component;return t.widgetTypes.register(n,function(t,e){return{enhance:function(n){xn.a.render(React.createElement(Ht,{store:e},React.createElement(t,null)),n[0])}}}(r,s))}))),s},fu=Re("pages"),pu=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"componentWillMount",value:function(){this.store=lu({seed:this.props.resolverSeed}),this.pageComponent=Ns.findByName(this.props.pageType).component}},{key:"render",value:function(t){var e=this.pageComponent;return F.a.createElement(Ht,{store:this.store},F.a.createElement(fu,{itemId:this.props.pageId},F.a.createElement(e,null)))}}]),e}(F.a.Component),du=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"componentWillMount",value:function(){this.store=lu({seed:this.props.resolverSeed}),this.widgetComponent=Fs.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(t){var e=this.widgetComponent;return F.a.createElement(Ht,{store:this.store},F.a.createElement(e,null))}}]),e}(F.a.Component),hu=Re("pages"),vu=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"componentWillMount",value:function(){this.store=lu({seed:this.props.resolverSeed})}},{key:"render",value:function(t){return F.a.createElement(Ht,{store:this.store},F.a.createElement(hu,{itemId:this.props.pageId},F.a.createElement(Qi,null)))}}]),e}(F.a.Component);function gu(t){var e=t.page.audioPlayerControlsVariant;return React.createElement(vi,{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:mu(e),dynamicPageScrollerMargin:"waveform"==e,autoplayWhenBackgroundMediaMuted:!1},React.createElement(Qi,null),React.createElement(Ni,{file:t.audioFile,playerState:t.playerState,playerActions:t.playerActions,textTrackPosition:yu(e)}))}function mu(t){return"waveform"==t?ya:Gr}function yu(t){if("waveform"==t)return"top"}function bu(t){var e=t.page;return React.createElement(H,{className:"supports_text_position_center"},React.createElement(Ji,{page:e}),React.createElement(Dn,null,React.createElement(Wn,null,React.createElement(Vn,{page:e}),React.createElement(Zi,{page:e}),React.createElement(qn,{page:e}))))}var wu=["auto","4k","fullhd","medium"];function Eu(t){return React.createElement(vi,{className:"video_page supports_text_position_center",page:t.page,file:t.videoFile,qualities:wu,playerState:t.playerState,playerActions:t.playerActions,controlBarText:t.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Yi,{page:t.page,playerState:t.playerState,playerActions:t.playerActions,fit:t.page.contain?"contain":"smart_contain"}),React.createElement(Xi,{page:t.page}))}var Ou={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},xu=function(t){function e(t){var n;return T(this,e),(n=R(this,N(e).call(this,t))).state={fading:!1,hidden:!1},n}return L(e,t),C(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?F.a.createElement("div",{className:W()("loading_spinner",{fade:!t&&r}),onTouchMove:Pu,style:Ou},F.a.createElement("div",{className:"loading_inner"},F.a.createElement("div",{className:"left_circle"}),F.a.createElement("div",{className:"right_circle"}),F.a.createElement("div",{className:"loading_spinner_inner"},F.a.createElement("div",null)))):F.a.createElement("noscript",null)}}]),e}(F.a.Component);function Pu(t){t.preventDefault()}var ku=function(t){function e(t){var n;return T(this,e),(n=R(this,N(e).call(this,t))).state={hidden:!1,animating:!1},n}return L(e,t),C(e,[{key:"componentDidMount",value:function(){var t=this;PAGEFLOW_EDITOR?this.setState({hidden:!0,animating:!0}):(this.setState({animating:!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=Tu(this.props),a=F.a.createElement("div",{className:W()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),e||!r?F.a.createElement("div",{className:W()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(e){return t.hideOrLoop(e)},onTouchMove:_u,style:ju(this.props)},a,F.a.createElement("div",{className:"media_loading_spinner-image",style:Su(this.props)}),this.props.children):F.a.createElement("noscript",null)}}]),e}(F.a.Component);function _u(t){t.preventDefault()}function Su(t){var e=t.firstPageBackgroundImageUrlMedium,n=t.firstPageBackgroundImageUrlLarge,r=t.backgroundImage,o=t.blurStrength,i=t.backgroundImageX,a=t.backgroundImageY,s={x:null!=i?i:50,y:null!=a?a:50},c=0===o?r?r.urls.large:n:r?r.urls.medium:e;if(c){var u={backgroundImage:'url("'.concat(c,'")'),filter:"blur("+o+"px)"};return r&&(u.backgroundPosition="".concat(s.x,"% ").concat(s.y,"%")),u}}function Tu(t){return t.backgroundImage||null!=t.invert?t.invert:t.firstPageInvert}function ju(t){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:Tu(t)?"#fff":"#000",animationDelay:void 0!==t.animationDuration?t.animationDuration+"s":void 0}}var Cu=Ie(et({editing:ao({role:"loading_spinner"}),firstPageInvert:nn("invert"),firstPageBackgroundImageUrlMedium:Je({variant:"medium",page:en()}),firstPageBackgroundImageUrlLarge:Je({variant:"large",page:en()}),backgroundImage:Xe("imageFiles",{id:oo("customBackgroundImageId",{role:"loading_spinner"})}),backgroundImageX:oo("customBackgroundImageX",{role:"loading_spinner"}),backgroundImageY:oo("customBackgroundImageY",{role:"loading_spinner"}),invert:oo("invert",{role:"loading_spinner"}),removeLogo:oo("removeLogo",{role:"loading_spinner"}),blurStrength:oo("blurStrength",{role:"loading_spinner"}),animationDuration:oo("animationDuration",{role:"loading_spinner"})}))(ku);var Au=function(t){function e(){return T(this,e),R(this,N(e).apply(this,arguments))}return L(e,t),C(e,[{key:"render",value:function(){var t=this.props,e=t.title,n=t.subtitle,r=t.entryTitle,o=Tu(this.props),i=void 0!==this.props.animationDuration?this.props.animationDuration+"s":void 0;return F.a.createElement(Cu,null,F.a.createElement("div",{className:W()("media_loading_spinner-titles",{"media_loading_spinner-invert":o}),style:{animationDuration:i}},F.a.createElement("div",{className:"media_loading_spinner-title"},e||r),F.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),e}(F.a.Component);var Iu=n(97),Mu=n.n(Iu);function Ru(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}Ds("background_image",{component:In(et({page:on()}))(bu),reduxModules:[xs]}),Ds("video",{component:In(et({page:on(),videoFile:Xe("videoFiles",{id:rn("videoFileId")}),playerState:Ko(),t:Yr}),$({playerActions:Qo()}))(Eu),reduxModules:[Os({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:Xn("native video player")})]}),Ds("audio",{component:In(et({page:on(),audioFile:Xe("audioFiles",{id:rn("audioFileId")}),playerState:Ko(),t:Yr}),$({playerActions:Qo()}))(gu),reduxModules:[Os({retryOnUnmute:!0}),xs]}),Us("cookie_notice_bar",{component:Ie(et({isCookieNoticeVisible:zs,privacyLinkUrl:Ys,editing:ao({role:"cookie_notice"}),t:Yr,locale:Xr}),{dismiss:Ks})(Qs)}),Us("consent_bar",{component:Ie(et({privacyLinkUrl:Ys,editing:ao({role:"cookie_notice"}),t:Yr,locale:Xr,requestedVendors:Gc,visible:qc}),{acceptAll:nu,denyAll:eu,save:ru})(au)}),Us("unmute_button",{component:Ie(et({t:Yr,muted:Xo}),{unmute:Ba})(qs)}),Us("classic_loading_spinner",{component:Ie(et({editing:ao({role:"loading_spinner"})}))(xu)}),Us("title_loading_spinner",{component:Ie(et({firstPageInvert:nn("invert"),backgroundImage:Xe("imageFiles",{id:oo("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:li("title"),title:oo("title",{role:"loading_spinner"}),subtitle:oo("subtitle",{role:"loading_spinner"}),removeLogo:oo("removeLogo",{role:"loading_spinner"}),invert:oo("invert",{role:"loading_spinner"}),animationDuration:oo("animationDuration",{role:"loading_spinner"})}))(Au)}),Us("media_loading_spinner",{component:Cu}),Mu.a.events&&Mu.a.events.on("seed:loaded",(function(){return lu(Mu.a)}));e.default={components:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ru(Object(n),!0).forEach((function(e){Object(a.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ru(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({ConsentSettings:function(t){var e=t.consent,n=t.t,r=t.queryString,o=e.relevantVendors({include:su(r)});return F.a.createElement("div",null,F.a.createElement($c,{vendors:o,t:n,onVendorInputChange:function(t,n){n.target.checked?e.accept(t):e.deny(t)}}))},MediaPageBackground:Ji,PageWithInteractiveBackground:ks},o),actions:r,selectors:i,registerPageType:Ds,registerPageTypeWithDefaultBackground:function(t,e){Ds(t,{component:Qi,selectTargetElement:function(t){return t.find(".page_background_asset")[0]},mixin:Bs({scroller:!0},e),reduxModules:[xs]})},registerWidgetType:Us,mediaReduxModule:Os,mediaPageBackgroundReduxModule:xs,pageWithInteractiveBackgroundReduxModule:As,iconMapping:pr,SvgIcon:cr,classNames:W.a,connect:Ie,connectInPage:In,combineReducers:st.c,combine:$,ServerSidePage:pu,ServerSideWidget:du,ServerSidePageBackgroundAsset:vu}}]).default;
|
22
|
+
* @license BSD-3-Clause */o=this,void 0===(r=function(){return o.WaveSurfer=function(){"use strict";var e={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(t){if(this.params=e.util.extend({},this.defaultParams,t),this.container="string"==typeof t.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 t=this;this.drawer=Object.create(e.Drawer[this.params.renderer]),this.drawer.init(this.container,this.params),this.drawer.on("click",(function(e,n){setTimeout((function(){t.seekTo(n)}),0)})),this.drawer.on("scroll",(function(e){t.params.partialRender&&t.drawBuffer(),t.fireEvent("scroll",e)}))},createBackend:function(){var t=this;this.backend&&this.backend.destroy(),"AudioElement"==this.params.backend&&(this.params.backend="MediaElement"),"WebAudio"!=this.params.backend||e.WebAudio.supportsWebAudio()||(this.params.backend="MediaElement"),this.backend=Object.create(e[this.params.backend]),this.backend.init(this.params),this.backend.on("finish",(function(){t.fireEvent("finish")})),this.backend.on("play",(function(){t.fireEvent("play")})),this.backend.on("pause",(function(){t.fireEvent("pause")})),this.backend.on("audioprocess",(function(e){t.drawer.progress(t.backend.getPlayedPercents()),t.fireEvent("audioprocess",e)}))},createPeakCache:function(){this.params.partialRender&&(this.peakCache=Object.create(e.PeakCache),this.peakCache.init())},getDuration:function(){return this.backend.getDuration()},play:function(e,t){this.fireEvent("interaction",this.play.bind(this,e,t)),this.backend.play(e,t)},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(e){this.skip(-e||-this.params.skipLength)},skipForward:function(e){this.skip(e||this.params.skipLength)},skip:function(e){var t=this.getCurrentTime()||0,n=this.getDuration()||1;t=Math.max(0,Math.min(n,t+(e||0))),this.seekAndCenter(t/n)},seekAndCenter:function(e){this.seekTo(e),this.drawer.recenter(e)},seekTo:function(e){this.fireEvent("interaction",this.seekTo.bind(this,e));var t=this.backend.isPaused();t||this.backend.pause();var n=this.params.scrollParent;this.params.scrollParent=!1,this.backend.seekTo(e*this.getDuration()),this.drawer.progress(this.backend.getPlayedPercents()),t||this.backend.play(),this.params.scrollParent=n,this.fireEvent("seek",e)},stop:function(){this.pause(),this.seekTo(0),this.drawer.progress(0)},setVolume:function(e){this.backend.setVolume(e)},getVolume:function(){return this.backend.getVolume()},getCurrentTime:function(){return this.backend.getCurrentTime()},setCurrentTime:function(e){this.getDuration()>=e?this.seekTo(1):this.seekTo(e/this.getDuration())},setPlaybackRate:function(e){this.backend.setPlaybackRate(e)},getPlaybackRate:function(){return this.backend.getPlaybackRate()},toggleMute:function(){this.setMute(!this.isMuted)},setMute:function(e){e!==this.isMuted&&(e?(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(e){this.params.waveColor=e,this.drawBuffer()},getProgressColor:function(){return this.params.progressColor},setProgressColor:function(e){this.params.progressColor=e,this.drawBuffer()},getCursorColor:function(){return this.params.cursorColor},setCursorColor:function(e){this.params.cursorColor=e,this.drawer.updateCursor()},getHeight:function(){return this.params.height},setHeight:function(e){this.params.height=e,this.drawer.setHeight(e*this.params.pixelRatio)},drawBuffer:function(){var e=Math.round(this.getDuration()*this.params.minPxPerSec*this.params.pixelRatio),t=this.drawer.getWidth(),n=e,r=this.drawer.getScrollX(),o=Math.min(r+t,n);if(this.params.fillParent&&(!this.params.scrollParent||e<t)&&(r=0,o=n=t),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(e){this.params.minPxPerSec=e,this.params.scrollParent=!0,this.refresh(),this.drawer.recenter(this.getCurrentTime()/this.getDuration()),this.fireEvent("zoom",e)},refresh:function(){this.drawBuffer(),this.drawer.progress(this.backend.getPlayedPercents())},loadArrayBuffer:function(e){this.decodeArrayBuffer(e,function(e){this.isDestroyed||this.loadDecodedBuffer(e)}.bind(this))},loadDecodedBuffer:function(e){this.backend.load(e),this.drawBuffer(),this.fireEvent("ready")},loadBlob:function(e){var t=this,n=new FileReader;n.addEventListener("progress",(function(e){t.onProgress(e)})),n.addEventListener("load",(function(e){t.loadArrayBuffer(e.target.result)})),n.addEventListener("error",(function(){t.fireEvent("error","Error reading file")})),n.readAsArrayBuffer(e),this.empty()},load:function(e,t,n){switch(this.empty(),this.isMuted=!1,this.params.backend){case"WebAudio":return this.loadBuffer(e,t);case"MediaElement":return this.loadMediaElement(e,t,n)}},loadBuffer:function(e,t){var n=function(t){return t&&this.tmpEvents.push(this.once("ready",t)),this.getArrayBuffer(e,this.loadArrayBuffer.bind(this))}.bind(this);if(!t)return n();this.backend.setPeaks(t),this.drawBuffer(),this.tmpEvents.push(this.once("interaction",n))},loadMediaElement:function(e,t,n){var r=e;if("string"==typeof e)this.backend.load(r,this.mediaContainer,t,n);else{var o=e;this.backend.loadElt(o,t),r=o.src}this.tmpEvents.push(this.backend.once("canplay",function(){this.drawBuffer(),this.fireEvent("ready")}.bind(this)),this.backend.once("error",function(e){this.fireEvent("error",e)}.bind(this))),t&&this.backend.setPeaks(t),t&&!this.params.forceDecode||!this.backend.supportsWebAudio()||this.getArrayBuffer(r,function(e){this.decodeArrayBuffer(e,function(e){this.backend.buffer=e,this.backend.setPeaks(null),this.drawBuffer(),this.fireEvent("waveform-ready")}.bind(this))}.bind(this))},decodeArrayBuffer:function(e,t){this.arraybuffer=e,this.backend.decodeArrayBuffer(e,function(n){this.isDestroyed||this.arraybuffer!=e||(t(n),this.arraybuffer=null)}.bind(this),this.fireEvent.bind(this,"error","Error decoding audiobuffer"))},getArrayBuffer:function(t,n){var r=this,o=e.util.ajax({url:t,responseType:"arraybuffer"});return this.currentAjax=o,this.tmpEvents.push(o.on("progress",(function(e){r.onProgress(e)})),o.on("success",(function(e,t){n(e),r.currentAjax=null})),o.on("error",(function(e){r.fireEvent("error","XHR error: "+e.target.statusText),r.currentAjax=null}))),o},onProgress:function(e){if(e.lengthComputable)var t=e.loaded/e.total;else t=e.loaded/(e.loaded+1e6);this.fireEvent("loading",Math.round(100*t),e.target)},exportPCM:function(e,t,n,r){e=e||1024,r=r||0,t=t||1e4,n=n||!1;var o=this.backend.getPeaks(e,r),i=[].map.call(o,(function(e){return Math.round(e*t)/t})),a=JSON.stringify(i);return n||window.open("data:application/json;charset=utf-8,"+encodeURIComponent(a)),a},exportImage:function(e,t){return e||(e="image/png"),t||(t=1),this.drawer.getImage(e,t)},cancelAjax:function(){this.currentAjax&&(this.currentAjax.xhr.abort(),this.currentAjax=null)},clearTmpEvents:function(){this.tmpEvents.forEach((function(e){e.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(t){var n=Object.create(e);return n.init(t),n}};return e.util={requestAnimationFrame:(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e,t){setTimeout(e,1e3/60)}).bind(window),frame:function(t){return function(){var n=this,r=arguments;e.util.requestAnimationFrame((function(){t.apply(n,r)}))}},extend:function(e){return Array.prototype.slice.call(arguments,1).forEach((function(t){Object.keys(t).forEach((function(n){e[n]=t[n]}))})),e},debounce:function(e,t,n){var r,o,i,a=function(){i=null,n||e.apply(o,r)};return function(){o=this,r=arguments;var s=n&&!i;clearTimeout(i),(i=setTimeout(a,t))||(i=setTimeout(a,t)),s&&e.apply(o,r)}},min:function(e){var t=1/0;for(var n in e)e[n]<t&&(t=e[n]);return t},max:function(e){var t=-1/0;for(var n in e)e[n]>t&&(t=e[n]);return t},getId:function(){return"wavesurfer_"+Math.random().toString(32).substring(2)},ajax:function(t){var n=Object.create(e.Observer),r=new XMLHttpRequest,o=!1;return r.open(t.method||"GET",t.url,!0),r.responseType=t.responseType||"json",r.addEventListener("progress",(function(e){n.fireEvent("progress",e),e.lengthComputable&&e.loaded==e.total&&(o=!0)})),r.addEventListener("load",(function(e){o||n.fireEvent("progress",e),n.fireEvent("load",e),200==r.status||206==r.status?n.fireEvent("success",r.response,e):n.fireEvent("error",e)})),r.addEventListener("error",(function(e){n.fireEvent("error",e)})),r.send(),n.xhr=r,n}},e.Observer={on:function(e,t){this.handlers||(this.handlers={});var n=this.handlers[e];return n||(n=this.handlers[e]=[]),n.push(t),{name:e,callback:t,un:this.un.bind(this,e,t)}},un:function(e,t){if(this.handlers){var n=this.handlers[e];if(n)if(t)for(var r=n.length-1;r>=0;r--)n[r]==t&&n.splice(r,1);else n.length=0}},unAll:function(){this.handlers=null},once:function(e,t){var n=this,r=function(){t.apply(this,arguments),setTimeout((function(){n.un(e,r)}),0)};return this.on(e,r)},fireEvent:function(e){if(this.handlers){var t=this.handlers[e],n=Array.prototype.slice.call(arguments,1);t&&t.forEach((function(e){e.apply(null,n)}))}}},e.util.extend(e,e.Observer),e.WebAudio={scriptBufferSize:256,PLAYING_STATE:0,PAUSED_STATE:1,FINISHED_STATE:2,supportsWebAudio:function(){return!(!window.AudioContext&&!window.webkitAudioContext)},getAudioContext:function(){return e.WebAudio.audioContext||(e.WebAudio.audioContext=new(window.AudioContext||window.webkitAudioContext)),e.WebAudio.audioContext},getOfflineAudioContext:function(t){return e.WebAudio.offlineAudioContext||(e.WebAudio.offlineAudioContext=new(window.OfflineAudioContext||window.webkitOfflineAudioContext)(1,2,t)),e.WebAudio.offlineAudioContext},init:function(t){this.params=t,this.ac=t.audioContext||this.getAudioContext(),this.lastPlay=this.ac.currentTime,this.startPosition=0,this.scheduledPause=null,this.states=[Object.create(e.WebAudio.state.playing),Object.create(e.WebAudio.state.paused),Object.create(e.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(e){e&&e.disconnect()})),this.filters=null,this.analyser.connect(this.gainNode))},setState:function(e){this.state!==this.states[e]&&(this.state=this.states[e],this.state.init.call(this))},setFilter:function(){this.setFilters([].slice.call(arguments))},setFilters:function(e){this.disconnectFilters(),e&&e.length&&(this.filters=e,this.analyser.disconnect(),e.reduce((function(e,t){return e.connect(t),t}),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 e=this;this.scriptNode.onaudioprocess=function(){var t=e.getCurrentTime();t>=e.getDuration()?(e.setState(e.FINISHED_STATE),e.fireEvent("pause")):t>=e.scheduledPause?e.pause():e.state===e.states[e.PLAYING_STATE]&&e.fireEvent("audioprocess",t)}},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(e){this.gainNode.gain.value=e},getVolume:function(){return this.gainNode.gain.value},decodeArrayBuffer:function(e,t,n){this.offlineAc||(this.offlineAc=this.getOfflineAudioContext(this.ac?this.ac.sampleRate:44100)),this.offlineAc.decodeAudioData(e,function(e){t(e)}.bind(this),n)},setPeaks:function(e){this.peaks=e},setLength:function(e){if(!this.mergedPeaks||e!=2*this.mergedPeaks.length-1+2){this.splitPeaks=[],this.mergedPeaks=[];for(var t=this.buffer?this.buffer.numberOfChannels:1,n=0;n<t;n++)this.splitPeaks[n]=[],this.splitPeaks[n][2*(e-1)]=0,this.splitPeaks[n][2*(e-1)+1]=0;this.mergedPeaks[2*(e-1)]=0,this.mergedPeaks[2*(e-1)+1]=0}},getPeaks:function(e,t,n){if(this.peaks)return this.peaks;t=t||0,n=n||e-1,this.setLength(e);for(var r=this.buffer.length/e,o=~~(r/10)||1,i=this.buffer.numberOfChannels,a=0;a<i;a++)for(var s=this.splitPeaks[a],c=this.buffer.getChannelData(a),u=t;u<=n;u++){for(var l=~~(u*r),f=~~(l+r),p=0,d=0,h=l;h<f;h+=o){var v=c[h];v>d&&(d=v),v<p&&(p=v)}s[2*u]=d,s[2*u+1]=p,(0==a||d>this.mergedPeaks[2*u])&&(this.mergedPeaks[2*u]=d),(0==a||p<this.mergedPeaks[2*u+1])&&(this.mergedPeaks[2*u+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:e.WebAudio.audioContext=null,e.WebAudio.offlineAudioContext=null)},load:function(e){this.startPosition=0,this.lastPlay=this.ac.currentTime,this.buffer=e,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(e,t){if(this.buffer)return this.scheduledPause=null,null==e&&(e=this.getCurrentTime())>=this.getDuration()&&(e=0),null==t&&(t=this.getDuration()),this.startPosition=e,this.lastPlay=this.ac.currentTime,this.state===this.states[this.FINISHED_STATE]&&this.setState(this.PAUSED_STATE),{start:e,end:t}},getPlayedTime:function(){return(this.ac.currentTime-this.lastPlay)*this.playbackRate},play:function(e,t){if(this.buffer){this.createSource();var n=this.seekTo(e,t);e=n.start,t=n.end,this.scheduledPause=t,this.source.start(0,e,t-e),"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(e){e=e||1,this.isPaused()?this.playbackRate=e:(this.pause(),this.playbackRate=e,this.play())}},e.WebAudio.state={},e.WebAudio.state.playing={init:function(){this.addOnAudioProcess()},getPlayedPercents:function(){var e=this.getDuration();return this.getCurrentTime()/e||0},getCurrentTime:function(){return this.startPosition+this.getPlayedTime()}},e.WebAudio.state.paused={init:function(){this.removeOnAudioProcess()},getPlayedPercents:function(){var e=this.getDuration();return this.getCurrentTime()/e||0},getCurrentTime:function(){return this.startPosition}},e.WebAudio.state.finished={init:function(){this.removeOnAudioProcess(),this.fireEvent("finish")},getPlayedPercents:function(){return 1},getCurrentTime:function(){return this.getDuration()}},e.util.extend(e.WebAudio,e.Observer),e.MediaElement=Object.create(e.WebAudio),e.util.extend(e.MediaElement,{init:function(e){this.params=e,this.media={currentTime:0,duration:0,paused:!0,playbackRate:1,play:function(){},pause:function(){}},this.mediaType=e.mediaType.toLowerCase(),this.elementPosition=e.elementPosition,this.setPlaybackRate(this.params.audioRate),this.createTimer()},createTimer:function(){var e=this,t=function(){e.isPaused()||(e.fireEvent("audioprocess",e.getCurrentTime()),(window.requestAnimationFrame||window.webkitRequestAnimationFrame)(t))};this.on("play",t)},load:function(e,t,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=e,o.style.width="100%";var i=t.querySelector(this.mediaType);i&&t.removeChild(i),t.appendChild(o),this._load(o,n)},loadElt:function(e,t){var n=e;n.controls=this.params.mediaControls,n.autoplay=this.params.autoplay||!1,this._load(n,t)},_load:function(e,t){var n=this;"function"==typeof e.load&&e.load(),e.addEventListener("error",(function(){n.fireEvent("error","Error loading media element")})),e.addEventListener("canplay",(function(){n.fireEvent("canplay")})),e.addEventListener("ended",(function(){n.fireEvent("finish")})),e.addEventListener("play",(function(){n.fireEvent("play")})),e.addEventListener("pause",(function(){n.fireEvent("pause")})),this.media=e,this.peaks=t,this.onPlayEnd=null,this.buffer=null,this.setPlaybackRate(this.playbackRate)},isPaused:function(){return!this.media||this.media.paused},getDuration:function(){var e=(this.buffer||this.media).duration;return e>=1/0&&(e=this.media.seekable.end(0)),e},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(e){this.playbackRate=e||1,this.media.playbackRate=this.playbackRate},seekTo:function(e){null!=e&&(this.media.currentTime=e),this.clearPlayEnd()},play:function(e,t){this.seekTo(e),this.media.play(),t&&this.setPlayEnd(t)},pause:function(){this.media&&this.media.pause(),this.clearPlayEnd()},setPlayEnd:function(e){var t=this;this.onPlayEnd=function(n){n>=e&&(t.pause(),t.seekTo(e))},this.on("audioprocess",this.onPlayEnd)},clearPlayEnd:function(){this.onPlayEnd&&(this.un("audioprocess",this.onPlayEnd),this.onPlayEnd=null)},getPeaks:function(t,n,r){return this.buffer?e.WebAudio.getPeaks.call(this,t,n,r):this.peaks||[]},getVolume:function(){return this.media.volume},setVolume:function(e){this.media.volume=e},destroy:function(){this.pause(),this.unAll(),this.params.removeMediaElementOnDestroy&&this.media&&this.media.parentNode&&this.media.parentNode.removeChild(this.media),this.media=null}}),e.AudioElement=e.MediaElement,e.Drawer={init:function(e,t){this.container=e,this.params=t,this.width=0,this.height=t.height*this.params.pixelRatio,this.lastPos=0,this.initDrawer(t),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(e,t){!t&&e.preventDefault();var n,r=e.targetTouches?e.targetTouches[0].clientX:e.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 e=this;this.wrapper.addEventListener("click",(function(t){var n=e.wrapper.offsetHeight-e.wrapper.clientHeight;if(0!=n){var r=e.wrapper.getBoundingClientRect();if(t.clientY>=r.bottom-n)return}e.params.interact&&e.fireEvent("click",t,e.handleEvent(t))})),this.wrapper.addEventListener("scroll",(function(t){e.fireEvent("scroll",t)}))},drawPeaks:function(e,t,n,r){this.setWidth(t)||this.clearWave(),this.params.barWidth?this.drawBars(e,0,n,r):this.drawWave(e,0,n,r)},style:function(e,t){return Object.keys(t).forEach((function(n){e.style[n]!==t[n]&&(e.style[n]=t[n])})),e},resetScroll:function(){null!==this.wrapper&&(this.wrapper.scrollLeft=0)},recenter:function(e){var t=this.wrapper.scrollWidth*e;this.recenterOnPosition(t,!0)},recenterOnPosition:function(e,t){var n=this.wrapper.scrollLeft,r=~~(this.wrapper.clientWidth/2),o=e-r,i=o-n,a=this.wrapper.scrollWidth-this.wrapper.clientWidth;0!=a&&(!t&&-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(e){return this.width!=e&&(this.width=e,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(e){return e!=this.height&&(this.height=e,this.style(this.wrapper,{height:~~(this.height/this.params.pixelRatio)+"px"}),this.updateSize(),!0)},progress:function(e){var t=1/this.params.pixelRatio,n=Math.round(e*this.width)*t;if(n<this.lastPos||n-this.lastPos>=t){if(this.lastPos=n,this.params.scrollParent&&this.params.autoCenter){var r=~~(this.wrapper.scrollWidth*e);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(e,t){},clearWave:function(){},updateProgress:function(e){}},e.util.extend(e.Drawer,e.Observer),e.Drawer.Canvas=Object.create(e.Drawer),e.util.extend(e.Drawer.Canvas,{createElements:function(){var e=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:0,top:0,bottom:0,pointerEvents:"none"}));if(this.waveCc=e.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 t=this.progressWave.appendChild(document.createElement("canvas"));this.progressCc=t.getContext("2d")}},updateCursor:function(){this.style(this.progressWave,{borderRightWidth:this.params.cursorWidth+"px",borderRightColor:this.params.cursorColor})},updateSize:function(){var e=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:e+"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:e+"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:e.util.frame((function(t,n,r,o){var i=this;if(t[0]instanceof Array){var a=t;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(e,t){i.drawBars(e,t,r,o)}));t=a[0]}var s=1;[].some.call(t,(function(e){return e<0}))&&(s=2);var c=.5/this.params.pixelRatio,u=this.width,l=this.params.height*this.params.pixelRatio,f=l*n||0,p=l/2,d=t.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=e.util.max(t),b=e.util.min(t);y=-b>m?-b:m}var w=d/u;this.waveCc.fillStyle=this.params.waveColor,this.progressCc&&(this.progressCc.fillStyle=this.params.progressColor),[this.waveCc,this.progressCc].forEach((function(e){if(e)for(var n=r/w;n<o/w;n+=g){var i=t[Math.floor(n*w*s)]||0,a=Math.round(i/y*p);e.fillRect(n+c,p-a+f,h+c,2*a)}}),this)})),drawWave:e.util.frame((function(t,n,r,o){var i=this;if(t[0]instanceof Array){var a=t;if(this.params.splitChannels)return this.setHeight(a.length*this.params.height*this.params.pixelRatio),void a.forEach((function(e,t){i.drawWave(e,t,r,o)}));t=a[0]}if(![].some.call(t,(function(e){return e<0}))){for(var s=[],c=0,u=t.length;c<u;c++)s[2*c]=t[c],s[2*c+1]=-t[c];t=s}var l=.5/this.params.pixelRatio,f=this.params.height*this.params.pixelRatio,p=f*n||0,d=f/2,h=~~(t.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=e.util.max(t),m=e.util.min(t);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(e){if(e){for(e.beginPath(),e.moveTo(r*v+l,d+p),n=r;n<o;n++)i=Math.round(t[2*n]/g*d),e.lineTo(n*v+l,d-i+p);for(var n=o-1;n>=r;n--){var i=Math.round(t[2*n+1]/g*d);e.lineTo(n*v+l,d-i+p)}e.closePath(),e.fill(),e.fillRect(0,d+p-l,this.width,l)}}),this)})),updateProgress:function(e){this.style(this.progressWave,{width:e+"px"})},getImage:function(e,t){return this.waveCc.canvas.toDataURL(e,t)}}),e.Drawer.MultiCanvas=Object.create(e.Drawer),e.util.extend(e.Drawer.MultiCanvas,{initDrawer:function(e){if(this.maxCanvasWidth=null!=e.maxCanvasWidth?e.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 e=Math.round(this.width/this.params.pixelRatio),t=Math.ceil(e/this.maxCanvasElementWidth);this.canvases.length<t;)this.addCanvas();for(;this.canvases.length>t;)this.removeCanvas();this.canvases.forEach((function(e,t){var n=this.maxCanvasWidth+2*Math.ceil(this.params.pixelRatio/2);t==this.canvases.length-1&&(n=this.width-this.maxCanvasWidth*(this.canvases.length-1)),this.updateDimensions(e,n,this.height),this.clearWaveForEntry(e)}),this)},addCanvas:function(){var e={},t=this.maxCanvasElementWidth*this.canvases.length;e.wave=this.wrapper.appendChild(this.style(document.createElement("canvas"),{position:"absolute",zIndex:1,left:t+"px",top:0,bottom:0,height:"100%",pointerEvents:"none"})),e.waveCtx=e.wave.getContext("2d"),this.hasProgressCanvas&&(e.progress=this.progressWave.appendChild(this.style(document.createElement("canvas"),{position:"absolute",left:t+"px",top:0,bottom:0,height:"100%"})),e.progressCtx=e.progress.getContext("2d")),this.canvases.push(e)},removeCanvas:function(){var e=this.canvases.pop();e.wave.parentElement.removeChild(e.wave),this.hasProgressCanvas&&e.progress.parentElement.removeChild(e.progress)},updateDimensions:function(e,t,n){var r=Math.round(t/this.params.pixelRatio),o=Math.round(this.width/this.params.pixelRatio);e.start=e.waveCtx.canvas.offsetLeft/o||0,e.end=e.start+r/o,e.waveCtx.canvas.width=t,e.waveCtx.canvas.height=n,this.style(e.waveCtx.canvas,{width:r+"px"}),this.style(this.progressWave,{display:"block"}),this.hasProgressCanvas&&(e.progressCtx.canvas.width=t,e.progressCtx.canvas.height=n,this.style(e.progressCtx.canvas,{width:r+"px"}))},clearWave:function(){this.canvases.forEach((function(e){this.clearWaveForEntry(e)}),this)},clearWaveForEntry:function(e){e.waveCtx.clearRect(0,0,e.waveCtx.canvas.width,e.waveCtx.canvas.height),this.hasProgressCanvas&&e.progressCtx.clearRect(0,0,e.progressCtx.canvas.width,e.progressCtx.canvas.height)},drawBars:e.util.frame((function(t,n,r,o){if(t[0]instanceof Array){var i=t;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(e,t){this.drawBars(e,t,r,o)}),this);t=i[0]}var a=1;[].some.call(t,(function(e){return e<0}))&&(a=2);var s=this.width,c=this.params.height*this.params.pixelRatio,u=c*n||0,l=c/2,f=t.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=e.util.max(t),g=e.util.min(t);h=-g>v?-g:v}for(var y=f/s,m=r/y;m<o/y;m+=d){var b=t[Math.floor(m*y*a)]||0,w=Math.round(b/h*l);this.fillRect(m+this.halfPixel,l-w+u,p+this.halfPixel,2*w)}})),drawWave:e.util.frame((function(t,n,r,o){if(t[0]instanceof Array){var i=t;if(this.params.splitChannels)return this.setHeight(i.length*this.params.height*this.params.pixelRatio),void i.forEach((function(e,t){this.drawWave(e,t,r,o)}),this);t=i[0]}if(![].some.call(t,(function(e){return e<0}))){for(var a=[],s=0,c=t.length;s<c;s++)a[2*s]=t[s],a[2*s+1]=-t[s];t=a}var u=this.params.height*this.params.pixelRatio,l=u*n||0,f=u/2,p=1/this.params.barHeight;if(this.params.normalize){var d=e.util.max(t),h=e.util.min(t);p=-h>d?-h:d}this.drawLine(t,p,f,l,r,o);var v=t.length>0?0:this.params.fallbackProgressHeight;this.fillRect(0,f+l-this.halfPixel,this.width,this.halfPixel,v)})),drawLine:function(e,t,n,r,o,i){this.canvases.forEach((function(a){this.setFillStyles(a),this.drawLineToContext(a,a.waveCtx,e,t,n,r,o,i),this.drawLineToContext(a,a.progressCtx,e,t,n,r,o,i)}),this)},drawLineToContext:function(e,t,n,r,o,i,a,s){if(t){var c=n.length/2,u=1;this.params.fillParent&&this.width!=c&&(u=this.width/c);var l=Math.round(c*e.start),f=Math.round(c*e.end);if(!(l>s||f<a)){var p=Math.max(l,a),d=Math.min(f,s);for(t.beginPath(),t.moveTo((p-l)*u+this.halfPixel,o+i),g=p;g<d;g++){var h=n[2*g]||0,v=Math.round(h/r*o);t.lineTo((g-l)*u+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),t.lineTo((g-l)*u+this.halfPixel,o-v+i);t.closePath(),t.fill()}}},fillRect:function(e,t,n,r,o){o=o||0;for(var i=Math.floor(e/this.maxCanvasWidth),a=Math.min(Math.ceil((e+n)/this.maxCanvasWidth)+1,this.canvases.length),s=i;s<a;s++){var c=this.canvases[s],u=s*this.maxCanvasWidth,l={x1:Math.max(e,s*this.maxCanvasWidth),y1:t,x2:Math.min(e+n,s*this.maxCanvasWidth+c.waveCtx.canvas.width),y2:t+r};l.x1<l.x2&&(this.setFillStyles(c),this.fillRectToContext(c.waveCtx,l.x1-u,l.y1,l.x2-l.x1,l.y2-l.y1),this.fillRectToContext(c.progressCtx,l.x1-u,l.y1-o/2,l.x2-l.x1,l.y2-l.y1+o))}},fillRectToContext:function(e,t,n,r,o){e&&e.fillRect(t,n,r,o)},setFillStyles:function(e){e.waveCtx.fillStyle=this.params.waveColor,this.hasProgressCanvas&&(e.progressCtx.fillStyle=this.params.progressColor)},updateProgress:function(e){this.style(this.progressWave,{width:e+"px"})},getImage:function(e,t){var n=[];return this.canvases.forEach((function(r){n.push(r.wave.toDataURL(e,t))})),n.length>1?n:n[0]}}),e.Drawer.SplitWavePointPlot=Object.create(e.Drawer.Canvas),e.util.extend(e.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(e){var t=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(e.plotArray)?(this.plotArray=e.plotArray,this.plotArrayLoaded=!0):this.loadPlotArrayFromFile(e.plotFileUrl,(function(e){t.plotArray=e,t.plotArrayLoaded=!0,t.fireEvent("plot_array_loaded")}),this.params.plotFileDelimiter)},drawPeaks:function(e,t,n,r){if(1==this.plotArrayLoaded)this.setWidth(t),this.splitChannels=!0,this.params.height=this.params.height/2,e[0]instanceof Array&&(e=e[0]),this.params.barWidth?this.drawBars(e,1,n,r):this.drawWave(e,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(e,t,n,r)}))}},drawPlots:function(){var e=this.params.height*this.params.pixelRatio/2,t=.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=e-this.params.plotPointHeight-this.plotPoints[n]*(e-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,e,this.width,t)),this.params.plotRangeDisplay&&this.displayPlotRange()},displayPlotRange:function(){var e=this.params.plotRangeFontSize*this.params.pixelRatio,t=this.plotMax.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits,n=this.plotMin.toPrecision(this.params.plotRangePrecision)+" "+this.params.plotRangeUnits;this.waveCc.font=e.toString()+"px "+this.params.plotRangeFontType,this.waveCc.fillText(t,3,e),this.waveCc.fillText(n,3,this.height/2)},calculatePlots:function(){this.plotPoints={},this.calculatePlotTimeEnd();for(var e=[],t=-1,n=0,r=99999999999999,o=0,i=99999999999999,a=this.plotTimeEnd-this.plotTimeStart,s=0;s<this.plotArray.length;s++){var c=this.plotArray[s];if(c.value>n&&(n=c.value),c.value<r&&(r=c.value),c.time>=this.plotTimeStart&&c.time<=this.plotTimeEnd){var u=Math.round(this.width*(c.time-this.plotTimeStart)/a);if(e.push(c.value),u!==t&&e.length>0){var l=this.avg(e);l>o&&(o=l),l<i&&(i=l),this.plotPoints[t]=l,e=[]}t=u}}"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 e={};if("none"!==this.params.plotNormalizeTo){for(var t in this.plotPoints){var n=(this.plotPoints[t]-this.plotMin)/(this.plotMax-this.plotMin);n>1?this.params.plotRangeIgnoreOutliers||(e[t]=1):n<0?this.params.plotRangeIgnoreOutliers||(e[t]=0):e[t]=n}this.plotPoints=e}},loadPlotArrayFromFile:function(t,n,r){void 0===r&&(r="\t");var o=[],i={url:t,responseType:"text"};e.util.ajax(i).on("load",(function(e){if(200==e.currentTarget.status){for(var t=e.currentTarget.responseText.split("\n"),i=0;i<t.length;i++){var a=t[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(e){return e.reduce((function(e,t){return e+t}))/e.length}}),e.util.extend(e.Drawer.SplitWavePointPlot,e.Observer),e.PeakCache={init:function(){this.clearPeakCache()},clearPeakCache:function(){this.peakCacheRanges=[],this.peakCacheLength=-1},addRangeToPeakCache:function(e,t,n){e!=this.peakCacheLength&&(this.clearPeakCache(),this.peakCacheLength=e);for(var r=[],o=0;o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<t;)o++;for(o%2==0&&r.push(t);o<this.peakCacheRanges.length&&this.peakCacheRanges[o]<=n;)r.push(this.peakCacheRanges[o]),o++;o%2==0&&r.push(n),r=r.filter((function(e,t,n){return 0==t?e!=n[t+1]:t==n.length-1?e!=n[t-1]:e!=n[t-1]&&e!=n[t+1]})),this.peakCacheRanges=this.peakCacheRanges.concat(r),this.peakCacheRanges=this.peakCacheRanges.sort((function(e,t){return e-t})).filter((function(e,t,n){return 0==t?e!=n[t+1]:t==n.length-1?e!=n[t-1]:e!=n[t-1]&&e!=n[t+1]}));var i=[];for(o=0;o<r.length;o+=2)i.push([r[o],r[o+1]]);return i},getCacheRanges:function(){for(var e=[],t=0;t<this.peakCacheRanges.length;t+=2)e.push([this.peakCacheRanges[t],this.peakCacheRanges[t+1]]);return e}},function(){var t=function(){var t=document.querySelectorAll("wavesurfer");Array.prototype.forEach.call(t,(function(t){var n=e.util.extend({container:t,backend:"MediaElement",mediaControls:!0},t.dataset);t.style.display="block";var r=e.create(n);if(t.dataset.peaks)var o=JSON.parse(t.dataset.peaks);r.load(t.dataset.url,o)}))};"complete"===document.readyState?t():window.addEventListener("load",t)}(),e}()}.apply(t,[]))||(e.exports=r)},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,u=[],l=!1,f=-1;function p(){l&&c&&(l=!1,c.length?u=c.concat(u):f=-1,u.length&&d())}function d(){if(!l){var e=s(p);l=!0;for(var t=u.length;t;){for(c=u,u=[];++f<t;)c&&c[f].run();f=-1,t=u.length}c=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}function v(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.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(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";n.r(t);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 H})),n.d(o,"PageBackground",(function(){return V})),n.d(o,"PageBackgroundImage",(function(){return Rn})),n.d(o,"PageShadow",(function(){return Dn})),n.d(o,"PageForeground",(function(){return Nn})),n.d(o,"PageContent",(function(){return Hn})),n.d(o,"PageScroller",(function(){return Wn})),n.d(o,"PageHeader",(function(){return Vn})),n.d(o,"PageText",(function(){return qn})),n.d(o,"PageLink",(function(){return Kn})),n.d(o,"PageThumbnail",(function(){return tr})),n.d(o,"LazyLoadedPageThumbnail",(function(){return nr})),n.d(o,"PlayerControls",(function(){return Gr})),n.d(o,"CloseButton",(function(){return $r})),n.d(o,"MenuBar",(function(){return Ur})),n.d(o,"Icon",(function(){return dr})),n.d(o,"editorOnly",(function(){return Kr})),n.d(o,"withVisibilityWatching",(function(){return Vr})),n.d(o,"Draggable",(function(){return _r.a})),n.d(o,"Measure",(function(){return Tr.a}));var i={};n.r(i),n.d(i,"pageAttribute",(function(){return rn})),n.d(i,"pageAttributes",(function(){return on})),n.d(i,"pageIsActive",(function(){return sn})),n.d(i,"pageIsPrepared",(function(){return un})),n.d(i,"currentParentPageAttributes",(function(){return to})),n.d(i,"currentParentChapterAttributes",(function(){return eo})),n.d(i,"t",(function(){return Yr})),n.d(i,"setting",(function(){return no})),n.d(i,"file",(function(){return Xt})),n.d(i,"prop",(function(){return Yn})),n.d(i,"widgetAttributes",(function(){return io})),n.d(i,"editingWidget",(function(){return ao}));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"),c="PAGE_WILL_ACTIVATE",u="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 e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(h,e)}function E(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.name,r=e.value;return x(m,t,{name:n,value:r})}function O(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.pageId,n=e.linkId,r=e.name,o=e.value;return x(b,t,{linkId:n,name:r,value:o})}function x(e,t){return{type:e,meta:{collectionName:"pages",itemId:t},payload:arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}}}var P="SETTINGS_LOAD",k="SETTINGS_UPDATE";function _(e){var t=e.settings;return{type:P,payload:{settings:t}}}function S(e){var t=e.property,n=e.value;return{type:k,payload:{property:t,value:n}}}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function j(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(e,t,n){return t&&j(e.prototype,t),n&&j(e,n),e}function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e){return(I="function"==typeof Symbol&&"symbol"===A(Symbol.iterator)?function(e){return A(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":A(e)})(e)}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function R(e,t){return!t||"object"!==I(t)&&"function"!=typeof t?M(e):t}function D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function N(e,t){return(N=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&N(e,t)}var B=n(0),F=n.n(B),U=n(5),W=n.n(U),H=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){return React.createElement("div",{className:W()("content_and_background",this.props.className)},this.props.children)}}]),t}(B.Component);function V(e){return React.createElement("div",{className:(t=e,n=t.pageHasPlayerControls,W()("page_background",{"page_background-for_page_with_player_controls":n}))},e.children);var t,n}var q=n(169),G=n.n(q);function z(e){return!!G()(e).match(/^\s*$/)}function Y(e){return e.replace(/_[a-z]/g,(function(e){return e[1].toUpperCase()}))}Y.keys=function(e){return Object.keys(e).reduce((function(t,n){return t[Y(n)]=e[n],t}),{})},Y.deep=function(e){return Array.isArray(e)?e.map(Y.deep):"object"==typeof e&&e?Object.keys(e).reduce((function(t,n){return t[Y(n)]=Y.deep(e[n]),t}),{}):e},Y.concat=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter((function(e){return e})).reduce((function(e,t){return e+t[0].toUpperCase()+t.slice(1)}))};var X=Y,$=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return Object.keys(e).reduce((function(t,r){return"function"==typeof e[r]?t[r]=e[r].apply(e,n):t[r]=e[r],t}),{})}},K=n(60),Q=n(120),J=Symbol("selectorFactory"),Z=Symbol("createSelector");function ee(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return re((function(e,n){var r=t.slice(0,-1).map(ne),o=t.slice(-1)[0],i=Q.createSelector.apply(void 0,Object(K.a)(r).concat([o]));if(e===Z)return i;if(e)return i(e,n);throw"Missing state argument for selector."}))}function te(e,t){return re((function(){return Object(Q.createStructuredSelector)(function(e){return Object.keys(e).reduce((function(t,n){return t[n]=ne(e[n]),t}),{})}((t=e,Object.keys(t).reduce((function(e,n){return"function"==typeof t[n]?e[n]=t[n]:e[n]=function(){return t[n]},e}),{}))));var t}))}function ne(e){return"function"==typeof e&&e[J]?e(Z):e}function re(e){return e[J]=!0,e}function oe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:pageflow.browser;return t&&t.has(e)}function ie(e){return new Promise((function(t){var n=new Image;n.onload=t,n.onerror=t,n.src=e}))}var ae=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){var e=this;return F.a.createElement("div",{className:this.cssClass(),style:this.style(),ref:function(t){return e.element=t}},this.renderStructuredData())}},{key:"componentDidUpdate",value:function(e){this.props.loaded&&!e.loaded&&function(e){var t=window.getComputedStyle(e).getPropertyValue("background-image");if(t.match(/^url/))ie(t.replace(/^url\(['"]?/,"").replace(/['"]?\)$/,""))}(this.element)}},{key:"cssClass",value:function(){return W()(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(e){var t=this.props.position[e];return void 0===t?50:t}},{key:"renderStructuredData",value:function(){if(this.props.structuredDataComponent){var e=this.props.structuredDataComponent;return F.a.createElement(e,{fileCollection:this.props.fileCollection,fileId:this.props.fileId})}}}]),t}(F.a.Component);ae.defaultProps={position:[50,50],fileCollection:"imageFiles"};var se=n(17),ce=Object(se.c)({isPreloaded:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case f:return!0;default:return e}},isPrepared:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case p:case c:return!0;case h:return!1;default:return e}},isActive:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];switch((arguments.length>1?arguments[1]:void 0).type){case c:return!0;case l:return!1;default:return e}},isActivated:function(){var e=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 e}},initialScrollerPosition:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case c:return t.payload.position||"top";case l:return null;default:return e}}});var ue="COLLECTION_RESET",le="COLLECTION_ADD",fe="COLLECTION_CHANGE",pe="COLLECTION_REMOVE",de="COLLECTION_ORDER";function he(e){var t=e.collectionName,n=e.items;return{type:ue,meta:{collectionName:t},payload:{collectionName:t,items:n}}}function ve(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:le,meta:{collectionName:t},payload:{attributes:n,order:r}}}function ge(e){var t=e.collectionName,n=e.attributes;return{type:fe,meta:{collectionName:t},payload:{attributes:n}}}function ye(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case le:case fe:return t.payload.attributes;default:return e}}function me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?me(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var we=function(e){var t={};function n(n){return t[n]=t[n]||Object(se.c)({attributes:ye,state:Object(se.c)({custom:e[n]||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e},common:ce})}),t[n]}return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,o=ye(e.attributes,t);return n(o.type)(r(e,e.attributes,o),t)};function r(e,t,n){return t&&t.type!==n.type?be({},e,{state:be({},e.state,{custom:void 0})}):e}},Ee=n(2),Oe=n.n(Ee),xe=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.namespace;return function(t){if(n){if(!t[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));t=t[n]}return t[e].items||{}}};function Pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ke(e,t,n){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,Object(a.a)({},_e(t),n))}function _e(e){return"__".concat(e,"_connectedId")}var Se=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.namespace;return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.id;return function(t,o){var i=r,a=t;if(n){if(!t[n])throw new Error("Cannot select from unknown namespace ".concat(n,"."));a=t[n]}if(!a[e])throw new Error("Cannot select from unknown collection ".concat(e,"."));return"function"==typeof r&&(i=r(t,o)),(i=i||t[_e(e)])?a[e].items[i]:null}}};function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.idAttribute,r=void 0===n?"id":n,o=t.itemReducer,i=void 0===o?ye:o,s={order:[],items:{}};return function(){var t,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,c=arguments.length>1?arguments[1]:void 0;if(!c.meta||c.meta.collectionName!=e)return o;switch(c.type){case ue:return{order:c.payload.items.map((function(e){return e[r]})),items:c.payload.items.reduce((function(e,t){return e[t[r]]=i(void 0,ve({collectioName:c.payload.collectioName,attributes:t})),e}),{})};case le:return{order:c.payload.order,items:je({},o.items,Object(a.a)({},c.payload.attributes[r],i(void 0,c)))};case fe:return n=c.payload.attributes[r],{order:o.order,items:je({},o.items,Object(a.a)({},n,i(o.items[n],c)))};case pe:return n=c.payload.attributes[r],delete(t=je({},o.items))[n],{order:c.payload.order,items:t};case de:return{items:o.items,order:c.payload.order};default:if(c.meta.itemId){var u=o.items[c.meta.itemId],l=i(u,c);if(l!==u)return{order:o.order,items:je({},o.items,Object(a.a)({},c.meta.itemId,l))}}return o}}};function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ie(e,t,n){e.meta&&e.meta.collectionName==t&&!e.meta.itemId&&(e.meta=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e.meta,{itemId:n}))}function Me(e,t){return e.meta&&e.meta.collectionName==t}function Re(e){return e.meta&&e.meta.itemId}var De=n(3),Ne=n(7);function Le(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var Be=n(28),Fe=n.n(Be),Ue=Fe.a.shape({trySubscribe:Fe.a.func.isRequired,tryUnsubscribe:Fe.a.func.isRequired,notifyNestedSubs:Fe.a.func.isRequired,isSubscribed:Fe.a.func.isRequired}),We=Fe.a.shape({subscribe:Fe.a.func.isRequired,dispatch:Fe.a.func.isRequired,getState:Fe.a.func.isRequired});F.a.forwardRef;var He=function(e){var t;void 0===e&&(e="store");var n=e+"Subscription",r=function(t){Le(o,t);var r=o.prototype;function o(n,r){var o;return(o=t.call(this,n,r)||this)[e]=n.store,o}return r.getChildContext=function(){var t;return(t={})[e]=this[e],t[n]=null,t},r.render=function(){return B.Children.only(this.props.children)},o}(B.Component);return r.propTypes={store:We.isRequired,children:Fe.a.element.isRequired},r.childContextTypes=((t={})[e]=We.isRequired,t[n]=Ue,t),r}();function Ve(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function qe(){return(qe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function Ge(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}var ze=n(172),Ye=n.n(ze),Xe=n(96),$e=n.n(Xe),Ke=n(119),Qe=null,Je={notify:function(){}};var Ze=function(){function e(e,t,n){this.store=e,this.parentSub=t,this.onStateChange=n,this.unsubscribe=null,this.listeners=Je}var t=e.prototype;return t.addNestedSub=function(e){return this.trySubscribe(),this.listeners.subscribe(e)},t.notifyNestedSubs=function(){this.listeners.notify()},t.isSubscribed=function(){return Boolean(this.unsubscribe)},t.trySubscribe=function(){this.unsubscribe||(this.unsubscribe=this.parentSub?this.parentSub.addNestedSub(this.onStateChange):this.store.subscribe(this.onStateChange),this.listeners=function(){var e=[],t=[];return{clear:function(){t=Qe,e=Qe},notify:function(){for(var n=e=t,r=0;r<n.length;r++)n[r]()},get:function(){return t},subscribe:function(n){var r=!0;return t===e&&(t=e.slice()),t.push(n),function(){r&&e!==Qe&&(r=!1,t===e&&(t=e.slice()),t.splice(t.indexOf(n),1))}}}}())},t.tryUnsubscribe=function(){this.unsubscribe&&(this.unsubscribe(),this.unsubscribe=null,this.listeners.clear(),this.listeners=Je)},e}(),et=void 0!==F.a.forwardRef,tt=0,nt={};function rt(){}function ot(e,t){var n,r;void 0===t&&(t={});var o=t,i=o.getDisplayName,a=void 0===i?function(e){return"ConnectAdvanced("+e+")"}:i,s=o.methodName,c=void 0===s?"connectAdvanced":s,u=o.renderCountProp,l=void 0===u?void 0:u,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=Ge(o,["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef"]),m=h+"Subscription",b=tt++,w=((n={})[h]=We,n[m]=Ue,n),E=((r={})[m]=Ue,r);return function(t){$e()(Object(Ke.isValidElementType)(t),"You must pass a component to the function returned by "+c+". Instead received "+JSON.stringify(t));var n=t.displayName||t.name||"Component",r=a(n),o=qe({},y,{getDisplayName:a,methodName:c,renderCountProp:l,shouldHandleStateChanges:p,storeKey:h,withRef:g,displayName:r,wrappedComponentName:n,WrappedComponent:t}),i=function(n){function i(e,t){var o;return(o=n.call(this,e,t)||this).version=b,o.state={},o.renderCount=0,o.store=e[h]||t[h],o.propsMode=Boolean(e[h]),o.setWrappedInstance=o.setWrappedInstance.bind(Ve(Ve(o))),$e()(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}Le(i,n);var a=i.prototype;return a.getChildContext=function(){var e,t=this.propsMode?null:this.subscription;return(e={})[m]=t||this.context[m],e},a.componentDidMount=function(){p&&(this.subscription.trySubscribe(),this.selector.run(this.props),this.selector.shouldComponentUpdate&&this.forceUpdate())},a.componentWillReceiveProps=function(e){this.selector.run(e)},a.shouldComponentUpdate=function(){return this.selector.shouldComponentUpdate},a.componentWillUnmount=function(){this.subscription&&this.subscription.tryUnsubscribe(),this.subscription=null,this.notifyNestedSubs=rt,this.store=null,this.selector.run=rt,this.selector.shouldComponentUpdate=!1},a.getWrappedInstance=function(){return $e()(g,"To access the wrapped instance, you need to specify { withRef: true } in the options argument of the "+c+"() call."),this.wrappedInstance},a.setWrappedInstance=function(e){this.wrappedInstance=e},a.initSelector=function(){var t=e(this.store.dispatch,o);this.selector=function(e,t){var n={run:function(r){try{var o=e(t.getState(),r);(o!==n.props||n.error)&&(n.shouldComponentUpdate=!0,n.props=o,n.error=null)}catch(e){n.shouldComponentUpdate=!0,n.error=e}}};return n}(t,this.store),this.selector.run(this.props)},a.initSubscription=function(){if(p){var e=(this.propsMode?this.props:this.context)[m];this.subscription=new Ze(this.store,e,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(nt)):this.notifyNestedSubs()},a.notifyNestedSubsOnComponentDidUpdate=function(){this.componentDidUpdate=void 0,this.notifyNestedSubs()},a.isSubscribed=function(){return Boolean(this.subscription)&&this.subscription.isSubscribed()},a.addExtraProps=function(e){if(!(g||l||this.propsMode&&this.subscription))return e;var t=qe({},e);return g&&(t.ref=this.setWrappedInstance),l&&(t[l]=this.renderCount++),this.propsMode&&this.subscription&&(t[m]=this.subscription),t},a.render=function(){var e=this.selector;if(e.shouldComponentUpdate=!1,e.error)throw e.error;return Object(B.createElement)(t,this.addExtraProps(e.props))},i}(B.Component);return et&&(i.prototype.UNSAFE_componentWillReceiveProps=i.prototype.componentWillReceiveProps,delete i.prototype.componentWillReceiveProps),i.WrappedComponent=t,i.displayName=r,i.childContextTypes=E,i.contextTypes=w,i.propTypes=w,Ye()(i,t)}}var it=Object.prototype.hasOwnProperty;function at(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function st(e,t){if(at(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(var o=0;o<n.length;o++)if(!it.call(t,n[o])||!at(e[n[o]],t[n[o]]))return!1;return!0}function ct(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function ut(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function lt(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=ut(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=ut(o),o=r(t,n)),o},r}}var ft=[function(e){return"function"==typeof e?lt(e):void 0},function(e){return e?void 0:ct((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?ct((function(t){return Object(se.b)(e,t)})):void 0}];var pt=[function(e){return"function"==typeof e?lt(e):void 0},function(e){return e?void 0:ct((function(){return{}}))}];function dt(e,t,n){return qe({},n,e,t)}var ht=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,i=n.areMergedPropsEqual,a=!1;return function(t,n,s){var c=e(t,n,s);return a?o&&i(c,r)||(r=c):(a=!0,r=c),r}}}(e):void 0},function(e){return e?void 0:function(){return dt}}];function vt(e,t,n,r){return function(o,i){return n(e(o,i),t(r,i),i)}}function gt(e,t,n,r,o){var i,a,s,c,u,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=e(i,a),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):g?(e.dependsOnOwnProps&&(s=e(i,a)),t.dependsOnOwnProps&&(c=t(r,a)),u=n(s,c,a)):y?(h=e(i,a),v=!p(h,s),s=h,v&&(u=n(s,c,a)),u):u}return function(o,l){return d?h(o,l):(s=e(i=o,a=l),c=t(r,a),u=n(s,c,a),d=!0,u)}}function yt(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,i=Ge(t,["initMapStateToProps","initMapDispatchToProps","initMergeProps"]),a=n(e,i),s=r(e,i),c=o(e,i);return(i.pure?gt:vt)(a,s,c,e,i)}function mt(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function bt(e,t){return e===t}var wt,Et,Ot,xt,Pt,kt,_t,St,Tt,jt,Ct,At,It=(Ot=(Et=void 0===wt?{}:wt).connectHOC,xt=void 0===Ot?ot:Ot,Pt=Et.mapStateToPropsFactories,kt=void 0===Pt?pt:Pt,_t=Et.mapDispatchToPropsFactories,St=void 0===_t?ft:_t,Tt=Et.mergePropsFactories,jt=void 0===Tt?ht:Tt,Ct=Et.selectorFactory,At=void 0===Ct?yt:Ct,function(e,t,n,r){void 0===r&&(r={});var o=r,i=o.pure,a=void 0===i||i,s=o.areStatesEqual,c=void 0===s?bt:s,u=o.areOwnPropsEqual,l=void 0===u?st:u,f=o.areStatePropsEqual,p=void 0===f?st:f,d=o.areMergedPropsEqual,h=void 0===d?st:d,v=Ge(o,["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"]),g=mt(e,kt,"mapStateToProps"),y=mt(t,St,"mapDispatchToProps"),m=mt(n,jt,"mergeProps");return xt(At,qe({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:g,initMapDispatchToProps:y,initMergeProps:m,pure:a,areStatesEqual:c,areOwnPropsEqual:l,areStatePropsEqual:p,areMergedPropsEqual:h},v))});function Mt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Rt=function(e){var t=function(t){function n(){return T(this,n),R(this,D(n).apply(this,arguments))}return L(n,t),C(n,[{key:"getChildContext",value:function(){return Object(a.a)({},_e(e),this.props.itemId)}},{key:"render",value:function(){return this.props.children}}]),n}(F.a.Component);return t.childContextTypes=Object(a.a)({},_e(e),F.a.PropTypes.number),t};function Dt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Nt=function(e,t,n){var r=X.deep(e.reduce((function(e,n){if("object"==typeof n){var r=Object.keys(n)[0],o=n[r];e[r]=t[o]}else e[n]=t[n];return e}),{}));return n?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},r,{},X.deep(n)):r},Lt=function(e){var t=e.collection,n=e.dispatch,r=e.collectionName,o=e.idAttribute,i=void 0===o?"id":o,a=e.attributes,s=void 0===a?["id"]:a,c=e.includeConfiguration,u=void 0!==c&&c;n(he({collectionName:r,items:t.map(f)})),t.on("add",(function(e){e.isNew()||n(ve({collectionName:r,attributes:f(e)}))})),t.on("change:id",(function(e){n(ve({collectionName:r,attributes:f(e),order:t.pluck(i)}))})),t.on("change",(function(e){(function(e){return l.some((function(t){return e.hasChanged(t)}))})(e)&&n(ge({collectionName:r,attributes:f(e)}))})),u&&t.on("change:configuration",(function(e){n(ge({collectionName:r,attributes:f(e)}))})),t.on("remove",(function(e){setTimeout((function(){n(function(e){var t=e.collectionName,n=e.attributes,r=e.order;return{type:pe,meta:{collectionName:t},payload:{attributes:n,order:r}}}({collectionName:r,attributes:f(e),order:t.pluck(i)}))}),0)})),t.on("sort",(function(){n(function(e){var t=e.collectionName,n=e.order;return{type:de,meta:{collectionName:t},payload:{order:n}}}({collectionName:r,order:t.pluck(i)}))}));var l=s.map((function(e){return"object"==typeof e?function(e){return e[Object.keys(e)[0]]}(e):e}));function f(e){return Nt(s,e.attributes,u&&e.configuration.attributes)}},Bt=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.attributes,i=void 0===o?["id"]:o,a=e.includeConfiguration,s=void 0!==a&&a;r(he({collectionName:n,items:t.map((function(e){return Nt(i,e,s&&e.configuration)}))}))},Ft=n(50),Ut=n.n(Ft),Wt=function(e){var t=e.collection,n=e.collectionName,r=e.dispatch,o=e.idAttribute,i=e.attributes,a=e.includeConfiguration;(Ut.a.Collection&&t instanceof Ut.a.Collection?Lt:Bt)({collection:t,collectionName:n,dispatch:r,idAttribute:o,attributes:i,includeConfiguration:a})};function Ht(e){var t=e.candidates,n=e.page,r=e.fileExists;return t.find((function(e){if(e.condition&&!function(e,t){var n=t[X(e.attribute)];return e.negated?n!=e.value:n==e.value}(e.condition,n))return!1;var t=Vt(n,e);return r(X(e.collectionName),t)}))}function Vt(e,t){return"id"in t?t.id:e[X(t.attribute)]}function qt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Gt=function(e,t,n){if(!t)return null;if(!n[e])throw new Error("No file url templates found for ".concat(e));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({urls:(t.variants||Object.keys(n[e])).reduce((function(r,o){var i=function(e,t,n,r){var o=r[e][n];if(o)return o.replace(":id_partition",(i=t.id,function(e,t){return e.replace(/./g,(function(e,t,n){return t&&(n.length-t)%3==0?"/"+e:e}))}((a=i,s=9,(Array(s).fill(0).join("")+a).slice(-s))))).replace(":basename",t.basename).replace(":pageflow_hls_qualities",(function(){return function(e){return["low","medium","high","fullhd","4k"].filter((function(t){return e.variants.includes(t)})).join(",")}(t)}));var i,a,s}(e,t,o,n);return i&&(r[o]=i),r}),{})},t)};function zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Yt=function(e,t,n){if(!t)return null;if(!n[e])throw new Error("Could not find model type for collection name ".concat(e));return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{collectionName:e,modelType:n[e]})};function Xt(e,t){return ee(Se(e,{namespace:"files"})(t),(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r){return Kt(e,t,n,r)}))}function $t(){return ee((function(e){return e.files}),(function(e){return function(t,n){return n&&!!Se(t)({id:n})(e)}}))}function Kt(e,t,n,r){return Yt(e,Gt(e,t,n),r)}function Qt(e){var t=e.page;return function(e,n){var r="function"==typeof t?t(n):t;return r?e.pageTypes[X(r.type)]:null}}function Jt(e){var t=e.page,n=e.variant,r=void 0===n?"medium":n;return ee(t,$t(),(function(e){return e}),(function(e,t,n){if(e){var o=Ht({candidates:Qt({page:e})(n).thumbnailCandidates,page:e,fileExists:t});if(o){var i=Xt(X(o.collectionName),{id:Vt(e,o)});return"image_files"==o.collectionName?i(n).urls[r]:"video_files"==o.collectionName?i(n).urls["poster_".concat(r)]:void 0}}}))}var Zt=Se("pages"),en=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).namespace;return function(n){if(t){if(!n[t])throw new Error("Cannot select from unknown namespace ".concat(t,"."));n=n[t]}var r=n[e];return r.items[r.order[0]]}}("pages");function tn(){return ee(en,(function(e){return e&&e.attributes}))}function nn(e){return ee(en,(function(t){return t&&t.attributes[e]}))}function rn(e,t){return ee(Zt(t),(function(t){return t&&t.attributes[e]}))}function on(e){return ee(Zt(e),(function(e){return e&&e.attributes}))}function an(e,t){return ee(Zt(t),(function(t){return t&&t.state.custom[e]}))}function sn(e){return ln("isActive",e)}function cn(e){return ln("isPreloaded",e)}function un(e){return ln("isPrepared",e)}function ln(e,t){return ee(Zt(t),(function(t){return t&&t.state.common[e]}))}var fn=Oe.a.mark(dn),pn=Oe.a.mark(hn);function dn(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeLatest)([d,p,c],hn);case 2:case"end":return e.stop()}}),fn)}function hn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.type!=d){t.next=5;break}return t.next=3,Object(De.call)(Ne.delay,5e3);case 3:return t.next=5,Object(De.put)(w());case 5:case"end":return t.stop()}}),pn)}var vn=Oe.a.mark(gn);function gn(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e instanceof Ut.a.Collection){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,Object(Ne.takeEvery)(m,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(De.call)(mn,{pagesCollection:e,id:Re(n),name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 4:return t.next=6,Object(Ne.takeEvery)(b,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(De.call)(yn,{pagesCollection:e,pageId:Re(n),linkId:n.payload.linkId,name:n.payload.name,value:n.payload.value});case 2:case"end":return t.stop()}}),t)})));case 6:case"end":return t.stop()}}),vn)}function yn(e){var t=e.pagesCollection,n=e.pageId,r=e.linkId,o=e.name,i=e.value,a=bn(t,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 mn(e){var t=e.pagesCollection,n=e.id,r=e.name,o=e.value;bn(t,n).configuration.set(r,o)}function bn(e,t){var n=e.where({perma_id:t})[0];if(!n)throw new Error("Could not find page with perma id ".concat(t,"."));return n}var wn=function(e){var t=e.pages,n=e.pageTypeSagas;return(Oe.a.mark((function e(){var r;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.delegateYield(dn(),"t0",1);case 1:return e.delegateYield(gn(t),"t1",2);case 2:return e.next=4,Object(Ne.takeEvery)(g,Oe.a.mark((function e(){var t,o;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.select)(rn("type"));case 2:if(t=e.sent,!(o=n[t])){e.next=8;break}return e.next=7,Object(De.fork)(o);case 7:r=e.sent;case 8:case"end":return e.stop()}}),e)})));case 4:return e.next=6,Object(Ne.takeEvery)(y,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!r){e.next=3;break}return e.next=3,Object(De.cancel)(r);case 3:case"end":return e.stop()}}),e)})));case 6:case"end":return e.stop()}}),e)})))},En=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"getChildContext",value:function(){return{mediaContext:this.props.mediaContext}}},{key:"render",value:function(){return this.props.children}}]),t}(F.a.Component);En.childContextTypes={mediaContext:F.a.PropTypes.object};var On=n(42),xn=n.n(On),Pn=Rt("pages"),kn=function(e){var t=e.Component,n=e.store,r=e.selectTargetElement,o=void 0===r?function(e){return e[0]}:r;return{scroller:!1,enhance:function(e,r){xn.a.render(F.a.createElement(He,{store:n},F.a.createElement(Pn,{itemId:_n(e)},F.a.createElement(En,{mediaContext:{page:e.page("instance")}},F.a.createElement(t,null)))),o(e)),n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(g,e)}({id:_n(e)}))},preload:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(f,e)}({id:_n(e)}))},prepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(p,e)}({id:_n(e)}))},unprepare:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(d,e)}({id:_n(e)}))},activating:function(e,t,r){n.dispatch(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.position;return x(c,t,{position:n})}({id:_n(e),position:r.position}))},activated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(s,e)}({id:_n(e)}))},deactivating:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(l,e)}({id:_n(e)}))},deactivated:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(u,e)}({id:_n(e)}))},resize:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(v,e)}({id:_n(e)}))},update:function(e,t){pageflow.commonPageCssClasses.updateCommonPageCssClasses(e,t)},cleanup:function(e){n.dispatch(function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id;return x(y,e)}({id:_n(e)})),xn.a.unmountComponentAtNode(e[0])}}};function _n(e){return parseInt(e.attr("id"),10)}function Sn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e,t){return Object.keys(t).reduce((function(n,r){return"function"==typeof e[r]?n[r]=function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];return e[r].apply(this,o),t[r].apply(this,o)}:n[r]=t[r],n}),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Sn(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Sn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e))}var jn,Cn,An={init:function(e){var t=e.pages,n=e.dispatch;Wt({collection:t,collectionName:"pages",dispatch:n,idAttribute:"perma_id",attributes:["perma_id",{type:"template"},"chapter_id"],includeConfiguration:!0})},createReducers:function(e){var t=e.pageTypes,n=(void 0===t?[]:t).reduce((function(e,t){var n=t.name,r=t.reducer;return e[n]=r,e}),{});return{pages:Ce("pages",{idAttribute:"permaId",itemReducer:we(n)})}},createMiddleware:function(){return function e(t){var n,r=t.getState,o=t.dispatch,i=(n=[],{subscribe:function(e){return n.push(e),function(){return function(e,t){var n=e.indexOf(t);n>=0&&e.splice(n,1)}(n,e)}},emit:function(e){for(var t=n.slice(),r=0,o=t.length;r<o;r++)t[r](e)}});return e.getState=r,e.dispatch=o,e.subscribe=i.subscribe,function(e){return function(t){var n=e(t);return i.emit(t),n}}}},createSaga:function(e){var t=e.pages,n=e.pageTypes,r=void 0===n?[]:n,o=e.middleware,i=r.reduce((function(e,t){var n=t.name,r=t.saga;return e[n]=r,e}),{});return function(e,t){var n=Oe.a.mark(l),r=Oe.a.mark(f),o=Oe.a.mark(p),i=Oe.a.mark(d),a=Oe.a.mark(h),s=t.itemSaga,c=t.middleware,u=xe(e);return l;function l(){var e;return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e={},t.next=3,Object(Ne.takeEvery)([ue,le,pe],f,e);case 3:case"end":return t.stop()}}),n)}function f(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object(De.select)(u);case 2:return t=n.sent,n.delegateYield(p(t,e),"t0",4);case 4:return n.delegateYield(d(t,e),"t1",5);case 5:case"end":return n.stop()}}),r)}function p(e,t){return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,Object.keys(t).map((function(n){if(!(n in e))return Object(De.cancel)(t[n])}));case 2:case"end":return n.stop()}}),o)}function d(e,t){var n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,Object.keys(e).map((function(e){if(!t[e])return Object(De.fork)(h,parseInt(e,10))}));case 2:n=r.sent,Object.keys(e).forEach((function(e,r){t[e]||(t[e]=n[r])}));case 4:case"end":return r.stop()}}),i)}function h(t){var n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return n=Object(Ne.runSaga)(s(),{subscribe:function(n){return c.subscribe((function(r){Me(r,e)&&Re(r)!=t||n(r)}))},dispatch:function(n){Ie(n,e,t),c.dispatch(n)},getState:function(){return ke(c.getState(),e,t)}}),r.prev=1,r.next=4,Object(De.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:wn({pages:t,pageTypeSagas:i}),middleware:o})}},In=(Cn=_e(jn="pages"),function(e,t,n){var r=It(e?function(t,n){var r=e(ke(t,jn,n[Cn]),n);return"function"==typeof r?function(e,t){return r(ke(e,jn,t[Cn]),t)}:r}:null,t?function(e,n){var r=function(t){return Ie(t,jn,n[Cn]),e(t)};return"function"==typeof t?t(r,n):Object(se.b)(t,r)}:null,n);return function(e){var t=r(e),n=function(e){function n(){return T(this,n),R(this,D(n).apply(this,arguments))}return L(n,e),C(n,[{key:"render",value:function(){var e=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mt(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props,Object(a.a)({},Cn,this.context[Cn]));return F.a.createElement(t,e)}}]),n}(F.a.Component);return n.contextTypes=Object(a.a)({},Cn,F.a.PropTypes.number),n}});var Mn=In(te({loaded:cn()}))(ae),Rn=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){var e=this.props.page,t=X.concat(this.props.propertyNamePrefix,this.props.propertyBaseName);return F.a.createElement(Mn,{fileId:e["".concat(t,"Id")],fileCollection:this.props.fileCollection,position:[e["".concat(t,"X")],e["".concat(t,"Y")]],className:"background background_image",structuredDataComponent:this.props.structuredDataComponent})}}]),t}(F.a.Component);Rn.defaultProps={propertyBaseName:"backgroundImage"};var Dn=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){return F.a.createElement("div",{className:"shadow_wrapper"},F.a.createElement("div",{className:W()("shadow",this.props.className),style:this.style()}))}},{key:"style",value:function(){if("gradientOpacity"in this.props.page)return{opacity:this.props.page.gradientOpacity/100}}}]),t}(F.a.Component),Nn=function(e){return F.a.createElement("div",{className:"content",onTouchStart:e.onInteraction,onMouseMove:e.onInteraction},e.children)},Ln=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){var e=this;return React.createElement("div",{className:"scroller-wrapper",ref:function(t){return e.wrapperElement=t}},React.createElement("div",{ref:function(t){return e.scrollerElement=t},className:W()("scroller",this.props.className),style:this.props.style},React.createElement("div",null,this.props.children)))}},{key:"componentDidMount",value:function(){if("undefined"!=typeof jQuery){var e=jQuery(this.scrollerElement);e.scroller({eventListenerTarget:this.wrapperElement}),this.scroller=e.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(e){this.scroller.resetPosition(e)}}]),t}(B.Component),Bn=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"componentWillReceiveProps",value:function(e){!this.props.enabled&&e.enabled?this.refs.scroller.enable():this.props.enabled&&!e.enabled&&this.refs.scroller.disable(),this.props.initialScrollerPosition!==e.initialScrollerPosition&&e.initialScrollerPosition&&this.refs.scroller.resetPosition({position:e.initialScrollerPosition})}},{key:"getChildContext",value:function(){var e=this;return this._pageScroller=this._pageScroller||{disable:function(){e.refs.scroller.disable()},enable:function(){e.refs.scroller.enable()}},{pageScroller:this._pageScroller}}},{key:"render",value:function(){return F.a.createElement(Ln,{ref:"scroller",className:(e=this.props,W()(e.className,{"scroller-clipped_bottom":!!e.marginBottom})),style:Fn(this.props)},F.a.createElement("div",{className:"content_wrapper"},this.props.children));var e}}]),t}(F.a.Component);function Fn(e){if(e.marginBottom)return{bottom:e.marginBottom}}Bn.childContextTypes={pageScroller:F.a.PropTypes.object};var Un,Wn=In(te({enabled:ln("isActivated",Un),initialScrollerPosition:function(e){return ln("initialScrollerPosition",e)}()}))(Bn),Hn=function(e){return React.createElement(Nn,null,React.createElement(Wn,null,e.children))},Vn=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){return F.a.createElement("h3",{className:"page_header"},F.a.createElement("span",{className:"page_header-tagline"},this.props.page.tagline),F.a.createElement("span",{className:"page_header-title"},this.props.page.title),F.a.createElement("span",{className:"page_header-subtitle"},this.props.page.subtitle))}}]),t}(F.a.Component);function qn(e){return F.a.createElement("div",{className:Gn(e)},F.a.createElement("div",{className:"paragraph",dangerouslySetInnerHTML:zn(e)}),e.children)}function Gn(e){return W()("page_text",Object(a.a)({},"page_text-margin_".concat(e.marginBottom),e.marginBottom!=qn.defaultProps.marginBottom))}function zn(e){return{__html:e.page.text}}function Yn(e){return function(t,n){var r=e.split(".");if(!(r[0]in n))throw new Error("Missing required prop ".concat(r[0],"."));return r.reduce((function(e,t){return e&&e[t]}),n)}}function Xn(e){return function(t,n,r){return oe(e,r)}}qn.defaultProps={marginBottom:"for_scroll_indicator_on_phone"};var $n=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){return F.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(e){this._targetPage()&&pageflow.slides.goToByPermaId(this._targetPage().permaId,{transition:this.props.pageLink.pageTransition}),e.preventDefault()}},{key:"_targetPage",value:function(){return this.props.targetPage}}]),t}(F.a.Component),Kn=It(te({targetPage:on({id:Yn("pageLink.targetPageId")})}))($n);function Qn(e){return React.createElement("div",{className:Jn(e)})}function Jn(e){return W()({load_image:e.lazy&&e.loaded},e.className,(t=e.pageType)?"is_".concat(t.name):"is_dangling",function(e){var t=Ht({candidates:Zn(e),page:e.page,fileExists:e.fileExists});if(t)return function(e,t){return[e.lazy?"lazy":null,t.cssClassPrefix,e.imageStyle,Vt(e.page,t)].filter(Boolean).join("_")}(e,t)}(e));var t}function Zn(e){return[er(e)].concat(Object(K.a)((t=e.pageType)?t.thumbnailCandidates:[]));var t}function er(e){return{id:e.customThumbnailId,cssClassPrefix:"pageflow_image_file",collectionName:"image_files"}}Qn.defaultProps={imageStyle:"navigation_thumbnail_large"};var tr=In(te({pageType:Qt({page:function(e){return e.page}}),fileExists:$t()}))(Qn),nr=In(te({loaded:cn(),lazy:!0}))(tr);function rr(e){return W()("add_info_box",{empty:or(e),title_empty:z(e.title),description_empty:z(e.description),"add_info_box-hidden_during_playback":e.hiddenDuringPlayback})}function or(e){return z(e.title)&&z(e.description)}var ir=function(e){return React.createElement("div",{className:rr(e)},function(e){if(!z(e.title))return React.createElement("h3",null,e.title)}(e),function(e){if(!z(e.description))return React.createElement("p",{dangerouslySetInnerHTML:{__html:e.description}})}(e))};function ar(e){return React.createElement("div",{className:W()("controls",e.className),"data-role":"player_controls",onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}function sr(e){return F.a.createElement("svg",{className:e.className,version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:e.width,height:e.height,viewBox:"".concat(e.viewBoxLeft," ").concat(e.viewBoxTop," ").concat(e.viewBoxWidth," ").concat(e.viewBoxHeight)},e.children)}sr.defaultProps={width:20,height:20,viewBoxLeft:0,viewBoxTop:0};var cr=sr,ur=function(e){return React.createElement(cr,Object.assign({},e,{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"}))},lr=function(e){return React.createElement(cr,Object.assign({},e,{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"}))},fr={Checkmark:function(e){return React.createElement(cr,Object.assign({},e,{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(e){return React.createElement(cr,Object.assign({},e,{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(e){return React.createElement(cr,Object.assign({},e,{viewBoxWidth:24,viewBoxHeight:24}),React.createElement("circle",{cx:"12",cy:"12",r:"12"}))},Gear:ur,Info:lr,Pause:function(e){return React.createElement(cr,Object.assign({},e,{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(e){return React.createElement(cr,Object.assign({},e,{viewBoxWidth:512,viewBoxHeight:512}),React.createElement("path",{d:"M152.443 136.417l207.114 119.573-207.114 119.593z"}))},Subtitles:function(e){return React.createElement(cr,Object.assign({},e,{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"}))}},pr={toggleInfoBox:fr.Info,mediaQuality:fr.Gear,textTracks:fr.Subtitles,activeMenuItem:fr.Checkmark,loadingSpinner:fr.CircleWithNotch,play:fr.Play,pause:fr.Pause};function dr(e){var t=pr[e.name];if(!t)throw new Error('No icon registered for "'.concat(e.name,'".'));return F.a.createElement(t,e)}var hr=function(e){return React.createElement("div",{className:"vjs-loading-spinner"},React.createElement(dr,{name:"loadingSpinner"}))},vr=function(e){return In(te({id:ee(sn(),(function(e){return e?"firstContent":void 0}))}))(e)};var gr=vr((function(e){return React.createElement("a",{className:yr(e),href:"#",tabIndex:"4",id:e.id,title:e.title,onClick:mr(e)},function(e){return e.iconName?React.createElement(dr,{name:e.iconName}):React.createElement("span",null)}(e))}));function yr(e){return W()("vjs-play-control",{"vjs-playing":e.isPlaying},{"player_controls-play_button-custom_icon":!!e.iconName})}function mr(e){return function(t){e.onClick&&e.onClick(t),t.preventDefault()}}function br(e){return React.createElement("div",{className:W()(e.className)},function(e){if(isNaN(e))return wr;var t=Math.floor(e)%60,n=Math.floor(e/60)%60,r=Math.floor(e/60/60);return r>0?"".concat(r,":").concat(Er(n),":").concat(Er(t)):"".concat(n,":").concat(Er(t))}(e.value))}var wr="-:--";function Er(e){return e<10?"0"+e:e}br.defaultProps={value:0};var Or=function(e){return React.createElement(br,{className:"vjs-current-time",value:e.currentTime})},xr=function(e){return React.createElement("div",{className:"vjs-time-divider"},"/")},Pr=function(e){return React.createElement(br,{className:"vjs-duration",value:e.duration})},kr=n(95),_r=n.n(kr),Sr=n(32),Tr=n.n(Sr),jr=37,Cr=39,Ar=function(e){function t(e,n){var r;return T(this,t),(r=R(this,D(t).call(this,e,n))).state={handleWidth:null,progressHolderWidth:null},r.measureProgressHolder=function(e){var t=e.width;r.setState({progressHolderWidth:t})},r.measureHandle=function(e){var t=e.width;r.setState({handleWidth:t})},r.handleStop=function(e,t){r.props.onSeek&&r.props.onSeek(r.positionToTime(t.x))},r.handleDrag=function(e,t){r.props.onScrub&&r.props.onScrub(r.positionToTime(t.x))},r.handleKeyDown=function(e){var t;e.keyCode==jr?t=Math.max(0,r.props.currentTime-1):e.keyCode==Cr&&(t=Math.min(r.props.currentTime+1,r.props.duration||1/0)),r.prop.onSeek&&r.props.onSeek(t)},r}return L(t,e),C(t,[{key:"positionToTime",value:function(e){return this.props.duration&&this.state.progressHolderWidth?Math.max(0,Math.min(1,e/this.state.progressHolderWidth))*this.props.duration:0}},{key:"render",value:function(){return F.a.createElement("div",{className:"vjs-progress-control",tabIndex:"4",onKeyDown:this.handleKeyDown},F.a.createElement(Tr.a,{whitelist:["width"],onMeasure:this.measureProgressHolder},F.a.createElement(kr.DraggableCore,{onStart:this.handleDrag,onDrag:this.handleDrag,onStop:this.handleStop},F.a.createElement("div",{className:"vjs-progress-holder"},F.a.createElement("div",{className:"vjs-load-progress",style:{width:Ir(this.loadProgress())}}),F.a.createElement("div",{className:"vjs-play-progress",style:{width:Ir(this.playProgress())}}),F.a.createElement(Tr.a,{whitelist:["width"],onMeasure:this.measureHandle},F.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():Ir(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}}]),t}(F.a.Component);function Ir(e){return e>0?100*e+"%":0}Ar.defaultProps={currentTime:0,bufferedEnd:0};var Mr=function(e){function t(e,n){var r;return T(this,t),(r=R(this,D(t).call(this,e,n))).state={subMenuVisible:!1},r.onLinkClick=function(e){e.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 L(t,React.Component),C(t,[{key:"render",value:function(){var e=this,t=this.props;return React.createElement("div",{className:Rr(t,this.state.subMenuVisible),ref:function(t){return e.wrapper=t},onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onFocus:this.onFocus,onBlur:this.onBlur},React.createElement("a",{className:Lr(t,"link"),href:"#",tabIndex:"4",title:t.title,onClick:this.onLinkClick},React.createElement(dr,{className:Lr(t,"icon"),name:t.iconName})),function(e,t){if(e.subMenuItems.length>0)return React.createElement("ul",{className:"player_controls-menu_bar_button_sub_menu"},function(e,t){return e.subMenuItems.map((function(n){return React.createElement("li",{className:Dr(n),key:n.value},React.createElement("a",{className:"player_controls-menu_bar_button_sub_menu_item_link",href:"#",tabIndex:"4",onClick:Nr(e,n.value,t)},function(e){if(e.active)return React.createElement(dr,{className:"player_controls-menu_bar_button_sub_menu_item_icon",name:"activeMenuItem"})}(n),n.label,function(e,t){if(t.annotation)return React.createElement("span",{className:Lr(e,"sub_menu_item_annotation")},t.annotation)}(e,n)))}))}(e,t))}(t,this.closeMenu))}}]),t}();function Rr(e,t){return W()({"player_controls-menu_bar_button-sub_menu_visible":t},Lr(e))}function Dr(e){return W()("player_controls-menu_bar_button_sub_menu_item",{"player_controls-menu_bar_button_sub_menu_item-active":e.active})}function Nr(e,t,n){return function(r){r.preventDefault(),n(),e.onSubMenuItemClick&&e.onSubMenuItemClick(t)}}function Lr(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return W()(["player_controls-menu_bar_button"].concat(n).join("_"),[e.className].concat(n).join("_"))}function Br(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(Mr,{className:"player_controls-quality_menu_button",title:e.buttonTitle,iconName:"mediaQuality",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Fr(e){return e.items.length<2?React.createElement("noscript",null):React.createElement(Mr,{className:"player_controls-text_tracks_menu_button",title:e.buttonTitle,iconName:"textTracks",subMenuItems:e.items,onSubMenuItemClick:e.onItemClick})}function Ur(e){return React.createElement("div",{className:Wr(e)},function(e){return e.additionalButtons.map((function(t){return React.createElement(Mr,{title:t.label,iconName:t.iconName,className:t.className,key:t.name,onClick:Hr(e.onAdditionalButtonClick,t.name),onMouseEnter:Hr(e.onAdditionalButtonMouseEnter,t.name),onMouseLeave:Hr(e.onAdditionalButtonMouseLeave,t.name)})}))}(e),React.createElement(Fr,{buttonTitle:e.textTracksMenuButtonTitle,items:e.textTracksMenuItems,onItemClick:e.onTextTracksMenuItemClick}),React.createElement(Br,{buttonTitle:e.qualityMenuButtonTitle,items:e.qualityMenuItems,onItemClick:e.onQualityMenuItemClick}))}function Wr(e){return W()(e.className,"player_controls-menu_bar",{"player_controls-menu_bar-hidden_on_phone":e.hiddenOnPhone,"player_controls-menu_bar-stand_alone":e.standAlone,"player_controls-menu_bar-inverted":e.inverted})}function Hr(e,t){if(e)return function(){return e(t)}}function Vr(e){return function(t){function n(e){var t;return T(this,n),(t=R(this,D(n).call(this,e))).checkVisibility=function(){var e=window.getComputedStyle(t.element);t.lastVisibility!=e.visibility&&("visible"==e.visibility&&"none"!=e.display?t.props.onVisible&&t.props.onVisible():t.props.onHidden&&t.props.onHidden()),t.lastVisibility=e.visibility},t}return L(n,t),C(n,[{key:"componentDidMount",value:function(){this.element=xn.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 F.a.createElement(e,this.props)}}]),n}(F.a.Component)}function qr(e){return W()("vjs-control-bar",{with_quality_menu_present:e.qualityMenuItems&&e.qualityMenuItems.length>=2,with_text_tracks_menu_present:e.textTracksMenuItems&&e.textTracksMenuItems.length>=2})}Mr.defaultProps={subMenuItems:[]},Br.defaultProps={items:[]},Fr.defaultProps={items:[]},Ur.defaultProps={additionalButtons:[],standAlone:!0};var Gr=Vr((function(e){return F.a.createElement(ar,e,F.a.createElement("span",{className:"hint"},e.hint),F.a.createElement(ir,Object.assign({},e.infoBox,{hiddenDuringPlayback:e.infoBoxHiddenDuringPlayback})),F.a.createElement("div",{className:qr(e)},function(e){if(e.isLoading)return F.a.createElement(hr,e)}(e),F.a.createElement("div",{className:"play_button"},F.a.createElement(gr,{title:e.playButtonTitle,iconName:e.playButtonIconName,isPlaying:e.isPlaying,onClick:e.onPlayButtonClick})),function(e){if(e.hasProgress)return F.a.createElement("div",{className:"player_controls-progress"},F.a.createElement(Or,e),F.a.createElement(xr,null),F.a.createElement(Pr,e),F.a.createElement(Ar,e))}(e),F.a.createElement("div",{className:"control_bar_text"},e.controlBarText)),F.a.createElement(Ur,{standAlone:!1,additionalButtons:e.additionalMenuBarButtons,onAdditionalButtonClick:e.onAdditionalButtonClick,onAdditionalButtonMouseEnter:e.onAdditionalButtonMouseEnter,onAdditionalButtonMouseLeave:e.onAdditionalButtonMouseLeave,qualityMenuButtonTitle:e.qualityMenuButtonTitle,qualityMenuItems:e.qualityMenuItems,onQualityMenuItemClick:e.onQualityMenuItemClick,textTracksMenuButtonTitle:e.textTracksMenuButtonTitle,textTracksMenuItems:e.textTracksMenuItems,onTextTracksMenuItemClick:e.onTextTracksMenuItemClick}))}));function zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Yr=ee(Xr,(function(e){return function(t,n){return I18n.t(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zr(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({locale:e},n))}}));function Xr(e){return e.i18n.locale}var $r=It(te({t:Yr}))((function(e){return React.createElement("div",{className:"close_button text_hidden_only",tabIndex:"4",title:e.t("pageflow.public.close"),onClick:e.onClick},React.createElement("div",{className:"label"},e.t("pageflow.public.close")))})),Kr=function(e){return PAGEFLOW_EDITOR?e:function(){return!1}},Qr=Se("chapters");var Jr=Qr,Zr=Se("storylines");function eo(){return function(e,t){var n=to()(e,t);return n?Jr({id:n.chapterId})(e,t):null}}function to(){return function(e,t){return on({id:function(e,t){return ee(Zr(t),(function(t){return t&&t[e]}))}("parentPagePermaId",{id:function(e,t){return ee(Qr(t),(function(t){return t&&t[e]}))}("storylineId",{id:rn("chapterId",{id:e.currentPageId})(e,t)})(e,t)})(e,t)})(e,t)}}function no(e){var t=e.property;return function(e){return e.settings[t]}}var ro=Se("widgets");function oo(e,t){var n=t.role;return ee(ro({id:n}),(function(t){return t&&t[e]}))}function io(e){var t=e.role;return ee(ro({id:t}),(function(e){return e}))}function ao(e){var t=e.role;return ee(ro({id:t}),(function(e){return!(!e||!e.editing)}))}var so=function(e){return W()({is_playing:e.shouldPlay,is_playing_delayed:e.hasBeenPlayingJustNow,is_paused:!e.shouldPlay})},co="MEDIA_TOGGLE_PLAYING",uo="MEDIA_PLAY",lo="MEDIA_PLAY_AND_FADE_IN",fo="MEDIA_PAUSE",po="MEDIA_FADE_OUT_AND_PAUSE",ho="CHANGE_VOLUME_FACTOR",vo="MEDIA_PLAY_FAILED",go="MEDIA_PLAYING_MUTED",yo="MEDIA_SCRUB_TO",mo="MEDIA_SEEK_TO",bo="MEDIA_PREBUFFER",wo="MEDIA_PREBUFFERED",Eo="MEDIA_ABORT_PREBUFFERING",Oo="MEDIA_BUFFER_UNDERRUN",xo="MEDIA_BUFFER_UNDERRUN_CONTINUE",Po="MEDIA_META_DATA_LOADED",ko="MEDIA_PROGRESS",_o="MEDIA_PLAYING",So="MEDIA_PAUSED",To="MEDIA_TIME_UPDATE",jo="MEDIA_ENDED",Co="MEDIA_SEEKING",Ao="MEDIA_SEEKED",Io="MEDIA_WAITING",Mo="MEDIA_HAS_NOT_BEEN_PLAYING_FOR_A_MOMENT",Ro="MEDIA_USER_INTERACTION",Do="MEDIA_USER_IDLE",No="MEDIA_CONTROLS_ENTERED",Lo="MEDIA_CONTROLS_LEFT",Bo="MEDIA_FOCUS_ENTERED_CONTROLS",Fo="MEDIA_FOCUS_LEFT_CONTROLS",Uo="MEDIA_CONTROLS_HIDDEN",Wo="SHOW_INFO_BOX_DURING_PLAYBACK",Ho="HIDE_INFO_BOX_DURING_PLAYBACK",Vo="TOGGLE_INFO_BOX_DURING_PLAYBACK",qo="MEDIA_SAVE_MEDIA_ELEMENT_ID",Go="MEDIA_DISCARD_MEDIA_ELEMENT_ID";function zo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return{togglePlaying:function(){return n(co)},play:function(){return n(uo)},playAndFadeIn:function(e){var t=e.fadeDuration;return n(lo,{fadeDuration:t})},pause:function(){return n(fo)},fadeOutAndPause:function(e){var t=e.fadeDuration;return n(po,{fadeDuration:t})},changeVolumeFactor:function(e,t){var r=t.fadeDuration;return n(ho,{volumeFactor:e,fadeDuration:r})},playFailed:function(){return n(vo)},playingMuted:function(){return n(go)},scrubTo:function(e){return n(yo,{time:e})},seekTo:function(e){return n(mo,{time:e})},prebuffer:function(){return n(bo)},prebuffered:function(){return n(wo)},abortPrebuffering:function(){return n(Eo)},bufferUnderrun:function(){return n(Oo)},bufferUnderrunContinue:function(){return n(xo)},playing:function(){return n(_o)},paused:function(){return n(So)},timeUpdate:function(e){var t=e.currentTime,r=e.duration;return n(To,{currentTime:t,duration:r})},metaDataLoaded:function(e){var t=e.currentTime,r=e.duration;return n(Po,{currentTime:t,duration:r})},progress:function(e){var t=e.bufferedEnd;return n(ko,{bufferedEnd:t})},ended:function(){return n(jo)},seeking:function(){return n(Co)},seeked:function(){return n(Ao)},waiting:function(){return n(Io)},hasNotBeenPlayingForAMoment:function(e){return n(Mo)},userInteraction:function(){return n(Ro)},userIdle:function(){return n(Do)},controlsEntered:function(){return n(No)},controlsLeft:function(){return n(Lo)},focusEnteredControls:function(){return n(Bo)},focusLeftControls:function(){return n(Fo)},controlsHidden:function(){return n(Uo)},showInfoBoxDuringPlayback:function(){return n(Wo)},hideInfoBoxDuringPlayback:function(){return n(Ho)},toggleInfoBoxDuringPlayback:function(){return n(Vo)},saveMediaElementId:function(e){return n(qo,{id:e})},discardMediaElementId:function(){return n(Go)}};function n(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{type:e,meta:{collectionName:"pages",mediaScope:t},payload:n}}}function Yo(e){return S({property:"textTrack",value:e?{srclang:e.srclang,kind:e.kind}:{}})}function Xo(e){return e.backgroundMedia.muted}function $o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ko(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope;return an("media.".concat(void 0===e?"default":e))}function Qo(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).scope,t=void 0===e?"default":e;return function(e){return Object(se.b)(zo({scope:t}),e)}}function Jo(e){var t=e.file,n=e.defaultTextTrackFileId,r=void 0===n?function(){}:n;return ee(no({property:"textTrack"}),no({property:"volume"}),Yr,Xr,function(e,t){var n=t.parent;return ee(xe(e,{namespace:"files"}),n,(function(e){return e.fileUrlTemplates}),(function(e){return e.modelTypes}),(function(t,n,r,o){return n?Object.keys(t).reduce((function(i,a){var s=t[a];return s.id&&s.parentFileId==n.id&&s.parentFileModelType==n.modelType&&i.push(Kt(e,s,r,o)),i}),[]):[]}))}("textTrackFiles",{parent:t}),r,(function(e,t,n,r,o,i){e=e||{};var s=o.map((function(e){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$o(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({displayLabel:Zo(e,n)},e)})),c=function(e,t,n,r){if(t){var o=e.find((function(e){return e.permaId==t}));if(o)return o}var i=e.find((function(e){return"subtitles"==e.kind&&e.srclang==n})),a=0==r&&e.find((function(e){return"captions"==e.kind}));return i||a}(s,i,r,t);return{files:s.sort((function(e,t){return(e.displayLabel||"").localeCompare(t.displayLabel||"")})),autoFile:c,activeFileId:ei(s,c,e),mode:"off"==e.kind?"off":e.kind?"user":"auto"}}))}function Zo(e,t){return e.label||t("pageflow.public.languages."+e.srclang||!1,{defaultValue:t("pageflow.public.languages.unknown")})}function ei(e,t,n){if("off"==n.kind)return null;var r=e.find((function(e){return e.srclang==n.srclang&&e.kind==n.kind}));return r?r.id:t&&t.id}function ti(e){return ee(e.autoplayWhenBackgroundMediaMuted,ni({id:e.id}),Xo,(function(e,t,n){return t&&(!n||e)}))}function ni(e){return ee(rn("autoplay",e),(function(e){return!1!==e}))}function ri(e){var t=e.playerActions,n=e.playerState,r=e.playerControlsComponent;return F.a.createElement(r,Object.assign({hasProgress:!0,controlBarText:e.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:t.togglePlaying,onScrub:t.scrubTo,onSeek:t.seekTo,onMouseEnter:t.controlsEntered,onMouseLeave:t.controlsLeft,onFocus:t.focusEnteredControls,onBlur:t.focusLeftControls,watchVisibility:n.isPlaying,onHidden:t.controlsHidden,additionalMenuBarButtons:ai(e),infoBoxHiddenDuringPlayback:si(e),onAdditionalButtonMouseEnter:t.showInfoBoxDuringPlayback,onAdditionalButtonMouseLeave:t.hideInfoBoxDuringPlayback,onAdditionalButtonClick:t.toggleInfoBoxDuringPlayback,qualityMenuItems:ui(e.qualities,e.file,e.activeQuality,e.t),qualityMenuButtonTitle:e.t("pageflow.public.media_quality"),onQualityMenuItemClick:e.updateVideoQualitySetting,textTracksMenuItems:ci(e.textTracks,e.t),textTracksMenuButtonTitle:e.t("pageflow.public.text_tracks"),onTextTracksMenuItemClick:function(t){"off"==t?e.updateTextTrackSettings({kind:"off"}):e.updateTextTrackSettings(e.textTracks.files.find((function(e){return e.id==t})))}},e,{className:ii(n)}))}ri.defaultProps={playerControlsComponent:Gr,qualities:[],textTracks:{files:[]}};var oi=It(te({activeQuality:no({property:"videoQuality"}),t:Yr}),{updateTextTrackSettings:Yo,updateVideoQualitySetting:function(e){return S({property:"videoQuality",value:e})}})(ri);function ii(e){return W()(so(e))}function ai(e){var t=e.t;return or(e.infoBox)?[]:[{name:"toggleInfoBox",className:"player_controls-toggle_info_box_menu_button",label:t("pageflow.public.toggle_info_box"),iconName:"toggleInfoBox"}]}function si(e){var t=e.playerState;return void 0===t.infoBoxHiddenDuringPlayback?!!e.textTracks.activeFileId:t.infoBoxHiddenDuringPlayback}function ci(e,t){if(!e.files.length)return[];var n={value:"off",label:t("pageflow.public.text_track_modes.none"),active:"off"==e.mode};return[{value:"auto",label:e.autoFile?t("pageflow.public.text_track_modes.auto",{label:e.autoFile.displayLabel}):t("pageflow.public.text_track_modes.auto_off"),active:"auto"==e.mode},n].concat(e.files.map((function(t){return{value:t.id,label:t.displayLabel,active:"user"==e.mode&&t.id==e.activeFileId}})))}function ui(e,t,n,r){return n=n||"auto",function(e,t){if(!t)return[];return e.filter((function(e){return!!t.urls[e]||"auto"==e}))}(e,t).map((function(e){return{value:e,label:r("pageflow.public.video_qualities.labels.".concat(e)),annotation:r("pageflow.public.video_qualities.annotations.".concat(e),{defaultValue:""}),active:e==n}}))}function li(e){return function(t){return t.entry[e]}}function fi(e){var t=e.entrySlug,n=e.file,r="videoFiles"==n.collectionName?"videos":"audio";return"/".concat(t,"/").concat(r,"/").concat(n.id)}var pi=It(te({t:Yr,entrySlug:li("slug")}))((function(e){return e.file?React.createElement("p",{className:"non_js_video"},React.createElement("a",{href:fi(e),target:"_blank"},(n=(t=e).file,r=t.t,o="videoFiles"==n.collectionName?"video":"audio",r("pageflow.public.open_".concat(o))))):React.createElement("noscript",null);var t,n,r,o})),di=ee(an("media.pageScrollerMargin"),(function(e){return e&&e.bottom}));function hi(e){var t=e.page,n=e.playerState,r={title:t.additionalTitle,description:t.additionalDescription};return React.createElement(H,{className:yi(e.className,gi(e),e.textTracks,n)},React.createElement(V,{pageHasPlayerControls:!0},e.children,React.createElement(Dn,{page:t,className:so(n)})),React.createElement(Nn,{onInteraction:function(){return n.userIsIdle&&e.playerActions.userInteraction()},classNames:so(n)},React.createElement(oi,{file:e.file,textTracks:e.textTracks,playerState:n,playerActions:e.playerActions,qualities:e.qualities,controlBarText:e.controlBarText,infoBox:r,playerControlsComponent:e.playerControlsComponent}),React.createElement(Wn,{className:so(n),marginBottom:e.dynamicPageScrollerMargin&&e.pageScrollerMarginBottom},React.createElement(Vn,{page:t}),React.createElement(na,{page:t}),React.createElement(qn,{page:t,marginBottom:e.dynamicPageScrollerMargin?"none":"for_player_controls"},React.createElement(pi,{file:e.file})))))}hi.defaultProps={playerControlsCanOverlapPageText:!0};var vi=In(te({pageScrollerMarginBottom:di,textTracks:Jo({file:Yn("file"),defaultTextTrackFileId:Yn("page.defaultTextTrackFileId")}),hasAutoplaySupport:Xn("autoplay support"),shouldAutoplay:ti({id:Yn("page.permaId"),autoplayWhenBackgroundMediaMuted:Yn("autoplayWhenBackgroundMediaMuted")})}))(hi);function gi(e){return e.shouldAutoplay&&e.hasAutoplaySupport&&!e.playerState.playFailed}function yi(e,t,n,r){return W()(e,{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&&!t,should_play:r.shouldPlay,has_played:r.hasPlayed})}var mi=In(te({pageIsPrepared:un(),pageIsPreloaded:cn(),atmoDuringPlayback:rn("atmoDuringPlayback"),defaultTextTrackFileId:rn("defaultTextTrackFileId")}))((function(e){if(e.file&&e.file.isReady){var t=e.structuredDataComponent||function(){return null};return React.createElement("div",{style:{height:"100%"}},function(e){if(e.pageIsPrepared){var t=e.playerComponent;return React.createElement(t,{file:e.file,posterImageFile:e.posterImageFile,playerState:e.playerState,playerActions:e.playerActions,atmoDuringPlayback:e.atmoDuringPlayback,fit:e.fit,position:e.position,loop:e.loop,muted:e.muted,playsInline:e.playsInline,defaultTextTrackFileId:e.defaultTextTrackFileId,textTracksEnabled:e.textTracksEnabled,textTrackPosition:e.textTrackPosition})}if(e.preloadComponent&&e.pageIsPreloaded){var n=e.preloadComponent;return React.createElement(n,{file:e.file,posterImageFile:e.posterImageFile})}return React.createElement("noscript",null)}(e),React.createElement(t,{file:e.file}))}return React.createElement("noscript",null)})),bi=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){var e=this;return F.a.createElement("div",{ref:function(t){return e.containerElement=t},dangerouslySetInnerHTML:this.mediaTagHTML()})}},{key:"shouldComponentUpdate",value:function(e){return e.tagName!==this.props.tagName||e.poster!==this.props.poster||e.loop!==this.props.loop||e.muted!==this.props.muted||e.playsInline!==this.props.playsInline||!wi(e.sources,this.props.sources)||!wi(e.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 e=document.createElement("div"),t=document.createElement(this.props.tagName);return t.setAttribute("preload","none"),t.setAttribute("crossorigin","anonymous"),t.setAttribute("alt",this.props.alt),this.props.poster&&t.setAttribute("data-poster",this.props.poster),this.props.loop&&t.setAttribute("loop","true"),this.props.muted&&t.setAttribute("muted","true"),this.props.playsInline&&t.setAttribute("playsinline","true"),this.props.sources.forEach((function(e){var n=document.createElement("source");n.setAttribute("src",e.src),n.setAttribute("type",e.type),t.appendChild(n)})),this.props.tracks.forEach((function(e){var n=document.createElement("track");n.setAttribute("src",e.src),n.setAttribute("id",e.id),n.setAttribute("kind",e.kind),n.setAttribute("srclang",e.srclang),n.setAttribute("label",e.label),t.appendChild(n)})),e.appendChild(t),{__html:e.innerHTML.replace('preload="none"','preload="auto"')}}}]),t}(F.a.Component);function wi(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[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 Ei(e,t){t.emulateTextTracksDisplay;var n=t.atmoSettings,r=t.mediaContext,o=t.playsInline,i="audio"==e.tagName.toLowerCase(),a=new pageflow.VideoPlayer(e,{controlBar:!1,loadingSpinner:!1,bigPlayButton:!1,errorDisplay:!1,textTrackSettings:!1,poster:e.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}bi.defaultProps={tagName:"video",sources:[],tracks:[]};var Oi=function(e,t){e.on("loadedmetadata",(function(){return t.metaDataLoaded({currentTime:e.currentTime(),duration:e.duration()})})),e.on("progress",(function(){return t.progress({bufferedEnd:e.bufferedEnd()})})),e.on("play",t.playing),e.on("playfailed",t.playFailed),e.on("playmuted",t.playingMuted),e.on("pause",t.paused),e.on("waiting",t.waiting),e.on("seeking",t.seeking),e.on("seeked",t.seeked),e.on("bufferunderrun",t.bufferUnderrun),e.on("bufferunderruncontinue",t.bufferUnderrunContinue),e.on("timeupdate",(function(){return t.timeUpdate({currentTime:e.currentTime(),duration:e.duration()})})),e.on("ended",t.ended)};function xi(e,t,n){e.one("timeupdate",(function(){Pi(e,null,t(),n())}))}function Pi(e,t,n,r){t!=n&&function(e,t){[].slice.call(e.textTracks()).forEach((function(e){e.id=="text_track_file_".concat(t)?e.mode="showing":e.mode="disabled"}))}(e,n),function(e,t){e.updateCueLineSettings(t)}(e,r)}function ki(e){return function(t){return t.features.indexOf(e)>=0}}var _i,Si=function(e){var t=e.tagName,n=e.sources,r=e.poster,o=void 0===r?function(){}:r,i=e.emulateTextTracksDisplay,a=void 0!==i&&i,s=e.createPlayer,c=void 0===s?Ei:s,u=function(e){function r(e,n){var o;return T(this,r),(o=R(this,D(r).call(this,e,n))).displaysTextTracksInNativePlayer=o.props.hasNativeVideoPlayer&&"video"==t,o.initiallyMuted=o.props.muted,o.updateAtmoSettings(),o.setupMediaTag=function(t){o.player=c(t,{emulateTextTracksDisplay:a,atmoSettings:o.atmoSettings,mediaContext:o.context.mediaContext,playsInline:e.playsInline}),o.player.ready((function(){var e,n,r,i,a,s;o.props.playerActions.saveMediaElementId(t.id),e=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&&e.currentTime(s.currentTime),s.shouldPrebuffer&&e.prebuffer().then(r.prebuffered,(function(){})),s.isPlaying&&e.play(),e.on("canplay",(function(){n().shouldPlay&&e.paused()&&e.play()})),o.displaysTextTracksInNativePlayer||function(e,t,n){e.on("pause",(function(){xi(e,t,n)})),e.textTracks().on("addtrack",(function(){Pi(e,null,t(),n())})),Pi(e,null,t(),n()),xi(e,t,n)}(o.player,(function(){return o.props.textTracks.activeFileId}),(function(){return o.props.textTrackPosition})),Oi(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 L(r,e),C(r,[{key:"componentDidUpdate",value:function(e){var t=this;this.player&&(this.player.ready((function(){var n,r,o;n=t.player,r=e.muted,o=t.props.muted,r!==o&&n.muted(o),function(e,t,n,r){t!==n&&e.changeVolumeFactor(n,r)}(t.player,e.playerState.volumeFactor,t.props.playerState.volumeFactor,t.props.playerState.volumeFactorFadeDuration),function(e,t,n,r){!t.shouldPrebuffer&&n.shouldPrebuffer&&e.prebuffer().then((function(){return setTimeout(r.prebuffered,0)})),!t.shouldPlay&&n.shouldPlay?n.fadeDuration?e.playAndFadeIn(n.fadeDuration):e.play():t.shouldPlay&&!n.shouldPlay&&n.isPlaying&&(n.fadeDuration?e.fadeOutAndPause(n.fadeDuration):e.pause()),void 0!==n.shouldSeekTo&&n.shouldSeekTo!==t.shouldSeekTo&&e.currentTime(n.shouldSeekTo)}(t.player,e.playerState,t.props.playerState,t.props.playerActions)}),!0),this.displaysTextTracksInNativePlayer||Pi(this.player,e.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 F.a.createElement(bi,{tagName:t,sources:n(this.props.file,this.props.quality,{hasHighBandwidth:this.props.hasHighBandwidth,forceBestQuality:this.props.forceBestQuality,forceFullhdQuality:this.props.forceFullhdQuality}),tracks:(e=this.props.textTracks.files,r=this.props.textTracksEnabled,r?e.filter((function(e){return e.isReady})).map((function(e){return{id:"text_track_file_".concat(e.id),kind:e.kind,label:e.displayLabel,srclang:e.srclang,src:e.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 e,r}}]),r}(F.a.Component);u.contextTypes={mediaContext:F.a.PropTypes.object},u.defaultProps={textTracksEnabled:!0,textTracks:{files:[]}};var l=It(te({textTracks:Jo({file:Yn("file"),defaultTextTrackFileId:Yn("defaultTextTrackFileId")}),quality:no({property:"videoQuality"}),hasNativeVideoPlayer:Xn("native video player"),hasHighBandwidth:Xn("high bandwidth"),forceBestQuality:ki("force_best_video_quality"),forceFullhdQuality:ki("force_fullhd_video_quality"),textTrackPosition:ji}),{updateTextTrackSettings:Yo})(u);return l.WrappedComponent=u,l},Ti=(_i="slimPlayerControls",function(e){return e.widgetPresence[_i]});function ji(e,t){var n=t.playerState,r=t.textTrackPosition;return r||(Ti(e)?n.controlsHidden?"auto.lazy":"auto.translated":n.controlsHidden?"auto.lazy":"top")}var Ci=Si({tagName:"audio",sources:function(e){return[{type:"audio/ogg",src:"".concat(e.urls.ogg,"?u=1")},{type:"audio/mp4",src:"".concat(e.urls.m4a,"?u=1")},{type:"audio/mp3",src:"".concat(e.urls.mp3,"?u=1")}]},emulateTextTracksDisplay:!0});function Ai(e,t){return t&&t.match(/^\/\//)?"".concat(e,":").concat(t):t}function Ii(e){var t=Math.round(e/1e3)%60,n=Math.floor(e/1e3/60)%60,r=Math.floor(e/1e3/60/60),o="PT";return r>0&&(o+="".concat(r,"H")),n>0&&(o+="".concat(n,"M")),(t>0||0==n&&0==r)&&(o+="".concat(t,"S")),o}var Mi=It(te({isEnabled:ki("structured_data")}))((function(e){var t=e.data;return e.isEnabled?React.createElement("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(t)}}):null}));var Ri=It(te({entryPublishedAt:li("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"AudioObject",name:t.basename,description:t.alt,url:Ai("https",t.urls.mp3),duration:Ii(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(Mi,{data:r})}));function Di(e){return React.createElement(mi,Object.assign({},e,{playerComponent:Ci,structuredDataComponent:Ri}))}var Ni=function(e,t,n,r){if(r&&r.height&&t&&"contain"!=t){var o,i,a,s=e.width/e.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"==t&&a>1.2)){var c=o*a,u=i*a,l=void 0!==n[0]&&"cover"==t?n[0]:50,f=void 0!==n[1]&&"cover"==t?n[1]:50;return{left:(r.width-c)*l/100,top:(r.height-u)*f/100,width:c,height:u}}}};function Li(e,t){if(e&&t){var n=Math.max(0,-e.left),r=Math.max(0,e.width-t.width+e.left),o=Math.max(0,-e.top),i=Math.max(0,e.height-t.height+e.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 Bi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fi(e){return F.a.createElement(Tr.a,{whitelist:["width","height"],cloneOptions:{noCloneOnZeroDimension:!0}},(function(t){return function(e,t){var n=Ni(e.videoFile,e.fit,e.position,t);return F.a.createElement("div",{className:"uncropped_media_wrapper"},F.a.createElement("div",{className:Li(n,t),style:Ui(n)},e.children))}(e,t)}))}function Ui(e){return e&&function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bi(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({position:"absolute"},e)}var Wi=Si({tagName:"video",sources:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.hasHighBandwidth,o=n.forceBestQuality,i=n.forceFullhdQuality;if(t=t||"auto",o)return[{type:"video/mp4",src:e.urls["4k"]||e.urls.fullhd||e.urls.high}];if(i)return[{type:"video/mp4",src:e.urls.fullhd||e.urls.high}];if("auto"==t){var a=r?"high":"medium",s=[{type:"application/x-mpegURL",src:"".concat(e.urls["hls-playlist"],"?u=1")},{type:"video/mp4",src:"".concat(e.urls[a],"?u=1")}];return e.urls["dash-playlist"]&&(s=[{type:"application/dash+xml",src:"".concat(e.urls["dash-playlist"])}].concat(s)),s}return e.urls[t]||(t="high"),[{type:"video/mp4",src:"".concat(e.urls[t],"?u=1")}]},poster:qi});function Hi(e){return F.a.createElement(Fi,{videoFile:e.file,fit:e.fit,position:e.position},F.a.createElement(Wi,{file:e.file,posterImageFile:e.posterImageFile,playerState:e.playerState,playerActions:e.playerActions,atmoDuringPlayback:e.atmoDuringPlayback,defaultTextTrackFileId:e.defaultTextTrackFileId,textTracksEnabled:e.textTracksEnabled,loop:e.loop,muted:e.muted,playsInline:e.playsInline}))}var Vi=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"componentDidMount",value:function(){var e=this.props,t=e.file,n=e.posterImageFile,r=e.preloadImage,o=qi(t,n);o&&r(o)}},{key:"render",value:function(){return null}}]),t}(F.a.Component);function qi(e,t){var n=oe("mobile platform")?"medium":"large";return t?t.urls[n]:e.urls["poster_".concat(n)]}Vi.defaultProps={preloadImage:ie};var Gi=It(te({entryPublishedAt:li("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt,r={"@context":"http://schema.org","@type":"VideoObject",name:t.basename,description:t.alt,url:Ai("https",t.urls.high),thumbnailUrl:Ai("https",t.urls.poster_medium),width:t.width,height:t.height,duration:Ii(t.durationInMs),datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(Mi,{data:r})}));var zi=It(te({file:Xt("videoFiles",{id:Yn("videoFileId")}),posterImageFile:Xt("imageFiles",{id:Yn("posterImageFileId")}),muted:function(e,t){return t.muted||Xo(e)}}))((function(e){return React.createElement(mi,Object.assign({},e,{playerComponent:Hi,preloadComponent:Vi,structuredDataComponent:Gi}))}));function Yi(e){var t=e.page,n=X.concat(e.propertyNamePrefix,e.videoPropertyBaseName),r=X.concat(e.propertyNamePrefix,e.posterImagePropertyBaseName);return React.createElement(zi,{videoFileId:t["".concat(n,"Id")],posterImageFileId:t["".concat(r,"Id")],playerState:e.playerState,playerActions:e.playerActions,fit:e.fit,position:[t["".concat(n,"X")],t["".concat(n,"Y")]],textTracksEnabled:e.textTracksEnabled,loop:e.loop,muted:e.muted,playsInline:e.playsInline})}function Xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xi(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Yi.defaultProps={videoPropertyBaseName:"videoFile",posterImagePropertyBaseName:"posterImage",fit:"smart_contain"};var Ki=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"getChildContext",value:function(){return{mediaContext:$i({},this.context.mediaContext,{playbackMode:this.props.playbackMode,playerDescription:this.props.playerDescription})}}},{key:"render",value:function(){return this.props.children}}]),t}(F.a.Component);Ki.contextTypes={mediaContext:F.a.PropTypes.object},Ki.childContextTypes={mediaContext:F.a.PropTypes.object};var Qi=It(te({fileExists:$t()}))((function(e){var t=function(e){return(t=e.propertyNamePrefix,[{propertyBaseName:X.concat(t,"mobilePosterImage"),collection:"imageFiles"},{propertyBaseName:X.concat(t,"posterImage"),collection:"imageFiles"},{propertyBaseName:X.concat(t,"videoFile"),collection:"videoFiles"}]).find((function(t){return e.fileExists(t.collection,e.page["".concat(t.propertyBaseName,"Id")])}));var t}(e);return t?React.createElement(Rn,{page:e.page,propertyBaseName:t.propertyBaseName,fileCollection:t.collection}):React.createElement("noscript",null)}));var Ji=It(te({fileExists:$t(),hasMobilePlatform:Xn("mobile platform"),hasAutoplaySupport:Xn("autoplay support")}))((function(e){return e.hasMobilePlatform&&function(e){var t=X.concat(e.propertyNamePrefix,"mobilePosterImageId");return e.fileExists("imageFiles",e.page[t])}(e)?React.createElement(Qi,{page:e.page,propertyNamePrefix:e.propertyNamePrefix}):React.createElement(Ki,{playbackMode:"loop",playerDescription:"Background Video Player"},React.createElement(Yi,Object.assign({loop:!0,fit:"cover",muted:!e.hasAutoplaySupport,playsInline:!0,textTracksEnabled:!1},e)))}));var Zi=It(te({file:Xt("imageFiles",{id:Yn("fileId")}),entryPublishedAt:li("publishedAt")}))((function(e){var t=e.file,n=e.entryPublishedAt;if(t){var r={"@context":"http://schema.org","@type":"ImageObject",name:t.basename,description:t.alt,url:Ai("https",t.urls.large),width:t.width,height:t.height,datePublished:n,uploadDate:t.createdAt,copyrightHolder:{"@type":"Organization",name:t.rights}};return React.createElement(Mi,{data:r})}return null}));var ea=In(te({page:on(),playerState:Ko({scope:"background"})}),$({playerActions:Qo({scope:"background"})}))((function(e){var t=e.page,n=e.playerState,r=e.playerActions,o=e.propertyNamePrefix;return"video"==t[X.concat(o,"backgroundType")]?React.createElement(Ji,{page:t,playerState:n,playerActions:r,propertyNamePrefix:o}):React.createElement(Rn,{page:t,propertyNamePrefix:o,structuredDataComponent:Zi})}));function ta(e){return React.createElement(V,null,React.createElement(ea,{propertyNamePrefix:e.propertyNamePrefix}),React.createElement(Dn,{page:e.page}))}var na=It(te({isEntryReady:function(e){return!!e.entry.isReady}}))((function(e){var t=e.page;return e.isEntryReady?"video"==t.backgroundType||"video"==t.type?React.createElement(ra,{videoId:t.videoFileId,posterImageId:t.posterImageId}):React.createElement(oa,{imageId:t.backgroundImageId}):null})),ra=It(te({videoFile:Xt("videoFiles",{id:Yn("videoId")}),posterImageFile:Xt("imageFiles",{id:Yn("posterImageId")})}))((function(e){var t=e.videoFile,n=e.posterImageFile;return n?React.createElement(ia,{file:n}):React.createElement(ia,{file:t})})),oa=In(te({file:Xt("imageFiles",{id:Yn("imageId")}),pageIsPrepared:un()}))(ia);function ia(e){var t=e.file;return t&&t.isReady&&un?React.createElement("img",{src:t.urls.print,alt:t.alt,className:"print_image"}):React.createElement("noscript",null)}function aa(e){return React.createElement("div",{className:"waveform_player_controls-info_box"},function(e){if(!z(e.title))return React.createElement("h3",{className:sa(e)},e.title)}(e),function(e){if(!z(e.description))return React.createElement("p",{className:"waveform_player_controls-info_box-description",dangerouslySetInnerHTML:{__html:e.description}})}(e))}function sa(e){var t=!z(e.title)&&!z(e.description);return W()("waveform_player_controls-info_box-title",{"waveform_player_controls-info_box-title-with_separator":t})}var ca="MEDIA_PAGE_SCROLLER_MARGIN_SET_BOTTOM";var ua=In(null,{setPageScrollerMarginBottom:function(e){return{type:ca,payload:{value:e},meta:{collectionName:"pages"}}}})((function(e){return React.createElement(Tr.a,{whitelist:["height"],onMeasure:function(t){var n=t.height;return e.setPageScrollerMarginBottom(n)}},React.createElement("div",{className:"waveform_player_controls-container"},e.children))}));var la=vr((function(e){return React.createElement("a",{href:"#",className:fa(e),id:e.id,tabIndex:"4",title:e.title,onClick:pa(e)},React.createElement(dr,{name:e.isPlaying?"pause":"play"}))}));function fa(e){return W()("waveform_player_controls-play_button",{"waveform_player_controls-play_button-inverted":e.inverted})}function pa(e){return function(t){t.preventDefault(),e.onClick&&e.onClick()}}var da=n(173),ha=n.n(da),va="rgba(170, 170, 170, 1)",ga="rgba(0, 0, 0, 0.5)",ya="#fff",ma="#888";var ba=In(te({pageIsPrepared:un(),waveformColor:rn("waveformColor"),mainColor:function(e){return e.theme.mainColor}}))((function(e){return e.pageIsPrepared&&e.mediaElementId?React.createElement(Tr.a,{whitelist:["height"]},(function(t){var n=t.height;return React.createElement("div",{className:"waveform_player_controls-wave"},React.createElement("div",{className:"waveform_player_controls-wave_wrapper"},React.createElement(ha.a,{mediaElt:"#".concat(e.mediaElementId),options:{normalize:!0,removeMediaElementOnDestroy:!1,hideScrollbar:!0,progressColor:e.waveformColor||e.mainColor,waveColor:e.inverted?ga:va,cursorColor:e.inverted?ma:ya,height:n}}),React.createElement(la,{isPlaying:e.isPlaying,title:e.playButtonTitle,inverted:e.inverted,onClick:e.onPlayButtonClick})))})):null}));function wa(e){return React.createElement("div",{className:"waveform_player_controls-times_display"},React.createElement(br,{value:e.currentTime,className:"waveform_player_controls-times_display-current_time"}),"/",React.createElement(br,{value:e.duration,className:"waveform_player_controls-times_display-duration"}))}var Ea=In(te({inverted:rn("invert")}))((function(e){return React.createElement("div",{className:Oa(e)},React.createElement(ua,null,React.createElement(ba,{isPlaying:e.isPlaying,inverted:e.inverted,playButtonTitle:e.playButtonTitle,mediaElementId:e.mediaElementId,onPlayButtonClick:e.onPlayButtonClick}),React.createElement(wa,{currentTime:e.currentTime,duration:e.duration}),React.createElement(aa,e.infoBox)),React.createElement(Ur,{inverted:e.inverted,qualityMenuButtonTitle:e.qualityMenuButtonTitle,qualityMenuItems:e.qualityMenuItems,onQualityMenuItemClick:e.onQualityMenuItemClick,textTracksMenuButtonTitle:e.textTracksMenuButtonTitle,textTracksMenuItems:e.textTracksMenuItems,hiddenOnPhone:!e.isPlaying,onTextTracksMenuItemClick:e.onTextTracksMenuItemClick}))}));function Oa(e){return W()("waveform_player_controls",{"waveform_player_controls-inverted":e.inverted})}var xa="HOTKEY_SPACE",Pa="HOTKEY_TAB";function ka(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ka(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Sa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.scope,n=void 0===t?"default":t;return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(t.meta&&t.meta.mediaScope&&t.meta.mediaScope!==n)return e;switch(t.type){case c:return _a({},e,{hasPlayed:!1,unplayed:!0,infoBoxHiddenDuringPlayback:void 0,userIsIdle:!1});case l:return _a({},e,{shouldPrebuffer:!1});case uo:return _a({},e,{shouldPlay:!0,playFailed:!1,hasBeenPlayingJustNow:!0,unplayed:!1,fadeDuration:null,isLoading:!0});case _o:return _a({},e,{shouldPlay:!0,isPlaying:!0});case vo:return _a({},e,{shouldPlay:!1,playFailed:!0,hasBeenPlayingJustNow:!1,unplayed:!0,fadeDuration:null,isLoading:!1});case lo:return _a({},e,{shouldPlay:!0,hasBeenPlayingJustNow:!0,fadeDuration:t.payload.fadeDuration,isLoading:!0});case fo:return _a({},e,{shouldPlay:!1,fadeDuration:null,isLoading:!1});case So:return e.bufferUnderrun?_a({},e,{isPlaying:!1,hasPlayed:!0}):_a({},e,{shouldPlay:!1,isPlaying:!1,fadeDuration:null,isLoading:!1});case po:return _a({},e,{shouldPlay:!1,fadeDuration:t.payload.fadeDuration,isLoading:!1});case ho:return _a({},e,{volumeFactor:t.payload.volumeFactor,volumeFactorFadeDuration:t.payload.fadeDuration});case bo:return _a({},e,{shouldPrebuffer:!0});case wo:return _a({},e,{shouldPrebuffer:!1});case Io:return _a({},e,{isLoading:!0});case Oo:return _a({},e,{bufferUnderrun:!0});case xo:return _a({},e,{bufferUnderrun:!1});case yo:return _a({},e,{scrubbingAt:t.payload.time});case mo:return _a({},e,{shouldSeekTo:t.payload.time});case Co:return _a({},e,{isLoading:!0});case Ao:return _a({},e,{scrubbingAt:void 0,isLoading:!1});case Po:return _a({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration});case ko:return _a({},e,{bufferedEnd:t.payload.bufferedEnd});case To:return _a({},e,{currentTime:t.payload.currentTime,duration:t.payload.duration,isLoading:!1});case jo:return _a({},e,{shouldPlay:!1,isPlaying:!1});case Mo:return _a({},e,{hasBeenPlayingJustNow:!1});case Pa:case Ro:return _a({},e,{userIsIdle:!1,controlsHidden:!1});case Do:return _a({},e,{userIsIdle:!0});case No:return _a({},e,{userHoveringControls:!0});case Lo:return _a({},e,{userHoveringControls:!1});case Bo:return _a({},e,{focusInsideControls:!0});case Fo:return _a({},e,{focusInsideControls:!1});case Uo:return _a({},e,{controlsHidden:!0,infoBoxHiddenDuringPlayback:!0});case Ho:return _a({},e,{infoBoxHiddenDuringPlayback:!0});case Wo:return _a({},e,{infoBoxHiddenDuringPlayback:!1});case Vo:return _a({},e,{infoBoxHiddenDuringPlayback:!e.infoBoxHiddenDuringPlayback});case qo:return _a({},e,{mediaElementId:t.payload.id});case Go:return _a({},e,{mediaElementId:null});default:return e}}};function Ta(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ja(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ta(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ta(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ca=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case ca:return ja({},e,{bottom:t.payload.value});default:return e}},Aa=Oe.a.mark(Ma),Ia=Oe.a.mark(Ra);function Ma(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)([xa,co],Ra,zo());case 2:case"end":return e.stop()}}),Aa)}function Ra(e){var t,n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return t=e.play,n=e.pause,r.next=3,Object(De.select)(Ko());case 3:if(!r.sent.shouldPlay){r.next=9;break}return r.next=7,Object(De.put)(n());case 7:r.next=13;break;case 9:return r.next=11,Object(De.call)((function(){return pageflow.backgroundMedia.unmute()}));case 11:return r.next=13,Object(De.put)(t());case 13:case"end":return r.stop()}}),Ia)}var Da=Oe.a.mark(La),Na=Oe.a.mark(Ba);function La(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)([vo,go],Ba);case 2:case"end":return e.stop()}}),Da)}function Ba(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.call)((function(){return pageflow.backgroundMedia.mute()}));case 2:case"end":return e.stop()}}),Na)}var Fa="BACKGROUND_MEDIA_MUTE",Ua="BACKGROUND_MEDIA_UNMUTE";function Wa(){return{type:Ua}}var Ha=Oe.a.mark(Ka),Va=Oe.a.mark(Qa),qa=Oe.a.mark(Ja),Ga=Oe.a.mark(Za),za=zo(),Ya=za.play,Xa=za.prebuffer,$a=za.waiting;function Ka(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(Ne.takeEvery)(s,Oe.a.mark((function t(n){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,[Object(De.race)({task:Object(De.call)(Ja,e),cancel:Object(De.take)(l)}),Object(De.race)({task:Object(De.call)(Qa,e),cancel:Object(De.take)(l)})];case 2:case"end":return t.stop()}}),t)})));case 2:case"end":return t.stop()}}),Ha)}function Qa(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=e.retryOnUnmute,!n.t0){n.next=5;break}return n.next=4,Object(De.select)(ni());case 4:n.t0=n.sent;case 5:if(!n.t0){n.next=12;break}return n.next=8,Object(De.race)({unmute:Object(De.take)(Ua),cancel:Object(De.take)(l)});case 8:if(t=n.sent,!t.unmute){n.next=12;break}return n.delegateYield(Ja(e),"t1",12);case 12:case"end":return n.stop()}}),Va)}function Ja(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.delegateYield(Za(e),"t0",1);case 1:if(!(t=n.t0)){n.next=5;break}return n.next=5,Object(De.put)($a());case 5:return n.next=7,[Object(De.take)(wo),Object(De.put)(Xa())];case 7:if(!t){n.next=12;break}return n.next=10,Object(De.call)(Ne.delay,1e3);case 10:return n.next=12,Object(De.put)(Ya());case 12:case"end":return n.stop()}}),qa)}function Za(e){var t,n,r;return Oe.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return t=e.canAutoplay,n=e.autoplayWhenBackgroundMediaMuted,o.next=3,Object(De.select)(ti({autoplayWhenBackgroundMediaMuted:function(){return n}}));case 3:return r=o.sent,o.abrupt("return",r&&t);case 5:case"end":return o.stop()}}),Ga)}var es=Oe.a.mark(ts);function ts(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)(uo,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.select)(sn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(De.call)(ns);case 5:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(Ne.takeEvery)([fo,jo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.select)(sn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(De.call)(rs);case 5:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),es)}function ns(){pageflow.events.trigger("scroll_indicator:disable")}function rs(){pageflow.events.trigger("scroll_indicator:enable")}var os=Oe.a.mark(is);function is(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=zo(),t=e.hasNotBeenPlayingForAMoment,n.next=3,Object(Ne.takeEvery)([fo,jo],Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.race)({task:Object(De.call)(Oe.a.mark((function e(n){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.call)(Ne.delay,700);case 2:return e.next=4,Object(De.put)(t(!1));case 4:case"end":return e.stop()}}),e)}))),cancel:Object(De.take)(_o)});case 2:case"end":return e.stop()}}),e)})));case 3:case"end":return n.stop()}}),os)}var as=Oe.a.mark(cs),ss=Oe.a.mark(us);function cs(){var e,t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return e=zo(),t=e.userIdle,n.next=3,Object(Ne.takeLatest)([uo,Ro,Pa],us,t);case 3:case"end":return n.stop()}}),as)}function us(e){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Object(De.call)(Ne.delay,3e3);case 2:return t.next=4,Object(De.put)(e());case 4:case"end":return t.stop()}}),ss)}var ls=Oe.a.mark(fs);function fs(){var e,t,n,r,o=arguments;return Oe.a.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:return e=o.length>0&&void 0!==o[0]?o[0]:{},t=e.scope,n=zo({scope:t}),r=n.fadeOutAndPause,i.next=4,Object(Ne.takeEvery)(u,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.put)(r({fadeDuration:400}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return i.stop()}}),ls)}var ps=Oe.a.mark(ds);function ds(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)(jo,Oe.a.mark((function e(){var t,n;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.select)(rn("autoChangePageOnEnded"));case 2:return t=e.sent,e.next=5,Object(De.select)(sn());case 5:if(n=e.sent,!t||!n){e.next=9;break}return e.next=9,Object(De.call)(hs);case 9:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),ps)}function hs(){pageflow.slides.next()}var vs=Oe.a.mark(ms);function gs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ys(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gs(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ms(){var e,t,n=arguments;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:{},t=[Ma(),La(),ts()],e.playsInNativePlayer&&e.playsInNativePlayer()||t.push([ds(),fs(),is()]),oe("mobile platform")||t.push([Ka(ys({},e,{canAutoplay:oe("autoplay support")}))]),e.hideControls&&t.push([cs()]),r.next=7,t;case 7:case"end":return r.stop()}}),vs)}var bs=Oe.a.mark(Os),ws=Oe.a.mark(xs),Es=Oe.a.mark(Ps);function Os(){var e,t,n,r=arguments;return Oe.a.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return e=r.length>0&&void 0!==r[0]?r[0]:{},t=e.scope,n=zo({scope:t}),o.next=4,Object(Ne.takeEvery)(c,Oe.a.mark((function e(t){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Object(De.race)({task:[Object(De.put)(n.prebuffer()),Object(De.call)(xs,n),Object(De.call)(Ps,n)],cancel:Object(De.take)(l)})];case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return o.stop()}}),bs)}function xs(e){var t,n;return Oe.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return e.prebuffer,t=e.changeVolumeFactor,n=e.play,r.next=3,Object(De.put)(t(0,{fadeDuration:0}));case 3:return r.next=5,Object(De.take)(wo);case 5:return r.next=7,Object(De.put)(n());case 7:case"end":return r.stop()}}),ws)}function Ps(e){var t;return Oe.a.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return t=e.changeVolumeFactor,n.next=3,[Object(De.take)(wo),Object(De.take)(s)];case 3:return n.next=5,Object(De.put)(t(1,{fadeDuration:1e3}));case 5:case"end":return n.stop()}}),Es)}function ks(e){return{reducers:{"media.default":Sa({scope:"default"}),"media.pageScrollerMargin":Ca},saga:Oe.a.mark((function t(){return Oe.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,ms(e);case 2:case"end":return t.stop()}}),t)}))}}var _s={reducers:{"media.background":Sa({scope:"background"})},saga:Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,[Os({scope:"background"}),fs({scope:"background"}),La()];case 2:case"end":return e.stop()}}),e)}))};var Ss=function(e){function t(e,n){var r;return T(this,t),(r=R(this,D(t).call(this,e,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 L(t,e),C(t,[{key:"render",value:function(){var e=this.props.page;return F.a.createElement(H,{className:W()({unplayed:!this.props.textHasBeenHidden},"hide_content_with_text")},F.a.createElement($r,{onClick:this.onCloseButtonClick}),F.a.createElement(Ur,{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}),F.a.createElement(V,{pageHasPlayerControls:!0},F.a.createElement("div",{className:"uncropped_media_wrapper"},this.props.children),F.a.createElement(Dn,{page:e})),F.a.createElement(Nn,null,F.a.createElement(Gr,{playButtonTitle:"Starten",playButtonIconName:this.props.playButtonIconName,controlBarText:e.controlBarText||this.props.defaultControlBarText,onPlayButtonClick:this.onPlayButtonClick,infoBox:{title:e.additionalTitle,description:e.additionalDescription}}),F.a.createElement(Wn,null,F.a.createElement(Vn,{page:e}),F.a.createElement(qn,{page:e}))))}}]),t}(F.a.Component),Ts=In(te({textIsHidden:function(e){return e.hideText.isActive},textHasBeenHidden:function(e){return e.hideText.hasBeenActive}}))(Ss),js="HIDE_TEXT_ACTIVATE",Cs="HIDE_TEXT_DEACTIVATE";var As=Oe.a.mark(Is);function Is(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)(Cs,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.select)(sn());case 2:if(!e.sent){e.next=5;break}return e.next=5,Object(De.call)(Ms);case 5:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),As)}function Ms(){pageflow.events.trigger("scroll_indicator:enable")}var Rs={name:"interactivePageBackground",saga:Is};function Ds(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Ns(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ls(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ns(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ns(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Bs=new function(){var e=[];this.register=function(t,n){var r=n.component,o=n.reduxModules,i=void 0===o?[]:o,a=Ds(n,["component","reduxModules"]);r||u("Requires component option to be present"),Array.isArray(i)||u("Expected reduxModules option to be an array.");var s=[],c=i.reduce((function(e,t){return"object"==typeof t&&3==new Set(Object.keys(t).concat(["name","reducers","saga"])).size||u("Expected redux module to be object with name, reducers and saga properties at most."),t.reducers&&"object"!=typeof t.reducers&&u("Expected reducers property of ".concat(t.name," reduxModule to be object.")),t.saga&&s.push(t.saga),Ls({},e,{},t.reducers)}),{});function u(e){throw new Error("".concat(e," Check registerPageType call of ").concat(t," page type."))}e.push(Ls({name:t,component:r,reducer:Object.keys(c).length?Object(se.c)(c):void 0,saga:Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,s.map((function(e){return e()}));case 2:case"end":return e.stop()}}),e)}))},a))},this.forEach=function(){return e.forEach.apply(e,arguments)},this.reduce=function(){return e.reduce.apply(e,arguments)},this.findByName=function(t){return e.find((function(e){var n=e.name;e.component;return n==t}))}},Fs=Bs.register;function Us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ws(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Us(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Us(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Hs=new function(){var e=[];this.register=function(t,n){var r=n.component;e.push({name:t,component:r})},this.findByName=function(t){var n=e.find((function(e){return e.name==t}));if(!n)throw'Widget type with name "'.concat(t,'" not found.');return n},this.forEach=function(){e.forEach.apply(e,arguments)}},Vs=Hs.register,qs=n(174),Gs={muted:!1},zs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Gs,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Fa:return{muted:!0};case Ua:return{muted:!1};default:return e}};function Ys(e){var t=e.t,n=e.muted,r=e.unmute;return n?F.a.createElement("div",{className:"background_media_unmute_button"},F.a.createElement("a",{title:t("pageflow.public.mute_off"),onClick:function(){new pageflow.AudioPlayer([{src:pageflow.assetUrls.unmuteSound,type:"audio/mpeg"}],{codecs:["mp3"]}).play(),r()},href:"#"})):null}var Xs={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||(n.on("background_media:mute",(function(e){return r({type:Fa})})),n.on("background_media:unmute",(function(e){return r(Wa())})))},createReducers:function(){return{backgroundMedia:zs}},createSaga:function(e){var t=e.backgroundMedia;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)(Ua,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.call)((function(){return t.unmute()}));case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};function $s(e){return e.cookieNotice.visible}function Ks(e){return e.site.privacy_link_url}var Qs="COOKIE_NOTICE_REQUEST",Js="COOKIE_NOTICE_DISMISS";function Zs(){return{type:Js}}function ec(e){var t=e.isCookieNoticeVisible,n=e.editing,r=e.t,o=e.dismiss;return t||n?F.a.createElement("div",{className:"cookie_notice_bar"},F.a.createElement("div",{className:"cookie_notice_bar-content"},function(e){var t=e.privacyLinkUrl,n=e.t,r=e.locale,o=n("pageflow.public.cookie_notice_html",{privacyLinkUrl:"".concat(t,"?lang=").concat(r)});return F.a.createElement("span",{className:"cookie_notice_bar-text",dangerouslySetInnerHTML:{__html:o}})}(e),F.a.createElement("a",{className:"cookie_notice_bar-dismiss",onClick:o},r("pageflow.public.dismiss_cookie_notice")))):F.a.createElement("noscript",null)}function tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function nc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tc(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var rc=function(e){var t={dismissed:e.hasBeenDismissed,visible:!1};return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t,n=arguments.length>1?arguments[1]:void 0;switch(n.type){case Qs:return e.dismissed?e:nc({},e,{visible:!0});case Js:return{dismissed:!0,visible:!1};default:return e}}},oc={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||n.on("cookie_notice:request",(function(){return r({type:Qs})}))},createReducers:function(e){var t=e.cookies;return{cookieNotice:rc({hasBeenDismissed:t&&t.hasItem("cookie_notice_dismissed")})}},createSaga:function(e){var t=e.widgetsApi,n=e.cookies;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)(Qs,Oe.a.mark((function e(){var n;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.select)($s);case 2:if(!e.sent){e.next=10;break}return e.next=5,Object(De.cps)(ic,t);case 5:return n=e.sent,e.next=8,Object(De.take)(Js);case 8:return e.next=10,Object(De.call)(n);case 10:case"end":return e.stop()}}),e)})));case 2:return e.next=4,Object(Ne.takeEvery)(Js,Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.call)((function(){n.setItem("cookie_notice_dismissed",!0)}));case 2:case"end":return e.stop()}}),e)})));case 4:case"end":return e.stop()}}),e)})))}};function ic(e,t){e.use({name:"cookie_notice_bar_visible",insteadOf:"cookie_notice_bar"},(function(e){return t(null,e)}))}var ac={createReducers:function(e){var t=e.enabledFeatureNames;return{features:function(){return t}}}},sc="SITE_INIT";var cc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case sc:return t.payload.site;default:return e}},uc={init:function(e){var t=e.site;(0,e.dispatch)(function(e){return{type:sc,payload:{site:e}}}(t))},createReducers:function(){return{site:cc}}},lc={init:function(e){var t=e.storylines,n=e.dispatch;Wt({collection:t,collectionName:"storylines",dispatch:n,attributes:["id"],includeConfiguration:!0})},createReducers:function(){return{storylines:Ce("storylines")}}},fc={init:function(e){var t=e.chapters,n=e.dispatch;Wt({collection:t,collectionName:"chapters",dispatch:n,attributes:["id","title","position","storyline_id"]})},createReducers:function(){return{chapters:Ce("chapters")}}},pc="PAGE_TYPES_INIT";var dc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case pc:return t.payload.pageTypes;default:return e}},hc={createReducers:function(){return{pageTypes:dc}},init:function(e){var t=e.pageTypesSeed;(0,e.dispatch)(function(e){var t=e.pageTypes;return{type:pc,payload:{pageTypes:t}}}({pageTypes:X.deep(t)}))}},vc="CURRENT_PAGE_CHANGE";var gc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case vc:return t.payload.id;default:return e}},yc=function(e,t){e.on("page:change",(function(e){return t(function(e){var t=e.id;return{type:vc,payload:{id:t}}}({id:e.getPermaId()}))}))},mc={init:function(e){var t=e.isServerSide,n=e.events,r=e.dispatch;t||yc(n,r)},createReducers:function(){return{currentPageId:gc}}},bc={init:function(e){var t=e.files,n=e.dispatch;Object.keys(t).forEach((function(e){Wt({collection:t[e],collectionName:X(e),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(e){var t=e.files,n=e.fileUrlTemplates,r=void 0===n?{}:n,o=e.modelTypes,i=void 0===o?{}:o;return r=X.keys(r),i=X.keys(i),{files:Object(se.c)(Object.keys(t).reduce((function(e,t){return e[t=X(t)]=Ce(t,{idAttribute:"permaId"}),e}),{})),fileUrlTemplates:function(e){return r},modelTypes:function(e){return i}}}},wc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case P:return t.payload.settings;default:return e}},Ec={init:function(e){var t=e.isServerSide,n=e.settings,r=e.dispatch;t||(r(_({settings:n.toJSON()})),n.on("change",(function(){return r(_({settings:n.toJSON()}))})))},createReducers:function(){return{settings:wc}},createSaga:function(e){var t=e.settings;return(Oe.a.mark((function e(){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(Ne.takeEvery)(k,Oe.a.mark((function e(n){return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.call)([t,t.set],n.payload.property,n.payload.value);case 2:case"end":return e.stop()}}),e)})));case 2:case"end":return e.stop()}}),e)})))}};var Oc="I18N_INIT";var xc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Oc:return{locale:t.payload.locale};default:return e}},Pc={createReducers:function(){return{i18n:xc}},init:function(e){var t=e.locale;(0,e.dispatch)(function(e){var t=e.locale;return{type:Oc,payload:{locale:t}}}({locale:t}))}},kc="ENTRY_UPDATE",_c="ENTRY_READY";function Sc(e){var t=e.entry;return{type:kc,payload:{entry:t}}}function Tc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tc(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Cc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case kc:return jc({},e,{},t.payload.entry);case _c:return jc({},e,{isReady:!0});default:return e}},Ac={init:function(e){var t=e.entry,n=e.dispatch,r=e.events;e.isServerSide||r.once("ready",(function(){return n({type:_c})})),Ut.a.Model&&t instanceof Ut.a.Model?function(e){var t=e.entry,n=e.dispatch;Ic({entry:t,dispatch:n}),t.metadata.on("change:title",(function(){Ic({entry:t,dispatch:n})}))}({entry:t,dispatch:n}):function(e){var t=e.entry;(0,e.dispatch)(Sc({entry:{slug:t.slug,title:t.title,publishedAt:t.published_at}}))}({entry:t,dispatch:n})},createReducers:function(){return{entry:Cc}}};function Ic(e){var t=e.entry;(0,e.dispatch)(Sc({entry:{slug:t.get("slug"),title:t.metadata.get("title")||t.get("entry_title"),publishedAt:null}}))}var Mc={init:function(e){var t=e.isServerSide,n=e.window,r=e.getState,o=e.dispatch;t||n.addEventListener("keydown",(function(e){var t=r().currentPageId;32==e.keyCode?o(function(e){var t=e.currentPageId;return x(xa,t)}({currentPageId:t})):9==e.keyCode&&o(function(e){var t=e.currentPageId;return x(Pa,t)}({currentPageId:t}))}))}},Rc=function(e,t){e.on("activate",(function(e){return t({type:js})})),e.on("deactivate",(function(e){return t({type:Cs})}))};function Dc(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Nc(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dc(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dc(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Lc={isActive:!1,hasBeenActive:!1},Bc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Lc,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case js:return{isActive:!0,hasBeenActive:!0};case Cs:return Nc({},e,{isActive:!1});case vc:return Nc({},e,{hasBeenActive:!1});default:return e}},Fc={init:function(e){var t=e.isServerSide,n=e.hideText,r=e.dispatch;t||Rc(n,r)},createReducers:function(){return{hideText:Bc}}},Uc={init:function(e){var t=e.widgets,n=e.dispatch;Wt({collection:t,collectionName:"widgets",dispatch:n,attributes:["role","type_name","editing"],includeConfiguration:!0})},createReducers:function(){return{widgets:Ce("widgets",{idAttribute:"role"})}}};var Wc="WIDGETS_LOAD";var Hc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case Wc:return t.payload.widgets;default:return e}},Vc={init:function(e){var t=e.isServerSide,n=e.events,r=e.widgetsApi,o=e.dispatch;function i(){o(function(e){var t=e.widgets;return{type:Wc,payload:{widgets:t}}}({widgets:{classicPlayerControls:r.isPresent("classic_player_controls"),slimPlayerControls:r.isPresent("slim_player_controls")}}))}t||(n.on("widgets:update",i),i())},createReducers:function(){return{widgetPresence:Hc}}},qc="THEME_INIT";var Gc=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;switch(t.type){case qc:return t.payload;default:return e}},zc={createReducers:function(){return{theme:Gc}},init:function(e){var t,n=e.dispatch;if(!e.isServerSide){var r=document.getElementById("theme_probe-main_color");n((t={mainColor:window.getComputedStyle(r)["background-color"]},{type:qc,payload:t}))}}};function Yc(e){return e.consent.uiVisible}function Xc(e){return e.consent.requestedVendors}var $c=function(e){return React.createElement(cr,Object.assign({},e,{viewBoxLeft:60,viewBoxTop:170,viewBoxWidth:90,viewBoxHeight:157}),React.createElement("path",{fill:"currentColor",d:"m 150.00015,296.99993 a 50,50 0 0 0 50.00004,-50.00005 50,50 0 0 0 -50.00004,-50.00004 H 50.000048 A 50,50 0 0 0 0,246.99988 50,50 0 0 0 50.000048,296.99993 Z"}),React.createElement("circle",{cx:"-150.0002",cy:"-246.99979",fill:"#fff",r:"40",transform:"scale(-1)"}),React.createElement("path",{fillOpacity:"0",stroke:"#fff",strokeWidth:"6",d:"M 87,227 50,264 34,246"}))},Kc=function(e){return React.createElement(cr,Object.assign({},e,{viewBoxLeft:60,viewBoxTop:170,viewBoxWidth:90,viewBoxHeight:157}),React.createElement("path",{fill:"currentColor",d:"M 188.97656 744.56641 A 188.97638 188.97638 0 0 0 0 933.54297 A 188.97638 188.97638 0 0 0 188.97656 1122.5195 L 566.92969 1122.5195 A 188.97638 188.97638 0 0 0 755.90625 933.54297 A 188.97638 188.97638 0 0 0 566.92969 744.56641 L 188.97656 744.56641 z ",transform:"scale(0.26458333)"}),React.createElement("circle",{id:"path3721-7",cx:"50",cy:"247",fill:"#ffffff",r:"40"}),React.createElement("path",{fillOpacity:"0",stroke:"#fff",strokeWidth:"6",d:"m 110.10252,271.89748 49.79539,-49.79494"}),React.createElement("path",{fillOpacity:"0",stroke:"#fff",strokeWidth:"6",d:"M 159.89746,271.89748 110.10252,222.10209"}))},Qc=function(e){function t(e){var n;return T(this,t),(n=R(this,D(t).call(this,e))).state={checked:e.defaultChecked},n.handleClick=n.onClick.bind(M(n)),n}return L(t,e),C(t,[{key:"onClick",value:function(){var e=!this.state.checked;this.setState({checked:e}),this.props.onChange({target:{checked:e}})}},{key:"render",value:function(){var e=this.state.checked,t=e?$c:Kc;return F.a.createElement("button",{id:this.props.id,className:this.props.className,role:"switch","aria-checked":e,onClick:this.handleClick},F.a.createElement(t,{width:50,height:35}))}}]),t}(F.a.Component),Jc=function(e){function t(e){var n;return T(this,t),(n=R(this,D(t).call(this,e))).state={},n.handleVendorInfoClick=n.onVendorInfoClick.bind(M(n)),n}return L(t,e),C(t,[{key:"onVendorInfoClick",value:function(e){this.setState(Object(a.a)({},e,!this.state[e]))}},{key:"render",value:function(){return F.a.createElement("div",{className:"consent_vendor_list"},this.renderVendors())}},{key:"renderVendors",value:function(){var e=this;return this.props.vendors.length?this.props.vendors.map((function(t){var n="consent_vendor_list-vendor_".concat(t.name);return F.a.createElement("div",{key:n,className:"consent_vendor_list-vendor"},F.a.createElement("label",{htmlFor:n},t.displayName),F.a.createElement(Qc,{id:n,className:"consent_vendor_list-toggle",defaultChecked:"accepted"===t.state,onChange:function(n){return e.props.onVendorInputChange(t.name,n)}}),F.a.createElement("button",{className:"consent_vendor_list-expand_vendor",title:e.props.t("pageflow.public.consent_expand_vendor"),onClick:function(){return e.handleVendorInfoClick(t.name)}},F.a.createElement(lr,{width:20,height:20})),e.renderVendorDescription(t))})):F.a.createElement("div",{className:"consent_vendor_list-blank"},this.props.t("pageflow.public.consent_no_vendors"))}},{key:"renderVendorDescription",value:function(e){return this.state[e.name]?F.a.createElement("p",{dangerouslySetInnerHTML:{__html:e.description}}):null}}]),t}(F.a.Component),Zc="CONSENT_REQUEST",eu="CONSENT_DENY_ALL",tu="CONSENT_ACCEPT_ALL",nu="CONSENT_SAVE";function ru(e){var t=e.vendors;return{type:Zc,payload:{vendors:t}}}function ou(){return{type:eu}}function iu(){return{type:tu}}function au(e){return{type:nu,payload:e}}function su(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?su(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):su(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var uu=function(e){function t(e){var n;return T(this,t),(n=R(this,D(t).call(this,e))).state={checked:{}},n.handleSaveButtonClick=n.onSaveButtonClick.bind(M(n)),n.handleAcceptAllButtonClick=n.onAcceptAllButtonClick.bind(M(n)),n.handleDenyAllAllButtonClick=n.onDenyAllButtonClick.bind(M(n)),n.handleVendorInputChange=n.onVendorInputChange.bind(M(n)),n}return L(t,e),C(t,[{key:"onSaveButtonClick",value:function(){var e=this;if(!this.props.editing){var t=this.props.requestedVendors.reduce((function(t,n){var r=n.name;return cu({},t,Object(a.a)({},r,e.state.checked[r]||!1))}),{});this.props.save(t)}}},{key:"onAcceptAllButtonClick",value:function(){this.props.editing||this.props.acceptAll()}},{key:"onDenyAllButtonClick",value:function(){this.props.editing||this.props.denyAll()}},{key:"onVendorInputChange",value:function(e,t){this.setState({checked:cu({},this.state.checked,Object(a.a)({},e,t.target.checked))})}},{key:"render",value:function(){var e=this,t=this.props,n=t.editing,r=t.t,o=t.requestedVendors;return t.visible||n?F.a.createElement("div",{className:W()("consent_bar",{"consent_bar-expanded":this.state.showVendorBox})},F.a.createElement("div",{className:"consent_bar-content"},function(e){var t=e.privacyLinkUrl,n=e.t,r=e.locale,o=e.requestedVendors.map((function(e){return e.name})).join(","),i=n("pageflow.public.consent_prompt_html",{privacyLinkUrl:"".concat(t,"?lang=").concat(r,"&vendors=").concat(o,"#consent")});return F.a.createElement("span",{className:"consent_bar-text",dangerouslySetInnerHTML:{__html:i}})}(this.props),F.a.createElement("div",{className:"consent_bar-vendor_box"},F.a.createElement("h3",null,r("pageflow.public.consent_settings")),F.a.createElement(Jc,{vendors:o,t:r,onVendorInputChange:this.handleVendorInputChange}),F.a.createElement("button",{className:"consent_bar-save",onClick:this.handleSaveButtonClick},r("pageflow.public.consent_save"))),F.a.createElement("div",{className:"consent_bar-buttons"},F.a.createElement("button",{className:"consent_bar-configure",onClick:function(){return e.setState({showVendorBox:!e.state.showVendorBox})}},F.a.createElement(ur,{width:10,height:10}),r("pageflow.public.consent_configure")),F.a.createElement("div",{className:"consent_bar-decision_buttons"},F.a.createElement("button",{className:"consent_bar-deny_all",onClick:this.handleDenyAllAllButtonClick},r("pageflow.public.consent_deny_all")),F.a.createElement("button",{className:"consent_bar-accept_all",onClick:this.handleAcceptAllButtonClick},r("pageflow.public.consent_accept_all")))))):F.a.createElement("noscript",null)}}]),t}(F.a.Component);function lu(e){var t=e&&e.match(/vendors=([^&]+)/);return t?t[1].split(","):[]}var fu={createReducers:function(){return{consent:(e={uiVisible:!1,requestedVendors:[]},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 Zc:return{requestedVendors:n.payload.vendors,uiVisible:!0};case tu:case eu:case nu:return{uiVisible:!1};default:return t}})};var e},createSaga:function(e){e.widgetsApi;var t=e.consent;return(Oe.a.mark((function e(){var n,r,o,i,a;return Oe.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(De.call)((function(){return t.requested()}));case 2:return n=e.sent,r=n.acceptAll,o=n.denyAll,i=n.save,a=n.vendors,e.next=9,Object(De.put)(ru({vendors:a}));case 9:return e.next=11,Object(Ne.takeEvery)(tu,(function(){r()}));case 11:return e.next=13,Object(Ne.takeEvery)(eu,(function(){o()}));case 13:return e.next=15,Object(Ne.takeEvery)(nu,(function(e){i(e.payload)}));case 15:case"end":return e.stop()}}),e)})))}};function pu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var du=function(e){var t=!!e.storylines,n=!e.settings,r=e.seed,o=t?e: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:Bs,site:r.site,files:o.files||{},storylines:o.storylines,chapters:o.chapters,pages:o.pages,widgets:t?e.entry.widgets:r.widgets,cookies:e.cookies,hideText:e.hideText,events:e.events,settings:e.settings,widgetsApi:e.widgets,backgroundMedia:e.backgroundMedia,consent:e.consent,window:n?null:window},s=Object(qs.a)([Xs,oc,ac,Pc,uc,Ac,mc,lc,fc,An,bc,Ec,Fc,Uc,Vc,hc,Mc,zc,fu],i);return n||(Bs.forEach((function(t){return e.pageType.register(t.name,function(e){return Tn(kn(e),e.mixin||{})}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{Component:t.component,store:s})))})),Hs.forEach((function(t){var n=t.name,r=t.component;return e.widgetTypes.register(n,function(e,t){return{enhance:function(n){xn.a.render(React.createElement(He,{store:t},React.createElement(e,null)),n[0])}}}(r,s))}))),s},hu=Rt("pages"),vu=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"componentWillMount",value:function(){this.store=du({seed:this.props.resolverSeed}),this.pageComponent=Bs.findByName(this.props.pageType).component}},{key:"render",value:function(e){var t=this.pageComponent;return F.a.createElement(He,{store:this.store},F.a.createElement(hu,{itemId:this.props.pageId},F.a.createElement(t,null)))}}]),t}(F.a.Component),gu=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"componentWillMount",value:function(){this.store=du({seed:this.props.resolverSeed}),this.widgetComponent=Hs.findByName(this.props.widgetTypeName).component}},{key:"render",value:function(e){var t=this.widgetComponent;return F.a.createElement(He,{store:this.store},F.a.createElement(t,null))}}]),t}(F.a.Component),yu=Rt("pages"),mu=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"componentWillMount",value:function(){this.store=du({seed:this.props.resolverSeed})}},{key:"render",value:function(e){return F.a.createElement(He,{store:this.store},F.a.createElement(yu,{itemId:this.props.pageId},F.a.createElement(ea,null)))}}]),t}(F.a.Component);function bu(e){var t=e.page.audioPlayerControlsVariant;return React.createElement(vi,{className:"audio_page supports_text_position_center",page:e.page,file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_audio"),playerControlsComponent:wu(t),dynamicPageScrollerMargin:"waveform"==t,autoplayWhenBackgroundMediaMuted:!1},React.createElement(ea,null),React.createElement(Ki,{playbackMode:!1===e.page.autoplay?"manual":"autoplay",playerDescription:"Audio Page Player"},React.createElement(Di,{file:e.audioFile,playerState:e.playerState,playerActions:e.playerActions,textTrackPosition:Eu(t)})))}function wu(e){return"waveform"==e?Ea:Gr}function Eu(e){if("waveform"==e)return"top"}function Ou(e){var t=e.page;return React.createElement(H,{className:"supports_text_position_center"},React.createElement(ta,{page:t}),React.createElement(Nn,null,React.createElement(Wn,null,React.createElement(Vn,{page:t}),React.createElement(na,{page:t}),React.createElement(qn,{page:t}))))}var xu=["auto","4k","fullhd","medium"];function Pu(e){return React.createElement(vi,{className:"video_page supports_text_position_center",page:e.page,file:e.videoFile,qualities:xu,playerState:e.playerState,playerActions:e.playerActions,controlBarText:e.t("pageflow.public.start_video"),autoplayWhenBackgroundMediaMuted:!0},React.createElement(Ki,{playbackMode:!1===e.page.autoplay?"manual":"autoplay",playerDescription:"Video Page Player"},React.createElement(Yi,{page:e.page,playerState:e.playerState,playerActions:e.playerActions,fit:e.page.contain?"contain":"smart_contain"})),React.createElement(Qi,{page:e.page}))}var ku={position:"absolute",top:0,left:0,width:"100%",height:"100%",backgroundColor:"#3b5159"},_u=function(e){function t(e){var n;return T(this,t),(n=R(this,D(t).call(this,e))).state={fading:!1,hidden:!1},n}return L(t,e),C(t,[{key:"componentDidMount",value:function(){var e=this;PAGEFLOW_EDITOR?this.setState({hidden:!0}):this.fadeTimeout=setTimeout((function(){pageflow.ready.then((function(){e.setState({fading:!0}),e.hiddenTimeout=setTimeout((function(){e.setState({hidden:!0})}),1e3)}))}),1e3)}},{key:"componentWillUnmount",value:function(){clearTimeout(this.fadeTimeout),clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var e=this.props.editing,t=this.state,n=t.hidden,r=t.fading;return e||!n?F.a.createElement("div",{className:W()("loading_spinner",{fade:!e&&r}),onTouchMove:Su,style:ku},F.a.createElement("div",{className:"loading_inner"},F.a.createElement("div",{className:"left_circle"}),F.a.createElement("div",{className:"right_circle"}),F.a.createElement("div",{className:"loading_spinner_inner"},F.a.createElement("div",null)))):F.a.createElement("noscript",null)}}]),t}(F.a.Component);function Su(e){e.preventDefault()}var Tu=function(e){function t(e){var n;return T(this,t),(n=R(this,D(t).call(this,e))).state={hidden:!1,animating:!1},n}return L(t,e),C(t,[{key:"componentDidMount",value:function(){var e=this;PAGEFLOW_EDITOR?this.setState({hidden:!0,animating:!0}):(this.setState({animating:!0}),pageflow.delayedStart.waitFor((function(t){e.resolveDelayedStart=t})))}},{key:"hideOrLoop",value:function(e){var t=this;e.target===e.currentTarget&&(PAGEFLOW_EDITOR?(this.setState({animating:!1}),setTimeout((function(){t.setState({animating:!0})}),1e3)):(this.setState({hidden:!0}),this.resolveDelayedStart()))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.hiddenTimeout)}},{key:"render",value:function(){var e=this,t=this.props.editing,n=this.state,r=n.hidden,o=n.animating,i=Au(this.props),a=F.a.createElement("div",{className:W()("media_loading_spinner-logo",{"media_loading_spinner-logo-invert":i})});return this.props.removeLogo&&(a=""),t||!r?F.a.createElement("div",{className:W()("media_loading_spinner",{"media_loading_spinner-fade":o},{"media_loading_spinner-invert":i}),onAnimationEnd:function(t){return e.hideOrLoop(t)},onTouchMove:ju,style:Iu(this.props)},a,F.a.createElement("div",{className:"media_loading_spinner-image",style:Cu(this.props)}),this.props.children):F.a.createElement("noscript",null)}}]),t}(F.a.Component);function ju(e){e.preventDefault()}function Cu(e){var t=e.firstPageBackgroundImageUrlMedium,n=e.firstPageBackgroundImageUrlLarge,r=e.backgroundImage,o=e.blurStrength,i=e.backgroundImageX,a=e.backgroundImageY,s={x:null!=i?i:50,y:null!=a?a:50},c=0===o?r?r.urls.large:n:r?r.urls.medium:t;if(c){var u={backgroundImage:'url("'.concat(c,'")'),filter:"blur("+o+"px)"};return r&&(u.backgroundPosition="".concat(s.x,"% ").concat(s.y,"%")),u}}function Au(e){return e.backgroundImage||null!=e.invert?e.invert:e.firstPageInvert}function Iu(e){return{position:"absolute",top:0,left:0,width:"100%",height:"100%",zIndex:100,backgroundColor:Au(e)?"#fff":"#000",animationDelay:void 0!==e.animationDuration?e.animationDuration+"s":void 0}}var Mu=It(te({editing:ao({role:"loading_spinner"}),firstPageInvert:nn("invert"),firstPageBackgroundImageUrlMedium:Jt({variant:"medium",page:tn()}),firstPageBackgroundImageUrlLarge:Jt({variant:"large",page:tn()}),backgroundImage:Xt("imageFiles",{id:oo("customBackgroundImageId",{role:"loading_spinner"})}),backgroundImageX:oo("customBackgroundImageX",{role:"loading_spinner"}),backgroundImageY:oo("customBackgroundImageY",{role:"loading_spinner"}),invert:oo("invert",{role:"loading_spinner"}),removeLogo:oo("removeLogo",{role:"loading_spinner"}),blurStrength:oo("blurStrength",{role:"loading_spinner"}),animationDuration:oo("animationDuration",{role:"loading_spinner"})}))(Tu);var Ru=function(e){function t(){return T(this,t),R(this,D(t).apply(this,arguments))}return L(t,e),C(t,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.subtitle,r=e.entryTitle,o=Au(this.props),i=void 0!==this.props.animationDuration?this.props.animationDuration+"s":void 0;return F.a.createElement(Mu,null,F.a.createElement("div",{className:W()("media_loading_spinner-titles",{"media_loading_spinner-invert":o}),style:{animationDuration:i}},F.a.createElement("div",{className:"media_loading_spinner-title"},t||r),F.a.createElement("div",{className:"media_loading_spinner-subtitle"},n)))}}]),t}(F.a.Component);var Du=n(97),Nu=n.n(Du);function Lu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}Fs("background_image",{component:In(te({page:on()}))(Ou),reduxModules:[_s]}),Fs("video",{component:In(te({page:on(),videoFile:Xt("videoFiles",{id:rn("videoFileId")}),playerState:Ko(),t:Yr}),$({playerActions:Qo()}))(Pu),reduxModules:[ks({hideControls:!0,autoplayWhenBackgroundMediaMuted:!0,playsInNativePlayer:Xn("native video player")})]}),Fs("audio",{component:In(te({page:on(),audioFile:Xt("audioFiles",{id:rn("audioFileId")}),playerState:Ko(),t:Yr}),$({playerActions:Qo()}))(bu),reduxModules:[ks({retryOnUnmute:!0}),_s]}),Vs("cookie_notice_bar",{component:It(te({isCookieNoticeVisible:$s,privacyLinkUrl:Ks,editing:ao({role:"cookie_notice"}),t:Yr,locale:Xr}),{dismiss:Zs})(ec)}),Vs("consent_bar",{component:It(te({privacyLinkUrl:Ks,editing:ao({role:"cookie_notice"}),t:Yr,locale:Xr,requestedVendors:Xc,visible:Yc}),{acceptAll:iu,denyAll:ou,save:au})(uu)}),Vs("unmute_button",{component:It(te({t:Yr,muted:Xo}),{unmute:Wa})(Ys)}),Vs("classic_loading_spinner",{component:It(te({editing:ao({role:"loading_spinner"})}))(_u)}),Vs("title_loading_spinner",{component:It(te({firstPageInvert:nn("invert"),backgroundImage:Xt("imageFiles",{id:oo("customBackgroundImageId",{role:"loading_spinner"})}),entryTitle:li("title"),title:oo("title",{role:"loading_spinner"}),subtitle:oo("subtitle",{role:"loading_spinner"}),removeLogo:oo("removeLogo",{role:"loading_spinner"}),invert:oo("invert",{role:"loading_spinner"}),animationDuration:oo("animationDuration",{role:"loading_spinner"})}))(Ru)}),Vs("media_loading_spinner",{component:Mu}),Nu.a.events&&Nu.a.events.on("seed:loaded",(function(){return du(Nu.a)}));t.default={components:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lu(Object(n),!0).forEach((function(t){Object(a.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lu(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({ConsentSettings:function(e){var t=e.consent,n=e.t,r=e.queryString,o=t.relevantVendors({include:lu(r)});return F.a.createElement("div",null,F.a.createElement(Jc,{vendors:o,t:n,onVendorInputChange:function(e,n){n.target.checked?t.accept(e):t.deny(e)}}))},MediaPageBackground:ta,PageWithInteractiveBackground:Ts},o),actions:r,selectors:i,registerPageType:Fs,registerPageTypeWithDefaultBackground:function(e,t){Fs(e,{component:ea,selectTargetElement:function(e){return e.find(".page_background_asset")[0]},mixin:Ws({scroller:!0},t),reduxModules:[_s]})},registerWidgetType:Vs,mediaReduxModule:ks,mediaPageBackgroundReduxModule:_s,pageWithInteractiveBackgroundReduxModule:Rs,iconMapping:pr,SvgIcon:cr,classNames:W.a,connect:It,connectInPage:In,combineReducers:se.c,combine:$,ServerSidePage:vu,ServerSideWidget:gu,ServerSidePageBackgroundAsset:mu}}]).default;
|